geonetwork-ui 2.3.0-dev.376e0e90 → 2.3.0-dev.3e7f46f3
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/index.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +6 -2
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +2 -2
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +9 -7
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +23 -8
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +15 -4
- package/esm2022/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.mjs +1 -1
- package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +12 -1
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +36 -3
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +21 -7
- package/esm2022/libs/common/domain/src/lib/model/record/index.mjs +2 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/record/user-feedbacks.model.mjs +2 -0
- package/esm2022/libs/common/domain/src/lib/model/user/index.mjs +2 -0
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +35 -7
- package/esm2022/libs/data-access/gn4/src/openapi/model/models.mjs +1 -2
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +48 -3
- package/esm2022/libs/feature/editor/src/index.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +6 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +11 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +28 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +64 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +11 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +15 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +45 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +50 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +11 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +11 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +104 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +126 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +2 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +10 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +29 -0
- package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +10 -10
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +23 -1
- package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +6 -2
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +3 -3
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +125 -0
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -3
- package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +12 -7
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +2 -1
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +100 -32
- package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +18 -51
- package/esm2022/libs/feature/notifications/src/index.mjs +4 -0
- package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +18 -0
- package/esm2022/libs/feature/notifications/src/lib/notification.model.mjs +2 -0
- package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +49 -0
- package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +29 -0
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +4 -4
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +18 -9
- package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +22 -4
- package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +37 -10
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +52 -8
- package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +50 -17
- package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +18 -3
- package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +2 -2
- package/esm2022/libs/feature/search/src/index.mjs +2 -1
- package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +1 -1
- package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +1 -1
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +3 -3
- package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +1 -1
- package/esm2022/libs/ui/elements/src/index.mjs +16 -16
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -2
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +30 -0
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +16 -3
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +45 -0
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +34 -0
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +98 -36
- package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +4 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +19 -15
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +59 -0
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +60 -0
- package/esm2022/libs/ui/inputs/src/index.mjs +16 -16
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -1
- package/esm2022/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.mjs +4 -3
- package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +22 -0
- package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +7 -5
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +19 -8
- package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +59 -0
- package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +183 -0
- package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +29 -0
- package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +27 -4
- package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +21 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +21 -31
- package/esm2022/libs/ui/layout/src/index.mjs +7 -5
- package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +76 -0
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +42 -18
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +18 -0
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +3 -8
- package/esm2022/libs/util/app-config/src/lib/app-config.mjs +3 -1
- package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
- package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +2 -2
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +22 -1
- package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -0
- package/esm2022/libs/util/shared/src/lib/utils/image-resize.mjs +60 -0
- package/esm2022/libs/util/shared/src/lib/utils/index.mjs +8 -6
- package/esm2022/translations/de.json +44 -0
- package/esm2022/translations/en.json +44 -0
- package/esm2022/translations/es.json +44 -0
- package/esm2022/translations/fr.json +44 -0
- package/esm2022/translations/it.json +44 -0
- package/esm2022/translations/nl.json +44 -0
- package/esm2022/translations/pt.json +44 -0
- package/fesm2022/geonetwork-ui.mjs +4974 -3142
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.ts +1 -0
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts +2 -2
- package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +4 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +2 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +6 -2
- 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 +9 -6
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/index.d.ts +1 -0
- package/libs/common/domain/src/lib/model/record/index.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +3 -3
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts +15 -0
- package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts.map +1 -0
- package/libs/common/domain/src/lib/model/user/index.d.ts +2 -0
- package/libs/common/domain/src/lib/model/user/index.d.ts.map +1 -0
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +3 -0
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +9 -5
- package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/models.d.ts +0 -1
- package/libs/data-access/gn4/src/openapi/model/models.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +4 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/editor/src/index.d.ts +1 -1
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +8 -5
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +39 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.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 +8 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +16 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.d.ts +2 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +21 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.d.ts +13 -4
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.d.ts +3 -3
- package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts +1 -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.map +1 -1
- package/libs/feature/editor/src/lib/models/fields.model.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-ogc-api/add-layer-from-ogc-api.component.d.ts +28 -0
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -0
- package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -1
- 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 +2 -0
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +17 -5
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +2 -3
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
- package/libs/feature/notifications/src/index.d.ts +4 -0
- package/libs/feature/notifications/src/index.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +7 -0
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/notification.model.d.ts +7 -0
- package/libs/feature/notifications/src/lib/notification.model.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts +12 -0
- package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/notifications.service.d.ts +15 -0
- package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -0
- package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts +40 -6
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts +24 -4
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +18 -5
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +8 -5
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +12 -9
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
- package/libs/feature/search/src/index.d.ts +1 -0
- package/libs/feature/search/src/index.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts +3 -3
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +15 -15
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/error/error.component.d.ts +16 -0
- package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +3 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +13 -0
- package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/notification/notification.component.d.ts +13 -0
- package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +24 -4
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +29 -28
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts +11 -0
- package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts +21 -0
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/index.d.ts +15 -15
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts +9 -0
- package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts +2 -1
- package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts +14 -0
- package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +44 -0
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +12 -0
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +7 -1
- 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 +5 -1
- 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 +35 -42
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +6 -4
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +25 -0
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts +13 -6
- package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +8 -0
- package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts +4 -5
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/model.d.ts +1 -0
- package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts +18 -0
- package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -0
- package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -0
- package/libs/util/shared/src/lib/utils/image-resize.d.ts +3 -0
- package/libs/util/shared/src/lib/utils/image-resize.d.ts.map +1 -0
- package/libs/util/shared/src/lib/utils/index.d.ts +7 -5
- package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +9 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +7 -1
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +3 -3
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +35 -31
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +68 -16
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +72 -17
- package/src/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.ts +1 -0
- package/src/libs/api/repository/src/lib/gn4/auth/gravatar.service.ts +12 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +51 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +40 -7
- package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -3
- package/src/libs/common/domain/src/lib/model/record/user-feedbacks.model.ts +15 -0
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +3 -0
- package/src/libs/common/fixtures/src/index.ts +8 -6
- package/src/libs/common/fixtures/src/lib/link.fixtures.ts +8 -0
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +11 -3
- package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +83 -0
- package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +43 -12
- package/src/libs/data-access/gn4/src/openapi/model/models.ts +0 -1
- package/src/libs/data-access/gn4/src/spec.yaml +1 -1
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +66 -2
- package/src/libs/feature/editor/src/index.ts +1 -1
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +8 -1
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +8 -0
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +70 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.ts +1 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.ts +4 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.html +8 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +64 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +15 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +20 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +44 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.ts +4 -1
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css +0 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +14 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +143 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +97 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +142 -0
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.css +0 -0
- package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.html +1 -0
- package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.ts +4 -4
- package/src/libs/feature/editor/src/lib/feature-editor.module.ts +9 -9
- package/src/libs/feature/editor/src/lib/fields.config.ts +22 -0
- package/src/libs/feature/editor/src/lib/models/fields.model.ts +1 -1
- 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.html +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.css +7 -0
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +50 -0
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +135 -0
- package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -0
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +8 -0
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +5 -0
- package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +17 -3
- package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +108 -40
- package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +23 -63
- package/src/libs/feature/notifications/src/index.ts +3 -0
- package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +10 -0
- package/src/libs/feature/notifications/src/lib/notification.model.ts +6 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.css +0 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.html +17 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts +44 -0
- package/src/libs/feature/notifications/src/lib/notifications.service.ts +27 -0
- package/src/libs/feature/record/src/lib/feature-record.module.ts +5 -2
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +17 -10
- package/src/libs/feature/record/src/lib/state/mdview.actions.ts +51 -6
- package/src/libs/feature/record/src/lib/state/mdview.effects.ts +82 -7
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +86 -9
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +79 -24
- package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +40 -10
- package/src/libs/feature/router/src/lib/default/state/router.effects.ts +2 -2
- package/src/libs/feature/search/src/index.ts +1 -0
- package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +4 -4
- package/src/libs/feature/search/src/lib/results-table/results-table.component.html +3 -3
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +2 -2
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +5 -5
- package/src/libs/ui/elements/src/index.ts +15 -15
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +2 -1
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +1 -1
- package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.html → error/error.component.html} +18 -3
- package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.ts → error/error.component.ts} +5 -4
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +38 -20
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +12 -0
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.css +0 -5
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +0 -21
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -14
- package/src/libs/ui/elements/src/lib/notification/notification.component.css +0 -0
- package/src/libs/ui/elements/src/lib/notification/notification.component.html +52 -0
- package/src/libs/ui/elements/src/lib/notification/notification.component.ts +31 -0
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +27 -11
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +125 -30
- package/src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts +5 -3
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +9 -7
- package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +54 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.css +0 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.html +75 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +62 -0
- package/src/libs/ui/inputs/src/index.ts +15 -15
- package/src/libs/ui/inputs/src/lib/button/button.component.ts +1 -1
- package/src/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.ts +3 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +3 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +11 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +16 -0
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +8 -1
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -0
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +14 -0
- package/src/libs/ui/inputs/src/lib/files-drop/files-drop.directive.ts +45 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +0 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +146 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +193 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.css +6 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.html +26 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.ts +32 -0
- 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 +29 -0
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +2 -1
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +17 -1
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +6 -22
- package/src/libs/ui/layout/src/index.ts +6 -4
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +23 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +20 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +84 -0
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +8 -4
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +4 -4
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.ts +45 -15
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.css +0 -0
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +18 -0
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +16 -0
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -2
- package/src/libs/util/app-config/src/lib/app-config.ts +2 -0
- package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
- package/src/libs/util/app-config/src/lib/model.ts +1 -0
- package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +1 -1
- package/src/libs/util/shared/src/lib/links/link-utils.ts +21 -0
- package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +3 -0
- package/src/libs/util/shared/src/lib/utils/image-resize.ts +72 -0
- package/src/libs/util/shared/src/lib/utils/index.ts +7 -5
- package/tailwind.base.css +36 -0
- package/translations/de.json +44 -0
- package/translations/en.json +44 -0
- package/translations/es.json +44 -0
- package/translations/fr.json +44 -0
- package/translations/it.json +44 -0
- package/translations/nl.json +44 -0
- package/translations/pt.json +44 -0
- package/translations/sk.json +44 -0
- package/esm2022/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.mjs +0 -13
- package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +0 -30
- package/esm2022/libs/ui/elements/src/lib/search-results-error/search-results-error.component.mjs +0 -29
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.mjs +0 -11
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.mjs +0 -27
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.mjs +0 -11
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.mjs +0 -27
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.mjs +0 -49
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +0 -11
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.component.mjs +0 -76
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.model.mjs +0 -2
- package/esm2022/libs/ui/inputs/src/lib/form-field/index.mjs +0 -10
- package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts +0 -18
- package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/record-form/record-form.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/search-results-error/search-results-error.component.d.ts +0 -15
- package/libs/ui/elements/src/lib/search-results-error/search-results-error.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts +0 -11
- package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field.model.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/index.d.ts.map +0 -1
- package/src/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.ts +0 -18
- package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.html +0 -11
- package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.ts +0 -15
- package/src/libs/ui/inputs/src/lib/form-field/form-field.component.html +0 -68
- package/src/libs/ui/inputs/src/lib/form-field/form-field.component.ts +0 -80
- /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.d.ts +0 -0
- /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.d.ts +0 -0
- /package/src/libs/feature/editor/src/lib/{record-form/record-form.component.css → components/overview-upload/overview-upload.component.css} +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css} +0 -0
- /package/src/libs/{ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.css} +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css} +0 -0
- /package/src/libs/{ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.css} +0 -0
- /package/src/libs/{ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.css} +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib/form-field/form-field.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css} +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.ts +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.ts +0 -0
- /package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.css → error/error.component.css} +0 -0
|
@@ -1,18 +1,25 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { EmblaCarouselType } from 'embla-carousel';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CarouselComponent implements AfterViewInit {
|
|
5
5
|
private changeDetector;
|
|
6
|
+
carouselOverflowContainer: ElementRef;
|
|
6
7
|
containerClass: string;
|
|
7
8
|
stepsContainerClass: string;
|
|
8
|
-
|
|
9
|
-
steps: number[];
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
currentStepChange: EventEmitter<number>;
|
|
10
|
+
protected steps: number[];
|
|
11
|
+
protected emblaApi: EmblaCarouselType;
|
|
12
|
+
protected currentStep: number;
|
|
13
|
+
protected refreshSteps: () => void;
|
|
14
|
+
get isFirstStep(): boolean;
|
|
15
|
+
get isLastStep(): boolean;
|
|
16
|
+
get stepsCount(): number;
|
|
12
17
|
constructor(changeDetector: ChangeDetectorRef);
|
|
13
18
|
ngAfterViewInit(): void;
|
|
14
19
|
scrollToStep(stepIndex: number): void;
|
|
20
|
+
slideToPrevious(): void;
|
|
21
|
+
slideToNext(): void;
|
|
15
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "gn-ui-carousel", never, { "containerClass": { "alias": "containerClass"; "required": false; }; "stepsContainerClass": { "alias": "stepsContainerClass"; "required": false; }; }, {}, never, ["*"],
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "gn-ui-carousel", never, { "containerClass": { "alias": "containerClass"; "required": false; }; "stepsContainerClass": { "alias": "stepsContainerClass"; "required": false; }; }, { "currentStepChange": "currentStepChange"; }, never, ["*"], true, never>;
|
|
17
24
|
}
|
|
18
25
|
//# sourceMappingURL=carousel.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/carousel/carousel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,
|
|
1
|
+
{"version":3,"file":"carousel.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/carousel/carousel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAIb,MAAM,eAAe,CAAA;AACtB,OAAsB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;;AAGjE,qBAQa,iBAAkB,YAAW,aAAa;IA4BzC,OAAO,CAAC,cAAc;IA3BM,yBAAyB,EAAE,UAAU,CAAA;IAEpE,cAAc,SAAK;IACnB,mBAAmB,SAA6B;IAC/C,iBAAiB,uBAA6B;IAExD,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAK;IAC9B,SAAS,CAAC,QAAQ,EAAE,iBAAiB,CAAA;IACrC,SAAS,CAAC,WAAW,SAAI;IAEzB,SAAS,CAAC,YAAY,aAKrB;IAED,IAAI,WAAW,YAEd;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,WAEb;gBAEmB,cAAc,EAAE,iBAAiB;IAErD,eAAe;IAcR,YAAY,CAAC,SAAS,EAAE,MAAM;IAI9B,eAAe;IAKf,WAAW;yCArDP,iBAAiB;2CAAjB,iBAAiB;CAyD7B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormFieldWrapperComponent {
|
|
3
|
+
label: string;
|
|
4
|
+
hint: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldWrapperComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldWrapperComponent, "gn-ui-form-field-wrapper", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; }, {}, never, ["[form-field-interaction]", "*"], true, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=form-field-wrapper.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-wrapper.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts"],"names":[],"mappings":";AAIA,qBAQa,yBAAyB;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;yCAFV,yBAAyB;2CAAzB,yBAAyB;CAGrC"}
|
|
@@ -3,13 +3,12 @@ import * as i1 from "./expandable-panel/expandable-panel.component";
|
|
|
3
3
|
import * as i2 from "./sticky-header/sticky-header.component";
|
|
4
4
|
import * as i3 from "./anchor-link/anchor-link.directive";
|
|
5
5
|
import * as i4 from "./expandable-panel-button/expandable-panel-button.component";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "@angular/
|
|
8
|
-
import * as i7 from "@
|
|
9
|
-
import * as i8 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/material/icon";
|
|
8
|
+
import * as i7 from "@ngx-translate/core";
|
|
10
9
|
export declare class UiLayoutModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiLayoutModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiLayoutModule, [typeof i1.ExpandablePanelComponent, typeof i2.StickyHeaderComponent, typeof i3.AnchorLinkDirective, typeof i4.ExpandablePanelButtonComponent
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiLayoutModule, [typeof i1.ExpandablePanelComponent, typeof i2.StickyHeaderComponent, typeof i3.AnchorLinkDirective, typeof i4.ExpandablePanelButtonComponent], [typeof i5.CommonModule, typeof i6.MatIconModule, typeof i7.TranslateModule], [typeof i1.ExpandablePanelComponent, typeof i2.StickyHeaderComponent, typeof i3.AnchorLinkDirective, typeof i4.ExpandablePanelButtonComponent]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiLayoutModule>;
|
|
14
13
|
}
|
|
15
14
|
//# sourceMappingURL=ui-layout.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":";;;;;;;;AAUA,qBAea,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/app-config.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,kBAAkB,EAElB,YAAY,EAEZ,SAAS,EACT,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAA;AAS9F,wBAAgB,eAAe,IAAI,YAAY,CAG9C;AAID,wBAAgB,cAAc,IAAI,WAAW,CAG5C;AAID,wBAAgB,oBAAoB,IAAI,SAAS,GAAG,IAAI,CAEvD;AAID,wBAAgB,uBAAuB,IAAI,YAAY,GAAG,IAAI,CAE7D;AAGD,wBAAgB,wBAAwB,IAAI,qBAAqB,CAOhE;AAID,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAG1E;AAID,wBAAgB,aAAa,
|
|
1
|
+
{"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/app-config.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,kBAAkB,EAElB,YAAY,EAEZ,SAAS,EACT,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAA;AAS9F,wBAAgB,eAAe,IAAI,YAAY,CAG9C;AAID,wBAAgB,cAAc,IAAI,WAAW,CAG5C;AAID,wBAAgB,oBAAoB,IAAI,SAAS,GAAG,IAAI,CAEvD;AAID,wBAAgB,uBAAuB,IAAI,YAAY,GAAG,IAAI,CAE7D;AAGD,wBAAgB,wBAAwB,IAAI,qBAAqB,CAOhE;AAID,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAG1E;AAID,wBAAgB,aAAa,kBA+M5B;AAED,wBAAgB,cAAc,YAE7B;AAED,wBAAgB,MAAM,SAIrB;AAED,eAAO,MAAM,+BAA+B;;;;;;;2BAOK,UAAU;;;;CAM1D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,eAAO,MAAM,SAAS,2zDA6DrB,CAAA;AAED,eAAO,MAAM,wBAAwB,2zDAAY,CAAA;AAEjD,eAAO,MAAM,cAAc,yPAU1B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,eAAO,MAAM,SAAS,2zDA6DrB,CAAA;AAED,eAAO,MAAM,wBAAwB,2zDAAY,CAAA;AAEjD,eAAO,MAAM,cAAc,yPAU1B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,SAwBhC,CAAA;AAED,eAAO,MAAM,gBAAgB,4DAI5B,CAAA;AAED,eAAO,MAAM,wBAAwB,sIAMpC,CAAA;AAED,eAAO,MAAM,0BAA0B,+RAatC,CAAA;AAED,eAAO,MAAM,wBAAwB,kiCAmCpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0BAA0B,CAAC,EAAE,MAAM,CAAA;IACnC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,CAAA;IACvC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,4BAA4B,CAAC,EAAE,MAAM,CAAA;IACrC,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,0BAA0B,EAAE,OAAO,CAAA;IACnC,UAAU,EAAE,WAAW,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,MAAM,CAAA;IACxB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,CAAA;CAC3C;AAED,MAAM,WAAW,YAAY;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,gBAAgB,CAAC,EAAE,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG;IAAE,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AACrE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAAA;CACnC,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,eAAe,CAAC,EAAE,QAAQ,CAAA;CAC3B"}
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0BAA0B,CAAC,EAAE,MAAM,CAAA;IACnC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,CAAA;IACvC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,OAAO,CAAA;IACxB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,4BAA4B,CAAC,EAAE,MAAM,CAAA;IACrC,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,0BAA0B,EAAE,OAAO,CAAA;IACnC,UAAU,EAAE,WAAW,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,MAAM,CAAA;IACxB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,CAAA;CAC3C;AAED,MAAM,WAAW,YAAY;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,gBAAgB,CAAC,EAAE,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG;IAAE,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AACrE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAAA;CACnC,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,eAAe,CAAC,EAAE,QAAQ,CAAA;CAC3B"}
|
|
@@ -78,6 +78,24 @@ export declare const FORMATS: {
|
|
|
78
78
|
readonly color: "#de630b";
|
|
79
79
|
readonly mimeTypes: readonly ["application/x-dxf", "image/x-dxf"];
|
|
80
80
|
};
|
|
81
|
+
readonly html: {
|
|
82
|
+
readonly extensions: readonly ["html", "htm"];
|
|
83
|
+
readonly priority: 12;
|
|
84
|
+
readonly color: "#f2bb3a";
|
|
85
|
+
readonly mimeTypes: readonly ["text/html"];
|
|
86
|
+
};
|
|
87
|
+
readonly fgb: {
|
|
88
|
+
readonly extensions: readonly ["fgb", "flatgeobuf"];
|
|
89
|
+
readonly priority: 13;
|
|
90
|
+
readonly color: "#f2bb3a";
|
|
91
|
+
readonly mimeTypes: readonly ["application/flatgeobuf"];
|
|
92
|
+
};
|
|
93
|
+
readonly jsonfg: {
|
|
94
|
+
readonly extensions: readonly ["jsonfg", "jsonfgc"];
|
|
95
|
+
readonly priority: 14;
|
|
96
|
+
readonly color: "#f2bb3a";
|
|
97
|
+
readonly mimeTypes: readonly ["application/vnd.ogc.fg+json", "application/vnd.ogc.fg+json;compatibility=geojson"];
|
|
98
|
+
};
|
|
81
99
|
};
|
|
82
100
|
export type FileFormat = keyof typeof FORMATS;
|
|
83
101
|
export declare function getFormatPriority(linkFormat: FileFormat): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;AAI/F,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;AAI/F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHV,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAA;AAE7C,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAUhE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,CAEjE;AAED,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,MAAM,GACpB,UAAU,GAAG,IAAI,CAgBnB;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,mBAAmB,GAAG,UAAU,CAcnE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAO7D;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,UAAU,GACjB,OAAO,CAMT;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAQ5D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,CA0B9D;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAEtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bytes-convert.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/bytes-convert.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,SAAS,KAAA,UAEzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-resize.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/image-resize.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAC3B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CA6Bf;AAED,wBAAgB,cAAc,CAC5B,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAiCf"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
export * from './bytes-convert';
|
|
2
|
+
export * from './event';
|
|
3
|
+
export * from './fuzzy-filter';
|
|
4
|
+
export * from './geojson';
|
|
5
|
+
export * from './image-resize';
|
|
1
6
|
export * from './parse';
|
|
2
|
-
export * from './strip-html';
|
|
3
7
|
export * from './remove-whitespace';
|
|
4
|
-
export * from './geojson';
|
|
5
8
|
export * from './sort-by';
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './event';
|
|
8
|
-
export * from './fuzzy-filter';
|
|
9
|
+
export * from './strip-html';
|
|
9
10
|
export * from './temporal-extent-union';
|
|
11
|
+
export * from './url';
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,OAAO,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geonetwork-ui",
|
|
3
|
-
"version": "2.3.0-dev.
|
|
3
|
+
"version": "2.3.0-dev.3e7f46f3",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=14.17.0"
|
|
6
6
|
},
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
|
|
50
|
-
"@camptocamp/ogc-client": "
|
|
50
|
+
"@camptocamp/ogc-client": "1.1.1-dev.ad6d9ab",
|
|
51
51
|
"@geospatial-sdk/geocoding": "^0.0.5-alpha.2",
|
|
52
52
|
"@ltd/j-toml": "~1.35.2",
|
|
53
53
|
"@messageformat/core": "^3.0.1",
|
|
@@ -195,7 +195,15 @@ As such, **it is not very interesting at all.**`,
|
|
|
195
195
|
},
|
|
196
196
|
],
|
|
197
197
|
spatialExtents: [],
|
|
198
|
-
temporalExtents: [
|
|
198
|
+
temporalExtents: [
|
|
199
|
+
{
|
|
200
|
+
start: new Date('2024-05-24'),
|
|
201
|
+
end: null,
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
start: new Date('2024-05-30'),
|
|
205
|
+
},
|
|
206
|
+
],
|
|
199
207
|
updateFrequency: {
|
|
200
208
|
updatedTimes: 3,
|
|
201
209
|
per: 'month',
|
|
@@ -120,10 +120,16 @@ export class Gn4FieldMapper {
|
|
|
120
120
|
}),
|
|
121
121
|
creationDateForResource: (output, source) => ({
|
|
122
122
|
...output,
|
|
123
|
-
|
|
123
|
+
resourceCreated: toDate(
|
|
124
124
|
getFirstValue(selectField<string>(source, 'creationDateForResource'))
|
|
125
125
|
),
|
|
126
126
|
}),
|
|
127
|
+
revisionDateForResource: (output, source) => ({
|
|
128
|
+
...output,
|
|
129
|
+
resourceUpdated: toDate(
|
|
130
|
+
getFirstValue(selectField<string>(source, 'revisionDateForResource'))
|
|
131
|
+
),
|
|
132
|
+
}),
|
|
127
133
|
createDate: (output, source) => ({
|
|
128
134
|
...output,
|
|
129
135
|
recordCreated: toDate(selectField<string>(source, 'createDate')),
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
2
|
+
import { XmlElement } from '@rgrove/parse-xml'
|
|
1
3
|
import { Iso19139Converter } from '../iso19139'
|
|
4
|
+
import { renameElements } from '../xml-utils'
|
|
2
5
|
import {
|
|
3
6
|
readContacts,
|
|
4
7
|
readDistributions,
|
|
@@ -30,9 +33,6 @@ import {
|
|
|
30
33
|
writeStatus,
|
|
31
34
|
writeUniqueIdentifier,
|
|
32
35
|
} from './write-parts'
|
|
33
|
-
import { XmlElement } from '@rgrove/parse-xml'
|
|
34
|
-
import { renameElements } from '../xml-utils'
|
|
35
|
-
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
36
36
|
|
|
37
37
|
export class Iso191153Converter extends Iso19139Converter {
|
|
38
38
|
constructor() {
|
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
DatasetRecord,
|
|
5
5
|
ServiceRecord,
|
|
6
6
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
7
|
+
import { XmlElement } from '@rgrove/parse-xml'
|
|
8
|
+
import { BaseConverter } from '../base.converter'
|
|
9
|
+
import { isEqual } from '../convert-utils'
|
|
7
10
|
import {
|
|
8
11
|
createDocument,
|
|
9
12
|
createElement,
|
|
@@ -11,32 +14,6 @@ import {
|
|
|
11
14
|
parseXmlString,
|
|
12
15
|
xmlToString,
|
|
13
16
|
} from '../xml-utils'
|
|
14
|
-
import {
|
|
15
|
-
writeAbstract,
|
|
16
|
-
writeContacts,
|
|
17
|
-
writeContactsForResource,
|
|
18
|
-
writeDistributions,
|
|
19
|
-
writeGraphicOverviews,
|
|
20
|
-
writeKeywords,
|
|
21
|
-
writeKind,
|
|
22
|
-
writeLegalConstraints,
|
|
23
|
-
writeLicenses,
|
|
24
|
-
writeLineage,
|
|
25
|
-
writeOnlineResources,
|
|
26
|
-
writeOtherConstraints,
|
|
27
|
-
writeOwnerOrganization,
|
|
28
|
-
writeRecordUpdated,
|
|
29
|
-
writeResourceCreated,
|
|
30
|
-
writeResourcePublished,
|
|
31
|
-
writeResourceUpdated,
|
|
32
|
-
writeSecurityConstraints,
|
|
33
|
-
writeSpatialRepresentation,
|
|
34
|
-
writeStatus,
|
|
35
|
-
writeTitle,
|
|
36
|
-
writeTopics,
|
|
37
|
-
writeUniqueIdentifier,
|
|
38
|
-
writeUpdateFrequency,
|
|
39
|
-
} from './write-parts'
|
|
40
17
|
import {
|
|
41
18
|
readAbstract,
|
|
42
19
|
readContacts,
|
|
@@ -59,13 +36,38 @@ import {
|
|
|
59
36
|
readSecurityConstraints,
|
|
60
37
|
readSpatialRepresentation,
|
|
61
38
|
readStatus,
|
|
39
|
+
readTemporalExtents,
|
|
62
40
|
readTitle,
|
|
63
41
|
readUniqueIdentifier,
|
|
64
42
|
readUpdateFrequency,
|
|
65
43
|
} from './read-parts'
|
|
66
|
-
import {
|
|
67
|
-
|
|
68
|
-
|
|
44
|
+
import {
|
|
45
|
+
writeAbstract,
|
|
46
|
+
writeContacts,
|
|
47
|
+
writeContactsForResource,
|
|
48
|
+
writeDistributions,
|
|
49
|
+
writeGraphicOverviews,
|
|
50
|
+
writeKeywords,
|
|
51
|
+
writeKind,
|
|
52
|
+
writeLegalConstraints,
|
|
53
|
+
writeLicenses,
|
|
54
|
+
writeLineage,
|
|
55
|
+
writeOnlineResources,
|
|
56
|
+
writeOtherConstraints,
|
|
57
|
+
writeOwnerOrganization,
|
|
58
|
+
writeRecordUpdated,
|
|
59
|
+
writeResourceCreated,
|
|
60
|
+
writeResourcePublished,
|
|
61
|
+
writeResourceUpdated,
|
|
62
|
+
writeSecurityConstraints,
|
|
63
|
+
writeSpatialRepresentation,
|
|
64
|
+
writeStatus,
|
|
65
|
+
writeTemporalExtents,
|
|
66
|
+
writeTitle,
|
|
67
|
+
writeTopics,
|
|
68
|
+
writeUniqueIdentifier,
|
|
69
|
+
writeUpdateFrequency,
|
|
70
|
+
} from './write-parts'
|
|
69
71
|
|
|
70
72
|
export class Iso19139Converter extends BaseConverter<string> {
|
|
71
73
|
protected readers: Record<
|
|
@@ -98,9 +100,9 @@ export class Iso19139Converter extends BaseConverter<string> {
|
|
|
98
100
|
lineage: readLineage,
|
|
99
101
|
distributions: readDistributions,
|
|
100
102
|
onlineResources: readOnlineResources,
|
|
103
|
+
temporalExtents: readTemporalExtents,
|
|
101
104
|
// TODO
|
|
102
105
|
spatialExtents: () => [],
|
|
103
|
-
temporalExtents: () => [],
|
|
104
106
|
extras: () => undefined,
|
|
105
107
|
landingPage: () => undefined,
|
|
106
108
|
languages: () => [],
|
|
@@ -136,9 +138,9 @@ export class Iso19139Converter extends BaseConverter<string> {
|
|
|
136
138
|
lineage: writeLineage,
|
|
137
139
|
distributions: writeDistributions,
|
|
138
140
|
onlineResources: writeOnlineResources,
|
|
141
|
+
temporalExtents: writeTemporalExtents,
|
|
139
142
|
// TODO
|
|
140
143
|
spatialExtents: () => undefined,
|
|
141
|
-
temporalExtents: () => undefined,
|
|
142
144
|
extras: () => undefined,
|
|
143
145
|
landingPage: () => undefined,
|
|
144
146
|
languages: () => undefined,
|
|
@@ -311,6 +313,8 @@ export class Iso19139Converter extends BaseConverter<string> {
|
|
|
311
313
|
fieldChanged('spatialRepresentation') &&
|
|
312
314
|
this.writers['spatialRepresentation'](record, rootEl)
|
|
313
315
|
fieldChanged('overviews') && this.writers['overviews'](record, rootEl)
|
|
316
|
+
fieldChanged('temporalExtents') &&
|
|
317
|
+
this.writers['temporalExtents'](record, rootEl)
|
|
314
318
|
fieldChanged('distributions') &&
|
|
315
319
|
this.writers['distributions'](record, rootEl)
|
|
316
320
|
fieldChanged('lineage') && this.writers['lineage'](record, rootEl)
|
|
@@ -14,18 +14,7 @@ import {
|
|
|
14
14
|
UpdateFrequency,
|
|
15
15
|
UpdateFrequencyCustom,
|
|
16
16
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
17
|
-
import {
|
|
18
|
-
import { getUpdateFrequencyFromFrequencyCode } from './utils/update-frequency.mapper'
|
|
19
|
-
import {
|
|
20
|
-
findChildElement,
|
|
21
|
-
findChildrenElement,
|
|
22
|
-
findNestedElement,
|
|
23
|
-
findNestedElements,
|
|
24
|
-
findParent,
|
|
25
|
-
readAttribute,
|
|
26
|
-
readText,
|
|
27
|
-
XmlElement,
|
|
28
|
-
} from '../xml-utils'
|
|
17
|
+
import { matchMimeType, matchProtocol } from '../common/distribution.mapper'
|
|
29
18
|
import {
|
|
30
19
|
ChainableFunction,
|
|
31
20
|
combine,
|
|
@@ -37,10 +26,21 @@ import {
|
|
|
37
26
|
mapArray,
|
|
38
27
|
pipe,
|
|
39
28
|
} from '../function-utils'
|
|
40
|
-
import {
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
import {
|
|
30
|
+
XmlElement,
|
|
31
|
+
findChildElement,
|
|
32
|
+
findChildrenElement,
|
|
33
|
+
findNestedElement,
|
|
34
|
+
findNestedElements,
|
|
35
|
+
findParent,
|
|
36
|
+
readAttribute,
|
|
37
|
+
readText,
|
|
38
|
+
} from '../xml-utils'
|
|
43
39
|
import { fullNameToParts } from './utils/individual-name'
|
|
40
|
+
import { getKeywordTypeFromKeywordTypeCode } from './utils/keyword.mapper'
|
|
41
|
+
import { getRoleFromRoleCode } from './utils/role.mapper'
|
|
42
|
+
import { getStatusFromStatusCode } from './utils/status.mapper'
|
|
43
|
+
import { getUpdateFrequencyFromFrequencyCode } from './utils/update-frequency.mapper'
|
|
44
44
|
|
|
45
45
|
export function extractCharacterString(): ChainableFunction<
|
|
46
46
|
XmlElement,
|
|
@@ -434,7 +434,7 @@ export function getUpdateFrequencyFromCustomPeriod(
|
|
|
434
434
|
} else if (days <= 7) {
|
|
435
435
|
return {
|
|
436
436
|
per: 'week',
|
|
437
|
-
updatedTimes: Math.round(7 / days),
|
|
437
|
+
updatedTimes: Math.round(7 / days - 0.0001), // this is to make sure that 'every 2 days' = '3 times per week'
|
|
438
438
|
}
|
|
439
439
|
} else if (days) {
|
|
440
440
|
return {
|
|
@@ -843,3 +843,55 @@ export function readOnlineResources(
|
|
|
843
843
|
flattenArray()
|
|
844
844
|
)(rootEl)
|
|
845
845
|
}
|
|
846
|
+
|
|
847
|
+
export function readTemporalExtents(rootEl: XmlElement) {
|
|
848
|
+
return pipe(
|
|
849
|
+
findIdentification(),
|
|
850
|
+
findNestedElements('gmd:extent', 'gmd:EX_Extent', 'gmd:temporalElement'),
|
|
851
|
+
mapArray(
|
|
852
|
+
combine(
|
|
853
|
+
findNestedElement(
|
|
854
|
+
'gmd:EX_TemporalExtent',
|
|
855
|
+
'gmd:extent',
|
|
856
|
+
'gml:TimePeriod'
|
|
857
|
+
),
|
|
858
|
+
findNestedElement(
|
|
859
|
+
'gmd:EX_TemporalExtent',
|
|
860
|
+
'gmd:extent',
|
|
861
|
+
'gml:TimeInstant'
|
|
862
|
+
)
|
|
863
|
+
)
|
|
864
|
+
),
|
|
865
|
+
mapArray(([periodEl, instantEl]) => {
|
|
866
|
+
if (periodEl) {
|
|
867
|
+
return pipe(
|
|
868
|
+
combine(
|
|
869
|
+
pipe(
|
|
870
|
+
findChildElement('gml:beginPosition', false),
|
|
871
|
+
readText(),
|
|
872
|
+
map((dateStr) => (dateStr ? new Date(dateStr) : null))
|
|
873
|
+
),
|
|
874
|
+
pipe(
|
|
875
|
+
findChildElement('gml:endPosition', false),
|
|
876
|
+
readText(),
|
|
877
|
+
map((dateStr) => (dateStr ? new Date(dateStr) : null))
|
|
878
|
+
)
|
|
879
|
+
),
|
|
880
|
+
map(([start, end]) => ({
|
|
881
|
+
start,
|
|
882
|
+
end,
|
|
883
|
+
}))
|
|
884
|
+
)(periodEl)
|
|
885
|
+
} else {
|
|
886
|
+
return pipe(
|
|
887
|
+
findChildElement('gml:timePosition', false),
|
|
888
|
+
readText(),
|
|
889
|
+
map((dateStr) => (dateStr ? new Date(dateStr) : null)),
|
|
890
|
+
map((date) => ({
|
|
891
|
+
start: date,
|
|
892
|
+
}))
|
|
893
|
+
)(instantEl)
|
|
894
|
+
}
|
|
895
|
+
})
|
|
896
|
+
)(rootEl)
|
|
897
|
+
}
|
|
@@ -15,7 +15,20 @@ import {
|
|
|
15
15
|
UpdateFrequencyCode,
|
|
16
16
|
UpdateFrequencyCustom,
|
|
17
17
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
18
|
+
import format from 'date-fns/format'
|
|
19
|
+
import {
|
|
20
|
+
ChainableFunction,
|
|
21
|
+
fallback,
|
|
22
|
+
filterArray,
|
|
23
|
+
getAtIndex,
|
|
24
|
+
map,
|
|
25
|
+
mapArray,
|
|
26
|
+
noop,
|
|
27
|
+
pipe,
|
|
28
|
+
tap,
|
|
29
|
+
} from '../function-utils'
|
|
18
30
|
import {
|
|
31
|
+
XmlElement,
|
|
19
32
|
addAttribute,
|
|
20
33
|
appendChildren,
|
|
21
34
|
createChild,
|
|
@@ -24,29 +37,13 @@ import {
|
|
|
24
37
|
findChildOrCreate,
|
|
25
38
|
findChildrenElement,
|
|
26
39
|
findNestedChildOrCreate,
|
|
27
|
-
findNestedElement,
|
|
28
40
|
findNestedElements,
|
|
29
41
|
readAttribute,
|
|
30
|
-
readText,
|
|
31
42
|
removeAllChildren,
|
|
32
43
|
removeChildren,
|
|
33
44
|
removeChildrenByName,
|
|
34
45
|
setTextContent,
|
|
35
|
-
XmlElement,
|
|
36
46
|
} from '../xml-utils'
|
|
37
|
-
import {
|
|
38
|
-
ChainableFunction,
|
|
39
|
-
combine,
|
|
40
|
-
fallback,
|
|
41
|
-
filterArray,
|
|
42
|
-
getAtIndex,
|
|
43
|
-
map,
|
|
44
|
-
mapArray,
|
|
45
|
-
noop,
|
|
46
|
-
pipe,
|
|
47
|
-
tap,
|
|
48
|
-
} from '../function-utils'
|
|
49
|
-
import format from 'date-fns/format'
|
|
50
47
|
import { readKind } from './read-parts'
|
|
51
48
|
import { namePartsToFull } from './utils/individual-name'
|
|
52
49
|
|
|
@@ -220,7 +217,7 @@ export function getISODuration(updateFrequency: UpdateFrequencyCustom): string {
|
|
|
220
217
|
else duration.hours = Math.round(24 / updateFrequency.updatedTimes)
|
|
221
218
|
break
|
|
222
219
|
case 'week':
|
|
223
|
-
duration.days = Math.round(7 / updateFrequency.updatedTimes)
|
|
220
|
+
duration.days = Math.round(7 / updateFrequency.updatedTimes - 0.0001) // this is to make sure that '2 times per week' = 'every 3 days'
|
|
224
221
|
break
|
|
225
222
|
case 'month':
|
|
226
223
|
if (updateFrequency.updatedTimes <= 1) duration.months = 1
|
|
@@ -1129,3 +1126,61 @@ export function writeOnlineResources(
|
|
|
1129
1126
|
appendChildren(...record.onlineResources.map(createOnlineResource))
|
|
1130
1127
|
)(rootEl)
|
|
1131
1128
|
}
|
|
1129
|
+
|
|
1130
|
+
export function writeTemporalExtents(
|
|
1131
|
+
record: DatasetRecord,
|
|
1132
|
+
rootEl: XmlElement
|
|
1133
|
+
) {
|
|
1134
|
+
pipe(
|
|
1135
|
+
findOrCreateIdentification(),
|
|
1136
|
+
findNestedChildOrCreate('gmd:extent', 'gmd:EX_Extent'),
|
|
1137
|
+
removeChildrenByName('gmd:temporalElement'),
|
|
1138
|
+
appendChildren(
|
|
1139
|
+
...record.temporalExtents.map((extent) =>
|
|
1140
|
+
pipe(
|
|
1141
|
+
createElement('gmd:temporalElement'),
|
|
1142
|
+
createChild('gmd:EX_TemporalExtent'),
|
|
1143
|
+
appendChildren(
|
|
1144
|
+
'start' in extent && 'end' in extent
|
|
1145
|
+
? pipe(
|
|
1146
|
+
createElement('gmd:extent'),
|
|
1147
|
+
createChild('gml:TimePeriod'),
|
|
1148
|
+
appendChildren(
|
|
1149
|
+
pipe(
|
|
1150
|
+
createElement('gml:beginPosition'),
|
|
1151
|
+
pipe(
|
|
1152
|
+
extent.start
|
|
1153
|
+
? setTextContent(format(extent.start, 'yyyy-MM-dd'))
|
|
1154
|
+
: addAttribute('indeterminatePosition', 'unknown')
|
|
1155
|
+
)
|
|
1156
|
+
),
|
|
1157
|
+
pipe(
|
|
1158
|
+
createElement('gml:endPosition'),
|
|
1159
|
+
pipe(
|
|
1160
|
+
extent.end
|
|
1161
|
+
? setTextContent(format(extent.end, 'yyyy-MM-dd'))
|
|
1162
|
+
: addAttribute('indeterminatePosition', 'unknown')
|
|
1163
|
+
)
|
|
1164
|
+
)
|
|
1165
|
+
)
|
|
1166
|
+
)
|
|
1167
|
+
: pipe(
|
|
1168
|
+
createElement('gmd:extent'),
|
|
1169
|
+
createChild('gml:TimeInstant'),
|
|
1170
|
+
appendChildren(
|
|
1171
|
+
pipe(
|
|
1172
|
+
createElement('gml:timePosition'),
|
|
1173
|
+
pipe(
|
|
1174
|
+
extent.start
|
|
1175
|
+
? setTextContent(format(extent.start, 'yyyy-MM-dd'))
|
|
1176
|
+
: addAttribute('indeterminatePosition', 'unknown')
|
|
1177
|
+
)
|
|
1178
|
+
)
|
|
1179
|
+
)
|
|
1180
|
+
)
|
|
1181
|
+
)
|
|
1182
|
+
)
|
|
1183
|
+
)
|
|
1184
|
+
)
|
|
1185
|
+
)(rootEl)
|
|
1186
|
+
}
|
|
@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'
|
|
|
2
2
|
import { AvatarServiceInterface } from './avatar.service.interface'
|
|
3
3
|
import { Gn4SettingsService } from '../settings/gn4-settings.service'
|
|
4
4
|
import { map } from 'rxjs/operators'
|
|
5
|
-
import { Observable } from 'rxjs'
|
|
5
|
+
import { firstValueFrom, Observable } from 'rxjs'
|
|
6
6
|
|
|
7
7
|
@Injectable({
|
|
8
8
|
providedIn: 'root',
|
|
@@ -14,6 +14,7 @@ export class GravatarService implements AvatarServiceInterface {
|
|
|
14
14
|
private readonly identicon$ = this.gn4SettingsService.identicon$.pipe(
|
|
15
15
|
map((identicon) => identicon?.replace('gravatar:', ''))
|
|
16
16
|
)
|
|
17
|
+
|
|
17
18
|
constructor(private gn4SettingsService: Gn4SettingsService) {}
|
|
18
19
|
|
|
19
20
|
getPlaceholder(): Observable<string> {
|
|
@@ -26,4 +27,14 @@ export class GravatarService implements AvatarServiceInterface {
|
|
|
26
27
|
map((identicon) => `${this.GRAVATAR_URL}${hash}?d=${identicon}`)
|
|
27
28
|
)
|
|
28
29
|
}
|
|
30
|
+
|
|
31
|
+
async getProfileIconUrl(userId: string) {
|
|
32
|
+
let iconUrl = ''
|
|
33
|
+
try {
|
|
34
|
+
iconUrl = await firstValueFrom(this.getProfileIcon(userId))
|
|
35
|
+
} catch (error) {
|
|
36
|
+
return ''
|
|
37
|
+
}
|
|
38
|
+
return iconUrl
|
|
39
|
+
}
|
|
29
40
|
}
|