geonetwork-ui 2.4.0-dev.a1bcfe22 → 2.4.0-dev.a6f221e3
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 +1 -2
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +7 -5
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +30 -2
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +23 -1
- package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +10 -3
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +21 -4
- 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 +11 -1
- package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +28 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +29 -0
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +78 -0
- package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +131 -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 +170 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +15 -39
- 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-open-data/form-field-open-data.component.mjs +47 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +21 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +111 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +7 -6
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +33 -9
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/wizard-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 +37 -4
- 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 +6 -5
- 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/utils/map-utils.service.mjs +10 -5
- 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 +40 -7
- package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -2
- package/esm2022/libs/ui/elements/src/index.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -3
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +7 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +7 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +19 -5
- package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +17 -14
- 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 +6 -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/lib/form-field-wrapper/form-field-wrapper.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
- package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +49 -11
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +18 -6
- package/esm2022/translations/de.json +50 -17
- package/esm2022/translations/en.json +43 -10
- package/esm2022/translations/es.json +42 -9
- package/esm2022/translations/fr.json +54 -21
- package/esm2022/translations/it.json +43 -10
- package/esm2022/translations/nl.json +42 -9
- package/esm2022/translations/pt.json +42 -9
- package/fesm2022/geonetwork-ui.mjs +4607 -3394
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/index.d.ts +0 -1
- package/libs/api/metadata-converter/src/index.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/iso19139/iso19139.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +8 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
- package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -1
- 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 +1 -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 +6 -1
- 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 +1 -0
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -0
- package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +3 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +1 -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 +8 -0
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +12 -0
- package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +32 -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/overview-upload/overview-upload.component.d.ts +27 -0
- package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.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 +47 -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.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +4 -16
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +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-open-data/form-field-open-data.component.d.ts +17 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +11 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +23 -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 +3 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +9 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/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 +8 -0
- package/libs/feature/editor/src/lib/fields.config.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 +1 -1
- 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/utils/map-utils.service.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +11 -3
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
- package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -0
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
- package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +4 -4
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +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 +1 -0
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +3 -4
- 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 +17 -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/search/src/lib/results-table/action-menu/action-menu.component.d.ts +10 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +6 -2
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/index.ts +0 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +6 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +5 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +37 -12
- package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +5 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +6 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +72 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +70 -1
- package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +13 -5
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +24 -4
- 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 +43 -12
- package/src/libs/common/domain/src/lib/model/record/contact.model.ts +28 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -1
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +4 -0
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +10 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +25 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +30 -0
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.css +0 -0
- 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 +89 -0
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +2 -1
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +110 -19
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +0 -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 +76 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +271 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +7 -17
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +9 -48
- 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-open-data/form-field-open-data.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +59 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +5 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +22 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +15 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +156 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +8 -7
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +20 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +30 -1
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +1 -1
- 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 +40 -3
- 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 +5 -1
- 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/utils/map-utils.service.ts +8 -4
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +2 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +52 -3
- package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -0
- package/src/libs/ui/elements/src/index.ts +1 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +4 -1
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +2 -1
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
- package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +3 -1
- package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +8 -4
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +6 -1
- package/src/libs/ui/inputs/src/index.ts +1 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +15 -3
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +0 -0
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +85 -0
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +91 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +49 -49
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +15 -13
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +2 -1
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +2 -27
- 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/lib/form-field-wrapper/form-field-wrapper.component.html +1 -1
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +1 -0
- package/src/libs/ui/map/src/lib/ui-map.module.ts +1 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +10 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +55 -3
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +7 -2
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +9 -9
- package/tailwind.base.css +16 -4
- package/translations/de.json +50 -17
- package/translations/en.json +43 -10
- package/translations/es.json +42 -9
- package/translations/fr.json +54 -21
- package/translations/it.json +43 -10
- package/translations/nl.json +42 -9
- package/translations/pt.json +42 -9
- package/translations/sk.json +43 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/api/metadata-converter/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
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 +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 +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;AAkEjD,qBAAa,iBAAkB,SAAQ,aAAa,CAAC,MAAM,CAAC;IAC1D,SAAS,CAAC,OAAO,EAAE,MAAM,CACvB,iBAAiB,EACjB,CAAC,MAAM,EAAE,UAAU,KAAK,OAAO,CAChC,CAiCA;IAED,SAAS,CAAC,OAAO,EAAE,MAAM,CACvB,iBAAiB,EACjB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,KAAK,IAAI,CACpD,CAiCA;IAED,SAAS,CAAC,sBAAsB,CAAC,WAAW,EAAE,UAAU;IAIlD,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAiGpD,WAAW,CACf,MAAM,EAAE,aAAa,EACrB,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,CAAC;CAgFnB"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Constraint, DatasetDistribution, GraphicOverview, Individual, Keyword, Organization, RecordKind, RecordStatus, Role, ServiceOnlineResource, SpatialRepresentationType, UpdateFrequency, UpdateFrequencyCustom } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
|
+
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
3
|
+
import { Geometry } from 'geojson';
|
|
2
4
|
import { ChainableFunction } from '../function-utils';
|
|
3
5
|
import { XmlElement } from '../xml-utils';
|
|
4
|
-
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
5
6
|
export declare function extractCharacterString(): ChainableFunction<XmlElement, string>;
|
|
6
7
|
export declare function extractDateTime(): ChainableFunction<XmlElement, Date>;
|
|
8
|
+
export declare function extractDecimal(): ChainableFunction<XmlElement, number>;
|
|
7
9
|
export declare function extractUrl(): ChainableFunction<XmlElement, URL>;
|
|
8
10
|
export declare function extractMandatoryUrl(): ChainableFunction<XmlElement, URL>;
|
|
9
11
|
export declare function extractRole(): ChainableFunction<XmlElement, Role>;
|
|
@@ -59,4 +61,9 @@ export declare function readOnlineResources(rootEl: XmlElement): ServiceOnlineRe
|
|
|
59
61
|
export declare function readTemporalExtents(rootEl: XmlElement): {
|
|
60
62
|
start: Date;
|
|
61
63
|
}[];
|
|
64
|
+
export declare function readSpatialExtents(rootEl: XmlElement): {
|
|
65
|
+
description: string;
|
|
66
|
+
bbox: [number, number, number, number];
|
|
67
|
+
geometry: Geometry;
|
|
68
|
+
}[];
|
|
62
69
|
//# 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/iso19139/read-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,OAAO,EACP,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;
|
|
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,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,OAAO,EACP,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,YAAY,CAAC,CAM3E;AAGD,wBAAgB,uBAAuB,IAAI,iBAAiB,CAC1D,UAAU,EACV,KAAK,CAAC,UAAU,CAAC,C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,CAUvE;AAED,wBAAgB,6BAA6B,IAAI,iBAAiB,CAChE,UAAU,EACV,qBAAqB,EAAE,CACxB,CA8CA;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,UAAU,GACjB,qBAAqB,EAAE,CAMzB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU;;IAkDrD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU;;;;IAyDpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAWlC,wBAAgB,YAAY,CAAC,EAAE,EAAE,UAAU,GAAG,QAAQ,CAcrD;AAED,wBAAgB,aAAa,CAAC,cAAc,EAAE,QAAQ,GAAG,UAAU,CAUlE"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { CatalogRecord, Constraint, DatasetDistribution, DatasetRecord, DatasetServiceDistribution, Individual, Keyword, RecordStatus, Role, ServiceEndpoint, ServiceOnlineResource, ServiceRecord, UpdateFrequencyCode, UpdateFrequencyCustom } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
|
+
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
2
3
|
import { ChainableFunction } from '../function-utils';
|
|
3
4
|
import { XmlElement } from '../xml-utils';
|
|
4
|
-
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
5
5
|
export declare function writeCharacterString(text: string): ChainableFunction<XmlElement, XmlElement>;
|
|
6
6
|
export declare function writeLinkage(url: URL): ChainableFunction<XmlElement, XmlElement>;
|
|
7
7
|
export declare function writeAnchor(url: URL, text?: string): ChainableFunction<XmlElement, XmlElement>;
|
|
8
8
|
export declare function writeDateTime(date: Date): ChainableFunction<XmlElement, XmlElement>;
|
|
9
9
|
export declare function writeDate(date: Date): ChainableFunction<XmlElement, XmlElement>;
|
|
10
|
+
export declare function writeDecimal(decimal: number): ChainableFunction<XmlElement, XmlElement>;
|
|
10
11
|
export declare function getProgressCode(status: RecordStatus): string;
|
|
11
12
|
export declare function getRoleCode(role: Role): string;
|
|
12
13
|
export declare function getDistributionProtocol(distribution: DatasetServiceDistribution): string;
|
|
@@ -60,4 +61,5 @@ export declare function getServiceEndpointProtocol(endpoint: ServiceEndpoint): s
|
|
|
60
61
|
export declare function createOnlineResource(onlineResource: ServiceOnlineResource): ChainableFunction<void, XmlElement>;
|
|
61
62
|
export declare function writeOnlineResources(record: ServiceRecord, rootEl: XmlElement): void;
|
|
62
63
|
export declare function writeTemporalExtents(record: DatasetRecord, rootEl: XmlElement): void;
|
|
64
|
+
export declare function writeSpatialExtents(record: DatasetRecord, rootEl: XmlElement): void;
|
|
63
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,mBAAmB,EACnB,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;
|
|
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,mBAAmB,EACnB,aAAa,EACb,0BAA0B,EAC1B,UAAU,EACV,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,eAAe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C,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QA4BnB;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAY3E;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAWrE;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,CAW5E;AAED,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,qBAAqB,uCAqDzE;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAMnB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAsDnB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAyD5E"}
|
|
@@ -21,6 +21,7 @@ export declare function getRootElement(xmlDoc: XmlDocument): XmlElement;
|
|
|
21
21
|
export declare function findChildrenElement(name: string, nested?: boolean): ChainableFunction<XmlElement, Array<XmlElement>>;
|
|
22
22
|
export declare function findChildElement(name: string, nested?: boolean): ChainableFunction<XmlElement, XmlElement>;
|
|
23
23
|
export declare function allChildrenElement(element: XmlElement): Array<XmlElement>;
|
|
24
|
+
export declare function firstChildElement(element: XmlElement): XmlElement;
|
|
24
25
|
/**
|
|
25
26
|
* Will return all matching elements nested according to the given
|
|
26
27
|
* names (similar to a path), starting form the input element;
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"xml-ut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AY,EAAE,MAAM,EAAE,GACxB,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAQ3C;AAED,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,GACX,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAa3C;AAED,wBAAgB,iBAAiB,IAAI,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAO7E;AAGD,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,GACX,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAe3C;AAED,wBAAgB,cAAc,CAC5B,UAAU,EAAE,iBAAiB,CAAC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,GAC3D,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAU3C;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,WAAW,EAAE,UAAU,EACvB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,cAgBnC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RecordsApiService, SearchApiService } from '../../../../../../libs/data-access/gn4/src';
|
|
2
2
|
import { ElasticsearchService } from './elasticsearch';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
4
|
import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
|
|
5
5
|
import { SearchParams, SearchResults } from '../../../../../../libs/common/domain/src/lib/model/search/search.model';
|
|
6
6
|
import { Aggregations, AggregationsParams, FieldFilters } from '../../../../../../libs/common/domain/src/lib/model/search';
|
|
@@ -12,6 +12,8 @@ export declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
12
12
|
private gn4SearchHelper;
|
|
13
13
|
private gn4Mapper;
|
|
14
14
|
private gn4RecordsApi;
|
|
15
|
+
_draftsChanged: Subject<void>;
|
|
16
|
+
draftsChanged$: Observable<void>;
|
|
15
17
|
constructor(gn4SearchApi: SearchApiService, gn4SearchHelper: ElasticsearchService, gn4Mapper: Gn4Converter, gn4RecordsApi: RecordsApiService);
|
|
16
18
|
search({ filters, fields, offset, limit, sort, filterIds, filterGeometry, }: SearchParams): Observable<SearchResults>;
|
|
17
19
|
getMatchesCount(filters: FieldFilters): Observable<number>;
|
|
@@ -28,9 +30,12 @@ export declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
28
30
|
openRecordForDuplication(uniqueIdentifier: string): Observable<[CatalogRecord, string, false] | null>;
|
|
29
31
|
private serializeRecordToXml;
|
|
30
32
|
saveRecord(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
33
|
+
deleteRecord(uniqueIdentifier: string): Observable<void>;
|
|
34
|
+
generateTemporaryId(): string;
|
|
31
35
|
saveRecordAsDraft(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
32
36
|
clearRecordDraft(uniqueIdentifier: string): void;
|
|
33
37
|
recordHasDraft(uniqueIdentifier: string): boolean;
|
|
38
|
+
isRecordNotYetSaved(uniqueIdentifier: string): boolean;
|
|
34
39
|
getAllDrafts(): Observable<CatalogRecord[]>;
|
|
35
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4Repository, never>;
|
|
36
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4Repository>;
|
|
@@ -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,EAGL,UAAU,
|
|
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,gBA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rD;;OAEG;IACH,OAAO,CAAC,eAAe;IAsBvB,OAAO,CAAC,2BAA2B;IAInC,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAqBtD,wBAAwB,CACtB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC;IAkBpD,OAAO,CAAC,oBAAoB;IAW5B,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IA+BrB,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;IAYrB,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI;IAOhD,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAQjD,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAKtD,YAAY,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;yCApThC,aAAa;6CAAb,aAAa;CAgUzB"}
|
|
@@ -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"}
|
|
@@ -42,6 +42,7 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
42
42
|
private allThesaurus$;
|
|
43
43
|
searchKeywords(query: string, keywordTypes: KeywordType[]): Observable<Keyword[]>;
|
|
44
44
|
getKeywordsByUri(uri: string): Observable<Keyword[]>;
|
|
45
|
+
searchKeywordsInThesaurus(query: string, thesaurusId: string): Observable<any[]>;
|
|
45
46
|
getUserFeedbacks(uuid: string): Observable<UserFeedback[]>;
|
|
46
47
|
postUserFeedbacks(userFeedback: UserFeedback): Observable<void>;
|
|
47
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4PlatformService, never>;
|
|
@@ -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,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,eAAe,EAChB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,C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,CAAC;IAInC,KAAK,IAAI,UAAU,CAAC,SAAS,CAAC;IAI9B,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC;IAIlC,gBAAgB,IAAI,UAAU,CAAC,YAAY,EAAE,CAAC;IAI9C,sBAAsB,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;IAI3E,QAAQ,IAAI,UAAU,CAAC,SAAS,EAAE,CAAC;IAInC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAkB7C,OAAO,CAAC,aAAa,CASlB;IAEH,cAAc,CACZ,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,WAAW,EAAE,GAC1B,UAAU,CAAC,OAAO,EAAE,CAAC;IAkCxB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;IAgCpD,yBAAyB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAgC5D,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,YAAY,EAAE,CAAC;IAY1D,iBAAiB,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC;yCA3OpD,kBAAkB;6CAAlB,kBAAkB;CAqP9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/contact.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"contact.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/contact.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,eAAO,MAAM,UAAU,UAsBtB,CAAA;AAED,eAAO,MAAM,UAAU,qBAyBrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;AAE5C,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -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 {
|
|
@@ -84,7 +85,8 @@ export interface GraphicOverview {
|
|
|
84
85
|
description?: string;
|
|
85
86
|
}
|
|
86
87
|
export interface DatasetSpatialExtent {
|
|
87
|
-
|
|
88
|
+
bbox?: [number, number, number, number];
|
|
89
|
+
geometry?: Geometry;
|
|
88
90
|
description?: string;
|
|
89
91
|
}
|
|
90
92
|
/**
|
|
@@ -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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yB,GAAG,UAAU,GAAG,MAAM,CAAA;AAE3D,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,GAAG,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,UAAU,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,MAAM,qBAAqB,GAAG,CAAC,eAAe,GAAG,kBAAkB,CAAC,GAAG;IAC3E,IAAI,EAAE,yBAAyB,CAAA;CAChC,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC/C,IAAI,EAAE,SAAS,CAAA;IACf,eAAe,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAA;CAC9C;AAED,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,aAAa,CAAA;AAEzD,MAAM,MAAM,iBAAiB,GAAG,MAAM,aAAa,GAAG,MAAM,aAAa,CAAA"}
|
|
@@ -14,6 +14,7 @@ export declare abstract class PlatformServiceInterface {
|
|
|
14
14
|
abstract translateKey(key: string): Observable<string>;
|
|
15
15
|
abstract searchKeywords(query: string, keywordTypes: KeywordType[]): Observable<Keyword[]>;
|
|
16
16
|
abstract getKeywordsByUri(uri: string): Observable<Keyword[]>;
|
|
17
|
+
abstract searchKeywordsInThesaurus(query: string, thesaurusId: string): Observable<Keyword[]>;
|
|
17
18
|
abstract getUserFeedbacks(recordUuid: string): Observable<UserFeedback[]>;
|
|
18
19
|
abstract postUserFeedbacks(recordUuid: UserFeedback): Observable<void>;
|
|
19
20
|
}
|
|
@@ -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;IACvD,QAAQ,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IACtD,QAAQ,CAAC,cAAc,CACrB,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,WAAW,EAAE,GAC1B,UAAU,CAAC,OAAO,EAAE,CAAC;IACxB,QAAQ,CAAC,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;IAC7D,QAAQ,CAAC,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,YAAY,EAAE,CAAC;IACzE,QAAQ,CAAC,iBAAiB,CAAC,UAAU,EAAE,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC;CACvE"}
|
|
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,MAA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 export declare abstract class RecordsRepositoryInterface {
|
|
|
32
32
|
* @returns Observable<string> Returns the unique identifier of the record as it was when saved
|
|
33
33
|
*/
|
|
34
34
|
abstract saveRecord(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
35
|
+
/**
|
|
36
|
+
* @param uniqueIdentifier
|
|
37
|
+
* @returns Observable<void> Returns when record is deleted
|
|
38
|
+
*/
|
|
39
|
+
abstract deleteRecord(uniqueIdentifier: string): Observable<void>;
|
|
40
|
+
abstract generateTemporaryId(): string;
|
|
35
41
|
/**
|
|
36
42
|
* @param record
|
|
37
43
|
* @param referenceRecordSource
|
|
@@ -40,7 +46,9 @@ export declare abstract class RecordsRepositoryInterface {
|
|
|
40
46
|
abstract saveRecordAsDraft(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
41
47
|
abstract clearRecordDraft(uniqueIdentifier: string): void;
|
|
42
48
|
abstract recordHasDraft(uniqueIdentifier: string): boolean;
|
|
49
|
+
abstract isRecordNotYetSaved(uniqueIdentifier: string): boolean;
|
|
43
50
|
/** will return all pending drafts, both published and not published */
|
|
44
51
|
abstract getAllDrafts(): Observable<CatalogRecord[]>;
|
|
52
|
+
abstract draftsChanged$: Observable<void>;
|
|
45
53
|
}
|
|
46
54
|
//# sourceMappingURL=records-repository.interface.d.ts.map
|
|
@@ -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;;;;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;
|
|
1
|
+
{"version":3,"file":"records-repository.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/common/domain/src/lib/repository/records-repository.interface.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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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Individual } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContactCardComponent {
|
|
5
|
+
contact: Individual;
|
|
6
|
+
removable: boolean;
|
|
7
|
+
contactRemoved: EventEmitter<Individual>;
|
|
8
|
+
removeContact(contact: Individual): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactCardComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactCardComponent, "gn-ui-contact-card", never, { "contact": { "alias": "contact"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; }, { "contactRemoved": "contactRemoved"; }, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=contact-card.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact-card.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;;AAMzF,qBAQa,oBAAoB;IACtB,OAAO,EAAE,UAAU,CAAA;IACnB,SAAS,UAAO;IACf,cAAc,2BAAiC;IAEzD,aAAa,CAAC,OAAO,EAAE,UAAU;yCALtB,oBAAoB;2CAApB,oBAAoB;CAQhC"}
|
package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { PlatformServiceInterface } from '../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
3
|
+
import { Keyword } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
+
import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
type AutocompleteItem = {
|
|
7
|
+
title: string;
|
|
8
|
+
value: Keyword;
|
|
9
|
+
};
|
|
10
|
+
export declare class GenericKeywordsComponent {
|
|
11
|
+
private platformService;
|
|
12
|
+
keywords: Keyword[];
|
|
13
|
+
keywordTypes: KeywordType[];
|
|
14
|
+
placeholder: string;
|
|
15
|
+
changedKeywords: EventEmitter<Keyword[]>;
|
|
16
|
+
addedKeyword: EventEmitter<Keyword>;
|
|
17
|
+
deletedKeyword: EventEmitter<Keyword>;
|
|
18
|
+
displayWithFn: (item: AutocompleteItem) => string;
|
|
19
|
+
autoCompleteAction: (query: string) => import("rxjs").Observable<{
|
|
20
|
+
title: string;
|
|
21
|
+
value: Keyword;
|
|
22
|
+
}[]>;
|
|
23
|
+
constructor(platformService: PlatformServiceInterface);
|
|
24
|
+
handleItemSelection(item: AutocompleteItem): void;
|
|
25
|
+
addKeyword(keyword: Keyword): void;
|
|
26
|
+
removeKeyword(keyword: Keyword): void;
|
|
27
|
+
isPlaceWithoutExtent(keyword: Keyword): boolean;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericKeywordsComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GenericKeywordsComponent, "gn-ui-generic-keywords", never, { "keywords": { "alias": "keywords"; "required": false; }; "keywordTypes": { "alias": "keywordTypes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "changedKeywords": "changedKeywords"; "addedKeyword": "addedKeyword"; "deletedKeyword": "deletedKeyword"; }, never, never, true, never>;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=generic-keywords.component.d.ts.map
|
package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generic-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,CAAA;AAQrH,OAAO,EAAE,OAAO,EAAE,MAAM,8DAA8D,CAAA;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,iEAAiE,CAAA;;AAI7F,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzD,qBAgBa,wBAAwB;IAsBvB,OAAO,CAAC,eAAe;IArB1B,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,YAAY,CAAC,OAAO,EAAE,CAAC,CAAqB;IAC7D,YAAY,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IACxD,cAAc,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IAEpE,aAAa,SAAU,gBAAgB,YAEtC;IAED,kBAAkB,UAAW,MAAM;;;SAQlC;gBAEmB,eAAe,EAAE,wBAAwB;IAE7D,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAI1C,UAAU,CAAC,OAAO,EAAE,OAAO;IAW3B,aAAa,CAAC,OAAO,EAAE,OAAO;IAM9B,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO;yCA7CpC,wBAAwB;2CAAxB,wBAAwB;CAiDpC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { RecordsApiService } from '../../../../../../../libs/data-access/gn4/src';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { GraphicOverview } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OverviewUploadComponent implements OnInit, OnChanges {
|
|
7
|
+
private recordsApiService;
|
|
8
|
+
private cd;
|
|
9
|
+
metadataUuid: string;
|
|
10
|
+
formControl: FormControl;
|
|
11
|
+
overviewChange: EventEmitter<GraphicOverview>;
|
|
12
|
+
altTextChange: EventEmitter<string>;
|
|
13
|
+
resourceAltText: string;
|
|
14
|
+
resourceFileName: string;
|
|
15
|
+
resourceUrl: string;
|
|
16
|
+
constructor(recordsApiService: RecordsApiService, cd: ChangeDetectorRef);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
handleFileChange(file: File): void;
|
|
19
|
+
handleUrlChange(url: string): void;
|
|
20
|
+
handleAltTextChange(newAltText: string): void;
|
|
21
|
+
handleDelete(): void;
|
|
22
|
+
private errorHandle;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverviewUploadComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OverviewUploadComponent, "gn-ui-overview-upload", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; }, { "overviewChange": "overviewChange"; "altTextChange": "altTextChange"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=overview-upload.component.d.ts.map
|
package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overview-upload.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AAEjF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAA;;AAE9F,qBAQa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IAW7D,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,EAAE;IAXH,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAG,WAAW,CAAA;IACxB,cAAc,gCAA6C;IAC3D,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IAElE,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;IACxB,WAAW,EAAE,MAAM,CAAA;gBAGT,iBAAiB,EAAE,iBAAiB,EACpC,EAAE,EAAE,iBAAiB;IAG/B,QAAQ,IAAI,IAAI;IAqBhB,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAmB3B,eAAe,CAAC,GAAG,EAAE,MAAM;IAmB3B,mBAAmB,CAAC,UAAU,EAAE,MAAM;IAWtC,YAAY;IAiBZ,OAAO,CAAC,WAAW,CAUlB;IAED,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;yCAlH9B,uBAAuB;2CAAvB,uBAAuB;CAuInC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { Individual, Organization, Role } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
+
import { Observable, Subscription } from 'rxjs';
|
|
5
|
+
import { UserModel } from '../../../../../../../../../libs/common/domain/src/lib/model/user';
|
|
6
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
7
|
+
import { OrganizationsServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/organizations.service.interface';
|
|
8
|
+
import { DynamicElement } from '../../../../../../../../../libs/ui/elements/src';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FormFieldContactsForResourceComponent implements OnInit, OnDestroy {
|
|
11
|
+
private platformServiceInterface;
|
|
12
|
+
private organizationsServiceInterface;
|
|
13
|
+
private changeDetectorRef;
|
|
14
|
+
control: FormControl<Individual[]>;
|
|
15
|
+
subscription: Subscription;
|
|
16
|
+
allUsers$: Observable<UserModel[]>;
|
|
17
|
+
contactsForRessourceByRole: Map<Role, Individual[]>;
|
|
18
|
+
contactsAsDynElemByRole: Map<Role, DynamicElement[]>;
|
|
19
|
+
rolesToPick: Role[];
|
|
20
|
+
roleSectionsToDisplay: Role[];
|
|
21
|
+
allOrganizations: Map<string, Organization>;
|
|
22
|
+
constructor(platformServiceInterface: PlatformServiceInterface, organizationsServiceInterface: OrganizationsServiceInterface, changeDetectorRef: ChangeDetectorRef);
|
|
23
|
+
ngOnInit(): Promise<void>;
|
|
24
|
+
addRoleToDisplay(roleToAdd: string): void;
|
|
25
|
+
filterRolesToPick(): void;
|
|
26
|
+
updateContactsForRessource(): void;
|
|
27
|
+
manageRoleSectionsToDisplay(contactsForResource: Individual[]): void;
|
|
28
|
+
removeContact(index: number): void;
|
|
29
|
+
handleContactsChanged(event: DynamicElement[]): void;
|
|
30
|
+
protected roleToLabel(role: string): string;
|
|
31
|
+
/**
|
|
32
|
+
* gn-ui-autocomplete
|
|
33
|
+
*/
|
|
34
|
+
displayWithFn: (user: UserModel) => string;
|
|
35
|
+
/**
|
|
36
|
+
* gn-ui-autocomplete
|
|
37
|
+
*/
|
|
38
|
+
autoCompleteAction: (query: string) => Observable<UserModel[]>;
|
|
39
|
+
/**
|
|
40
|
+
* gn-ui-autocomplete
|
|
41
|
+
*/
|
|
42
|
+
addContact(contact: UserModel, role: string): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldContactsForResourceComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldContactsForResourceComponent, "gn-ui-form-field-contacts-for-resource", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=form-field-contacts-for-resource.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-contacts-for-resource.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAGjB,SAAS,EACT,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAO5C,OAAO,EACL,UAAU,EACV,YAAY,EACZ,IAAI,EAEL,MAAM,oEAAoE,CAAA;AAE3E,OAAO,EAIL,UAAU,EACV,YAAY,EAEb,MAAM,MAAM,CAAA;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,kEAAkE,CAAA;AAC5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF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EAAE,IAAI,EAAE,MAAM;IAmB3C,WAAW,IAAI,IAAI;yCAhNR,qCAAqC;2CAArC,qCAAqC;CAmNjD"}
|
|
@@ -1,25 +1,13 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
|
-
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
3
2
|
import { Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import { KeywordType } from '../../../../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
type AutocompleteItem = {
|
|
6
|
-
title: string;
|
|
7
|
-
value: Keyword;
|
|
8
|
-
};
|
|
9
5
|
export declare class FormFieldKeywordsComponent {
|
|
10
|
-
private platformService;
|
|
11
6
|
control: FormControl<Keyword[]>;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
value: Keyword;
|
|
16
|
-
}[]>;
|
|
17
|
-
constructor(platformService: PlatformServiceInterface);
|
|
18
|
-
handleItemSelection(item: AutocompleteItem): void;
|
|
19
|
-
addKeyword(keyword: Keyword): void;
|
|
20
|
-
removeKeyword(index: number): void;
|
|
7
|
+
keywordTypes: KeywordType[];
|
|
8
|
+
placeholder: string;
|
|
9
|
+
handleKeywordsChange(keywords: Keyword[]): void;
|
|
21
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldKeywordsComponent, never>;
|
|
22
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
12
|
}
|
|
24
|
-
export {};
|
|
25
13
|
//# sourceMappingURL=form-field-keywords.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAO5C,OAAO,EAAE,OAAO,EAAE,MAAM,oEAAoE,CAAA;AAG5F,OAAO,EAAE,WAAW,EAAE,MAAM,uEAAuE,CAAA;;AAEnG,qBAgBa,0BAA0B;IAC5B,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;IAExC,YAAY,gBAAkD;IAC9D,WAAW,SAAqC;IAEhD,oBAAoB,CAAC,QAAQ,EAAE,OAAO,EAAE;yCAN7B,0BAA0B;2CAA1B,0BAA0B;CAStC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { MapContextModel, MapFacade, MapStyleService, MapUtilsService } from '../../../../../../../../../libs/feature/map/src';
|
|
4
|
+
import { MapConfig } from '../../../../../../../../../libs/util/app-config/src';
|
|
5
|
+
import { Geometry } from 'geojson';
|
|
6
|
+
import { DatasetSpatialExtent } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FormFieldMapContainerComponent implements OnChanges {
|
|
9
|
+
private mapFacade;
|
|
10
|
+
private mapUtils;
|
|
11
|
+
private styleService;
|
|
12
|
+
spatialExtents: DatasetSpatialExtent[];
|
|
13
|
+
error: string;
|
|
14
|
+
mapContext$: Observable<MapContextModel>;
|
|
15
|
+
mapConfig: MapConfig;
|
|
16
|
+
constructor(mapFacade: MapFacade, mapUtils: MapUtilsService, styleService: MapStyleService);
|
|
17
|
+
ngOnChanges(): void;
|
|
18
|
+
bboxCoordsToGeometry(bbox: [number, number, number, number]): Geometry;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldMapContainerComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldMapContainerComponent, "gn-ui-form-field-map-container", never, { "spatialExtents": { "alias": "spatialExtents"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=form-field-map-container.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-map-container.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAyB,UAAU,EAAiB,MAAM,MAAM,CAAA;AACvE,OAAO,EAIL,eAAe,EACf,SAAS,EACT,eAAe,EACf,eAAe,EAChB,MAAM,iDAAiD,CAAA;AAExD,OAAO,EAAwB,SAAS,EAAE,MAAM,qDAAqD,CAAA;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oEAAoE,CAAA;;AAIzG,qBAQa,8BAA+B,YAAW,SAAS;IA0B5D,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,YAAY;IA3Bb,cAAc,EAAE,oBAAoB,EAAE,CAAA;IAE/C,KAAK,SAAK;IACV,WAAW,EAAE,UAAU,CAAC,eAAe,CAAC,CAiBvC;IAED,SAAS,EAAE,SAAS,CAAyB;gBAGnC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,eAAe,EACzB,YAAY,EAAE,eAAe;IAqBvC,WAAW,IAAI,IAAI;IA+BnB,oBAAoB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,QAAQ;yCAhF3D,8BAA8B;2CAA9B,8BAA8B;CA8F1C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FormFieldOpenDataComponent implements OnInit {
|
|
6
|
+
control: FormControl;
|
|
7
|
+
value: boolean;
|
|
8
|
+
visibilityChange: EventEmitter<boolean>;
|
|
9
|
+
subscription: Subscription;
|
|
10
|
+
get config(): string[];
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
initToggle(): void;
|
|
13
|
+
onOpenDataToggled(boolean: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldOpenDataComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldOpenDataComponent, "gn-ui-form-field-open-data", never, { "control": { "alias": "control"; "required": false; }; }, { "visibilityChange": "visibilityChange"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=form-field-open-data.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-open-data.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAI5C,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAEnC,qBAQa,0BAA2B,YAAW,MAAM;IAC9C,OAAO,EAAE,WAAW,CAAA;IAC7B,KAAK,UAAQ;IACH,gBAAgB,wBAA8B;IACxD,YAAY,EAAE,YAAY,CAAA;IAE1B,IAAI,MAAM,aAET;IAED,QAAQ;IAYR,UAAU;IAKV,iBAAiB,CAAC,OAAO,KAAA;yCA3Bd,0BAA0B;2CAA1B,0BAA0B;CAkCtC"}
|