geonetwork-ui 2.4.0-dev.344a92f2 → 2.4.0-dev.3b6b95eb
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/iso19115-3/iso19115-3.converter.mjs +3 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +8 -23
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +3 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +27 -37
- 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 +34 -26
- package/esm2022/libs/common/domain/src/lib/model/record/contact.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/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/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/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 +3 -3
- 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-service-resource-input/online-service-resource-input.component.mjs +72 -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 +9 -8
- 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 +10 -7
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +191 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +5 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +10 -6
- package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +17 -3
- 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 +15 -15
- 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/utils/map-utils.service.mjs +4 -168
- 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/router/src/lib/default/state/router.facade.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +11 -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/inputs/src/index.mjs +2 -1
- package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +2 -2
- 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 +5 -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 +20 -4
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +3 -3
- 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/results-table/results-table.component.mjs +3 -3
- package/esm2022/libs/util/app-config/src/index.mjs +2 -1
- package/esm2022/libs/util/app-config/src/lib/map-layers.mjs +27 -0
- package/esm2022/libs/util/shared/src/lib/utils/index.mjs +2 -1
- package/esm2022/libs/util/shared/src/lib/utils/no-duplicate-file-name.mjs +19 -0
- package/esm2022/translations/de.json +19 -0
- package/esm2022/translations/en.json +51 -32
- package/esm2022/translations/es.json +19 -0
- package/esm2022/translations/fr.json +82 -63
- package/esm2022/translations/it.json +19 -0
- package/esm2022/translations/nl.json +19 -0
- package/esm2022/translations/pt.json +19 -0
- package/fesm2022/geonetwork-ui.mjs +6871 -6029
- 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/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +0 -1
- 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/write-parts.d.ts +4 -6
- 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 +2 -15
- 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/platform.service.interface.d.ts +2 -3
- 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/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/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/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/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-service-resource-input/online-service-resource-input.component.d.ts +16 -0
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.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 +1 -1
- 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-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 +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.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts +44 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-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 +1 -1
- 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.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts +2 -0
- package/libs/feature/editor/src/lib/fields.config.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 +3 -5
- 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/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/external-viewer-button/external-viewer-button.component.d.ts +8 -5
- 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 +13 -19
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +4 -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/elements/src/lib/downloads-list/downloads-list.component.d.ts +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 +1 -0
- package/libs/ui/inputs/src/index.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 +1 -0
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.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/inputs/src/lib/url-input/url-input.component.d.ts +6 -3
- package/libs/ui/inputs/src/lib/url-input/url-input.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/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/results-table/results-table.component.d.ts +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/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/utils/index.d.ts +1 -0
- package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts +2 -0
- package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts.map +1 -0
- 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/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/iso19115-3/iso19115-3.converter.ts +1 -2
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +7 -35
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +1 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +85 -120
- 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 +57 -30
- package/src/libs/common/domain/src/lib/model/record/contact.model.ts +1 -1
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +2 -2
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +10 -0
- package/src/libs/common/fixtures/src/index.ts +3 -0
- package/src/libs/common/fixtures/src/lib/individual.fixtures.ts +61 -0
- 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/user.fixtures.ts +13 -0
- package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +5 -1
- package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +6 -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/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 +1 -1
- 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-service-resource-input/online-service-resource-input.component.html +31 -0
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +82 -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.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +6 -8
- 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 +20 -11
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +9 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.html +71 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +241 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +4 -3
- 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 +15 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +7 -3
- package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +2 -6
- package/src/libs/feature/editor/src/lib/fields.config.ts +18 -2
- 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 +12 -15
- 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.css +0 -0
- 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/utils/map-utils.service.ts +1 -229
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +27 -18
- 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 +44 -71
- package/src/libs/feature/router/src/lib/default/state/router.facade.ts +1 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +4 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +4 -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/inputs/src/index.ts +1 -0
- package/src/libs/ui/inputs/src/lib/badge/badge.component.html +1 -2
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +2 -1
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +2 -1
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +8 -8
- 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.html +1 -1
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +3 -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 +5 -1
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +25 -2
- 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/sortable-list/sortable-list.component.html +1 -1
- 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/results-table/results-table.component.html +18 -14
- package/src/libs/util/app-config/src/index.ts +1 -0
- package/src/libs/util/app-config/src/lib/map-layers.ts +31 -0
- package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
- package/src/libs/util/shared/src/lib/utils/no-duplicate-file-name.ts +23 -0
- package/tailwind.base.css +3 -2
- package/translations/de.json +19 -0
- package/translations/en.json +51 -32
- package/translations/es.json +19 -0
- package/translations/fr.json +82 -63
- package/translations/it.json +19 -0
- package/translations/nl.json +19 -0
- package/translations/pt.json +19 -0
- package/translations/sk.json +19 -0
- 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/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/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/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/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 -55
- 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/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/{map/src/lib/map-container/map-container.component.css → editor/src/lib/components/import-record/import-record.component.css} +0 -0
- /package/src/libs/feature/{map/src/lib/map-context/component/map-context.component.css → editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.css} +0 -0
- /package/src/libs/{ui/map/src/lib/components/map/map.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.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,wB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B,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 +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"}
|
|
@@ -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;
|
|
@@ -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,EACX,MAAM,2DAA2D,CAAA;AAClE,OAAO,
|
|
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 { CatalogRecord, Constraint, DatasetOnlineResource, DatasetRecord, DatasetServiceDistribution,
|
|
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';
|
|
@@ -13,9 +13,6 @@ export declare function getRoleCode(role: Role): string;
|
|
|
13
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>;
|
|
@@ -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,6 +45,9 @@ 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;
|
|
@@ -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,qBAAqB,EACrB,aAAa,EACb,0BAA0B,
|
|
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;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAA;AAG7F,OAAO,EACL,iBAAiB,EAOlB,M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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;AAE3D,qBAAa,aAAc,SAAQ,KAAK;gBAC1B,OAAO,KAAA;CAGpB;AAED;;GAEG;AACH,wBAAgB,c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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,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AACjI,OAAO,EACL,YAAY,EACZ,aAAa,EACd,MAAM,wE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IAAI,CAAC;IAkBtD,wBAAwB,CACtB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC;IAsBpD,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IA+BrB,uBAAuB,CAAC,iBAAiB,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IA0BtE,YAAY,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAIxD,mBAAmB,IAAI,MAAM;IAI7B,iBAAiB,CACf,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IASrB,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI;IAKhD,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAIjD,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAKtD,YAAY,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;IAa3C,OAAO,CAAC,cAAc;IAsBtB,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,sBAAsB;IAsB9B,OAAO,CAAC,2BAA2B;IAInC,OAAO,CAAC,wBAAwB;IAOhC,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,4BAA4B;yCArXzB,aAAa;6CAAb,aAAa;CAwXzB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { MeApiService, RecordsApiService, RegistriesApiService, SiteApiService, ToolsApiService, UserfeedbackApiService, UsersApiService } from '../../../../../../../libs/data-access/gn4/src';
|
|
3
|
-
import { PlatformServiceInterface } from '../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
3
|
+
import { PlatformServiceInterface, UploadEvent } from '../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
4
4
|
import { UserModel } from '../../../../../../../libs/common/domain/src/lib/model/user/user.model';
|
|
5
5
|
import { Keyword, Organization, UserFeedback } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
6
6
|
import { Gn4PlatformMapper } from './gn4-platform.mapper';
|
|
@@ -50,20 +50,7 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
50
50
|
url: URL;
|
|
51
51
|
fileName: string;
|
|
52
52
|
}[]>;
|
|
53
|
-
attachFileToRecord(recordUuid: string, file: File): Observable<
|
|
54
|
-
readonly type: "progress";
|
|
55
|
-
readonly progress: number;
|
|
56
|
-
readonly attachment?: undefined;
|
|
57
|
-
readonly sizeBytes?: undefined;
|
|
58
|
-
} | {
|
|
59
|
-
readonly type: "success";
|
|
60
|
-
readonly attachment: {
|
|
61
|
-
readonly url: URL;
|
|
62
|
-
readonly fileName: string;
|
|
63
|
-
};
|
|
64
|
-
readonly sizeBytes: number;
|
|
65
|
-
readonly progress?: undefined;
|
|
66
|
-
}>;
|
|
53
|
+
attachFileToRecord(recordUuid: string, file: File): Observable<UploadEvent>;
|
|
67
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4PlatformService, never>;
|
|
68
55
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4PlatformService>;
|
|
69
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-platform.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,UAAU,
|
|
1
|
+
{"version":3,"file":"gn4-platform.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,UAAU,EAA6B,MAAM,MAAM,CAAA;AAE3E,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,c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act.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,eAAO,MAAM,UAAU,UAsBtB,CAAA;AAED,eAAO,MAAM,UAAU,qBAyBrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;AAE5C,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"contact.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/contact.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,eAAO,MAAM,UAAU,UAsBtB,CAAA;AAED,eAAO,MAAM,UAAU,qBAyBrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;AAE5C,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -3,11 +3,11 @@ import type { UserModel } from './model/user/user.model';
|
|
|
3
3
|
import type { Organization } from './model/record/organization.model';
|
|
4
4
|
import { Keyword, UserFeedback } from './model/record';
|
|
5
5
|
import { KeywordType } from './model/thesaurus';
|
|
6
|
-
interface RecordAttachment {
|
|
6
|
+
export interface RecordAttachment {
|
|
7
7
|
url: URL;
|
|
8
8
|
fileName: string;
|
|
9
9
|
}
|
|
10
|
-
type UploadEvent = {
|
|
10
|
+
export type UploadEvent = {
|
|
11
11
|
type: 'progress';
|
|
12
12
|
progress: number;
|
|
13
13
|
} | {
|
|
@@ -32,5 +32,4 @@ export declare abstract class PlatformServiceInterface {
|
|
|
32
32
|
abstract getRecordAttachments(recordUuid: string): Observable<RecordAttachment[]>;
|
|
33
33
|
abstract attachFileToRecord(recordUuid: string, file: File): Observable<UploadEvent>;
|
|
34
34
|
}
|
|
35
|
-
export {};
|
|
36
35
|
//# sourceMappingURL=platform.service.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.service.interface.d.ts","sourceRoot":"","sources":["../../../../../src/libs/common/domain/src/lib/platform.service.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,
|
|
1
|
+
{"version":3,"file":"platform.service.interface.d.ts","sourceRoot":"","sources":["../../../../../src/libs/common/domain/src/lib/platform.service.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA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;IACzE,QAAQ,CAAC,iBAAiB,CAAC,UAAU,EAAE,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC;IAEtE,QAAQ,CAAC,oBAAoB,CAC3B,UAAU,EAAE,MAAM,GACjB,UAAU,CAAC,gBAAgB,EAAE,CAAC;IACjC,QAAQ,CAAC,kBAAkB,CACzB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,IAAI,GACT,UAAU,CAAC,WAAW,CAAC;CAC3B"}
|
|
@@ -32,6 +32,13 @@ export declare abstract class RecordsRepositoryInterface {
|
|
|
32
32
|
* @returns Observable<string> Returns the unique identifier of the record as it was when saved
|
|
33
33
|
*/
|
|
34
34
|
abstract saveRecord(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Try to duplicate the external record from given url. If it suceed, then it will save the record as draft and return its temporary id.
|
|
37
|
+
*
|
|
38
|
+
* @param recordDownloadUrl
|
|
39
|
+
* @returns Observable<string>
|
|
40
|
+
*/
|
|
41
|
+
abstract duplicateExternalRecord(recordDownloadUrl: string): Observable<string>;
|
|
35
42
|
/**
|
|
36
43
|
* @param uniqueIdentifier
|
|
37
44
|
* @returns Observable<void> Returns when record is deleted
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records-repository.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/common/domain/src/lib/repository/records-repository.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,aAAa,EACd,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,8BAAsB,0BAA0B;IAC9C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,UAAU,CAAC,aAAa,CAAC;IAChE,QAAQ,CAAC,eAAe,CAAC,OAAO,EAAE,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,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAE/D,uEAAuE;IACvE,QAAQ,CAAC,YAAY,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;IACpD,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,IAAI,CAAC,CAAA;CAC1C"}
|
|
1
|
+
{"version":3,"file":"records-repository.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/common/domain/src/lib/repository/records-repository.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,aAAa,EACd,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,8BAAsB,0BAA0B;IAC9C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,UAAU,CAAC,aAAa,CAAC;IAChE,QAAQ,CAAC,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC;IACnE,QAAQ,CAAC,SAAS,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,aAAa,GAAG,IAAI,CAAC;IAC9E,QAAQ,CAAC,SAAS,CAAC,MAAM,EAAE,kBAAkB,GAAG,UAAU,CAAC,YAAY,CAAC;IACxE,QAAQ,CAAC,iBAAiB,CACxB,SAAS,EAAE,aAAa,GACvB,UAAU,CAAC,aAAa,EAAE,CAAC;IAC9B,QAAQ,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC;IAE9D;;;;;;;OAOG;IACH,QAAQ,CAAC,oBAAoB,CAC3B,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAEtD;;;;;;;OAOG;IACH,QAAQ,CAAC,wBAAwB,CAC/B,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC;IAEpD;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CACjB,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IAErB;;;;;OAKG;IACH,QAAQ,CAAC,uBAAuB,CAC9B,iBAAiB,EAAE,MAAM,GACxB,UAAU,CAAC,MAAM,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAEjE,QAAQ,CAAC,mBAAmB,IAAI,MAAM;IAEtC;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,CACxB,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IAErB,QAAQ,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI;IACzD,QAAQ,CAAC,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAC1D,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAE/D,uEAAuE;IACvE,QAAQ,CAAC,YAAY,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;IACpD,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,IAAI,CAAC,CAAA;CAC1C"}
|
|
@@ -9,10 +9,11 @@ import * as i6 from "@angular/common";
|
|
|
9
9
|
import * as i7 from "../../../../util/i18n/src/lib/util-i18n.module";
|
|
10
10
|
import * as i8 from "@ngx-translate/core";
|
|
11
11
|
import * as i9 from "../../../../ui/elements/src/lib/ui-elements.module";
|
|
12
|
+
import * as i10 from "../../../../ui/catalog/src/lib/organisations-filter/organisations-filter.component";
|
|
12
13
|
export declare const ORGANIZATION_URL_TOKEN: InjectionToken<string>;
|
|
13
14
|
export declare class FeatureCatalogModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureCatalogModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureCatalogModule, [typeof i1.SiteTitleComponent, typeof i2.SourceLabelComponent, typeof i3.OrganisationsComponent], [typeof i4.UiCatalogModule, typeof i5.UiLayoutModule, typeof i6.CommonModule, typeof i7.UtilI18nModule, typeof i8.TranslateModule, typeof i9.UiElementsModule], [typeof i1.SiteTitleComponent, typeof i2.SourceLabelComponent, typeof i3.OrganisationsComponent]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureCatalogModule, [typeof i1.SiteTitleComponent, typeof i2.SourceLabelComponent, typeof i3.OrganisationsComponent], [typeof i4.UiCatalogModule, typeof i5.UiLayoutModule, typeof i6.CommonModule, typeof i7.UtilI18nModule, typeof i8.TranslateModule, typeof i9.UiElementsModule, typeof i10.OrganisationsFilterComponent], [typeof i1.SiteTitleComponent, typeof i2.SourceLabelComponent, typeof i3.OrganisationsComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<FeatureCatalogModule>;
|
|
17
18
|
}
|
|
18
19
|
//# sourceMappingURL=feature-catalog.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-catalog.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/catalog/src/lib/feature-catalog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAY,MAAM,eAAe,CAAA
|
|
1
|
+
{"version":3,"file":"feature-catalog.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/catalog/src/lib/feature-catalog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAY,MAAM,eAAe,CAAA;;;;;;;;;;;;AA4BxD,eAAO,MAAM,sBAAsB,wBAElC,CAAA;AA0BD,qBAgCa,oBAAoB;yCAApB,oBAAoB;0CAApB,oBAAoB;0CAApB,oBAAoB;CAAG"}
|