geonetwork-ui 2.4.0-dev.d5b28b1e → 2.4.0-dev.dcc96ff9
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/gn4.field.mapper.mjs +10 -3
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +5 -5
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +7 -4
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +10 -7
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +10 -15
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +6 -6
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +28 -18
- package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +5 -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 +51 -7
- 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/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
- package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
- package/esm2022/libs/feature/editor/src/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/online-resource-card/online-resource-card.component.mjs +71 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +143 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +32 -40
- 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-online-link-resources/form-field-online-link-resources.component.mjs +148 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +44 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +93 -11
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-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 +140 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +38 -69
- 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 +44 -53
- 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 +53 -4
- package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +5 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +6 -6
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +7 -6
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +8 -5
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +6 -7
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +8 -7
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +7 -6
- package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -26
- package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +29 -13
- package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +4 -2
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +5 -4
- package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
- package/esm2022/libs/ui/elements/src/index.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +1 -1
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +7 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +5 -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/file-input/file-input.component.mjs +87 -0
- package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +19 -15
- package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +32 -0
- package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +7 -21
- package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +6 -17
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +3 -7
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +43 -0
- package/esm2022/libs/ui/layout/src/index.mjs +3 -1
- package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +29 -0
- package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +43 -0
- package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +8 -8
- package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
- package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
- package/esm2022/translations/de.json +55 -2
- package/esm2022/translations/en.json +55 -2
- package/esm2022/translations/es.json +53 -0
- package/esm2022/translations/fr.json +58 -5
- package/esm2022/translations/it.json +55 -2
- package/esm2022/translations/nl.json +53 -0
- package/esm2022/translations/pt.json +53 -0
- package/fesm2022/geonetwork-ui.mjs +2759 -1479
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +3 -3
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +2 -6
- package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -2
- package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +4 -5
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +7 -6
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +22 -2
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/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 +7 -6
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
- package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +16 -0
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
- package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
- package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
- package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -2
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +6 -6
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +3 -3
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/editor/src/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/online-resource-card/online-resource-card.component.d.ts +15 -0
- package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +41 -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 +12 -19
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +6 -4
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +22 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +35 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +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 +24 -4
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-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 +28 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +10 -18
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +5 -5
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +18 -24
- 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 +5 -3
- package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts +15 -0
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +5 -0
- package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/services/editor.service.d.ts +1 -0
- package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +6 -6
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
- package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +1 -1
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/feature-map.module.d.ts +16 -21
- package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +1 -1
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
- package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +3 -3
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -2
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +1 -0
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
- package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -1
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +2 -2
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -7
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +4 -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/file-input/file-input.component.d.ts +24 -0
- package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +4 -5
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +16 -0
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
- package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +34 -35
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +18 -0
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
- package/libs/ui/layout/src/index.d.ts +2 -0
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
- package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
- package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
- package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
- package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +2 -2
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
- package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
- package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts +6 -6
- package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
- package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +7 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +18 -16
- package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +4 -4
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +12 -4
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +14 -8
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +7 -13
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +13 -15
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +48 -36
- package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +5 -5
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +12 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +90 -15
- package/src/libs/common/domain/src/lib/model/record/contact.model.ts +28 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +8 -7
- package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +30 -0
- package/src/libs/common/fixtures/src/index.ts +1 -1
- package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +37 -37
- package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
- package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
- package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1 -3
- package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
- package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
- package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
- package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
- package/src/libs/common/fixtures/src/lib/elasticsearch/{search-responses.ts → search-responses.fixtures.ts} +4 -6
- package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
- package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
- package/src/libs/common/fixtures/src/lib/link.fixtures.ts +233 -164
- package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
- package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +37 -3
- package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +9 -9
- package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
- package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
- package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
- package/src/libs/common/fixtures/src/lib/user.fixtures.ts +32 -15
- package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
- package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
- package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -3
- package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +6 -6
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -4
- package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +2 -0
- package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +15 -0
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +4 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +25 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +30 -0
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.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/online-resource-card/online-resource-card.component.html +35 -0
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +79 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +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 +86 -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 +210 -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 +45 -45
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +13 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +128 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +33 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +182 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.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.html +11 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +107 -7
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-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 +20 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +212 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +30 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +41 -87
- 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 +111 -74
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +48 -53
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +3 -1
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +9 -3
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
- package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
- package/src/libs/feature/editor/src/lib/fields.config.ts +59 -3
- package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +9 -0
- package/src/libs/feature/editor/src/lib/services/editor.service.ts +7 -0
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +12 -8
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +5 -0
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -7
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +5 -0
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +6 -1
- package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -15
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +24 -1
- package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +26 -22
- package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
- package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -3
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +2 -2
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +2 -2
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +5 -1
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +10 -1
- package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
- package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
- package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
- package/src/libs/ui/elements/src/index.ts +1 -1
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +7 -7
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -3
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +5 -0
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +6 -1
- package/src/libs/ui/inputs/src/index.ts +4 -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 +92 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +50 -50
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +17 -14
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +0 -1
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +1 -2
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +3 -2
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +3 -28
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +37 -0
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +33 -0
- package/src/libs/ui/layout/src/index.ts +2 -0
- package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.css +0 -0
- package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
- package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
- package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
- package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.ts +11 -18
- package/src/libs/ui/map/src/lib/ui-map.module.ts +1 -1
- package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +9 -2
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +5 -6
- package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
- package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +4 -3
- package/src/libs/util/shared/src/lib/links/link-utils.ts +6 -6
- package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
- package/tailwind.base.css +21 -4
- package/translations/de.json +55 -2
- package/translations/en.json +55 -2
- package/translations/es.json +53 -0
- package/translations/fr.json +58 -5
- package/translations/it.json +55 -2
- package/translations/nl.json +53 -0
- package/translations/pt.json +53 -0
- package/translations/sk.json +53 -0
- package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +0 -131
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.mjs +0 -17
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.mjs +0 -17
- package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -46
- package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +0 -27
- package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts +0 -8
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts +0 -8
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -23
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +0 -1
- package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
- package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
- package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -9
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -161
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.html +0 -7
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.ts +0 -16
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.html +0 -13
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.ts +0 -16
- package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -38
- /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → contact-card/contact-card.component.css} +0 -0
- /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.css → generic-keywords/generic-keywords.component.css} +0 -0
- /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.css → online-resource-card/online-resource-card.component.css} +0 -0
- /package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +0 -0
|
@@ -1,4 +1,34 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
1
2
|
import { ChangeDetectionStrategy, Component } from '@angular/core'
|
|
3
|
+
import {
|
|
4
|
+
DatasetSpatialExtent,
|
|
5
|
+
Keyword,
|
|
6
|
+
} from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
7
|
+
import { GenericKeywordsComponent } from '../../../generic-keywords/generic-keywords.component'
|
|
8
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface'
|
|
9
|
+
import { firstValueFrom, map, Observable, shareReplay } from 'rxjs'
|
|
10
|
+
import { EditorFacade } from '../../../../+state/editor.facade'
|
|
11
|
+
import { switchMap } from 'rxjs/operators'
|
|
12
|
+
import { FormFieldMapContainerComponent } from '../form-field-map-container/form-field-map-container.component'
|
|
13
|
+
import { TranslateService } from '@ngx-translate/core'
|
|
14
|
+
import {
|
|
15
|
+
SwitchToggleComponent,
|
|
16
|
+
SwitchToggleOption,
|
|
17
|
+
} from '../../../../../../../../../libs/ui/inputs/src'
|
|
18
|
+
import { SPATIAL_SCOPES } from '../../../../fields.config'
|
|
19
|
+
|
|
20
|
+
// This intermediary type will let us keep track of which keyword is bound to
|
|
21
|
+
// which extent; these properties will not be persisted
|
|
22
|
+
type KeywordWithExtent = Keyword & {
|
|
23
|
+
_linkedExtent: DatasetSpatialExtent
|
|
24
|
+
_doNotSave: boolean
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* This form field is not like the others, as it will read directly from the state to handle both spatial extents
|
|
29
|
+
* and place keywords.
|
|
30
|
+
* Other types of keywords will not be touched by this field.
|
|
31
|
+
*/
|
|
2
32
|
|
|
3
33
|
@Component({
|
|
4
34
|
selector: 'gn-ui-form-field-spatial-extent',
|
|
@@ -6,5 +36,186 @@ import { ChangeDetectionStrategy, Component } from '@angular/core'
|
|
|
6
36
|
styleUrls: ['./form-field-spatial-extent.component.css'],
|
|
7
37
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8
38
|
standalone: true,
|
|
39
|
+
imports: [
|
|
40
|
+
CommonModule,
|
|
41
|
+
GenericKeywordsComponent,
|
|
42
|
+
FormFieldMapContainerComponent,
|
|
43
|
+
SwitchToggleComponent,
|
|
44
|
+
],
|
|
9
45
|
})
|
|
10
|
-
export class FormFieldSpatialExtentComponent {
|
|
46
|
+
export class FormFieldSpatialExtentComponent {
|
|
47
|
+
spatialExtents$ = this.editorFacade.record$.pipe(
|
|
48
|
+
map((record) => ('spatialExtents' in record ? record?.spatialExtents : []))
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
allKeywords$ = this.editorFacade.record$.pipe(
|
|
52
|
+
map((record) => record?.keywords)
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
switchToggleOptions$: Observable<SwitchToggleOption[]> =
|
|
56
|
+
this.allKeywords$.pipe(
|
|
57
|
+
map((keywords) =>
|
|
58
|
+
SPATIAL_SCOPES.map((scope) => {
|
|
59
|
+
const isChecked = keywords.some(
|
|
60
|
+
(keyword) => keyword.label === scope.label
|
|
61
|
+
)
|
|
62
|
+
return {
|
|
63
|
+
label: scope.label,
|
|
64
|
+
checked: isChecked,
|
|
65
|
+
}
|
|
66
|
+
})
|
|
67
|
+
)
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
shownKeywords$ = this.editorFacade.record$.pipe(
|
|
71
|
+
map((record) => record?.keywords.filter((k) => k.type === 'place')),
|
|
72
|
+
// look for full keywords in the thesauri
|
|
73
|
+
switchMap((keywords) =>
|
|
74
|
+
Promise.all(
|
|
75
|
+
keywords.map(async (keyword) => {
|
|
76
|
+
if (!keyword.thesaurus) return keyword
|
|
77
|
+
const allKeywords = await firstValueFrom(
|
|
78
|
+
this.platformService.searchKeywordsInThesaurus(
|
|
79
|
+
keyword.label,
|
|
80
|
+
keyword.thesaurus.id
|
|
81
|
+
)
|
|
82
|
+
)
|
|
83
|
+
const found = allKeywords.find((k) => k.label === keyword.label)
|
|
84
|
+
return found ?? keyword
|
|
85
|
+
})
|
|
86
|
+
)
|
|
87
|
+
),
|
|
88
|
+
// add additional "unnamed" keywords for extents without a matching keyword
|
|
89
|
+
switchMap(async (keywords) => {
|
|
90
|
+
const spatialExtents = await firstValueFrom(this.spatialExtents$)
|
|
91
|
+
const keywordsFromExtents = await Promise.all(
|
|
92
|
+
spatialExtents.map(async (extent) => {
|
|
93
|
+
const existingKeyword =
|
|
94
|
+
extent.description &&
|
|
95
|
+
(keywords.find(
|
|
96
|
+
(k) => k.key === extent.description
|
|
97
|
+
) as KeywordWithExtent)
|
|
98
|
+
if (existingKeyword) {
|
|
99
|
+
existingKeyword._linkedExtent = extent
|
|
100
|
+
return null
|
|
101
|
+
}
|
|
102
|
+
let bbox = null
|
|
103
|
+
if ('geometry' in extent) {
|
|
104
|
+
bbox = extent.geometry // FIXME: this should be a bbox too but for now it works...
|
|
105
|
+
} else if ('bbox' in extent) {
|
|
106
|
+
bbox = extent.bbox
|
|
107
|
+
}
|
|
108
|
+
const label = await firstValueFrom(
|
|
109
|
+
this.translateService.get('editor.record.placeKeywordWithoutLabel')
|
|
110
|
+
)
|
|
111
|
+
return {
|
|
112
|
+
label,
|
|
113
|
+
type: 'place',
|
|
114
|
+
...(bbox && { bbox }),
|
|
115
|
+
_linkedExtent: extent,
|
|
116
|
+
_doNotSave: true,
|
|
117
|
+
} as KeywordWithExtent
|
|
118
|
+
})
|
|
119
|
+
).then((keywords) => keywords.filter((k) => !!k))
|
|
120
|
+
|
|
121
|
+
return [...keywords, ...keywordsFromExtents]
|
|
122
|
+
}),
|
|
123
|
+
shareReplay(1)
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
constructor(
|
|
127
|
+
private platformService: PlatformServiceInterface,
|
|
128
|
+
private editorFacade: EditorFacade,
|
|
129
|
+
private translateService: TranslateService
|
|
130
|
+
) {}
|
|
131
|
+
|
|
132
|
+
async handleKeywordDelete(keyword: Keyword) {
|
|
133
|
+
const spatialExtents = await firstValueFrom(this.spatialExtents$)
|
|
134
|
+
const shownKeywords = (await firstValueFrom(
|
|
135
|
+
this.shownKeywords$
|
|
136
|
+
)) as KeywordWithExtent[]
|
|
137
|
+
const newKeywords = shownKeywords.filter((k) => k !== keyword)
|
|
138
|
+
const linkedExtent =
|
|
139
|
+
'_linkedExtent' in keyword ? keyword._linkedExtent : null
|
|
140
|
+
const newExtents = linkedExtent
|
|
141
|
+
? spatialExtents.filter((extent) => linkedExtent !== extent)
|
|
142
|
+
: spatialExtents
|
|
143
|
+
return this.emitChanges(newKeywords, newExtents)
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
async handleKeywordAdd(keyword: Keyword) {
|
|
147
|
+
const spatialExtents = await firstValueFrom(this.spatialExtents$)
|
|
148
|
+
const shownKeywords = await firstValueFrom(this.shownKeywords$)
|
|
149
|
+
const newKeywords = [...shownKeywords, keyword] as KeywordWithExtent[]
|
|
150
|
+
let newExtents = spatialExtents
|
|
151
|
+
if (keyword.bbox) {
|
|
152
|
+
newExtents = [
|
|
153
|
+
...spatialExtents,
|
|
154
|
+
{
|
|
155
|
+
bbox: keyword.bbox,
|
|
156
|
+
description: keyword.key ?? undefined,
|
|
157
|
+
},
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
return this.emitChanges(newKeywords, newExtents)
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
async emitChanges(
|
|
164
|
+
placeKeywords: KeywordWithExtent[],
|
|
165
|
+
spatialExtents: DatasetSpatialExtent[]
|
|
166
|
+
) {
|
|
167
|
+
// some keywords are only present to allow control over extents; they **should not** be saved!
|
|
168
|
+
const filteredPlaceKeywords = placeKeywords
|
|
169
|
+
.filter((keyword) => !keyword._doNotSave)
|
|
170
|
+
.map(
|
|
171
|
+
({ label, thesaurus, type }) =>
|
|
172
|
+
({
|
|
173
|
+
label,
|
|
174
|
+
type,
|
|
175
|
+
...(thesaurus && { thesaurus }),
|
|
176
|
+
} as Keyword)
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
const notPlaceKwAndSpatialScopeKw = await firstValueFrom(
|
|
180
|
+
this.editorFacade.record$.pipe(
|
|
181
|
+
map((record) =>
|
|
182
|
+
record.keywords.filter(
|
|
183
|
+
(k) =>
|
|
184
|
+
k.type !== 'place' ||
|
|
185
|
+
SPATIAL_SCOPES.some(
|
|
186
|
+
(spatialScope) => spatialScope.label === k.label // get back spatialScope keywords
|
|
187
|
+
)
|
|
188
|
+
)
|
|
189
|
+
)
|
|
190
|
+
)
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
const allKeywords = [
|
|
194
|
+
...notPlaceKwAndSpatialScopeKw,
|
|
195
|
+
...filteredPlaceKeywords,
|
|
196
|
+
]
|
|
197
|
+
|
|
198
|
+
this.editorFacade.updateRecordField('keywords', allKeywords)
|
|
199
|
+
this.editorFacade.updateRecordField('spatialExtents', spatialExtents)
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
async onSpatialScopeChange(selectedOption: SwitchToggleOption) {
|
|
203
|
+
// remove all existing spatial scope keywords
|
|
204
|
+
const allKeywords = await firstValueFrom(this.allKeywords$)
|
|
205
|
+
const filteredKeywords = allKeywords.filter((keyword) => {
|
|
206
|
+
const spatialScopeLabels = SPATIAL_SCOPES.map((scope) => scope.label)
|
|
207
|
+
return !spatialScopeLabels.includes(keyword.label)
|
|
208
|
+
})
|
|
209
|
+
|
|
210
|
+
const selectedOptionLabel = selectedOption.label
|
|
211
|
+
const selectedKeyword = SPATIAL_SCOPES.find(
|
|
212
|
+
(scopes) => scopes.label === selectedOptionLabel
|
|
213
|
+
)
|
|
214
|
+
|
|
215
|
+
// add the selected spatial scope keyword
|
|
216
|
+
this.editorFacade.updateRecordField('keywords', [
|
|
217
|
+
...filteredKeywords,
|
|
218
|
+
{ ...selectedKeyword },
|
|
219
|
+
])
|
|
220
|
+
}
|
|
221
|
+
}
|
|
@@ -1,6 +1,32 @@
|
|
|
1
|
+
<div class="flex gap-2 mb-2">
|
|
2
|
+
<gn-ui-button
|
|
3
|
+
*ngFor="let addOption of addOptions$ | async"
|
|
4
|
+
(buttonClick)="onAdd(addOption.eventName)"
|
|
5
|
+
>
|
|
6
|
+
<span class="material-symbols-outlined gn-ui-icon-small"> add </span>
|
|
7
|
+
{{ addOption.buttonLabel }}</gn-ui-button
|
|
8
|
+
>
|
|
9
|
+
</div>
|
|
1
10
|
<gn-ui-sortable-list
|
|
2
|
-
[
|
|
3
|
-
(
|
|
4
|
-
[
|
|
5
|
-
(add)="onAdd($event)"
|
|
11
|
+
[items]="extents"
|
|
12
|
+
(itemsOrderChange)="onItemsOrderChange($event)"
|
|
13
|
+
[elementTemplate]="template"
|
|
6
14
|
></gn-ui-sortable-list>
|
|
15
|
+
<ng-template #template let-extent let-index="index">
|
|
16
|
+
<div class="border rounded-lg px-4 pb-4" *ngIf="extent.end === undefined">
|
|
17
|
+
<p class="my-2" translate>editor.record.form.temporalExtents.date</p>
|
|
18
|
+
<gn-ui-date-picker
|
|
19
|
+
[date]="extent.start"
|
|
20
|
+
(dateChange)="onExtentChange({ start: $event }, index)"
|
|
21
|
+
></gn-ui-date-picker>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="border rounded-lg px-4 pb-4" *ngIf="extent.end !== undefined">
|
|
24
|
+
<p class="my-2" translate>editor.record.form.temporalExtents.range</p>
|
|
25
|
+
<gn-ui-date-range-picker
|
|
26
|
+
[startDate]="extent.start"
|
|
27
|
+
[endDate]="extent.end"
|
|
28
|
+
(startDateChange)="onExtentChange({ start: $event }, index)"
|
|
29
|
+
(endDateChange)="onExtentChange({ end: $event }, index)"
|
|
30
|
+
></gn-ui-date-range-picker>
|
|
31
|
+
</div>
|
|
32
|
+
</ng-template>
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
1
2
|
import {
|
|
2
3
|
ChangeDetectionStrategy,
|
|
3
4
|
Component,
|
|
5
|
+
EventEmitter,
|
|
4
6
|
Input,
|
|
5
|
-
|
|
6
|
-
OnInit,
|
|
7
|
-
Type,
|
|
7
|
+
Output,
|
|
8
8
|
} from '@angular/core'
|
|
9
|
-
import {
|
|
10
|
-
import { SortableListComponent } from '../../../../../../../../../libs/ui/
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
import { DatasetTemporalExtent } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
10
|
+
import { SortableListComponent } from '../../../../../../../../../libs/ui/layout/src'
|
|
11
|
+
import {
|
|
12
|
+
ButtonComponent,
|
|
13
|
+
DatePickerComponent,
|
|
14
|
+
DateRangePickerComponent,
|
|
15
|
+
} from '../../../../../../../../../libs/ui/inputs/src'
|
|
16
|
+
import { TranslateModule, TranslateService } from '@ngx-translate/core'
|
|
17
|
+
import { combineLatest, map } from 'rxjs'
|
|
16
18
|
|
|
17
19
|
@Component({
|
|
18
20
|
selector: 'gn-ui-form-field-temporal-extents',
|
|
@@ -20,18 +22,21 @@ import { CommonModule } from '@angular/common'
|
|
|
20
22
|
styleUrls: ['./form-field-temporal-extents.component.css'],
|
|
21
23
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
22
24
|
standalone: true,
|
|
23
|
-
imports: [
|
|
25
|
+
imports: [
|
|
26
|
+
CommonModule,
|
|
27
|
+
ButtonComponent,
|
|
28
|
+
SortableListComponent,
|
|
29
|
+
DatePickerComponent,
|
|
30
|
+
DateRangePickerComponent,
|
|
31
|
+
TranslateModule,
|
|
32
|
+
],
|
|
24
33
|
})
|
|
25
|
-
export class FormFieldTemporalExtentsComponent
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
elements: Array<{
|
|
32
|
-
component: Type<any>
|
|
33
|
-
inputs: Record<string, any>
|
|
34
|
-
}>
|
|
34
|
+
export class FormFieldTemporalExtentsComponent {
|
|
35
|
+
extents: DatasetTemporalExtent[] = []
|
|
36
|
+
@Input() set value(v: Array<DatasetTemporalExtent>) {
|
|
37
|
+
this.extents = v
|
|
38
|
+
}
|
|
39
|
+
@Output() valueChange = new EventEmitter<Array<DatasetTemporalExtent>>()
|
|
35
40
|
|
|
36
41
|
addOptions$ = combineLatest([
|
|
37
42
|
this.translateService
|
|
@@ -44,88 +49,37 @@ export class FormFieldTemporalExtentsComponent implements OnInit, OnDestroy {
|
|
|
44
49
|
|
|
45
50
|
constructor(private translateService: TranslateService) {}
|
|
46
51
|
|
|
47
|
-
|
|
48
|
-
this.
|
|
49
|
-
|
|
50
|
-
this.subscription = new Subscription()
|
|
51
|
-
|
|
52
|
-
this.subscription.add(
|
|
53
|
-
this.control.valueChanges.subscribe((value) => {
|
|
54
|
-
this.resetValueFromInput(value)
|
|
55
|
-
})
|
|
56
|
-
)
|
|
57
|
-
|
|
58
|
-
this.subscription.add(
|
|
59
|
-
this.array.valueChanges.subscribe((value) => {
|
|
60
|
-
this.control.setValue(value)
|
|
61
|
-
})
|
|
62
|
-
)
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
onElementsChange(elements: { inputs: Record<string, unknown> }[]) {
|
|
66
|
-
this.array.clear({ emitEvent: false })
|
|
67
|
-
elements.forEach((e, i) =>
|
|
68
|
-
this.array.push(e.inputs.control, {
|
|
69
|
-
emitEvent: i === elements.length - 1,
|
|
70
|
-
})
|
|
71
|
-
)
|
|
52
|
+
onItemsOrderChange(extents: unknown[]) {
|
|
53
|
+
this.extents = extents as DatasetTemporalExtent[]
|
|
54
|
+
this.emitValue()
|
|
72
55
|
}
|
|
73
56
|
|
|
74
57
|
onAdd(eventName: string) {
|
|
75
58
|
switch (eventName) {
|
|
76
59
|
case 'date': {
|
|
77
|
-
const
|
|
78
|
-
this.
|
|
60
|
+
const instant = { start: new Date() }
|
|
61
|
+
this.extents = [...this.extents, instant]
|
|
79
62
|
break
|
|
80
63
|
}
|
|
81
64
|
case 'range': {
|
|
82
|
-
const
|
|
65
|
+
const range = {
|
|
83
66
|
start: new Date(),
|
|
84
67
|
end: new Date(),
|
|
85
|
-
}
|
|
86
|
-
this.
|
|
68
|
+
}
|
|
69
|
+
this.extents = [...this.extents, range]
|
|
87
70
|
break
|
|
88
71
|
}
|
|
89
72
|
}
|
|
73
|
+
this.emitValue()
|
|
90
74
|
}
|
|
91
75
|
|
|
92
|
-
|
|
93
|
-
this.
|
|
76
|
+
onExtentChange(extent: Partial<DatasetTemporalExtent>, index: number) {
|
|
77
|
+
this.extents = [...this.extents]
|
|
78
|
+
this.extents[index] = { ...this.extents[index], ...extent }
|
|
79
|
+
this.emitValue()
|
|
94
80
|
}
|
|
95
81
|
|
|
96
|
-
|
|
97
|
-
this.
|
|
98
|
-
let newElements = []
|
|
99
|
-
value.forEach((v: any) => {
|
|
100
|
-
if ('start' in v && 'end' in v) {
|
|
101
|
-
const rangeControl = new FormControl({
|
|
102
|
-
start: v.start,
|
|
103
|
-
end: v.end,
|
|
104
|
-
})
|
|
105
|
-
this.array.push(rangeControl, { emitEvent: false })
|
|
106
|
-
newElements = [
|
|
107
|
-
...newElements,
|
|
108
|
-
{
|
|
109
|
-
component: FormFieldTemporalExtentsRangeComponent,
|
|
110
|
-
inputs: {
|
|
111
|
-
control: rangeControl,
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
]
|
|
115
|
-
} else {
|
|
116
|
-
const dateControl = new FormControl({ start: v.start })
|
|
117
|
-
this.array.push(dateControl, { emitEvent: false })
|
|
118
|
-
newElements = [
|
|
119
|
-
...newElements,
|
|
120
|
-
{
|
|
121
|
-
component: FormFieldTemporalExtentsDateComponent,
|
|
122
|
-
inputs: {
|
|
123
|
-
control: dateControl,
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
]
|
|
127
|
-
}
|
|
128
|
-
})
|
|
129
|
-
this.elements = newElements
|
|
82
|
+
emitValue() {
|
|
83
|
+
this.valueChange.emit(this.extents)
|
|
130
84
|
}
|
|
131
85
|
}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChangeDetectionStrategy,
|
|
3
3
|
Component,
|
|
4
|
+
EventEmitter,
|
|
4
5
|
Input,
|
|
5
6
|
OnInit,
|
|
7
|
+
Output,
|
|
6
8
|
} from '@angular/core'
|
|
7
|
-
import {
|
|
9
|
+
import {
|
|
10
|
+
UpdateFrequency,
|
|
11
|
+
UpdateFrequencyCustom,
|
|
12
|
+
} from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
8
13
|
import {
|
|
9
14
|
CheckToggleComponent,
|
|
10
15
|
DropdownChoice,
|
|
11
16
|
DropdownSelectorComponent,
|
|
12
17
|
} from '../../../../../../../../../libs/ui/inputs/src'
|
|
13
18
|
import { TranslateModule, TranslateService } from '@ngx-translate/core'
|
|
14
|
-
import {
|
|
15
|
-
UpdateFrequency,
|
|
16
|
-
UpdateFrequencyCustom,
|
|
17
|
-
} from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
18
19
|
import { firstValueFrom } from 'rxjs'
|
|
19
20
|
|
|
20
21
|
@Component({
|
|
@@ -26,23 +27,24 @@ import { firstValueFrom } from 'rxjs'
|
|
|
26
27
|
imports: [CheckToggleComponent, DropdownSelectorComponent, TranslateModule],
|
|
27
28
|
})
|
|
28
29
|
export class FormFieldUpdateFrequencyComponent implements OnInit {
|
|
29
|
-
@Input()
|
|
30
|
+
@Input() value: UpdateFrequency
|
|
31
|
+
@Output() valueChange: EventEmitter<UpdateFrequency> = new EventEmitter()
|
|
30
32
|
|
|
31
33
|
protected choices: DropdownChoice[] = []
|
|
32
34
|
|
|
33
35
|
get planned() {
|
|
34
|
-
return typeof this.
|
|
36
|
+
return typeof this.value !== 'string'
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
constructor(private translateService: TranslateService) {}
|
|
38
40
|
|
|
39
41
|
async ngOnInit() {
|
|
40
42
|
this.choices = await this.getInitialChoices()
|
|
41
|
-
if (typeof this.
|
|
43
|
+
if (typeof this.value === 'string') {
|
|
42
44
|
return
|
|
43
45
|
}
|
|
44
|
-
const updatedTimes = this.
|
|
45
|
-
const per = this.
|
|
46
|
+
const updatedTimes = this.value.updatedTimes
|
|
47
|
+
const per = this.value.per
|
|
46
48
|
// the update frequency is not in the list; make it appear there
|
|
47
49
|
if (updatedTimes && updatedTimes !== 1 && updatedTimes !== 2) {
|
|
48
50
|
this.choices = [
|
|
@@ -61,21 +63,21 @@ export class FormFieldUpdateFrequencyComponent implements OnInit {
|
|
|
61
63
|
|
|
62
64
|
onPlannedToggled() {
|
|
63
65
|
if (this.planned) {
|
|
64
|
-
this.
|
|
66
|
+
this.valueChange.emit('notPlanned')
|
|
65
67
|
} else {
|
|
66
|
-
this.
|
|
68
|
+
this.valueChange.emit({ updatedTimes: 1, per: 'day' })
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
get selectedFrequency(): string {
|
|
71
|
-
if (typeof this.
|
|
72
|
-
const { updatedTimes, per } = this.
|
|
73
|
+
if (typeof this.value === 'string') return null
|
|
74
|
+
const { updatedTimes, per } = this.value
|
|
73
75
|
return `${per}.${updatedTimes}`
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
onSelectFrequencyValue(value: unknown) {
|
|
77
79
|
const split = (value as string).split('.')
|
|
78
|
-
this.
|
|
80
|
+
this.valueChange.emit({
|
|
79
81
|
updatedTimes: Number(split[1]),
|
|
80
82
|
per: split[0] as UpdateFrequencyCustom['per'],
|
|
81
83
|
})
|