geonetwork-ui 2.3.0-dev.376e0e90 → 2.3.0-dev.3efe236f
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/index.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +6 -2
- package/esm2022/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.mjs +1 -1
- package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +12 -1
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +36 -3
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +19 -7
- package/esm2022/libs/common/domain/src/lib/model/record/index.mjs +2 -1
- package/esm2022/libs/common/domain/src/lib/model/record/user-feedbacks.model.mjs +2 -0
- package/esm2022/libs/common/domain/src/lib/model/user/index.mjs +2 -0
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +35 -7
- package/esm2022/libs/data-access/gn4/src/openapi/model/models.mjs +1 -2
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +2 -2
- package/esm2022/libs/feature/editor/src/index.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +6 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +11 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +28 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +11 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +45 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +50 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +11 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +11 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +107 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +2 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +10 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +29 -0
- package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +10 -10
- package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +6 -2
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +3 -3
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +72 -0
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -3
- package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +12 -7
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +2 -1
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +52 -25
- package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +12 -49
- package/esm2022/libs/feature/notifications/src/index.mjs +4 -0
- package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +18 -0
- package/esm2022/libs/feature/notifications/src/lib/notification.model.mjs +2 -0
- package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +49 -0
- package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +29 -0
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +4 -4
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +6 -2
- package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +22 -4
- package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +37 -10
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +22 -7
- package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +52 -17
- package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +18 -3
- package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +2 -2
- package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +3 -3
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/index.mjs +15 -15
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +45 -0
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +34 -0
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +4 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +14 -5
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +59 -0
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +62 -0
- package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -1
- package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +59 -0
- package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +183 -0
- package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +27 -4
- package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +19 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +10 -23
- package/esm2022/libs/ui/layout/src/index.mjs +6 -5
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +18 -0
- package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -0
- package/esm2022/libs/util/shared/src/lib/utils/image-resize.mjs +60 -0
- package/esm2022/libs/util/shared/src/lib/utils/index.mjs +8 -6
- package/esm2022/translations/de.json +35 -0
- package/esm2022/translations/en.json +35 -0
- package/esm2022/translations/es.json +35 -0
- package/esm2022/translations/fr.json +35 -0
- package/esm2022/translations/it.json +35 -0
- package/esm2022/translations/nl.json +35 -0
- package/esm2022/translations/pt.json +35 -0
- package/fesm2022/geonetwork-ui.mjs +3988 -2856
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.ts +1 -0
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +6 -2
- 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 -6
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/index.d.ts +1 -0
- package/libs/common/domain/src/lib/model/record/index.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts +15 -0
- package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts.map +1 -0
- package/libs/common/domain/src/lib/model/user/index.d.ts +2 -0
- package/libs/common/domain/src/lib/model/user/index.d.ts.map +1 -0
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +3 -0
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +9 -5
- package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/models.d.ts +0 -1
- package/libs/data-access/gn4/src/openapi/model/models.d.ts.map +1 -1
- package/libs/feature/editor/src/index.d.ts +1 -1
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +8 -5
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +16 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.d.ts +2 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +1 -0
- package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.d.ts +9 -4
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.d.ts +3 -3
- package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts +1 -1
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/models/fields.model.d.ts +1 -1
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +23 -0
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -0
- package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -1
- package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +2 -0
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +10 -5
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +2 -3
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
- package/libs/feature/notifications/src/index.d.ts +4 -0
- package/libs/feature/notifications/src/index.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +7 -0
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/notification.model.d.ts +7 -0
- package/libs/feature/notifications/src/lib/notification.model.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts +12 -0
- package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/notifications.service.d.ts +15 -0
- package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -0
- package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts +40 -6
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts +24 -4
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +14 -4
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +8 -5
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +12 -9
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +14 -14
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +13 -0
- package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/notification/notification.component.d.ts +13 -0
- package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +10 -8
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts +11 -0
- package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts +22 -0
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/index.d.ts +0 -1
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts +14 -0
- package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +44 -0
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +7 -1
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +4 -1
- package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +26 -33
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +5 -4
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +8 -0
- package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -0
- package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -0
- package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -0
- package/libs/util/shared/src/lib/utils/image-resize.d.ts +3 -0
- package/libs/util/shared/src/lib/utils/image-resize.d.ts.map +1 -0
- package/libs/util/shared/src/lib/utils/index.d.ts +7 -5
- package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +7 -1
- package/src/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.ts +1 -0
- package/src/libs/api/repository/src/lib/gn4/auth/gravatar.service.ts +12 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +51 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +34 -7
- package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
- package/src/libs/common/domain/src/lib/model/record/user-feedbacks.model.ts +15 -0
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +3 -0
- package/src/libs/common/fixtures/src/index.ts +8 -6
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +1 -1
- package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +83 -0
- package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +43 -12
- package/src/libs/data-access/gn4/src/openapi/model/models.ts +0 -1
- package/src/libs/data-access/gn4/src/spec.yaml +1 -1
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +1 -1
- package/src/libs/feature/editor/src/index.ts +1 -1
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +8 -1
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +8 -0
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +70 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.ts +1 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.ts +4 -1
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +20 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +44 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.ts +4 -1
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +1 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts +1 -0
- package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.html +28 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +121 -0
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.css +0 -0
- package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.html +1 -0
- package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.ts +4 -4
- package/src/libs/feature/editor/src/lib/feature-editor.module.ts +9 -9
- package/src/libs/feature/editor/src/lib/models/fields.model.ts +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +5 -1
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.css +0 -0
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +36 -0
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +80 -0
- package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -0
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +8 -0
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +5 -0
- package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +10 -3
- package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +60 -32
- package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +17 -61
- package/src/libs/feature/notifications/src/index.ts +3 -0
- package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +10 -0
- package/src/libs/feature/notifications/src/lib/notification.model.ts +6 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.css +0 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.html +17 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts +44 -0
- package/src/libs/feature/notifications/src/lib/notifications.service.ts +27 -0
- package/src/libs/feature/record/src/lib/feature-record.module.ts +5 -2
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +5 -1
- package/src/libs/feature/record/src/lib/state/mdview.actions.ts +51 -6
- package/src/libs/feature/record/src/lib/state/mdview.effects.ts +82 -7
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +49 -8
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +81 -24
- package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +40 -10
- package/src/libs/feature/router/src/lib/default/state/router.effects.ts +2 -2
- package/src/libs/feature/search/src/lib/results-table/results-table.component.html +3 -3
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +5 -5
- package/src/libs/ui/elements/src/index.ts +14 -14
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.css +0 -5
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +0 -21
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -14
- package/src/libs/ui/elements/src/lib/notification/notification.component.css +0 -0
- package/src/libs/ui/elements/src/lib/notification/notification.component.html +52 -0
- package/src/libs/ui/elements/src/lib/notification/notification.component.ts +31 -0
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +1 -1
- package/src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts +5 -3
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +6 -1
- package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +54 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.css +0 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.html +75 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +63 -0
- package/src/libs/ui/inputs/src/index.ts +0 -1
- package/src/libs/ui/inputs/src/lib/button/button.component.ts +1 -1
- package/src/libs/ui/inputs/src/lib/files-drop/files-drop.directive.ts +45 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +0 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +146 -0
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +193 -0
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +2 -1
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +29 -0
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +16 -1
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -19
- package/src/libs/ui/layout/src/index.ts +5 -4
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.css +0 -0
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +18 -0
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +16 -0
- package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +3 -0
- package/src/libs/util/shared/src/lib/utils/image-resize.ts +72 -0
- package/src/libs/util/shared/src/lib/utils/index.ts +7 -5
- package/tailwind.base.css +36 -0
- package/translations/de.json +35 -0
- package/translations/en.json +35 -0
- package/translations/es.json +35 -0
- package/translations/fr.json +35 -0
- package/translations/it.json +35 -0
- package/translations/nl.json +35 -0
- package/translations/pt.json +35 -0
- package/translations/sk.json +35 -0
- package/esm2022/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.mjs +0 -13
- package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +0 -30
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.mjs +0 -11
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.mjs +0 -27
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.mjs +0 -11
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.mjs +0 -27
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.mjs +0 -49
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +0 -11
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.component.mjs +0 -76
- package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.model.mjs +0 -2
- package/esm2022/libs/ui/inputs/src/lib/form-field/index.mjs +0 -10
- package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts +0 -18
- package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/record-form/record-form.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts +0 -11
- package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/form-field.model.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/form-field/index.d.ts.map +0 -1
- package/src/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.ts +0 -18
- package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.html +0 -11
- package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.ts +0 -15
- package/src/libs/ui/inputs/src/lib/form-field/form-field.component.ts +0 -80
- /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.d.ts +0 -0
- /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.d.ts +0 -0
- /package/src/libs/feature/editor/src/lib/{record-form/record-form.component.css → components/overview-upload/overview-upload.component.css} +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-rich/form-field-rich.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.html +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.css +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.ts +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.ts +0 -0
|
@@ -15,7 +15,12 @@ import { distinctUntilChanged } from 'rxjs/operators'
|
|
|
15
15
|
standalone: true,
|
|
16
16
|
})
|
|
17
17
|
export class TextAreaComponent implements AfterViewInit {
|
|
18
|
+
private readonly baseClasses: string
|
|
19
|
+
private readonly disabledClasses: string
|
|
20
|
+
|
|
18
21
|
@Input() value = ''
|
|
22
|
+
@Input() disabled = false
|
|
23
|
+
@Input() extraClass = ''
|
|
19
24
|
@Input() placeholder: string
|
|
20
25
|
@Input() required = false
|
|
21
26
|
|
|
@@ -24,6 +29,30 @@ export class TextAreaComponent implements AfterViewInit {
|
|
|
24
29
|
|
|
25
30
|
@ViewChild('input') input
|
|
26
31
|
|
|
32
|
+
constructor() {
|
|
33
|
+
this.baseClasses = [
|
|
34
|
+
'w-full',
|
|
35
|
+
'pt-2',
|
|
36
|
+
'pl-2',
|
|
37
|
+
'resize-none',
|
|
38
|
+
'border',
|
|
39
|
+
'border-gray-800',
|
|
40
|
+
'rounded italic',
|
|
41
|
+
'leading-tight',
|
|
42
|
+
'focus:outline-none',
|
|
43
|
+
'focus:bg-background',
|
|
44
|
+
'focus:border-primary',
|
|
45
|
+
].join(' ')
|
|
46
|
+
|
|
47
|
+
this.disabledClasses = ['cursor-not-allowed'].join(' ')
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
get classList() {
|
|
51
|
+
return `${this.baseClasses} ${this.extraClass} ${
|
|
52
|
+
this.disabled ? this.disabledClasses : ''
|
|
53
|
+
}`
|
|
54
|
+
}
|
|
55
|
+
|
|
27
56
|
ngAfterViewInit() {
|
|
28
57
|
this.checkRequired(this.input.nativeElement.value)
|
|
29
58
|
}
|
|
@@ -14,14 +14,29 @@ import { Subject } from 'rxjs'
|
|
|
14
14
|
styleUrls: ['./text-input.component.css'],
|
|
15
15
|
})
|
|
16
16
|
export class TextInputComponent implements AfterViewInit {
|
|
17
|
+
private readonly baseClass = [
|
|
18
|
+
'appearance-none',
|
|
19
|
+
'border border-gray-300',
|
|
20
|
+
'rounded w-full',
|
|
21
|
+
'p-2',
|
|
22
|
+
'text-gray-700',
|
|
23
|
+
'leading-tight',
|
|
24
|
+
'focus:outline-none',
|
|
25
|
+
'focus:border-primary',
|
|
26
|
+
].join(' ')
|
|
27
|
+
|
|
17
28
|
@Input() value = ''
|
|
29
|
+
@Input() extraClass = ''
|
|
18
30
|
@Input() hint: string
|
|
19
31
|
@Input() required = false
|
|
20
32
|
rawChange = new Subject<string>()
|
|
21
33
|
@Output() valueChange = this.rawChange.pipe(distinctUntilChanged())
|
|
22
|
-
|
|
23
34
|
@ViewChild('input') input
|
|
24
35
|
|
|
36
|
+
get classList() {
|
|
37
|
+
return `${this.baseClass} ${this.extraClass}`
|
|
38
|
+
}
|
|
39
|
+
|
|
25
40
|
ngAfterViewInit() {
|
|
26
41
|
this.checkRequired(this.input.nativeElement.value)
|
|
27
42
|
}
|
|
@@ -20,16 +20,6 @@ import { UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
|
|
|
20
20
|
import { OverlayModule } from '@angular/cdk/overlay'
|
|
21
21
|
import { MatCheckboxModule } from '@angular/material/checkbox'
|
|
22
22
|
import { ViewportIntersectorComponent } from './viewport-intersector/viewport-intersector.component'
|
|
23
|
-
import {
|
|
24
|
-
FormFieldArrayComponent,
|
|
25
|
-
FormFieldComponent,
|
|
26
|
-
FormFieldFileComponent,
|
|
27
|
-
FormFieldObjectComponent,
|
|
28
|
-
FormFieldRichComponent,
|
|
29
|
-
FormFieldSimpleComponent,
|
|
30
|
-
FormFieldSpatialExtentComponent,
|
|
31
|
-
FormFieldTemporalExtentComponent,
|
|
32
|
-
} from './form-field'
|
|
33
23
|
import { CheckToggleComponent } from './check-toggle/check-toggle.component'
|
|
34
24
|
import { CopyTextButtonComponent } from './copy-text-button/copy-text-button.component'
|
|
35
25
|
import { MatTooltipModule } from '@angular/material/tooltip'
|
|
@@ -42,6 +32,7 @@ import { MatInputModule } from '@angular/material/input'
|
|
|
42
32
|
import { MatDatepickerModule } from '@angular/material/datepicker'
|
|
43
33
|
import { MatNativeDateModule } from '@angular/material/core'
|
|
44
34
|
import { EditableLabelDirective } from './editable-label/editable-label.directive'
|
|
35
|
+
import { ImageInputComponent } from './image-input/image-input.component'
|
|
45
36
|
|
|
46
37
|
@NgModule({
|
|
47
38
|
declarations: [
|
|
@@ -54,14 +45,6 @@ import { EditableLabelDirective } from './editable-label/editable-label.directiv
|
|
|
54
45
|
StarToggleComponent,
|
|
55
46
|
DropdownMultiselectComponent,
|
|
56
47
|
ViewportIntersectorComponent,
|
|
57
|
-
FormFieldComponent,
|
|
58
|
-
FormFieldSimpleComponent,
|
|
59
|
-
FormFieldArrayComponent,
|
|
60
|
-
FormFieldObjectComponent,
|
|
61
|
-
FormFieldRichComponent,
|
|
62
|
-
FormFieldFileComponent,
|
|
63
|
-
FormFieldSpatialExtentComponent,
|
|
64
|
-
FormFieldTemporalExtentComponent,
|
|
65
48
|
CheckToggleComponent,
|
|
66
49
|
CopyTextButtonComponent,
|
|
67
50
|
CheckboxComponent,
|
|
@@ -89,6 +72,7 @@ import { EditableLabelDirective } from './editable-label/editable-label.directiv
|
|
|
89
72
|
EditableLabelDirective,
|
|
90
73
|
TextAreaComponent,
|
|
91
74
|
ButtonComponent,
|
|
75
|
+
ImageInputComponent,
|
|
92
76
|
],
|
|
93
77
|
exports: [
|
|
94
78
|
DropdownSelectorComponent,
|
|
@@ -102,13 +86,13 @@ import { EditableLabelDirective } from './editable-label/editable-label.directiv
|
|
|
102
86
|
StarToggleComponent,
|
|
103
87
|
DropdownMultiselectComponent,
|
|
104
88
|
ViewportIntersectorComponent,
|
|
105
|
-
FormFieldComponent,
|
|
106
89
|
CheckToggleComponent,
|
|
107
90
|
CopyTextButtonComponent,
|
|
108
91
|
CheckboxComponent,
|
|
109
92
|
SearchInputComponent,
|
|
110
93
|
DateRangePickerComponent,
|
|
111
94
|
EditableLabelDirective,
|
|
95
|
+
ImageInputComponent,
|
|
112
96
|
],
|
|
113
97
|
})
|
|
114
98
|
export class UiInputsModule {}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export * from './lib/ui-layout.module'
|
|
2
1
|
export * from './lib/anchor-link/anchor-link.directive'
|
|
3
2
|
export * from './lib/carousel/carousel.component'
|
|
4
|
-
export * from './lib/expandable-panel/expandable-panel.component'
|
|
5
|
-
export * from './lib/sticky-header/sticky-header.component'
|
|
6
3
|
export * from './lib/expandable-panel-button/expandable-panel-button.component'
|
|
7
|
-
export * from './lib/
|
|
4
|
+
export * from './lib/expandable-panel/expandable-panel.component'
|
|
5
|
+
export * from './lib/form-field-wrapper/form-field-wrapper.component'
|
|
8
6
|
export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component'
|
|
7
|
+
export * from './lib/interactive-table/interactive-table.component'
|
|
8
|
+
export * from './lib/sticky-header/sticky-header.component'
|
|
9
|
+
export * from './lib/ui-layout.module'
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<div class="h-full flex flex-col">
|
|
2
|
+
<div class="flex-none w-full flex flex-row items-center">
|
|
3
|
+
<span class="flex-none font-bold">{{ label }}</span>
|
|
4
|
+
<div class="flex-1 flex justify-end items-center">
|
|
5
|
+
<ng-content select="[form-field-interaction]"></ng-content>
|
|
6
|
+
<span
|
|
7
|
+
class="material-symbols-outlined m-2 gn-ui-icon-small"
|
|
8
|
+
[matTooltip]="hint"
|
|
9
|
+
matTooltipPosition="above"
|
|
10
|
+
>
|
|
11
|
+
help
|
|
12
|
+
</span>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="flex-1">
|
|
16
|
+
<ng-content></ng-content>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
|
2
|
+
import { MatIconModule } from '@angular/material/icon'
|
|
3
|
+
import { MatTooltipModule } from '@angular/material/tooltip'
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'gn-ui-form-field-wrapper',
|
|
7
|
+
templateUrl: './form-field-wrapper.component.html',
|
|
8
|
+
styleUrls: ['./form-field-wrapper.component.css'],
|
|
9
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10
|
+
standalone: true,
|
|
11
|
+
imports: [MatIconModule, MatTooltipModule],
|
|
12
|
+
})
|
|
13
|
+
export class FormFieldWrapperComponent {
|
|
14
|
+
@Input() label: string
|
|
15
|
+
@Input() hint: string
|
|
16
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export function downsizeImage(
|
|
2
|
+
blob: Blob,
|
|
3
|
+
maxWidth: number,
|
|
4
|
+
maxHeight: number
|
|
5
|
+
): Promise<Blob> {
|
|
6
|
+
return new Promise((resolve, reject) => {
|
|
7
|
+
const image = new Image()
|
|
8
|
+
image.src = URL.createObjectURL(blob)
|
|
9
|
+
image.onload = () => {
|
|
10
|
+
let width = image.width
|
|
11
|
+
let height = image.height
|
|
12
|
+
|
|
13
|
+
if (width > maxWidth || height > maxHeight) {
|
|
14
|
+
if (width > height) {
|
|
15
|
+
height = height * (maxWidth / width)
|
|
16
|
+
width = maxWidth
|
|
17
|
+
} else {
|
|
18
|
+
width = width * (maxHeight / height)
|
|
19
|
+
height = maxHeight
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const canvas = document.createElement('canvas')
|
|
24
|
+
canvas.width = width
|
|
25
|
+
canvas.height = height
|
|
26
|
+
|
|
27
|
+
const context = canvas.getContext('2d')
|
|
28
|
+
context.drawImage(image, 0, 0, width, height)
|
|
29
|
+
|
|
30
|
+
canvas.toBlob(resolve, blob.type)
|
|
31
|
+
}
|
|
32
|
+
image.onerror = reject
|
|
33
|
+
})
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function downgradeImage(
|
|
37
|
+
blob: Blob,
|
|
38
|
+
maxSizeBytes: number
|
|
39
|
+
): Promise<Blob> {
|
|
40
|
+
return new Promise((resolve, reject) => {
|
|
41
|
+
const image = new Image()
|
|
42
|
+
image.src = URL.createObjectURL(blob)
|
|
43
|
+
image.onload = () => {
|
|
44
|
+
const width = image.width
|
|
45
|
+
const height = image.height
|
|
46
|
+
let quality = 1.0
|
|
47
|
+
|
|
48
|
+
const canvas = document.createElement('canvas')
|
|
49
|
+
canvas.width = width
|
|
50
|
+
canvas.height = height
|
|
51
|
+
|
|
52
|
+
const context = canvas.getContext('2d')
|
|
53
|
+
context.drawImage(image, 0, 0, width, height)
|
|
54
|
+
|
|
55
|
+
const compressAndResolveBlob = (blobToCompress: Blob) => {
|
|
56
|
+
if (blobToCompress.size <= maxSizeBytes) {
|
|
57
|
+
resolve(blobToCompress)
|
|
58
|
+
} else {
|
|
59
|
+
quality -= 0.1
|
|
60
|
+
if (quality >= 0) {
|
|
61
|
+
canvas.toBlob(compressAndResolveBlob, blob.type, quality)
|
|
62
|
+
} else {
|
|
63
|
+
reject('Unable to compress image below max size')
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
canvas.toBlob(compressAndResolveBlob, blob.type, quality)
|
|
69
|
+
}
|
|
70
|
+
image.onerror = reject
|
|
71
|
+
})
|
|
72
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
export * from './bytes-convert'
|
|
2
|
+
export * from './event'
|
|
3
|
+
export * from './fuzzy-filter'
|
|
4
|
+
export * from './geojson'
|
|
5
|
+
export * from './image-resize'
|
|
1
6
|
export * from './parse'
|
|
2
|
-
export * from './strip-html'
|
|
3
7
|
export * from './remove-whitespace'
|
|
4
|
-
export * from './geojson'
|
|
5
8
|
export * from './sort-by'
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './event'
|
|
8
|
-
export * from './fuzzy-filter'
|
|
9
|
+
export * from './strip-html'
|
|
9
10
|
export * from './temporal-extent-union'
|
|
11
|
+
export * from './url'
|
package/tailwind.base.css
CHANGED
|
@@ -9,6 +9,42 @@
|
|
|
9
9
|
@apply shadow-xl hover:shadow-xl-hover transition-shadow;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
/* ICON CLASSES */
|
|
13
|
+
.gn-ui-icon-small {
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
width: 16px;
|
|
16
|
+
height: 16px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* LINK CLASSES */
|
|
20
|
+
.gn-ui-link {
|
|
21
|
+
@apply text-blue-600 hover:text-blue-700 hover:underline;
|
|
22
|
+
text-underline-offset: 0.2em;
|
|
23
|
+
text-decoration-thickness: 1px;
|
|
24
|
+
}
|
|
25
|
+
.gn-ui-link-external-icon {
|
|
26
|
+
content: 'open_in_new';
|
|
27
|
+
font-family: 'Material Symbols Outlined';
|
|
28
|
+
font-size: 0.9em;
|
|
29
|
+
display: inline-block;
|
|
30
|
+
vertical-align: top;
|
|
31
|
+
padding-top: 0.1em;
|
|
32
|
+
}
|
|
33
|
+
.gn-ui-link-external {
|
|
34
|
+
@apply gn-ui-link;
|
|
35
|
+
}
|
|
36
|
+
.gn-ui-link-external::before {
|
|
37
|
+
@apply gn-ui-link-external-icon;
|
|
38
|
+
padding-right: 0.2em;
|
|
39
|
+
}
|
|
40
|
+
.gn-ui-link-external-after {
|
|
41
|
+
@apply gn-ui-link;
|
|
42
|
+
}
|
|
43
|
+
.gn-ui-link-external-after::after {
|
|
44
|
+
@apply gn-ui-link-external-icon;
|
|
45
|
+
padding-left: 0.2em;
|
|
46
|
+
}
|
|
47
|
+
|
|
12
48
|
/* BUTTON CLASSES */
|
|
13
49
|
/* these are used behind the scenes by the `gn-ui-button` component */
|
|
14
50
|
|
package/translations/de.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"button.login": "",
|
|
2
3
|
"catalog.figures.datasets": "{count, plural, =0{Datensätze} one{Datensatz} other{Datensätze}}",
|
|
3
4
|
"catalog.figures.organisations": "{count, plural, =0{Organisationen} one{Organisation} other{Organisationen}}",
|
|
4
5
|
"chart.aggregation.average": "Durchschnitt",
|
|
@@ -144,7 +145,15 @@
|
|
|
144
145
|
"downloads.format.unknown": "unbekannt",
|
|
145
146
|
"downloads.wfs.featuretype.not.found": "Der Layer wurde nicht gefunden",
|
|
146
147
|
"dropFile": "Datei ablegen",
|
|
148
|
+
"editor.record.loadError.body": "",
|
|
149
|
+
"editor.record.loadError.closeMessage": "",
|
|
150
|
+
"editor.record.loadError.title": "",
|
|
147
151
|
"editor.record.publish": "",
|
|
152
|
+
"editor.record.publishError.body": "",
|
|
153
|
+
"editor.record.publishError.closeMessage": "",
|
|
154
|
+
"editor.record.publishError.title": "",
|
|
155
|
+
"editor.record.publishSuccess.body": "",
|
|
156
|
+
"editor.record.publishSuccess.title": "",
|
|
148
157
|
"editor.record.upToDate": "",
|
|
149
158
|
"externalviewer.dataset.unnamed": "Datensatz aus dem Datahub",
|
|
150
159
|
"facets.block.title.OrgForResource": "Organisation",
|
|
@@ -159,6 +168,16 @@
|
|
|
159
168
|
"facets.block.title.tag.default": "Stichwort",
|
|
160
169
|
"facets.block.title.th_regions_tree.default": "Regionen",
|
|
161
170
|
"favorite.not.authenticated.tooltip": "<div><a href=' {link} '>Anmelden</a>, um auf diese Funktion zuzugreifen</div>",
|
|
171
|
+
"input.image.altTextPlaceholder": "",
|
|
172
|
+
"input.image.delete": "",
|
|
173
|
+
"input.image.displayAltTextInput": "",
|
|
174
|
+
"input.image.displayUrlInput": "",
|
|
175
|
+
"input.image.dropFileLabel": "",
|
|
176
|
+
"input.image.selectFileLabel": "",
|
|
177
|
+
"input.image.uploadErrorLabel": "",
|
|
178
|
+
"input.image.uploadErrorRetry": "",
|
|
179
|
+
"input.image.uploadProgressCancel": "",
|
|
180
|
+
"input.image.uploadProgressLabel": "",
|
|
162
181
|
"language.ca": "Katalanisch",
|
|
163
182
|
"language.cs": "Tschechisch",
|
|
164
183
|
"language.de": "Deutsch",
|
|
@@ -177,6 +196,7 @@
|
|
|
177
196
|
"map.add.layer": "Eine Ebene hinzufügen",
|
|
178
197
|
"map.add.layer.catalog": "Aus dem Katalog",
|
|
179
198
|
"map.add.layer.file": "Aus einer Datei",
|
|
199
|
+
"map.add.layer.ogc.api": "",
|
|
180
200
|
"map.add.layer.wfs": "Aus WFS",
|
|
181
201
|
"map.add.layer.wms": "Aus WMS",
|
|
182
202
|
"map.addFromFile.placeholder": "Klicke hier oder ziehe eine Datei herein",
|
|
@@ -188,6 +208,7 @@
|
|
|
188
208
|
"map.loading.data": "Kartendaten werden geladen...",
|
|
189
209
|
"map.loading.service": "Dienst wird geladen...",
|
|
190
210
|
"map.navigation.message": "Bitte verwenden Sie STRG + Maus (oder zwei Finger auf einem Mobilgerät), um die Karte zu navigieren",
|
|
211
|
+
"map.ogc.urlInput.hint": "",
|
|
191
212
|
"map.select.layer": "Datenquelle",
|
|
192
213
|
"map.wfs.urlInput.hint": "Geben Sie die WFS URL ein",
|
|
193
214
|
"map.wms.urlInput.hint": "Geben Sie die WMS URL ein",
|
|
@@ -258,6 +279,14 @@
|
|
|
258
279
|
"record.metadata.quality.updateFrequency.failed": "Aktualisierungsfrequenz nicht angegeben",
|
|
259
280
|
"record.metadata.quality.updateFrequency.success": "Aktualisierungsfrequenz angegeben",
|
|
260
281
|
"record.metadata.related": "Ähnliche Datensätze",
|
|
282
|
+
"record.metadata.userFeedbacks": "",
|
|
283
|
+
"record.metadata.userFeedbacks.anonymousUser": "",
|
|
284
|
+
"record.metadata.userFeedbacks.sortSelector.label": "",
|
|
285
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
|
|
286
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
|
|
287
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "",
|
|
288
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "",
|
|
289
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
|
|
261
290
|
"record.metadata.sheet": "Weitere Informationen verfügbar unter:",
|
|
262
291
|
"record.metadata.status": "Status",
|
|
263
292
|
"record.metadata.technical": "Technische Informationen",
|
|
@@ -331,6 +360,12 @@
|
|
|
331
360
|
"table.loading.data": "Daten werden geladen...",
|
|
332
361
|
"table.object.count": "Objekte in diesem Datensatz",
|
|
333
362
|
"table.select.data": "Datenquelle",
|
|
363
|
+
"timeSincePipe.lessThanAMinute": "",
|
|
364
|
+
"timeSincePipe.minutesAgo": "",
|
|
365
|
+
"timeSincePipe.hoursAgo": "",
|
|
366
|
+
"timeSincePipe.daysAgo": "",
|
|
367
|
+
"timeSincePipe.monthsAgo": "",
|
|
368
|
+
"timeSincePipe.yearsAgo": "",
|
|
334
369
|
"tooltip.html.copy": "HTML kopieren",
|
|
335
370
|
"tooltip.id.copy": "Eindeutige Kennung kopieren",
|
|
336
371
|
"tooltip.url.copy": "URL kopieren",
|
package/translations/en.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"button.login": "Log in",
|
|
2
3
|
"catalog.figures.datasets": "{count, plural, =0{datasets} one{dataset} other{datasets}}",
|
|
3
4
|
"catalog.figures.organisations": "{count, plural, =0{organisations} one{organisation} other{organisations}}",
|
|
4
5
|
"chart.aggregation.average": "average",
|
|
@@ -144,7 +145,15 @@
|
|
|
144
145
|
"downloads.format.unknown": "unknown",
|
|
145
146
|
"downloads.wfs.featuretype.not.found": "The layer was not found",
|
|
146
147
|
"dropFile": "drop file",
|
|
148
|
+
"editor.record.loadError.body": "The record could not be loaded:",
|
|
149
|
+
"editor.record.loadError.closeMessage": "Understood",
|
|
150
|
+
"editor.record.loadError.title": "Error loading record",
|
|
147
151
|
"editor.record.publish": "Publish this record",
|
|
152
|
+
"editor.record.publishError.body": "The record could not be published:",
|
|
153
|
+
"editor.record.publishError.closeMessage": "Understood",
|
|
154
|
+
"editor.record.publishError.title": "Error publishing record",
|
|
155
|
+
"editor.record.publishSuccess.body": "The record was successfully published!",
|
|
156
|
+
"editor.record.publishSuccess.title": "Publish success",
|
|
148
157
|
"editor.record.upToDate": "This record is up to date",
|
|
149
158
|
"externalviewer.dataset.unnamed": "Datahub layer",
|
|
150
159
|
"facets.block.title.OrgForResource": "Organisation",
|
|
@@ -159,6 +168,16 @@
|
|
|
159
168
|
"facets.block.title.tag.default": "Tag",
|
|
160
169
|
"facets.block.title.th_regions_tree.default": "Regions",
|
|
161
170
|
"favorite.not.authenticated.tooltip": "<div><a href=' {link} '>Login</a> to access this feature</div>",
|
|
171
|
+
"input.image.altTextPlaceholder": "Image alternate text",
|
|
172
|
+
"input.image.delete": "Delete",
|
|
173
|
+
"input.image.displayAltTextInput": "Alternate text",
|
|
174
|
+
"input.image.displayUrlInput": "Enter a URL",
|
|
175
|
+
"input.image.dropFileLabel": "or drop it here",
|
|
176
|
+
"input.image.selectFileLabel": "Select an image",
|
|
177
|
+
"input.image.uploadErrorLabel": "The image could not be uploaded",
|
|
178
|
+
"input.image.uploadErrorRetry": "Retry",
|
|
179
|
+
"input.image.uploadProgressCancel": "Cancel",
|
|
180
|
+
"input.image.uploadProgressLabel": "Upload in progress...",
|
|
162
181
|
"language.ca": "Catalan",
|
|
163
182
|
"language.cs": "Czech",
|
|
164
183
|
"language.de": "German",
|
|
@@ -177,6 +196,7 @@
|
|
|
177
196
|
"map.add.layer": "Add a layer",
|
|
178
197
|
"map.add.layer.catalog": "From the catalog",
|
|
179
198
|
"map.add.layer.file": "From a file",
|
|
199
|
+
"map.add.layer.ogc.api": "From OGC API",
|
|
180
200
|
"map.add.layer.wfs": "From WFS",
|
|
181
201
|
"map.add.layer.wms": "From WMS",
|
|
182
202
|
"map.addFromFile.placeholder": "Click or drop a file here",
|
|
@@ -188,6 +208,7 @@
|
|
|
188
208
|
"map.loading.data": "Loading map data...",
|
|
189
209
|
"map.loading.service": "Loading service...",
|
|
190
210
|
"map.navigation.message": "Please use CTRL + mouse (or two fingers on mobile) to navigate the map",
|
|
211
|
+
"map.ogc.urlInput.hint": "Enter OGC API service URL",
|
|
191
212
|
"map.select.layer": "Data source",
|
|
192
213
|
"map.wfs.urlInput.hint": "Enter WFS service URL",
|
|
193
214
|
"map.wms.urlInput.hint": "Enter WMS service URL",
|
|
@@ -258,6 +279,14 @@
|
|
|
258
279
|
"record.metadata.quality.updateFrequency.failed": "Update frequency is not specified",
|
|
259
280
|
"record.metadata.quality.updateFrequency.success": "Update frequency is specified",
|
|
260
281
|
"record.metadata.related": "Related records",
|
|
282
|
+
"record.metadata.userFeedbacks": "Questions / Answers",
|
|
283
|
+
"record.metadata.userFeedbacks.anonymousUser": "In order to leave a comment, please log in.",
|
|
284
|
+
"record.metadata.userFeedbacks.sortSelector.label": "Sort by ...",
|
|
285
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "Newest comments first",
|
|
286
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "Oldest comments first",
|
|
287
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "Write your comment here...",
|
|
288
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "Answer...",
|
|
289
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "Publish",
|
|
261
290
|
"record.metadata.sheet": "Original metadata",
|
|
262
291
|
"record.metadata.status": "Status",
|
|
263
292
|
"record.metadata.technical": "Technical information",
|
|
@@ -331,6 +360,12 @@
|
|
|
331
360
|
"table.loading.data": "Loading data...",
|
|
332
361
|
"table.object.count": "objects in this dataset",
|
|
333
362
|
"table.select.data": "Data source",
|
|
363
|
+
"timeSincePipe.lessThanAMinute": "Less than a minute ago",
|
|
364
|
+
"timeSincePipe.minutesAgo": "{value} minute{s} ago",
|
|
365
|
+
"timeSincePipe.hoursAgo": "{value} hour{s} ago",
|
|
366
|
+
"timeSincePipe.daysAgo": "{value} day{s} ago",
|
|
367
|
+
"timeSincePipe.monthsAgo": "{value} month{s} ago",
|
|
368
|
+
"timeSincePipe.yearsAgo": "{value} year{s} ago",
|
|
334
369
|
"tooltip.html.copy": "Copy HTML",
|
|
335
370
|
"tooltip.id.copy": "Copy unique identifier",
|
|
336
371
|
"tooltip.url.copy": "Copy URL",
|
package/translations/es.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"button.login": "",
|
|
2
3
|
"catalog.figures.datasets": "conjuntos de datos",
|
|
3
4
|
"catalog.figures.organisations": "organizaciones",
|
|
4
5
|
"chart.aggregation.average": "promedio",
|
|
@@ -144,7 +145,15 @@
|
|
|
144
145
|
"downloads.format.unknown": "",
|
|
145
146
|
"downloads.wfs.featuretype.not.found": "",
|
|
146
147
|
"dropFile": "",
|
|
148
|
+
"editor.record.loadError.body": "",
|
|
149
|
+
"editor.record.loadError.closeMessage": "",
|
|
150
|
+
"editor.record.loadError.title": "",
|
|
147
151
|
"editor.record.publish": "",
|
|
152
|
+
"editor.record.publishError.body": "",
|
|
153
|
+
"editor.record.publishError.closeMessage": "",
|
|
154
|
+
"editor.record.publishError.title": "",
|
|
155
|
+
"editor.record.publishSuccess.body": "",
|
|
156
|
+
"editor.record.publishSuccess.title": "",
|
|
148
157
|
"editor.record.upToDate": "",
|
|
149
158
|
"externalviewer.dataset.unnamed": "",
|
|
150
159
|
"facets.block.title.OrgForResource": "",
|
|
@@ -159,6 +168,16 @@
|
|
|
159
168
|
"facets.block.title.tag.default": "",
|
|
160
169
|
"facets.block.title.th_regions_tree.default": "",
|
|
161
170
|
"favorite.not.authenticated.tooltip": "",
|
|
171
|
+
"input.image.altTextPlaceholder": "",
|
|
172
|
+
"input.image.delete": "",
|
|
173
|
+
"input.image.displayAltTextInput": "",
|
|
174
|
+
"input.image.displayUrlInput": "",
|
|
175
|
+
"input.image.dropFileLabel": "",
|
|
176
|
+
"input.image.selectFileLabel": "",
|
|
177
|
+
"input.image.uploadErrorLabel": "",
|
|
178
|
+
"input.image.uploadErrorRetry": "",
|
|
179
|
+
"input.image.uploadProgressCancel": "",
|
|
180
|
+
"input.image.uploadProgressLabel": "",
|
|
162
181
|
"language.ca": "Catalán",
|
|
163
182
|
"language.cs": "Checo",
|
|
164
183
|
"language.de": "Alemán",
|
|
@@ -177,6 +196,7 @@
|
|
|
177
196
|
"map.add.layer": "",
|
|
178
197
|
"map.add.layer.catalog": "",
|
|
179
198
|
"map.add.layer.file": "",
|
|
199
|
+
"map.add.layer.ogc.api": "",
|
|
180
200
|
"map.add.layer.wfs": "",
|
|
181
201
|
"map.add.layer.wms": "",
|
|
182
202
|
"map.addFromFile.placeholder": "",
|
|
@@ -188,6 +208,7 @@
|
|
|
188
208
|
"map.loading.data": "",
|
|
189
209
|
"map.loading.service": "",
|
|
190
210
|
"map.navigation.message": "",
|
|
211
|
+
"map.ogc.urlInput.hint": "",
|
|
191
212
|
"map.select.layer": "",
|
|
192
213
|
"map.wfs.urlInput.hint": "",
|
|
193
214
|
"map.wms.urlInput.hint": "",
|
|
@@ -258,6 +279,14 @@
|
|
|
258
279
|
"record.metadata.quality.updateFrequency.failed": "",
|
|
259
280
|
"record.metadata.quality.updateFrequency.success": "",
|
|
260
281
|
"record.metadata.related": "",
|
|
282
|
+
"record.metadata.userFeedbacks": "",
|
|
283
|
+
"record.metadata.userFeedbacks.anonymousUser": "",
|
|
284
|
+
"record.metadata.userFeedbacks.sortSelector.label": "",
|
|
285
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
|
|
286
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
|
|
287
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "",
|
|
288
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "",
|
|
289
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
|
|
261
290
|
"record.metadata.sheet": "",
|
|
262
291
|
"record.metadata.status": "",
|
|
263
292
|
"record.metadata.technical": "",
|
|
@@ -331,6 +360,12 @@
|
|
|
331
360
|
"table.loading.data": "",
|
|
332
361
|
"table.object.count": "",
|
|
333
362
|
"table.select.data": "",
|
|
363
|
+
"timeSincePipe.lessThanAMinute": "",
|
|
364
|
+
"timeSincePipe.minutesAgo": "",
|
|
365
|
+
"timeSincePipe.hoursAgo": "",
|
|
366
|
+
"timeSincePipe.daysAgo": "",
|
|
367
|
+
"timeSincePipe.monthsAgo": "",
|
|
368
|
+
"timeSincePipe.yearsAgo": "",
|
|
334
369
|
"tooltip.html.copy": "",
|
|
335
370
|
"tooltip.id.copy": "",
|
|
336
371
|
"tooltip.url.copy": "",
|
package/translations/fr.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"button.login": "Se connecter",
|
|
2
3
|
"catalog.figures.datasets": "{count, plural, =0{données} one{donnée} other{données}}",
|
|
3
4
|
"catalog.figures.organisations": "{count, plural, =0{organisations} one{organisation} other{organisations}}",
|
|
4
5
|
"chart.aggregation.average": "moyenne",
|
|
@@ -144,7 +145,15 @@
|
|
|
144
145
|
"downloads.format.unknown": "inconnu",
|
|
145
146
|
"downloads.wfs.featuretype.not.found": "La couche n'a pas été retrouvée",
|
|
146
147
|
"dropFile": "Faites glisser votre fichier",
|
|
148
|
+
"editor.record.loadError.body": "",
|
|
149
|
+
"editor.record.loadError.closeMessage": "",
|
|
150
|
+
"editor.record.loadError.title": "",
|
|
147
151
|
"editor.record.publish": "",
|
|
152
|
+
"editor.record.publishError.body": "",
|
|
153
|
+
"editor.record.publishError.closeMessage": "",
|
|
154
|
+
"editor.record.publishError.title": "",
|
|
155
|
+
"editor.record.publishSuccess.body": "",
|
|
156
|
+
"editor.record.publishSuccess.title": "",
|
|
148
157
|
"editor.record.upToDate": "",
|
|
149
158
|
"externalviewer.dataset.unnamed": "Couche du datahub",
|
|
150
159
|
"facets.block.title.OrgForResource": "Organisation",
|
|
@@ -159,6 +168,16 @@
|
|
|
159
168
|
"facets.block.title.tag.default": "Tag",
|
|
160
169
|
"facets.block.title.th_regions_tree.default": "Régions",
|
|
161
170
|
"favorite.not.authenticated.tooltip": "<div><a href=' {link} '>Connectez-vous</a> pour avoir accès à cette fonctionnalité</div>",
|
|
171
|
+
"input.image.altTextPlaceholder": "Texte alternatif de l'image",
|
|
172
|
+
"input.image.delete": "Supprimer",
|
|
173
|
+
"input.image.displayAltTextInput": "Texte alternatif",
|
|
174
|
+
"input.image.displayUrlInput": "Saisir une URL",
|
|
175
|
+
"input.image.dropFileLabel": "ou la glisser ici",
|
|
176
|
+
"input.image.selectFileLabel": "Sélectionner une image",
|
|
177
|
+
"input.image.uploadErrorLabel": "L'image n'a pas pu être chargée",
|
|
178
|
+
"input.image.uploadErrorRetry": "Réessayer",
|
|
179
|
+
"input.image.uploadProgressCancel": "Annuler",
|
|
180
|
+
"input.image.uploadProgressLabel": "Chargement en cours...",
|
|
162
181
|
"language.ca": "Catalan",
|
|
163
182
|
"language.cs": "Tchèque",
|
|
164
183
|
"language.de": "Allemand",
|
|
@@ -177,6 +196,7 @@
|
|
|
177
196
|
"map.add.layer": "Ajouter une couche",
|
|
178
197
|
"map.add.layer.catalog": "Du catalogue",
|
|
179
198
|
"map.add.layer.file": "À partir d'un fichier",
|
|
199
|
+
"map.add.layer.ogc.api": "",
|
|
180
200
|
"map.add.layer.wfs": "Depuis un service WFS",
|
|
181
201
|
"map.add.layer.wms": "Depuis un service WMS",
|
|
182
202
|
"map.addFromFile.placeholder": "Cliquez ou déposez un fichier ici",
|
|
@@ -188,6 +208,7 @@
|
|
|
188
208
|
"map.loading.data": "Chargement des données...",
|
|
189
209
|
"map.loading.service": "Chargement du service...",
|
|
190
210
|
"map.navigation.message": "Veuillez utiliser CTRL + souris (ou deux doigts sur mobile) pour naviguer sur la carte",
|
|
211
|
+
"map.ogc.urlInput.hint": "",
|
|
191
212
|
"map.select.layer": "Source de données",
|
|
192
213
|
"map.wfs.urlInput.hint": "Entrez l'URL du service WFS",
|
|
193
214
|
"map.wms.urlInput.hint": "Entrez l'URL du service WMS",
|
|
@@ -258,6 +279,14 @@
|
|
|
258
279
|
"record.metadata.quality.updateFrequency.failed": "Fréquence de mise à jour n'est pas renseignée",
|
|
259
280
|
"record.metadata.quality.updateFrequency.success": "Fréquence de mise à jour est renseignée",
|
|
260
281
|
"record.metadata.related": "Voir aussi",
|
|
282
|
+
"record.metadata.userFeedbacks": "Questions / Réponses",
|
|
283
|
+
"record.metadata.userFeedbacks.anonymousUser": "Pour rédiger un commentaire, veuillez vous identifier.",
|
|
284
|
+
"record.metadata.userFeedbacks.sortSelector.label": "Trier par ...",
|
|
285
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "Les plus récents en premier",
|
|
286
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "Les plus anciens en premier",
|
|
287
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "Rédiger votre commentaire ici...",
|
|
288
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "Répondre...",
|
|
289
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "Publier",
|
|
261
290
|
"record.metadata.sheet": "Fiche de métadonnées d'origine",
|
|
262
291
|
"record.metadata.status": "Statut",
|
|
263
292
|
"record.metadata.technical": "Informations techniques",
|
|
@@ -331,6 +360,12 @@
|
|
|
331
360
|
"table.loading.data": "Chargement des données...",
|
|
332
361
|
"table.object.count": "enregistrements dans ces données",
|
|
333
362
|
"table.select.data": "Source de données",
|
|
363
|
+
"timeSincePipe.lessThanAMinute": "Il y a moins d'une minute",
|
|
364
|
+
"timeSincePipe.minutesAgo": "Il y a {value} minute{s}",
|
|
365
|
+
"timeSincePipe.hoursAgo": "Il y a {value} heure{s}",
|
|
366
|
+
"timeSincePipe.daysAgo": "Il y a {value} jour{s}",
|
|
367
|
+
"timeSincePipe.monthsAgo": "Il y a {value} mois",
|
|
368
|
+
"timeSincePipe.yearsAgo": "Il y a {value} an{s}",
|
|
334
369
|
"tooltip.html.copy": "Copier le HTML",
|
|
335
370
|
"tooltip.id.copy": "Copier l'identifiant unique",
|
|
336
371
|
"tooltip.url.copy": "Copier l'URL",
|