geonetwork-ui 2.4.0-dev.27089d81 → 2.4.0-dev.2cc6f5b1
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/atomic-operations.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +5 -5
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +30 -2
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +23 -1
- package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +6 -1
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +31 -3
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +9 -5
- 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/platform.service.interface.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +2 -6
- package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -6
- package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +7 -2
- package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +7 -3
- package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +16 -6
- package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +29 -0
- package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +131 -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 +170 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +6 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +21 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +7 -6
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +24 -9
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +1 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +11 -7
- package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +159 -60
- package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +2 -0
- package/esm2022/libs/feature/editor/src/lib/models/index.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +4 -3
- package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +10 -5
- package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +42 -23
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +13 -5
- package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +49 -15
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +6 -3
- 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 +46 -7
- package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -2
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +7 -3
- package/esm2022/libs/ui/elements/src/index.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -3
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +6 -5
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +5 -11
- package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +7 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +11 -5
- package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +19 -5
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +67 -0
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +28 -8
- package/esm2022/libs/ui/widgets/src/index.mjs +2 -1
- package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +68 -0
- package/esm2022/translations/de.json +111 -40
- package/esm2022/translations/en.json +86 -15
- package/esm2022/translations/es.json +84 -13
- package/esm2022/translations/fr.json +95 -24
- package/esm2022/translations/it.json +85 -14
- package/esm2022/translations/nl.json +84 -13
- package/esm2022/translations/pt.json +84 -13
- package/fesm2022/geonetwork-ui.mjs +1926 -509
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +1 -0
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +8 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
- package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +1 -0
- package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +7 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +17 -0
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/records/records.service.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +5 -0
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +4 -4
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.models.d.ts +8 -0
- package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +4 -3
- package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +4 -8
- package/libs/feature/editor/src/lib/+state/editor.selectors.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/overview-upload/overview-upload.component.d.ts +27 -0
- package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +47 -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.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +11 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +3 -1
- 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 +7 -2
- 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 +0 -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 +5 -7
- package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
- package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts +40 -2
- 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 +36 -0
- package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
- package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/services/editor.service.d.ts +2 -2
- package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
- package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
- package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
- package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
- 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 +14 -4
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
- package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -0
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
- package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +0 -3
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +4 -4
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +7 -5
- package/libs/ui/elements/src/lib/ui-elements.module.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/search/src/lib/results-table/action-menu/action-menu.component.d.ts +20 -0
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +9 -3
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/index.d.ts +1 -0
- package/libs/ui/widgets/src/index.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
- package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +5 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +37 -12
- package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +5 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +4 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +72 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +70 -1
- package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +8 -0
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +42 -2
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +26 -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 +2 -1
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +5 -1
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +22 -0
- package/src/libs/common/fixtures/src/index.ts +2 -0
- package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +156 -0
- package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +4 -0
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +2 -0
- package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
- package/src/libs/data-access/gn4/src/spec.yaml +0 -8
- package/src/libs/feature/catalog/src/lib/records/records.service.ts +6 -8
- package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +5 -0
- package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +2 -2
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +9 -1
- package/src/libs/feature/editor/src/lib/+state/editor.models.ts +11 -0
- package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +11 -5
- package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +22 -8
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +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/overview-upload/overview-upload.component.html +2 -1
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +110 -19
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +76 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +271 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +8 -6
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +5 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +22 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +8 -7
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +20 -9
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +20 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +0 -1
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +51 -11
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +15 -8
- package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
- package/src/libs/feature/editor/src/lib/fields.config.ts +193 -61
- package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +53 -0
- package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
- package/src/libs/feature/editor/src/lib/services/editor.service.ts +8 -4
- package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -4
- package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +36 -19
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +11 -0
- package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +59 -12
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +6 -2
- 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 +3 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +57 -3
- package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -0
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +16 -2
- package/src/libs/ui/elements/src/index.ts +1 -0
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +29 -29
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +4 -1
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +2 -1
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +14 -20
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +0 -10
- package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
- package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +3 -1
- package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +8 -4
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +4 -2
- package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +15 -3
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +31 -0
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +15 -0
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +38 -0
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +1 -1
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +1 -0
- package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -0
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +26 -0
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +74 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +15 -1
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +26 -12
- package/src/libs/ui/widgets/src/index.ts +1 -0
- package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
- package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
- package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
- package/tailwind.base.css +2 -1
- package/translations/de.json +111 -40
- package/translations/en.json +86 -15
- package/translations/es.json +84 -13
- package/translations/fr.json +95 -24
- package/translations/it.json +85 -14
- package/translations/nl.json +84 -13
- package/translations/pt.json +84 -13
- package/translations/sk.json +85 -14
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
- package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
- package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
- package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { Individual, Organization, Role } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
+
import { Observable, Subscription } from 'rxjs';
|
|
5
|
+
import { UserModel } from '../../../../../../../../../libs/common/domain/src/lib/model/user';
|
|
6
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
7
|
+
import { OrganizationsServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/organizations.service.interface';
|
|
8
|
+
import { DynamicElement } from '../../../../../../../../../libs/ui/elements/src';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FormFieldContactsForResourceComponent implements OnInit, OnDestroy {
|
|
11
|
+
private platformServiceInterface;
|
|
12
|
+
private organizationsServiceInterface;
|
|
13
|
+
private changeDetectorRef;
|
|
14
|
+
control: FormControl<Individual[]>;
|
|
15
|
+
subscription: Subscription;
|
|
16
|
+
allUsers$: Observable<UserModel[]>;
|
|
17
|
+
contactsForRessourceByRole: Map<Role, Individual[]>;
|
|
18
|
+
contactsAsDynElemByRole: Map<Role, DynamicElement[]>;
|
|
19
|
+
rolesToPick: Role[];
|
|
20
|
+
roleSectionsToDisplay: Role[];
|
|
21
|
+
allOrganizations: Map<string, Organization>;
|
|
22
|
+
constructor(platformServiceInterface: PlatformServiceInterface, organizationsServiceInterface: OrganizationsServiceInterface, changeDetectorRef: ChangeDetectorRef);
|
|
23
|
+
ngOnInit(): Promise<void>;
|
|
24
|
+
addRoleToDisplay(roleToAdd: string): void;
|
|
25
|
+
filterRolesToPick(): void;
|
|
26
|
+
updateContactsForRessource(): void;
|
|
27
|
+
manageRoleSectionsToDisplay(contactsForResource: Individual[]): void;
|
|
28
|
+
removeContact(index: number): void;
|
|
29
|
+
handleContactsChanged(event: DynamicElement[]): void;
|
|
30
|
+
protected roleToLabel(role: string): string;
|
|
31
|
+
/**
|
|
32
|
+
* gn-ui-autocomplete
|
|
33
|
+
*/
|
|
34
|
+
displayWithFn: (user: UserModel) => string;
|
|
35
|
+
/**
|
|
36
|
+
* gn-ui-autocomplete
|
|
37
|
+
*/
|
|
38
|
+
autoCompleteAction: (query: string) => Observable<UserModel[]>;
|
|
39
|
+
/**
|
|
40
|
+
* gn-ui-autocomplete
|
|
41
|
+
*/
|
|
42
|
+
addContact(contact: UserModel, role: string): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldContactsForResourceComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldContactsForResourceComponent, "gn-ui-form-field-contacts-for-resource", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=form-field-contacts-for-resource.component.d.ts.map
|
|
@@ -0,0 +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,EAEL,iBAAiB,EAGjB,SAAS,EACT,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAO5C,OAAO,EACL,UAAU,EACV,YAAY,EACZ,IAAI,EAEL,MAAM,oEAAoE,CAAA;AAE3E,OAAO,EAIL,UAAU,EACV,YAAY,EAEb,MAAM,MAAM,CAAA;AACb,OAAO,EAAE,SAAS,EAAE,MAA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W,MAAM,6BAUlC;IAED;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM;IAmB3C,WAAW,IAAI,IAAI;yCAhNR,qCAAqC;2CAArC,qCAAqC;CAmNjD"}
|
|
@@ -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":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAQ3H,OAAO,EAAE,OAAO,EAAE,MAAM,oEAAoE,CAAA;;AAE5F,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzD,qBAca,0BAA0B;
|
|
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":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAQ3H,OAAO,EAAE,OAAO,EAAE,MAAM,oEAAoE,CAAA;;AAE5F,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzD,qBAca,0BAA0B;IAmBzB,OAAO,CAAC,eAAe;IAlB1B,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;IAExC,aAAa,SAAU,gBAAgB,YAEtC;IAED,kBAAkB,UAAW,MAAM;;;SAUlC;gBAEmB,eAAe,EAAE,wBAAwB;IAE7D,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAI1C,UAAU,CAAC,OAAO,EAAE,OAAO;IAmB3B,aAAa,CAAC,KAAK,EAAE,MAAM;yCA5ChB,0BAA0B;2CAA1B,0BAA0B;CAiDtC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { GraphicOverview } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormFieldOverviewsComponent {
|
|
5
|
+
metadataUuid: string;
|
|
6
|
+
control: FormControl;
|
|
7
|
+
handleOverviewChange(overView: GraphicOverview | null): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldOverviewsComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldOverviewsComponent, "gn-ui-form-field-overviews", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=form-field-overviews.component.d.ts.map
|
|
@@ -0,0 +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":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAA;;AAEpG,qBAQa,2BAA2B;IAC7B,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAG,WAAW,CAAA;IAE9B,oBAAoB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;yCAJ1C,2BAA2B;2CAA3B,2BAA2B;CAOvC"}
|
|
@@ -21,7 +21,9 @@ export declare class FormFieldTemporalExtentsComponent implements OnInit, OnDest
|
|
|
21
21
|
}]>;
|
|
22
22
|
constructor(translateService: TranslateService);
|
|
23
23
|
ngOnInit(): void;
|
|
24
|
-
onElementsChange(elements:
|
|
24
|
+
onElementsChange(elements: {
|
|
25
|
+
inputs: Record<string, unknown>;
|
|
26
|
+
}[]): void;
|
|
25
27
|
onAdd(eventName: string): void;
|
|
26
28
|
ngOnDestroy(): void;
|
|
27
29
|
private resetValueFromInput;
|
|
@@ -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":"AAAA,OAAO,EAIL,SAAS,EACT,MAAM,EACN,IAAI,EACL,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEvD,OAAO,EAAE,YAAY,EAAsB,MAAM,MAAM,CAAA;AAGvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAGtD,qBAQa,iCAAkC,YAAW,MAAM,EAAE,SAAS;IAoB7D,OAAO,CAAC,gBAAgB;IAnB3B,OAAO,EAAG,WAAW,CAAA;IAE9B,YAAY,EAAE,YAAY,CAAA;IAE1B,KAAK,EAAE,SAAS,CAAoB;IACpC,QAAQ,EAAE,KAAK,CAAC;QACd,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAC5B,CAAC,CAAA;IAEF,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAEtD,QAAQ;IAkBR,gBAAgB,CAAC,QAAQ,EAAE,
|
|
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":"AAAA,OAAO,EAIL,SAAS,EACT,MAAM,EACN,IAAI,EACL,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEvD,OAAO,EAAE,YAAY,EAAsB,MAAM,MAAM,CAAA;AAGvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAGtD,qBAQa,iCAAkC,YAAW,MAAM,EAAE,SAAS;IAoB7D,OAAO,CAAC,gBAAgB;IAnB3B,OAAO,EAAG,WAAW,CAAA;IAE9B,YAAY,EAAE,YAAY,CAAA;IAE1B,KAAK,EAAE,SAAS,CAAoB;IACpC,QAAQ,EAAE,KAAK,CAAC;QACd,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAC5B,CAAC,CAAA;IAEF,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAEtD,QAAQ;IAkBR,gBAAgB,CAAC,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,EAAE;IAShE,KAAK,CAAC,SAAS,EAAE,MAAM;IAkBvB,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,mBAAmB;yCAvEhB,iCAAiC;2CAAjC,iCAAiC;CA0G7C"}
|
package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { FormFieldConfig } from './form-field.model';
|
|
5
4
|
import { CatalogRecordKeys } from '../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
5
|
+
import { EditorFacade } from '../../../+state/editor.facade';
|
|
6
|
+
import { FormFieldConfig } from '../../../models';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class FormFieldComponent {
|
|
9
|
+
private facade;
|
|
8
10
|
model: CatalogRecordKeys;
|
|
9
11
|
config: FormFieldConfig;
|
|
10
12
|
set value(v: unknown);
|
|
11
13
|
valueChange: Observable<unknown>;
|
|
12
14
|
titleInput: ElementRef;
|
|
15
|
+
metadataUuid$: Observable<string>;
|
|
13
16
|
formControl: FormControl<any>;
|
|
14
|
-
constructor();
|
|
17
|
+
constructor(facade: EditorFacade);
|
|
15
18
|
focusTitleInput(): void;
|
|
16
19
|
get isTitle(): boolean;
|
|
17
20
|
get isAbstract(): boolean;
|
|
@@ -20,9 +23,11 @@ export declare class FormFieldComponent {
|
|
|
20
23
|
get isUpdateFrequency(): boolean;
|
|
21
24
|
get isTemporalExtents(): boolean;
|
|
22
25
|
get isSpatialExtentField(): boolean;
|
|
26
|
+
get isGraphicOverview(): boolean;
|
|
23
27
|
get isSimpleField(): boolean;
|
|
24
28
|
get isReadOnly(): boolean;
|
|
25
29
|
get isKeywords(): boolean;
|
|
30
|
+
get isContactsForResource(): boolean;
|
|
26
31
|
get withoutWrapper(): boolean;
|
|
27
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
28
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "model": { "alias": "model"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
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,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,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,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAajC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAA;AAInG,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;;AAGjD,qBA6Ba,kBAAkB;IAoBjB,OAAO,CAAC,MAAM;IAnBjB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IAES,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAEjB,UAAU,EAAE,UAAU,CAAA;IAE/C,aAAa,qBAGZ;IAED,WAAW,mBAAoB;gBAEX,MAAM,EAAE,YAAY;IAIxC,eAAe;IAIf,IAAI,OAAO,YAEV;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,qBAAqB,YAExB;IAED,IAAI,cAAc,YAEjB;yCAnEU,kBAAkB;2CAAlB,kBAAkB;CAoE9B"}
|
|
@@ -9,5 +9,4 @@ export * from './form-field-object/form-field-object.component';
|
|
|
9
9
|
export * from './form-field-array/form-field-array.component';
|
|
10
10
|
export * from './form-field-spatial-extent/form-field-spatial-extent.component';
|
|
11
11
|
export * from './form-field.component';
|
|
12
|
-
export * from './form-field.model';
|
|
13
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,qEAAqE,CAAA;AACnF,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
|
+
{"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,qEAAqE,CAAA;AACnF,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,15 +1,13 @@
|
|
|
1
1
|
import { EditorFacade } from '../../+state/editor.facade';
|
|
2
|
-
import {
|
|
2
|
+
import { EditorFieldValue } from '../../models';
|
|
3
|
+
import { EditorFieldWithValue, EditorSectionWithValues } from '../../+state/editor.models';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class RecordFormComponent {
|
|
5
6
|
facade: EditorFacade;
|
|
6
|
-
fields$: import("rxjs").Observable<{
|
|
7
|
-
config: import("../../models/fields.model").EditorFieldConfig;
|
|
8
|
-
value: any;
|
|
9
|
-
}[]>;
|
|
10
7
|
constructor(facade: EditorFacade);
|
|
11
|
-
handleFieldValueChange(
|
|
12
|
-
fieldTracker(index: number, field:
|
|
8
|
+
handleFieldValueChange(model: string, newValue: EditorFieldValue): void;
|
|
9
|
+
fieldTracker(index: number, field: EditorFieldWithValue): any;
|
|
10
|
+
sectionTracker(index: number, section: EditorSectionWithValues): any;
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormComponent, never>;
|
|
14
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<RecordFormComponent, "gn-ui-record-form", never, {}, {}, never, never, true, never>;
|
|
15
13
|
}
|
|
@@ -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,
|
|
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,qBAQa,mBAAmB;IACX,MAAM,EAAE,YAAY;gBAApB,MAAM,EAAE,YAAY;IAEvC,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB;IAOhE,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,GAAG,GAAG;IAI7D,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,GAAG,GAAG;yCAdzD,mBAAmB;2CAAnB,mBAAmB;CAiB/B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorFieldState, EditorFieldValue } from './models/
|
|
1
|
+
import { EditorFieldState, EditorFieldValue } from './models/';
|
|
2
2
|
export type ExpressionEvaluator = (field: EditorFieldState) => EditorFieldValue;
|
|
3
3
|
export declare function evaluate(expression: string): ExpressionEvaluator;
|
|
4
4
|
//# sourceMappingURL=expressions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/expressions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/expressions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAE9D,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,gBAAgB,CAAA;AAE/E,wBAAgB,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,mBAAmB,CAWhE"}
|
|
@@ -1,3 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { EditorConfig, EditorField, EditorSection } from './models/editor-config.model';
|
|
2
|
+
/**
|
|
3
|
+
* This file contains the configuration of the fields that will be displayed in the editor.
|
|
4
|
+
* To add a new field, you need to create a new EditorField object in the fields part of this file.
|
|
5
|
+
* Then add it to the corresponding section in the sections part of this file.
|
|
6
|
+
* Finally, add the section to the corresponding page in the pages part of this file.
|
|
7
|
+
*/
|
|
8
|
+
/************************************************************
|
|
9
|
+
*************** FIELDS *****************
|
|
10
|
+
************************************************************
|
|
11
|
+
*/
|
|
12
|
+
export declare const RECORD_LICENSE_FIELD: EditorField;
|
|
13
|
+
export declare const RECORD_KEYWORDS_FIELD: EditorField;
|
|
14
|
+
export declare const RECORD_UNIQUE_IDENTIFIER_FIELD: EditorField;
|
|
15
|
+
export declare const RECORD_RESOURCE_UPDATED_FIELD: EditorField;
|
|
16
|
+
export declare const RECORD_UPDATED_FIELD: EditorField;
|
|
17
|
+
export declare const RECORD_UPDATE_FREQUENCY_FIELD: EditorField;
|
|
18
|
+
export declare const RECORD_TEMPORAL_EXTENTS_FIELD: EditorField;
|
|
19
|
+
export declare const RECORD_TITLE_FIELD: EditorField;
|
|
20
|
+
export declare const RECORD_ABSTRACT_FIELD: EditorField;
|
|
21
|
+
export declare const CONTACTS_FOR_RESOURCE_FIELD: EditorField;
|
|
22
|
+
export declare const RECORD_GRAPHICAL_OVERVIEW_FIELD: EditorField;
|
|
23
|
+
/************************************************************
|
|
24
|
+
*************** SECTIONS *****************
|
|
25
|
+
************************************************************
|
|
26
|
+
*/
|
|
27
|
+
export declare const TITLE_SECTION: EditorSection;
|
|
28
|
+
export declare const ABOUT_SECTION: EditorSection;
|
|
29
|
+
export declare const GEOGRAPHICAL_COVERAGE_SECTION: EditorSection;
|
|
30
|
+
export declare const ASSOCIATED_RESOURCES_SECTION: EditorSection;
|
|
31
|
+
export declare const ANNEXES_SECTION: EditorSection;
|
|
32
|
+
export declare const CLASSIFICATION_SECTION: EditorSection;
|
|
33
|
+
export declare const USE_AND_ACCESS_CONDITIONS_SECTION: EditorSection;
|
|
34
|
+
export declare const DATA_MANAGERS_SECTION: EditorSection;
|
|
35
|
+
export declare const DATA_POINT_OF_CONTACT_SECTION: EditorSection;
|
|
36
|
+
/************************************************************
|
|
37
|
+
*************** PAGES *****************
|
|
38
|
+
************************************************************
|
|
39
|
+
*/
|
|
40
|
+
export declare const DEFAULT_CONFIGURATION: EditorConfig;
|
|
3
41
|
//# 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,EAAE,kBAAkB,EAAE,MAAM,
|
|
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;AAErC;;;;;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,WAK3C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAOlC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,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;;;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"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CatalogRecordKeys } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
|
+
export type EditorFieldExpression = `$\{${string}}`;
|
|
3
|
+
export type EditorFieldValue = string | number | boolean | unknown;
|
|
4
|
+
export interface FormFieldConfig {
|
|
5
|
+
labelKey?: string;
|
|
6
|
+
hintKey?: string;
|
|
7
|
+
tooltipKey?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
locked?: boolean;
|
|
10
|
+
invalid?: boolean;
|
|
11
|
+
invalidHintKey?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface EditorField {
|
|
14
|
+
formFieldConfig: FormFieldConfig;
|
|
15
|
+
model?: CatalogRecordKeys;
|
|
16
|
+
hidden?: boolean;
|
|
17
|
+
onSaveProcess?: EditorFieldExpression;
|
|
18
|
+
}
|
|
19
|
+
export interface EditorSection {
|
|
20
|
+
labelKey?: string;
|
|
21
|
+
descriptionKey?: string;
|
|
22
|
+
hidden: boolean;
|
|
23
|
+
fields: EditorField[];
|
|
24
|
+
}
|
|
25
|
+
export interface EditorFieldPage {
|
|
26
|
+
labelKey?: string;
|
|
27
|
+
sections: EditorSection[];
|
|
28
|
+
}
|
|
29
|
+
export interface EditorConfig {
|
|
30
|
+
pages: EditorFieldPage[];
|
|
31
|
+
}
|
|
32
|
+
export interface EditorFieldState {
|
|
33
|
+
model: string;
|
|
34
|
+
value: EditorFieldValue;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=editor-config.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-config.model.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/editor-config.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAA;AAI7F,MAAM,MAAM,qBAAqB,GAAG,MAAM,MAAM,GAAG,CAAA;AAEnD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;AAElE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,WAAW;IAE1B,eAAe,EAAE,eAAe,CAAA;IAGhC,KAAK,CAAC,EAAE,iBAAiB,CAAA;IAIzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAGhB,aAAa,CAAC,EAAE,qBAAqB,CAAA;CACtC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,WAAW,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,aAAa,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,eAAe,EAAE,CAAA;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,gBAAgB,CAAA;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
-
import {
|
|
3
|
+
import { EditorConfig } from '../models/';
|
|
4
4
|
import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class EditorService {
|
|
7
7
|
private recordsRepository;
|
|
8
8
|
constructor(recordsRepository: RecordsRepositoryInterface);
|
|
9
|
-
saveRecord(record: CatalogRecord, fieldsConfig:
|
|
9
|
+
saveRecord(record: CatalogRecord, fieldsConfig: EditorConfig, generateNewUniqueIdentifier?: boolean): Observable<[CatalogRecord, string]>;
|
|
10
10
|
saveRecordAsDraft(record: CatalogRecord): Observable<void>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorService, never>;
|
|
12
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<EditorService>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/services/editor.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,MAAM,CAAA;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"editor.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/services/editor.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,MAAM,CAAA;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAEjI,qBAGa,aAAa;IACZ,OAAO,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,0BAA0B;IAGjE,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,YAAY,EAC1B,2BAA2B,UAAQ,GAClC,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAqCtC,iBAAiB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC;yCA7C/C,aAAa;6CAAb,aAAa;CAkDzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-utils.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/utils/map-utils.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EAAU,MAAM,EAAW,MAAM,WAAW,CAAA;AACnD,OAAO,OAAO,MAAM,YAAY,CAAA;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,KAAK,MAAM,gBAAgB,CAAA;AAClC,OAAO,GAAG,MAAM,QAAQ,CAAA;AAExB,OAAO,MAAM,MAAM,kBAAkB,CAAA;AAIrC,OAAO,EAAY,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAO/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjC,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,kCAAkC,CAAA;AACzC,OAAO,UAAU,MAAM,eAAe,CAAA;AACtC,OAAO,eAAe,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,YAAY,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AG,IAAI,CAAC;IAuCnE,iBAAiB,CACrB,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAyBzB,oBAAoB,CAAC,YAAY,EAAE,UAAU,CAAC,WAAW,CAAC;IAuB1D,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,MAAM;yCA7K5C,eAAe;6CAAf,eAAe;CA+L3B;AAED,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,EACb,KAAK,EAAE,eAAe,CAAC,YAAY,CAAC,WAQrC;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,cAAc,EACpB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,WAMhC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { Configuration } from '../../../../../../libs/data-access/gn4/src';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
4
|
import { MdViewFacade } from '../state';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare const WEB_COMPONENT_EMBEDDER_URL: InjectionToken<string>;
|
|
@@ -8,9 +9,11 @@ export declare class DataViewPermalinkComponent {
|
|
|
8
9
|
protected wcEmbedderBaseUrl: string;
|
|
9
10
|
private version;
|
|
10
11
|
private facade;
|
|
12
|
+
viewType$: BehaviorSubject<string>;
|
|
13
|
+
set viewType(value: string);
|
|
11
14
|
permalinkUrl$: import("rxjs").Observable<string>;
|
|
12
15
|
constructor(config: Configuration, wcEmbedderBaseUrl: string, version: string, facade: MdViewFacade);
|
|
13
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataViewPermalinkComponent, [null, { optional: true; }, null, null]>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewPermalinkComponent, "gn-ui-data-view-permalink", never, {}, {}, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewPermalinkComponent, "gn-ui-data-view-permalink", never, { "viewType": { "alias": "viewType"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
18
|
}
|
|
16
19
|
//# sourceMappingURL=data-view-permalink.component.d.ts.map
|
package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-view-permalink.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,
|
|
1
|
+
{"version":3,"file":"data-view-permalink.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EAGf,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;;AAGvC,eAAO,MAAM,0BAA0B,wBAEtC,CAAA;AAED,qBAMa,0BAA0B;IA4CZ,OAAO,CAAC,MAAM;IAGrC,SAAS,CAAC,iBAAiB,EAAE,MAAM;IACZ,OAAO,CAAC,OAAO;IACtC,OAAO,CAAC,MAAM;IAhDhB,SAAS,0BAAqC;IAC9C,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED,aAAa,oCAkCZ;gBAGgC,MAAM,EAAE,aAAa,EAG1C,iBAAiB,EAAE,MAAM,EACJ,OAAO,EAAE,MAAM,EACtC,MAAM,EAAE,YAAY;yCAjDnB,0BAA0B;2CAA1B,0BAA0B;CAmDtC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class DataViewShareComponent {
|
|
3
3
|
protected wcEmbedderBaseUrl: string;
|
|
4
|
+
private _viewType;
|
|
5
|
+
set viewType(value: string);
|
|
6
|
+
get viewType(): string;
|
|
4
7
|
constructor(wcEmbedderBaseUrl: string);
|
|
5
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataViewShareComponent, [{ optional: true; }]>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewShareComponent, "gn-ui-data-view-share", never, {}, {}, never, never, false, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewShareComponent, "gn-ui-data-view-share", never, { "viewType": { "alias": "viewType"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
10
|
}
|
|
8
11
|
//# sourceMappingURL=data-view-share.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-view-share.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"data-view-share.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts"],"names":[],"mappings":";AASA,qBAMa,sBAAsB;IAc/B,SAAS,CAAC,iBAAiB,EAAE,MAAM;IAbrC,OAAO,CAAC,SAAS,CAAQ;IAEzB,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;gBAIW,iBAAiB,EAAE,MAAM;yCAd1B,sBAAsB;2CAAtB,sBAAsB;CAgBlC"}
|
package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { Configuration } from '../../../../../../libs/data-access/gn4/src';
|
|
2
2
|
import { MdViewFacade } from '../state';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DataViewWebComponentComponent {
|
|
5
6
|
private config;
|
|
6
7
|
private version;
|
|
7
8
|
private facade;
|
|
9
|
+
viewType$: BehaviorSubject<string>;
|
|
10
|
+
set viewType(value: string);
|
|
8
11
|
webComponentHtml$: import("rxjs").Observable<string>;
|
|
9
12
|
constructor(config: Configuration, version: string, facade: MdViewFacade);
|
|
10
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataViewWebComponentComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewWebComponentComponent, "gn-ui-data-view-web-component", never, {}, {}, never, never, false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewWebComponentComponent, "gn-ui-data-view-web-component", never, { "viewType": { "alias": "viewType"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
15
|
}
|
|
13
16
|
//# sourceMappingURL=data-view-web-component.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-view-web-component.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-view-web-component.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;;AAG1D,qBAMa,6BAA6B;IA4Ef,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IACtC,OAAO,CAAC,MAAM;IA7EhB,SAAS,0BAAqC;IAC9C,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IACD,iBAAiB,oCAmEhB;gBAGgC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,MAAM,EACtC,MAAM,EAAE,YAAY;yCA9EnB,6BAA6B;2CAA7B,6BAA6B;CAgFzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdview.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAY3C,OAAO,EAAE,qBAAqB,EAAa,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,EACL,aAAa,EACb,YAAY,EACb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAA;AAGlF,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAA;;AAExE,qBAOa,YAAY;IAErB,OAAO,CAAC,KAAK;IACN,cAAc,EAAE,qBAAqB;IAC5C,OAAO,CAAC,aAAa;IACd,WAAW,EAAE,WAAW;gBAHvB,KAAK,EAAE,KAAK,EACb,cAAc,EAAE,qBAAqB,EACpC,aAAa,EAAE,sBAAsB,EACtC,WAAW,EAAE,WAAW;IAGjC,UAAU,qCAGT;IAED,kBAAkB,qCAEjB;IAED,SAAS,oDAGR;IAED,aAAa,qCAGZ;IAED,MAAM;;;OAA4D;IAElE,QAAQ,6CAAsD;IAE9D,YAAY,uDAA0D;IAEtE,SAAS,8HAER;IAED,SAAS,8HAIR;IAED,YAAY,8HAMX;IAED,cAAc,8HAMb;IAED,UAAU,8HAIT;IAED,aAAa,8HAMZ;IAED,yBAAyB,
|
|
1
|
+
{"version":3,"file":"mdview.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAY3C,OAAO,EAAE,qBAAqB,EAAa,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,EACL,aAAa,EACb,YAAY,EACb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAA;AAGlF,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAA;;AAExE,qBAOa,YAAY;IAErB,OAAO,CAAC,KAAK;IACN,cAAc,EAAE,qBAAqB;IAC5C,OAAO,CAAC,aAAa;IACd,WAAW,EAAE,WAAW;gBAHvB,KAAK,EAAE,KAAK,EACb,cAAc,EAAE,qBAAqB,EACpC,aAAa,EAAE,sBAAsB,EACtC,WAAW,EAAE,WAAW;IAGjC,UAAU,qCAGT;IAED,kBAAkB,qCAEjB;IAED,SAAS,oDAGR;IAED,aAAa,qCAGZ;IAED,MAAM;;;OAA4D;IAElE,QAAQ,6CAAsD;IAE9D,YAAY,uDAA0D;IAEtE,SAAS,8HAER;IAED,SAAS,8HAIR;IAED,YAAY,8HAMX;IAED,cAAc,8HAMb;IAED,UAAU,8HAIT;IAED,aAAa,8HAMZ;IAED,yBAAyB,mCAkCxB;IAED,iBAAiB,mCAEhB;IAED,WAAW,8HAMV;IAED,cAAc,4CAA4D;IAC1E,yBAAyB,qCAExB;IACD,yBAAyB,qCAExB;IAED;;;OAGG;IACH,qBAAqB,CAAC,UAAU,EAAE,aAAa;IAI/C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM;IAIrB,aAAa;IAIb,cAAc,CAAC,WAAW,EAAE,yBAAyB;IAIrD;;OAEG;IACH,eAAe,CAAC,YAAY,EAAE,YAAY;IAI1C,iBAAiB,CAAC,WAAW,EAAE,MAAM;yCA/J1B,YAAY;6CAAZ,YAAY;CAkKxB"}
|
|
@@ -1,25 +1,35 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
3
|
import { SearchFacade } from '../state/search.facade';
|
|
4
4
|
import { SelectionService } from '../../../../../../libs/api/repository/src';
|
|
5
5
|
import { SearchService } from '../utils/service/search.service';
|
|
6
6
|
import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
|
|
7
|
+
import { Subscription } from 'rxjs';
|
|
8
|
+
import { NotificationsService } from '../../../../../../libs/feature/notifications/src';
|
|
9
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
7
10
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ResultsTableContainerComponent {
|
|
11
|
+
export declare class ResultsTableContainerComponent implements OnDestroy {
|
|
9
12
|
private searchFacade;
|
|
10
13
|
private searchService;
|
|
11
14
|
private selectionService;
|
|
12
15
|
private recordsRepository;
|
|
16
|
+
private notificationsService;
|
|
17
|
+
private translateService;
|
|
13
18
|
recordClick: EventEmitter<CatalogRecord>;
|
|
19
|
+
duplicateRecord: EventEmitter<CatalogRecord>;
|
|
20
|
+
subscription: Subscription;
|
|
14
21
|
records$: import("rxjs").Observable<CatalogRecord[]>;
|
|
15
22
|
selectedRecords$: import("rxjs").BehaviorSubject<string[]>;
|
|
16
23
|
sortBy$: import("rxjs").Observable<import("../../../../../common/domain/src/lib/model/search").SortByField>;
|
|
17
24
|
hasDraft: (record: CatalogRecord) => boolean;
|
|
18
|
-
constructor(searchFacade: SearchFacade, searchService: SearchService, selectionService: SelectionService, recordsRepository: RecordsRepositoryInterface);
|
|
25
|
+
constructor(searchFacade: SearchFacade, searchService: SearchService, selectionService: SelectionService, recordsRepository: RecordsRepositoryInterface, notificationsService: NotificationsService, translateService: TranslateService);
|
|
19
26
|
handleRecordClick(item: unknown): void;
|
|
27
|
+
handleDuplicateRecord(item: unknown): void;
|
|
28
|
+
handleDeleteRecord(item: unknown): Promise<void>;
|
|
20
29
|
handleSortByChange(col: string, order: 'asc' | 'desc'): void;
|
|
21
30
|
handleRecordsSelectedChange(records: CatalogRecord[], selected: boolean): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
22
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableContainerComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableContainerComponent, "gn-ui-results-table-container", never, {}, { "recordClick": "recordClick"; }, never, never, true, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableContainerComponent, "gn-ui-results-table-container", never, {}, { "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; }, never, never, true, never>;
|
|
24
34
|
}
|
|
25
35
|
//# sourceMappingURL=results-table-container.component.d.ts.map
|
package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results-table-container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-table/results-table-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAU,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"results-table-container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-table/results-table-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,SAAS,EAAU,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AAGjI,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAA;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEtD,qBAOa,8BAA+B,YAAW,SAAS;IAc5D,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IAlBhB,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IAE7D,YAAY,eAAqB;IAEjC,QAAQ,6CAA6B;IACrC,gBAAgB,2CAAoD;IACpE,OAAO,qGAA4B;IAEnC,QAAQ,WAAY,aAAa,KAAG,OAAO,CACqB;gBAGtD,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,0BAA0B,EAC7C,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB;IAG5C,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,qBAAqB,CAAC,IAAI,EAAE,OAAO;IAI7B,kBAAkB,CAAC,IAAI,EAAE,OAAO;IAsCtC,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAIrD,2BAA2B,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,QAAQ,EAAE,OAAO;IAQvE,WAAW;yCAhFA,8BAA8B;2CAA9B,8BAA8B;CAmF1C"}
|
|
@@ -34,6 +34,7 @@ export declare class SearchFacade {
|
|
|
34
34
|
setConfigRequestFields(fields: FieldName[]): SearchFacade;
|
|
35
35
|
setConfigFilters(filters: FieldFilters): SearchFacade;
|
|
36
36
|
requestMoreResults(): SearchFacade;
|
|
37
|
+
requestNewResults(): SearchFacade;
|
|
37
38
|
requestMoreOnAggregation(key: string, increment: number): SearchFacade;
|
|
38
39
|
setResultsLayout(layout: string): SearchFacade;
|
|
39
40
|
setFilters(filters: FieldFilters): SearchFacade;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/search.facade.ts"],"names":[],"mappings":"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AY;IAKtB,SAAS,CAAC,MAAM,EAAE,WAAW;IAK7B,uBAAuB,CAAC,OAAO,EAAE,OAAO;IAKxC,WAAW;yCAtKA,YAAY;6CAAZ,YAAY;CA6KxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/search/src/lib/utils/service/fields.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EACL,mBAAmB,EACnB,UAAU,EASX,MAAM,UAAU,CAAA;AACjB,OAAO,EAAY,UAAU,EAAM,MAAM,MAAM,CAAA;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;;AAI3F,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"fields.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/search/src/lib/utils/service/fields.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EACL,mBAAmB,EACnB,UAAU,EASX,MAAM,UAAU,CAAA;AACjB,OAAO,EAAY,UAAU,EAAM,MAAM,MAAM,CAAA;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;;AAI3F,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,CAAA;AAiBnE,qBAGa,aAAa;IAqDZ,SAAS,CAAC,QAAQ,EAAE,QAAQ;IApDxC,SAAS,CAAC,MAAM,sCA8CwB;IAExC,IAAI,eAAe,aAElB;gBAEqB,QAAQ,EAAE,QAAQ;IAExC,kBAAkB,CAAC,SAAS,EAAE,MAAM;IAMpC,OAAO,CAAC,mBAAmB;IAG3B,OAAO,CAAC,mBAAmB;IAI3B,2BAA2B,CACzB,WAAW,EAAE,WAAW,GACvB,UAAU,CAAC,YAAY,CAAC;IAkB3B,0BAA0B,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,WAAW,CAAC;yCAxF/D,aAAa;6CAAb,aAAa;CAoGzB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './lib/api-card/api-card.component';
|
|
2
2
|
export * from './lib/avatar/avatar.component';
|
|
3
|
+
export * from './lib/confirmation-dialog/confirmation-dialog.component';
|
|
3
4
|
export * from './lib/content-ghost/content-ghost.component';
|
|
4
5
|
export * from './lib/download-item/download-item.component';
|
|
5
6
|
export * from './lib/downloads-list/downloads-list.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ConfirmationDialogData {
|
|
4
|
+
title: string;
|
|
5
|
+
message: string;
|
|
6
|
+
confirmText: string;
|
|
7
|
+
cancelText: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class ConfirmationDialogComponent {
|
|
10
|
+
dialogRef: MatDialogRef<ConfirmationDialogComponent>;
|
|
11
|
+
data: ConfirmationDialogData;
|
|
12
|
+
constructor(dialogRef: MatDialogRef<ConfirmationDialogComponent>, data: ConfirmationDialogData);
|
|
13
|
+
onConfirm(): void;
|
|
14
|
+
onCancel(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "gn-ui-confirmation-dialog", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=confirmation-dialog.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirmation-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EACb,MAAM,0BAA0B,CAAA;;AAGjC,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,qBAQa,2BAA2B;IAE7B,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC;IAC3B,IAAI,EAAE,sBAAsB;gBADrD,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC,EAC3B,IAAI,EAAE,sBAAsB;IAG9D,SAAS;IAIT,QAAQ;yCAVG,2BAA2B;2CAA3B,2BAA2B;CAavC"}
|
|
@@ -14,7 +14,7 @@ export declare class DownloadsListComponent {
|
|
|
14
14
|
isFilterActive(filter: FilterFormat): boolean;
|
|
15
15
|
getFilterFormatTitle(format: FilterFormat): any;
|
|
16
16
|
isLinkOfFormat(link: DatasetDistribution, format: FilterFormat): boolean;
|
|
17
|
-
getLinkFormat(link: DatasetDistribution): "
|
|
17
|
+
getLinkFormat(link: DatasetDistribution): "html" | "json" | "pdf" | "geojson" | "svg" | "csv" | "excel" | "shp" | "gml" | "kml" | "gpkg" | "zip" | "jpg" | "dxf" | "fgb" | "jsonfg";
|
|
18
18
|
getLinkColor(link: DatasetDistribution): string;
|
|
19
19
|
isFromWfs(link: DatasetDistribution): boolean;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<DownloadsListComponent, never>;
|
|
@@ -7,11 +7,8 @@ export declare class MetadataQualityComponent implements OnChanges {
|
|
|
7
7
|
smaller: boolean;
|
|
8
8
|
metadataQualityDisplay: boolean;
|
|
9
9
|
items: MetadataQualityItem[];
|
|
10
|
-
isMenuShown: boolean;
|
|
11
10
|
get qualityScore(): number;
|
|
12
11
|
get calculatedQualityScore(): number;
|
|
13
|
-
showMenu(): void;
|
|
14
|
-
hideMenu(): void;
|
|
15
12
|
private add;
|
|
16
13
|
initialize(): void;
|
|
17
14
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-quality.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAA;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,wBAAyB,YAAW,SAAS;IAC/C,QAAQ,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;IAChC,OAAO,UAAQ;IACf,sBAAsB,EAAE,OAAO,CAAA;IAExC,KAAK,EAAE,mBAAmB,EAAE,CAAK;IAEjC,
|
|
1
|
+
{"version":3,"file":"metadata-quality.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAA;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,wBAAyB,YAAW,SAAS;IAC/C,QAAQ,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;IAChC,OAAO,UAAQ;IACf,sBAAsB,EAAE,OAAO,CAAA;IAExC,KAAK,EAAE,mBAAmB,EAAE,CAAK;IAEjC,IAAI,YAAY,WAKf;IAED,IAAI,sBAAsB,IAAI,MAAM,CAInC;IAED,OAAO,CAAC,GAAG;IAMX,UAAU;IAaV,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;yCAvC9B,wBAAwB;2CAAxB,wBAAwB;CA4CpC"}
|
|
@@ -32,7 +32,7 @@ export declare class RecordApiFormComponent {
|
|
|
32
32
|
parseOutputFormats(): Promise<void>;
|
|
33
33
|
mapFormats(formats: any[]): {
|
|
34
34
|
label: string;
|
|
35
|
-
value: "
|
|
35
|
+
value: "html" | "json" | "pdf" | "geojson" | "svg" | "csv" | "excel" | "shp" | "gml" | "kml" | "gpkg" | "zip" | "jpg" | "dxf" | "fgb" | "jsonfg";
|
|
36
36
|
}[];
|
|
37
37
|
getOutputFormats(url: string): Promise<OutputFormats>;
|
|
38
38
|
createEndpoint(): Promise<void>;
|