geonetwork-ui 2.4.0-dev.503109c9 → 2.4.0-dev.575f30f2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +10 -3
- 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 +7 -14
- 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 +18 -2
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +78 -39
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +41 -7
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/feature/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/index.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +4 -16
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +4 -2
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +93 -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 +11 -29
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.mjs +19 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +23 -10
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +3 -3
- 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-overviews/form-field-overviews.component.mjs +86 -11
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +4 -8
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +36 -7
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +35 -59
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +12 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +34 -6
- package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +2 -2
- 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/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-editor/markdown-editor.component.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/index.mjs +5 -1
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +7 -4
- package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +5 -3
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +8 -1
- package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +11 -4
- package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +9 -3
- 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 +5 -4
- package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +4 -3
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/index.mjs +3 -1
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +5 -3
- 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/search/src/lib/results-table/results-table.component.mjs +3 -3
- 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/services/theme.service.mjs +2 -1
- package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
- package/esm2022/translations/de.json +20 -0
- package/esm2022/translations/en.json +20 -0
- package/esm2022/translations/es.json +20 -0
- package/esm2022/translations/fr.json +21 -1
- package/esm2022/translations/it.json +20 -0
- package/esm2022/translations/nl.json +20 -0
- package/esm2022/translations/pt.json +20 -0
- package/fesm2022/geonetwork-ui.mjs +3136 -2523
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/index.d.ts +1 -0
- package/libs/api/metadata-converter/src/index.d.ts.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/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/metadata-converter/src/lib/xml-utils.d.ts +6 -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 +12 -7
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +21 -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/metadata.model.d.ts +6 -6
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +15 -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 +7 -0
- package/libs/common/domain/src/lib/repository/records-repository.interface.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/index.d.ts +1 -0
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +1 -5
- package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +2 -1
- package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +33 -0
- package/libs/feature/editor/src/lib/components/import-record/import-record.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 +2 -5
- 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 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts +9 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.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 +5 -2
- 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-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-overviews/form-field-overviews.component.d.ts +20 -2
- 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-rich/form-field-rich.component.d.ts +1 -3
- 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-spatial-extent/form-field-spatial-extent.component.d.ts +7 -2
- 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 +9 -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.component.d.ts +5 -3
- 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/form-field/index.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.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/fields.config.d.ts +9 -1
- 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 +6 -0
- package/libs/feature/editor/src/lib/models/editor-config.model.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 +5 -5
- 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/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/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/markdown-editor/markdown-editor.component.d.ts +2 -2
- package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.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/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.map +1 -1
- package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/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 +1 -1
- 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 +0 -1
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
- 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/form-field-wrapper/form-field-wrapper.component.d.ts +2 -2
- package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +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/results-table/results-table.component.d.ts +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.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/services/theme.service.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/index.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +1 -1
- 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/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 +4 -12
- 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 +20 -1
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +132 -68
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +47 -3
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +7 -7
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +26 -0
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +10 -0
- package/src/libs/common/fixtures/src/lib/link.fixtures.ts +216 -175
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +3 -3
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -3
- 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/index.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +12 -24
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +1 -13
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +43 -0
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +129 -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 +4 -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 +13 -23
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +7 -44
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-resource-updated/form-field-resource-updated.component.ts → form-field-date-updated/form-field-date-updated.component.ts} +4 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +3 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +35 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css +8 -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 +34 -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-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 +93 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +13 -6
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +0 -9
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +7 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +62 -6
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +23 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +37 -69
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +16 -14
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +27 -20
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +10 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +31 -29
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -1
- package/src/libs/feature/editor/src/lib/fields.config.ts +37 -5
- package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +12 -0
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +7 -7
- 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 -0
- 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-editor/markdown-editor.component.html +13 -20
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -1
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +5 -0
- package/src/libs/ui/inputs/src/index.ts +4 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +25 -18
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +38 -24
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +4 -1
- package/src/libs/ui/inputs/src/lib/badge/badge.component.html +12 -3
- package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +2 -1
- package/src/libs/ui/inputs/src/lib/button/button.component.ts +15 -1
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +7 -2
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +13 -6
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +7 -1
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.css +7 -2
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +27 -23
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +7 -1
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +4 -0
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +7 -3
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +2 -1
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +4 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +30 -22
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +2 -1
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +4 -3
- 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 +1 -1
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +1 -1
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +1 -1
- package/src/libs/ui/layout/src/index.ts +2 -0
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +8 -3
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +4 -3
- 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 +13 -16
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +4 -2
- 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/services/theme.service.ts +1 -0
- package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
- package/tailwind.base.config.js +1 -0
- package/tailwind.base.css +35 -4
- package/translations/de.json +20 -0
- package/translations/en.json +20 -0
- package/translations/es.json +20 -0
- package/translations/fr.json +21 -1
- package/translations/it.json +20 -0
- package/translations/nl.json +20 -0
- package/translations/pt.json +20 -0
- package/translations/sk.json +20 -0
- package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +0 -96
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +0 -19
- 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 -39
- 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-resource-updated/form-field-resource-updated.component.d.ts +0 -9
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.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 -17
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +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 -113
- 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 -29
- /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → import-record/import-record.component.css} +0 -0
- /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css → online-resource-card/online-resource-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 → form-field-date-updated/form-field-date-updated.component.css} +0 -0
- /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-resource-updated/form-field-resource-updated.component.html → form-field-date-updated/form-field-date-updated.component.html} +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 → form-field-online-link-resources/form-field-online-link-resources.component.css} +0 -0
- /package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +0 -0
|
@@ -2,13 +2,13 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { DataItem, FetchError } from '../../../../../../libs/util/data-fetcher/src';
|
|
3
3
|
import { DataService } from '../service/data.service';
|
|
4
4
|
import { TableItemModel } from '../../../../../../libs/ui/dataviz/src';
|
|
5
|
-
import {
|
|
5
|
+
import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TableViewComponent {
|
|
9
9
|
private dataService;
|
|
10
10
|
private translateService;
|
|
11
|
-
set link(value:
|
|
11
|
+
set link(value: DatasetOnlineResource);
|
|
12
12
|
private currentLink$;
|
|
13
13
|
loading: boolean;
|
|
14
14
|
error: any;
|
|
@@ -16,7 +16,7 @@ export declare class TableViewComponent {
|
|
|
16
16
|
id: string | number;
|
|
17
17
|
}[]>;
|
|
18
18
|
constructor(dataService: DataService, translateService: TranslateService);
|
|
19
|
-
fetchData(link:
|
|
19
|
+
fetchData(link: DatasetOnlineResource): Observable<DataItem[]>;
|
|
20
20
|
onTableSelect(event: any): void;
|
|
21
21
|
handleError(error: FetchError | Error | string): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableViewComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-view.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,UAAU,EAAM,MAAM,MAAM,CAAA;AAStD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAA;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAA;AACtE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"table-view.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,UAAU,EAAM,MAAM,MAAM,CAAA;AAStD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAA;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAA;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2DAA2D,CAAA;AACjG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEtD,qBAMa,kBAAkB;IAmC3B,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,gBAAgB;IAnC1B,IAAa,IAAI,CAAC,KAAK,EAAE,qBAAqB,EAE7C;IACD,OAAO,CAAC,YAAY,CAAmD;IAEvE,OAAO,UAAQ;IACf,KAAK,MAAO;IAEZ,UAAU;;SAuBT;gBAGS,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB;IAG5C,SAAS,CAAC,IAAI,EAAE,qBAAqB,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC;IAM9D,aAAa,CAAC,KAAK,KAAA;IAInB,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,GAAG,MAAM;yCAjDnC,kBAAkB;2CAAlB,kBAAkB;CAmE9B"}
|
|
@@ -5,6 +5,7 @@ export * from './lib/+state/editor.reducer';
|
|
|
5
5
|
export * from './lib/+state/editor.actions';
|
|
6
6
|
export * from './lib/feature-editor.module';
|
|
7
7
|
export * from './lib/services/editor.service';
|
|
8
|
+
export * from './lib/components/import-record/import-record.component';
|
|
8
9
|
export * from './lib/components/record-form/record-form.component';
|
|
9
10
|
export * from './lib/components/wizard/wizard.component';
|
|
10
11
|
export * from './lib/components/wizard-field/wizard-field.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/editor/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,oDAAoD,CAAA;AAClE,cAAc,0CAA0C,CAAA;AACxD,cAAc,sDAAsD,CAAA;AACpE,cAAc,8DAA8D,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/editor/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,wDAAwD,CAAA;AACtE,cAAc,oDAAoD,CAAA;AAClE,cAAc,0CAA0C,CAAA;AACxD,cAAc,sDAAsD,CAAA;AACpE,cAAc,8DAA8D,CAAA"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import { Individual } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ContactCardComponent {
|
|
5
4
|
contact: Individual;
|
|
6
|
-
removable: boolean;
|
|
7
|
-
contactRemoved: EventEmitter<Individual>;
|
|
8
|
-
removeContact(contact: Individual): void;
|
|
9
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactCardComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContactCardComponent, "gn-ui-contact-card", never, { "contact": { "alias": "contact"; "required": false; };
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactCardComponent, "gn-ui-contact-card", never, { "contact": { "alias": "contact"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
7
|
}
|
|
12
8
|
//# sourceMappingURL=contact-card.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact-card.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contact-card.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;;AAMzF,qBAQa,oBAAoB;IACtB,OAAO,EAAE,UAAU,CAAA;yCADjB,oBAAoB;2CAApB,oBAAoB;CAEhC"}
|
package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare class GenericKeywordsComponent {
|
|
|
12
12
|
keywords: Keyword[];
|
|
13
13
|
keywordTypes: KeywordType[];
|
|
14
14
|
placeholder: string;
|
|
15
|
+
allowSubmit: boolean;
|
|
15
16
|
changedKeywords: EventEmitter<Keyword[]>;
|
|
16
17
|
addedKeyword: EventEmitter<Keyword>;
|
|
17
18
|
deletedKeyword: EventEmitter<Keyword>;
|
|
@@ -26,7 +27,7 @@ export declare class GenericKeywordsComponent {
|
|
|
26
27
|
removeKeyword(keyword: Keyword): void;
|
|
27
28
|
isPlaceWithoutExtent(keyword: Keyword): boolean;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<GenericKeywordsComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GenericKeywordsComponent, "gn-ui-generic-keywords", never, { "keywords": { "alias": "keywords"; "required": false; }; "keywordTypes": { "alias": "keywordTypes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "changedKeywords": "changedKeywords"; "addedKeyword": "addedKeyword"; "deletedKeyword": "deletedKeyword"; }, never, never, true, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GenericKeywordsComponent, "gn-ui-generic-keywords", never, { "keywords": { "alias": "keywords"; "required": false; }; "keywordTypes": { "alias": "keywordTypes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; }, { "changedKeywords": "changedKeywords"; "addedKeyword": "addedKeyword"; "deletedKeyword": "deletedKeyword"; }, never, never, true, never>;
|
|
30
31
|
}
|
|
31
32
|
export {};
|
|
32
33
|
//# sourceMappingURL=generic-keywords.component.d.ts.map
|
package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,CAAA;AAQrH,OAAO,EAAE,OAAO,EAAE,MAAM,8DAA8D,CAAA;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,iEAAiE,CAAA;;AAI7F,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzD,qBAgBa,wBAAwB;
|
|
1
|
+
{"version":3,"file":"generic-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,CAAA;AAQrH,OAAO,EAAE,OAAO,EAAE,MAAM,8DAA8D,CAAA;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,iEAAiE,CAAA;;AAI7F,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzD,qBAgBa,wBAAwB;IAuBvB,OAAO,CAAC,eAAe;IAtB1B,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,OAAO,CAAA;IACnB,eAAe,EAAE,YAAY,CAAC,OAAO,EAAE,CAAC,CAAqB;IAC7D,YAAY,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IACxD,cAAc,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IAEpE,aAAa,SAAU,gBAAgB,YAEtC;IAED,kBAAkB,UAAW,MAAM;;;SAQlC;gBAEmB,eAAe,EAAE,wBAAwB;IAE7D,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAI1C,UAAU,CAAC,OAAO,EAAE,OAAO;IAW3B,aAAa,CAAC,OAAO,EAAE,OAAO;IAM9B,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO;yCA9CpC,wBAAwB;2CAAxB,wBAAwB;CAkDpC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { NotificationsService } from '../../../../../../../libs/feature/notifications/src';
|
|
4
|
+
import { RecordsRepositoryInterface } from '../../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
interface ImportMenuItems {
|
|
8
|
+
label: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
action: () => any;
|
|
11
|
+
dataTest: string;
|
|
12
|
+
}
|
|
13
|
+
type ImportMenuPage = 'mainMenu' | 'importExternalFile';
|
|
14
|
+
export declare class ImportRecordComponent {
|
|
15
|
+
private router;
|
|
16
|
+
private translateService;
|
|
17
|
+
private cdr;
|
|
18
|
+
private notificationsService;
|
|
19
|
+
private recordsRepository;
|
|
20
|
+
closeImportMenu: EventEmitter<void>;
|
|
21
|
+
importMenuItems: ImportMenuItems[];
|
|
22
|
+
isRecordImportInProgress: boolean;
|
|
23
|
+
sectionDisplayed: ImportMenuPage;
|
|
24
|
+
externalImportBackLabel: any;
|
|
25
|
+
constructor(router: Router, translateService: TranslateService, cdr: ChangeDetectorRef, notificationsService: NotificationsService, recordsRepository: RecordsRepositoryInterface);
|
|
26
|
+
displayMainMenu(): void;
|
|
27
|
+
displayImportExternal(): void;
|
|
28
|
+
importRecord(url: string): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImportRecordComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImportRecordComponent, "gn-ui-import-record", never, {}, { "closeImportMenu": "closeImportMenu"; }, never, never, true, never>;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=import-record.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-record.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAEb,MAAM,eAAe,CAAA;AAKtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAA;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yFAAyF,CAAA;AACpI,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;;AAExC,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,GAAG,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,KAAK,cAAc,GAAG,UAAU,GAAG,oBAAoB,CAAA;AAEvD,qBAca,qBAAqB;IA6B9B,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,iBAAiB;IAhCjB,eAAe,qBAA2B;IAEpD,eAAe,EAAE,eAAe,EAAE,CAejC;IAED,wBAAwB,UAAQ;IAEhC,gBAAgB,EAAE,cAAc,CAAa;IAE7C,uBAAuB,MAEtB;gBAGS,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,gBAAgB,EAClC,GAAG,EAAE,iBAAiB,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,iBAAiB,EAAE,0BAA0B;IAGvD,eAAe;IAKf,qBAAqB;IAKrB,YAAY,CAAC,GAAG,EAAE,MAAM;yCA9Cb,qBAAqB;2CAArB,qBAAqB;CAyFjC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { DatasetDownloadDistribution, OnlineLinkResource, OnlineResource } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class OnlineResourceCardComponent {
|
|
5
|
+
onlineResource: OnlineResource;
|
|
6
|
+
modifyClick: EventEmitter<OnlineResource>;
|
|
7
|
+
get title(): string;
|
|
8
|
+
get subtitle(): string;
|
|
9
|
+
get fileSize(): string;
|
|
10
|
+
get identifierInService(): string;
|
|
11
|
+
getFormat(onlineResource: OnlineLinkResource | DatasetDownloadDistribution): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnlineResourceCardComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnlineResourceCardComponent, "gn-ui-online-resource-card", never, { "onlineResource": { "alias": "onlineResource"; "required": false; }; }, { "modifyClick": "modifyClick"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=online-resource-card.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"online-resource-card.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,cAAc,EACf,MAAM,8DAA8D,CAAA;;AAOrE,qBAca,2BAA2B;IAC7B,cAAc,EAAE,cAAc,CAAA;IAC7B,WAAW,+BAAqC;IAE1D,IAAI,KAAK,IAAI,MAAM,CAalB;IAED,IAAI,QAAQ,IAAI,MAAM,CAUrB;IAED,IAAI,QAAQ,IAAI,MAAM,CAIrB;IAED,IAAI,mBAAmB,IAAI,MAAM,CAGhC;IAED,SAAS,CAAC,cAAc,EAAE,kBAAkB,GAAG,2BAA2B;yCA1C/D,2BAA2B;2CAA3B,2BAA2B;CA6CvC"}
|
|
@@ -3,8 +3,6 @@ import { Individual, Organization, Role } from '../../../../../../../../../libs/
|
|
|
3
3
|
import { UserModel } from '../../../../../../../../../libs/common/domain/src/lib/model/user';
|
|
4
4
|
import { OrganizationsServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/organizations.service.interface';
|
|
5
5
|
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
6
|
-
import { DynamicElement } from '../../../../../../../../../libs/ui/elements/src';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
8
6
|
import * as i0 from "@angular/core";
|
|
9
7
|
export declare class FormFieldContactsForResourceComponent implements OnChanges, OnInit {
|
|
10
8
|
private platformServiceInterface;
|
|
@@ -12,7 +10,6 @@ export declare class FormFieldContactsForResourceComponent implements OnChanges,
|
|
|
12
10
|
value: Individual[];
|
|
13
11
|
valueChange: EventEmitter<Individual[]>;
|
|
14
12
|
contactsForRessourceByRole: Map<Role, Individual[]>;
|
|
15
|
-
contactsAsDynElemByRole: Map<Role, DynamicElement[]>;
|
|
16
13
|
rolesToPick: Role[];
|
|
17
14
|
roleSectionsToDisplay: Role[];
|
|
18
15
|
allOrganizations: Map<string, Organization>;
|
|
@@ -24,7 +21,7 @@ export declare class FormFieldContactsForResourceComponent implements OnChanges,
|
|
|
24
21
|
updateContactsForRessource(): void;
|
|
25
22
|
manageRoleSectionsToDisplay(contactsForResource: Individual[]): void;
|
|
26
23
|
removeContact(index: number): void;
|
|
27
|
-
handleContactsChanged(
|
|
24
|
+
handleContactsChanged(items: unknown[]): void;
|
|
28
25
|
protected roleToLabel(role: string): string;
|
|
29
26
|
/**
|
|
30
27
|
* gn-ui-autocomplete
|
|
@@ -33,7 +30,7 @@ export declare class FormFieldContactsForResourceComponent implements OnChanges,
|
|
|
33
30
|
/**
|
|
34
31
|
* gn-ui-autocomplete
|
|
35
32
|
*/
|
|
36
|
-
autoCompleteAction: (query: string) => Observable<UserModel[]>;
|
|
33
|
+
autoCompleteAction: (query: string) => import("rxjs").Observable<UserModel[]>;
|
|
37
34
|
/**
|
|
38
35
|
* gn-ui-autocomplete
|
|
39
36
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-contacts-for-resource.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"form-field-contacts-for-resource.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAEZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,UAAU,EACV,YAAY,EACZ,IAAI,EAEL,MAAM,oEAAoE,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kEAAkE,CAAA;AAC5F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAA;AACrI,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;;AAoB3H,qBAkBa,qCACX,YAAW,SAAS,EAAE,MAAM;IAoB1B,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,6BAA6B;IAnB9B,KAAK,EAAE,UAAU,EAAE,CAAA;IAClB,WAAW,EAAE,YAAY,CAAC,UAAU,EAAE,CAAC,CAAqB;IAEtE,0BAA0B,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,CAAY;IAE/D,WAAW,EAAE,IAAI,EAAE,CAMlB;IAED,qBAAqB,EAAE,IAAI,EAAE,CAAK;IAElC,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAY;gBAG7C,wBAAwB,EAAE,wBAAwB,EAClD,6BAA6B,EAAE,6BAA6B;IAGtE,WAAW;IAML,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAW/B,gBAAgB,CAAC,SAAS,EAAE,MAAM;IAKlC,iBAAiB;IAMjB,0BAA0B;IAuB1B,2BAA2B,CAAC,mBAAmB,EAAE,UAAU,EAAE;IAY7D,aAAa,CAAC,KAAK,EAAE,MAAM;IAK3B,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE;IAatC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAI3C;;OAEG;IACH,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAGtC;IAEJ;;OAEG;IACH,kBAAkB,UAAW,MAAM,4CAUlC;IAED;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM;yCAxI9B,qCAAqC;2CAArC,qCAAqC;CA2JjD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormFieldDateUpdatedComponent {
|
|
4
|
+
value: Date;
|
|
5
|
+
valueChange: EventEmitter<Date>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldDateUpdatedComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldDateUpdatedComponent, "gn-ui-form-field-date-updated", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=form-field-date-updated.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-date-updated.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAGtB,qBAQa,6BAA6B;IAC/B,KAAK,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;yCAFnD,6BAA6B;2CAA7B,6BAA6B;CAGzC"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
3
|
import { KeywordType } from '../../../../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
4
|
+
import { EditorFacade } from '../../../../+state/editor.facade';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FormFieldKeywordsComponent {
|
|
7
|
+
private editorFacade;
|
|
6
8
|
value: Keyword[];
|
|
7
9
|
valueChange: EventEmitter<Keyword[]>;
|
|
8
10
|
keywordTypes: KeywordType[];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
get filteredKeywords(): Keyword[];
|
|
12
|
+
constructor(editorFacade: EditorFacade);
|
|
13
|
+
handleKeywordsChange(keywords: Keyword[]): Promise<void>;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldKeywordsComponent, never>;
|
|
12
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
13
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AAOtB,OAAO,EAAE,OAAO,EAAE,MAAM,oEAAoE,CAAA;AAG5F,OAAO,EAAE,WAAW,EAAE,MAAM,uEAAuE,CAAA;;
|
|
1
|
+
{"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AAOtB,OAAO,EAAE,OAAO,EAAE,MAAM,oEAAoE,CAAA;AAG5F,OAAO,EAAE,WAAW,EAAE,MAAM,uEAAuE,CAAA;AACnG,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;;AAK/D,qBAgBa,0BAA0B;IAkBzB,OAAO,CAAC,YAAY;IAjBvB,KAAK,EAAE,OAAO,EAAE,CAAA;IACf,WAAW,EAAE,YAAY,CAAC,OAAO,EAAE,CAAC,CAAqB;IAEnE,YAAY,gBAAkD;IAE9D,IAAI,gBAAgB,IAAI,OAAO,EAAE,CAUhC;gBAEmB,YAAY,EAAE,YAAY;IAExC,oBAAoB,CAAC,QAAQ,EAAE,OAAO,EAAE;yCApBnC,0BAA0B;2CAA1B,0BAA0B;CAsCtC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { OnlineLinkResource, OnlineResource } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
6
|
+
import { Subscription } from 'rxjs';
|
|
7
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class FormFieldOnlineLinkResourcesComponent {
|
|
10
|
+
private notificationsService;
|
|
11
|
+
private translateService;
|
|
12
|
+
private platformService;
|
|
13
|
+
private cd;
|
|
14
|
+
private dialog;
|
|
15
|
+
metadataUuid: string;
|
|
16
|
+
set value(onlineResources: Array<OnlineResource>);
|
|
17
|
+
valueChange: EventEmitter<Array<OnlineResource>>;
|
|
18
|
+
dialogTemplate: TemplateRef<OnlineResource>;
|
|
19
|
+
private allResources;
|
|
20
|
+
linkResources: OnlineLinkResource[];
|
|
21
|
+
uploadProgress: any;
|
|
22
|
+
uploadSubscription: Subscription;
|
|
23
|
+
protected MAX_UPLOAD_SIZE_MB: number;
|
|
24
|
+
constructor(notificationsService: NotificationsService, translateService: TranslateService, platformService: PlatformServiceInterface, cd: ChangeDetectorRef, dialog: MatDialog);
|
|
25
|
+
handleFileChange(file: File): void;
|
|
26
|
+
handleUploadCancel(): void;
|
|
27
|
+
handleUrlChange(url: string): void;
|
|
28
|
+
handleResourcesChange(items: unknown[]): void;
|
|
29
|
+
handleResourceModify(resource: OnlineLinkResource, index: number): void;
|
|
30
|
+
private handleError;
|
|
31
|
+
private openEditDialog;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldOnlineLinkResourcesComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldOnlineLinkResourcesComponent, "gn-ui-form-field-online-link-resources", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=form-field-online-link-resources.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-online-link-resources.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGZ,WAAW,EAEZ,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,oEAAoE,CAAA;AAY3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2DAA2D,CAAA;AAChG,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAC3H,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;;AAGpD,qBAgBa,qCAAqC;IAqB9C,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,MAAM;IAxBP,YAAY,EAAE,MAAM,CAAA;IAC7B,IAAa,KAAK,CAAC,eAAe,EAAE,KAAK,CAAC,cAAc,CAAC,EAKxD;IACS,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CACtC;IAES,cAAc,EAAE,WAAW,CAAC,cAAc,CAAC,CAAA;IAExE,OAAO,CAAC,YAAY,CAAuB;IAC3C,aAAa,EAAE,kBAAkB,EAAE,CAAK;IACxC,cAAc,MAAY;IAC1B,kBAAkB,EAAE,YAAY,CAAO;IAEvC,SAAS,CAAC,kBAAkB,SAAqB;gBAGvC,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,wBAAwB,EACzC,EAAE,EAAE,iBAAiB,EACrB,MAAM,EAAE,SAAS;IAG3B,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAwB3B,kBAAkB;IAOlB,eAAe,CAAC,GAAG,EAAE,MAAM;IAc3B,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE;IAStC,oBAAoB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM;IAIhE,OAAO,CAAC,WAAW;IAgBnB,OAAO,CAAC,cAAc;yCAtGX,qCAAqC;2CAArC,qCAAqC;CAqIjD"}
|
|
@@ -1,12 +1,30 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { GraphicOverview } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
4
|
+
import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src';
|
|
5
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
+
import { Subscription } from 'rxjs';
|
|
3
7
|
import * as i0 from "@angular/core";
|
|
4
8
|
export declare class FormFieldOverviewsComponent {
|
|
9
|
+
private platformService;
|
|
10
|
+
private notificationsService;
|
|
11
|
+
private translateService;
|
|
12
|
+
private cd;
|
|
5
13
|
metadataUuid: string;
|
|
6
14
|
value: Array<GraphicOverview>;
|
|
7
15
|
valueChange: EventEmitter<Array<GraphicOverview>>;
|
|
16
|
+
uploadProgress: any;
|
|
17
|
+
uploadSubscription: Subscription;
|
|
18
|
+
protected MAX_UPLOAD_SIZE_MB: number;
|
|
8
19
|
get firstOverview(): GraphicOverview;
|
|
9
|
-
|
|
20
|
+
constructor(platformService: PlatformServiceInterface, notificationsService: NotificationsService, translateService: TranslateService, cd: ChangeDetectorRef);
|
|
21
|
+
handleFileChange(file: File): void;
|
|
22
|
+
handleUploadCancel(): void;
|
|
23
|
+
handleUrlChange(url: string): void;
|
|
24
|
+
handleAltTextChange(newAltText: string): void;
|
|
25
|
+
handleDelete(): void;
|
|
26
|
+
emitOverview(overView: GraphicOverview | null): void;
|
|
27
|
+
private errorHandle;
|
|
10
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldOverviewsComponent, never>;
|
|
11
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldOverviewsComponent, "gn-ui-form-field-overviews", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
12
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-overviews.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"form-field-overviews.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAA;AAEpG,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAC3H,OAAO,EAAE,oBAAoB,EAAE,MAAM,2DAA2D,CAAA;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAGnC,qBAQa,2BAA2B;IAqBpC,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,EAAE;IAvBH,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAA;IAC5B,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CACvC;IAEpB,cAAc,MAAY;IAC1B,kBAAkB,EAAE,YAAY,CAAO;IAEvC,SAAS,CAAC,kBAAkB,SAAqB;IAEjD,IAAI,aAAa,oBAOhB;gBAGS,eAAe,EAAE,wBAAwB,EACzC,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,EAAE,EAAE,iBAAiB;IAG/B,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAsB3B,kBAAkB;IAOlB,eAAe,CAAC,GAAG,EAAE,MAAM;IAY3B,mBAAmB,CAAC,UAAU,EAAE,MAAM;IAOtC,YAAY;IAIZ,YAAY,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;IAI7C,OAAO,CAAC,WAAW,CAYlB;yCA/FU,2BAA2B;2CAA3B,2BAA2B;CAgGvC"}
|
|
@@ -3,14 +3,12 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class FormFieldRichComponent {
|
|
4
4
|
label: string;
|
|
5
5
|
hint: string;
|
|
6
|
-
helperText: string;
|
|
7
6
|
placeholder: string;
|
|
8
7
|
value: string;
|
|
9
8
|
valueChange: EventEmitter<string>;
|
|
10
9
|
preview: boolean;
|
|
11
|
-
getButtonExtraClass(): string;
|
|
12
10
|
togglePreview(): void;
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldRichComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldRichComponent, "gn-ui-form-field-rich", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldRichComponent, "gn-ui-form-field-rich", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
15
13
|
}
|
|
16
14
|
//# sourceMappingURL=form-field-rich.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-rich.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"form-field-rich.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAMtB,qBAca,sBAAsB;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,SAAoB;IAC/B,KAAK,EAAE,MAAM,CAAA;IAEZ,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IAEhE,OAAO,UAAQ;IAEf,aAAa;yCAVF,sBAAsB;2CAAtB,sBAAsB;CAalC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { DatasetSpatialExtent, Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
2
|
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
3
4
|
import { EditorFacade } from '../../../../+state/editor.facade';
|
|
4
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
+
import { SwitchToggleOption } from '../../../../../../../../../libs/ui/inputs/src';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
type KeywordWithExtent = Keyword & {
|
|
7
9
|
_linkedExtent: DatasetSpatialExtent;
|
|
@@ -16,12 +18,15 @@ export declare class FormFieldSpatialExtentComponent {
|
|
|
16
18
|
private platformService;
|
|
17
19
|
private editorFacade;
|
|
18
20
|
private translateService;
|
|
19
|
-
spatialExtents$:
|
|
20
|
-
|
|
21
|
+
spatialExtents$: Observable<DatasetSpatialExtent[]>;
|
|
22
|
+
allKeywords$: Observable<Keyword[]>;
|
|
23
|
+
switchToggleOptions$: Observable<SwitchToggleOption[]>;
|
|
24
|
+
shownKeywords$: Observable<Keyword[]>;
|
|
21
25
|
constructor(platformService: PlatformServiceInterface, editorFacade: EditorFacade, translateService: TranslateService);
|
|
22
26
|
handleKeywordDelete(keyword: Keyword): Promise<void>;
|
|
23
27
|
handleKeywordAdd(keyword: Keyword): Promise<void>;
|
|
24
28
|
emitChanges(placeKeywords: KeywordWithExtent[], spatialExtents: DatasetSpatialExtent[]): Promise<void>;
|
|
29
|
+
onSpatialScopeChange(selectedOption: SwitchToggleOption): Promise<void>;
|
|
25
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSpatialExtentComponent, never>;
|
|
26
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSpatialExtentComponent, "gn-ui-form-field-spatial-extent", never, {}, {}, never, never, true, never>;
|
|
27
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,OAAO,EACR,MAAM,oEAAoE,CAAA;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;
|
|
1
|
+
{"version":3,"file":"form-field-spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,OAAO,EACR,MAAM,oEAAoE,CAAA;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAC3H,OAAO,EAAuB,UAAU,EAAe,MAAM,MAAM,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAG/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAEL,kBAAkB,EACnB,MAAM,+CAA+C,CAAA;;AAKtD,KAAK,iBAAiB,GAAG,OAAO,GAAG;IACjC,aAAa,EAAE,oBAAoB,CAAA;IACnC,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED;;;;GAIG;AAEH,qBAaa,+BAA+B;IAiFxC,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IAlF1B,eAAe,qCAEd;IAED,YAAY,wBAEX;IAED,oBAAoB,EAAE,UAAU,CAAC,kBAAkB,EAAE,CAAC,CAanD;IAEH,cAAc,wBAsDb;gBAGS,eAAe,EAAE,wBAAwB,EACzC,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB;IAGtC,mBAAmB,CAAC,OAAO,EAAE,OAAO;IAcpC,gBAAgB,CAAC,OAAO,EAAE,OAAO;IAiBjC,WAAW,CACf,aAAa,EAAE,iBAAiB,EAAE,EAClC,cAAc,EAAE,oBAAoB,EAAE;IAqClC,oBAAoB,CAAC,cAAc,EAAE,kBAAkB;yCA5JlD,+BAA+B;2CAA/B,+BAA+B;CA+K3C"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormArray } from '@angular/forms';
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
3
2
|
import { DatasetTemporalExtent } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
-
import { DynamicElement } from '../../../../../../../../../libs/ui/elements/src';
|
|
5
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
4
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class FormFieldTemporalExtentsComponent
|
|
5
|
+
export declare class FormFieldTemporalExtentsComponent {
|
|
9
6
|
private translateService;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
addOptions$: Observable<[{
|
|
7
|
+
extents: DatasetTemporalExtent[];
|
|
8
|
+
set value(v: Array<DatasetTemporalExtent>);
|
|
9
|
+
valueChange: EventEmitter<DatasetTemporalExtent[]>;
|
|
10
|
+
addOptions$: import("rxjs").Observable<[{
|
|
15
11
|
buttonLabel: any;
|
|
16
12
|
eventName: string;
|
|
17
13
|
}, {
|
|
@@ -19,12 +15,10 @@ export declare class FormFieldTemporalExtentsComponent implements OnChanges {
|
|
|
19
15
|
eventName: string;
|
|
20
16
|
}]>;
|
|
21
17
|
constructor(translateService: TranslateService);
|
|
22
|
-
|
|
23
|
-
onElementsChange(elements: DynamicElement[]): void;
|
|
18
|
+
onItemsOrderChange(extents: unknown[]): void;
|
|
24
19
|
onAdd(eventName: string): void;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
private pushRange;
|
|
20
|
+
onExtentChange(extent: Partial<DatasetTemporalExtent>, index: number): void;
|
|
21
|
+
emitValue(): void;
|
|
28
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTemporalExtentsComponent, never>;
|
|
29
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTemporalExtentsComponent, "gn-ui-form-field-temporal-extents", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
30
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-temporal-extents.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"form-field-temporal-extents.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,oEAAoE,CAAA;AAO1G,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAIvE,qBAgBa,iCAAiC;IAgBhC,OAAO,CAAC,gBAAgB;IAfpC,OAAO,EAAE,qBAAqB,EAAE,CAAK;IACrC,IAAa,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,EAEjD;IACS,WAAW,wCAAmD;IAExE,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAEtD,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE;IAKrC,KAAK,CAAC,SAAS,EAAE,MAAM;IAmBvB,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,qBAAqB,CAAC,EAAE,KAAK,EAAE,MAAM;IAMpE,SAAS;yCAhDE,iCAAiC;2CAAjC,iCAAiC;CAmD7C"}
|
package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { CatalogRecordKeys, Constraint, DatasetTemporalExtent, GraphicOverview, Individual, Keyword, UpdateFrequency } from '../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
-
import { FormFieldConfig } from '../../../models';
|
|
2
|
+
import { CatalogRecordKeys, Constraint, DatasetTemporalExtent, GraphicOverview, Individual, Keyword, OnlineResource, UpdateFrequency } from '../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import { FieldModelSpecifier, FormFieldConfig } from '../../../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FormFieldComponent {
|
|
6
6
|
uniqueIdentifier: string;
|
|
7
7
|
model: CatalogRecordKeys;
|
|
8
|
+
modelSpecifier: FieldModelSpecifier;
|
|
8
9
|
config: FormFieldConfig;
|
|
9
10
|
value: unknown;
|
|
10
11
|
valueChange: EventEmitter<unknown>;
|
|
@@ -20,7 +21,8 @@ export declare class FormFieldComponent {
|
|
|
20
21
|
get valueAsKeywords(): Keyword[];
|
|
21
22
|
get valueAsConstraints(): Constraint[];
|
|
22
23
|
get valueAsIndividuals(): Individual[];
|
|
24
|
+
get valueAsOnlineResources(): OnlineResource[];
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "uniqueIdentifier": { "alias": "uniqueIdentifier"; "required": false; }; "model": { "alias": "model"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "uniqueIdentifier": { "alias": "uniqueIdentifier"; "required": false; }; "model": { "alias": "model"; "required": false; }; "modelSpecifier": { "alias": "modelSpecifier"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
25
27
|
}
|
|
26
28
|
//# sourceMappingURL=form-field.component.d.ts.map
|
package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EACV,YAAY,EAIb,MAAM,eAAe,CAAA;AAGtB,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,OAAO,EACP,eAAe,EAChB,MAAM,iEAAiE,CAAA;AASxE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;;
|
|
1
|
+
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EACV,YAAY,EAIb,MAAM,eAAe,CAAA;AAGtB,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,OAAO,EACP,cAAc,EACd,eAAe,EAChB,MAAM,iEAAiE,CAAA;AASxE,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;;AActE,qBA8Ba,kBAAkB;IACpB,gBAAgB,EAAE,MAAM,CAAA;IACxB,KAAK,EAAE,iBAAiB,CAAA;IACxB,cAAc,EAAE,mBAAmB,CAAA;IACnC,MAAM,EAAE,eAAe,CAAA;IACvB,KAAK,EAAE,OAAO,CAAA;IAEb,WAAW,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IAExC,UAAU,EAAE,UAAU,CAAA;IAE/C,QAAQ,UAAQ;IAEhB,eAAe;IAIf,IAAI,cAAc,YAEjB;IAED,IAAI,aAAa,WAEhB;IACD,IAAI,WAAW,SAEd;IAED,IAAI,gBAAgB,sBAEnB;IACD,IAAI,sBAAsB,oBAEzB;IACD,IAAI,sBAAsB,4BAEzB;IACD,IAAI,eAAe,cAElB;IACD,IAAI,kBAAkB,iBAErB;IACD,IAAI,kBAAkB,iBAErB;IACD,IAAI,sBAAsB,qBAEzB;yCAhDU,kBAAkB;2CAAlB,kBAAkB;CAiD9B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './form-field-keywords/form-field-keywords.component';
|
|
2
2
|
export * from './form-field-license/form-field-license.component';
|
|
3
|
-
export * from './form-field-
|
|
3
|
+
export * from './form-field-date-updated/form-field-date-updated.component';
|
|
4
4
|
export * from './form-field-temporal-extents/form-field-temporal-extents.component';
|
|
5
5
|
export * from './form-field-simple/form-field-simple.component';
|
|
6
6
|
export * from './form-field-file/form-field-file.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,mDAAmD,CAAA;AACjE,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qEAAqE,CAAA;AACnF,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,wBAAwB,CAAA"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { EditorFacade } from '../../+state/editor.facade';
|
|
2
2
|
import { EditorFieldValue } from '../../models';
|
|
3
3
|
import { EditorFieldWithValue, EditorSectionWithValues } from '../../+state/editor.models';
|
|
4
|
+
import { CatalogRecordKeys } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class RecordFormComponent {
|
|
6
7
|
facade: EditorFacade;
|
|
7
8
|
recordUniqueIdentifier$: import("rxjs").Observable<string>;
|
|
8
9
|
constructor(facade: EditorFacade);
|
|
9
|
-
handleFieldValueChange(model:
|
|
10
|
-
fieldTracker(index: number, field: EditorFieldWithValue):
|
|
10
|
+
handleFieldValueChange(model: CatalogRecordKeys, newValue: EditorFieldValue): void;
|
|
11
|
+
fieldTracker(index: number, field: EditorFieldWithValue): CatalogRecordKeys;
|
|
11
12
|
sectionTracker(index: number, section: EditorSectionWithValues): string;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormComponent, never>;
|
|
13
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<RecordFormComponent, "gn-ui-record-form", never, {}, {}, never, never, true, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAG/C,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,4BAA4B,CAAA;;
|
|
1
|
+
{"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAG/C,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAA;;AAEhG,qBAQa,mBAAmB;IAKX,MAAM,EAAE,YAAY;IAJvC,uBAAuB,oCAEtB;gBAEkB,MAAM,EAAE,YAAY;IAEvC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,gBAAgB;IAO3E,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB;IAIvD,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB;yCAlBnD,mBAAmB;2CAAnB,mBAAmB;CAqB/B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EditorConfig, EditorField, EditorSection } from './models/editor-config.model';
|
|
2
|
+
import { Keyword } from '../../../../../libs/common/domain/src/lib/model/record';
|
|
2
3
|
/**
|
|
3
4
|
* This file contains the configuration of the fields that will be displayed in the editor.
|
|
4
5
|
* To add a new field, you need to create a new EditorField object in the fields part of this file.
|
|
@@ -21,6 +22,7 @@ export declare const RECORD_ABSTRACT_FIELD: EditorField;
|
|
|
21
22
|
export declare const CONTACTS_FOR_RESOURCE_FIELD: EditorField;
|
|
22
23
|
export declare const RECORD_GRAPHICAL_OVERVIEW_FIELD: EditorField;
|
|
23
24
|
export declare const RECORD_SPATIAL_EXTENTS_FIELD: EditorField;
|
|
25
|
+
export declare const RECORD_ONLINE_LINK_RESOURCES: EditorField;
|
|
24
26
|
/************************************************************
|
|
25
27
|
*************** SECTIONS *****************
|
|
26
28
|
************************************************************
|
|
@@ -40,8 +42,14 @@ export declare const DATA_POINT_OF_CONTACT_SECTION: EditorSection;
|
|
|
40
42
|
*/
|
|
41
43
|
export declare const DEFAULT_CONFIGURATION: EditorConfig;
|
|
42
44
|
/************************************************************
|
|
43
|
-
*************** LICENSES
|
|
45
|
+
*************** LICENSES **************
|
|
44
46
|
************************************************************
|
|
45
47
|
*/
|
|
46
48
|
export declare const OPEN_DATA_LICENSES: string[];
|
|
49
|
+
export declare const MAX_UPLOAD_SIZE_MB = 10;
|
|
50
|
+
/************************************************************
|
|
51
|
+
*************** SPATIAL SCOPE ************
|
|
52
|
+
************************************************************
|
|
53
|
+
*/
|
|
54
|
+
export declare const SPATIAL_SCOPES: Keyword[];
|
|
47
55
|
//# sourceMappingURL=fields.config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAA;AAEhF;;;;;GAKG;AAEH;;;GAGG;AAEH,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,WAM5C,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAM3C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAQlC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAG3C,CAAA;AAID,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,WAKhC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,WAKzC,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,WAK7C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,WAK1C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,WAM1C,CAAA;AAED;;;GAGG;AAEH,eAAO,MAAM,aAAa,EAAE,aAO3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,aAW3B,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,aAI3C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,aAO1C,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,aAI7B,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,aAOpC,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,aAI/C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,aAKnC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,aAO3C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAoBnC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,EAMtC,CAAA;AAED,eAAO,MAAM,kBAAkB,KAAK,CAAA;AACpC;;;GAGG;AAEH,eAAO,MAAM,cAAc,EAAE,OAAO,EAanC,CAAA"}
|
|
@@ -10,9 +10,14 @@ export interface FormFieldConfig {
|
|
|
10
10
|
invalid?: boolean;
|
|
11
11
|
invalidHintKey?: string;
|
|
12
12
|
}
|
|
13
|
+
type OnlineLinkResourceSpecifier = `onlineResourceType:link`;
|
|
14
|
+
type DatasetDistributionsSpecifier = `onlineResourceType:!link`;
|
|
15
|
+
export type FieldModelSpecifier = OnlineLinkResourceSpecifier | DatasetDistributionsSpecifier;
|
|
13
16
|
export interface EditorField {
|
|
14
17
|
formFieldConfig: FormFieldConfig;
|
|
15
18
|
model?: CatalogRecordKeys;
|
|
19
|
+
modelSpecifier?: FieldModelSpecifier;
|
|
20
|
+
gridColumnSpan?: number;
|
|
16
21
|
hidden?: boolean;
|
|
17
22
|
onSaveProcess?: EditorFieldExpression;
|
|
18
23
|
}
|
|
@@ -33,4 +38,5 @@ export interface EditorFieldState {
|
|
|
33
38
|
model: string;
|
|
34
39
|
value: EditorFieldValue;
|
|
35
40
|
}
|
|
41
|
+
export {};
|
|
36
42
|
//# sourceMappingURL=editor-config.model.d.ts.map
|