geonetwork-ui 2.2.0-dev.0c467200 → 2.2.0-dev.0c7f1872
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +27 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +49 -58
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.mjs +5 -4
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.mjs +14 -0
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/converter.mjs +20 -17
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +52 -23
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +52 -32
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +10 -3
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +14 -5
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +33 -8
- package/esm2022/libs/api/repository/src/lib/gn4/selection/selection.service.mjs +13 -26
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/search/aggregation.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/search/field.model.mjs +2 -0
- package/esm2022/libs/common/domain/src/lib/model/search/filter.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/search/index.mjs +2 -1
- package/esm2022/libs/common/domain/src/lib/model/search/search.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/feature/catalog/src/lib/my-org/my-org.service.mjs +4 -10
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +9 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +2 -2
- package/esm2022/libs/feature/search/src/index.mjs +4 -1
- package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +2 -6
- package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/filter-geometry.token.mjs +4 -0
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +7 -3
- package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -0
- package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +2 -2
- package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +128 -0
- package/esm2022/libs/feature/search/src/lib/state/effects.mjs +6 -4
- package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +3 -2
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +41 -26
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +11 -9
- package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +35 -22
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +3 -4
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +9 -6
- package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +3 -2
- package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +9 -9
- package/esm2022/libs/ui/layout/src/index.mjs +3 -1
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +36 -0
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +37 -0
- package/esm2022/libs/ui/search/src/index.mjs +1 -2
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +9 -10
- package/esm2022/libs/util/i18n/src/index.mjs +1 -2
- package/esm2022/translations/de.json +7 -5
- package/esm2022/translations/en.json +10 -8
- package/esm2022/translations/es.json +7 -5
- package/esm2022/translations/fr.json +10 -8
- package/esm2022/translations/it.json +9 -7
- package/esm2022/translations/nl.json +7 -5
- package/esm2022/translations/pt.json +7 -5
- package/fesm2022/geonetwork-ui.mjs +662 -593
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts +2 -0
- package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +0 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +3 -5
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.d.ts +3 -0
- package/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/iso19139/converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +6 -6
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +4 -3
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.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 +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +9 -2
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/selection/selection.service.d.ts +4 -5
- package/libs/api/repository/src/lib/gn4/selection/selection.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +18 -12
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/search/aggregation.model.d.ts +1 -1
- package/libs/common/domain/src/lib/model/search/aggregation.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/search/field.model.d.ts +2 -0
- package/libs/common/domain/src/lib/model/search/field.model.d.ts.map +1 -0
- package/libs/common/domain/src/lib/model/search/filter.model.d.ts +1 -1
- package/libs/common/domain/src/lib/model/search/filter.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/search/index.d.ts +1 -0
- package/libs/common/domain/src/lib/model/search/index.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/search/search.model.d.ts +2 -3
- package/libs/common/domain/src/lib/model/search/search.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts +1 -0
- 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 +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/my-org/my-org.service.d.ts +0 -1
- package/libs/feature/catalog/src/lib/my-org/my-org.service.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +1 -0
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
- package/libs/feature/search/src/index.d.ts +3 -0
- package/libs/feature/search/src/index.d.ts.map +1 -1
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +3 -3
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/feature-search.module.d.ts +0 -4
- package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
- package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts +3 -2
- package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/filter-geometry.token.d.ts +4 -0
- package/libs/feature/search/src/lib/filter-geometry.token.d.ts.map +1 -0
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/record-url.token.d.ts +3 -0
- package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -0
- package/libs/feature/search/src/lib/results-table/results-table.component.d.ts +33 -0
- package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +1 -0
- package/libs/feature/search/src/lib/state/effects.d.ts.map +1 -1
- package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -1
- package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.d.ts +21 -8
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +10 -6
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +3 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +13 -13
- 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/button/button.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +1 -1
- package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +40 -40
- package/libs/ui/layout/src/index.d.ts +2 -0
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +14 -0
- package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +15 -0
- package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -0
- package/libs/ui/search/src/index.d.ts +0 -1
- package/libs/ui/search/src/index.d.ts.map +1 -1
- package/libs/ui/search/src/lib/ui-search.module.d.ts +15 -15
- package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
- package/libs/util/i18n/src/index.d.ts +0 -1
- package/libs/util/i18n/src/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +61 -8
- package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +55 -9
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +225 -24
- package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +29 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +80 -73
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.ts +4 -3
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +3 -5
- package/src/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.ts +16 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/converter.ts +24 -21
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +115 -62
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +169 -95
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +22 -2
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +15 -4
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +47 -8
- package/src/libs/api/repository/src/lib/gn4/selection/selection.service.ts +14 -38
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +21 -14
- package/src/libs/common/domain/src/lib/model/search/aggregation.model.ts +1 -1
- package/src/libs/common/domain/src/lib/model/search/field.model.ts +1 -0
- package/src/libs/common/domain/src/lib/model/search/filter.model.ts +1 -1
- package/src/libs/common/domain/src/lib/model/search/index.ts +1 -0
- package/src/libs/common/domain/src/lib/model/search/search.model.ts +2 -2
- package/src/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.ts +1 -0
- package/src/libs/common/domain/src/lib/model/user/index.ts +1 -0
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +1 -4
- package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +1 -1
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +50 -10
- package/src/libs/feature/catalog/src/lib/my-org/my-org.service.ts +4 -16
- package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +10 -0
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +1 -1
- package/src/libs/feature/search/src/index.ts +3 -0
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +3 -4
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +1 -1
- package/src/libs/feature/search/src/lib/feature-search.module.ts +1 -10
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +4 -4
- package/src/libs/feature/search/src/lib/filter-geometry.token.ts +7 -0
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +9 -3
- package/src/libs/feature/search/src/lib/record-url.token.ts +4 -0
- package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +1 -1
- package/src/libs/feature/search/src/lib/results-table/results-table.component.css +0 -0
- package/src/libs/feature/search/src/lib/results-table/results-table.component.html +112 -0
- package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +164 -0
- package/src/libs/feature/search/src/lib/state/effects.ts +5 -4
- package/src/libs/feature/search/src/lib/state/search.facade.ts +2 -1
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +21 -16
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +43 -34
- package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.css +5 -0
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +39 -0
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +58 -0
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +2 -2
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +1 -0
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +51 -24
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +37 -15
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +2 -3
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +5 -5
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +12 -4
- package/src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.html +2 -2
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +1 -1
- package/src/libs/ui/inputs/src/index.ts +1 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/button/button.component.ts +1 -0
- package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.html +0 -1
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +1 -0
- package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css +3 -0
- package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +1 -0
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -3
- package/src/libs/ui/layout/src/index.ts +2 -0
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.css +0 -0
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.html +1 -0
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.ts +33 -0
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +15 -0
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +54 -0
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +42 -0
- package/src/libs/ui/search/src/index.ts +0 -1
- package/src/libs/ui/search/src/lib/ui-search.module.ts +2 -3
- package/src/libs/util/i18n/src/index.ts +0 -1
- package/tailwind.base.config.js +3 -0
- package/tailwind.base.css +2 -2
- package/translations/de.json +7 -5
- package/translations/en.json +10 -8
- package/translations/es.json +7 -5
- package/translations/fr.json +10 -8
- package/translations/it.json +9 -7
- package/translations/nl.json +7 -5
- package/translations/pt.json +7 -5
- package/translations/sk.json +7 -5
- package/esm2022/libs/ui/search/src/lib/record-table/record-table.component.mjs +0 -145
- package/esm2022/libs/util/i18n/src/lib/testing/test.translate.loader.mjs +0 -24
- package/esm2022/libs/util/i18n/src/lib/testing/test.translate.module.mjs +0 -109
- package/esm2022/libs/util/i18n/src/lib/testing/translations.model.mjs +0 -6
- package/libs/ui/search/src/lib/record-table/record-table.component.d.ts +0 -31
- package/libs/ui/search/src/lib/record-table/record-table.component.d.ts.map +0 -1
- package/libs/util/i18n/src/lib/testing/test.translate.loader.d.ts +0 -17
- package/libs/util/i18n/src/lib/testing/test.translate.loader.d.ts.map +0 -1
- package/libs/util/i18n/src/lib/testing/test.translate.module.d.ts +0 -131
- package/libs/util/i18n/src/lib/testing/test.translate.module.d.ts.map +0 -1
- package/libs/util/i18n/src/lib/testing/translations.model.d.ts +0 -21
- package/libs/util/i18n/src/lib/testing/translations.model.d.ts.map +0 -1
- package/src/libs/ui/search/src/lib/record-table/record-table.component.css +0 -7
- package/src/libs/ui/search/src/lib/record-table/record-table.component.html +0 -215
- package/src/libs/ui/search/src/lib/record-table/record-table.component.ts +0 -149
- package/src/libs/util/i18n/src/lib/testing/test.translate.loader.ts +0 -26
- package/src/libs/util/i18n/src/lib/testing/test.translate.module.ts +0 -235
- package/src/libs/util/i18n/src/lib/testing/translations.model.ts +0 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/search/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,wBAAwB,CAAA;AACtC,cAAc,0CAA0C,CAAA;AACxD,cAAc,2CAA2C,CAAA;AACzD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,yDAAyD,CAAA;AACvE,cAAc,uDAAuD,CAAA;AACrE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/search/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,wBAAwB,CAAA;AACtC,cAAc,0CAA0C,CAAA;AACxD,cAAc,2CAA2C,CAAA;AACzD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,yDAAyD,CAAA;AACvE,cAAc,uDAAuD,CAAA;AACrE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qDAAqD,CAAA;AACnE,cAAc,yDAAyD,CAAA"}
|
|
@@ -10,23 +10,23 @@ import * as i8 from "./results-hits-number/results-hits-number.component";
|
|
|
10
10
|
import * as i9 from "./results-list-item/results-list-item.component";
|
|
11
11
|
import * as i10 from "./record-preview-feed/record-preview-feed.component";
|
|
12
12
|
import * as i11 from "./record-preview-row/record-preview-row.component";
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "@
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "
|
|
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 "../../../
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "@angular/material/
|
|
25
|
-
import * as i24 from "@angular/
|
|
26
|
-
import * as i25 from "
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "@ngx-translate/core";
|
|
15
|
+
import * as i14 from "ngx-dropzone";
|
|
16
|
+
import * as i15 from "./facets/facets.module";
|
|
17
|
+
import * as i16 from "@angular/forms";
|
|
18
|
+
import * as i17 from "ngx-chips";
|
|
19
|
+
import * as i18 from "../../../../util/shared/src/lib/util-shared.module";
|
|
20
|
+
import * as i19 from "../../../widgets/src/lib/ui-widgets.module";
|
|
21
|
+
import * as i20 from "../../../inputs/src/lib/ui-inputs.module";
|
|
22
|
+
import * as i21 from "../../../elements/src/lib/ui-elements.module";
|
|
23
|
+
import * as i22 from "@angular/material/icon";
|
|
24
|
+
import * as i23 from "@angular/material/checkbox";
|
|
25
|
+
import * as i24 from "@angular/router";
|
|
26
|
+
import * as i25 from "../../../layout/src/lib/interactive-table/interactive-table.component";
|
|
27
27
|
export declare class UiSearchModule {
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiSearchModule, never>;
|
|
29
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiSearchModule, [typeof i1.RecordPreviewComponent, typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i8.ResultsHitsNumberComponent, typeof i9.ResultsListItemComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent, typeof i12.
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiSearchModule, [typeof i1.RecordPreviewComponent, typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i8.ResultsHitsNumberComponent, typeof i9.ResultsListItemComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent], [typeof i12.CommonModule, typeof i13.TranslateModule, typeof i14.NgxDropzoneModule, typeof i15.FacetsModule, typeof i16.FormsModule, typeof i16.ReactiveFormsModule, typeof i17.TagInputModule, typeof i18.UtilSharedModule, typeof i19.UiWidgetsModule, typeof i20.UiInputsModule, typeof i21.UiElementsModule, typeof i22.MatIconModule, typeof i23.MatCheckboxModule, typeof i24.RouterLink, typeof i25.InteractiveTableComponent], [typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i15.FacetsModule, typeof i1.RecordPreviewComponent, typeof i8.ResultsHitsNumberComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent]>;
|
|
30
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiSearchModule>;
|
|
31
31
|
}
|
|
32
32
|
//# sourceMappingURL=ui-search.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/search/src/lib/ui-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,
|
|
1
|
+
{"version":3,"file":"ui-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/search/src/lib/ui-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,qBAgDa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
|
|
@@ -3,7 +3,6 @@ export * from './lib/i18n.constants';
|
|
|
3
3
|
export * from './lib/i18n.interceptor';
|
|
4
4
|
export * from './lib/lang.service';
|
|
5
5
|
export * from './lib/file.translate.loader';
|
|
6
|
-
export * from './lib/testing/test.translate.module';
|
|
7
6
|
export * from './lib/embedded.translate.loader';
|
|
8
7
|
export * from './lib/translate.loader.utils';
|
|
9
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/i18n/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/i18n/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,8BAA8B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geonetwork-ui",
|
|
3
|
-
"version": "2.2.0-dev.
|
|
3
|
+
"version": "2.2.0-dev.0c7f1872",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=14.17.0"
|
|
6
6
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
|
|
50
50
|
"@camptocamp/ogc-client": "^0.4.0",
|
|
51
|
-
"@geospatial-sdk/geocoding": "^0.0.5-alpha.
|
|
51
|
+
"@geospatial-sdk/geocoding": "^0.0.5-alpha.2",
|
|
52
52
|
"@ltd/j-toml": "~1.35.2",
|
|
53
53
|
"@messageformat/core": "^3.0.1",
|
|
54
54
|
"@nx/angular": "16.6.0",
|
|
@@ -57,8 +57,61 @@ Cette section contient des *caractères internationaux* (ainsi que des "caractè
|
|
|
57
57
|
url: new URL('http://my-org.net/two.png'),
|
|
58
58
|
},
|
|
59
59
|
],
|
|
60
|
-
keywords: [
|
|
61
|
-
|
|
60
|
+
keywords: [
|
|
61
|
+
{
|
|
62
|
+
thesaurus: {
|
|
63
|
+
id: 'geonetwork.thesaurus.local',
|
|
64
|
+
name: 'geonetwork.thesaurus.local',
|
|
65
|
+
},
|
|
66
|
+
type: 'other',
|
|
67
|
+
label: 'international',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
thesaurus: {
|
|
71
|
+
id: 'geonetwork.thesaurus.local',
|
|
72
|
+
name: 'geonetwork.thesaurus.local',
|
|
73
|
+
},
|
|
74
|
+
type: 'other',
|
|
75
|
+
label: 'test',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
thesaurus: {
|
|
79
|
+
id: 'geonetwork.thesaurus.local',
|
|
80
|
+
name: 'geonetwork.thesaurus.local',
|
|
81
|
+
},
|
|
82
|
+
type: 'other',
|
|
83
|
+
label: '_another_keyword_',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
thesaurus: {
|
|
87
|
+
id: 'geonetwork.thesaurus.theme',
|
|
88
|
+
name: 'geonetwork.thesaurus.theme',
|
|
89
|
+
},
|
|
90
|
+
type: 'theme',
|
|
91
|
+
label: 'test theme',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
thesaurus: {
|
|
95
|
+
id: 'geonetwork.thesaurus.place',
|
|
96
|
+
name: 'geonetwork.thesaurus.place',
|
|
97
|
+
},
|
|
98
|
+
type: 'place',
|
|
99
|
+
label: 'test place',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
type: 'theme',
|
|
103
|
+
label: 'themeNoThesaurus',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: 'theme',
|
|
107
|
+
label: 'themeNoThesaurus 2',
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
type: 'temporal',
|
|
111
|
+
label: 'temporalNoThesaurus',
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
topics: ['agriculture'],
|
|
62
115
|
spatialRepresentation: 'grid',
|
|
63
116
|
distributions: [
|
|
64
117
|
{
|
|
@@ -93,9 +146,9 @@ Cette section contient des *caractères internationaux* (ainsi que des "caractè
|
|
|
93
146
|
lineage: `This record was edited manually to test the conversion processes
|
|
94
147
|
|
|
95
148
|
As such, **it is not very interesting at all.**`,
|
|
96
|
-
|
|
97
|
-
'Should only be used as a testing tool',
|
|
98
|
-
'Might cause minor annoyance in people',
|
|
149
|
+
otherConstraints: [
|
|
150
|
+
{ text: 'Should only be used as a testing tool' },
|
|
151
|
+
{ text: 'Might cause minor annoyance in people' },
|
|
99
152
|
],
|
|
100
153
|
licenses: [
|
|
101
154
|
{
|
|
@@ -103,14 +156,14 @@ As such, **it is not very interesting at all.**`,
|
|
|
103
156
|
url: new URL('https://data.rennesmetropole.fr/pages/licence/'),
|
|
104
157
|
},
|
|
105
158
|
],
|
|
106
|
-
|
|
159
|
+
legalConstraints: [
|
|
107
160
|
{
|
|
108
161
|
text: "Dataset access isn't possible since it does not really exist",
|
|
109
|
-
type: 'other',
|
|
110
162
|
},
|
|
163
|
+
],
|
|
164
|
+
securityConstraints: [
|
|
111
165
|
{
|
|
112
166
|
text: 'Contains sensitive information related to national defense',
|
|
113
|
-
type: 'security',
|
|
114
167
|
},
|
|
115
168
|
],
|
|
116
169
|
spatialExtents: [],
|
|
@@ -38,13 +38,57 @@ Malgré l'attention portée à la création de ces données, il est rappelé que
|
|
|
38
38
|
},
|
|
39
39
|
],
|
|
40
40
|
keywords: [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
{
|
|
42
|
+
thesaurus: {
|
|
43
|
+
name: 'GEMET - INSPIRE themes, version 1.0',
|
|
44
|
+
id: 'geonetwork.thesaurus.external.theme.inspire-theme',
|
|
45
|
+
url: new URL(
|
|
46
|
+
'http://geo.compiegnois.fr/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme'
|
|
47
|
+
),
|
|
48
|
+
},
|
|
49
|
+
type: 'theme',
|
|
50
|
+
label: 'Usage des sols',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
thesaurus: {
|
|
54
|
+
name: 'GEMET - Concepts, version 2.4',
|
|
55
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
56
|
+
url: new URL(
|
|
57
|
+
'http://geo.compiegnois.fr/geonetwork/srv/eng/thesaurus.download?ref=external.theme.gemet'
|
|
58
|
+
),
|
|
59
|
+
},
|
|
60
|
+
type: 'theme',
|
|
61
|
+
label: "document d'urbanisme",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
type: 'other',
|
|
65
|
+
label: 'planification',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: 'other',
|
|
69
|
+
label: 'PLU',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
type: 'other',
|
|
73
|
+
label: "Plan local d'urbanisme",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: 'other',
|
|
77
|
+
label: 'données ouvertes',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
thesaurus: {
|
|
81
|
+
id: 'geonetwork.thesaurus.external.place.GeoCompiegnois',
|
|
82
|
+
name: 'Collectivités du Pays Compiégnois',
|
|
83
|
+
url: new URL(
|
|
84
|
+
'http://geo.compiegnois.fr/geonetwork/srv/eng/thesaurus.download?ref=external.place.GeoCompiegnois'
|
|
85
|
+
),
|
|
86
|
+
},
|
|
87
|
+
type: 'place',
|
|
88
|
+
label: 'Avrigny*60036',
|
|
89
|
+
},
|
|
46
90
|
],
|
|
47
|
-
|
|
91
|
+
topics: ['planningCadastre'],
|
|
48
92
|
spatialRepresentation: 'vector',
|
|
49
93
|
distributions: [
|
|
50
94
|
{
|
|
@@ -59,14 +103,16 @@ Malgré l'attention portée à la création de ces données, il est rappelé que
|
|
|
59
103
|
],
|
|
60
104
|
lineage: `Document d’urbanisme numérisé conformément aux prescriptions nationales du CNIG par le Service d'Information Géographique de l'Agglomération de la Région de Compiègne.
|
|
61
105
|
Ce lot de données produit en 2019, a été numérisé à partir du PCI Vecteur de 2019 et contrôlé par le Service d'Information Géographique de l'Agglomération de la Région de Compiègne.`,
|
|
62
|
-
accessConstraints: [],
|
|
63
|
-
useLimitations: ["Aucune condition ne s'applique", 'Licence Ouverte 2.0'],
|
|
64
106
|
licenses: [
|
|
65
|
-
// this does not make sense but there's no way to infer anything else from the metadata
|
|
66
107
|
{
|
|
67
108
|
text: "En dépit des efforts et diligences mis en œuvre pour en vérifier la fiabilité, le fournisseur n’est pas en mesure de garantir l’exactitude, la mise à jour, l’intégrité, l’exhaustivité des données et en particulier que les données sont exemptes d'erreurs, notamment de localisation, d’identification ou d’actualisation ou d’imprécisions. Les données ne sont pas fournies en vue d'une utilisation particulière et aucune garantie quant à leur aptitude à un usage particulier n'est apportée par le fournisseur. En conséquence, les utilisateurs utilisent les données sous leur responsabilité pleine et entière, à leurs risques et périls, sans recours possible contre le fournisseur dont la responsabilité ne saurait être engagée du fait d’un dommage résultant directement ou indirectement de l’utilisation de ces données. En particulier, il appartient aux utilisateurs d’apprécier, sous leur seule responsabilité : – l'opportunité d'utiliser les données ; – la compatibilité des fichiers avec leurs systèmes informatiques ; – l’adéquation des données à leurs besoins ; – qu’ils disposent de la compétence suffisante pour utiliser les données ; – l’opportunité d’utiliser la documentation ou les outils d’analyse fournis ou préconisés, en relation avec l’utilisation des données, le cas échéant. Le fournisseur n’est en aucune façon responsable des éléments extérieurs aux données et notamment des outils d’analyse, matériels, logiciels, réseaux..., utilisés pour consulter et/ou traiter les données, même s’il a préconisé ces éléments. L’utilisateur veille à vérifier que l’actualité des informations mises à disposition est compatible avec l’usage qu’il en fait.",
|
|
68
109
|
},
|
|
110
|
+
{ text: "Aucune condition ne s'applique" },
|
|
111
|
+
{ text: 'Licence Ouverte 2.0' },
|
|
69
112
|
],
|
|
113
|
+
legalConstraints: [],
|
|
114
|
+
securityConstraints: [],
|
|
115
|
+
otherConstraints: [],
|
|
70
116
|
// data quality?
|
|
71
117
|
spatialExtents: [],
|
|
72
118
|
temporalExtents: [],
|
|
@@ -33,25 +33,185 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
|
|
|
33
33
|
title: 'Alpenkonvention',
|
|
34
34
|
abstract: `Perimeter der Alpenkonvention in der Schweiz. Die Alpenkonvention ist ein völkerrechtlicher Vertrag zwischen den acht Alpenländern Deutschland, Frankreich, Italien, Liechtenstein, Monaco, Österreich, Schweiz, Slowenien sowie der Europäischen Union. Das Ziel des Übereinkommens ist der Schutz der Alpen durch eine sektorübergreifende, ganzheitliche und nachhaltige Politik.`,
|
|
35
35
|
overviews: [],
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
36
|
+
topics: ['planningCadastre', 'planningCadastre_Planning'],
|
|
37
|
+
keywords: [
|
|
38
|
+
{
|
|
39
|
+
thesaurus: {
|
|
40
|
+
name: 'geocat.ch',
|
|
41
|
+
id: 'geonetwork.thesaurus.local.theme.geocat.ch',
|
|
42
|
+
url: new URL(
|
|
43
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
44
|
+
),
|
|
45
|
+
},
|
|
46
|
+
type: 'theme',
|
|
47
|
+
label: 'Aufbewahrungs- und Archivierungsplanung AAP - Bund',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
thesaurus: {
|
|
51
|
+
name: 'geocat.ch',
|
|
52
|
+
id: 'geonetwork.thesaurus.local.theme.geocat.ch',
|
|
53
|
+
url: new URL(
|
|
54
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
55
|
+
),
|
|
56
|
+
},
|
|
57
|
+
type: 'theme',
|
|
58
|
+
label: 'Geobasisdaten',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
thesaurus: {
|
|
62
|
+
name: 'geocat.ch',
|
|
63
|
+
id: 'geonetwork.thesaurus.local.theme.geocat.ch',
|
|
64
|
+
url: new URL(
|
|
65
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
66
|
+
),
|
|
67
|
+
},
|
|
68
|
+
type: 'theme',
|
|
69
|
+
label: 'e-geo.ch',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
label: 'opendata.swiss',
|
|
73
|
+
thesaurus: {
|
|
74
|
+
id: 'geonetwork.thesaurus.local.theme.geocat.ch',
|
|
75
|
+
name: 'geocat.ch',
|
|
76
|
+
url: new URL(
|
|
77
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
78
|
+
),
|
|
79
|
+
},
|
|
80
|
+
type: 'theme',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
label: 'Nachhaltige Entwicklung',
|
|
84
|
+
thesaurus: {
|
|
85
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
86
|
+
name: 'GEMET',
|
|
87
|
+
url: new URL(
|
|
88
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
89
|
+
),
|
|
90
|
+
},
|
|
91
|
+
type: 'theme',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
label: 'Raumplanung',
|
|
95
|
+
thesaurus: {
|
|
96
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
97
|
+
name: 'GEMET',
|
|
98
|
+
url: new URL(
|
|
99
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
100
|
+
),
|
|
101
|
+
},
|
|
102
|
+
type: 'theme',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
label: 'Bergschutz',
|
|
106
|
+
thesaurus: {
|
|
107
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
108
|
+
name: 'GEMET',
|
|
109
|
+
url: new URL(
|
|
110
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
111
|
+
),
|
|
112
|
+
},
|
|
113
|
+
type: 'theme',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
label: 'Bodenschutz',
|
|
117
|
+
thesaurus: {
|
|
118
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
119
|
+
name: 'GEMET',
|
|
120
|
+
url: new URL(
|
|
121
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
122
|
+
),
|
|
123
|
+
},
|
|
124
|
+
type: 'theme',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
label: 'Umweltpolitik',
|
|
128
|
+
thesaurus: {
|
|
129
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
130
|
+
name: 'GEMET',
|
|
131
|
+
url: new URL(
|
|
132
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
133
|
+
),
|
|
134
|
+
},
|
|
135
|
+
type: 'theme',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
label: 'Umweltpolitik',
|
|
139
|
+
thesaurus: {
|
|
140
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
141
|
+
name: 'GEMET',
|
|
142
|
+
url: new URL(
|
|
143
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
144
|
+
),
|
|
145
|
+
},
|
|
146
|
+
type: 'theme',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
label: 'Verkehr',
|
|
150
|
+
thesaurus: {
|
|
151
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
152
|
+
name: 'GEMET',
|
|
153
|
+
url: new URL(
|
|
154
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
155
|
+
),
|
|
156
|
+
},
|
|
157
|
+
type: 'theme',
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
label: 'Verkehr',
|
|
161
|
+
thesaurus: {
|
|
162
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
163
|
+
name: 'GEMET',
|
|
164
|
+
url: new URL(
|
|
165
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
166
|
+
),
|
|
167
|
+
},
|
|
168
|
+
type: 'theme',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
label: 'Verkehr',
|
|
172
|
+
thesaurus: {
|
|
173
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
174
|
+
name: 'GEMET',
|
|
175
|
+
url: new URL(
|
|
176
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
177
|
+
),
|
|
178
|
+
},
|
|
179
|
+
type: 'theme',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
label: 'Umweltüberwachung',
|
|
183
|
+
thesaurus: {
|
|
184
|
+
id: 'geonetwork.thesaurus.external.theme.inspire-theme',
|
|
185
|
+
name: 'GEMET - INSPIRE themes, version 1.0',
|
|
186
|
+
url: new URL(
|
|
187
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
188
|
+
),
|
|
189
|
+
},
|
|
190
|
+
type: 'theme',
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
label: 'Verwaltungseinheiten',
|
|
194
|
+
thesaurus: {
|
|
195
|
+
id: 'geonetwork.thesaurus.external.theme.inspire-theme',
|
|
196
|
+
name: 'GEMET - INSPIRE themes, version 1.0',
|
|
197
|
+
url: new URL(
|
|
198
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
199
|
+
),
|
|
200
|
+
},
|
|
201
|
+
type: 'theme',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
label: 'BGDI Bundesgeodaten-Infrastruktur',
|
|
205
|
+
thesaurus: {
|
|
206
|
+
id: 'geonetwork.thesaurus.local.theme.geocat.ch',
|
|
207
|
+
name: 'geocat.ch',
|
|
208
|
+
url: new URL(
|
|
209
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
210
|
+
),
|
|
211
|
+
},
|
|
212
|
+
type: 'theme',
|
|
213
|
+
},
|
|
53
214
|
],
|
|
54
|
-
keywords: [],
|
|
55
215
|
spatialRepresentation: 'vector',
|
|
56
216
|
distributions: [
|
|
57
217
|
{
|
|
@@ -138,13 +298,30 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
|
|
|
138
298
|
],
|
|
139
299
|
lineage:
|
|
140
300
|
'Digitalisiert nach den administrativen Einheiten der Schweiz, die im Anhang des Übereinkommens erscheinen.',
|
|
141
|
-
accessConstraints: [],
|
|
142
|
-
useLimitations: [],
|
|
143
301
|
licenses: [
|
|
144
302
|
{
|
|
145
303
|
text: "Licence passée entre l'Office fédéral de l'environnement (OFEV), et le canton de Fribourg, représenté par la Coordination SIT (SITel)",
|
|
146
304
|
},
|
|
147
305
|
],
|
|
306
|
+
legalConstraints: [
|
|
307
|
+
{
|
|
308
|
+
text: `1. Nutzungsbestimmung
|
|
309
|
+
|
|
310
|
+
Diese Geodaten unterliegen folgenden Nutzungsbeschränkungen:
|
|
311
|
+
|
|
312
|
+
- Sie dürfen nicht vervielfältigt, verbreitet und/oder weiter zugänglich gemacht werden.
|
|
313
|
+
|
|
314
|
+
- Sie dürfen nicht kommerziell genutzt werden.
|
|
315
|
+
|
|
316
|
+
- Sie dürfen ausschliesslich zu vorgegebenen Zwecken genutzt werden.
|
|
317
|
+
|
|
318
|
+
- Sie dürfen ausschliesslich zu dem unter 4. beschriebenen Zweck genutzt werden.
|
|
319
|
+
|
|
320
|
+
Die Quelle ist zu bezeichnen: „Quelle: Stadt Zürich“.`,
|
|
321
|
+
},
|
|
322
|
+
],
|
|
323
|
+
securityConstraints: [],
|
|
324
|
+
otherConstraints: [],
|
|
148
325
|
// data quality?
|
|
149
326
|
spatialExtents: [],
|
|
150
327
|
temporalExtents: [],
|
|
@@ -193,8 +370,31 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
|
|
|
193
370
|
description: 'Vorschaubild',
|
|
194
371
|
},
|
|
195
372
|
],
|
|
196
|
-
|
|
197
|
-
keywords: [
|
|
373
|
+
topics: [],
|
|
374
|
+
keywords: [
|
|
375
|
+
{
|
|
376
|
+
label: 'Verkehr',
|
|
377
|
+
thesaurus: {
|
|
378
|
+
id: 'geonetwork.thesaurus.external.theme.gemet',
|
|
379
|
+
name: 'GEMET',
|
|
380
|
+
url: new URL(
|
|
381
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
382
|
+
),
|
|
383
|
+
},
|
|
384
|
+
type: 'other',
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
label: 'opendata.swiss',
|
|
388
|
+
thesaurus: {
|
|
389
|
+
id: 'geonetwork.thesaurus.local.theme.geocat.ch',
|
|
390
|
+
name: 'geocat.ch',
|
|
391
|
+
url: new URL(
|
|
392
|
+
'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
|
|
393
|
+
),
|
|
394
|
+
},
|
|
395
|
+
type: 'other',
|
|
396
|
+
},
|
|
397
|
+
],
|
|
198
398
|
onlineResources: [
|
|
199
399
|
{
|
|
200
400
|
type: 'link',
|
|
@@ -216,7 +416,8 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
|
|
|
216
416
|
'https://services.geo.sg.ch/wss/service/SG00170_WMS/guest?request=GetCapabilities&service=WMS',
|
|
217
417
|
},
|
|
218
418
|
],
|
|
219
|
-
accessConstraints: [],
|
|
220
|
-
useLimitations: [],
|
|
221
419
|
licenses: [],
|
|
420
|
+
legalConstraints: [],
|
|
421
|
+
securityConstraints: [],
|
|
422
|
+
otherConstraints: [],
|
|
222
423
|
}
|
|
@@ -3,6 +3,8 @@ import {
|
|
|
3
3
|
Organization,
|
|
4
4
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
5
5
|
import { getRoleFromRoleCode } from '../iso19139/codelists/role.mapper'
|
|
6
|
+
import { Thesaurus } from './types'
|
|
7
|
+
import { getKeywordTypeFromKeywordTypeCode } from '../iso19139/codelists/keyword.mapper'
|
|
6
8
|
|
|
7
9
|
export type SourceWithUnknownProps = { [key: string]: unknown }
|
|
8
10
|
|
|
@@ -98,3 +100,30 @@ export const mapContact = (
|
|
|
98
100
|
...(phone && { phone }),
|
|
99
101
|
}
|
|
100
102
|
}
|
|
103
|
+
|
|
104
|
+
export const mapKeywords = (thesauri: Thesaurus[], language: string) => {
|
|
105
|
+
const keywords = []
|
|
106
|
+
for (const thesaurusId in thesauri) {
|
|
107
|
+
const rawThesaurus = thesauri[thesaurusId]
|
|
108
|
+
let thesaurus = null
|
|
109
|
+
if (rawThesaurus.id) {
|
|
110
|
+
const thesaurusSource: SourceWithUnknownProps = { ...rawThesaurus }
|
|
111
|
+
const url = getAsUrl(selectField(thesaurusSource, 'link'))
|
|
112
|
+
const name = selectField(thesaurusSource, 'title')
|
|
113
|
+
thesaurus = {
|
|
114
|
+
id: rawThesaurus.id,
|
|
115
|
+
...(name && { name }),
|
|
116
|
+
...(url && { url }),
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
for (const keyword of rawThesaurus.keywords) {
|
|
120
|
+
keywords.push({
|
|
121
|
+
label: selectTranslatedValue<string>(keyword, language),
|
|
122
|
+
type: getKeywordTypeFromKeywordTypeCode(rawThesaurus.theme),
|
|
123
|
+
...(thesaurus && { thesaurus }),
|
|
124
|
+
})
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
return keywords
|
|
129
|
+
}
|