geonetwork-ui 2.4.0-dev.00c93bef → 2.4.0-dev.0925104f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/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 +31 -3
- 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/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/data-access/gn4/src/openapi/api/records.api.service.mjs +2 -6
- 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 +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 +96 -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 +164 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +19 -41
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +10 -8
- 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 +44 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +28 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +10 -6
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +11 -11
- 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 +111 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +49 -52
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +16 -14
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +37 -43
- 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 +37 -4
- 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 +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/style/map-style.fixtures.mjs +3 -3
- 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 +48 -8
- package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -2
- package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
- 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/metadata-quality/metadata-quality.component.mjs +5 -11
- package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.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 +6 -10
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +11 -5
- 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/editable-label/editable-label.directive.mjs +26 -24
- 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/facets/fixtures/aggregations-model-response.mjs +7 -7
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +67 -0
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +31 -11
- package/esm2022/libs/ui/widgets/src/index.mjs +2 -1
- package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +68 -0
- package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
- package/esm2022/translations/de.json +64 -19
- package/esm2022/translations/en.json +57 -12
- package/esm2022/translations/es.json +54 -9
- package/esm2022/translations/fr.json +68 -23
- package/esm2022/translations/it.json +57 -12
- package/esm2022/translations/nl.json +54 -9
- package/esm2022/translations/pt.json +54 -9
- package/fesm2022/geonetwork-ui.mjs +4665 -3305
- package/fesm2022/geonetwork-ui.mjs.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 +7 -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/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 +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 +17 -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/data-access/gn4/src/openapi/api/records.api.service.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 +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 +44 -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 +8 -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-open-data/form-field-open-data.component.d.ts +15 -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 +13 -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-resource-updated/form-field-resource-updated.component.d.ts +4 -3
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.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 -4
- 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 +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 +15 -15
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-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 +15 -19
- 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/record-form.component.d.ts +3 -2
- package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/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/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 +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/style/map-style.fixtures.d.ts +2 -2
- package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +15 -4
- 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/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 -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/metadata-quality/metadata-quality.component.d.ts +0 -3
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.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/sortable-list/sortable-list.component.d.ts +5 -10
- 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 +8 -6
- 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/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/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/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/action-menu/action-menu.component.d.ts +20 -0
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/index.d.ts +1 -0
- package/libs/ui/widgets/src/index.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
- package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
- 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/package.json +1 -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 +42 -2
- 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/model/user/user.model.ts +1 -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 +22 -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 +84 -56
- 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 +6 -6
- 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/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
- package/src/libs/data-access/gn4/src/spec.yaml +0 -8
- package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
- package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
- 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.css +0 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +27 -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 +74 -31
- 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 +249 -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 +18 -51
- 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-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 +48 -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 +33 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +9 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +13 -7
- 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 +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.html +9 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +59 -70
- 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 +103 -68
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +43 -43
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +2 -1
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +7 -2
- 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/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 +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/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/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 +4 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +66 -3
- package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
- package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -0
- 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 -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/metadata-quality/metadata-quality.component.html +14 -20
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +0 -10
- package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
- 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 -10
- package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +7 -7
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +8 -2
- 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/editable-label/editable-label.directive.ts +40 -26
- 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/facets/fixtures/aggregations-model-response.ts +7 -6
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +26 -0
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +74 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +24 -3
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +27 -16
- package/src/libs/ui/widgets/src/index.ts +1 -0
- package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
- package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
- package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
- package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
- package/tailwind.base.css +18 -5
- package/translations/de.json +64 -19
- package/translations/en.json +57 -12
- package/translations/es.json +54 -9
- package/translations/fr.json +68 -23
- package/translations/it.json +57 -12
- package/translations/nl.json +54 -9
- package/translations/pt.json +54 -9
- package/translations/sk.json +55 -10
- 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
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export const GROUPS_FIXTURE = deepFreeze([
|
|
1
|
+
export const groupsFixture = () => [
|
|
4
2
|
{
|
|
5
3
|
logo: '047a5cb4-b942-41dc-9ffa-ffd229da064d.png',
|
|
6
4
|
website: 'http://www.are.admin.ch',
|
|
@@ -77,4 +75,4 @@ export const GROUPS_FIXTURE = deepFreeze([
|
|
|
77
75
|
eng: 'Ifremer',
|
|
78
76
|
},
|
|
79
77
|
},
|
|
80
|
-
]
|
|
78
|
+
]
|
|
@@ -1,170 +1,198 @@
|
|
|
1
|
-
import { deepFreeze } from './utils/freeze'
|
|
2
1
|
import { DatasetDistribution } from '../../../../../libs/common/domain/src/lib/model/record'
|
|
3
2
|
|
|
4
|
-
export const
|
|
5
|
-
|
|
3
|
+
export const someDataLinksFixture = (): DatasetDistribution[] => [
|
|
4
|
+
aSetOfLinksFixture().dataXls(),
|
|
5
|
+
{
|
|
6
|
+
description: 'CSV file',
|
|
7
|
+
name: 'some_file_name.csv',
|
|
8
|
+
url: new URL('https://test.org/some_file_name.csv'),
|
|
9
|
+
type: 'download',
|
|
10
|
+
},
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
export const someGeoDatalinksFixture = (): DatasetDistribution[] => [
|
|
14
|
+
{
|
|
15
|
+
description: 'Geojson file',
|
|
16
|
+
name: 'some_file_name.geojson',
|
|
17
|
+
url: new URL('https://test.org/some_file_name.geojson'),
|
|
18
|
+
type: 'download',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
description: 'Service WFS',
|
|
22
|
+
name: 'abc:featureType',
|
|
23
|
+
url: new URL('https://test.org/wfs'),
|
|
24
|
+
type: 'service',
|
|
25
|
+
accessServiceProtocol: 'wfs',
|
|
26
|
+
},
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
export const aSetOfLinksFixture = (): Record<
|
|
30
|
+
string,
|
|
31
|
+
() => DatasetDistribution
|
|
32
|
+
> => ({
|
|
33
|
+
readmeLink: () => ({
|
|
6
34
|
description: 'Readme page',
|
|
7
35
|
type: 'link',
|
|
8
36
|
url: new URL('http://envlit.ifremer.fr/resultats/quadrige'),
|
|
9
|
-
},
|
|
10
|
-
doiLink: {
|
|
37
|
+
}),
|
|
38
|
+
doiLink: () => ({
|
|
11
39
|
description: 'DOI for the resource',
|
|
12
40
|
type: 'link',
|
|
13
41
|
url: new URL('http://doi.org/123-456-678'),
|
|
14
|
-
},
|
|
15
|
-
dataCsv: {
|
|
42
|
+
}),
|
|
43
|
+
dataCsv: () => ({
|
|
16
44
|
name: 'abc.csv',
|
|
17
45
|
description: 'Data in CSV format',
|
|
18
46
|
type: 'download',
|
|
19
47
|
url: new URL('http://my.server/files/abc.csv'),
|
|
20
|
-
},
|
|
21
|
-
dataPdf: {
|
|
48
|
+
}),
|
|
49
|
+
dataPdf: () => ({
|
|
22
50
|
name: 'abc.pdf',
|
|
23
51
|
description: 'Data in PDF format',
|
|
24
52
|
type: 'download',
|
|
25
53
|
url: new URL('https://my.server/files/abc.pdf'),
|
|
26
|
-
},
|
|
27
|
-
dataJpg: {
|
|
54
|
+
}),
|
|
55
|
+
dataJpg: () => ({
|
|
28
56
|
name: 'abc.jpg',
|
|
29
57
|
description: 'Data in JPG format',
|
|
30
58
|
type: 'download',
|
|
31
59
|
url: new URL('https://my.server/files/abc.jpg'),
|
|
32
|
-
},
|
|
33
|
-
dataZip: {
|
|
60
|
+
}),
|
|
61
|
+
dataZip: () => ({
|
|
34
62
|
name: 'abc.zip',
|
|
35
63
|
description: 'Data in ZIP format',
|
|
36
64
|
type: 'download',
|
|
37
65
|
url: new URL('https://my.server/files/abc.zip'),
|
|
38
|
-
},
|
|
39
|
-
dataXls: {
|
|
66
|
+
}),
|
|
67
|
+
dataXls: () => ({
|
|
40
68
|
name: 'abc.xls',
|
|
41
69
|
description: 'Data in XLS format',
|
|
42
70
|
type: 'download',
|
|
43
71
|
url: new URL('https://my.server/files/abc.xls'),
|
|
44
|
-
},
|
|
45
|
-
dataXlsx: {
|
|
72
|
+
}),
|
|
73
|
+
dataXlsx: () => ({
|
|
46
74
|
name: 'abc.XLSX',
|
|
47
75
|
description: 'Data in XLSX format',
|
|
48
76
|
type: 'download',
|
|
49
77
|
url: new URL('https://my.server/files/abc.XLSX'),
|
|
50
|
-
},
|
|
51
|
-
dataJson: {
|
|
78
|
+
}),
|
|
79
|
+
dataJson: () => ({
|
|
52
80
|
name: 'abc.json',
|
|
53
81
|
description: 'Data in JSON format',
|
|
54
82
|
type: 'download',
|
|
55
83
|
url: new URL('https://my.server/files/abc.json'),
|
|
56
|
-
},
|
|
57
|
-
geodataJson: {
|
|
84
|
+
}),
|
|
85
|
+
geodataJson: () => ({
|
|
58
86
|
name: 'dataset.geojson',
|
|
59
87
|
description: 'Geographic data in GeoJSON format',
|
|
60
88
|
type: 'download',
|
|
61
89
|
url: new URL('http://my.server/files/geographic/dataset.geojson'),
|
|
62
|
-
},
|
|
63
|
-
geodataJsonWithMimeType: {
|
|
90
|
+
}),
|
|
91
|
+
geodataJsonWithMimeType: () => ({
|
|
64
92
|
name: 'dataset.geojson',
|
|
65
93
|
description: 'Geographic data in GeoJSON format',
|
|
66
94
|
type: 'download',
|
|
67
95
|
url: new URL('http://my.server/files/geographic/dataset'),
|
|
68
96
|
mimeType: 'application/vnd.geo+json',
|
|
69
|
-
},
|
|
70
|
-
geodataKml: {
|
|
97
|
+
}),
|
|
98
|
+
geodataKml: () => ({
|
|
71
99
|
name: 'dataset.kml',
|
|
72
100
|
description: 'Geographic data in KML format',
|
|
73
101
|
type: 'download',
|
|
74
102
|
url: new URL('http://my.server/files/geographic/dataset.kml'),
|
|
75
|
-
},
|
|
76
|
-
geodataGpkg: {
|
|
103
|
+
}),
|
|
104
|
+
geodataGpkg: () => ({
|
|
77
105
|
name: 'dataset.gpkg',
|
|
78
106
|
description: 'Geographic data in geopackage format',
|
|
79
107
|
type: 'download',
|
|
80
108
|
url: new URL('http://my.server/files/geographic/dataset.gpkg'),
|
|
81
|
-
},
|
|
82
|
-
geodataShp: {
|
|
109
|
+
}),
|
|
110
|
+
geodataShp: () => ({
|
|
83
111
|
name: 'dataset.shp',
|
|
84
112
|
description: 'Geographic data in shapefile format',
|
|
85
113
|
type: 'download',
|
|
86
114
|
url: new URL('http://my.server/files/geographic/dataset.zip'),
|
|
87
|
-
},
|
|
88
|
-
geodataShpWithMimeType: {
|
|
115
|
+
}),
|
|
116
|
+
geodataShpWithMimeType: () => ({
|
|
89
117
|
name: 'dataset',
|
|
90
118
|
description: 'Geographic data in shapefile format',
|
|
91
119
|
type: 'download',
|
|
92
120
|
url: new URL('http://my.server/files/geographic/dataset.zip'),
|
|
93
121
|
mimeType: 'x-gis/x-shapefile',
|
|
94
|
-
},
|
|
95
|
-
geodataWms: {
|
|
122
|
+
}),
|
|
123
|
+
geodataWms: () => ({
|
|
96
124
|
name: 'mylayer',
|
|
97
125
|
type: 'service',
|
|
98
126
|
url: new URL('https://my.ogc.server/wms'),
|
|
99
127
|
accessServiceProtocol: 'wms',
|
|
100
|
-
},
|
|
101
|
-
geodataWmts: {
|
|
128
|
+
}),
|
|
129
|
+
geodataWmts: () => ({
|
|
102
130
|
name: 'mylayer',
|
|
103
131
|
type: 'service',
|
|
104
132
|
url: new URL('https://my.ogc.server/wmts'),
|
|
105
133
|
accessServiceProtocol: 'wmts',
|
|
106
|
-
},
|
|
107
|
-
geodataWfs: {
|
|
134
|
+
}),
|
|
135
|
+
geodataWfs: () => ({
|
|
108
136
|
name: 'mylayer',
|
|
109
137
|
type: 'service',
|
|
110
138
|
url: new URL('https://my.ogc.server/wfs'),
|
|
111
139
|
accessServiceProtocol: 'wfs',
|
|
112
|
-
},
|
|
113
|
-
geodataWfsDownload: {
|
|
140
|
+
}),
|
|
141
|
+
geodataWfsDownload: () => ({
|
|
114
142
|
name: 'mylayer',
|
|
115
143
|
type: 'download',
|
|
116
144
|
url: new URL(
|
|
117
145
|
'https://my.ogc.server/wfs?GetFeature&FeatureType=surval_parametre_ligne&format=csv'
|
|
118
146
|
),
|
|
119
147
|
accessServiceProtocol: 'wfs',
|
|
120
|
-
},
|
|
121
|
-
geodataWms2: {
|
|
148
|
+
}),
|
|
149
|
+
geodataWms2: () => ({
|
|
122
150
|
name: 'myotherlayer',
|
|
123
151
|
type: 'service',
|
|
124
152
|
url: new URL('https://my.ogc.server/wms'),
|
|
125
153
|
accessServiceProtocol: 'wms',
|
|
126
|
-
},
|
|
127
|
-
geodataWfs2: {
|
|
154
|
+
}),
|
|
155
|
+
geodataWfs2: () => ({
|
|
128
156
|
name: 'myotherlayer',
|
|
129
157
|
type: 'service',
|
|
130
158
|
url: new URL('https://my.ogc.server/wfs'),
|
|
131
159
|
accessServiceProtocol: 'wfs',
|
|
132
|
-
},
|
|
133
|
-
geodataRest: {
|
|
160
|
+
}),
|
|
161
|
+
geodataRest: () => ({
|
|
134
162
|
name: 'myrestlayer',
|
|
135
163
|
type: 'service',
|
|
136
164
|
url: new URL('https://my.esri.server/FeatureServer'),
|
|
137
165
|
accessServiceProtocol: 'esriRest',
|
|
138
|
-
},
|
|
139
|
-
geodataRestWfs: {
|
|
166
|
+
}),
|
|
167
|
+
geodataRestWfs: () => ({
|
|
140
168
|
name: 'mywfsrestlayer',
|
|
141
169
|
type: 'service',
|
|
142
170
|
url: new URL('https://my.esri.server/WFSServer'),
|
|
143
171
|
accessServiceProtocol: 'wfs',
|
|
144
|
-
},
|
|
145
|
-
maplayerRest: {
|
|
172
|
+
}),
|
|
173
|
+
maplayerRest: () => ({
|
|
146
174
|
name: 'myotherrestlayer',
|
|
147
175
|
type: 'link',
|
|
148
176
|
url: new URL('https://my.esri.server/MapServer'),
|
|
149
|
-
},
|
|
150
|
-
landingPage: {
|
|
177
|
+
}),
|
|
178
|
+
landingPage: () => ({
|
|
151
179
|
name: 'landingpage link',
|
|
152
180
|
type: 'link',
|
|
153
181
|
url: new URL('https://landing.page'),
|
|
154
|
-
},
|
|
155
|
-
unknownFormat: {
|
|
182
|
+
}),
|
|
183
|
+
unknownFormat: () => ({
|
|
156
184
|
name: 'Vue HTML des métadonnées sur internet',
|
|
157
185
|
type: 'download',
|
|
158
186
|
url: new URL(
|
|
159
187
|
'http://catalogue.geo-ide.developpement-durable.gouv.fr/catalogue/srv/fre/catalog.search#/metadata/fr-120066022-jdd-199fd14c-2abb-4c14-b0f8-6c8d92e7b480'
|
|
160
188
|
),
|
|
161
|
-
},
|
|
162
|
-
ogcApiFormat: {
|
|
189
|
+
}),
|
|
190
|
+
ogcApiFormat: () => ({
|
|
163
191
|
name: 'ogc api features layer',
|
|
164
192
|
type: 'service',
|
|
165
193
|
url: new URL(
|
|
166
194
|
'https://mel.integration.apps.gs-fr-prod.camptocamp.com/data/ogcapi/collections/comptages_velo/items?'
|
|
167
195
|
),
|
|
168
196
|
accessServiceProtocol: 'ogcFeatures',
|
|
169
|
-
},
|
|
197
|
+
}),
|
|
170
198
|
})
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Feature from 'ol/Feature'
|
|
2
|
+
import { Geometry } from 'ol/geom'
|
|
3
|
+
|
|
4
|
+
export const openLayerFeatureFixture = (): Feature => {
|
|
5
|
+
const feature = new Feature()
|
|
6
|
+
feature.set('id', 123)
|
|
7
|
+
feature.set('name', 'ol_feature')
|
|
8
|
+
feature.set('geometry', new Geometry())
|
|
9
|
+
return feature
|
|
10
|
+
}
|
|
@@ -1,7 +1,39 @@
|
|
|
1
|
-
import { deepFreeze } from './utils/freeze'
|
|
2
1
|
import { Organization } from '../../../../../libs/common/domain/src/lib/model/record'
|
|
3
2
|
|
|
4
|
-
export const
|
|
3
|
+
export const createOrganizationFixture = (
|
|
4
|
+
overrides: Partial<Organization> = {}
|
|
5
|
+
): Organization => ({
|
|
6
|
+
name: 'anOrganizationName',
|
|
7
|
+
description: 'An organization description.',
|
|
8
|
+
email: 'contact@anOrganizationName.com',
|
|
9
|
+
website: new URL('https://www.anOrganizationName.com'),
|
|
10
|
+
logoUrl: new URL('https://www.anOrganizationName/logo.png'),
|
|
11
|
+
recordCount: 10,
|
|
12
|
+
...overrides,
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
export const barbieIncOrganizationFixture = (): Organization =>
|
|
16
|
+
createOrganizationFixture({
|
|
17
|
+
name: 'Barbie Inc.',
|
|
18
|
+
description:
|
|
19
|
+
"Barbie Incorporation is an iconic company creating dolls that inspire young generations. Founded on innovation, it offers diverse products reflecting everyone's aspirations. Barbie is more than a doll; she's a symbol of empowerment and creativity.",
|
|
20
|
+
email: 'contact@barbie-inc.com',
|
|
21
|
+
website: new URL('https://www.barbie-inc.com'),
|
|
22
|
+
logoUrl: new URL('https://www.barbie-inc.com/logo.png'),
|
|
23
|
+
recordCount: 4,
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
export const regionHautDeFranceOrganizationFixture = (): Organization =>
|
|
27
|
+
createOrganizationFixture({
|
|
28
|
+
name: 'Région Hauts-de-France',
|
|
29
|
+
description: 'A very sweet description about Région Hauts-de-France.',
|
|
30
|
+
email: 'contact@region-haut-de-france.com',
|
|
31
|
+
website: new URL('https://region-haut-de-france.com/'),
|
|
32
|
+
logoUrl: new URL('https://region-haut-de-france.com/logo.png'),
|
|
33
|
+
recordCount: 4,
|
|
34
|
+
})
|
|
35
|
+
|
|
36
|
+
export const someOrganizationsFixture = (): Organization[] => [
|
|
5
37
|
{
|
|
6
38
|
name: 'I Data Org',
|
|
7
39
|
description: 'one org for testing',
|
|
@@ -114,4 +146,6 @@ export const ORGANISATIONS_FIXTURE: Organization[] = deepFreeze([
|
|
|
114
146
|
logoUrl: new URL('https://my-geonetwork.org/logo12.png'),
|
|
115
147
|
recordCount: 2,
|
|
116
148
|
},
|
|
117
|
-
|
|
149
|
+
regionHautDeFranceOrganizationFixture(),
|
|
150
|
+
barbieIncOrganizationFixture(),
|
|
151
|
+
]
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export const RECORD_LINK_FIXTURE_WMS = deepFreeze({
|
|
1
|
+
export const wmsRecordLinkFixture = () => ({
|
|
4
2
|
description: 'Lieu de surveillance (point)',
|
|
5
3
|
name: 'surval_parametre_point',
|
|
6
4
|
protocol: 'OGC:WMS',
|
|
7
5
|
url: 'https://www.ifremer.fr/services/wms/surveillance_littorale',
|
|
8
6
|
})
|
|
9
|
-
|
|
7
|
+
|
|
8
|
+
export const wpsRecordLinkFixture = () => ({
|
|
10
9
|
description: "Extraction des données d'observation",
|
|
11
10
|
name: 'r:survalextraction',
|
|
12
11
|
protocol: 'OGC:WPS',
|
|
13
12
|
url: 'https://www.ifremer.fr/services/wps/surval',
|
|
14
13
|
})
|
|
15
|
-
|
|
14
|
+
|
|
15
|
+
export const wwwRecordLinkFixture = () => ({
|
|
16
16
|
description: '',
|
|
17
17
|
name: 'La base de données Quadrige',
|
|
18
18
|
protocol: 'WWW:LINK',
|
|
19
19
|
url: 'http://envlit.ifremer.fr/resultats/quadrige',
|
|
20
20
|
})
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
export const doiRecordLinkFixture = () => ({
|
|
22
23
|
protocol: 'WWW:DOI',
|
|
23
24
|
description: 'DOI for the resource',
|
|
24
25
|
url: 'http://doi.org/123-456-678',
|
|
25
26
|
})
|
|
26
|
-
|
|
27
|
+
|
|
28
|
+
export const wfsRecordLinkFixture = () => ({
|
|
27
29
|
description: 'Lieu de surveillance (point)',
|
|
28
30
|
name: 'surval_parametre_point',
|
|
29
31
|
protocol: 'OGC:WFS',
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DatasetRecord } from '../../../../../libs/common/domain/src/lib/model/record'
|
|
2
|
-
import { deepFreeze } from './utils'
|
|
3
2
|
|
|
4
|
-
export const
|
|
3
|
+
export const datasetRecordsFixture = () => [
|
|
5
4
|
{
|
|
6
5
|
uniqueIdentifier: 'my-dataset-001',
|
|
7
6
|
kind: 'dataset',
|
|
@@ -259,9 +258,9 @@ Ce lot de données produit en 2019, a été numérisé à partir du PCI Vecteur
|
|
|
259
258
|
updateFrequency: 'unknown',
|
|
260
259
|
languages: ['fr', 'de'],
|
|
261
260
|
},
|
|
262
|
-
]
|
|
261
|
+
]
|
|
263
262
|
|
|
264
|
-
export const
|
|
263
|
+
export const simpleDatasetRecordFixture = (): DatasetRecord => ({
|
|
265
264
|
uniqueIdentifier: 'my-dataset-001',
|
|
266
265
|
kind: 'dataset',
|
|
267
266
|
languages: [],
|
|
@@ -304,9 +303,10 @@ export const DATASET_RECORD_SIMPLE: DatasetRecord = {
|
|
|
304
303
|
},
|
|
305
304
|
],
|
|
306
305
|
updateFrequency: { per: 'month', updatedTimes: 3 },
|
|
307
|
-
}
|
|
306
|
+
})
|
|
308
307
|
|
|
309
|
-
export const
|
|
308
|
+
export const simpleDatasetRecordAsXmlFixture =
|
|
309
|
+
(): string => `<?xml version="1.0" encoding="UTF-8"?>
|
|
310
310
|
<mdb:MD_Metadata xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/2.0" xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0" xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/2.0" xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0" xmlns:mco="http://standards.iso.org/iso/19115/-3/mco/1.0" xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mmi="http://standards.iso.org/iso/19115/-3/mmi/1.0" xmlns:mrd="http://standards.iso.org/iso/19115/-3/mrd/1.0" xmlns:mrl="http://standards.iso.org/iso/19115/-3/mrl/2.0">
|
|
311
311
|
<mdb:metadataIdentifier>
|
|
312
312
|
<mcc:MD_Identifier>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { deepFreeze } from './utils/freeze'
|
|
2
1
|
import { SearchResults } from '../../../../../libs/common/domain/src/lib/model/search'
|
|
3
|
-
import {
|
|
2
|
+
import { datasetRecordsFixture } from './records.fixtures'
|
|
3
|
+
import { CatalogRecord } from '../../../../../libs/common/domain/src/lib/model/record'
|
|
4
4
|
|
|
5
|
-
export const
|
|
5
|
+
export const searchResultsFixture = (): SearchResults => ({
|
|
6
6
|
count: 123,
|
|
7
|
-
records:
|
|
7
|
+
records: datasetRecordsFixture() as CatalogRecord[],
|
|
8
8
|
})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { deepFreeze } from '../utils/freeze'
|
|
2
1
|
import {
|
|
3
2
|
AggregationParams,
|
|
4
3
|
Aggregations,
|
|
@@ -30,13 +29,13 @@ export const FILTERS_AGGREGATION: AggregationParams = {
|
|
|
30
29
|
},
|
|
31
30
|
},
|
|
32
31
|
}
|
|
33
|
-
export const SAMPLE_AGGREGATIONS_PARAMS: AggregationsParams
|
|
32
|
+
export const SAMPLE_AGGREGATIONS_PARAMS = (): AggregationsParams => ({
|
|
34
33
|
myField: TERMS_AGGREGATION,
|
|
35
34
|
myValueField: HISTOGRAM_AGGREGATION,
|
|
36
35
|
myFilters: FILTERS_AGGREGATION,
|
|
37
36
|
})
|
|
38
37
|
|
|
39
|
-
export const SAMPLE_AGGREGATIONS_RESULTS: Aggregations
|
|
38
|
+
export const SAMPLE_AGGREGATIONS_RESULTS = (): Aggregations => ({
|
|
40
39
|
myField: {
|
|
41
40
|
buckets: [
|
|
42
41
|
{ term: 'Hungary', count: 20 },
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import { UserFeedback } from '../../../../../libs/common/domain/src/lib/model/record'
|
|
2
|
-
import { deepFreeze } from './utils'
|
|
3
2
|
|
|
4
|
-
export const
|
|
3
|
+
export const userFeedbackFixture = (): UserFeedback => ({
|
|
4
|
+
uuid: '4ad03fb7-1728-424c-bdaa-aedd531b07a8',
|
|
5
|
+
comment: 'A nice comment.',
|
|
6
|
+
metadataUUID: 'my-dataset-001',
|
|
7
|
+
authorUserId: '46798',
|
|
8
|
+
authorName: 'Arnaud De Maison',
|
|
9
|
+
authorEmail: 'a.demaison@geo2france.fr',
|
|
10
|
+
published: true,
|
|
11
|
+
parentUuid: undefined,
|
|
12
|
+
date: new Date('2023-01-01T08:00:00Z'),
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
export const someUserFeedbacksFixture = (): UserFeedback[] => [
|
|
5
16
|
{
|
|
6
17
|
uuid: '4ad03fb7-1728-424c-bdaa-aedd531b07a8',
|
|
7
18
|
comment: 'A nice comment.',
|
|
@@ -68,16 +79,4 @@ export const SOME_USER_FEEDBACKS: UserFeedback[] = deepFreeze([
|
|
|
68
79
|
parentUuid: undefined,
|
|
69
80
|
date: new Date('2023-01-01T11:00:00Z'),
|
|
70
81
|
},
|
|
71
|
-
]
|
|
72
|
-
|
|
73
|
-
export const A_USER_FEEDBACK: UserFeedback = deepFreeze({
|
|
74
|
-
uuid: '4ad03fb7-1728-424c-bdaa-aedd531b07a8',
|
|
75
|
-
comment: 'A nice comment.',
|
|
76
|
-
metadataUUID: 'my-dataset-001',
|
|
77
|
-
authorUserId: '46798',
|
|
78
|
-
authorName: 'Arnaud De Maison',
|
|
79
|
-
authorEmail: 'a.demaison@geo2france.fr',
|
|
80
|
-
published: true,
|
|
81
|
-
parentUuid: undefined,
|
|
82
|
-
date: new Date('2023-01-01T08:00:00Z'),
|
|
83
|
-
})
|
|
82
|
+
]
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { UserModel } from '../../../../../libs/common/domain/src/lib/model/user/user.model'
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const createUserFixture = (
|
|
4
|
+
overrides: Partial<UserModel> = {}
|
|
5
|
+
): UserModel => ({
|
|
4
6
|
id: '46798',
|
|
5
7
|
profile: 'Administrator',
|
|
6
8
|
username: 'Gravin',
|
|
@@ -10,23 +12,38 @@ export const USER_FIXTURE = (): UserModel => ({
|
|
|
10
12
|
organisation: 'Région Hauts-de-France',
|
|
11
13
|
profileIcon:
|
|
12
14
|
'https://www.gravatar.com/avatar/dbdffd183622800bcf8587328daf43a6?d=mp',
|
|
15
|
+
...overrides,
|
|
13
16
|
})
|
|
14
17
|
|
|
15
|
-
export const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
export const barbieUserFixture = (): UserModel =>
|
|
19
|
+
createUserFixture({
|
|
20
|
+
id: '46798',
|
|
21
|
+
profile: 'Administrator',
|
|
22
|
+
username: 'barbie',
|
|
23
|
+
name: 'Barbara',
|
|
24
|
+
surname: 'Roberts',
|
|
25
|
+
email: 'barbie@email.org',
|
|
26
|
+
organisation: 'Barbie Inc.',
|
|
27
|
+
profileIcon:
|
|
28
|
+
'https://www.gravatar.com/avatar/dbdffd183622800bcf8587328daf43a6?d=mp',
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
export const ghostUserFixture = (): UserModel =>
|
|
32
|
+
createUserFixture({
|
|
33
|
+
id: '161',
|
|
34
|
+
profile: 'Administrator',
|
|
35
|
+
username: 'ghost',
|
|
36
|
+
name: 'Ghost',
|
|
37
|
+
surname: 'Old',
|
|
38
|
+
email: 'old.ghost@wiz.fr',
|
|
39
|
+
organisation: 'wizard-org',
|
|
40
|
+
profileIcon:
|
|
41
|
+
'https://www.gravatar.com/avatar/dbdffd183622800bcf8587328daf43a6?d=mp',
|
|
42
|
+
})
|
|
26
43
|
|
|
27
|
-
export const
|
|
28
|
-
|
|
29
|
-
|
|
44
|
+
export const someUsersFixture = (): UserModel[] => [
|
|
45
|
+
barbieUserFixture(),
|
|
46
|
+
ghostUserFixture(),
|
|
30
47
|
{
|
|
31
48
|
id: '1',
|
|
32
49
|
profile: 'Editor',
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const siteFixture = () => ({
|
|
2
2
|
'system/platform/subVersion': 'alpha.2',
|
|
3
3
|
'system/platform/version': '4.0.0',
|
|
4
4
|
'system/site/name': 'GeoNetwork 4',
|
|
5
5
|
'system/site/organization': 'titellus',
|
|
6
6
|
'system/site/siteId': '04fe602b-fc46-4e6b-ac5a-138c6153eceb',
|
|
7
|
-
}
|
|
7
|
+
})
|
|
8
8
|
|
|
9
|
-
export const
|
|
9
|
+
export const settingsFixture = () => ({
|
|
10
10
|
'system/site/name': 'GeoNetwork 4',
|
|
11
11
|
'system/site/siteId': '04fe602b-fc46-4e6b-ac5a-138c6153eceb',
|
|
12
12
|
'system/site/organization': 'titellus',
|
|
@@ -62,4 +62,4 @@ export const SETTINGS_FIXTURES = {
|
|
|
62
62
|
'system/publication/doi/doilandingpagetemplate':
|
|
63
63
|
'http://localhost:8080/geonetwork/srv/resources/records/{{uuid}}',
|
|
64
64
|
'system/feedback/mailServer/hostIsDefined': false,
|
|
65
|
-
}
|
|
65
|
+
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const uiFixture = () => ({
|
|
2
2
|
id: 'srv',
|
|
3
3
|
configuration:
|
|
4
4
|
'{"langDetector":{"fromHtmlTag":false,"regexp":"^(?:/.+)?/.+/([a-z]{2,3})/.+","default":"eng"},"nodeDetector":{"regexp":"^(?:/.+)?/(.+)/[a-z]{2,3}/.+","default":"srv"},"serviceDetector":{"regexp":"^(?:/.+)?/.+/[a-z]{2,3}/(.+)","default":"catalog.search"},"baseURLDetector":{"regexp":"^((?:/.+)?)+/.+/[a-z]{2,3}/.+","default":"/geonetwork"},"mods":{"global":{"humanizeDates":true},"footer":{"enabled":true,"showSocialBarInFooter":true},"header":{"enabled":true,"languages":{"eng":"en","dut":"nl","fre":"fr","ger":"de","kor":"ko","spa":"es","cze":"cs","cat":"ca","fin":"fi","ice":"is","ita":"it","por":"pt","rus":"ru","chi":"zh","slo":"sk"},"isLogoInHeader":false,"logoInHeaderPosition":"left","fluidHeaderLayout":true,"showGNName":true,"isHeaderFixed":false},"cookieWarning":{"enabled":true,"cookieWarningMoreInfoLink":"","cookieWarningRejectLink":""},"home":{"enabled":true,"appUrl":"../../{{node}}/{{lang}}/catalog.search#/home","showSocialBarInFooter":true,"fluidLayout":true,"facetConfig":{"inspireThemeUri":{"terms":{"field":"inspireThemeUri","size":34}},"topic_text":{"terms":{"field":"topic_text","size":20}},"codelist_hierarchyLevel_text":{"terms":{"field":"codelist_hierarchyLevel_text","size":10}}}},"search":{"enabled":true,"appUrl":"../../{{node}}/{{lang}}/catalog.search#/search","hitsperpageValues":[30,60,120],"paginationInfo":{"hitsPerPage":30},"queryBase":"${any} resourceTitleObject.default:(${any})^2","scoreConfig":{"boost":"5","functions":[{"filter":{"exists":{"field":"parentUuid"}},"weight":0.3},{"filter":{"match":{"codelist_status":"obsolete"}},"weight":0.3},{"gauss":{"dateStamp":{"scale":"365d","offset":"90d","decay":0.5}}}],"score_mode":"multiply"},"autocompleteConfig":{"query":{"bool":{"must":[{"multi_match":{"query":"","type":"bool_prefix","fields":["resourceTitleObject.*","resourceAbstractObject.*","tag","resourceIdentifier"]}}]}},"_source":["resourceTitleObject"],"from":0,"size":20},"moreLikeThisConfig":{"more_like_this":{"fields":["resourceTitleObject.default","resourceAbstractObject.default","tag.raw"],"like":null,"min_term_freq":1,"max_query_terms":12}},"facetTabField":"","facetConfig":{"codelist_hierarchyLevel_text":{"terms":{"field":"codelist_hierarchyLevel_text"},"aggs":{"format":{"terms":{"field":"format"}}}},"codelist_spatialRepresentationType":{"terms":{"field":"codelist_spatialRepresentationType","size":10}},"availableInServices":{"filters":{"filters":{"availableInViewService":{"query_string":{"query":"+linkProtocol:/OGC:WMS.*/"}},"availableInDownloadService":{"query_string":{"query":"+linkProtocol:/OGC:WFS.*/"}}}}},"thesaurus_geonetworkthesaurusexternalthemegemet_tree":{"terms":{"field":"thesaurus_geonetworkthesaurusexternalthemegemet_tree","size":100,"order":{"_key":"asc"},"include":"[^/]+/?[^/]+"}},"tag":{"terms":{"field":"tag","include":".*","size":10}},"thesaurus_geonetworkthesaurusexternalplaceregions_tree":{"terms":{"field":"thesaurus_geonetworkthesaurusexternalplaceregions_tree","size":100,"order":{"_key":"asc"}}},"resolutionScaleDenominator":{"collapsed":true,"terms":{"field":"resolutionScaleDenominator","size":10,"order":{"_key":"asc"}}},"creationYearForResource":{"collapsed":true,"terms":{"field":"creationYearForResource","size":10,"order":{"_key":"desc"}}},"OrgForResource":{"terms":{"field":"OrgForResource","size":15}},"codelist_maintenanceAndUpdateFrequency_text":{"collapsed":true,"terms":{"field":"codelist_maintenanceAndUpdateFrequency_text","size":10}},"codelist_status_text":{"terms":{"field":"codelist_status_text","size":10}},"dateStamp":{"userHasRole":"isReviewerOrMore","auto_date_histogram":{"field":"dateStamp","buckets":50}}},"filters":null,"sortbyValues":[{"sortBy":"relevance","sortOrder":""},{"sortBy":"dateStamp","sortOrder":"desc"},{"sortBy":"createDate","sortOrder":"desc"},{"sortBy":"resourceTitleObject.default.keyword","sortOrder":""},{"sortBy":"rating","sortOrder":"desc"},{"sortBy":"popularity","sortOrder":"desc"}],"sortBy":"relevance","resultViewTpls":[{"tplUrl":"../../catalog/components/search/resultsview/partials/viewtemplates/grid.html","tooltip":"Grid","icon":"fa-th"},{"tplUrl":"../../catalog/components/search/resultsview/partials/viewtemplates/list.html","tooltip":"List","icon":"fa-bars"}],"resultTemplate":"../../catalog/components/search/resultsview/partials/viewtemplates/grid.html","formatter":{"list":[{"label":"defaultView","url":""},{"label":"full","url":"/formatters/xsl-view?root=div&view=advanced"}],"defaultUrl":""},"downloadFormatter":[{"label":"exportMEF","url":"/formatters/zip?withRelated=false","class":"fa-file-zip-o"},{"label":"exportPDF","url":"/formatters/xsl-view?output=pdf&language=${lang}","class":"fa-file-pdf-o"},{"label":"exportXML","url":"/formatters/xml","class":"fa-file-code-o"}],"grid":{"related":["parent","children","services","datasets"]},"linkTypes":{"links":["LINK","kml"],"downloads":["DOWNLOAD"],"layers":["OGC","ESRI:REST"],"maps":["ows"]},"isFilterTagsDisplayedInSearch":true,"usersearches":{"enabled":false,"displayFeaturedSearchesPanel":false},"savedSelection":{"enabled":false}},"map":{"enabled":true,"appUrl":"../../{{node}}/{{lang}}/catalog.search#/map","externalViewer":{"enabled":false,"enabledViewAction":false,"baseUrl":"http://www.example.com/viewer","urlTemplate":"http://www.example.com/viewer?url=${service.url}&type=${service.type}&layer=${service.title}&lang=${iso2lang}&title=${md.defaultTitle}","openNewWindow":false,"valuesSeparator":","},"is3DModeAllowed":false,"isSaveMapInCatalogAllowed":true,"isExportMapAsImageEnabled":false,"storage":"sessionStorage","bingKey":"","listOfServices":{"wms":[],"wmts":[]},"projection":"EPSG:3857","projectionList":[{"code":"urn:ogc:def:crs:EPSG:6.6:4326","label":"WGS84 (EPSG:4326)"},{"code":"EPSG:3857","label":"Google mercator (EPSG:3857)"}],"switcherProjectionList":[{"code":"EPSG:3857","label":"Google mercator (EPSG:3857)"}],"disabledTools":{"processes":false,"addLayers":false,"projectionSwitcher":false,"layers":false,"legend":false,"filter":false,"contexts":false,"print":false,"mInteraction":false,"graticule":false,"mousePosition":true,"syncAllLayers":false,"drawVector":false},"graticuleOgcService":{},"map-viewer":{"context":"../../map/config-viewer.xml","extent":[0,0,0,0],"layers":[]},"map-search":{"context":"../../map/config-viewer.xml","extent":[0,0,0,0],"layers":[]},"map-editor":{"context":"","extent":[0,0,0,0],"layers":[{"type":"osm"}]},"autoFitOnLayer":false},"geocoder":{"enabled":true,"appUrl":"https://secure.geonames.org/searchJSON"},"recordview":{"enabled":true,"isSocialbarEnabled":true},"editor":{"enabled":true,"appUrl":"../../{{node}}/{{lang}}/catalog.edit","isUserRecordsOnly":false,"minUserProfileToCreateTemplate":"","isFilterTagsDisplayed":false,"fluidEditorLayout":true,"createPageTpl":"../../catalog/templates/editor/new-metadata-horizontal.html","editorIndentType":"","allowRemoteRecordLink":true,"facetConfig":{"resourceType":{"terms":{"field":"resourceType","size":20}},"codelist_status_text":{"terms":{"field":"codelist_status_text","size":15}},"sourceCatalogue":{"terms":{"field":"sourceCatalogue","size":15}},"isValid":{"terms":{"field":"isValid","size":10}},"isValidInspire":{"terms":{"field":"isValidInspire","size":10}},"groupOwner":{"terms":{"field":"groupOwner","size":10}},"recordOwner":{"terms":{"field":"recordOwner","size":10}},"groupPublished":{"terms":{"field":"groupPublished","size":10}},"documentStandard":{"terms":{"field":"documentStandard","size":10}},"isHarvested":{"terms":{"field":"isHarvested","size":2}},"isTemplate":{"terms":{"field":"isTemplate","size":5}},"isPublishedToAll":{"terms":{"field":"isPublishedToAll","size":2}}}},"admin":{"enabled":true,"appUrl":"../../{{node}}/{{lang}}/admin.console"},"signin":{"enabled":true,"appUrl":"../../{{node}}/{{lang}}/catalog.signin"},"signout":{"appUrl":"../../signout"},"page":{"enabled":true,"appUrl":"../../{{node}}/{{lang}}/catalog.search#/page"}}}',
|
|
5
|
-
}
|
|
5
|
+
})
|
|
@@ -7201,11 +7201,7 @@ export class RecordsApiService {
|
|
|
7201
7201
|
}
|
|
7202
7202
|
|
|
7203
7203
|
// to determine the Content-Type header
|
|
7204
|
-
const consumes: string[] = [
|
|
7205
|
-
'application/xml',
|
|
7206
|
-
'application/json',
|
|
7207
|
-
'application/x-www-form-urlencoded',
|
|
7208
|
-
]
|
|
7204
|
+
const consumes: string[] = ['application/xml']
|
|
7209
7205
|
const httpContentTypeSelected: string | undefined =
|
|
7210
7206
|
this.configuration.selectHeaderContentType(consumes)
|
|
7211
7207
|
if (httpContentTypeSelected !== undefined) {
|
|
@@ -1832,14 +1832,6 @@ paths:
|
|
|
1832
1832
|
schema:
|
|
1833
1833
|
type: string
|
|
1834
1834
|
description: XML fragment.
|
|
1835
|
-
application/json:
|
|
1836
|
-
schema:
|
|
1837
|
-
type: string
|
|
1838
|
-
description: XML fragment.
|
|
1839
|
-
application/x-www-form-urlencoded:
|
|
1840
|
-
schema:
|
|
1841
|
-
type: string
|
|
1842
|
-
description: XML fragment.
|
|
1843
1835
|
responses:
|
|
1844
1836
|
default:
|
|
1845
1837
|
description: default response
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const someFigureItemFixture = () => [
|
|
2
2
|
{
|
|
3
3
|
name: 'name 1',
|
|
4
4
|
id: 'id 1',
|
|
@@ -16,7 +16,7 @@ export const FIGURE_ITEM_FIXTURE = [
|
|
|
16
16
|
},
|
|
17
17
|
]
|
|
18
18
|
|
|
19
|
-
export const
|
|
19
|
+
export const someHabFigureItemFixture = () => [
|
|
20
20
|
{
|
|
21
21
|
name: 'France',
|
|
22
22
|
id: '1',
|