geonetwork-ui 2.4.0-dev.6c8dcba0 → 2.4.0-dev.78565730
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/atomic-operations.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/index.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +2 -0
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +1 -1
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +25 -5
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +2 -1
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +3 -1
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +12 -4
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +38 -14
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/record/organization.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/thesaurus/thesaurus.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/data-access/gn4/src/openapi/model/user.api.model.mjs +1 -1
- package/esm2022/libs/feature/catalog/src/index.mjs +2 -1
- package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +1 -1
- package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +6 -6
- package/esm2022/libs/feature/catalog/src/lib/organization-url.token.mjs +4 -0
- package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -6
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +4 -4
- package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +7 -4
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +3 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +6 -4
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +8 -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/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +59 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +64 -50
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +17 -35
- 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 +11 -7
- package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +4 -3
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +144 -54
- 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 +15 -8
- 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/feature-record.module.mjs +7 -4
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +3 -3
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +8 -12
- package/esm2022/libs/feature/router/src/lib/default/constants.mjs +2 -1
- package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
- package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +9 -2
- package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +8 -1
- package/esm2022/libs/feature/search/src/index.mjs +2 -2
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +7 -4
- 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 +55 -0
- package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +3 -2
- package/esm2022/libs/feature/search/src/lib/state/selectors.mjs +4 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +7 -3
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +5 -5
- package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +5 -2
- package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -8
- package/esm2022/libs/ui/elements/src/index.mjs +1 -2
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +5 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +7 -7
- package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +24 -5
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +9 -11
- package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +59 -26
- package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +28 -0
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +11 -10
- package/esm2022/libs/ui/layout/src/index.mjs +2 -1
- package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +71 -0
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +1 -1
- package/esm2022/libs/ui/search/src/index.mjs +2 -1
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +29 -0
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +128 -0
- package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
- package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +5 -3
- package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +1 -6
- package/esm2022/translations/de.json +96 -34
- package/esm2022/translations/en.json +67 -5
- package/esm2022/translations/es.json +67 -5
- package/esm2022/translations/fr.json +68 -6
- package/esm2022/translations/it.json +67 -5
- package/esm2022/translations/nl.json +67 -5
- package/esm2022/translations/pt.json +67 -5
- package/fesm2022/geonetwork-ui.mjs +1615 -757
- 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/atomic-operations.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts +1 -0
- package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +31 -0
- package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -0
- 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/read-parts.d.ts +3 -2
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -2
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +2 -0
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +3 -3
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +9 -5
- 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 +4 -7
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/organization.model.d.ts +1 -0
- package/libs/common/domain/src/lib/model/record/organization.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts +12 -5
- package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +4 -3
- 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 +12 -1
- 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/data-access/gn4/src/openapi/model/user.api.model.d.ts +1 -1
- package/libs/feature/catalog/src/index.d.ts +1 -0
- package/libs/feature/catalog/src/index.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/organization-url.token.d.ts +3 -0
- package/libs/feature/catalog/src/lib/organization-url.token.d.ts.map +1 -0
- package/libs/feature/catalog/src/lib/records/records.service.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +2 -1
- package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +6 -0
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +1 -1
- package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +5 -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/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +25 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +6 -6
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +7 -11
- 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 +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/feature-editor.module.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts +38 -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/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/feature-record.module.d.ts +2 -1
- package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/constants.d.ts +1 -0
- package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/router.config.d.ts +1 -0
- package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/router.service.d.ts +1 -0
- package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/state/router.facade.d.ts +1 -0
- package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
- package/libs/feature/search/src/index.d.ts +1 -1
- package/libs/feature/search/src/index.d.ts.map +1 -1
- package/libs/feature/search/src/lib/feature-search.module.d.ts +2 -1
- package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +27 -0
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -0
- 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/state/selectors.d.ts +1 -0
- package/libs/feature/search/src/lib/state/selectors.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +2 -2
- package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +2 -1
- package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -2
- package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +0 -1
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/error/error.component.d.ts +3 -1
- package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +5 -1
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +19 -19
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +1 -0
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +7 -4
- 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 +11 -0
- package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +35 -35
- package/libs/ui/layout/src/index.d.ts +1 -0
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.d.ts +2 -2
- package/libs/ui/layout/src/lib/max-lines/max-lines.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
- package/libs/ui/search/src/index.d.ts +1 -0
- package/libs/ui/search/src/index.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +11 -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 +32 -0
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -0
- package/libs/ui/widgets/src/index.d.ts +0 -1
- package/libs/ui/widgets/src/index.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +10 -11
- package/libs/ui/widgets/src/lib/ui-widgets.module.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/gn4/atomic-operations.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/types/index.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +31 -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/read-parts.ts +2 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +2 -2
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +41 -8
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +1 -0
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +3 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +25 -4
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +81 -21
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +4 -9
- package/src/libs/common/domain/src/lib/model/record/organization.model.ts +1 -0
- package/src/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.ts +13 -6
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +7 -3
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +16 -1
- 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/common/fixtures/src/lib/organisations.fixture.ts +28 -0
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +8 -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/openapi/model/user.api.model.ts +1 -1
- package/src/libs/data-access/gn4/src/spec.yaml +0 -8
- package/src/libs/feature/catalog/src/index.ts +1 -0
- package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +0 -1
- package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -1
- package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +2 -2
- package/src/libs/feature/catalog/src/lib/organization-url.token.ts +6 -0
- package/src/libs/feature/catalog/src/lib/records/records.service.ts +6 -8
- package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +2 -1
- package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +7 -0
- package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +35 -29
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +10 -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/record-form/form-field/form-field-keywords/form-field-keywords.component.html +19 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +79 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +95 -86
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +16 -31
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +18 -45
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -2
- 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/feature-editor.module.ts +2 -1
- package/src/libs/feature/editor/src/lib/fields.config.ts +176 -55
- 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 +27 -9
- 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/feature-record.module.ts +3 -2
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +42 -31
- package/src/libs/feature/router/src/lib/default/constants.ts +1 -0
- package/src/libs/feature/router/src/lib/default/router.config.ts +1 -0
- package/src/libs/feature/router/src/lib/default/router.service.ts +13 -1
- package/src/libs/feature/router/src/lib/default/state/router.facade.ts +9 -1
- package/src/libs/feature/search/src/index.ts +1 -1
- package/src/libs/feature/search/src/lib/feature-search.module.ts +2 -1
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +2 -2
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +10 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +54 -0
- package/src/libs/feature/search/src/lib/state/search.facade.ts +5 -0
- package/src/libs/feature/search/src/lib/state/selectors.ts +7 -0
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +16 -2
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +8 -6
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
- package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +2 -0
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +11 -3
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +3 -7
- package/src/libs/ui/elements/src/index.ts +0 -1
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +29 -29
- package/src/libs/ui/elements/src/lib/error/error.component.html +30 -6
- package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -0
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +1 -1
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +22 -1
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +4 -6
- package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
- package/src/libs/ui/inputs/src/index.ts +1 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +0 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +23 -19
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +79 -27
- package/src/libs/ui/inputs/src/lib/badge/badge.component.html +18 -0
- package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +27 -0
- 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/inputs/src/lib/ui-inputs.module.ts +3 -3
- package/src/libs/ui/layout/src/index.ts +1 -0
- package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.css +0 -0
- package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.html +1 -0
- package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.ts +9 -5
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -1
- package/src/libs/ui/search/src/index.ts +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 +17 -0
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +22 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.css +0 -0
- package/src/libs/{feature → ui}/search/src/lib/results-table/results-table.component.html +17 -8
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +152 -0
- package/src/libs/ui/widgets/src/index.ts +0 -1
- package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +4 -0
- package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -3
- package/translations/de.json +96 -34
- package/translations/en.json +67 -5
- package/translations/es.json +67 -5
- package/translations/fr.json +68 -6
- package/translations/it.json +67 -5
- package/translations/nl.json +67 -5
- package/translations/pt.json +67 -5
- package/translations/sk.json +68 -6
- 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/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +0 -136
- package/esm2022/libs/ui/elements/src/lib/max-lines/max-lines.component.mjs +0 -69
- package/esm2022/libs/ui/widgets/src/lib/badge/badge.component.mjs +0 -18
- 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/libs/feature/search/src/lib/results-table/results-table.component.d.ts +0 -36
- package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/max-lines/max-lines.component.d.ts.map +0 -1
- package/libs/ui/widgets/src/lib/badge/badge.component.d.ts +0 -7
- package/libs/ui/widgets/src/lib/badge/badge.component.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
- package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +0 -172
- package/src/libs/ui/widgets/src/lib/badge/badge.component.html +0 -10
- package/src/libs/ui/widgets/src/lib/badge/badge.component.ts +0 -14
- /package/src/libs/feature/{search/src/lib/results-table/results-table.component.css → editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.css} +0 -0
- /package/src/libs/{ui/elements/src/lib/max-lines/max-lines.component.css → feature/search/src/lib/results-table/results-table-container.component.css} +0 -0
- /package/src/libs/ui/{widgets → inputs}/src/lib/badge/badge.component.css +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EditorState } from './editor.reducer';
|
|
2
|
+
import { EditorSectionWithValues } from './editor.models';
|
|
2
3
|
export declare const selectEditorState: import("@ngrx/store").MemoizedSelector<object, EditorState, import("@ngrx/store").DefaultProjectorFn<EditorState>>;
|
|
3
4
|
export declare const selectRecord: import("@ngrx/store").MemoizedSelector<object, import("../../../../../common/domain/src/lib/model/record").CatalogRecord, (s1: EditorState) => import("../../../../../common/domain/src/lib/model/record").CatalogRecord>;
|
|
4
5
|
export declare const selectRecordSource: import("@ngrx/store").MemoizedSelector<object, string, (s1: EditorState) => string>;
|
|
@@ -6,12 +7,7 @@ export declare const selectRecordSaving: import("@ngrx/store").MemoizedSelector<
|
|
|
6
7
|
export declare const selectRecordSaveError: import("@ngrx/store").MemoizedSelector<object, string, (s1: EditorState) => string>;
|
|
7
8
|
export declare const selectRecordChangedSinceSave: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: EditorState) => boolean>;
|
|
8
9
|
export declare const selectRecordAlreadySavedOnce: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: EditorState) => boolean>;
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
value: any;
|
|
13
|
-
}[], (s1: EditorState) => {
|
|
14
|
-
config: import("../models/fields.model").EditorFieldConfig;
|
|
15
|
-
value: any;
|
|
16
|
-
}[]>;
|
|
10
|
+
export declare const selectEditorConfig: import("@ngrx/store").MemoizedSelector<object, import("geonetwork-ui").EditorConfig, (s1: EditorState) => import("geonetwork-ui").EditorConfig>;
|
|
11
|
+
export declare const selectCurrentPage: import("@ngrx/store").MemoizedSelector<object, number, (s1: EditorState) => number>;
|
|
12
|
+
export declare const selectRecordSections: import("@ngrx/store").MemoizedSelector<object, EditorSectionWithValues[], (s1: EditorState) => EditorSectionWithValues[]>;
|
|
17
13
|
//# sourceMappingURL=editor.selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.selectors.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,WAAW,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"editor.selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.selectors.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,eAAO,MAAM,iBAAiB,oHAC0B,CAAA;AAExD,eAAO,MAAM,YAAY,2NAGxB,CAAA;AAED,eAAO,MAAM,kBAAkB,qFAG9B,CAAA;AAED,eAAO,MAAM,kBAAkB,uFAG9B,CAAA;AAED,eAAO,MAAM,qBAAqB,qFAGjC,CAAA;AAED,eAAO,MAAM,4BAA4B,uFAGxC,CAAA;AAED,eAAO,MAAM,4BAA4B,uFAGxC,CAAA;AAED,eAAO,MAAM,kBAAkB,iJAG9B,CAAA;AAED,eAAO,MAAM,iBAAiB,qFAG7B,CAAA;AAED,eAAO,MAAM,oBAAoB,2HAehC,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
3
|
+
import { Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
type AutocompleteItem = {
|
|
6
|
+
title: string;
|
|
7
|
+
value: Keyword;
|
|
8
|
+
};
|
|
9
|
+
export declare class FormFieldKeywordsComponent {
|
|
10
|
+
private platformService;
|
|
11
|
+
control: FormControl<Keyword[]>;
|
|
12
|
+
displayWithFn: (item: AutocompleteItem) => string;
|
|
13
|
+
autoCompleteAction: (query: string) => import("rxjs").Observable<{
|
|
14
|
+
title: string;
|
|
15
|
+
value: Keyword;
|
|
16
|
+
}[]>;
|
|
17
|
+
constructor(platformService: PlatformServiceInterface);
|
|
18
|
+
handleItemSelection(item: AutocompleteItem): void;
|
|
19
|
+
addKeyword(keyword: Keyword): void;
|
|
20
|
+
removeKeyword(index: number): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldKeywordsComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=form-field-keywords.component.d.ts.map
|
|
@@ -0,0 +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;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"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { DropdownChoice } from '../../../../../../../../../libs/ui/inputs/src';
|
|
3
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { UpdateFrequency } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class FormFieldUpdateFrequencyComponent implements OnInit {
|
|
6
8
|
private translateService;
|
|
7
|
-
control: FormControl
|
|
9
|
+
control: FormControl<UpdateFrequency>;
|
|
10
|
+
protected choices: DropdownChoice[];
|
|
8
11
|
get planned(): boolean;
|
|
9
12
|
constructor(translateService: TranslateService);
|
|
10
|
-
ngOnInit(): void
|
|
13
|
+
ngOnInit(): Promise<void>;
|
|
11
14
|
onPlannedToggled(): void;
|
|
12
15
|
get selectedFrequency(): string;
|
|
13
16
|
onSelectFrequencyValue(value: unknown): void;
|
|
14
|
-
|
|
15
|
-
value: string;
|
|
16
|
-
label: any;
|
|
17
|
-
}[];
|
|
17
|
+
private getInitialChoices;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldUpdateFrequencyComponent, never>;
|
|
19
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldUpdateFrequencyComponent, "gn-ui-form-field-update-frequency", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-update-frequency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"form-field-update-frequency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAEL,cAAc,EAEf,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EACL,eAAe,EAEhB,MAAM,oEAAoE,CAAA;;AAG3E,qBAQa,iCAAkC,YAAW,MAAM;IASlD,OAAO,CAAC,gBAAgB;IAR3B,OAAO,EAAE,WAAW,CAAC,eAAe,CAAC,CAAA;IAE9C,SAAS,CAAC,OAAO,EAAE,cAAc,EAAE,CAAK;IAExC,IAAI,OAAO,YAEV;gBAEmB,gBAAgB,EAAE,gBAAgB;IAEhD,QAAQ;IAuBd,gBAAgB;IAQhB,IAAI,iBAAiB,IAAI,MAAM,CAI9B;IAED,sBAAsB,CAAC,KAAK,EAAE,OAAO;YAQvB,iBAAiB;yCAxDpB,iCAAiC;2CAAjC,iCAAiC;CA4H7C"}
|
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 } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
4
|
+
import { CatalogRecordKeys } from '../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
5
|
+
import { FormFieldConfig } from '../../../models';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class FormFieldComponent {
|
|
7
|
-
model:
|
|
8
|
+
model: CatalogRecordKeys;
|
|
8
9
|
config: FormFieldConfig;
|
|
9
10
|
set value(v: unknown);
|
|
10
11
|
valueChange: Observable<unknown>;
|
|
@@ -12,21 +13,16 @@ export declare class FormFieldComponent {
|
|
|
12
13
|
formControl: FormControl<any>;
|
|
13
14
|
constructor();
|
|
14
15
|
focusTitleInput(): void;
|
|
15
|
-
get simpleType(): "number" | "text" | "url" | "date" | "toggle" | "list";
|
|
16
|
-
get isSimpleField(): boolean;
|
|
17
|
-
get isFileField(): boolean;
|
|
18
|
-
get isSpatialExtentField(): boolean;
|
|
19
|
-
get isArrayField(): boolean;
|
|
20
|
-
get isObjectField(): boolean;
|
|
21
|
-
get isFieldOk(): boolean;
|
|
22
|
-
get isFieldLocked(): boolean;
|
|
23
|
-
get isFieldInvalid(): boolean;
|
|
24
16
|
get isTitle(): boolean;
|
|
25
17
|
get isAbstract(): boolean;
|
|
26
18
|
get isLicenses(): boolean;
|
|
27
19
|
get isResourceUpdated(): boolean;
|
|
28
20
|
get isUpdateFrequency(): boolean;
|
|
29
21
|
get isTemporalExtents(): boolean;
|
|
22
|
+
get isSpatialExtentField(): boolean;
|
|
23
|
+
get isSimpleField(): boolean;
|
|
24
|
+
get isReadOnly(): boolean;
|
|
25
|
+
get isKeywords(): boolean;
|
|
30
26
|
get withoutWrapper(): boolean;
|
|
31
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
32
28
|
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;AAEnG,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;;AAEjD,qBA2Ba,kBAAkB;IACpB,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,WAAW,mBAAoB;;IAM/B,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,aAAa,YAEhB;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IAED,IAAI,cAAc,YAEjB;yCAxDU,kBAAkB;2CAAlB,kBAAkB;CAyD9B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './form-field-keywords/form-field-keywords.component';
|
|
1
2
|
export * from './form-field-license/form-field-license.component';
|
|
2
3
|
export * from './form-field-resource-updated/form-field-resource-updated.component';
|
|
3
4
|
export * from './form-field-temporal-extents/form-field-temporal-extents.component';
|
|
@@ -8,5 +9,4 @@ export * from './form-field-object/form-field-object.component';
|
|
|
8
9
|
export * from './form-field-array/form-field-array.component';
|
|
9
10
|
export * from './form-field-spatial-extent/form-field-spatial-extent.component';
|
|
10
11
|
export * from './form-field.component';
|
|
11
|
-
export * from './form-field.model';
|
|
12
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,mDAAmD,CAAA;AACjE,cAAc,qEAAqE,CAAA;AACnF,cAAc,qEAAqE,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-editor.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/feature-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"feature-editor.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/feature-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAmBA,qBAyBa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,2BAA2B,CAAA"}
|
|
@@ -1,3 +1,39 @@
|
|
|
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
|
+
/************************************************************
|
|
22
|
+
*************** SECTIONS *****************
|
|
23
|
+
************************************************************
|
|
24
|
+
*/
|
|
25
|
+
export declare const TITLE_SECTION: EditorSection;
|
|
26
|
+
export declare const ABOUT_SECTION: EditorSection;
|
|
27
|
+
export declare const GEOGRAPHICAL_COVERAGE_SECTION: EditorSection;
|
|
28
|
+
export declare const ASSOCIATED_RESOURCES_SECTION: EditorSection;
|
|
29
|
+
export declare const ANNEXES_SECTION: EditorSection;
|
|
30
|
+
export declare const CLASSIFICATION_SECTION: EditorSection;
|
|
31
|
+
export declare const USE_AND_ACCESS_CONDITIONS_SECTION: EditorSection;
|
|
32
|
+
export declare const DATA_MANAGERS_SECTION: EditorSection;
|
|
33
|
+
export declare const DATA_POINT_OF_CONTACT_SECTION: EditorSection;
|
|
34
|
+
/************************************************************
|
|
35
|
+
*************** PAGES *****************
|
|
36
|
+
************************************************************
|
|
37
|
+
*/
|
|
38
|
+
export declare const DEFAULT_CONFIGURATION: EditorConfig;
|
|
3
39
|
//# 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;;;GAGG;AAEH,eAAO,MAAM,aAAa,EAAE,aAG3B,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,
|
|
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,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"}
|
|
@@ -20,9 +20,10 @@ import * as i18 from "../../../../ui/widgets/src/lib/ui-widgets.module";
|
|
|
20
20
|
import * as i19 from "@ngx-translate/core";
|
|
21
21
|
import * as i20 from "../../../../ui/dataviz/src/lib/table/table.component";
|
|
22
22
|
import * as i21 from "../../../dataviz/src/lib/feature-dataviz.module";
|
|
23
|
+
import * as i22 from "../../../../ui/widgets/src/lib/popup-alert/popup-alert.component";
|
|
23
24
|
export declare class FeatureRecordModule {
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureRecordModule, never>;
|
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureRecordModule, [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i3.ExternalViewerButtonComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent], [typeof i7.CommonModule, typeof i8.StoreFeatureModule, typeof i9.EffectsFeatureModule, typeof i10.UiLayoutModule, typeof i11.FeatureMapModule, typeof i12.FeatureCatalogModule, typeof i13.UiMapModule, typeof i14.UiInputsModule, typeof i15.UiElementsModule, typeof i16.MatTabsModule, typeof i17.MatIconModule, typeof i18.UiWidgetsModule, typeof i19.TranslateModule, typeof i20.TableComponent, typeof i21.FeatureDatavizModule], [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent]>;
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureRecordModule, [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i3.ExternalViewerButtonComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent], [typeof i7.CommonModule, typeof i8.StoreFeatureModule, typeof i9.EffectsFeatureModule, typeof i10.UiLayoutModule, typeof i11.FeatureMapModule, typeof i12.FeatureCatalogModule, typeof i13.UiMapModule, typeof i14.UiInputsModule, typeof i15.UiElementsModule, typeof i16.MatTabsModule, typeof i17.MatIconModule, typeof i18.UiWidgetsModule, typeof i19.TranslateModule, typeof i20.TableComponent, typeof i21.FeatureDatavizModule, typeof i22.PopupAlertComponent], [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent]>;
|
|
26
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<FeatureRecordModule>;
|
|
27
28
|
}
|
|
28
29
|
//# sourceMappingURL=feature-record.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-record.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/record/src/lib/feature-record.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feature-record.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/record/src/lib/feature-record.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA6BA,qBAoCa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
|
|
@@ -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;
|
|
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,6 +1,7 @@
|
|
|
1
1
|
export declare const ROUTER_STATE_KEY = "router";
|
|
2
2
|
export declare const ROUTER_ROUTE_SEARCH = "search";
|
|
3
3
|
export declare const ROUTER_ROUTE_DATASET = "dataset";
|
|
4
|
+
export declare const ROUTER_ROUTE_ORGANIZATION = "organization";
|
|
4
5
|
export declare enum ROUTE_PARAMS {
|
|
5
6
|
SORT = "_sort",
|
|
6
7
|
PUBLISHER = "publisher",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,WAAW,CAAA;AAExC,eAAO,MAAM,mBAAmB,WAAW,CAAA;AAC3C,eAAO,MAAM,oBAAoB,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,WAAW,CAAA;AAExC,eAAO,MAAM,mBAAmB,WAAW,CAAA;AAC3C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAC7C,eAAO,MAAM,yBAAyB,iBAAiB,CAAA;AAEvD,oBAAY,YAAY;IACtB,IAAI,UAAU;IACd,SAAS,cAAc;IACvB,IAAI,UAAU;CACf;AACD,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,CAAA"}
|
|
@@ -3,6 +3,7 @@ export interface RouterConfigModel {
|
|
|
3
3
|
searchStateId: string;
|
|
4
4
|
searchRouteComponent: Type<any>;
|
|
5
5
|
recordRouteComponent: Type<any>;
|
|
6
|
+
organizationRouteComponent: Type<any>;
|
|
6
7
|
}
|
|
7
8
|
export declare const ROUTER_CONFIG: InjectionToken<RouterConfigModel>;
|
|
8
9
|
//# sourceMappingURL=router.config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.config.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/router.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEpD,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,MAAM,CAAA;IACrB,oBAAoB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;IAC/B,oBAAoB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"router.config.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/router.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEpD,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,MAAM,CAAA;IACrB,oBAAoB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;IAC/B,oBAAoB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;IAC/B,0BAA0B,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;CACtC;AAED,eAAO,MAAM,aAAa,mCAEzB,CAAA"}
|
|
@@ -8,6 +8,7 @@ export declare class RouterService {
|
|
|
8
8
|
initRoutes(): void;
|
|
9
9
|
buildRoutes(): Routes;
|
|
10
10
|
getSearchRoute(): string;
|
|
11
|
+
getOrganizationPageRoute(): string;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<RouterService, never>;
|
|
12
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<RouterService>;
|
|
13
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/router.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"router.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/router.service.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAiB,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;;AAElE,qBAGa,aAAa;IAEC,SAAS,CAAC,YAAY,EAAE,iBAAiB;IAChE,OAAO,CAAC,MAAM;gBADmB,YAAY,EAAE,iBAAiB,EACxD,MAAM,EAAE,MAAM;IAGxB,UAAU;IAIV,WAAW,IAAI,MAAM;IAqBrB,cAAc,IAAI,MAAM;IAIxB,wBAAwB,IAAI,MAAM;yCAnCvB,aAAa;6CAAb,aAAa;CAsCzB"}
|
|
@@ -13,6 +13,7 @@ export declare class RouterFacade {
|
|
|
13
13
|
searchParams$: import("rxjs").Observable<any>;
|
|
14
14
|
constructor(store: Store<RouterReducerState>, routerService: RouterService);
|
|
15
15
|
goToMetadata(metadata: CatalogRecord): void;
|
|
16
|
+
goToOrganization(organizationName: string): void;
|
|
16
17
|
updateSearch(query?: SearchRouteParams): void;
|
|
17
18
|
setSearch(query?: SearchRouteParams): void;
|
|
18
19
|
go(payload: RouterGoActionPayload): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.facade.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/router/src/lib/default/state/router.facade.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,EAGL,iBAAiB,EAClB,MAAM,cAAc,CAAA;AACrB,OAAO,EAIL,qBAAqB,EACtB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAA;;AAE5F,qBACa,YAAY;IAYrB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,aAAa;IAZvB,aAAa,iCAA8C;IAC3D,WAAW,8DAA6C;IAExD,aAAa,iCAKZ;gBAGS,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,EAChC,aAAa,EAAE,aAAa;IAGtC,YAAY,CAAC,QAAQ,EAAE,aAAa;IAgBpC,YAAY,CAAC,KAAK,CAAC,EAAE,iBAAiB;IAQtC,SAAS,CAAC,KAAK,CAAC,EAAE,iBAAiB;IAOnC,EAAE,CAAC,OAAO,EAAE,qBAAqB;IAIjC,IAAI;IAIJ,OAAO;
|
|
1
|
+
{"version":3,"file":"router.facade.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/router/src/lib/default/state/router.facade.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,EAGL,iBAAiB,EAClB,MAAM,cAAc,CAAA;AACrB,OAAO,EAIL,qBAAqB,EACtB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAA;;AAE5F,qBACa,YAAY;IAYrB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,aAAa;IAZvB,aAAa,iCAA8C;IAC3D,WAAW,8DAA6C;IAExD,aAAa,iCAKZ;gBAGS,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,EAChC,aAAa,EAAE,aAAa;IAGtC,YAAY,CAAC,QAAQ,EAAE,aAAa;IAgBpC,gBAAgB,CAAC,gBAAgB,EAAE,MAAM;IAQzC,YAAY,CAAC,KAAK,CAAC,EAAE,iBAAiB;IAQtC,SAAS,CAAC,KAAK,CAAC,EAAE,iBAAiB;IAOnC,EAAE,CAAC,OAAO,EAAE,qBAAqB;IAIjC,IAAI;IAIJ,OAAO;yCA/DI,YAAY;6CAAZ,YAAY;CAkExB"}
|
|
@@ -21,5 +21,5 @@ export * from './lib/results-hits-number/results-hits.container.component';
|
|
|
21
21
|
export * from './lib/results-layout/results-layout.component';
|
|
22
22
|
export * from './lib/sort-by/sort-by.component';
|
|
23
23
|
export * from './lib/state/container/search-state.container.directive';
|
|
24
|
-
export * from './lib/results-table/results-table.component';
|
|
24
|
+
export * from './lib/results-table/results-table-container.component';
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/search/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2CAA2C,CAAA;AACzD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0DAA0D,CAAA;AACxE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,uDAAuD,CAAA;AACrE,cAAc,4DAA4D,CAAA;AAC1E,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wDAAwD,CAAA;AACtE,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/search/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2CAA2C,CAAA;AACzD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0DAA0D,CAAA;AACxE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,uDAAuD,CAAA;AACrE,cAAc,4DAA4D,CAAA;AAC1E,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wDAAwD,CAAA;AACtE,cAAc,uDAAuD,CAAA"}
|
|
@@ -19,9 +19,10 @@ import * as i17 from "../../../../ui/elements/src/lib/ui-elements.module";
|
|
|
19
19
|
import * as i18 from "./facets/facets.module";
|
|
20
20
|
import * as i19 from "@angular/material/icon";
|
|
21
21
|
import * as i20 from "../../../../ui/widgets/src/lib/ui-widgets.module";
|
|
22
|
+
import * as i21 from "../../../../ui/inputs/src/lib/autocomplete/autocomplete.component";
|
|
22
23
|
export declare class FeatureSearchModule {
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureSearchModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureSearchModule, [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent], [typeof i10.CommonModule, typeof i11.TranslateModule, typeof i12.StoreFeatureModule, typeof i13.EffectsFeatureModule, typeof i14.HttpClientModule, typeof i14.HttpClientXsrfModule, typeof i15.UiSearchModule, typeof i16.UiInputsModule, typeof i17.UiElementsModule, typeof i18.FacetsModule, typeof i19.MatIconModule, typeof i20.UiWidgetsModule], [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i18.FacetsModule, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent]>;
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureSearchModule, [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent], [typeof i10.CommonModule, typeof i11.TranslateModule, typeof i12.StoreFeatureModule, typeof i13.EffectsFeatureModule, typeof i14.HttpClientModule, typeof i14.HttpClientXsrfModule, typeof i15.UiSearchModule, typeof i16.UiInputsModule, typeof i17.UiElementsModule, typeof i18.FacetsModule, typeof i19.MatIconModule, typeof i20.UiWidgetsModule, typeof i21.AutocompleteComponent], [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i18.FacetsModule, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent]>;
|
|
25
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<FeatureSearchModule>;
|
|
26
27
|
}
|
|
27
28
|
//# sourceMappingURL=feature-search.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA0BA,qBAgDa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,
|
|
1
|
+
{"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAkB,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAGjI,qBAMa,oBAAqB,YAAW,MAAM;IAe/C,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,iBAAiB;IAhBO,YAAY,EAAE,qBAAqB,CAAA;IAC5D,SAAS,UAAQ;IAChB,YAAY,8BAAoC;IAChD,cAAc,uBAA6B;IACrD,iBAAiB,EAAE,UAAU,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAEhD,aAAa,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,CAA2B;IAE3E,kBAAkB,UAAW,MAAM,iCAGO;gBAGhC,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,0BAA0B;IAGvD,QAAQ,IAAI,IAAI;IAQhB;;;;;OAKG;IACH,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAS1C,qBAAqB,CAAC,GAAG,EAAE,MAAM;IAQ3B,kBAAkB;yCAnDb,oBAAoB;2CAApB,oBAAoB;CA2DhC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import { SearchFacade } from '../state/search.facade';
|
|
4
|
+
import { SelectionService } from '../../../../../../libs/api/repository/src';
|
|
5
|
+
import { SearchService } from '../utils/service/search.service';
|
|
6
|
+
import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ResultsTableContainerComponent {
|
|
9
|
+
private searchFacade;
|
|
10
|
+
private searchService;
|
|
11
|
+
private selectionService;
|
|
12
|
+
private recordsRepository;
|
|
13
|
+
recordClick: EventEmitter<CatalogRecord>;
|
|
14
|
+
duplicateRecord: EventEmitter<CatalogRecord>;
|
|
15
|
+
records$: import("rxjs").Observable<CatalogRecord[]>;
|
|
16
|
+
selectedRecords$: import("rxjs").BehaviorSubject<string[]>;
|
|
17
|
+
sortBy$: import("rxjs").Observable<import("../../../../../common/domain/src/lib/model/search").SortByField>;
|
|
18
|
+
hasDraft: (record: CatalogRecord) => boolean;
|
|
19
|
+
constructor(searchFacade: SearchFacade, searchService: SearchService, selectionService: SelectionService, recordsRepository: RecordsRepositoryInterface);
|
|
20
|
+
handleRecordClick(item: unknown): void;
|
|
21
|
+
handleDuplicateRecord(item: unknown): void;
|
|
22
|
+
handleSortByChange(col: string, order: 'asc' | 'desc'): void;
|
|
23
|
+
handleRecordsSelectedChange(records: CatalogRecord[], selected: boolean): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableContainerComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableContainerComponent, "gn-ui-results-table-container", never, {}, { "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=results-table-container.component.d.ts.map
|