geonetwork-ui 2.4.0-dev.b0bcda82 → 2.4.0-dev.c2a3cdd1
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 +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +10 -3
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +5 -5
- 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 +10 -7
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +11 -16
- 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 +28 -33
- package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +18 -2
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +78 -39
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +11 -1
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +51 -7
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/user/user.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/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
- 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.actions.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +6 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +4 -1
- 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 +80 -0
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +93 -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-for-resource/form-field-contacts-for-resource.component.mjs +42 -67
- 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 +31 -40
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +11 -9
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +101 -0
- 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-open-data/form-field-open-data.component.mjs +22 -25
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +93 -11
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +12 -16
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +9 -8
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +140 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +41 -69
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +17 -15
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +42 -65
- 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 +5 -3
- package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +8 -8
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +6 -4
- 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 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +6 -6
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +7 -6
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +8 -5
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +6 -7
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +8 -7
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +7 -6
- package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -26
- package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +29 -13
- package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
- 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 +1 -1
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +4 -2
- 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 +5 -4
- 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/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +7 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +6 -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/editable-label/editable-label.directive.mjs +26 -24
- 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 +19 -15
- package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +32 -0
- package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +7 -21
- package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +6 -17
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +3 -7
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +43 -0
- 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/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/lib/ui-map.module.mjs +3 -3
- 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/lib/fixtures.mjs +10 -10
- 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 +42 -3
- package/esm2022/translations/en.json +41 -2
- package/esm2022/translations/es.json +39 -0
- package/esm2022/translations/fr.json +45 -6
- package/esm2022/translations/it.json +41 -2
- package/esm2022/translations/nl.json +39 -0
- package/esm2022/translations/pt.json +39 -0
- package/fesm2022/geonetwork-ui.mjs +2915 -1938
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/index.d.ts +1 -0
- package/libs/api/metadata-converter/src/index.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/gn4/types/keywords.model.d.ts +2 -6
- package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.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 -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/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 +7 -7
- 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 +6 -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.mapper.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +22 -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/metadata.model.d.ts +7 -6
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
- package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +16 -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/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/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.actions.d.ts +1 -0
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +5 -0
- package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +1 -0
- package/libs/feature/editor/src/lib/+state/editor.facade.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 +33 -0
- package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +33 -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-for-resource/form-field-contacts-for-resource.component.d.ts +11 -17
- 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 +11 -19
- 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-license/form-field-license.component.d.ts +6 -4
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.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 +22 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts.map +1 -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 +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-open-data/form-field-open-data.component.d.ts +10 -12
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +24 -4
- 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 +4 -6
- 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-simple/form-field-simple.component.d.ts +4 -3
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.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 +28 -0
- 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 +10 -18
- 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-update-frequency/form-field-update-frequency.component.d.ts +5 -5
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +18 -28
- 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 +5 -3
- package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
- package/libs/feature/editor/src/lib/feature-editor.module.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 +1 -0
- package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.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 +6 -6
- 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 +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 +1 -1
- 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/feature-map.module.d.ts +16 -21
- package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +1 -1
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
- 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/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 +2 -2
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
- 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 +1 -0
- package/libs/feature/search/src/lib/results-table/results-table-container.component.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/elements/src/lib/ui-elements.module.d.ts +2 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +5 -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/editable-label/editable-label.directive.d.ts +5 -3
- package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.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 +4 -5
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +16 -0
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
- package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +34 -35
- 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 +18 -0
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
- 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/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/lib/fixtures.d.ts +8 -8
- package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
- 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 +1 -1
- package/src/libs/api/metadata-converter/src/index.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +7 -2
- 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/gn4/gn4.field.mapper.ts +18 -16
- package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +4 -4
- 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 +14 -8
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +8 -15
- 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 +48 -63
- package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +20 -1
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +132 -68
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +12 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +90 -15
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +8 -7
- package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +30 -0
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +10 -0
- package/src/libs/common/fixtures/src/index.ts +1 -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/link.fixtures.ts +233 -164
- package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
- package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +37 -3
- 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 +32 -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/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/figure/figure.fixtures.ts +2 -2
- 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.actions.ts +2 -0
- package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +15 -0
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +4 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +12 -22
- 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.html +26 -0
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +90 -0
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +43 -0
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +129 -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-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 +47 -107
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.html +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.ts +21 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +7 -16
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +44 -45
- 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-license/form-field-license.component.ts +13 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +128 -0
- package/src/libs/feature/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/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-open-data/form-field-open-data.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +18 -29
- 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 +107 -7
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +15 -8
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +11 -14
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.html +5 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +11 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +20 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +212 -1
- 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 +31 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +43 -87
- 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 +17 -15
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +106 -81
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +45 -67
- 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 +32 -29
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +9 -3
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
- package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
- 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 -0
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +12 -8
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +5 -0
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -7
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +5 -0
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +6 -1
- package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -15
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +24 -1
- package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +26 -22
- package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
- 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 +2 -2
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +2 -2
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +5 -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 +1 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +10 -1
- package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
- 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/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +6 -1
- package/src/libs/ui/inputs/src/index.ts +5 -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 +12 -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/editable-label/editable-label.directive.ts +40 -26
- 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 +89 -0
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +92 -0
- 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 +76 -68
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +17 -14
- 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 +3 -2
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +3 -28
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
- 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.css +9 -0
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +37 -0
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +33 -0
- 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/modal-dialog/modal-dialog.component.css +0 -0
- 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 +11 -18
- package/src/libs/ui/map/src/lib/ui-map.module.ts +1 -1
- 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 +9 -2
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +5 -6
- package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
- 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 +49 -6
- package/translations/de.json +42 -3
- package/translations/en.json +41 -2
- package/translations/es.json +39 -0
- package/translations/fr.json +45 -6
- package/translations/it.json +41 -2
- package/translations/nl.json +39 -0
- package/translations/pt.json +39 -0
- package/translations/sk.json +39 -0
- package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +0 -131
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +0 -15
- 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/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -47
- 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 -8
- 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/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -22
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.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 -161
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +0 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +0 -15
- 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/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -38
- /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → generic-keywords/generic-keywords.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 → import-record/import-record.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 → 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-range/form-field-temporal-extents-range.component.css → form-field-date-updated/form-field-date-updated.component.css} +0 -0
- /package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +0 -0
|
@@ -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,iBAAiB,CAAA"}
|
|
@@ -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":"keywords.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE
|
|
1
|
+
{"version":3,"file":"keywords.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC7B,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAA;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -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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B,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"}
|
|
@@ -17,5 +17,5 @@ export declare function writeLandingPage(record: DatasetRecord, rootEl: XmlEleme
|
|
|
17
17
|
export declare function writeLineage(record: DatasetRecord, rootEl: XmlElement): void;
|
|
18
18
|
export declare function writeStatus(record: DatasetRecord, rootEl: XmlElement): void;
|
|
19
19
|
export declare function writeSpatialRepresentation(record: DatasetRecord, rootEl: XmlElement): void;
|
|
20
|
-
export declare function
|
|
20
|
+
export declare function writeOnlineResources(record: CatalogRecord, rootEl: XmlElement): void;
|
|
21
21
|
//# 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,EAkBL,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,CACpC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAuBnB;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,iBAAiB,CACzD,UAAU,EACV,MAAM,CACP,CAQA;AAED,wBAAgB,eAAe,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,CASrE;AAED,wBAAgB,cAAc,IAAI,iBAAiB,CAAC,UAAU,EAAE,MAAM,CAAC,CAMtE;AAED,wBAAgB,UAAU,IAAI,iBAAiB,CAAC,UAAU,EAAE,GAAG,CAAC,CAoB/D;AAED,wBAAgB,mBAAmB,uCAElC;AAGD,wBAAgB,WAAW,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,CAMjE;AAGD,wBAAgB,mBAAmB,IAAI,iBAAiB,CACtD,UAAU,EACV,YAAY,CACb,CAyBA;AAGD,wBAAgB,iBAAiB,IAAI,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAwE7E;AAED,wBAAgB,aAAa,IAAI,iBAAiB,CAAC,UAAU,EAAE,YA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M,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, Individual, 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,7 +10,7 @@ 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
16
|
export declare function appendResponsibleParty(contact: Individual): ChainableFunction<XmlElement, XmlElement>;
|
|
@@ -25,9 +25,9 @@ export declare function removeSecurityConstraints(): ChainableFunction<XmlElemen
|
|
|
25
25
|
export declare function removeLegalConstraints(): ChainableFunction<XmlElement, XmlElement>;
|
|
26
26
|
export declare function removeLicenses(): ChainableFunction<XmlElement, XmlElement>;
|
|
27
27
|
export declare function createLicense(license: Constraint): ChainableFunction<void, XmlElement>;
|
|
28
|
-
export declare function
|
|
28
|
+
export declare function removeOnlineResources(): ChainableFunction<XmlElement, XmlElement>;
|
|
29
29
|
export declare function createDistributionInfo(): ChainableFunction<void, XmlElement>;
|
|
30
|
-
export declare function
|
|
30
|
+
export declare function appendOnlineResource(onlineResource: DatasetOnlineResource, appendFormatFn: (mimeType: string) => ChainableFunction<XmlElement, XmlElement>): ChainableFunction<any, XmlElement>;
|
|
31
31
|
/**
|
|
32
32
|
* Looks for srv:SV_ServiceIdentification or gmd:MD_DataIdentification element
|
|
33
33
|
* depending on record type, create if missing
|
|
@@ -36,7 +36,6 @@ export declare function findOrCreateIdentification(): (rootEl: XmlElement) => Xm
|
|
|
36
36
|
export declare function findOrCreateDistribution(): (rootEl: XmlElement) => XmlElement;
|
|
37
37
|
export declare function writeUniqueIdentifier(record: CatalogRecord, rootEl: XmlElement): void;
|
|
38
38
|
export declare function writeKind(record: CatalogRecord, rootEl: XmlElement): void;
|
|
39
|
-
export declare function writeOwnerOrganization(record: CatalogRecord, rootEl: XmlElement): void;
|
|
40
39
|
export declare function writeRecordUpdated(record: CatalogRecord, rootEl: XmlElement): void;
|
|
41
40
|
export declare function writeTitle(record: CatalogRecord, rootEl: XmlElement): void;
|
|
42
41
|
export declare function writeAbstract(record: CatalogRecord, rootEl: XmlElement): void;
|
|
@@ -55,11 +54,12 @@ export declare function writeResourceUpdated(record: DatasetRecord, rootEl: XmlE
|
|
|
55
54
|
export declare function writeResourcePublished(record: DatasetRecord, rootEl: XmlElement): void;
|
|
56
55
|
export declare function writeSpatialRepresentation(record: DatasetRecord, rootEl: XmlElement): void;
|
|
57
56
|
export declare function writeGraphicOverviews(record: DatasetRecord, rootEl: XmlElement): void;
|
|
58
|
-
export declare function writeDistributions(record: DatasetRecord, rootEl: XmlElement): void;
|
|
59
57
|
export declare function writeLineage(record: DatasetRecord, rootEl: XmlElement): void;
|
|
60
58
|
export declare function getServiceEndpointProtocol(endpoint: ServiceEndpoint): string;
|
|
61
59
|
export declare function createOnlineResource(onlineResource: ServiceOnlineResource): ChainableFunction<void, XmlElement>;
|
|
62
|
-
export declare function
|
|
60
|
+
export declare function appendDatasetOnlineResources(record: DatasetRecord, rootEl: XmlElement): void;
|
|
61
|
+
export declare function appendServiceOnlineResources(record: ServiceRecord, rootEl: XmlElement): void;
|
|
62
|
+
export declare function writeOnlineResources(record: CatalogRecord, rootEl: XmlElement): void;
|
|
63
63
|
export declare function writeTemporalExtents(record: DatasetRecord, rootEl: XmlElement): void;
|
|
64
64
|
export declare function writeSpatialExtents(record: DatasetRecord, rootEl: XmlElement): void;
|
|
65
65
|
//# 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,EAC1B,UAAU,EACV,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,EASlB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAeL,UAAU,EACX,MAAM,cAAc,CAAA;AAKrB,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,GACX,iBAAiB,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,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"}
|
|
@@ -54,4 +54,10 @@ export declare function removeChildren(childrenFn: ChainableFunction<XmlElement,
|
|
|
54
54
|
* @param replaceMap
|
|
55
55
|
*/
|
|
56
56
|
export declare function renameElements(rootElement: XmlElement, replaceMap: Record<string, string>): XmlElement;
|
|
57
|
+
/**
|
|
58
|
+
* This function use the DOMParser to check if the given xmlString is a valid XML file or throw an error
|
|
59
|
+
* (Generated by chatGPT)
|
|
60
|
+
* @param xmlString
|
|
61
|
+
*/
|
|
62
|
+
export declare function assertValidXml(xmlString: string): Document;
|
|
57
63
|
//# 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,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAQ7D;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,WAAW,
|
|
1
|
+
{"version":3,"file":"xml-utils.d.ts","sourceRoot":"","sources":["../../../../../src/lib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B,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,wEAAwE,CAAA;AAC/E,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACb,MAAM,2DAA2D,CAAA;AAElE,OAAO,EAGL,YAAY,EAGb,MAAM,mDAAmD,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EACL,UAAU,EAGX,MAAM,sBAAsB,CAAA;;AAI7B,MAAM,MAAM,WAAW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,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-platform.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACxB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uEAAuE,CAAA;AAEjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEhD,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAA;AACrC,OAAO,EACL,OAAO,EACP,YAAY,EACZ,qBAAqB,EACtB,MAAM,8DAA8D,CAAA;AACrE,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,sDAAsD,CAAA;;AAG7D,qBACa,iBAAiB;IAChB,OAAO,CAAC,aAAa;gBAAb,aAAa,EAAE,sBAAsB;IAEzD,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC;IAiBxE,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,SAAS;IAiB7C,eAAe,CACb,QAAQ,EAAE,kBAAkB,EAAE,EAC9B,SAAS,EAAE,oBAAoB,EAAE,EACjC,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"gn4-platform.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACxB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uEAAuE,CAAA;AAEjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEhD,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAA;AACrC,OAAO,EACL,OAAO,EACP,YAAY,EACZ,qBAAqB,EACtB,MAAM,8DAA8D,CAAA;AACrE,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,sDAAsD,CAAA;;AAG7D,qBACa,iBAAiB;IAChB,OAAO,CAAC,aAAa;gBAAb,aAAa,EAAE,sBAAsB;IAEzD,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC;IAiBxE,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,SAAS;IAiB7C,eAAe,CACb,QAAQ,EAAE,kBAAkB,EAAE,EAC9B,SAAS,EAAE,oBAAoB,EAAE,EACjC,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,EAAE;IA4CZ,oBAAoB,CAAC,YAAY,EAAE,GAAG,GAAG,YAAY;IAcrD,kBAAkB,CAChB,YAAY,EAAE,YAAY,GACzB,OAAO,CAAC,uBAAuB,CAAC;IAc7B,2BAA2B,CAC/B,gBAAgB,EAAE,YAAY,GAC7B,OAAO,CAAC,qBAAqB,CAAC;yCArHtB,iBAAiB;6CAAjB,iBAAiB;CA+H7B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { MeApiService, RegistriesApiService, SiteApiService, ToolsApiService, UserfeedbackApiService, UsersApiService } from '../../../../../../../libs/data-access/gn4/src';
|
|
2
|
+
import { MeApiService, RecordsApiService, RegistriesApiService, SiteApiService, ToolsApiService, UserfeedbackApiService, UsersApiService } from '../../../../../../../libs/data-access/gn4/src';
|
|
3
3
|
import { PlatformServiceInterface } 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';
|
|
@@ -18,6 +18,7 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
18
18
|
private langService;
|
|
19
19
|
private userfeedbackApiService;
|
|
20
20
|
private httpClient;
|
|
21
|
+
private recordsApiService;
|
|
21
22
|
private readonly type;
|
|
22
23
|
private readonly me$;
|
|
23
24
|
private readonly users$;
|
|
@@ -30,7 +31,7 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
30
31
|
* @private
|
|
31
32
|
*/
|
|
32
33
|
private keywordsByThesauri;
|
|
33
|
-
constructor(siteApiService: SiteApiService, meApi: MeApiService, usersApi: UsersApiService, mapper: Gn4PlatformMapper, toolsApiService: ToolsApiService, registriesApiService: RegistriesApiService, langService: LangService, userfeedbackApiService: UserfeedbackApiService, httpClient: HttpClient);
|
|
34
|
+
constructor(siteApiService: SiteApiService, meApi: MeApiService, usersApi: UsersApiService, mapper: Gn4PlatformMapper, toolsApiService: ToolsApiService, registriesApiService: RegistriesApiService, langService: LangService, userfeedbackApiService: UserfeedbackApiService, httpClient: HttpClient, recordsApiService: RecordsApiService);
|
|
34
35
|
getType(): string;
|
|
35
36
|
getApiVersion(): Observable<string>;
|
|
36
37
|
getMe(): Observable<UserModel>;
|
|
@@ -42,8 +43,27 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
42
43
|
private allThesaurus$;
|
|
43
44
|
searchKeywords(query: string, keywordTypes: KeywordType[]): Observable<Keyword[]>;
|
|
44
45
|
getKeywordsByUri(uri: string): Observable<Keyword[]>;
|
|
46
|
+
searchKeywordsInThesaurus(query: string, thesaurusId: string): Observable<any[]>;
|
|
45
47
|
getUserFeedbacks(uuid: string): Observable<UserFeedback[]>;
|
|
46
48
|
postUserFeedbacks(userFeedback: UserFeedback): Observable<void>;
|
|
49
|
+
getRecordAttachments(recordUuid: string): Observable<{
|
|
50
|
+
url: URL;
|
|
51
|
+
fileName: string;
|
|
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
|
+
}>;
|
|
47
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4PlatformService, never>;
|
|
48
68
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4PlatformService>;
|
|
49
69
|
}
|
|
@@ -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,
|
|
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,EAAiB,MAAM,MAAM,CAAA;AAE/D,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,eAAe,EAChB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,CAAA;AACrH,OAAO,EAAE,SAAS,EAAE,MAAM,uEAAuE,CAAA;AACjG,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACb,MAAM,8DAA8D,CAAA;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAA;AACrE,OAAO,EAAE,UAAU,EAAiB,MAAM,sBAAsB,CAAA;AAKhE,OAAO,EAAE,WAAW,EAAE,MAAM,iEAAiE,CAAA;;AAI7F,qBACa,kBAAmB,YAAW,wBAAwB;IAwC/D,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,sBAAsB;IAC9B,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,iBAAiB;IAhD3B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAe;IACpC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAuB;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAChD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAqB;IAEtD,OAAO,CAAC,gBAAgB,CAQrB;IAEH,OAAO,CAAC,SAAS,CAGhB;IAED,OAAO,CAAC,QAAQ,CAAC,WAAW,CAU3B;IAED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AAI;;;;;;;;;;;;;;yCAlQtC,kBAAkB;6CAAlB,kBAAkB;CAgS9B"}
|
|
@@ -23,6 +23,7 @@ export interface Keyword {
|
|
|
23
23
|
description?: string;
|
|
24
24
|
type: KeywordType;
|
|
25
25
|
thesaurus?: ThesaurusModel;
|
|
26
|
+
bbox?: [number, number, number, number];
|
|
26
27
|
}
|
|
27
28
|
export type LanguageCode = string;
|
|
28
29
|
export interface BaseRecord {
|
|
@@ -52,7 +53,7 @@ export interface BaseRecord {
|
|
|
52
53
|
resourceUpdated?: Date;
|
|
53
54
|
}
|
|
54
55
|
export type ServiceProtocol = 'wms' | 'wfs' | 'wps' | 'wmts' | 'esriRest' | 'ogcFeatures' | 'other';
|
|
55
|
-
export type
|
|
56
|
+
export type OnlineResourceType = 'service' | 'download' | 'link' | 'endpoint';
|
|
56
57
|
export interface DatasetServiceDistribution {
|
|
57
58
|
type: 'service';
|
|
58
59
|
url: URL;
|
|
@@ -76,8 +77,8 @@ export interface OnlineLinkResource {
|
|
|
76
77
|
name?: string;
|
|
77
78
|
description?: string;
|
|
78
79
|
}
|
|
79
|
-
export type
|
|
80
|
-
type:
|
|
80
|
+
export type DatasetOnlineResource = (DatasetServiceDistribution | DatasetDownloadDistribution | OnlineLinkResource) & {
|
|
81
|
+
type: OnlineResourceType;
|
|
81
82
|
};
|
|
82
83
|
export interface GraphicOverview {
|
|
83
84
|
url: URL;
|
|
@@ -100,12 +101,11 @@ export interface DatasetRecord extends BaseRecord {
|
|
|
100
101
|
kind: 'dataset';
|
|
101
102
|
status: RecordStatus;
|
|
102
103
|
lineage: string;
|
|
103
|
-
|
|
104
|
+
onlineResources: Array<DatasetOnlineResource>;
|
|
104
105
|
spatialExtents: Array<DatasetSpatialExtent>;
|
|
105
106
|
temporalExtents: Array<DatasetTemporalExtent>;
|
|
106
107
|
spatialRepresentation?: SpatialRepresentationType;
|
|
107
108
|
}
|
|
108
|
-
export type ServiceOnlineResourceType = 'endpoint' | 'link';
|
|
109
109
|
export interface ServiceEndpoint {
|
|
110
110
|
endpointUrl: URL;
|
|
111
111
|
protocol: string;
|
|
@@ -113,12 +113,13 @@ export interface ServiceEndpoint {
|
|
|
113
113
|
description?: string;
|
|
114
114
|
}
|
|
115
115
|
export type ServiceOnlineResource = (ServiceEndpoint | OnlineLinkResource) & {
|
|
116
|
-
type:
|
|
116
|
+
type: OnlineResourceType;
|
|
117
117
|
};
|
|
118
118
|
export interface ServiceRecord extends BaseRecord {
|
|
119
119
|
kind: 'service';
|
|
120
120
|
onlineResources: Array<ServiceOnlineResource>;
|
|
121
121
|
}
|
|
122
|
+
export type OnlineResource = DatasetOnlineResource | ServiceOnlineResource;
|
|
122
123
|
export type CatalogRecord = ServiceRecord | DatasetRecord;
|
|
123
124
|
export type CatalogRecordKeys = keyof ServiceRecord | keyof DatasetRecord;
|
|
124
125
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/metadata.model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE1D,KAAK,IAAI,GAAG,MAAM,CAAA;AASlB,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,YAAY,GACZ,UAAU,GACV,WAAW,GACX,WAAW,GACX,UAAU,CAAA;AAOd,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,MAAM,CAAA;IACpB,GAAG,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;CACvC,CAAA;AACD,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,qBAAqB,CAAA;AAEzE,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,CAAA;AAQ9C,eAAO,MAAM,kBAAkB,UAM9B,CAAA;AACD,MAAM,MAAM,YAAY,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAA;AAE5D,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,GAAG,CAAA;CACV,CAAA;AAED,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN,QAAQ,GACR,KAAK,GACL,OAAO,GACP,OAAO,CAAA;AAEX,MAAM,WAAW,OAAO;IACtB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,WAAW,CAAA;IACjB,SAAS,CAAC,EAAE,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"metadata.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/metadata.model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE1D,KAAK,IAAI,GAAG,MAAM,CAAA;AASlB,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,YAAY,GACZ,UAAU,GACV,WAAW,GACX,WAAW,GACX,UAAU,CAAA;AAOd,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,MAAM,CAAA;IACpB,GAAG,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;CACvC,CAAA;AACD,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,qBAAqB,CAAA;AAEzE,MAA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A;AAED,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC/C,IAAI,EAAE,SAAS,CAAA;IACf,eAAe,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAA;CAC9C;AAED,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAAG,qBAAqB,CAAA;AAE1E,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,aAAa,CAAA;AAEzD,MAAM,MAAM,iBAAiB,GAAG,MAAM,aAAa,GAAG,MAAM,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/user/user.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"user.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/user/user.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
|
|
@@ -3,6 +3,18 @@ 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 {
|
|
7
|
+
url: URL;
|
|
8
|
+
fileName: string;
|
|
9
|
+
}
|
|
10
|
+
type UploadEvent = {
|
|
11
|
+
type: 'progress';
|
|
12
|
+
progress: number;
|
|
13
|
+
} | {
|
|
14
|
+
type: 'success';
|
|
15
|
+
attachment: RecordAttachment;
|
|
16
|
+
sizeBytes: number;
|
|
17
|
+
};
|
|
6
18
|
export declare abstract class PlatformServiceInterface {
|
|
7
19
|
abstract getType(): string;
|
|
8
20
|
abstract getApiVersion(): Observable<string>;
|
|
@@ -14,7 +26,11 @@ export declare abstract class PlatformServiceInterface {
|
|
|
14
26
|
abstract translateKey(key: string): Observable<string>;
|
|
15
27
|
abstract searchKeywords(query: string, keywordTypes: KeywordType[]): Observable<Keyword[]>;
|
|
16
28
|
abstract getKeywordsByUri(uri: string): Observable<Keyword[]>;
|
|
29
|
+
abstract searchKeywordsInThesaurus(query: string, thesaurusId: string): Observable<Keyword[]>;
|
|
17
30
|
abstract getUserFeedbacks(recordUuid: string): Observable<UserFeedback[]>;
|
|
18
31
|
abstract postUserFeedbacks(recordUuid: UserFeedback): Observable<void>;
|
|
32
|
+
abstract getRecordAttachments(recordUuid: string): Observable<RecordAttachment[]>;
|
|
33
|
+
abstract attachFileToRecord(recordUuid: string, file: File): Observable<UploadEvent>;
|
|
19
34
|
}
|
|
35
|
+
export {};
|
|
20
36
|
//# 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,8BAAsB,wBAAwB;IAC5C,QAAQ,CAAC,OAAO,IAAI,MAAM;IAC1B,QAAQ,CAAC,aAAa,IAAI,UAAU,CAAC,MAAM,CAAC;IAE5C,QAAQ,CAAC,KAAK,IAAI,UAAU,CAAC,SAAS,CAAC;IACvC,QAAQ,CAAC,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC;IAC3C,QAAQ,CAAC,QAAQ,IAAI,UAAU,CAAC,SAAS,EAAE,CAAC;IAC5C,QAAQ,CAAC,sBAAsB,CAC7B,YAAY,EAAE,YAAY,GACzB,UAAU,CAAC,SAAS,EAAE,CAAC;IAC1B,QAAQ,CAAC,gBAAgB,IAAI,UAAU,CAAC,YAAY,EAAE,CAAC;
|
|
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,UAAU,gBAAgB;IACxB,GAAG,EAAE,GAAG,CAAA;IACR,QAAQ,EAAE,MAAM,CAAA;CACjB;AACD,KAAK,WAAW,GACZ;IACE,IAAI,EAAE,UAAU,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB,GACD;IACE,IAAI,EAAE,SAAS,CAAA;IACf,UAAU,EAAE,gBAAgB,CAAA;IAC5B,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAEL,8BAAsB,wBAAwB;IAC5C,QAAQ,CAAC,OAAO,IAA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
* @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,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;;;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"}
|
|
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,CA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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"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const siteFixture: () => {
|
|
2
2
|
'system/platform/subVersion': string;
|
|
3
3
|
'system/platform/version': string;
|
|
4
4
|
'system/site/name': string;
|
|
5
5
|
'system/site/organization': string;
|
|
6
6
|
'system/site/siteId': string;
|
|
7
7
|
};
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const settingsFixture: () => {
|
|
9
9
|
'system/site/name': string;
|
|
10
10
|
'system/site/siteId': string;
|
|
11
11
|
'system/site/organization': string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site.fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/libs/data-access/gn4/src/fixtures/site.fixtures.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"site.fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/libs/data-access/gn4/src/fixtures/site.fixtures.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;CAMtB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD1B,CAAA"}
|