geonetwork-ui 2.4.0-dev.e4dc8777 → 2.4.0-dev.e77c0f8c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +5 -5
- package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +42 -23
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +13 -5
- package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +49 -15
- package/esm2022/translations/de.json +34 -30
- package/esm2022/translations/en.json +6 -2
- package/esm2022/translations/es.json +4 -0
- package/esm2022/translations/fr.json +7 -3
- package/esm2022/translations/it.json +4 -0
- package/esm2022/translations/nl.json +4 -0
- package/esm2022/translations/pt.json +4 -0
- package/fesm2022/geonetwork-ui.mjs +164 -74
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +1 -0
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
- package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
- package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
- package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +1 -0
- package/src/libs/feature/editor/src/lib/fields.config.ts +4 -4
- package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +36 -19
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +11 -0
- package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +59 -12
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +31 -0
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +15 -0
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +38 -0
- package/translations/de.json +34 -30
- package/translations/en.json +6 -2
- package/translations/es.json +4 -0
- package/translations/fr.json +7 -3
- package/translations/it.json +4 -0
- package/translations/nl.json +4 -0
- package/translations/pt.json +4 -0
- package/translations/sk.json +4 -0
|
@@ -165,6 +165,7 @@
|
|
|
165
165
|
"downloads.format.unknown": "",
|
|
166
166
|
"downloads.wfs.featuretype.not.found": "",
|
|
167
167
|
"dropFile": "",
|
|
168
|
+
"editor.record.form.abstract": "",
|
|
168
169
|
"editor.record.form.keywords": "",
|
|
169
170
|
"editor.record.form.license": "",
|
|
170
171
|
"editor.record.form.license.cc-by": "",
|
|
@@ -176,12 +177,15 @@
|
|
|
176
177
|
"editor.record.form.license.odc-by": "",
|
|
177
178
|
"editor.record.form.license.pddl": "",
|
|
178
179
|
"editor.record.form.license.unknown": "",
|
|
180
|
+
"editor.record.form.metadata.title": "",
|
|
181
|
+
"editor.record.form.record.updated": "",
|
|
179
182
|
"editor.record.form.resourceUpdated": "",
|
|
180
183
|
"editor.record.form.temporalExtents": "",
|
|
181
184
|
"editor.record.form.temporalExtents.addDate": "",
|
|
182
185
|
"editor.record.form.temporalExtents.addRange": "",
|
|
183
186
|
"editor.record.form.temporalExtents.date": "",
|
|
184
187
|
"editor.record.form.temporalExtents.range": "",
|
|
188
|
+
"editor.record.form.unique.identifier": "",
|
|
185
189
|
"editor.record.form.updateFrequency": "",
|
|
186
190
|
"editor.record.form.updateFrequency.planned": "",
|
|
187
191
|
"editor.record.loadError.body": "",
|
|
@@ -165,7 +165,8 @@
|
|
|
165
165
|
"downloads.format.unknown": "inconnu",
|
|
166
166
|
"downloads.wfs.featuretype.not.found": "La couche n'a pas été retrouvée",
|
|
167
167
|
"dropFile": "Faites glisser votre fichier",
|
|
168
|
-
"editor.record.form.
|
|
168
|
+
"editor.record.form.abstract": "",
|
|
169
|
+
"editor.record.form.keywords": "",
|
|
169
170
|
"editor.record.form.license": "Licence",
|
|
170
171
|
"editor.record.form.license.cc-by": "",
|
|
171
172
|
"editor.record.form.license.cc-by-sa": "",
|
|
@@ -176,12 +177,15 @@
|
|
|
176
177
|
"editor.record.form.license.odc-by": "",
|
|
177
178
|
"editor.record.form.license.pddl": "",
|
|
178
179
|
"editor.record.form.license.unknown": "Non-reconnue ou absente",
|
|
180
|
+
"editor.record.form.metadata.title": "",
|
|
181
|
+
"editor.record.form.record.updated": "",
|
|
179
182
|
"editor.record.form.resourceUpdated": "Date de dernière révision",
|
|
180
183
|
"editor.record.form.temporalExtents": "Étendue temporelle",
|
|
181
184
|
"editor.record.form.temporalExtents.addDate": "Date déterminée",
|
|
182
185
|
"editor.record.form.temporalExtents.addRange": "Période de temps",
|
|
183
186
|
"editor.record.form.temporalExtents.date": "Date concernée",
|
|
184
187
|
"editor.record.form.temporalExtents.range": "Période concernée",
|
|
188
|
+
"editor.record.form.unique.identifier": "",
|
|
185
189
|
"editor.record.form.updateFrequency": "Fréquence de mise à jour",
|
|
186
190
|
"editor.record.form.updateFrequency.planned": "Ces données doivent être mise à jour régulièrement.",
|
|
187
191
|
"editor.record.loadError.body": "",
|
|
@@ -265,8 +269,8 @@
|
|
|
265
269
|
"organisations.sortBy.nameDesc": "Nom Z → A",
|
|
266
270
|
"organisations.sortBy.recordCountAsc": "Données 0 → 9",
|
|
267
271
|
"organisations.sortBy.recordCountDesc": "Données 9 → 0",
|
|
268
|
-
"organization.details.lastPublishedDatasets": "
|
|
269
|
-
"organization.details.lastPublishedDatasets.searchAllButton": "
|
|
272
|
+
"organization.details.lastPublishedDatasets": "",
|
|
273
|
+
"organization.details.lastPublishedDatasets.searchAllButton": "",
|
|
270
274
|
"organization.details.mailContact": "Contacter par mail",
|
|
271
275
|
"organization.header.recordCount": "{count, plural, =0{donnée} one{donnée} other{données}}",
|
|
272
276
|
"pagination.nextPage": "Page suivante",
|
|
@@ -165,6 +165,7 @@
|
|
|
165
165
|
"downloads.format.unknown": "sconosciuto",
|
|
166
166
|
"downloads.wfs.featuretype.not.found": "Il layer non è stato trovato",
|
|
167
167
|
"dropFile": "Trascina il suo file",
|
|
168
|
+
"editor.record.form.abstract": "",
|
|
168
169
|
"editor.record.form.keywords": "",
|
|
169
170
|
"editor.record.form.license": "Licenza",
|
|
170
171
|
"editor.record.form.license.cc-by": "",
|
|
@@ -176,12 +177,15 @@
|
|
|
176
177
|
"editor.record.form.license.odc-by": "",
|
|
177
178
|
"editor.record.form.license.pddl": "",
|
|
178
179
|
"editor.record.form.license.unknown": "Non riconosciuta o assente",
|
|
180
|
+
"editor.record.form.metadata.title": "",
|
|
181
|
+
"editor.record.form.record.updated": "",
|
|
179
182
|
"editor.record.form.resourceUpdated": "",
|
|
180
183
|
"editor.record.form.temporalExtents": "",
|
|
181
184
|
"editor.record.form.temporalExtents.addDate": "",
|
|
182
185
|
"editor.record.form.temporalExtents.addRange": "",
|
|
183
186
|
"editor.record.form.temporalExtents.date": "",
|
|
184
187
|
"editor.record.form.temporalExtents.range": "",
|
|
188
|
+
"editor.record.form.unique.identifier": "",
|
|
185
189
|
"editor.record.form.updateFrequency": "",
|
|
186
190
|
"editor.record.form.updateFrequency.planned": "",
|
|
187
191
|
"editor.record.loadError.body": "",
|
|
@@ -165,6 +165,7 @@
|
|
|
165
165
|
"downloads.format.unknown": "",
|
|
166
166
|
"downloads.wfs.featuretype.not.found": "",
|
|
167
167
|
"dropFile": "",
|
|
168
|
+
"editor.record.form.abstract": "",
|
|
168
169
|
"editor.record.form.keywords": "",
|
|
169
170
|
"editor.record.form.license": "",
|
|
170
171
|
"editor.record.form.license.cc-by": "",
|
|
@@ -176,12 +177,15 @@
|
|
|
176
177
|
"editor.record.form.license.odc-by": "",
|
|
177
178
|
"editor.record.form.license.pddl": "",
|
|
178
179
|
"editor.record.form.license.unknown": "",
|
|
180
|
+
"editor.record.form.metadata.title": "",
|
|
181
|
+
"editor.record.form.record.updated": "",
|
|
179
182
|
"editor.record.form.resourceUpdated": "",
|
|
180
183
|
"editor.record.form.temporalExtents": "",
|
|
181
184
|
"editor.record.form.temporalExtents.addDate": "",
|
|
182
185
|
"editor.record.form.temporalExtents.addRange": "",
|
|
183
186
|
"editor.record.form.temporalExtents.date": "",
|
|
184
187
|
"editor.record.form.temporalExtents.range": "",
|
|
188
|
+
"editor.record.form.unique.identifier": "",
|
|
185
189
|
"editor.record.form.updateFrequency": "",
|
|
186
190
|
"editor.record.form.updateFrequency.planned": "",
|
|
187
191
|
"editor.record.loadError.body": "",
|
|
@@ -165,6 +165,7 @@
|
|
|
165
165
|
"downloads.format.unknown": "",
|
|
166
166
|
"downloads.wfs.featuretype.not.found": "",
|
|
167
167
|
"dropFile": "",
|
|
168
|
+
"editor.record.form.abstract": "",
|
|
168
169
|
"editor.record.form.keywords": "",
|
|
169
170
|
"editor.record.form.license": "",
|
|
170
171
|
"editor.record.form.license.cc-by": "",
|
|
@@ -176,12 +177,15 @@
|
|
|
176
177
|
"editor.record.form.license.odc-by": "",
|
|
177
178
|
"editor.record.form.license.pddl": "",
|
|
178
179
|
"editor.record.form.license.unknown": "",
|
|
180
|
+
"editor.record.form.metadata.title": "",
|
|
181
|
+
"editor.record.form.record.updated": "",
|
|
179
182
|
"editor.record.form.resourceUpdated": "",
|
|
180
183
|
"editor.record.form.temporalExtents": "",
|
|
181
184
|
"editor.record.form.temporalExtents.addDate": "",
|
|
182
185
|
"editor.record.form.temporalExtents.addRange": "",
|
|
183
186
|
"editor.record.form.temporalExtents.date": "",
|
|
184
187
|
"editor.record.form.temporalExtents.range": "",
|
|
188
|
+
"editor.record.form.unique.identifier": "",
|
|
185
189
|
"editor.record.form.updateFrequency": "",
|
|
186
190
|
"editor.record.form.updateFrequency.planned": "",
|
|
187
191
|
"editor.record.loadError.body": "",
|
|
@@ -2176,6 +2176,7 @@ const mapKeywords = (thesauri, language) => {
|
|
|
2176
2176
|
keywords.push({
|
|
2177
2177
|
label: selectTranslatedValue(keyword, language),
|
|
2178
2178
|
type: getKeywordTypeFromKeywordTypeCode(rawThesaurus.theme),
|
|
2179
|
+
...(keyword.link && { key: keyword.link }),
|
|
2179
2180
|
...(thesaurus && { thesaurus }),
|
|
2180
2181
|
});
|
|
2181
2182
|
}
|
|
@@ -17472,38 +17473,42 @@ var de = {
|
|
|
17472
17473
|
"downloads.format.unknown": "unbekannt",
|
|
17473
17474
|
"downloads.wfs.featuretype.not.found": "Der Layer wurde nicht gefunden",
|
|
17474
17475
|
dropFile: dropFile$6,
|
|
17475
|
-
"editor.record.form.
|
|
17476
|
+
"editor.record.form.abstract": "Kurzbeschreibung",
|
|
17477
|
+
"editor.record.form.keywords": "Schlüsselwörter",
|
|
17476
17478
|
"editor.record.form.license": "Lizenz",
|
|
17477
|
-
"editor.record.form.license.cc-by": "",
|
|
17478
|
-
"editor.record.form.license.cc-by-sa": "",
|
|
17479
|
-
"editor.record.form.license.cc-zero": "",
|
|
17480
|
-
"editor.record.form.license.etalab": "",
|
|
17481
|
-
"editor.record.form.license.etalab-v2": "",
|
|
17482
|
-
"editor.record.form.license.odbl": "",
|
|
17483
|
-
"editor.record.form.license.odc-by": "",
|
|
17484
|
-
"editor.record.form.license.pddl": "",
|
|
17479
|
+
"editor.record.form.license.cc-by": "Creative Commons CC-BY",
|
|
17480
|
+
"editor.record.form.license.cc-by-sa": "Creative Commons CC-BY-SA",
|
|
17481
|
+
"editor.record.form.license.cc-zero": "Creative Commons CC-0",
|
|
17482
|
+
"editor.record.form.license.etalab": "Offene Lizenz (Etalab)",
|
|
17483
|
+
"editor.record.form.license.etalab-v2": "Offene Lizenz v2.0 (Etalab)",
|
|
17484
|
+
"editor.record.form.license.odbl": "Open Data Commons ODbL",
|
|
17485
|
+
"editor.record.form.license.odc-by": "Open Data Commons ODC-By",
|
|
17486
|
+
"editor.record.form.license.pddl": "Open Data Commons PDDL",
|
|
17485
17487
|
"editor.record.form.license.unknown": "Unbekannt oder nicht vorhanden",
|
|
17486
|
-
"editor.record.form.
|
|
17487
|
-
"editor.record.form.
|
|
17488
|
-
"editor.record.form.
|
|
17489
|
-
"editor.record.form.temporalExtents
|
|
17490
|
-
"editor.record.form.temporalExtents.
|
|
17491
|
-
"editor.record.form.temporalExtents.
|
|
17492
|
-
"editor.record.form.
|
|
17493
|
-
"editor.record.form.
|
|
17494
|
-
"editor.record.
|
|
17495
|
-
"editor.record.
|
|
17496
|
-
"editor.record.
|
|
17497
|
-
"editor.record.
|
|
17498
|
-
"editor.record.
|
|
17499
|
-
"editor.record.
|
|
17500
|
-
"editor.record.
|
|
17501
|
-
"editor.record.
|
|
17502
|
-
"editor.record.
|
|
17503
|
-
"editor.record.
|
|
17504
|
-
"editor.record.
|
|
17505
|
-
"editor.record.
|
|
17506
|
-
"editor.record.
|
|
17488
|
+
"editor.record.form.metadata.title": "Metadaten-Titel",
|
|
17489
|
+
"editor.record.form.record.updated": "Datensatz zuletzt aktualisiert",
|
|
17490
|
+
"editor.record.form.resourceUpdated": "Letztes Aktualisierungsdatum",
|
|
17491
|
+
"editor.record.form.temporalExtents": "Zeitlicher Umfang",
|
|
17492
|
+
"editor.record.form.temporalExtents.addDate": "Zeitpunkt",
|
|
17493
|
+
"editor.record.form.temporalExtents.addRange": "Zeitraum",
|
|
17494
|
+
"editor.record.form.temporalExtents.date": "Datum",
|
|
17495
|
+
"editor.record.form.temporalExtents.range": "Datumsbereich",
|
|
17496
|
+
"editor.record.form.unique.identifier": "Eindeutige Kennung (ID)",
|
|
17497
|
+
"editor.record.form.updateFrequency": "Aktualisierungshäufigkeit",
|
|
17498
|
+
"editor.record.form.updateFrequency.planned": "Die Daten sollten regelmäßig aktualisiert werden.",
|
|
17499
|
+
"editor.record.loadError.body": "Der Datensatz konnte nicht geladen werden:",
|
|
17500
|
+
"editor.record.loadError.closeMessage": "Verstanden",
|
|
17501
|
+
"editor.record.loadError.title": "Fehler beim Laden des Datensatzes",
|
|
17502
|
+
"editor.record.publish": "Diesen Datensatz veröffentlichen",
|
|
17503
|
+
"editor.record.publishError.body": "Der Datensatz konnte nicht veröffentlicht werden:",
|
|
17504
|
+
"editor.record.publishError.closeMessage": "Verstanden",
|
|
17505
|
+
"editor.record.publishError.title": "Fehler beim Veröffentlichen des Datensatzes",
|
|
17506
|
+
"editor.record.publishSuccess.body": "Der Datensatz wurde erfolgreich veröffentlicht!",
|
|
17507
|
+
"editor.record.publishSuccess.title": "Veröffentlichung erfolgreich",
|
|
17508
|
+
"editor.record.saveStatus.asDraftOnly": "Nur als Entwurf gespeichert - noch nicht veröffentlicht",
|
|
17509
|
+
"editor.record.saveStatus.draftWithChangesPending": "Als Entwurf gespeichert - Änderungen stehen aus",
|
|
17510
|
+
"editor.record.saveStatus.recordUpToDate": "Datensatz ist auf dem neuesten Stand",
|
|
17511
|
+
"editor.record.upToDate": "Dieser Datensatz ist auf dem neuesten Stand",
|
|
17507
17512
|
"externalviewer.dataset.unnamed": "Datensatz aus dem Datahub",
|
|
17508
17513
|
"facets.block.title.OrgForResource": "Organisation",
|
|
17509
17514
|
"facets.block.title.availableInServices": "Verfügbar für",
|
|
@@ -17903,6 +17908,7 @@ var en = {
|
|
|
17903
17908
|
"downloads.format.unknown": "unknown",
|
|
17904
17909
|
"downloads.wfs.featuretype.not.found": "The layer was not found",
|
|
17905
17910
|
dropFile: dropFile$5,
|
|
17911
|
+
"editor.record.form.abstract": "Abstract",
|
|
17906
17912
|
"editor.record.form.keywords": "Keywords",
|
|
17907
17913
|
"editor.record.form.license": "License",
|
|
17908
17914
|
"editor.record.form.license.cc-by": "Creative Commons CC-BY",
|
|
@@ -17914,12 +17920,15 @@ var en = {
|
|
|
17914
17920
|
"editor.record.form.license.odc-by": "Open Data Commons ODC-By",
|
|
17915
17921
|
"editor.record.form.license.pddl": "Open Data Commons PDDL",
|
|
17916
17922
|
"editor.record.form.license.unknown": "Unknown or absent",
|
|
17923
|
+
"editor.record.form.metadata.title": "Metadata title",
|
|
17924
|
+
"editor.record.form.record.updated": "Record updated",
|
|
17917
17925
|
"editor.record.form.resourceUpdated": "Last update date",
|
|
17918
17926
|
"editor.record.form.temporalExtents": "Temporal extent",
|
|
17919
17927
|
"editor.record.form.temporalExtents.addDate": "Time instant",
|
|
17920
17928
|
"editor.record.form.temporalExtents.addRange": "Time period",
|
|
17921
17929
|
"editor.record.form.temporalExtents.date": "Date",
|
|
17922
17930
|
"editor.record.form.temporalExtents.range": "Date range",
|
|
17931
|
+
"editor.record.form.unique.identifier": "Unique identifier",
|
|
17923
17932
|
"editor.record.form.updateFrequency": "Update frequency",
|
|
17924
17933
|
"editor.record.form.updateFrequency.planned": "The data should be updated regularly.",
|
|
17925
17934
|
"editor.record.loadError.body": "The record could not be loaded:",
|
|
@@ -18003,8 +18012,8 @@ var en = {
|
|
|
18003
18012
|
"organisations.sortBy.nameDesc": "Name Z → A",
|
|
18004
18013
|
"organisations.sortBy.recordCountAsc": "Publications 0 → 9",
|
|
18005
18014
|
"organisations.sortBy.recordCountDesc": "Publications 9 → 0",
|
|
18006
|
-
"organization.details.lastPublishedDatasets": "
|
|
18007
|
-
"organization.details.lastPublishedDatasets.searchAllButton": "
|
|
18015
|
+
"organization.details.lastPublishedDatasets": "",
|
|
18016
|
+
"organization.details.lastPublishedDatasets.searchAllButton": "",
|
|
18008
18017
|
"organization.details.mailContact": "Contact by email",
|
|
18009
18018
|
"organization.header.recordCount": "{count, plural, =0{data} one{data} other{datas}}",
|
|
18010
18019
|
"pagination.nextPage": "Next page",
|
|
@@ -18334,6 +18343,7 @@ var es = {
|
|
|
18334
18343
|
"downloads.format.unknown": "",
|
|
18335
18344
|
"downloads.wfs.featuretype.not.found": "",
|
|
18336
18345
|
dropFile: dropFile$4,
|
|
18346
|
+
"editor.record.form.abstract": "",
|
|
18337
18347
|
"editor.record.form.keywords": "",
|
|
18338
18348
|
"editor.record.form.license": "",
|
|
18339
18349
|
"editor.record.form.license.cc-by": "",
|
|
@@ -18345,12 +18355,15 @@ var es = {
|
|
|
18345
18355
|
"editor.record.form.license.odc-by": "",
|
|
18346
18356
|
"editor.record.form.license.pddl": "",
|
|
18347
18357
|
"editor.record.form.license.unknown": "",
|
|
18358
|
+
"editor.record.form.metadata.title": "",
|
|
18359
|
+
"editor.record.form.record.updated": "",
|
|
18348
18360
|
"editor.record.form.resourceUpdated": "",
|
|
18349
18361
|
"editor.record.form.temporalExtents": "",
|
|
18350
18362
|
"editor.record.form.temporalExtents.addDate": "",
|
|
18351
18363
|
"editor.record.form.temporalExtents.addRange": "",
|
|
18352
18364
|
"editor.record.form.temporalExtents.date": "",
|
|
18353
18365
|
"editor.record.form.temporalExtents.range": "",
|
|
18366
|
+
"editor.record.form.unique.identifier": "",
|
|
18354
18367
|
"editor.record.form.updateFrequency": "",
|
|
18355
18368
|
"editor.record.form.updateFrequency.planned": "",
|
|
18356
18369
|
"editor.record.loadError.body": "",
|
|
@@ -18765,7 +18778,8 @@ var fr = {
|
|
|
18765
18778
|
"downloads.format.unknown": "inconnu",
|
|
18766
18779
|
"downloads.wfs.featuretype.not.found": "La couche n'a pas été retrouvée",
|
|
18767
18780
|
dropFile: dropFile$3,
|
|
18768
|
-
"editor.record.form.
|
|
18781
|
+
"editor.record.form.abstract": "",
|
|
18782
|
+
"editor.record.form.keywords": "",
|
|
18769
18783
|
"editor.record.form.license": "Licence",
|
|
18770
18784
|
"editor.record.form.license.cc-by": "",
|
|
18771
18785
|
"editor.record.form.license.cc-by-sa": "",
|
|
@@ -18776,12 +18790,15 @@ var fr = {
|
|
|
18776
18790
|
"editor.record.form.license.odc-by": "",
|
|
18777
18791
|
"editor.record.form.license.pddl": "",
|
|
18778
18792
|
"editor.record.form.license.unknown": "Non-reconnue ou absente",
|
|
18793
|
+
"editor.record.form.metadata.title": "",
|
|
18794
|
+
"editor.record.form.record.updated": "",
|
|
18779
18795
|
"editor.record.form.resourceUpdated": "Date de dernière révision",
|
|
18780
18796
|
"editor.record.form.temporalExtents": "Étendue temporelle",
|
|
18781
18797
|
"editor.record.form.temporalExtents.addDate": "Date déterminée",
|
|
18782
18798
|
"editor.record.form.temporalExtents.addRange": "Période de temps",
|
|
18783
18799
|
"editor.record.form.temporalExtents.date": "Date concernée",
|
|
18784
18800
|
"editor.record.form.temporalExtents.range": "Période concernée",
|
|
18801
|
+
"editor.record.form.unique.identifier": "",
|
|
18785
18802
|
"editor.record.form.updateFrequency": "Fréquence de mise à jour",
|
|
18786
18803
|
"editor.record.form.updateFrequency.planned": "Ces données doivent être mise à jour régulièrement.",
|
|
18787
18804
|
"editor.record.loadError.body": "",
|
|
@@ -18865,8 +18882,8 @@ var fr = {
|
|
|
18865
18882
|
"organisations.sortBy.nameDesc": "Nom Z → A",
|
|
18866
18883
|
"organisations.sortBy.recordCountAsc": "Données 0 → 9",
|
|
18867
18884
|
"organisations.sortBy.recordCountDesc": "Données 9 → 0",
|
|
18868
|
-
"organization.details.lastPublishedDatasets": "
|
|
18869
|
-
"organization.details.lastPublishedDatasets.searchAllButton": "
|
|
18885
|
+
"organization.details.lastPublishedDatasets": "",
|
|
18886
|
+
"organization.details.lastPublishedDatasets.searchAllButton": "",
|
|
18870
18887
|
"organization.details.mailContact": "Contacter par mail",
|
|
18871
18888
|
"organization.header.recordCount": "{count, plural, =0{donnée} one{donnée} other{données}}",
|
|
18872
18889
|
"pagination.nextPage": "Page suivante",
|
|
@@ -19196,6 +19213,7 @@ var it = {
|
|
|
19196
19213
|
"downloads.format.unknown": "sconosciuto",
|
|
19197
19214
|
"downloads.wfs.featuretype.not.found": "Il layer non è stato trovato",
|
|
19198
19215
|
dropFile: dropFile$2,
|
|
19216
|
+
"editor.record.form.abstract": "",
|
|
19199
19217
|
"editor.record.form.keywords": "",
|
|
19200
19218
|
"editor.record.form.license": "Licenza",
|
|
19201
19219
|
"editor.record.form.license.cc-by": "",
|
|
@@ -19207,12 +19225,15 @@ var it = {
|
|
|
19207
19225
|
"editor.record.form.license.odc-by": "",
|
|
19208
19226
|
"editor.record.form.license.pddl": "",
|
|
19209
19227
|
"editor.record.form.license.unknown": "Non riconosciuta o assente",
|
|
19228
|
+
"editor.record.form.metadata.title": "",
|
|
19229
|
+
"editor.record.form.record.updated": "",
|
|
19210
19230
|
"editor.record.form.resourceUpdated": "",
|
|
19211
19231
|
"editor.record.form.temporalExtents": "",
|
|
19212
19232
|
"editor.record.form.temporalExtents.addDate": "",
|
|
19213
19233
|
"editor.record.form.temporalExtents.addRange": "",
|
|
19214
19234
|
"editor.record.form.temporalExtents.date": "",
|
|
19215
19235
|
"editor.record.form.temporalExtents.range": "",
|
|
19236
|
+
"editor.record.form.unique.identifier": "",
|
|
19216
19237
|
"editor.record.form.updateFrequency": "",
|
|
19217
19238
|
"editor.record.form.updateFrequency.planned": "",
|
|
19218
19239
|
"editor.record.loadError.body": "",
|
|
@@ -19627,6 +19648,7 @@ var nl = {
|
|
|
19627
19648
|
"downloads.format.unknown": "",
|
|
19628
19649
|
"downloads.wfs.featuretype.not.found": "",
|
|
19629
19650
|
dropFile: dropFile$1,
|
|
19651
|
+
"editor.record.form.abstract": "",
|
|
19630
19652
|
"editor.record.form.keywords": "",
|
|
19631
19653
|
"editor.record.form.license": "",
|
|
19632
19654
|
"editor.record.form.license.cc-by": "",
|
|
@@ -19638,12 +19660,15 @@ var nl = {
|
|
|
19638
19660
|
"editor.record.form.license.odc-by": "",
|
|
19639
19661
|
"editor.record.form.license.pddl": "",
|
|
19640
19662
|
"editor.record.form.license.unknown": "",
|
|
19663
|
+
"editor.record.form.metadata.title": "",
|
|
19664
|
+
"editor.record.form.record.updated": "",
|
|
19641
19665
|
"editor.record.form.resourceUpdated": "",
|
|
19642
19666
|
"editor.record.form.temporalExtents": "",
|
|
19643
19667
|
"editor.record.form.temporalExtents.addDate": "",
|
|
19644
19668
|
"editor.record.form.temporalExtents.addRange": "",
|
|
19645
19669
|
"editor.record.form.temporalExtents.date": "",
|
|
19646
19670
|
"editor.record.form.temporalExtents.range": "",
|
|
19671
|
+
"editor.record.form.unique.identifier": "",
|
|
19647
19672
|
"editor.record.form.updateFrequency": "",
|
|
19648
19673
|
"editor.record.form.updateFrequency.planned": "",
|
|
19649
19674
|
"editor.record.loadError.body": "",
|
|
@@ -20058,6 +20083,7 @@ var pt = {
|
|
|
20058
20083
|
"downloads.format.unknown": "",
|
|
20059
20084
|
"downloads.wfs.featuretype.not.found": "",
|
|
20060
20085
|
dropFile: dropFile,
|
|
20086
|
+
"editor.record.form.abstract": "",
|
|
20061
20087
|
"editor.record.form.keywords": "",
|
|
20062
20088
|
"editor.record.form.license": "",
|
|
20063
20089
|
"editor.record.form.license.cc-by": "",
|
|
@@ -20069,12 +20095,15 @@ var pt = {
|
|
|
20069
20095
|
"editor.record.form.license.odc-by": "",
|
|
20070
20096
|
"editor.record.form.license.pddl": "",
|
|
20071
20097
|
"editor.record.form.license.unknown": "",
|
|
20098
|
+
"editor.record.form.metadata.title": "",
|
|
20099
|
+
"editor.record.form.record.updated": "",
|
|
20072
20100
|
"editor.record.form.resourceUpdated": "",
|
|
20073
20101
|
"editor.record.form.temporalExtents": "",
|
|
20074
20102
|
"editor.record.form.temporalExtents.addDate": "",
|
|
20075
20103
|
"editor.record.form.temporalExtents.addRange": "",
|
|
20076
20104
|
"editor.record.form.temporalExtents.date": "",
|
|
20077
20105
|
"editor.record.form.temporalExtents.range": "",
|
|
20106
|
+
"editor.record.form.unique.identifier": "",
|
|
20078
20107
|
"editor.record.form.updateFrequency": "",
|
|
20079
20108
|
"editor.record.form.updateFrequency.planned": "",
|
|
20080
20109
|
"editor.record.loadError.body": "",
|
|
@@ -33939,37 +33968,54 @@ const GN_UI_VERSION = new InjectionToken('gnUiVersion');
|
|
|
33939
33968
|
|
|
33940
33969
|
const WEB_COMPONENT_EMBEDDER_URL = new InjectionToken('webComponentEmbedderUrl');
|
|
33941
33970
|
class DataViewPermalinkComponent {
|
|
33971
|
+
set viewType(value) {
|
|
33972
|
+
this.viewType$.next(value);
|
|
33973
|
+
}
|
|
33942
33974
|
constructor(config, wcEmbedderBaseUrl, version, facade) {
|
|
33943
33975
|
this.config = config;
|
|
33944
33976
|
this.wcEmbedderBaseUrl = wcEmbedderBaseUrl;
|
|
33945
33977
|
this.version = version;
|
|
33946
33978
|
this.facade = facade;
|
|
33979
|
+
this.viewType$ = new BehaviorSubject('map');
|
|
33947
33980
|
this.permalinkUrl$ = combineLatest([
|
|
33981
|
+
this.viewType$,
|
|
33948
33982
|
this.facade.chartConfig$,
|
|
33949
33983
|
this.facade.metadata$,
|
|
33950
|
-
]).pipe(map$2(([config, metadata]) => {
|
|
33951
|
-
|
|
33952
|
-
|
|
33953
|
-
|
|
33954
|
-
|
|
33955
|
-
|
|
33956
|
-
|
|
33957
|
-
|
|
33958
|
-
|
|
33959
|
-
|
|
33960
|
-
|
|
33961
|
-
|
|
33962
|
-
|
|
33963
|
-
|
|
33964
|
-
|
|
33965
|
-
url.searchParams.append('a', `chart-type=${chartType}`);
|
|
33966
|
-
return url.toString();
|
|
33984
|
+
]).pipe(map$2(([viewType, config, metadata]) => {
|
|
33985
|
+
const url = new URL(`${this.wcEmbedderBaseUrl}`, window.location.origin);
|
|
33986
|
+
url.searchParams.set('v', `${this.version}`);
|
|
33987
|
+
if (viewType === 'chart') {
|
|
33988
|
+
if (config) {
|
|
33989
|
+
const { aggregation, xProperty, yProperty, chartType } = config;
|
|
33990
|
+
url.searchParams.append('e', `gn-dataset-view-chart`);
|
|
33991
|
+
url.searchParams.append('a', `aggregation=${aggregation}`);
|
|
33992
|
+
url.searchParams.append('a', `x-property=${xProperty}`);
|
|
33993
|
+
url.searchParams.append('a', `y-property=${yProperty}`);
|
|
33994
|
+
url.searchParams.append('a', `chart-type=${chartType}`);
|
|
33995
|
+
}
|
|
33996
|
+
else {
|
|
33997
|
+
return '';
|
|
33998
|
+
}
|
|
33967
33999
|
}
|
|
33968
|
-
|
|
34000
|
+
else if (viewType === 'table') {
|
|
34001
|
+
// table
|
|
34002
|
+
url.searchParams.append('e', `gn-dataset-view-table`);
|
|
34003
|
+
}
|
|
34004
|
+
else {
|
|
34005
|
+
// map
|
|
34006
|
+
url.searchParams.append('e', `gn-dataset-view-map`);
|
|
34007
|
+
}
|
|
34008
|
+
url.searchParams.append('a', `api-url=${this.config.basePath}`);
|
|
34009
|
+
url.searchParams.append('a', `dataset-id=${metadata.uniqueIdentifier}`);
|
|
34010
|
+
url.searchParams.append('a', `primary-color=#0f4395`);
|
|
34011
|
+
url.searchParams.append('a', `secondary-color=#8bc832`);
|
|
34012
|
+
url.searchParams.append('a', `main-color=#555`);
|
|
34013
|
+
url.searchParams.append('a', `background-color=#fdfbff`);
|
|
34014
|
+
return url.toString();
|
|
33969
34015
|
}));
|
|
33970
34016
|
}
|
|
33971
34017
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataViewPermalinkComponent, deps: [{ token: Configuration }, { token: WEB_COMPONENT_EMBEDDER_URL, optional: true }, { token: GN_UI_VERSION }, { token: MdViewFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33972
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DataViewPermalinkComponent, selector: "gn-ui-data-view-permalink", ngImport: i0, template: "<gn-ui-copy-text-button\n *ngIf=\"wcEmbedderBaseUrl\"\n [text]=\"permalinkUrl$ | async\"\n [tooltipText]=\"'tooltip.url.copy' | translate\"\n></gn-ui-copy-text-button>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CopyTextButtonComponent, selector: "gn-ui-copy-text-button", inputs: ["text", "tooltipText", "displayText", "rows"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
34018
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DataViewPermalinkComponent, selector: "gn-ui-data-view-permalink", inputs: { viewType: "viewType" }, ngImport: i0, template: "<gn-ui-copy-text-button\n *ngIf=\"wcEmbedderBaseUrl\"\n [text]=\"permalinkUrl$ | async\"\n [tooltipText]=\"'tooltip.url.copy' | translate\"\n></gn-ui-copy-text-button>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CopyTextButtonComponent, selector: "gn-ui-copy-text-button", inputs: ["text", "tooltipText", "displayText", "rows"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
33973
34019
|
}
|
|
33974
34020
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataViewPermalinkComponent, decorators: [{
|
|
33975
34021
|
type: Component,
|
|
@@ -33985,37 +34031,71 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
33985
34031
|
}] }, { type: undefined, decorators: [{
|
|
33986
34032
|
type: Inject,
|
|
33987
34033
|
args: [GN_UI_VERSION]
|
|
33988
|
-
}] }, { type: MdViewFacade }]; }
|
|
34034
|
+
}] }, { type: MdViewFacade }]; }, propDecorators: { viewType: [{
|
|
34035
|
+
type: Input
|
|
34036
|
+
}] } });
|
|
33989
34037
|
|
|
33990
34038
|
class DataViewWebComponentComponent {
|
|
34039
|
+
set viewType(value) {
|
|
34040
|
+
this.viewType$.next(value);
|
|
34041
|
+
}
|
|
33991
34042
|
constructor(config, version, facade) {
|
|
33992
34043
|
this.config = config;
|
|
33993
34044
|
this.version = version;
|
|
33994
34045
|
this.facade = facade;
|
|
33995
|
-
this.
|
|
33996
|
-
|
|
33997
|
-
|
|
34046
|
+
this.viewType$ = new BehaviorSubject('map');
|
|
34047
|
+
this.webComponentHtml$ = combineLatest(this.viewType$, this.facade.chartConfig$, this.facade.metadata$).pipe(map$2(([viewType, config, metadata]) => {
|
|
34048
|
+
if (viewType === 'chart') {
|
|
34049
|
+
if (config) {
|
|
34050
|
+
const { aggregation, xProperty, yProperty, chartType } = config;
|
|
34051
|
+
return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${this.version}/gn-wc.js"></script>
|
|
34052
|
+
<gn-dataset-view-chart
|
|
34053
|
+
api-url="${new URL(this.config.basePath, window.location.origin).toString()}"
|
|
34054
|
+
dataset-id="${metadata.uniqueIdentifier}"
|
|
34055
|
+
aggregation="${aggregation}"
|
|
34056
|
+
x-property="${xProperty}"
|
|
34057
|
+
y-property="${yProperty}"
|
|
34058
|
+
chart-type="${chartType}"
|
|
34059
|
+
primary-color="#0f4395"
|
|
34060
|
+
secondary-color="#8bc832"
|
|
34061
|
+
main-color="#555"
|
|
34062
|
+
background-color="#fdfbff"
|
|
34063
|
+
main-font="'Inter', sans-serif"
|
|
34064
|
+
title-font="'DM Serif Display', serif"
|
|
34065
|
+
></gn-dataset-view-chart>`;
|
|
34066
|
+
}
|
|
34067
|
+
return '';
|
|
34068
|
+
}
|
|
34069
|
+
else if (viewType === 'table') {
|
|
34070
|
+
return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${this.version}/gn-wc.js"></script>
|
|
34071
|
+
<gn-dataset-view-table
|
|
34072
|
+
api-url="${new URL(this.config.basePath, window.location.origin).toString()}"
|
|
34073
|
+
dataset-id="${metadata.uniqueIdentifier}"
|
|
34074
|
+
primary-color="#0f4395"
|
|
34075
|
+
secondary-color="#8bc832"
|
|
34076
|
+
main-color="#555"
|
|
34077
|
+
background-color="#fdfbff"
|
|
34078
|
+
main-font="'Inter', sans-serif"
|
|
34079
|
+
title-font="'DM Serif Display', serif"
|
|
34080
|
+
></gn-dataset-view-table>`;
|
|
34081
|
+
}
|
|
34082
|
+
else {
|
|
33998
34083
|
return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${this.version}/gn-wc.js"></script>
|
|
33999
|
-
<gn-dataset-view-
|
|
34084
|
+
<gn-dataset-view-map
|
|
34000
34085
|
api-url="${new URL(this.config.basePath, window.location.origin).toString()}"
|
|
34001
34086
|
dataset-id="${metadata.uniqueIdentifier}"
|
|
34002
|
-
aggregation="${aggregation}"
|
|
34003
|
-
x-property="${xProperty}"
|
|
34004
|
-
y-property="${yProperty}"
|
|
34005
|
-
chart-type="${chartType}"
|
|
34006
34087
|
primary-color="#0f4395"
|
|
34007
34088
|
secondary-color="#8bc832"
|
|
34008
34089
|
main-color="#555"
|
|
34009
34090
|
background-color="#fdfbff"
|
|
34010
34091
|
main-font="'Inter', sans-serif"
|
|
34011
34092
|
title-font="'DM Serif Display', serif"
|
|
34012
|
-
></gn-dataset-view-
|
|
34093
|
+
></gn-dataset-view-map>`;
|
|
34013
34094
|
}
|
|
34014
|
-
return '';
|
|
34015
34095
|
}));
|
|
34016
34096
|
}
|
|
34017
34097
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataViewWebComponentComponent, deps: [{ token: Configuration }, { token: GN_UI_VERSION }, { token: MdViewFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34018
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DataViewWebComponentComponent, selector: "gn-ui-data-view-web-component", ngImport: i0, template: "<gn-ui-copy-text-button\n [text]=\"webComponentHtml$ | async\"\n [rows]=\"3\"\n [tooltipText]=\"'tooltip.html.copy' | translate\"\n></gn-ui-copy-text-button>\n", styles: [""], dependencies: [{ kind: "component", type: CopyTextButtonComponent, selector: "gn-ui-copy-text-button", inputs: ["text", "tooltipText", "displayText", "rows"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
34098
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DataViewWebComponentComponent, selector: "gn-ui-data-view-web-component", inputs: { viewType: "viewType" }, ngImport: i0, template: "<gn-ui-copy-text-button\n [text]=\"webComponentHtml$ | async\"\n [rows]=\"3\"\n [tooltipText]=\"'tooltip.html.copy' | translate\"\n></gn-ui-copy-text-button>\n", styles: [""], dependencies: [{ kind: "component", type: CopyTextButtonComponent, selector: "gn-ui-copy-text-button", inputs: ["text", "tooltipText", "displayText", "rows"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
34019
34099
|
}
|
|
34020
34100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataViewWebComponentComponent, decorators: [{
|
|
34021
34101
|
type: Component,
|
|
@@ -34026,24 +34106,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
34026
34106
|
}] }, { type: undefined, decorators: [{
|
|
34027
34107
|
type: Inject,
|
|
34028
34108
|
args: [GN_UI_VERSION]
|
|
34029
|
-
}] }, { type: MdViewFacade }]; }
|
|
34109
|
+
}] }, { type: MdViewFacade }]; }, propDecorators: { viewType: [{
|
|
34110
|
+
type: Input
|
|
34111
|
+
}] } });
|
|
34030
34112
|
|
|
34031
34113
|
class DataViewShareComponent {
|
|
34114
|
+
set viewType(value) {
|
|
34115
|
+
this._viewType = value;
|
|
34116
|
+
}
|
|
34117
|
+
get viewType() {
|
|
34118
|
+
return this._viewType;
|
|
34119
|
+
}
|
|
34032
34120
|
constructor(wcEmbedderBaseUrl) {
|
|
34033
34121
|
this.wcEmbedderBaseUrl = wcEmbedderBaseUrl;
|
|
34034
34122
|
}
|
|
34035
34123
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataViewShareComponent, deps: [{ token: WEB_COMPONENT_EMBEDDER_URL, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34036
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DataViewShareComponent, selector: "gn-ui-data-view-share", ngImport: i0, template: "<div class=\"container-lg px-5 my-1 lg:mx-auto\">\n <mat-tab-group\n [selectedIndex]=\"0\"\n animationDuration=\"0ms\"\n mat-stretch-tabs=\"false\"\n mat-align-tabs=\"start\"\n [disableRipple]=\"!wcEmbedderBaseUrl\"\n >\n <mat-tab *ngIf=\"wcEmbedderBaseUrl\">\n <ng-template mat-tab-label>\n <span class=\"tab-header-label-gray\" translate>share.tab.permalink</span>\n </ng-template>\n <gn-ui-data-view-permalink></gn-ui-data-view-permalink>\n </mat-tab>\n <mat-tab>\n <ng-template mat-tab-label>\n <span\n [class]=\"\n wcEmbedderBaseUrl\n ? 'tab-header-label-gray'\n : 'single-tab-header-label-gray'\n \"\n translate\n >share.tab.webComponent</span\n >\n </ng-template>\n <gn-ui-data-view-web-component></gn-ui-data-view-web-component>\n </mat-tab>\n </mat-tab-group>\n</div>\n", styles: ["::ng-deep .mat-mdc-tab.mdc-tab.mdc-tab--active .tab-header-label-gray{opacity:100%;font-weight:700}.tab-header-label-gray{@apply text-sm text-gray-700 opacity-75 hover:text-gray-900;}.single-tab-header-label-gray{@apply text-sm text-gray-900;}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$5.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i2$5.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i2$5.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "directive", type: i1$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: DataViewPermalinkComponent, selector: "gn-ui-data-view-permalink" }, { kind: "component", type: DataViewWebComponentComponent, selector: "gn-ui-data-view-web-component" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
34124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DataViewShareComponent, selector: "gn-ui-data-view-share", inputs: { viewType: "viewType" }, ngImport: i0, template: "<div class=\"container-lg px-5 my-1 lg:mx-auto\">\n <mat-tab-group\n [selectedIndex]=\"0\"\n animationDuration=\"0ms\"\n mat-stretch-tabs=\"false\"\n mat-align-tabs=\"start\"\n [disableRipple]=\"!wcEmbedderBaseUrl\"\n >\n <mat-tab *ngIf=\"wcEmbedderBaseUrl\">\n <ng-template mat-tab-label>\n <span class=\"tab-header-label-gray\" translate>share.tab.permalink</span>\n </ng-template>\n <gn-ui-data-view-permalink\n [viewType]=\"viewType\"\n ></gn-ui-data-view-permalink>\n </mat-tab>\n <mat-tab>\n <ng-template mat-tab-label>\n <span\n [class]=\"\n wcEmbedderBaseUrl\n ? 'tab-header-label-gray'\n : 'single-tab-header-label-gray'\n \"\n translate\n >share.tab.webComponent</span\n >\n </ng-template>\n <gn-ui-data-view-web-component\n [viewType]=\"viewType\"\n ></gn-ui-data-view-web-component>\n </mat-tab>\n </mat-tab-group>\n</div>\n", styles: ["::ng-deep .mat-mdc-tab.mdc-tab.mdc-tab--active .tab-header-label-gray{opacity:100%;font-weight:700}.tab-header-label-gray{@apply text-sm text-gray-700 opacity-75 hover:text-gray-900;}.single-tab-header-label-gray{@apply text-sm text-gray-900;}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$5.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i2$5.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i2$5.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "directive", type: i1$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: DataViewPermalinkComponent, selector: "gn-ui-data-view-permalink", inputs: ["viewType"] }, { kind: "component", type: DataViewWebComponentComponent, selector: "gn-ui-data-view-web-component", inputs: ["viewType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
34037
34125
|
}
|
|
34038
34126
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataViewShareComponent, decorators: [{
|
|
34039
34127
|
type: Component,
|
|
34040
|
-
args: [{ selector: 'gn-ui-data-view-share', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"container-lg px-5 my-1 lg:mx-auto\">\n <mat-tab-group\n [selectedIndex]=\"0\"\n animationDuration=\"0ms\"\n mat-stretch-tabs=\"false\"\n mat-align-tabs=\"start\"\n [disableRipple]=\"!wcEmbedderBaseUrl\"\n >\n <mat-tab *ngIf=\"wcEmbedderBaseUrl\">\n <ng-template mat-tab-label>\n <span class=\"tab-header-label-gray\" translate>share.tab.permalink</span>\n </ng-template>\n <gn-ui-data-view-permalink></gn-ui-data-view-permalink>\n </mat-tab>\n <mat-tab>\n <ng-template mat-tab-label>\n <span\n [class]=\"\n wcEmbedderBaseUrl\n ? 'tab-header-label-gray'\n : 'single-tab-header-label-gray'\n \"\n translate\n >share.tab.webComponent</span\n >\n </ng-template>\n <gn-ui-data-view-web-component></gn-ui-data-view-web-component>\n </mat-tab>\n </mat-tab-group>\n</div>\n", styles: ["::ng-deep .mat-mdc-tab.mdc-tab.mdc-tab--active .tab-header-label-gray{opacity:100%;font-weight:700}.tab-header-label-gray{@apply text-sm text-gray-700 opacity-75 hover:text-gray-900;}.single-tab-header-label-gray{@apply text-sm text-gray-900;}\n"] }]
|
|
34128
|
+
args: [{ selector: 'gn-ui-data-view-share', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"container-lg px-5 my-1 lg:mx-auto\">\n <mat-tab-group\n [selectedIndex]=\"0\"\n animationDuration=\"0ms\"\n mat-stretch-tabs=\"false\"\n mat-align-tabs=\"start\"\n [disableRipple]=\"!wcEmbedderBaseUrl\"\n >\n <mat-tab *ngIf=\"wcEmbedderBaseUrl\">\n <ng-template mat-tab-label>\n <span class=\"tab-header-label-gray\" translate>share.tab.permalink</span>\n </ng-template>\n <gn-ui-data-view-permalink\n [viewType]=\"viewType\"\n ></gn-ui-data-view-permalink>\n </mat-tab>\n <mat-tab>\n <ng-template mat-tab-label>\n <span\n [class]=\"\n wcEmbedderBaseUrl\n ? 'tab-header-label-gray'\n : 'single-tab-header-label-gray'\n \"\n translate\n >share.tab.webComponent</span\n >\n </ng-template>\n <gn-ui-data-view-web-component\n [viewType]=\"viewType\"\n ></gn-ui-data-view-web-component>\n </mat-tab>\n </mat-tab-group>\n</div>\n", styles: ["::ng-deep .mat-mdc-tab.mdc-tab.mdc-tab--active .tab-header-label-gray{opacity:100%;font-weight:700}.tab-header-label-gray{@apply text-sm text-gray-700 opacity-75 hover:text-gray-900;}.single-tab-header-label-gray{@apply text-sm text-gray-900;}\n"] }]
|
|
34041
34129
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
34042
34130
|
type: Optional
|
|
34043
34131
|
}, {
|
|
34044
34132
|
type: Inject,
|
|
34045
34133
|
args: [WEB_COMPONENT_EMBEDDER_URL]
|
|
34046
|
-
}] }]; }
|
|
34134
|
+
}] }]; }, propDecorators: { viewType: [{
|
|
34135
|
+
type: Input
|
|
34136
|
+
}] } });
|
|
34047
34137
|
|
|
34048
34138
|
class FeatureRecordModule {
|
|
34049
34139
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FeatureRecordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
@@ -34138,21 +34228,21 @@ const DEFAULT_FIELDS = [
|
|
|
34138
34228
|
{
|
|
34139
34229
|
model: 'title',
|
|
34140
34230
|
formFieldConfig: {
|
|
34141
|
-
labelKey: '
|
|
34231
|
+
labelKey: marker('editor.record.form.metadata.title'),
|
|
34142
34232
|
type: 'text',
|
|
34143
34233
|
},
|
|
34144
34234
|
},
|
|
34145
34235
|
{
|
|
34146
34236
|
model: 'abstract',
|
|
34147
34237
|
formFieldConfig: {
|
|
34148
|
-
labelKey: '
|
|
34238
|
+
labelKey: marker('editor.record.form.abstract'),
|
|
34149
34239
|
type: 'rich',
|
|
34150
34240
|
},
|
|
34151
34241
|
},
|
|
34152
34242
|
{
|
|
34153
34243
|
model: 'uniqueIdentifier',
|
|
34154
34244
|
formFieldConfig: {
|
|
34155
|
-
labelKey: '
|
|
34245
|
+
labelKey: marker('editor.record.form.unique.identifier'),
|
|
34156
34246
|
type: 'text',
|
|
34157
34247
|
locked: true,
|
|
34158
34248
|
},
|
|
@@ -34160,7 +34250,7 @@ const DEFAULT_FIELDS = [
|
|
|
34160
34250
|
{
|
|
34161
34251
|
model: 'recordUpdated',
|
|
34162
34252
|
formFieldConfig: {
|
|
34163
|
-
labelKey: '
|
|
34253
|
+
labelKey: marker('editor.record.form.record.updated'),
|
|
34164
34254
|
type: 'text',
|
|
34165
34255
|
locked: true,
|
|
34166
34256
|
},
|