geonetwork-ui 2.4.0-dev.e1bb65c4 → 2.4.0-dev.e6ae55aa
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/metadata.model.mjs +1 -1
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +12 -1
- 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 +2 -2
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +9 -5
- package/esm2022/libs/common/domain/src/lib/model/record/organization.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/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/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +4 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +3 -3
- 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 +143 -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/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/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/lib/results-table/results-table-container.component.mjs +9 -3
- 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 +4 -4
- 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 +7 -9
- package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
- 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/lib/results-table/action-menu/action-menu.component.mjs +29 -0
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +15 -7
- package/esm2022/translations/de.json +88 -33
- package/esm2022/translations/en.json +59 -4
- package/esm2022/translations/es.json +59 -4
- package/esm2022/translations/fr.json +60 -5
- package/esm2022/translations/it.json +59 -4
- package/esm2022/translations/nl.json +59 -4
- package/esm2022/translations/pt.json +59 -4
- package/fesm2022/geonetwork-ui.mjs +942 -292
- 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/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/repository/src/lib/gn4/gn4-repository.d.ts +1 -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.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/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/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 +9 -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/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/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/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.component.d.ts +1 -1
- 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 +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/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/lib/results-table/results-table-container.component.d.ts +3 -1
- 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/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/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/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 +4 -2
- package/libs/ui/search/src/lib/results-table/results-table.component.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/metadata.model.ts +1 -0
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +20 -0
- 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 +1 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +26 -15
- package/src/libs/common/domain/src/lib/model/record/organization.model.ts +1 -0
- 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 +12 -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/common/fixtures/src/lib/organisations.fixture.ts +28 -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/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/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.component.html +9 -9
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +2 -1
- 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 +175 -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/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/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/lib/results-table/results-table-container.component.html +1 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +5 -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 +2 -4
- package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
- 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/index.ts +1 -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/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.html +9 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +26 -12
- package/translations/de.json +88 -33
- package/translations/en.json +59 -4
- package/translations/es.json +59 -4
- package/translations/fr.json +60 -5
- package/translations/it.json +59 -4
- package/translations/nl.json +59 -4
- package/translations/pt.json +59 -4
- package/translations/sk.json +60 -5
- 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/ui/elements/src/lib/max-lines/max-lines.component.mjs +0 -69
- 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/ui/elements/src/lib/max-lines/max-lines.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/ui/{elements → layout}/src/lib/max-lines/max-lines.component.css +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/search.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAQ,UAAU,EAAM,MAAM,MAAM,CAAA;AAsB3C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"search.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/search.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAQ,UAAU,EAAM,MAAM,MAAM,CAAA;AAsB3C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAoBvE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,SAAS,EACT,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBACa,YAAY;IA0BrB,OAAO,CAAC,KAAK;IAGb,OAAO,CAAC,cAAc;IA5BxB,QAAQ,EAAE,UAAU,CAAC,aAAa,EAAE,CAAC,CAAA;IACrC,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC3B,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAChC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC/B,qBAAqB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC1C,eAAe,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IACpC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC/B,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC7B,cAAc,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IACxC,mBAAmB,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAA;IACnD,oBAAoB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IAC9C,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,cAAc,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IACnC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAC/B,qBAAqB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC1C,iBAAiB,sBAIhB;IAED,QAAQ,EAAE,MAAM,CAAA;gBAGN,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,EAGzB,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC;IAG3C,IAAI,CAAC,QAAQ,GAAE,MAA2B,GAAG,IAAI;IAmCjD,YAAY,IAAI,YAAY;IAK5B,qBAAqB,CAAC,MAAM,EAAE,GAAG,GAAG,YAAY;IAKhD,wBAAwB,CAAC,MAAM,EAAE,GAAG,GAAG,YAAY;IAKnD,sBAAsB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,YAAY;IAKzD,gBAAgB,CAAC,OAAO,EAAE,YAAY,GAAG,YAAY;IAKrD,kBAAkB,IAAI,YAAY;IAKlC,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,YAAY;IAOtE,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY;IAK9C,UAAU,CAAC,OAAO,EAAE,YAAY,GAAG,YAAY;IAK/C,aAAa,CAAC,OAAO,EAAE,YAAY,GAAG,YAAY;IAKlD,SAAS,CAAC,MAAM,EAAE,iBAAiB,GAAG,YAAY;IAKlD,gBAAgB,CAAC,aAAa,EAAE,OAAO,GAAG,YAAY;IAKtD,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY;IAOnE,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY;IAKvC,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,YAAY;IAK1C,MAAM,IAAI,YAAY;IAKtB,SAAS,CAAC,MAAM,EAAE,WAAW;IAK7B,uBAAuB,CAAC,OAAO,EAAE,OAAO;IAKxC,WAAW;yCAjKA,YAAY;6CAAZ,YAAY;CAwKxB"}
|
|
@@ -9,6 +9,7 @@ export declare const getSearchResults: import("@ngrx/store").MemoizedSelector<ob
|
|
|
9
9
|
export declare const getSearchResultsLoading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: SearchStateSearch) => boolean>;
|
|
10
10
|
export declare const getSearchResultsAggregations: import("@ngrx/store").MemoizedSelector<object, import("../../../../../common/domain/src/lib/model/search").Aggregations, (s1: SearchStateSearch) => import("../../../../../common/domain/src/lib/model/search").Aggregations>;
|
|
11
11
|
export declare const getSearchResultsHits: import("@ngrx/store").MemoizedSelector<object, number, (s1: SearchStateSearch) => number>;
|
|
12
|
+
export declare const isBeginningOfResults: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: SearchStateSearch) => boolean>;
|
|
12
13
|
export declare const isEndOfResults: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: SearchStateSearch) => boolean>;
|
|
13
14
|
export declare const totalPages: import("@ngrx/store").MemoizedSelector<object, number, (s1: SearchStateSearch) => number>;
|
|
14
15
|
export declare const currentPage: import("@ngrx/store").MemoizedSelector<object, number, (s1: SearchStateSearch) => number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/selectors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE9E,eAAO,MAAM,cAAc,oHAC6B,CAAA;AAExD,eAAO,MAAM,oBAAoB,2GAGhC,CAAA;AAED,eAAO,MAAM,gBAAgB,+NAG5B,CAAA;AAED,eAAO,MAAM,eAAe,6NAG3B,CAAA;AAED,eAAO,MAAM,sBAAsB,2FAGlC,CAAA;AAED,eAAO,MAAM,2BAA2B,2OAGvC,CAAA;AAED,eAAO,MAAM,gBAAgB,qOAG5B,CAAA;AAED,eAAO,MAAM,uBAAuB,6FAGnC,CAAA;AAED,eAAO,MAAM,4BAA4B,+NAGxC,CAAA;AAED,eAAO,MAAM,oBAAoB,2FAGhC,CAAA;AAED,eAAO,MAAM,cAAc,6FAS1B,CAAA;AAED,eAAO,MAAM,UAAU,2FAKtB,CAAA;AAED,eAAO,MAAM,WAAW,2FAGvB,CAAA;AAED,eAAO,MAAM,WAAW,2FAGvB,CAAA;AAED,eAAO,MAAM,gBAAgB,6FAG5B,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;EAGpB,CAAA;AAED,eAAO,MAAM,uBAAuB,6FAGnC,CAAA"}
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/selectors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE9E,eAAO,MAAM,cAAc,oHAC6B,CAAA;AAExD,eAAO,MAAM,oBAAoB,2GAGhC,CAAA;AAED,eAAO,MAAM,gBAAgB,+NAG5B,CAAA;AAED,eAAO,MAAM,eAAe,6NAG3B,CAAA;AAED,eAAO,MAAM,sBAAsB,2FAGlC,CAAA;AAED,eAAO,MAAM,2BAA2B,2OAGvC,CAAA;AAED,eAAO,MAAM,gBAAgB,qOAG5B,CAAA;AAED,eAAO,MAAM,uBAAuB,6FAGnC,CAAA;AAED,eAAO,MAAM,4BAA4B,+NAGxC,CAAA;AAED,eAAO,MAAM,oBAAoB,2FAGhC,CAAA;AAED,eAAO,MAAM,oBAAoB,6FAKhC,CAAA;AAED,eAAO,MAAM,cAAc,6FAS1B,CAAA;AAED,eAAO,MAAM,UAAU,2FAKtB,CAAA;AAED,eAAO,MAAM,WAAW,2FAGvB,CAAA;AAED,eAAO,MAAM,WAAW,2FAGvB,CAAA;AAED,eAAO,MAAM,gBAAgB,6FAG5B,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;EAGpB,CAAA;AAED,eAAO,MAAM,uBAAuB,6FAGnC,CAAA"}
|
|
@@ -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"}
|
|
@@ -2,11 +2,11 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { Organization } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class OrganisationPreviewComponent {
|
|
5
|
-
|
|
5
|
+
organization: Organization;
|
|
6
6
|
organisationUrl: string;
|
|
7
7
|
clickedOrganisation: EventEmitter<Organization>;
|
|
8
8
|
clickOrganisation(event: Event): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationPreviewComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OrganisationPreviewComponent, "gn-ui-organisation-preview", never, { "
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrganisationPreviewComponent, "gn-ui-organisation-preview", never, { "organization": { "alias": "organization"; "required": false; }; "organisationUrl": { "alias": "organisationUrl"; "required": false; }; }, { "clickedOrganisation": "clickedOrganisation"; }, never, never, false, never>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=organisation-preview.component.d.ts.map
|
|
@@ -9,9 +9,10 @@ import * as i7 from "@ngx-translate/core";
|
|
|
9
9
|
import * as i8 from "../../../elements/src/lib/ui-elements.module";
|
|
10
10
|
import * as i9 from "../../../inputs/src/lib/ui-inputs.module";
|
|
11
11
|
import * as i10 from "@angular/material/icon";
|
|
12
|
+
import * as i11 from "@angular/router";
|
|
12
13
|
export declare class UiCatalogModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiCatalogModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiCatalogModule, [typeof i1.CatalogTitleComponent, typeof i2.OrganisationPreviewComponent, typeof i3.OrganisationsFilterComponent, typeof i4.LanguageSwitcherComponent, typeof i5.OrganisationsResultComponent], [typeof i6.CommonModule, typeof i7.TranslateModule, typeof i8.UiElementsModule, typeof i9.UiInputsModule, typeof i10.MatIconModule], [typeof i1.CatalogTitleComponent, typeof i2.OrganisationPreviewComponent, typeof i3.OrganisationsFilterComponent, typeof i4.LanguageSwitcherComponent, typeof i5.OrganisationsResultComponent]>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiCatalogModule, [typeof i1.CatalogTitleComponent, typeof i2.OrganisationPreviewComponent, typeof i3.OrganisationsFilterComponent, typeof i4.LanguageSwitcherComponent, typeof i5.OrganisationsResultComponent], [typeof i6.CommonModule, typeof i7.TranslateModule, typeof i8.UiElementsModule, typeof i9.UiInputsModule, typeof i10.MatIconModule, typeof i11.RouterLink], [typeof i1.CatalogTitleComponent, typeof i2.OrganisationPreviewComponent, typeof i3.OrganisationsFilterComponent, typeof i4.LanguageSwitcherComponent, typeof i5.OrganisationsResultComponent]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiCatalogModule>;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=ui-catalog.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-catalog.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/catalog/src/lib/ui-catalog.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-catalog.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/catalog/src/lib/ui-catalog.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,qBAwBa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
|
|
@@ -3,9 +3,8 @@ export declare class FigureComponent {
|
|
|
3
3
|
icon: string;
|
|
4
4
|
title: string;
|
|
5
5
|
figure: string | number;
|
|
6
|
-
unit
|
|
6
|
+
unit: string;
|
|
7
7
|
color: 'primary' | 'secondary';
|
|
8
|
-
get hoverTitle(): string;
|
|
9
8
|
get textClass(): "text-primary" | "text-secondary";
|
|
10
9
|
get bgClass(): "bg-primary-white" | "bg-secondary-white";
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FigureComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"figure.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/dataviz/src/lib/figure/figure.component.ts"],"names":[],"mappings":";AAEA,qBAMa,eAAe;IACjB,IAAI,EAAG,MAAM,CAAA;IACb,KAAK,EAAG,MAAM,CAAA;IACd,MAAM,EAAG,MAAM,GAAG,MAAM,CAAA;IACxB,IAAI,
|
|
1
|
+
{"version":3,"file":"figure.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/dataviz/src/lib/figure/figure.component.ts"],"names":[],"mappings":";AAEA,qBAMa,eAAe;IACjB,IAAI,EAAG,MAAM,CAAA;IACb,KAAK,EAAG,MAAM,CAAA;IACd,MAAM,EAAG,MAAM,GAAG,MAAM,CAAA;IACxB,IAAI,SAAK;IACT,KAAK,EAAE,SAAS,GAAG,WAAW,CAAY;IAEnD,IAAI,SAAS,sCAEZ;IAED,IAAI,OAAO,8CAEV;yCAbU,eAAe;2CAAf,eAAe;CAc3B"}
|
|
@@ -8,7 +8,6 @@ export * from './lib/image-overlay-preview/image-overlay-preview.component';
|
|
|
8
8
|
export * from './lib/link-card/link-card.component';
|
|
9
9
|
export * from './lib/markdown-editor/markdown-editor.component';
|
|
10
10
|
export * from './lib/markdown-parser/markdown-parser.component';
|
|
11
|
-
export * from './lib/max-lines/max-lines.component';
|
|
12
11
|
export * from './lib/metadata-catalog/metadata-catalog.component';
|
|
13
12
|
export * from './lib/metadata-contact/metadata-contact.component';
|
|
14
13
|
export * from './lib/metadata-info/metadata-info.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,
|
|
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"}
|
|
@@ -3,7 +3,9 @@ export declare enum ErrorType {
|
|
|
3
3
|
COULD_NOT_REACH_API = 0,
|
|
4
4
|
RECEIVED_ERROR = 1,
|
|
5
5
|
RECORD_NOT_FOUND = 2,
|
|
6
|
-
DATASET_HAS_NO_LINK = 3
|
|
6
|
+
DATASET_HAS_NO_LINK = 3,
|
|
7
|
+
ORGANIZATION_HAS_NO_DATASET = 4,
|
|
8
|
+
ORGANIZATION_NOT_FOUND = 5
|
|
7
9
|
}
|
|
8
10
|
export declare class ErrorComponent {
|
|
9
11
|
type: ErrorType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/error/error.component.ts"],"names":[],"mappings":";AAEA,oBAAY,SAAS;IACnB,mBAAmB,IAAA;IACnB,cAAc,IAAA;IACd,gBAAgB,IAAA;IAChB,mBAAmB,IAAA;
|
|
1
|
+
{"version":3,"file":"error.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/error/error.component.ts"],"names":[],"mappings":";AAEA,oBAAY,SAAS;IACnB,mBAAmB,IAAA;IACnB,cAAc,IAAA;IACd,gBAAgB,IAAA;IAChB,mBAAmB,IAAA;IACnB,2BAA2B,IAAA;IAC3B,sBAAsB,IAAA;CACvB;AAED,qBAMa,cAAc;IAChB,IAAI,EAAG,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,KAAK,mBAAY;yCAJN,cAAc;2CAAd,cAAc;CAK1B"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class RelatedRecordCardComponent {
|
|
4
|
+
private readonly baseClasses;
|
|
4
5
|
record: CatalogRecord;
|
|
6
|
+
extraClass: string;
|
|
7
|
+
constructor();
|
|
8
|
+
get classList(): string;
|
|
5
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<RelatedRecordCardComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RelatedRecordCardComponent, "gn-ui-related-record-card", never, { "record": { "alias": "record"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RelatedRecordCardComponent, "gn-ui-related-record-card", never, { "record": { "alias": "record"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
11
|
}
|
|
8
12
|
//# sourceMappingURL=related-record-card.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"related-record-card.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,0BAA0B;
|
|
1
|
+
{"version":3,"file":"related-record-card.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAQ;IAE3B,MAAM,EAAE,aAAa,CAAA;IACrB,UAAU,SAAK;;IAgBxB,IAAI,SAAS,WAEZ;yCAtBU,0BAA0B;2CAA1B,0BAA0B;CAuBtC"}
|
|
@@ -15,27 +15,27 @@ import * as i13 from "./avatar/avatar.component";
|
|
|
15
15
|
import * as i14 from "./user-preview/user-preview.component";
|
|
16
16
|
import * as i15 from "./metadata-info/linkify.directive";
|
|
17
17
|
import * as i16 from "./pagination-buttons/pagination-buttons.component";
|
|
18
|
-
import * as i17 from "./
|
|
19
|
-
import * as i18 from "./
|
|
20
|
-
import * as i19 from "./
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "@angular/
|
|
23
|
-
import * as i22 from "@angular/material/
|
|
24
|
-
import * as i23 from "
|
|
25
|
-
import * as i24 from "../../../
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "./
|
|
33
|
-
import * as i32 from "./
|
|
34
|
-
import * as i33 from "
|
|
35
|
-
import * as i34 from "../../../
|
|
18
|
+
import * as i17 from "./record-api-form/record-api-form.component";
|
|
19
|
+
import * as i18 from "./user-feedback-item/user-feedback-item.component";
|
|
20
|
+
import * as i19 from "./image-overlay-preview/image-overlay-preview.component";
|
|
21
|
+
import * as i20 from "@angular/common";
|
|
22
|
+
import * as i21 from "@angular/material/icon";
|
|
23
|
+
import * as i22 from "@angular/material/tooltip";
|
|
24
|
+
import * as i23 from "../../../widgets/src/lib/ui-widgets.module";
|
|
25
|
+
import * as i24 from "../../../layout/src/lib/ui-layout.module";
|
|
26
|
+
import * as i25 from "@ngx-translate/core";
|
|
27
|
+
import * as i26 from "../../../../util/shared/src/lib/util-shared.module";
|
|
28
|
+
import * as i27 from "@angular/router";
|
|
29
|
+
import * as i28 from "../../../inputs/src/lib/ui-inputs.module";
|
|
30
|
+
import * as i29 from "@angular/forms";
|
|
31
|
+
import * as i30 from "./markdown-parser/markdown-parser.component";
|
|
32
|
+
import * as i31 from "./thumbnail/thumbnail.component";
|
|
33
|
+
import * as i32 from "./user-feedback-item/time-since.pipe";
|
|
34
|
+
import * as i33 from "../../../inputs/src/lib/badge/badge.component";
|
|
35
|
+
import * as i34 from "../../../layout/src/lib/max-lines/max-lines.component";
|
|
36
36
|
export declare class UiElementsModule {
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
|
|
38
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i15.GnUiLinkifyDirective, typeof i16.PaginationButtonsComponent, typeof i17.
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i15.GnUiLinkifyDirective, typeof i16.PaginationButtonsComponent, typeof i17.RecordApiFormComponent, typeof i18.UserFeedbackItemComponent, typeof i19.ImageOverlayPreviewComponent], [typeof i20.CommonModule, typeof i21.MatIconModule, typeof i22.MatTooltipModule, typeof i23.UiWidgetsModule, typeof i24.UiLayoutModule, typeof i25.TranslateModule, typeof i26.UtilSharedModule, typeof i27.RouterModule, typeof i28.UiInputsModule, typeof i29.FormsModule, typeof i20.NgOptimizedImage, typeof i30.MarkdownParserComponent, typeof i31.ThumbnailComponent, typeof i32.TimeSincePipe, typeof i33.BadgeComponent, typeof i34.MaxLinesComponent], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i31.ThumbnailComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i16.PaginationButtonsComponent, typeof i17.RecordApiFormComponent, typeof i30.MarkdownParserComponent, typeof i18.UserFeedbackItemComponent, typeof i19.ImageOverlayPreviewComponent]>;
|
|
39
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
|
|
40
40
|
}
|
|
41
41
|
//# sourceMappingURL=ui-elements.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,qBA+Da,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
|
|
@@ -3,6 +3,7 @@ export * from './lib/carousel/carousel.component';
|
|
|
3
3
|
export * from './lib/expandable-panel-button/expandable-panel-button.component';
|
|
4
4
|
export * from './lib/expandable-panel/expandable-panel.component';
|
|
5
5
|
export * from './lib/form-field-wrapper/form-field-wrapper.component';
|
|
6
|
+
export * from './lib/max-lines/max-lines.component';
|
|
6
7
|
export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component';
|
|
7
8
|
export * from './lib/interactive-table/interactive-table.component';
|
|
8
9
|
export * from './lib/sticky-header/sticky-header.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qFAAqF,CAAA;AACnG,cAAc,qDAAqD,CAAA;AACnE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qCAAqC,CAAA;AACnD,cAAc,qFAAqF,CAAA;AACnG,cAAc,qDAAqD,CAAA;AACnE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class MaxLinesComponent implements AfterViewInit, OnDestroy {
|
|
4
4
|
private cdr;
|
|
@@ -15,6 +15,6 @@ export declare class MaxLinesComponent implements AfterViewInit, OnDestroy {
|
|
|
15
15
|
getLineHeight(element: HTMLElement): number;
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaxLinesComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaxLinesComponent, "gn-ui-max-lines", never, { "maxLines": { "alias": "maxLines"; "required": false; }; }, {}, never, ["*"],
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaxLinesComponent, "gn-ui-max-lines", never, { "maxLines": { "alias": "maxLines"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=max-lines.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"max-lines.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/max-lines/max-lines.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EAEV,SAAS,EAEV,MAAM,eAAe,CAAA;;AAItB,qBAQa,iBAAkB,YAAW,aAAa,EAAE,SAAS;IAUpD,OAAO,CAAC,GAAG;IATd,QAAQ,SAAI;IAErB,UAAU,UAAQ;IAClB,SAAS,SAAK;IACd,gBAAgB,UAAQ;IACxB,QAAQ,EAAE,cAAc,CAAA;IAEA,SAAS,EAAG,UAAU,CAAA;gBAE1B,GAAG,EAAE,iBAAiB;IAE1C,eAAe;IAYf,aAAa;IAKb,kBAAkB;IAyBlB,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM;IAQ3C,WAAW,IAAI,IAAI;yCA9DR,iBAAiB;2CAAjB,iBAAiB;CAkE7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":";;;;;;;;AASA,qBAea,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ActionMenuComponent {
|
|
5
|
+
duplicate: EventEmitter<void>;
|
|
6
|
+
trigger: MatMenuTrigger;
|
|
7
|
+
openMenu(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionMenuComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionMenuComponent, "gn-ui-action-menu", never, {}, { "duplicate": "duplicate"; }, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=action-menu.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-menu.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAqB,MAAM,eAAe,CAAA;AAE1E,OAAO,EAAiB,cAAc,EAAE,MAAM,wBAAwB,CAAA;;AAItE,qBAOa,mBAAmB;IACpB,SAAS,qBAA2B;IAEnB,OAAO,EAAE,cAAc,CAAA;IAElD,QAAQ;yCALG,mBAAmB;2CAAnB,mBAAmB;CAQ/B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
-
import { FileFormat } from '../../../../../../libs/util/shared/src';
|
|
4
3
|
import { SortByField } from '../../../../../../libs/common/domain/src/lib/model/search';
|
|
4
|
+
import { FileFormat } from '../../../../../../libs/util/shared/src';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ResultsTableComponent {
|
|
7
7
|
records: CatalogRecord[];
|
|
@@ -10,6 +10,7 @@ export declare class ResultsTableComponent {
|
|
|
10
10
|
recordHasDraft: (record: CatalogRecord) => boolean;
|
|
11
11
|
sortByChange: EventEmitter<[string, "asc" | "desc"]>;
|
|
12
12
|
recordClick: EventEmitter<CatalogRecord>;
|
|
13
|
+
duplicateRecord: EventEmitter<CatalogRecord>;
|
|
13
14
|
recordsSelectedChange: EventEmitter<[CatalogRecord[], boolean]>;
|
|
14
15
|
dateToString(date: Date): string;
|
|
15
16
|
getStatus(isPublishedToAll: boolean | unknown): "published" | "not published";
|
|
@@ -17,6 +18,7 @@ export declare class ResultsTableComponent {
|
|
|
17
18
|
formatUserInfo(userInfo: string | unknown): string;
|
|
18
19
|
getBadgeColor(format: FileFormat): string;
|
|
19
20
|
handleRecordClick(item: unknown): void;
|
|
21
|
+
handleDuplicate(item: unknown): void;
|
|
20
22
|
setSortBy(col: string, order: 'asc' | 'desc'): void;
|
|
21
23
|
isSortedBy(col: string): 'desc' | 'asc' | null;
|
|
22
24
|
isChecked(record: CatalogRecord): boolean;
|
|
@@ -25,6 +27,6 @@ export declare class ResultsTableComponent {
|
|
|
25
27
|
isAllSelected(): boolean;
|
|
26
28
|
isSomeSelected(): boolean;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "recordHasDraft": { "alias": "recordHasDraft"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "recordHasDraft": { "alias": "recordHasDraft"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
|
|
29
31
|
}
|
|
30
32
|
//# sourceMappingURL=results-table.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EAIb,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAMlE,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;;AAI/C,qBAgBa,qBAAqB;IACvB,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,cAAc,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAG/D,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IACnD,qBAAqB,2CAE5B;IAEH,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,SAAS,CAAC,gBAAgB,EAAE,OAAO,GAAG,OAAO;IAI7C,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAarD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAQlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,eAAe,CAAC,IAAI,EAAE,OAAO;IAI7B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI;IAe9C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAIzC,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;IAI7D,eAAe;IAIrB,aAAa,IAAI,OAAO;IAMxB,cAAc,IAAI,OAAO;yCAjGd,qBAAqB;2CAArB,qBAAqB;CA0GjC"}
|
package/package.json
CHANGED
|
@@ -120,6 +120,7 @@ export const mapKeywords = (thesauri: Thesaurus[], language: string) => {
|
|
|
120
120
|
keywords.push({
|
|
121
121
|
label: selectTranslatedValue<string>(keyword, language),
|
|
122
122
|
type: getKeywordTypeFromKeywordTypeCode(rawThesaurus.theme),
|
|
123
|
+
...(keyword.link && { key: keyword.link }),
|
|
123
124
|
...(thesaurus && { thesaurus }),
|
|
124
125
|
})
|
|
125
126
|
}
|
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
} from '../../../../../../libs/common/domain/src/lib/model/search'
|
|
25
25
|
import { catchError, map, tap } from 'rxjs/operators'
|
|
26
26
|
import {
|
|
27
|
+
BaseConverter,
|
|
27
28
|
findConverterForDocument,
|
|
28
29
|
Gn4Converter,
|
|
29
30
|
Gn4SearchResults,
|
|
@@ -230,6 +231,25 @@ export class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
230
231
|
)
|
|
231
232
|
}
|
|
232
233
|
|
|
234
|
+
openRecordForDuplication(
|
|
235
|
+
uniqueIdentifier: string
|
|
236
|
+
): Observable<[CatalogRecord, string, false] | null> {
|
|
237
|
+
return this.loadRecordAsXml(uniqueIdentifier).pipe(
|
|
238
|
+
switchMap(async (recordAsXml) => {
|
|
239
|
+
const converter = findConverterForDocument(recordAsXml)
|
|
240
|
+
const record = await converter.readRecord(recordAsXml)
|
|
241
|
+
record.uniqueIdentifier = `TEMP-ID-${Date.now()}`
|
|
242
|
+
record.title = `${record.title} (Copy)`
|
|
243
|
+
const xml = await converter.writeRecord(record, recordAsXml)
|
|
244
|
+
window.localStorage.setItem(
|
|
245
|
+
this.getLocalStorageKeyForRecord(record.uniqueIdentifier),
|
|
246
|
+
xml
|
|
247
|
+
)
|
|
248
|
+
return [record, xml, false] as [CatalogRecord, string, false]
|
|
249
|
+
})
|
|
250
|
+
)
|
|
251
|
+
}
|
|
252
|
+
|
|
233
253
|
private serializeRecordToXml(
|
|
234
254
|
record: CatalogRecord,
|
|
235
255
|
referenceRecordSource?: string
|
package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts
CHANGED
|
@@ -76,6 +76,7 @@ export class OrganizationsFromGroupsService
|
|
|
76
76
|
return {
|
|
77
77
|
name: group.label[lang3],
|
|
78
78
|
...(group.description && { description: group.description }),
|
|
79
|
+
...(group.email && { email: group.email }),
|
|
79
80
|
...(group.logo && {
|
|
80
81
|
logoUrl: getAsUrl(`${IMAGE_URL}${group.logo}`),
|
|
81
82
|
}),
|
package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts
CHANGED
|
@@ -230,10 +230,12 @@ export class OrganizationsFromMetadataService
|
|
|
230
230
|
if (!group) return fullOrg
|
|
231
231
|
return {
|
|
232
232
|
...fullOrg,
|
|
233
|
+
email: emails[0],
|
|
233
234
|
...(group.description && { description: group.description }),
|
|
234
235
|
...(group.logo && { logoUrl: getAsUrl(`${IMAGE_URL}${group.logo}`) }),
|
|
235
236
|
...(group.website && { website: getAsUrl(group.website) }),
|
|
236
|
-
|
|
237
|
+
...(group.email && { email: group.email }),
|
|
238
|
+
} as Organization
|
|
237
239
|
})
|
|
238
240
|
}
|
|
239
241
|
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
MeApiService,
|
|
6
6
|
RegistriesApiService,
|
|
7
7
|
SiteApiService,
|
|
8
|
-
ThesaurusInfoApiModel,
|
|
9
8
|
ToolsApiService,
|
|
10
9
|
UserfeedbackApiService,
|
|
11
10
|
UsersApiService,
|
|
@@ -25,6 +24,7 @@ import {
|
|
|
25
24
|
KeywordApiResponse,
|
|
26
25
|
ThesaurusApiResponse,
|
|
27
26
|
} from '../../../../../../../libs/api/metadata-converter/src'
|
|
27
|
+
import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus'
|
|
28
28
|
|
|
29
29
|
const minApiVersion = '4.2.2'
|
|
30
30
|
|
|
@@ -146,25 +146,36 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
146
146
|
)
|
|
147
147
|
.pipe(
|
|
148
148
|
map((thesaurus) => {
|
|
149
|
-
// FIXME: find a better way to exclude place keywords
|
|
150
|
-
// thesaurus[0].filter((thes) => thes.dname !== 'place')
|
|
151
149
|
return thesaurus[0] as ThesaurusApiResponse[]
|
|
152
150
|
}),
|
|
153
151
|
shareReplay(1)
|
|
154
152
|
)
|
|
155
153
|
|
|
156
|
-
searchKeywords(
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
154
|
+
searchKeywords(
|
|
155
|
+
query: string,
|
|
156
|
+
keywordTypes: KeywordType[]
|
|
157
|
+
): Observable<Keyword[]> {
|
|
158
|
+
const keywords$: Observable<KeywordApiResponse[]> = this.allThesaurus$.pipe(
|
|
159
|
+
switchMap((thesaurus) => {
|
|
160
|
+
const selectedThesauri = []
|
|
161
|
+
keywordTypes.map((keywordType) => {
|
|
162
|
+
selectedThesauri.push(
|
|
163
|
+
...thesaurus.filter((thes) => thes.dname === keywordType)
|
|
164
|
+
)
|
|
165
|
+
})
|
|
166
|
+
|
|
167
|
+
return this.registriesApiService.searchKeywords(
|
|
168
|
+
query,
|
|
169
|
+
this.langService.iso3,
|
|
170
|
+
10,
|
|
171
|
+
0,
|
|
172
|
+
null,
|
|
173
|
+
selectedThesauri.map((thes) => thes.key),
|
|
174
|
+
null,
|
|
175
|
+
`*${query}*`
|
|
176
|
+
) as Observable<KeywordApiResponse[]>
|
|
177
|
+
})
|
|
178
|
+
)
|
|
168
179
|
|
|
169
180
|
return combineLatest([keywords$, this.allThesaurus$]).pipe(
|
|
170
181
|
map(([keywords, thesaurus]) => {
|
|
@@ -2,6 +2,7 @@ import type { Observable } from 'rxjs'
|
|
|
2
2
|
import type { UserModel } from './model/user/user.model'
|
|
3
3
|
import type { Organization } from './model/record/organization.model'
|
|
4
4
|
import { Keyword, UserFeedback } from './model/record'
|
|
5
|
+
import { KeywordType } from './model/thesaurus'
|
|
5
6
|
|
|
6
7
|
export abstract class PlatformServiceInterface {
|
|
7
8
|
abstract getType(): string
|
|
@@ -15,7 +16,10 @@ export abstract class PlatformServiceInterface {
|
|
|
15
16
|
): Observable<UserModel[]>
|
|
16
17
|
abstract getOrganizations(): Observable<Organization[]>
|
|
17
18
|
abstract translateKey(key: string): Observable<string>
|
|
18
|
-
abstract searchKeywords(
|
|
19
|
+
abstract searchKeywords(
|
|
20
|
+
query: string,
|
|
21
|
+
keywordTypes: KeywordType[]
|
|
22
|
+
): Observable<Keyword[]>
|
|
19
23
|
abstract getKeywordsByUri(uri: string): Observable<Keyword[]>
|
|
20
24
|
abstract getUserFeedbacks(recordUuid: string): Observable<UserFeedback[]>
|
|
21
25
|
abstract postUserFeedbacks(recordUuid: UserFeedback): Observable<void>
|
|
@@ -30,6 +30,18 @@ export abstract class RecordsRepositoryInterface {
|
|
|
30
30
|
uniqueIdentifier: string
|
|
31
31
|
): Observable<[CatalogRecord, string, boolean] | null>
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* This emits once:
|
|
35
|
+
* - record object with a new unique identifier and suffixed title
|
|
36
|
+
* - serialized representation of the record as text
|
|
37
|
+
* - false, as the duplicated record is always a draft
|
|
38
|
+
* @param uniqueIdentifier
|
|
39
|
+
* @returns Observable<[CatalogRecord, string, false] | null>
|
|
40
|
+
*/
|
|
41
|
+
abstract openRecordForDuplication(
|
|
42
|
+
uniqueIdentifier: string
|
|
43
|
+
): Observable<[CatalogRecord, string, false] | null>
|
|
44
|
+
|
|
33
45
|
/**
|
|
34
46
|
* @param record
|
|
35
47
|
* @param referenceRecordSource
|