= {
},
template: `
- = new EventEmitter()
@Output() urlChange: EventEmitter = new EventEmitter()
@Output() uploadCancel: EventEmitter = new EventEmitter()
diff --git a/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html b/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html
index 5a144886eb..fae6a97a6f 100644
--- a/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html
+++ b/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html
@@ -2,6 +2,7 @@
#group="matButtonToggleGroup"
multiple="false"
class="flex w-full"
+ [disabled]="disabled"
>
()
onChange(selectedOption: SwitchToggleOption) {
diff --git a/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.stories.ts b/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.stories.ts
index a71d587ed0..cdb9e64951 100644
--- a/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.stories.ts
+++ b/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.stories.ts
@@ -34,6 +34,7 @@ export const Primary: StoryObj = {
{ label: 'state', checked: false },
],
extraClasses: 'grow',
+ disabled: false,
},
render: (args) => ({
props: { ...args },
diff --git a/translations/de.json b/translations/de.json
index 3b4633d090..3bc5c2400c 100644
--- a/translations/de.json
+++ b/translations/de.json
@@ -26,7 +26,6 @@
"dashboard.importRecord": "",
"dashboard.importRecord.importExternal": "",
"dashboard.importRecord.importExternalLabel": "",
- "dashboard.importRecord.useModel": "",
"dashboard.labels.catalog": "Katalog",
"dashboard.labels.mySpace": "Mein Bereich",
"dashboard.records.all": "Metadatenkatalog",
@@ -216,6 +215,7 @@
"editor.record.form.field.constraintsShortcuts": "",
"editor.record.form.field.contacts.noContact": "",
"editor.record.form.field.contactsForResource.noContact": "",
+ "editor.record.form.field.draft.only.disabled": "Dieses Feld wird aktiviert, sobald die Daten veröffentlicht wurden.",
"editor.record.form.field.keywords": "Schlagwörter",
"editor.record.form.field.legalConstraints": "Rechtliche Einschränkung",
"editor.record.form.field.license": "Lizenz",
diff --git a/translations/en.json b/translations/en.json
index dc1c110ef7..0b08b8caf2 100644
--- a/translations/en.json
+++ b/translations/en.json
@@ -26,7 +26,6 @@
"dashboard.importRecord": "Import",
"dashboard.importRecord.importExternal": "Import an external file",
"dashboard.importRecord.importExternalLabel": "External file URL",
- "dashboard.importRecord.useModel": "Use a model",
"dashboard.labels.catalog": "Catalog",
"dashboard.labels.mySpace": "My space",
"dashboard.records.all": "Metadata records",
@@ -216,6 +215,7 @@
"editor.record.form.field.constraintsShortcuts": "",
"editor.record.form.field.contacts.noContact": "Please provide at least one point of contact.",
"editor.record.form.field.contactsForResource.noContact": "Please provide at least one point of contact responsible for the data.",
+ "editor.record.form.field.draft.only.disabled": "This field will be enabled once the data has been published",
"editor.record.form.field.keywords": "Keywords",
"editor.record.form.field.legalConstraints": "Legal constraint",
"editor.record.form.field.license": "License",
diff --git a/translations/es.json b/translations/es.json
index 70cb7dc95c..6292a8e6d0 100644
--- a/translations/es.json
+++ b/translations/es.json
@@ -26,7 +26,6 @@
"dashboard.importRecord": "",
"dashboard.importRecord.importExternal": "",
"dashboard.importRecord.importExternalLabel": "",
- "dashboard.importRecord.useModel": "",
"dashboard.labels.catalog": "Catálogo",
"dashboard.labels.mySpace": "Mi espacio",
"dashboard.records.all": "Catálogo",
@@ -216,6 +215,7 @@
"editor.record.form.field.constraintsShortcuts": "",
"editor.record.form.field.contacts.noContact": "",
"editor.record.form.field.contactsForResource.noContact": "",
+ "editor.record.form.field.draft.only.disabled": "",
"editor.record.form.field.keywords": "",
"editor.record.form.field.legalConstraints": "",
"editor.record.form.field.license": "",
diff --git a/translations/fr.json b/translations/fr.json
index bc1142bf0b..16d398c314 100644
--- a/translations/fr.json
+++ b/translations/fr.json
@@ -26,7 +26,6 @@
"dashboard.importRecord": "Importer",
"dashboard.importRecord.importExternal": "Importer une fiche externe",
"dashboard.importRecord.importExternalLabel": "URL de la fiche externe",
- "dashboard.importRecord.useModel": "Utiliser un modèle",
"dashboard.labels.catalog": "Catalogue",
"dashboard.labels.mySpace": "Mon espace",
"dashboard.records.all": "Fiches de métadonnées",
@@ -216,6 +215,7 @@
"editor.record.form.field.constraintsShortcuts": "",
"editor.record.form.field.contacts.noContact": "Veuillez renseigner au moins un point de contact.",
"editor.record.form.field.contactsForResource.noContact": "Veuillez renseigner au moins un point de contact responsable de la donnée.",
+ "editor.record.form.field.draft.only.disabled": "Ce champ sera activé une fois les données publiées",
"editor.record.form.field.keywords": "Mots-clés",
"editor.record.form.field.legalConstraints": "Contrainte légale",
"editor.record.form.field.license": "Licence",
diff --git a/translations/it.json b/translations/it.json
index 13a18404f0..2256e7d942 100644
--- a/translations/it.json
+++ b/translations/it.json
@@ -26,7 +26,6 @@
"dashboard.importRecord": "",
"dashboard.importRecord.importExternal": "",
"dashboard.importRecord.importExternalLabel": "",
- "dashboard.importRecord.useModel": "",
"dashboard.labels.catalog": "Catalogo",
"dashboard.labels.mySpace": "Il mio spazio",
"dashboard.records.all": "Catalogo",
@@ -216,6 +215,7 @@
"editor.record.form.field.constraintsShortcuts": "",
"editor.record.form.field.contacts.noContact": "",
"editor.record.form.field.contactsForResource.noContact": "",
+ "editor.record.form.field.draft.only.disabled": "",
"editor.record.form.field.keywords": "",
"editor.record.form.field.legalConstraints": "",
"editor.record.form.field.license": "Licenza",
diff --git a/translations/nl.json b/translations/nl.json
index 76273a0ebe..8ce69d2469 100644
--- a/translations/nl.json
+++ b/translations/nl.json
@@ -26,7 +26,6 @@
"dashboard.importRecord": "",
"dashboard.importRecord.importExternal": "",
"dashboard.importRecord.importExternalLabel": "",
- "dashboard.importRecord.useModel": "",
"dashboard.labels.catalog": "Catalogus",
"dashboard.labels.mySpace": "Mijn ruimte",
"dashboard.records.all": "Catalogus",
@@ -216,6 +215,7 @@
"editor.record.form.field.constraintsShortcuts": "",
"editor.record.form.field.contacts.noContact": "",
"editor.record.form.field.contactsForResource.noContact": "",
+ "editor.record.form.field.draft.only.disabled": "",
"editor.record.form.field.keywords": "",
"editor.record.form.field.legalConstraints": "",
"editor.record.form.field.license": "",
diff --git a/translations/pt.json b/translations/pt.json
index 8c5b2e6f60..1fd3657736 100644
--- a/translations/pt.json
+++ b/translations/pt.json
@@ -26,7 +26,6 @@
"dashboard.importRecord": "",
"dashboard.importRecord.importExternal": "",
"dashboard.importRecord.importExternalLabel": "",
- "dashboard.importRecord.useModel": "",
"dashboard.labels.catalog": "Catálogo",
"dashboard.labels.mySpace": "Meu espaço",
"dashboard.records.all": "Catálogo",
@@ -216,6 +215,7 @@
"editor.record.form.field.constraintsShortcuts": "",
"editor.record.form.field.contacts.noContact": "",
"editor.record.form.field.contactsForResource.noContact": "",
+ "editor.record.form.field.draft.only.disabled": "",
"editor.record.form.field.keywords": "",
"editor.record.form.field.legalConstraints": "",
"editor.record.form.field.license": "",
diff --git a/translations/sk.json b/translations/sk.json
index b974fd479a..070a188a9e 100644
--- a/translations/sk.json
+++ b/translations/sk.json
@@ -26,7 +26,6 @@
"dashboard.importRecord": "",
"dashboard.importRecord.importExternal": "",
"dashboard.importRecord.importExternalLabel": "",
- "dashboard.importRecord.useModel": "",
"dashboard.labels.catalog": "Katalóg",
"dashboard.labels.mySpace": "Môj priestor",
"dashboard.records.all": "Katalóg",
@@ -216,6 +215,7 @@
"editor.record.form.field.constraintsShortcuts": "",
"editor.record.form.field.contacts.noContact": "",
"editor.record.form.field.contactsForResource.noContact": "",
+ "editor.record.form.field.draft.only.disabled": "",
"editor.record.form.field.keywords": "",
"editor.record.form.field.legalConstraints": "",
"editor.record.form.field.license": "Licencia",