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
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
2
|
+
import {
|
|
3
|
+
ChangeDetectionStrategy,
|
|
4
|
+
ChangeDetectorRef,
|
|
5
|
+
Component,
|
|
6
|
+
EventEmitter,
|
|
7
|
+
Input,
|
|
8
|
+
OnChanges,
|
|
9
|
+
OnInit,
|
|
10
|
+
Output,
|
|
11
|
+
} from '@angular/core'
|
|
12
|
+
import {
|
|
13
|
+
Individual,
|
|
14
|
+
Organization,
|
|
15
|
+
Role,
|
|
16
|
+
RoleLabels,
|
|
17
|
+
} from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
18
|
+
import { UserModel } from '../../../../../../../../../libs/common/domain/src/lib/model/user'
|
|
19
|
+
import { OrganizationsServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/organizations.service.interface'
|
|
20
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface'
|
|
21
|
+
import {
|
|
22
|
+
DynamicElement,
|
|
23
|
+
SortableListComponent,
|
|
24
|
+
} from '../../../../../../../../../libs/ui/elements/src'
|
|
25
|
+
import {
|
|
26
|
+
AutocompleteComponent,
|
|
27
|
+
DropdownSelectorComponent,
|
|
28
|
+
UiInputsModule,
|
|
29
|
+
} from '../../../../../../../../../libs/ui/inputs/src'
|
|
30
|
+
import { UiWidgetsModule } from '../../../../../../../../../libs/ui/widgets/src'
|
|
31
|
+
import { createFuzzyFilter } from '../../../../../../../../../libs/util/shared/src'
|
|
32
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
33
|
+
import {
|
|
34
|
+
debounceTime,
|
|
35
|
+
distinctUntilChanged,
|
|
36
|
+
firstValueFrom,
|
|
37
|
+
Observable,
|
|
38
|
+
switchMap,
|
|
39
|
+
} from 'rxjs'
|
|
40
|
+
import { map } from 'rxjs/operators'
|
|
41
|
+
import { ContactCardComponent } from '../../../contact-card/contact-card.component'
|
|
42
|
+
|
|
43
|
+
@Component({
|
|
44
|
+
selector: 'gn-ui-form-field-contacts-for-resource',
|
|
45
|
+
templateUrl: './form-field-contacts-for-resource.component.html',
|
|
46
|
+
styleUrls: ['./form-field-contacts-for-resource.component.css'],
|
|
47
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
48
|
+
standalone: true,
|
|
49
|
+
imports: [
|
|
50
|
+
DropdownSelectorComponent,
|
|
51
|
+
UiInputsModule,
|
|
52
|
+
CommonModule,
|
|
53
|
+
UiWidgetsModule,
|
|
54
|
+
AutocompleteComponent,
|
|
55
|
+
TranslateModule,
|
|
56
|
+
ContactCardComponent,
|
|
57
|
+
SortableListComponent,
|
|
58
|
+
],
|
|
59
|
+
})
|
|
60
|
+
export class FormFieldContactsForResourceComponent
|
|
61
|
+
implements OnChanges, OnInit
|
|
62
|
+
{
|
|
63
|
+
@Input() value: Individual[]
|
|
64
|
+
@Output() valueChange: EventEmitter<Individual[]> = new EventEmitter()
|
|
65
|
+
|
|
66
|
+
contactsForRessourceByRole: Map<Role, Individual[]> = new Map()
|
|
67
|
+
|
|
68
|
+
contactsAsDynElemByRole: Map<Role, DynamicElement[]> = new Map()
|
|
69
|
+
|
|
70
|
+
rolesToPick: Role[] = [
|
|
71
|
+
'resource_provider',
|
|
72
|
+
'custodian',
|
|
73
|
+
'owner',
|
|
74
|
+
'point_of_contact',
|
|
75
|
+
'author',
|
|
76
|
+
]
|
|
77
|
+
|
|
78
|
+
roleSectionsToDisplay: Role[] = []
|
|
79
|
+
|
|
80
|
+
allOrganizations: Map<string, Organization> = new Map()
|
|
81
|
+
|
|
82
|
+
constructor(
|
|
83
|
+
private platformServiceInterface: PlatformServiceInterface,
|
|
84
|
+
private organizationsServiceInterface: OrganizationsServiceInterface
|
|
85
|
+
) {}
|
|
86
|
+
|
|
87
|
+
ngOnChanges() {
|
|
88
|
+
this.updateContactsForRessource()
|
|
89
|
+
this.manageRoleSectionsToDisplay(this.value)
|
|
90
|
+
this.filterRolesToPick()
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
async ngOnInit(): Promise<void> {
|
|
94
|
+
this.allOrganizations = new Map<string, Organization>(
|
|
95
|
+
(
|
|
96
|
+
await firstValueFrom(this.organizationsServiceInterface.organisations$)
|
|
97
|
+
).map((organization) => [organization.name, organization])
|
|
98
|
+
)
|
|
99
|
+
this.updateContactsForRessource()
|
|
100
|
+
this.manageRoleSectionsToDisplay(this.value)
|
|
101
|
+
this.filterRolesToPick()
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
addRoleToDisplay(roleToAdd: string) {
|
|
105
|
+
this.roleSectionsToDisplay.push(roleToAdd)
|
|
106
|
+
this.filterRolesToPick()
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
filterRolesToPick() {
|
|
110
|
+
this.rolesToPick = this.rolesToPick.filter(
|
|
111
|
+
(role) => !this.roleSectionsToDisplay.includes(role)
|
|
112
|
+
)
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
updateContactsForRessource() {
|
|
116
|
+
this.contactsForRessourceByRole = this.value.reduce((acc, contact) => {
|
|
117
|
+
const completeOrganization = this.allOrganizations.get(
|
|
118
|
+
contact.organization.name
|
|
119
|
+
)
|
|
120
|
+
|
|
121
|
+
const updatedContact = {
|
|
122
|
+
...contact,
|
|
123
|
+
organization:
|
|
124
|
+
completeOrganization ??
|
|
125
|
+
({ name: contact.organization.name } as Organization),
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if (!acc.has(contact.role)) {
|
|
129
|
+
acc.set(contact.role, [])
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
acc.get(contact.role).push(updatedContact)
|
|
133
|
+
|
|
134
|
+
return acc
|
|
135
|
+
}, new Map<Role, Individual[]>())
|
|
136
|
+
|
|
137
|
+
this.contactsAsDynElemByRole = this.value.reduce((acc, contact) => {
|
|
138
|
+
const completeOrganization = this.allOrganizations.get(
|
|
139
|
+
contact.organization.name
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
const updatedContact = {
|
|
143
|
+
...contact,
|
|
144
|
+
organization:
|
|
145
|
+
completeOrganization ??
|
|
146
|
+
({ name: contact.organization.name } as Organization),
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
const contactAsDynElem = {
|
|
150
|
+
component: ContactCardComponent,
|
|
151
|
+
inputs: {
|
|
152
|
+
contact: updatedContact,
|
|
153
|
+
removable: false,
|
|
154
|
+
},
|
|
155
|
+
} as DynamicElement
|
|
156
|
+
|
|
157
|
+
if (!acc.has(contact.role)) {
|
|
158
|
+
acc.set(contact.role, [])
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
acc.get(contact.role).push(contactAsDynElem)
|
|
162
|
+
|
|
163
|
+
return acc
|
|
164
|
+
}, new Map<Role, DynamicElement[]>())
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
manageRoleSectionsToDisplay(contactsForResource: Individual[]) {
|
|
168
|
+
const roles = contactsForResource.map(
|
|
169
|
+
(contact: Individual) => contact.role
|
|
170
|
+
) as Role[]
|
|
171
|
+
|
|
172
|
+
roles.forEach((role: Role) => {
|
|
173
|
+
if (!this.roleSectionsToDisplay.includes(role)) {
|
|
174
|
+
this.roleSectionsToDisplay.push(role)
|
|
175
|
+
}
|
|
176
|
+
})
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
removeContact(index: number) {
|
|
180
|
+
const newContactsforRessource = this.value.filter((_, i) => i !== index)
|
|
181
|
+
this.valueChange.emit(newContactsforRessource)
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
handleContactsChanged(event: DynamicElement[]) {
|
|
185
|
+
const newContactsOrdered = event.map(
|
|
186
|
+
(contactAsDynElem) => contactAsDynElem.inputs['contact']
|
|
187
|
+
) as Individual[]
|
|
188
|
+
|
|
189
|
+
const role = newContactsOrdered[0].role
|
|
190
|
+
|
|
191
|
+
this.contactsForRessourceByRole.set(role, newContactsOrdered)
|
|
192
|
+
|
|
193
|
+
const newControlValue = Array.from(
|
|
194
|
+
this.contactsForRessourceByRole.values()
|
|
195
|
+
).flat()
|
|
196
|
+
|
|
197
|
+
this.valueChange.emit(newControlValue)
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
protected roleToLabel(role: string): string {
|
|
201
|
+
return RoleLabels.get(role)
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* gn-ui-autocomplete
|
|
206
|
+
*/
|
|
207
|
+
displayWithFn: (user: UserModel) => string = (user) =>
|
|
208
|
+
`${user.name} ${user.surname} ${
|
|
209
|
+
user.organisation ? `(${user.organisation})` : ''
|
|
210
|
+
}`
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* gn-ui-autocomplete
|
|
214
|
+
*/
|
|
215
|
+
autoCompleteAction = (query: string) => {
|
|
216
|
+
const fuzzyFilter = createFuzzyFilter(query)
|
|
217
|
+
return this.platformServiceInterface.getUsers().pipe(
|
|
218
|
+
switchMap((users) => [
|
|
219
|
+
users.filter((user) => fuzzyFilter(user.username)),
|
|
220
|
+
]),
|
|
221
|
+
map((results) => results.slice(0, 10)),
|
|
222
|
+
debounceTime(300),
|
|
223
|
+
distinctUntilChanged()
|
|
224
|
+
)
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* gn-ui-autocomplete
|
|
229
|
+
*/
|
|
230
|
+
addContact(contact: unknown, role: string) {
|
|
231
|
+
const newContact = contact as UserModel
|
|
232
|
+
const newContactsForRessource = {
|
|
233
|
+
firstName: newContact.name ?? '',
|
|
234
|
+
lastName: newContact.surname ?? '',
|
|
235
|
+
organization:
|
|
236
|
+
this.allOrganizations.get(newContact.organisation) ??
|
|
237
|
+
({ name: newContact.organisation } as Organization),
|
|
238
|
+
email: newContact.email ?? '',
|
|
239
|
+
role,
|
|
240
|
+
address: '',
|
|
241
|
+
phone: '',
|
|
242
|
+
position: '',
|
|
243
|
+
} as Individual
|
|
244
|
+
|
|
245
|
+
const newControlValue = [...this.value, newContactsForRessource]
|
|
246
|
+
|
|
247
|
+
this.valueChange.emit(newControlValue)
|
|
248
|
+
}
|
|
249
|
+
}
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
<div class="flex flex-col gap-3">
|
|
2
|
-
<gn-ui-
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
[allowSubmit]="false"
|
|
10
|
-
></gn-ui-autocomplete>
|
|
11
|
-
<div class="flex gap-2 flex-wrap">
|
|
12
|
-
<gn-ui-badge
|
|
13
|
-
*ngFor="let keyword of control.value; let index = index"
|
|
14
|
-
[removable]="true"
|
|
15
|
-
(badgeRemoveClicked)="removeKeyword(index)"
|
|
16
|
-
>{{ keyword.label }}</gn-ui-badge
|
|
17
|
-
>
|
|
18
|
-
</div>
|
|
2
|
+
<gn-ui-generic-keywords
|
|
3
|
+
[keywords]="value"
|
|
4
|
+
[keywordTypes]="keywordTypes"
|
|
5
|
+
[placeholder]="placeholder | translate"
|
|
6
|
+
(changedKeywords)="handleKeywordsChange($event)"
|
|
7
|
+
>
|
|
8
|
+
</gn-ui-generic-keywords>
|
|
19
9
|
</div>
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common'
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import {
|
|
3
|
+
ChangeDetectionStrategy,
|
|
4
|
+
Component,
|
|
5
|
+
EventEmitter,
|
|
6
|
+
Input,
|
|
7
|
+
Output,
|
|
8
|
+
} from '@angular/core'
|
|
5
9
|
import {
|
|
6
10
|
AutocompleteComponent,
|
|
7
11
|
DropdownSelectorComponent,
|
|
8
12
|
UiInputsModule,
|
|
9
13
|
} from '../../../../../../../../../libs/ui/inputs/src'
|
|
10
14
|
import { UiWidgetsModule } from '../../../../../../../../../libs/ui/widgets/src'
|
|
11
|
-
import { map } from 'rxjs'
|
|
12
15
|
import { Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
import { GenericKeywordsComponent } from '../../../generic-keywords/generic-keywords.component'
|
|
17
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
18
|
+
import { KeywordType } from '../../../../../../../../../libs/common/domain/src/lib/model/thesaurus'
|
|
15
19
|
|
|
16
20
|
@Component({
|
|
17
21
|
selector: 'gn-ui-form-field-keywords',
|
|
@@ -25,55 +29,18 @@ type AutocompleteItem = { title: string; value: Keyword }
|
|
|
25
29
|
CommonModule,
|
|
26
30
|
UiWidgetsModule,
|
|
27
31
|
AutocompleteComponent,
|
|
32
|
+
GenericKeywordsComponent,
|
|
33
|
+
TranslateModule,
|
|
28
34
|
],
|
|
29
35
|
})
|
|
30
36
|
export class FormFieldKeywordsComponent {
|
|
31
|
-
@Input()
|
|
32
|
-
|
|
33
|
-
displayWithFn = (item: AutocompleteItem) => {
|
|
34
|
-
return `${item.title} (${item.value.thesaurus?.name})`
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
autoCompleteAction = (query: string) => {
|
|
38
|
-
return this.platformService
|
|
39
|
-
.searchKeywords(query, ['temporal', 'theme', 'other'])
|
|
40
|
-
.pipe(
|
|
41
|
-
map((keywords) =>
|
|
42
|
-
keywords.map((keyword) => {
|
|
43
|
-
return { title: keyword.label, value: keyword }
|
|
44
|
-
})
|
|
45
|
-
)
|
|
46
|
-
)
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
constructor(private platformService: PlatformServiceInterface) {}
|
|
50
|
-
|
|
51
|
-
handleItemSelection(item: AutocompleteItem) {
|
|
52
|
-
this.addKeyword(item.value)
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
addKeyword(keyword: Keyword) {
|
|
56
|
-
const addedKeywords = [...this.control.value, keyword]
|
|
57
|
-
|
|
58
|
-
// remove duplicates from keyword
|
|
59
|
-
const filteredKeywords = addedKeywords.filter((value, index, self) => {
|
|
60
|
-
return (
|
|
61
|
-
index ===
|
|
62
|
-
self.findIndex(
|
|
63
|
-
(t) =>
|
|
64
|
-
t?.label === value?.label &&
|
|
65
|
-
t?.thesaurus?.id === value?.thesaurus?.id &&
|
|
66
|
-
t?.type === value?.type
|
|
67
|
-
)
|
|
68
|
-
)
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
this.control.setValue(filteredKeywords)
|
|
72
|
-
}
|
|
37
|
+
@Input() value: Keyword[]
|
|
38
|
+
@Output() valueChange: EventEmitter<Keyword[]> = new EventEmitter()
|
|
73
39
|
|
|
74
|
-
|
|
75
|
-
|
|
40
|
+
keywordTypes = ['temporal', 'theme', 'other'] as KeywordType[]
|
|
41
|
+
placeholder = 'editor.form.keywords.placeholder'
|
|
76
42
|
|
|
77
|
-
|
|
43
|
+
handleKeywordsChange(keywords: Keyword[]) {
|
|
44
|
+
this.valueChange.emit(keywords)
|
|
78
45
|
}
|
|
79
46
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy,
|
|
3
|
+
Component,
|
|
4
|
+
EventEmitter,
|
|
5
|
+
Input,
|
|
6
|
+
Output,
|
|
7
|
+
} from '@angular/core'
|
|
3
8
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
9
|
+
import { Constraint } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
4
10
|
import { DropdownSelectorComponent } from '../../../../../../../../../libs/ui/inputs/src'
|
|
5
11
|
|
|
6
12
|
@Component({
|
|
@@ -12,15 +18,17 @@ import { DropdownSelectorComponent } from '../../../../../../../../../libs/ui/in
|
|
|
12
18
|
imports: [DropdownSelectorComponent],
|
|
13
19
|
})
|
|
14
20
|
export class FormFieldLicenseComponent {
|
|
15
|
-
@Input() control!: FormControl
|
|
16
21
|
@Input() label: string
|
|
22
|
+
@Input() value: Array<Constraint>
|
|
23
|
+
|
|
24
|
+
@Output() valueChange: EventEmitter<Array<Constraint>> = new EventEmitter()
|
|
17
25
|
|
|
18
26
|
get selected() {
|
|
19
|
-
return this.
|
|
27
|
+
return this.value[0]?.text
|
|
20
28
|
}
|
|
21
29
|
|
|
22
30
|
onSelectValue(value: unknown) {
|
|
23
|
-
this.
|
|
31
|
+
this.valueChange.emit([{ text: value as string }])
|
|
24
32
|
}
|
|
25
33
|
|
|
26
34
|
choices = [
|
|
File without changes
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy,
|
|
3
|
+
Component,
|
|
4
|
+
Input,
|
|
5
|
+
OnChanges,
|
|
6
|
+
} from '@angular/core'
|
|
7
|
+
import { CommonModule } from '@angular/common'
|
|
8
|
+
import { catchError, from, map, Observable, of, switchMap } from 'rxjs'
|
|
9
|
+
import {
|
|
10
|
+
DEFAULT_BASELAYER_CONTEXT,
|
|
11
|
+
FeatureMapModule,
|
|
12
|
+
MapContextLayerTypeEnum,
|
|
13
|
+
MapContextModel,
|
|
14
|
+
MapFacade,
|
|
15
|
+
MapStyleService,
|
|
16
|
+
MapUtilsService,
|
|
17
|
+
} from '../../../../../../../../../libs/feature/map/src'
|
|
18
|
+
import { Fill, Stroke, Style } from 'ol/style'
|
|
19
|
+
import { getOptionalMapConfig, MapConfig } from '../../../../../../../../../libs/util/app-config/src'
|
|
20
|
+
import { Geometry } from 'geojson'
|
|
21
|
+
import { GeoJSONFeatureCollection } from 'ol/format/GeoJSON'
|
|
22
|
+
import { DatasetSpatialExtent } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
23
|
+
import { Polygon } from 'ol/geom'
|
|
24
|
+
import GeoJSON from 'ol/format/GeoJSON'
|
|
25
|
+
|
|
26
|
+
@Component({
|
|
27
|
+
selector: 'gn-ui-form-field-map-container',
|
|
28
|
+
standalone: true,
|
|
29
|
+
imports: [CommonModule, FeatureMapModule],
|
|
30
|
+
templateUrl: './form-field-map-container.component.html',
|
|
31
|
+
styleUrls: ['./form-field-map-container.component.css'],
|
|
32
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
+
})
|
|
34
|
+
export class FormFieldMapContainerComponent implements OnChanges {
|
|
35
|
+
@Input() spatialExtents: DatasetSpatialExtent[]
|
|
36
|
+
|
|
37
|
+
error = ''
|
|
38
|
+
mapContext$: Observable<MapContextModel> = this.mapFacade.layers$.pipe(
|
|
39
|
+
switchMap((layers) =>
|
|
40
|
+
from(this.mapUtils.getLayerExtent(layers[0])).pipe(
|
|
41
|
+
catchError(() => {
|
|
42
|
+
this.error = 'The layer has no extent'
|
|
43
|
+
return of(undefined)
|
|
44
|
+
}),
|
|
45
|
+
map((extent) => {
|
|
46
|
+
return {
|
|
47
|
+
layers: [DEFAULT_BASELAYER_CONTEXT, ...layers],
|
|
48
|
+
view: {
|
|
49
|
+
extent: extent,
|
|
50
|
+
},
|
|
51
|
+
} as MapContextModel
|
|
52
|
+
})
|
|
53
|
+
)
|
|
54
|
+
)
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
mapConfig: MapConfig = getOptionalMapConfig()
|
|
58
|
+
|
|
59
|
+
constructor(
|
|
60
|
+
private mapFacade: MapFacade,
|
|
61
|
+
private mapUtils: MapUtilsService,
|
|
62
|
+
private styleService: MapStyleService
|
|
63
|
+
) {
|
|
64
|
+
const fill = new Fill({
|
|
65
|
+
color: 'transparent',
|
|
66
|
+
})
|
|
67
|
+
const stroke = new Stroke({
|
|
68
|
+
color: 'black',
|
|
69
|
+
width: 2,
|
|
70
|
+
})
|
|
71
|
+
const styles = [
|
|
72
|
+
new Style({
|
|
73
|
+
fill: fill,
|
|
74
|
+
stroke: stroke,
|
|
75
|
+
}),
|
|
76
|
+
]
|
|
77
|
+
this.styleService.styles.default = this.styleService.createStyleFunction({
|
|
78
|
+
...this.styleService.createGeometryStyles({ color: 'black' }),
|
|
79
|
+
polygon: styles,
|
|
80
|
+
})
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
ngOnChanges(): void {
|
|
84
|
+
this.mapFacade.removeLayer(0)
|
|
85
|
+
|
|
86
|
+
if (this.spatialExtents) {
|
|
87
|
+
const featureCollection: GeoJSONFeatureCollection = {
|
|
88
|
+
type: 'FeatureCollection',
|
|
89
|
+
features: [],
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
this.spatialExtents.forEach((extent) => {
|
|
93
|
+
if (extent.geometry) {
|
|
94
|
+
featureCollection.features.push({
|
|
95
|
+
type: 'Feature',
|
|
96
|
+
properties: {},
|
|
97
|
+
geometry: extent.geometry,
|
|
98
|
+
})
|
|
99
|
+
} else if (extent.bbox?.length >= 0) {
|
|
100
|
+
featureCollection.features.push({
|
|
101
|
+
type: 'Feature',
|
|
102
|
+
properties: {},
|
|
103
|
+
geometry: this.bboxCoordsToGeometry(extent.bbox),
|
|
104
|
+
})
|
|
105
|
+
}
|
|
106
|
+
})
|
|
107
|
+
this.mapFacade.addLayer({
|
|
108
|
+
type: MapContextLayerTypeEnum.GEOJSON,
|
|
109
|
+
data: featureCollection,
|
|
110
|
+
title: 'Spatial extents',
|
|
111
|
+
})
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
bboxCoordsToGeometry(bbox: [number, number, number, number]): Geometry {
|
|
115
|
+
const geometry = new Polygon([
|
|
116
|
+
[
|
|
117
|
+
[bbox[0], bbox[1]],
|
|
118
|
+
[bbox[0], bbox[3]],
|
|
119
|
+
[bbox[2], bbox[3]],
|
|
120
|
+
[bbox[2], bbox[1]],
|
|
121
|
+
[bbox[0], bbox[1]],
|
|
122
|
+
],
|
|
123
|
+
])
|
|
124
|
+
|
|
125
|
+
const geoJSONGeom = new GeoJSON().writeGeometryObject(geometry)
|
|
126
|
+
return geoJSONGeom
|
|
127
|
+
}
|
|
128
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy,
|
|
3
|
+
Component,
|
|
4
|
+
EventEmitter,
|
|
5
|
+
Input,
|
|
6
|
+
OnChanges,
|
|
7
|
+
Output,
|
|
8
|
+
} from '@angular/core'
|
|
9
|
+
import { Constraint } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
10
|
+
import { CheckToggleComponent } from '../../../../../../../../../libs/ui/inputs/src'
|
|
11
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
12
|
+
import { OPEN_DATA_LICENSES } from './../../../../fields.config'
|
|
13
|
+
|
|
14
|
+
@Component({
|
|
15
|
+
selector: 'gn-ui-form-field-open-data',
|
|
16
|
+
templateUrl: './form-field-open-data.component.html',
|
|
17
|
+
styleUrls: ['./form-field-open-data.component.css'],
|
|
18
|
+
standalone: true,
|
|
19
|
+
imports: [CheckToggleComponent, TranslateModule],
|
|
20
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
21
|
+
})
|
|
22
|
+
export class FormFieldOpenDataComponent implements OnChanges {
|
|
23
|
+
@Input() value: Array<Constraint>
|
|
24
|
+
@Output() valueChange = new EventEmitter<Array<Constraint>>()
|
|
25
|
+
@Output() openDataChange = new EventEmitter<boolean>()
|
|
26
|
+
|
|
27
|
+
openData = false
|
|
28
|
+
|
|
29
|
+
get config() {
|
|
30
|
+
return OPEN_DATA_LICENSES
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
ngOnChanges() {
|
|
34
|
+
if (this.value && this.value.length > 0) {
|
|
35
|
+
this.openData = this.config.includes(this.value[0].text)
|
|
36
|
+
} else {
|
|
37
|
+
this.openData = false
|
|
38
|
+
}
|
|
39
|
+
this.openDataChange.emit(this.openData)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
onOpenDataToggled(openData: boolean) {
|
|
43
|
+
this.openDataChange.emit(openData)
|
|
44
|
+
if (openData) {
|
|
45
|
+
this.valueChange.emit([{ text: this.config[0] }])
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
2
|
+
import {
|
|
3
|
+
ChangeDetectionStrategy,
|
|
4
|
+
Component,
|
|
5
|
+
EventEmitter,
|
|
6
|
+
Input,
|
|
7
|
+
Output,
|
|
8
|
+
} from '@angular/core'
|
|
9
|
+
import { GraphicOverview } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
10
|
+
import { OverviewUploadComponent } from '../../../overview-upload/overview-upload.component'
|
|
11
|
+
|
|
12
|
+
@Component({
|
|
13
|
+
selector: 'gn-ui-form-field-overviews',
|
|
14
|
+
templateUrl: './form-field-overviews.component.html',
|
|
15
|
+
styleUrls: ['./form-field-overviews.component.css'],
|
|
16
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17
|
+
standalone: true,
|
|
18
|
+
imports: [CommonModule, OverviewUploadComponent],
|
|
19
|
+
})
|
|
20
|
+
export class FormFieldOverviewsComponent {
|
|
21
|
+
@Input() metadataUuid: string
|
|
22
|
+
@Input() value: Array<GraphicOverview>
|
|
23
|
+
@Output() valueChange: EventEmitter<Array<GraphicOverview>> =
|
|
24
|
+
new EventEmitter()
|
|
25
|
+
|
|
26
|
+
get firstOverview() {
|
|
27
|
+
return this.value[0]
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
handleOverviewChange(overView: GraphicOverview | null) {
|
|
31
|
+
this.valueChange.emit(overView ? [overView] : [])
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy,
|
|
3
|
+
Component,
|
|
4
|
+
EventEmitter,
|
|
5
|
+
Input,
|
|
6
|
+
Output,
|
|
7
|
+
} from '@angular/core'
|
|
3
8
|
import { DatePickerComponent } from '../../../../../../../../../libs/ui/inputs/src'
|
|
4
9
|
|
|
5
10
|
@Component({
|
|
@@ -11,5 +16,6 @@ import { DatePickerComponent } from '../../../../../../../../../libs/ui/inputs/s
|
|
|
11
16
|
imports: [DatePickerComponent],
|
|
12
17
|
})
|
|
13
18
|
export class FormFieldResourceUpdatedComponent {
|
|
14
|
-
@Input()
|
|
19
|
+
@Input() value: Date
|
|
20
|
+
@Output() valueChange: EventEmitter<Date> = new EventEmitter()
|
|
15
21
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
[preview]="preview"
|
|
15
15
|
[helperText]="helperText"
|
|
16
16
|
[placeholder]="placeholder"
|
|
17
|
-
[textContent]="
|
|
18
|
-
(textContentChanged)="
|
|
17
|
+
[textContent]="value"
|
|
18
|
+
(textContentChanged)="valueChange.emit($event)"
|
|
19
19
|
></gn-ui-markdown-editor>
|
|
20
20
|
</gn-ui-form-field-wrapper>
|