geonetwork-ui 2.4.0-dev.e97caaf2 → 2.4.0-dev.f5019723
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/index.mjs +4 -1
- package/esm2022/libs/api/metadata-converter/src/lib/common/license.mjs +64 -0
- package/esm2022/libs/api/metadata-converter/src/lib/common/url.mjs +14 -0
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +254 -0
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/index.mjs +2 -0
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.mjs +17 -0
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +196 -0
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.mjs +46 -0
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.mjs +74 -0
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.mjs +2 -0
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.mjs +27 -0
- package/esm2022/libs/api/metadata-converter/src/lib/find-converter.mjs +11 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +10 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +6 -6
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +7 -4
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +17 -29
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +8 -15
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +6 -6
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +54 -54
- package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +35 -3
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +78 -39
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +41 -7
- package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
- package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
- package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -4
- package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +6 -6
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +10 -7
- package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +40 -50
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
- package/esm2022/libs/feature/editor/src/index.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +4 -16
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +4 -2
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +95 -0
- package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +71 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +109 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +15 -32
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.mjs +19 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +23 -10
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +38 -60
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +148 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +86 -11
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +4 -8
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +36 -7
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +35 -59
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +14 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +41 -7
- package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +5 -5
- package/esm2022/libs/feature/map/src/index.mjs +2 -9
- package/esm2022/libs/feature/map/src/lib/+state/map.actions.mjs +4 -7
- package/esm2022/libs/feature/map/src/lib/+state/map.facade.mjs +9 -15
- package/esm2022/libs/feature/map/src/lib/+state/map.reducer.mjs +13 -44
- package/esm2022/libs/feature/map/src/lib/+state/map.selectors.mjs +3 -2
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +16 -16
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +16 -10
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +10 -8
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +11 -7
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +10 -6
- package/esm2022/libs/feature/map/src/lib/constant/index.mjs +1 -2
- package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +4 -44
- package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +43 -29
- package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +17 -8
- package/esm2022/libs/feature/map/src/lib/map-state-container/map-state-container.component.mjs +27 -0
- package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
- package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +4 -168
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +21 -17
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +14 -8
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +40 -52
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +4 -2
- package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +12 -6
- package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +7 -7
- package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +1 -6
- package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
- package/esm2022/libs/ui/elements/src/index.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +1 -1
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/index.mjs +5 -1
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +7 -4
- package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +5 -3
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +8 -1
- package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +11 -4
- package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +9 -3
- package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +87 -0
- package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +5 -4
- package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +6 -4
- package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +4 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +2 -7
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/index.mjs +3 -1
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +5 -3
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +29 -0
- package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +43 -0
- package/esm2022/libs/ui/map/src/index.mjs +4 -3
- package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +8 -6
- package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +137 -0
- package/esm2022/libs/ui/map/src/lib/components/map-container/map-settings.token.mjs +13 -0
- package/esm2022/libs/ui/map/src/lib/map-utils.mjs +37 -0
- package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +8 -8
- package/esm2022/libs/util/app-config/src/index.mjs +2 -1
- package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
- package/esm2022/libs/util/app-config/src/lib/map-layers.mjs +27 -0
- package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +2 -1
- package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
- package/esm2022/translations/de.json +28 -2
- package/esm2022/translations/en.json +59 -33
- package/esm2022/translations/es.json +26 -0
- package/esm2022/translations/fr.json +90 -64
- package/esm2022/translations/it.json +28 -2
- package/esm2022/translations/nl.json +26 -0
- package/esm2022/translations/pt.json +26 -0
- package/fesm2022/geonetwork-ui.mjs +9462 -8515
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/index.d.ts +3 -0
- package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/common/license.d.ts +3 -0
- package/libs/api/metadata-converter/src/lib/common/license.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/common/url.d.ts +7 -0
- package/libs/api/metadata-converter/src/lib/common/url.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts +13 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts +2 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts +16 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts +20 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts +9 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts +8 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts +2 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts +6 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/find-converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +3 -3
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -2
- package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +1 -2
- package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +4 -5
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +10 -11
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +58 -0
- package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +12 -7
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +21 -2
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -1
- package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -6
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +15 -0
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +7 -0
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
- package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
- package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
- package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +2 -1
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -2
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +10 -9
- package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts +13 -20
- package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +6 -6
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +3 -3
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/editor/src/index.d.ts +1 -0
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +1 -5
- package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +2 -1
- package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +34 -0
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts +15 -0
- package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts +38 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +2 -5
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts +9 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +5 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +6 -13
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +35 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +20 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +1 -3
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +7 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +9 -15
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +5 -3
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +3 -2
- package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts +10 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +6 -0
- package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/services/editor.service.d.ts +2 -2
- package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
- package/libs/feature/map/src/index.d.ts +1 -8
- package/libs/feature/map/src/index.d.ts.map +1 -1
- package/libs/feature/map/src/lib/+state/map.actions.d.ts +13 -39
- package/libs/feature/map/src/lib/+state/map.actions.d.ts.map +1 -1
- package/libs/feature/map/src/lib/+state/map.facade.d.ts +9 -10
- package/libs/feature/map/src/lib/+state/map.facade.d.ts.map +1 -1
- package/libs/feature/map/src/lib/+state/map.reducer.d.ts +4 -2
- package/libs/feature/map/src/lib/+state/map.reducer.d.ts.map +1 -1
- package/libs/feature/map/src/lib/+state/map.selectors.d.ts +6 -1
- package/libs/feature/map/src/lib/+state/map.selectors.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +7 -9
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +2 -2
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/constant/index.d.ts +0 -1
- package/libs/feature/map/src/lib/constant/index.d.ts.map +1 -1
- package/libs/feature/map/src/lib/feature-map.module.d.ts +12 -18
- package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
- package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts +7 -7
- package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +4 -3
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts +14 -0
- package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts.map +1 -0
- package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
- package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +0 -30
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +3 -3
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +10 -7
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/feature-record.module.d.ts +13 -11
- package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +14 -20
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +5 -3
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
- package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts +1 -1
- package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts.map +1 -1
- package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +9 -10
- package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
- package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -1
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +2 -2
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -7
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +2 -2
- package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
- package/libs/ui/inputs/src/index.d.ts +4 -0
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts +24 -0
- package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +0 -1
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -26
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +2 -0
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +2 -2
- package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +1 -1
- package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
- package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
- package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
- package/libs/ui/map/src/index.d.ts +3 -2
- package/libs/ui/map/src/index.d.ts.map +1 -1
- package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +3 -4
- package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
- package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts +37 -0
- package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts.map +1 -0
- package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts +18 -0
- package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts.map +1 -0
- package/libs/ui/map/src/lib/map-utils.d.ts +7 -0
- package/libs/ui/map/src/lib/map-utils.d.ts.map +1 -0
- package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
- package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +3 -3
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/util/app-config/src/index.d.ts +1 -0
- package/libs/util/app-config/src/index.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
- package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/map-layers.d.ts +4 -0
- package/libs/util/app-config/src/lib/map-layers.d.ts.map +1 -0
- package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
- package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts +6 -6
- package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
- package/libs/util/shared/src/lib/services/theme.service.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
- package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
- package/package.json +5 -3
- package/src/libs/api/metadata-converter/src/index.ts +3 -0
- package/src/libs/api/metadata-converter/src/lib/common/license.ts +66 -0
- package/src/libs/api/metadata-converter/src/lib/common/url.ts +15 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +378 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/index.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.ts +17 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +370 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.ts +95 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/individual-name.ts +20 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/keyword.mapper.ts +16 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/role.mapper.ts +48 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.ts +97 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/status.mapper.ts +19 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/update-frequency.mapper.ts +67 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.ts +68 -0
- package/src/libs/api/metadata-converter/src/lib/find-converter.ts +13 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/eu.dcat-ap.records.ts +272 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/opendataswiss.records.ts +110 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/sextant.records.ts +85 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/vlaanderen.dcat-ap.records.ts +73 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +18 -16
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +5 -6
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +12 -4
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +21 -43
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +5 -14
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +13 -15
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +133 -156
- package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +37 -2
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +132 -68
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +47 -3
- package/src/libs/common/domain/src/lib/model/record/contact.model.ts +1 -1
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +7 -7
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +26 -0
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +10 -0
- package/src/libs/common/fixtures/src/index.ts +4 -1
- package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +37 -37
- package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
- package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
- package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1 -3
- package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
- package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
- package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
- package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
- package/src/libs/common/fixtures/src/lib/elasticsearch/{search-responses.ts → search-responses.fixtures.ts} +4 -6
- package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
- package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
- package/src/libs/common/fixtures/src/lib/individual.fixtures.ts +61 -0
- package/src/libs/common/fixtures/src/lib/link.fixtures.ts +233 -164
- package/src/libs/common/fixtures/src/lib/map/index.ts +1 -0
- package/src/libs/common/fixtures/src/lib/map/map-context.fixtures.ts +53 -0
- package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
- package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +35 -11
- package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +9 -9
- package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
- package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
- package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
- package/src/libs/common/fixtures/src/lib/user.fixtures.ts +45 -15
- package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
- package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
- package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +5 -1
- package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -3
- package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +6 -2
- package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
- package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.html +5 -2
- package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +38 -78
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +6 -6
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -4
- package/src/libs/feature/editor/src/index.ts +1 -0
- package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +11 -4
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +12 -24
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +1 -13
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +47 -0
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +132 -0
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +35 -0
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +79 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.html +40 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +170 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +13 -23
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +11 -50
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-resource-updated/form-field-resource-updated.component.ts → form-field-date-updated/form-field-date-updated.component.ts} +4 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +3 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +35 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css +8 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +1 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +41 -83
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +34 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +182 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +11 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +93 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +13 -6
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +0 -9
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +7 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +62 -6
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +23 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +37 -69
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +16 -14
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +34 -20
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +12 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +31 -29
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -1
- package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +2 -6
- package/src/libs/feature/editor/src/lib/fields.config.ts +45 -6
- package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +12 -0
- package/src/libs/feature/editor/src/lib/services/editor.service.ts +7 -3
- package/src/libs/feature/map/src/index.ts +1 -8
- package/src/libs/feature/map/src/lib/+state/map.actions.ts +10 -25
- package/src/libs/feature/map/src/lib/+state/map.facade.ts +11 -15
- package/src/libs/feature/map/src/lib/+state/map.reducer.ts +16 -53
- package/src/libs/feature/map/src/lib/+state/map.selectors.ts +7 -2
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +18 -21
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +17 -11
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +11 -12
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +12 -10
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +11 -9
- package/src/libs/feature/map/src/lib/constant/index.ts +0 -1
- package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -26
- package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +38 -20
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +2 -2
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +15 -5
- package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.html +4 -0
- package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.ts +29 -0
- package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
- package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +1 -229
- package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -3
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +29 -20
- package/src/libs/feature/record/src/lib/feature-record.module.ts +11 -3
- package/src/libs/feature/record/src/lib/map-view/map-view.component.html +4 -4
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +45 -72
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +5 -1
- package/src/libs/feature/router/src/lib/default/state/router.facade.ts +1 -1
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +5 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +14 -3
- package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
- package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +8 -1
- package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +0 -3
- package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
- package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
- package/src/libs/ui/elements/src/index.ts +1 -1
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +7 -7
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -3
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +13 -20
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -1
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +5 -0
- package/src/libs/ui/inputs/src/index.ts +4 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +25 -18
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +38 -24
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +4 -1
- package/src/libs/ui/inputs/src/lib/badge/badge.component.html +11 -3
- package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +2 -1
- package/src/libs/ui/inputs/src/lib/button/button.component.ts +15 -1
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +7 -2
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +14 -6
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +7 -1
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.css +7 -2
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +28 -23
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +7 -1
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +4 -0
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +7 -3
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +2 -1
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +4 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +30 -22
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +2 -1
- package/src/libs/ui/inputs/src/lib/search-input/search-input.component.ts +5 -1
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +4 -3
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +0 -1
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +1 -2
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +1 -1
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +1 -1
- package/src/libs/ui/layout/src/index.ts +2 -0
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +8 -3
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +4 -3
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +1 -1
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +2 -2
- package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
- package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
- package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
- package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.ts +13 -16
- package/src/libs/ui/map/src/index.ts +3 -2
- package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +1 -1
- package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +8 -5
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.css +0 -0
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +203 -0
- package/src/libs/ui/map/src/lib/components/map-container/map-settings.token.ts +23 -0
- package/src/libs/ui/map/src/lib/map-utils.ts +54 -0
- package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +20 -9
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +5 -6
- package/src/libs/util/app-config/src/index.ts +1 -0
- package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
- package/src/libs/util/app-config/src/lib/map-layers.ts +31 -0
- package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +4 -3
- package/src/libs/util/shared/src/lib/links/link-utils.ts +6 -6
- package/src/libs/util/shared/src/lib/services/theme.service.ts +1 -0
- package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
- package/tailwind.base.config.js +1 -0
- package/tailwind.base.css +38 -6
- package/translations/de.json +28 -2
- package/translations/en.json +59 -33
- package/translations/es.json +26 -0
- package/translations/fr.json +90 -64
- package/translations/it.json +28 -2
- package/translations/nl.json +26 -0
- package/translations/pt.json +26 -0
- package/translations/sk.json +26 -0
- package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +0 -96
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +0 -19
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.mjs +0 -17
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.mjs +0 -17
- package/esm2022/libs/feature/map/src/lib/+state/map.effects.mjs +0 -15
- package/esm2022/libs/feature/map/src/lib/+state/map.models.mjs +0 -2
- package/esm2022/libs/feature/map/src/lib/constant/map-options.mjs +0 -8
- package/esm2022/libs/feature/map/src/lib/constant/style.constant.mjs +0 -17
- package/esm2022/libs/feature/map/src/lib/feature-info/feature-info.service.mjs +0 -38
- package/esm2022/libs/feature/map/src/lib/manager/map-instance.directive.mjs +0 -19
- package/esm2022/libs/feature/map/src/lib/manager/map-manager.service.mjs +0 -19
- package/esm2022/libs/feature/map/src/lib/map-container/map-container.component.mjs +0 -27
- package/esm2022/libs/feature/map/src/lib/map-context/component/map-context.component.mjs +0 -46
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +0 -10
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +0 -289
- package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -39
- package/esm2022/libs/ui/map/src/lib/components/map/map.component.mjs +0 -40
- package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +0 -33
- package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +0 -27
- package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +0 -9
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts +0 -8
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts +0 -8
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts.map +0 -1
- package/libs/feature/map/src/lib/+state/map.effects.d.ts +0 -9
- package/libs/feature/map/src/lib/+state/map.effects.d.ts.map +0 -1
- package/libs/feature/map/src/lib/+state/map.models.d.ts +0 -9
- package/libs/feature/map/src/lib/+state/map.models.d.ts.map +0 -1
- package/libs/feature/map/src/lib/constant/map-options.d.ts +0 -9
- package/libs/feature/map/src/lib/constant/map-options.d.ts.map +0 -1
- package/libs/feature/map/src/lib/constant/style.constant.d.ts +0 -4
- package/libs/feature/map/src/lib/constant/style.constant.d.ts.map +0 -1
- package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts +0 -16
- package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts.map +0 -1
- package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts +0 -9
- package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts.map +0 -1
- package/libs/feature/map/src/lib/manager/map-manager.service.d.ts +0 -11
- package/libs/feature/map/src/lib/manager/map-manager.service.d.ts.map +0 -1
- package/libs/feature/map/src/lib/map-container/map-container.component.d.ts +0 -12
- package/libs/feature/map/src/lib/map-container/map-container.component.d.ts.map +0 -1
- package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts +0 -26
- package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts.map +0 -1
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +0 -77
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +0 -1
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +0 -26
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -17
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +0 -1
- package/libs/ui/map/src/lib/components/map/map.component.d.ts +0 -19
- package/libs/ui/map/src/lib/components/map/map.component.d.ts.map +0 -1
- package/libs/ui/map/src/lib/ui-map.module.d.ts +0 -13
- package/libs/ui/map/src/lib/ui-map.module.d.ts.map +0 -1
- package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
- package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
- package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -9
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -113
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.html +0 -7
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.ts +0 -16
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.html +0 -13
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.ts +0 -16
- package/src/libs/feature/map/src/lib/+state/map.effects.ts +0 -7
- package/src/libs/feature/map/src/lib/+state/map.models.ts +0 -9
- package/src/libs/feature/map/src/lib/constant/map-options.ts +0 -17
- package/src/libs/feature/map/src/lib/feature-info/feature-info.service.ts +0 -42
- package/src/libs/feature/map/src/lib/manager/map-instance.directive.ts +0 -10
- package/src/libs/feature/map/src/lib/manager/map-manager.service.ts +0 -13
- package/src/libs/feature/map/src/lib/map-container/map-container.component.html +0 -1
- package/src/libs/feature/map/src/lib/map-container/map-container.component.ts +0 -26
- package/src/libs/feature/map/src/lib/map-context/component/map-context.component.html +0 -1
- package/src/libs/feature/map/src/lib/map-context/component/map-context.component.ts +0 -57
- package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +0 -51
- package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +0 -95
- package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +0 -318
- package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -29
- package/src/libs/ui/map/src/lib/components/map/map.component.ts +0 -57
- package/src/libs/ui/map/src/lib/ui-map.module.ts +0 -19
- /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → import-record/import-record.component.css} +0 -0
- /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css → online-resource-card/online-resource-card.component.css} +0 -0
- /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.css → form-field-contacts/form-field-contacts.component.css} +0 -0
- /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.css → form-field-date-updated/form-field-date-updated.component.css} +0 -0
- /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-resource-updated/form-field-resource-updated.component.html → form-field-date-updated/form-field-date-updated.component.html} +0 -0
- /package/src/libs/feature/{map/src/lib/map-container/map-container.component.css → editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.css} +0 -0
- /package/src/libs/feature/map/src/lib/{map-context/component/map-context.component.css → map-state-container/map-state-container.component.css} +0 -0
- /package/src/libs/ui/{map/src/lib/components/map/map.component.css → layout/src/lib/modal-dialog/modal-dialog.component.css} +0 -0
- /package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +0 -0
- /package/src/libs/ui/map/src/lib/components/{map/map.component.html → map-container/map-container.component.html} +0 -0
|
@@ -2,4 +2,7 @@ export * from './lib/iso19139';
|
|
|
2
2
|
export * from './lib/iso19115-3';
|
|
3
3
|
export * from './lib/find-converter';
|
|
4
4
|
export * from './lib/gn4';
|
|
5
|
+
export * from './lib/dcat-ap';
|
|
6
|
+
export * from './lib/xml-utils';
|
|
7
|
+
export * from './lib/base.converter';
|
|
5
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/api/metadata-converter/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/api/metadata-converter/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/common/license.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2DAA2D,CAAA;AAEtF,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CA+D9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/common/url.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,GAAG,EAAE,MAAM,EACX,QAAQ,GAAE,MAAmC,GAC5C,GAAG,GAAG,IAAI,CAMZ"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CatalogRecord, CatalogRecordKeys } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
|
+
import { BaseConverter, MetadataMapperContext } from '../base.converter';
|
|
3
|
+
import { NamedNode, Store } from 'rdflib';
|
|
4
|
+
import type { ContentType } from 'rdflib/lib/types';
|
|
5
|
+
export declare class DcatApConverter extends BaseConverter<string> {
|
|
6
|
+
private contentType;
|
|
7
|
+
protected readers: Record<CatalogRecordKeys, (dataStore: Store, catalogRecord: NamedNode) => unknown>;
|
|
8
|
+
protected writers: Record<CatalogRecordKeys, (record: CatalogRecord, dataStore: Store, catalogRecord: NamedNode) => void>;
|
|
9
|
+
constructor(contentType?: ContentType, ctx?: MetadataMapperContext);
|
|
10
|
+
readRecord(document: string): Promise<CatalogRecord>;
|
|
11
|
+
writeRecord(record: CatalogRecord, reference?: string): Promise<string>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=dcat-ap.converter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dcat-ap.converter.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EAGlB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAqBxE,OAAO,EAAS,SAAS,EAAa,KAAK,EAAO,MAAM,QAAQ,CAAA;AAGhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAInD,qBAAa,eAAgB,SAAQ,aAAa,CAAC,MAAM,CAAC;IA4EtD,OAAO,CAAC,WAAW;IA3ErB,SAAS,CAAC,OAAO,EAAE,MAAM,CACvB,iBAAiB,EACjB,CAAC,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,SAAS,KAAK,OAAO,CACxD,CAgCA;IAED,SAAS,CAAC,OAAO,EAAE,MAAM,CACvB,iBAAiB,EACjB,CAAC,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,SAAS,KAAK,IAAI,CAC5E,CAgCA;gBAGS,WAAW,GAAE,WAAmC,EACxD,GAAG,GAAE,qBAAmD;IAKpD,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IA4JpD,WAAW,CACf,MAAM,EAAE,aAAa,EACrB,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,CAAC;CAsGnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/dcat-ap/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const RDF: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
2
|
+
export declare const RDFS: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
3
|
+
export declare const FOAF: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
4
|
+
export declare const XSD: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
5
|
+
export declare const DCAT: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
6
|
+
export declare const DCTERMS: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
7
|
+
export declare const SKOS: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
8
|
+
export declare const SCHEMA_ORG: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
9
|
+
export declare const SPDX: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
10
|
+
export declare const ADMS: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
11
|
+
export declare const DQV: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
12
|
+
export declare const OWL: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
13
|
+
export declare const VCARD: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
14
|
+
export declare const TIME: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
15
|
+
export declare const LOCN: (ln: string) => import("rdflib/lib/tf-types").NamedNode;
|
|
16
|
+
//# sourceMappingURL=namespaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG,yDAA2D,CAAA;AAC3E,eAAO,MAAM,IAAI,yDAAqD,CAAA;AACtE,eAAO,MAAM,IAAI,yDAA0C,CAAA;AAC3D,eAAO,MAAM,GAAG,yDAAiD,CAAA;AACjE,eAAO,MAAM,IAAI,yDAA0C,CAAA;AAC3D,eAAO,MAAM,OAAO,yDAAyC,CAAA;AAC7D,eAAO,MAAM,IAAI,yDAAoD,CAAA;AACrE,eAAO,MAAM,UAAU,yDAAkC,CAAA;AACzD,eAAO,MAAM,IAAI,yDAA4C,CAAA;AAC7D,eAAO,MAAM,IAAI,yDAA0C,CAAA;AAC3D,eAAO,MAAM,GAAG,yDAAyC,CAAA;AACzD,eAAO,MAAM,GAAG,yDAA8C,CAAA;AAC9D,eAAO,MAAM,KAAK,yDAAgD,CAAA;AAClE,eAAO,MAAM,IAAI,yDAA4C,CAAA;AAC7D,eAAO,MAAM,IAAI,yDAA0C,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NamedNode, Store } from 'rdflib';
|
|
2
|
+
import { DatasetSpatialExtent, Individual, Keyword, OnlineResource, Organization } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
export declare function readUniqueIdentifier(dataStore: Store, recordNode: NamedNode): string;
|
|
4
|
+
export declare function readTitle(dataStore: Store, recordNode: NamedNode): string;
|
|
5
|
+
export declare function readAbstract(dataStore: Store, recordNode: NamedNode): string;
|
|
6
|
+
export declare function readContacts(dataStore: Store, recordNode: NamedNode): Individual[];
|
|
7
|
+
export declare function readContactsForResource(dataStore: Store, recordNode: NamedNode): Individual[];
|
|
8
|
+
export declare function readLandingPage(dataStore: Store, recordNode: NamedNode): URL;
|
|
9
|
+
export declare function mapOnlineResource(dataStore: Store, distributionNode: NamedNode): OnlineResource;
|
|
10
|
+
export declare function readOnlineResources(dataStore: Store, recordNode: NamedNode): OnlineResource[];
|
|
11
|
+
export declare function readSpatialExtents(dataStore: Store, recordNode: NamedNode): DatasetSpatialExtent[];
|
|
12
|
+
export declare function readKeywords(dataStore: Store, recordNode: NamedNode): Keyword[];
|
|
13
|
+
export declare function readTopics(dataStore: Store, recordNode: NamedNode): string[];
|
|
14
|
+
export declare function readRecordCreated(dataStore: Store, recordNode: NamedNode): Date;
|
|
15
|
+
export declare function readRecordUpdated(dataStore: Store, recordNode: NamedNode): Date;
|
|
16
|
+
export declare function readResourceCreated(dataStore: Store, recordNode: NamedNode): Date;
|
|
17
|
+
export declare function readResourceUpdated(dataStore: Store, recordNode: NamedNode): Date;
|
|
18
|
+
export declare function readOwnerOrganization(dataStore: Store): Organization;
|
|
19
|
+
export declare function readLicenses(dataStore: Store, recordNode: NamedNode): import("../../../../../common/domain/src/lib/model/record/metadata.model").Constraint[];
|
|
20
|
+
//# sourceMappingURL=read-parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAa,KAAK,EAAE,MAAM,QAAQ,CAAA;AAGpD,OAAO,EAGL,oBAAoB,EACpB,UAAU,EACV,OAAO,EAEP,cAAc,EACd,YAAY,EACb,MAAM,2DAA2D,CAAA;AAWlE,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,MAAM,CAER;AAED,wBAAgB,SAAS,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,GAAG,MAAM,CAIzE;AAED,wBAAgB,YAAY,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,GAAG,MAAM,CAS5E;AA8BD,wBAAgB,YAAY,CAC1B,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,UAAU,EAAE,CAOd;AAED,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,UAAU,EAAE,CAQd;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,GAAG,GAAG,CAI5E;AA2FD,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,KAAK,EAChB,gBAAgB,EAAE,SAAS,GAC1B,cAAc,CAgBhB;AAED,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,cAAc,EAAE,CAUlB;AAED,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,oBAAoB,EAAE,CAuBxB;AAED,wBAAgB,YAAY,CAC1B,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,OAAO,EAAE,CAaX;AAED,wBAAgB,UAAU,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,GAAG,MAAM,EAAE,CAW5E;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,IAAI,CAIN;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,IAAI,CAIN;AAED,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,IAAI,CAKN;AAED,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,GACpB,IAAI,CAKN;AAED,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,KAAK,GAAG,YAAY,CAapE;AAED,wBAAgB,YAAY,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,2FA0BnE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Node, Statement, Store } from 'rdflib';
|
|
2
|
+
import { Quad_Object, Quad_Predicate, Quad_Subject } from 'rdflib/lib/tf-types';
|
|
3
|
+
import { ContentType } from 'rdflib/lib/types';
|
|
4
|
+
export declare function findNodeLocalized(dataStore: Store, subject: Quad_Subject, predicate: Quad_Predicate, object: Quad_Object, language: string): Node | null;
|
|
5
|
+
export declare function getOrAddStatement(dataStore: Store, subject: Quad_Subject, predicate: Quad_Predicate, object: Quad_Object | string): Statement;
|
|
6
|
+
export declare function getOrAddLiteral(dataStore: Store, subject: Quad_Subject, predicate: Quad_Predicate, objectValue: string): Statement<import("rdflib/lib/types").SubjectType, import("rdflib/lib/types").PredicateType, import("rdflib/lib/types").ObjectType, import("rdflib/lib/types").GraphType>;
|
|
7
|
+
export declare function getOrAddLocalizedLiteral(dataStore: Store, subject: Quad_Subject, predicate: Quad_Predicate, objectValue: string, language: string): Statement<import("rdflib/lib/types").SubjectType, import("rdflib/lib/types").PredicateType, import("rdflib/lib/types").ObjectType, import("rdflib/lib/types").GraphType>;
|
|
8
|
+
export declare function loadGraph(dataStore: Store, document: string, contentType: ContentType, base?: string): Promise<unknown>;
|
|
9
|
+
//# sourceMappingURL=graph-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,IAAI,EAAS,SAAS,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AACpE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAG9C,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,KAAK,EAChB,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,cAAc,EACzB,MAAM,EAAE,WAAW,EACnB,QAAQ,EAAE,MAAM,GACf,IAAI,GAAG,IAAI,CAUb;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,KAAK,EAChB,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,cAAc,EACzB,MAAM,EAAE,WAAW,GAAG,MAAM,GAC3B,SAAS,CAUX;AAED,wBAAgB,eAAe,CAC7B,SAAS,EAAE,KAAK,EAChB,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,cAAc,EACzB,WAAW,EAAE,MAAM,4KASpB;AAED,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,KAAK,EAChB,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,cAAc,EACzB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,4KAuBjB;AAED,wBAAgB,SAAS,CACvB,SAAS,EAAE,KAAK,EAChB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,WAAW,EACxB,IAAI,SAAW,oBAKhB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Store } from 'rdflib';
|
|
2
|
+
/**
|
|
3
|
+
* This will output an XML document serialized as string, tailored in a way that it
|
|
4
|
+
* can be understood and indexed by GN4 dcat-ap plugin
|
|
5
|
+
* @param dataStore
|
|
6
|
+
*/
|
|
7
|
+
export declare function exportGraphToXml(dataStore: Store): string;
|
|
8
|
+
//# sourceMappingURL=serialize-to-xml.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serialize-to-xml.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,EAAO,MAAM,QAAQ,CAAA;AAsE7E;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,KAAK,GAAG,MAAM,CAqBzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
|
+
import { NamedNode, Store } from 'rdflib';
|
|
3
|
+
export declare function writeUniqueIdentifier(record: CatalogRecord, dataStore: Store, recordNode: NamedNode): void;
|
|
4
|
+
export declare function writeTitle(record: CatalogRecord, dataStore: Store, recordNode: NamedNode): void;
|
|
5
|
+
export declare function writeAbstract(record: CatalogRecord, dataStore: Store, recordNode: NamedNode): void;
|
|
6
|
+
//# sourceMappingURL=write-parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"write-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,SAAS,EAAE,KAAK,EAAO,MAAM,QAAQ,CAAA;AAuB9C,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,aAAa,EACrB,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,QAQtB;AAED,wBAAgB,UAAU,CACxB,MAAM,EAAE,aAAa,EACrB,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,QAWtB;AAED,wBAAgB,aAAa,CAC3B,MAAM,EAAE,aAAa,EACrB,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,SAAS,QAWtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-converter.d.ts","sourceRoot":"","sources":["../../../../../src/libs/api/metadata-converter/src/lib/find-converter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"find-converter.d.ts","sourceRoot":"","sources":["../../../../../src/libs/api/metadata-converter/src/lib/find-converter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIhD,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,GACf,aAAa,CAAC,MAAM,CAAC,CAqBvB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SourceWithUnknownProps } from './atomic-operations';
|
|
2
2
|
import { MetadataUrlService } from './metadata-url.service';
|
|
3
|
-
import { CatalogRecord,
|
|
3
|
+
import { CatalogRecord, OnlineResource, OnlineResourceType } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
4
|
import { LangService } from '../../../../../../libs/util/i18n/src';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
type ESResponseSource = SourceWithUnknownProps;
|
|
@@ -14,8 +14,8 @@ export declare class Gn4FieldMapper {
|
|
|
14
14
|
private genericField;
|
|
15
15
|
private constraintField;
|
|
16
16
|
getMappingFn(fieldName: string): EsFieldMapperFn | ((output: any) => any);
|
|
17
|
-
getLinkType(url: string, protocol?: string):
|
|
18
|
-
mapLink: (sourceLink: SourceWithUnknownProps) =>
|
|
17
|
+
getLinkType(url: string, protocol?: string): OnlineResourceType;
|
|
18
|
+
mapLink: (sourceLink: SourceWithUnknownProps) => OnlineResource | null;
|
|
19
19
|
private addExtra;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4FieldMapper, never>;
|
|
21
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4FieldMapper>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4.field.mapper.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAYL,sBAAsB,EAEvB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAI3D,OAAO,EACL,aAAa,
|
|
1
|
+
{"version":3,"file":"gn4.field.mapper.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAYL,sBAAsB,EAEvB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAI3D,OAAO,EACL,aAAa,EAGb,cAAc,EACd,kBAAkB,EACnB,MAAM,2DAA2D,CAAA;AAGlE,OAAO,EAAsB,WAAW,EAAE,MAAM,sCAAsC,CAAA;;AAEtF,KAAK,gBAAgB,GAAG,sBAAsB,CAAA;AAE9C,KAAK,eAAe,GAAG,CACrB,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,EAC9B,MAAM,EAAE,gBAAgB,KACrB,OAAO,CAAC,aAAa,CAAC,CAAA;AAE3B,qBAGa,cAAc;IAEvB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,WAAW;gBADX,kBAAkB,EAAE,kBAAkB,EACtC,WAAW,EAAE,WAAW;IAGlC,OAAO,CAAC,KAAK,CAA0B;IAEvC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAyRhD;IAED,OAAO,CAAC,YAAY,CAAqB;IAEzC,OAAO,CAAC,eAAe,CA+CtB;IAED,YAAY,CAAC,SAAS,EAAE,MAAM;IAI9B,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,kBAAkB;IAmB/D,OAAO,eAAgB,sBAAsB,KAAG,cAAc,GAAG,IAAI,CAkEpE;IAED,OAAO,CAAC,QAAQ,CAGd;yCApbS,cAAc;6CAAd,cAAc;CAqb1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iso19115-3.converter.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"iso19115-3.converter.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAiC/C,qBAAa,kBAAmB,SAAQ,iBAAiB;;IAkCvD,sBAAsB,CAAC,MAAM,EAAE,UAAU;IA6FnC,WAAW,CACf,MAAM,EAAE,aAAa,EACrB,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,CAAC;CASnB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { XmlElement } from '../xml-utils';
|
|
2
2
|
import { ChainableFunction } from '../function-utils';
|
|
3
|
-
import {
|
|
3
|
+
import { Individual, OnlineResource, Organization, RecordKind, Role } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
4
|
export declare function readKind(rootEl: XmlElement): RecordKind;
|
|
5
5
|
export declare function findDistribution(): ChainableFunction<XmlElement, XmlElement>;
|
|
6
6
|
export declare function extractOrganization(): ChainableFunction<XmlElement, Organization>;
|
|
@@ -16,5 +16,5 @@ export declare function readLineage(rootEl: XmlElement): string;
|
|
|
16
16
|
export declare function readRecordUpdated(rootEl: XmlElement): Date;
|
|
17
17
|
export declare function readRecordCreated(rootEl: XmlElement): Date;
|
|
18
18
|
export declare function readRecordPublished(rootEl: XmlElement): Date;
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function readOnlineResources(rootEl: XmlElement): OnlineResource[];
|
|
20
20
|
//# sourceMappingURL=read-parts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,UAAU,EACX,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,iBAAiB,EAQlB,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"read-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,UAAU,EACX,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,iBAAiB,EAQlB,MAAM,mBAAmB,CAAA;AAU1B,OAAO,EACL,UAAU,EACV,cAAc,EACd,YAAY,EACZ,UAAU,EACV,IAAI,EACL,MAAM,2DAA2D,CAAA;AAIlE,wBAAgB,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAcvD;AAED,wBAAgB,gBAAgB,8CAE/B;AAGD,wBAAgB,mBAAmB,IAAI,iBAAiB,CACtD,UAAU,EACV,YAAY,CACb,CAsBA;AAGD,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,IAAI,EACV,YAAY,CAAC,EAAE,YAAY,EAC3B,UAAU,CAAC,EAAE,UAAU,GACtB,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAsE3C;AAGD,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,IAAI,GACT,iBAAiB,CAAC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAsBlD;AAGD,wBAAgB,kBAAkB,IAAI,iBAAiB,CACrD,UAAU,EACV,KAAK,CAAC,UAAU,CAAC,CAClB,CAeA;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAS/D;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,UAAU,GAAG,YAAY,CAMtE;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,EAAE,CAM7D;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,EAAE,CAsBrE;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,GAAG,CASvD;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAKtD;AAoBD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAE1D;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAE1D;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAE5D;AAeD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,GAAG,cAAc,EAAE,CAaxE"}
|
|
@@ -8,7 +8,6 @@ export declare function writeRecordPublished(record: CatalogRecord, rootEl: XmlE
|
|
|
8
8
|
export declare function writeResourceUpdated(record: CatalogRecord, rootEl: XmlElement): void;
|
|
9
9
|
export declare function writeResourceCreated(record: CatalogRecord, rootEl: XmlElement): void;
|
|
10
10
|
export declare function writeResourcePublished(record: CatalogRecord, rootEl: XmlElement): void;
|
|
11
|
-
export declare function writeOwnerOrganization(record: CatalogRecord, rootEl: XmlElement): void;
|
|
12
11
|
export declare function appendResponsibleParty(contact: Individual): import("../function-utils").ChainableFunction<XmlElement, XmlElement>;
|
|
13
12
|
export declare function writeContacts(record: CatalogRecord, rootEl: XmlElement): void;
|
|
14
13
|
export declare function writeContactsForResource(record: CatalogRecord, rootEl: XmlElement): void;
|
|
@@ -17,5 +16,5 @@ export declare function writeLandingPage(record: DatasetRecord, rootEl: XmlEleme
|
|
|
17
16
|
export declare function writeLineage(record: DatasetRecord, rootEl: XmlElement): void;
|
|
18
17
|
export declare function writeStatus(record: DatasetRecord, rootEl: XmlElement): void;
|
|
19
18
|
export declare function writeSpatialRepresentation(record: DatasetRecord, rootEl: XmlElement): void;
|
|
20
|
-
export declare function
|
|
19
|
+
export declare function writeOnlineResources(record: CatalogRecord, rootEl: XmlElement): void;
|
|
21
20
|
//# sourceMappingURL=write-parts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,aAAa,EACb,UAAU,
|
|
1
|
+
{"version":3,"file":"write-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,aAAa,EACb,UAAU,EACX,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAiBL,UAAU,EACX,MAAM,cAAc,CAAA;AA2BrB,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAQnB;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAelE;AA0CD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAG3E;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAI3E;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAKnB;AAkDD,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAKnB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAKnB;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAKnB;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,UAAU,yEAiGzD;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAStE;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAmCnB;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAMtE;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QASzE;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QASrE;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAYpE;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAenB;AA2CD,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAqBnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iso19139.converter.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EAGlB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"iso19139.converter.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EAGlB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AA+DjD,qBAAa,iBAAkB,SAAQ,aAAa,CAAC,MAAM,CAAC;IAC1D,SAAS,CAAC,OAAO,EAAE,MAAM,CACvB,iBAAiB,EACjB,CAAC,MAAM,EAAE,UAAU,KAAK,OAAO,CAChC,CAgCA;IAED,SAAS,CAAC,OAAO,EAAE,MAAM,CACvB,iBAAiB,EACjB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,KAAK,IAAI,CACpD,CAgCA;IAED,SAAS,CAAC,sBAAsB,CAAC,WAAW,EAAE,UAAU;IAIlD,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAgGpD,WAAW,CACf,MAAM,EAAE,aAAa,EACrB,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,CAAC;CA6EnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Constraint,
|
|
1
|
+
import { Constraint, DatasetOnlineResource, GraphicOverview, Individual, Keyword, OnlineResource, Organization, RecordKind, RecordStatus, Role, ServiceOnlineResource, SpatialRepresentationType, UpdateFrequency, UpdateFrequencyCustom } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
2
|
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
3
3
|
import { Geometry } from 'geojson';
|
|
4
4
|
import { ChainableFunction } from '../function-utils';
|
|
@@ -17,10 +17,10 @@ export declare function extractSecurityConstraints(): ChainableFunction<XmlEleme
|
|
|
17
17
|
export declare function extractOtherConstraints(): ChainableFunction<XmlElement, Array<Constraint>>;
|
|
18
18
|
export declare function extractLicenses(): ChainableFunction<XmlElement, Array<Constraint>>;
|
|
19
19
|
/**
|
|
20
|
-
* Extract
|
|
20
|
+
* Extract online resources from an MD_Distribution element
|
|
21
21
|
* @param getMimeTypeFn This function starts from a gmd:transferOptions element
|
|
22
22
|
*/
|
|
23
|
-
export declare function
|
|
23
|
+
export declare function extractDatasetOnlineResources(getMimeTypeFn: ChainableFunction<XmlElement, string>): ChainableFunction<XmlElement, DatasetOnlineResource[]>;
|
|
24
24
|
export declare function getUpdateFrequencyFromCustomPeriod(isoPeriod: string): UpdateFrequencyCustom;
|
|
25
25
|
export declare function extractUpdateFrequency(): ChainableFunction<XmlElement, UpdateFrequency>;
|
|
26
26
|
/**
|
|
@@ -54,10 +54,9 @@ export declare function readIsoTopics(rootEl: XmlElement): string[];
|
|
|
54
54
|
export declare function readSpatialRepresentation(rootEl: XmlElement): SpatialRepresentationType | null;
|
|
55
55
|
export declare function readOverviews(rootEl: XmlElement): GraphicOverview[];
|
|
56
56
|
export declare function readLineage(rootEl: XmlElement): string;
|
|
57
|
-
export declare function readDistributions(rootEl: XmlElement): DatasetDistribution[];
|
|
58
57
|
export declare function readUpdateFrequency(rootEl: XmlElement): UpdateFrequency;
|
|
59
58
|
export declare function extractServiceOnlineResources(): ChainableFunction<XmlElement, ServiceOnlineResource[]>;
|
|
60
|
-
export declare function readOnlineResources(rootEl: XmlElement):
|
|
59
|
+
export declare function readOnlineResources(rootEl: XmlElement): OnlineResource[];
|
|
61
60
|
export declare function readTemporalExtents(rootEl: XmlElement): {
|
|
62
61
|
start: Date;
|
|
63
62
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"read-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,OAAO,EACP,cAAc,EACd,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAA;AAC7F,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EACL,iBAAiB,EASlB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EASL,UAAU,EACX,MAAM,cAAc,CAAA;AAQrB,wBAAgB,sBAAsB,IAAI,iBAA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,UAAU,GAAG,UAAU,EAAE,CAOrE;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,EAAE,CAMxE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,EAAE,CAMrE;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,EAAE,CAM7D;AAGD,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,EAAE,CAM1D;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,UAAU,GACjB,yBAAyB,GAAG,IAAI,CAUlC;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,eAAe,EAAE,CAenE;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAWtD;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,GAAG,eAAe,CAUvE;AAED,wBAAgB,6BAA6B,IAAI,iBAAiB,CAChE,UAAU,EACV,qBAAqB,EAAE,CACxB,CA8CA;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,GAAG,cAAc,EAAE,CAaxE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU;;IAkDrD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU;;;;IAyDpD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CatalogRecord, Constraint,
|
|
1
|
+
import { CatalogRecord, Constraint, DatasetOnlineResource, DatasetRecord, DatasetServiceDistribution, Keyword, RecordStatus, Role, ServiceEndpoint, ServiceOnlineResource, ServiceRecord, UpdateFrequencyCode, UpdateFrequencyCustom } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
2
|
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
3
3
|
import { ChainableFunction } from '../function-utils';
|
|
4
4
|
import { XmlElement } from '../xml-utils';
|
|
@@ -10,12 +10,9 @@ export declare function writeDate(date: Date): ChainableFunction<XmlElement, Xml
|
|
|
10
10
|
export declare function writeDecimal(decimal: number): ChainableFunction<XmlElement, XmlElement>;
|
|
11
11
|
export declare function getProgressCode(status: RecordStatus): string;
|
|
12
12
|
export declare function getRoleCode(role: Role): string;
|
|
13
|
-
export declare function
|
|
13
|
+
export declare function getServiceDistributionProtocol(distribution: DatasetServiceDistribution): string;
|
|
14
14
|
export declare function getMaintenanceFrequencyCode(updateFrequency: UpdateFrequencyCode): string | null;
|
|
15
15
|
export declare function getISODuration(updateFrequency: UpdateFrequencyCustom): string;
|
|
16
|
-
export declare function appendResponsibleParty(contact: Individual): ChainableFunction<XmlElement, XmlElement>;
|
|
17
|
-
export declare function updateCitationDate(date: Date, type: 'revision' | 'creation' | 'publication'): ChainableFunction<XmlElement, XmlElement>;
|
|
18
|
-
export declare function appendCitationDate(date: Date, type: 'revision' | 'creation' | 'publication'): ChainableFunction<XmlElement, XmlElement>;
|
|
19
16
|
export declare function removeKeywords(): ChainableFunction<XmlElement, XmlElement>;
|
|
20
17
|
export declare function createThesaurus(thesaurus: ThesaurusModel): ChainableFunction<void, XmlElement>;
|
|
21
18
|
export declare function appendKeywords(keywords: Keyword[]): ChainableFunction<XmlElement, XmlElement>;
|
|
@@ -25,9 +22,9 @@ export declare function removeSecurityConstraints(): ChainableFunction<XmlElemen
|
|
|
25
22
|
export declare function removeLegalConstraints(): ChainableFunction<XmlElement, XmlElement>;
|
|
26
23
|
export declare function removeLicenses(): ChainableFunction<XmlElement, XmlElement>;
|
|
27
24
|
export declare function createLicense(license: Constraint): ChainableFunction<void, XmlElement>;
|
|
28
|
-
export declare function
|
|
25
|
+
export declare function removeOnlineResources(): ChainableFunction<XmlElement, XmlElement>;
|
|
29
26
|
export declare function createDistributionInfo(): ChainableFunction<void, XmlElement>;
|
|
30
|
-
export declare function
|
|
27
|
+
export declare function appendOnlineResource(onlineResource: DatasetOnlineResource, appendFormatFn: (mimeType: string) => ChainableFunction<XmlElement, XmlElement>): ChainableFunction<any, XmlElement>;
|
|
31
28
|
/**
|
|
32
29
|
* Looks for srv:SV_ServiceIdentification or gmd:MD_DataIdentification element
|
|
33
30
|
* depending on record type, create if missing
|
|
@@ -36,8 +33,6 @@ export declare function findOrCreateIdentification(): (rootEl: XmlElement) => Xm
|
|
|
36
33
|
export declare function findOrCreateDistribution(): (rootEl: XmlElement) => XmlElement;
|
|
37
34
|
export declare function writeUniqueIdentifier(record: CatalogRecord, rootEl: XmlElement): void;
|
|
38
35
|
export declare function writeKind(record: CatalogRecord, rootEl: XmlElement): void;
|
|
39
|
-
export declare function writeOwnerOrganization(record: CatalogRecord, rootEl: XmlElement): void;
|
|
40
|
-
export declare function writeRecordUpdated(record: CatalogRecord, rootEl: XmlElement): void;
|
|
41
36
|
export declare function writeTitle(record: CatalogRecord, rootEl: XmlElement): void;
|
|
42
37
|
export declare function writeAbstract(record: CatalogRecord, rootEl: XmlElement): void;
|
|
43
38
|
export declare function writeStatus(record: DatasetRecord, rootEl: XmlElement): void;
|
|
@@ -50,16 +45,20 @@ export declare function writeLegalConstraints(record: CatalogRecord, rootEl: Xml
|
|
|
50
45
|
export declare function writeSecurityConstraints(record: CatalogRecord, rootEl: XmlElement): void;
|
|
51
46
|
export declare function writeOtherConstraints(record: CatalogRecord, rootEl: XmlElement): void;
|
|
52
47
|
export declare function writeUpdateFrequency(record: DatasetRecord, rootEl: XmlElement): void;
|
|
48
|
+
export declare function writeRecordUpdated(record: CatalogRecord, rootEl: XmlElement): void;
|
|
49
|
+
export declare function removeResourceDate(type: 'revision' | 'creation' | 'publication'): ChainableFunction<XmlElement, XmlElement>;
|
|
50
|
+
export declare function appendResourceDate(date: Date, type: 'revision' | 'creation' | 'publication'): ChainableFunction<XmlElement, XmlElement>;
|
|
53
51
|
export declare function writeResourceCreated(record: DatasetRecord, rootEl: XmlElement): void;
|
|
54
52
|
export declare function writeResourceUpdated(record: DatasetRecord, rootEl: XmlElement): void;
|
|
55
53
|
export declare function writeResourcePublished(record: DatasetRecord, rootEl: XmlElement): void;
|
|
56
54
|
export declare function writeSpatialRepresentation(record: DatasetRecord, rootEl: XmlElement): void;
|
|
57
55
|
export declare function writeGraphicOverviews(record: DatasetRecord, rootEl: XmlElement): void;
|
|
58
|
-
export declare function writeDistributions(record: DatasetRecord, rootEl: XmlElement): void;
|
|
59
56
|
export declare function writeLineage(record: DatasetRecord, rootEl: XmlElement): void;
|
|
60
57
|
export declare function getServiceEndpointProtocol(endpoint: ServiceEndpoint): string;
|
|
61
58
|
export declare function createOnlineResource(onlineResource: ServiceOnlineResource): ChainableFunction<void, XmlElement>;
|
|
62
|
-
export declare function
|
|
59
|
+
export declare function appendDatasetOnlineResources(record: DatasetRecord, rootEl: XmlElement): void;
|
|
60
|
+
export declare function appendServiceOnlineResources(record: ServiceRecord, rootEl: XmlElement): void;
|
|
61
|
+
export declare function writeOnlineResources(record: CatalogRecord, rootEl: XmlElement): void;
|
|
63
62
|
export declare function writeTemporalExtents(record: DatasetRecord, rootEl: XmlElement): void;
|
|
64
63
|
export declare function writeSpatialExtents(record: DatasetRecord, rootEl: XmlElement): void;
|
|
65
64
|
//# sourceMappingURL=write-parts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"write-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,aAAa,EACb,0BAA0B,EAE1B,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,2DAA2D,CAAA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AE,qBAAqB,uCAqDzE;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAUnB;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAGnB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QASnB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAsDnB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAyD5E"}
|
|
@@ -33,6 +33,58 @@ export declare function findParent(parentName: string): ChainableFunction<XmlEle
|
|
|
33
33
|
export declare function readText(): ChainableFunction<XmlElement, string>;
|
|
34
34
|
export declare function readAttribute(attrName: string): ChainableFunction<XmlElement, string>;
|
|
35
35
|
export declare function xmlToString(el: XmlElement | XmlText | XmlComment | XmlDocument, indentationLevel?: number): any;
|
|
36
|
+
export declare const NAMESPACES: {
|
|
37
|
+
gmd: string;
|
|
38
|
+
gco: string;
|
|
39
|
+
gfc: string;
|
|
40
|
+
gml: string;
|
|
41
|
+
xsi: string;
|
|
42
|
+
srv: string;
|
|
43
|
+
gmx: string;
|
|
44
|
+
gts: string;
|
|
45
|
+
gsr: string;
|
|
46
|
+
gmi: string;
|
|
47
|
+
xlink: string;
|
|
48
|
+
mdb: string;
|
|
49
|
+
mdq: string;
|
|
50
|
+
msr: string;
|
|
51
|
+
mrs: string;
|
|
52
|
+
mmi: string;
|
|
53
|
+
mrl: string;
|
|
54
|
+
mdt: string;
|
|
55
|
+
mrd: string;
|
|
56
|
+
mds: string;
|
|
57
|
+
mpc: string;
|
|
58
|
+
mcc: string;
|
|
59
|
+
mac: string;
|
|
60
|
+
mco: string;
|
|
61
|
+
mda: string;
|
|
62
|
+
mex: string;
|
|
63
|
+
gex: string;
|
|
64
|
+
gcx: string;
|
|
65
|
+
mas: string;
|
|
66
|
+
mri: string;
|
|
67
|
+
cit: string;
|
|
68
|
+
cat: string;
|
|
69
|
+
lan: string;
|
|
70
|
+
mrc: string;
|
|
71
|
+
rdf: string;
|
|
72
|
+
rdfs: string;
|
|
73
|
+
foaf: string;
|
|
74
|
+
xsd: string;
|
|
75
|
+
dcat: string;
|
|
76
|
+
dct: string;
|
|
77
|
+
skos: string;
|
|
78
|
+
schema_org: string;
|
|
79
|
+
spdx: string;
|
|
80
|
+
adms: string;
|
|
81
|
+
dqv: string;
|
|
82
|
+
owl: string;
|
|
83
|
+
vcard: string;
|
|
84
|
+
time: string;
|
|
85
|
+
locn: string;
|
|
86
|
+
mdcat: string;
|
|
87
|
+
};
|
|
36
88
|
/**
|
|
37
89
|
* @param name Full name with namespace, e.g.: gmd:MD_Metadata
|
|
38
90
|
*/
|
|
@@ -54,4 +106,10 @@ export declare function removeChildren(childrenFn: ChainableFunction<XmlElement,
|
|
|
54
106
|
* @param replaceMap
|
|
55
107
|
*/
|
|
56
108
|
export declare function renameElements(rootElement: XmlElement, replaceMap: Record<string, string>): XmlElement;
|
|
109
|
+
/**
|
|
110
|
+
* This function use the DOMParser to check if the given xmlString is a valid XML file or throw an error
|
|
111
|
+
* (Generated by chatGPT)
|
|
112
|
+
* @param xmlString
|
|
113
|
+
*/
|
|
114
|
+
export declare function assertValidXml(xmlString: string): Document;
|
|
57
115
|
//# sourceMappingURL=xml-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xml-utils.d.ts","sourceRoot":"","sources":["../../../../../src/libs/api/metadata-converter/src/lib/xml-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,WAAW,EACX,UAAU,EACV,OAAO,EACR,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,iBAAiB,EAAY,MAAM,kBAAkB,CAAA;AAE9D,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;A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iB,CAAC,IAAI,EAAE,UAAU,CAAC,GAC9C,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAS3C;AAGD,wBAAgB,WAAW,CACzB,SAAS,EAAE,MAAM,GAChB,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAQ3C;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,GACX,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAE3C;AAED,wBAAgB,uBAAuB,CACrC,GAAG,YAAY,EAAE,MAAM,EAAE,GACxB,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAQ3C;AAED,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,GACX,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAa3C;AAED,wBAAgB,iBAAiB,IAAI,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAO7E;AAGD,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,GACX,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAe3C;AAED,wBAAgB,cAAc,CAC5B,UAAU,EAAE,iBAAiB,CAAC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,GAC3D,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAU3C;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,WAAW,EAAE,UAAU,EACvB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,cAgBnC;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,CAW1D"}
|
|
@@ -6,30 +6,28 @@ import { SearchParams, SearchResults } from '../../../../../../libs/common/domai
|
|
|
6
6
|
import { Aggregations, AggregationsParams, FieldFilters } from '../../../../../../libs/common/domain/src/lib/model/search';
|
|
7
7
|
import { Gn4Converter } from '../../../../../../libs/api/metadata-converter/src';
|
|
8
8
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
9
|
+
import { HttpClient } from '@angular/common/http';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
11
|
+
export type RecordAsXml = string;
|
|
10
12
|
export declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
13
|
+
private httpClient;
|
|
11
14
|
private gn4SearchApi;
|
|
12
15
|
private gn4SearchHelper;
|
|
13
16
|
private gn4Mapper;
|
|
14
17
|
private gn4RecordsApi;
|
|
15
18
|
_draftsChanged: Subject<void>;
|
|
16
19
|
draftsChanged$: Observable<void>;
|
|
17
|
-
constructor(gn4SearchApi: SearchApiService, gn4SearchHelper: ElasticsearchService, gn4Mapper: Gn4Converter, gn4RecordsApi: RecordsApiService);
|
|
20
|
+
constructor(httpClient: HttpClient, gn4SearchApi: SearchApiService, gn4SearchHelper: ElasticsearchService, gn4Mapper: Gn4Converter, gn4RecordsApi: RecordsApiService);
|
|
18
21
|
search({ filters, fields, offset, limit, sort, filterIds, filterGeometry, }: SearchParams): Observable<SearchResults>;
|
|
19
22
|
getMatchesCount(filters: FieldFilters): Observable<number>;
|
|
20
23
|
getRecord(uniqueIdentifier: string): Observable<CatalogRecord | null>;
|
|
21
24
|
getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
|
|
22
25
|
aggregate(params: AggregationsParams): Observable<Aggregations>;
|
|
23
26
|
fuzzySearch(query: string): Observable<SearchResults>;
|
|
24
|
-
/**
|
|
25
|
-
* Returns null if the record is not found
|
|
26
|
-
*/
|
|
27
|
-
private loadRecordAsXml;
|
|
28
|
-
private getLocalStorageKeyForRecord;
|
|
29
27
|
openRecordForEdition(uniqueIdentifier: string): Observable<[CatalogRecord, string, boolean] | null>;
|
|
30
28
|
openRecordForDuplication(uniqueIdentifier: string): Observable<[CatalogRecord, string, false] | null>;
|
|
31
|
-
private serializeRecordToXml;
|
|
32
29
|
saveRecord(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
30
|
+
duplicateExternalRecord(recordDownloadUrl: string): Observable<string>;
|
|
33
31
|
deleteRecord(uniqueIdentifier: string): Observable<void>;
|
|
34
32
|
generateTemporaryId(): string;
|
|
35
33
|
saveRecordAsDraft(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
@@ -37,6 +35,13 @@ export declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
37
35
|
recordHasDraft(uniqueIdentifier: string): boolean;
|
|
38
36
|
isRecordNotYetSaved(uniqueIdentifier: string): boolean;
|
|
39
37
|
getAllDrafts(): Observable<CatalogRecord[]>;
|
|
38
|
+
private getRecordAsXml;
|
|
39
|
+
private serializeRecordToXml;
|
|
40
|
+
private getExternalRecordAsXml;
|
|
41
|
+
private getLocalStorageKeyForRecord;
|
|
42
|
+
private saveRecordToLocalStorage;
|
|
43
|
+
private getRecordFromLocalStorage;
|
|
44
|
+
private removeRecordFromLocalStorage;
|
|
40
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4Repository, never>;
|
|
41
46
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4Repository>;
|
|
42
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,
|
|
1
|
+
{"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAIL,UAAU,EAEV,OAAO,EAGR,MAAM,MAAM,CAAA;AACb,OAAO,EA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