geonetwork-ui 2.3.0-dev.c3722986 → 2.3.0-dev.c4b41b40
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/feature/dataviz/src/lib/service/data.service.mjs +53 -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-license/form-field-license.component.mjs +64 -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-resource-updated/form-field-resource-updated.component.mjs +15 -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 +121 -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/fields.config.mjs +16 -1
- package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +1 -1
- 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 +1 -1
- 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/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 +3 -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 +3 -3
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +16 -3
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +45 -0
- 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 +34 -7
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -7
- 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 +16 -16
- package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +22 -0
- package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +7 -5
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +17 -8
- package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +29 -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 +11 -28
- package/esm2022/libs/ui/layout/src/index.mjs +7 -5
- package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +76 -0
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +42 -18
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +18 -0
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +3 -8
- package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +2 -2
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +22 -1
- package/esm2022/translations/de.json +34 -0
- package/esm2022/translations/en.json +34 -0
- package/esm2022/translations/es.json +34 -0
- package/esm2022/translations/fr.json +34 -0
- package/esm2022/translations/it.json +34 -0
- package/esm2022/translations/nl.json +34 -0
- package/esm2022/translations/pt.json +34 -0
- package/fesm2022/geonetwork-ui.mjs +2797 -1712
- 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/feature/dataviz/src/lib/service/data.service.d.ts +3 -1
- package/libs/feature/dataviz/src/lib/service/data.service.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/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +39 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.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-resource-updated/form-field-resource-updated.component.d.ts +8 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.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 +12 -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/fields.config.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/models/fields.model.d.ts +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/downloads-list/downloads-list.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +3 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.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/record-api-form/record-api-form.component.d.ts +4 -2
- 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 +16 -15
- 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 +15 -15
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts +9 -0
- package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +12 -0
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.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 +35 -43
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +6 -4
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +25 -0
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts +13 -6
- package/libs/ui/layout/src/lib/carousel/carousel.component.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/ui/layout/src/lib/ui-layout.module.d.ts +4 -5
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts +18 -0
- package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
- package/package.json +1 -1
- 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 +3 -3
- package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +83 -0
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +68 -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/{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/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.html +8 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +64 -0
- 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-resource-updated/form-field-resource-updated.component.html +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +15 -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/feature/editor/src/lib/components/record-form/form-field/form-field.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +92 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +137 -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/fields.config.ts +15 -0
- package/src/libs/feature/editor/src/lib/models/fields.model.ts +1 -1
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -1
- 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 +2 -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 +48 -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/link-card/link-card.component.html +38 -20
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +12 -0
- 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 +2 -2
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +40 -4
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +5 -2
- 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 +15 -15
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +3 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +11 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +16 -0
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +8 -1
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +13 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.css +6 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.html +26 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.ts +32 -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 +2 -21
- package/src/libs/ui/layout/src/index.ts +6 -4
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +23 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +20 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +84 -0
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +7 -4
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +4 -4
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.ts +45 -15
- 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/ui/layout/src/lib/ui-layout.module.ts +0 -2
- package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +1 -1
- package/src/libs/util/shared/src/lib/links/link-utils.ts +21 -0
- package/tailwind.base.css +36 -0
- package/translations/de.json +34 -0
- package/translations/en.json +34 -0
- package/translations/es.json +34 -0
- package/translations/fr.json +34 -0
- package/translations/it.json +34 -0
- package/translations/nl.json +34 -0
- package/translations/pt.json +34 -0
- package/translations/sk.json +34 -0
- 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/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/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.html +0 -68
- 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/{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/feature/editor/src/lib/{record-form/record-form.component.css → components/record-form/form-field/form-field-license/form-field-license.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.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/form-field/form-field-rich/form-field-rich.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css} +0 -0
- /package/src/libs/{ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.css → 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/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css → 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/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css → 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/form-field/form-field.component.css → 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.model.ts +0 -0
- /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.ts +0 -0
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,26 @@
|
|
|
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.form.license": "License",
|
|
149
|
+
"editor.record.form.license.cc-by": "Creative Commons CC-BY",
|
|
150
|
+
"editor.record.form.license.cc-by-sa": "Creative Commons CC-BY-SA",
|
|
151
|
+
"editor.record.form.license.cc-zero": "Creative Commons CC-0",
|
|
152
|
+
"editor.record.form.license.etalab": "Open Licence (Etalab)",
|
|
153
|
+
"editor.record.form.license.etalab-v2": "Open Licence v2.0 (Etalab)",
|
|
154
|
+
"editor.record.form.license.odbl": "Open Data Commons ODbL",
|
|
155
|
+
"editor.record.form.license.odc-by": "Open Data Commons ODC-By",
|
|
156
|
+
"editor.record.form.license.pddl": "Open Data Commons PDDL",
|
|
157
|
+
"editor.record.form.license.unknown": "Unknown or absent",
|
|
158
|
+
"editor.record.form.resourceUpdated": "Last update date",
|
|
159
|
+
"editor.record.loadError.body": "The record could not be loaded:",
|
|
160
|
+
"editor.record.loadError.closeMessage": "Understood",
|
|
161
|
+
"editor.record.loadError.title": "Error loading record",
|
|
147
162
|
"editor.record.publish": "Publish this record",
|
|
163
|
+
"editor.record.publishError.body": "The record could not be published:",
|
|
164
|
+
"editor.record.publishError.closeMessage": "Understood",
|
|
165
|
+
"editor.record.publishError.title": "Error publishing record",
|
|
166
|
+
"editor.record.publishSuccess.body": "The record was successfully published!",
|
|
167
|
+
"editor.record.publishSuccess.title": "Publish success",
|
|
148
168
|
"editor.record.upToDate": "This record is up to date",
|
|
149
169
|
"externalviewer.dataset.unnamed": "Datahub layer",
|
|
150
170
|
"facets.block.title.OrgForResource": "Organisation",
|
|
@@ -270,6 +290,14 @@
|
|
|
270
290
|
"record.metadata.quality.updateFrequency.failed": "Update frequency is not specified",
|
|
271
291
|
"record.metadata.quality.updateFrequency.success": "Update frequency is specified",
|
|
272
292
|
"record.metadata.related": "Related records",
|
|
293
|
+
"record.metadata.userFeedbacks": "Questions / Answers",
|
|
294
|
+
"record.metadata.userFeedbacks.anonymousUser": "In order to leave a comment, please log in.",
|
|
295
|
+
"record.metadata.userFeedbacks.sortSelector.label": "Sort by ...",
|
|
296
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "Newest comments first",
|
|
297
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "Oldest comments first",
|
|
298
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "Write your comment here...",
|
|
299
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "Answer...",
|
|
300
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "Publish",
|
|
273
301
|
"record.metadata.sheet": "Original metadata",
|
|
274
302
|
"record.metadata.status": "Status",
|
|
275
303
|
"record.metadata.technical": "Technical information",
|
|
@@ -343,6 +371,12 @@
|
|
|
343
371
|
"table.loading.data": "Loading data...",
|
|
344
372
|
"table.object.count": "objects in this dataset",
|
|
345
373
|
"table.select.data": "Data source",
|
|
374
|
+
"timeSincePipe.lessThanAMinute": "Less than a minute ago",
|
|
375
|
+
"timeSincePipe.minutesAgo": "{value} minute{s} ago",
|
|
376
|
+
"timeSincePipe.hoursAgo": "{value} hour{s} ago",
|
|
377
|
+
"timeSincePipe.daysAgo": "{value} day{s} ago",
|
|
378
|
+
"timeSincePipe.monthsAgo": "{value} month{s} ago",
|
|
379
|
+
"timeSincePipe.yearsAgo": "{value} year{s} ago",
|
|
346
380
|
"tooltip.html.copy": "Copy HTML",
|
|
347
381
|
"tooltip.id.copy": "Copy unique identifier",
|
|
348
382
|
"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,26 @@
|
|
|
144
145
|
"downloads.format.unknown": "",
|
|
145
146
|
"downloads.wfs.featuretype.not.found": "",
|
|
146
147
|
"dropFile": "",
|
|
148
|
+
"editor.record.form.license": "",
|
|
149
|
+
"editor.record.form.license.cc-by": "",
|
|
150
|
+
"editor.record.form.license.cc-by-sa": "",
|
|
151
|
+
"editor.record.form.license.cc-zero": "",
|
|
152
|
+
"editor.record.form.license.etalab": "",
|
|
153
|
+
"editor.record.form.license.etalab-v2": "",
|
|
154
|
+
"editor.record.form.license.odbl": "",
|
|
155
|
+
"editor.record.form.license.odc-by": "",
|
|
156
|
+
"editor.record.form.license.pddl": "",
|
|
157
|
+
"editor.record.form.license.unknown": "",
|
|
158
|
+
"editor.record.form.resourceUpdated": "",
|
|
159
|
+
"editor.record.loadError.body": "",
|
|
160
|
+
"editor.record.loadError.closeMessage": "",
|
|
161
|
+
"editor.record.loadError.title": "",
|
|
147
162
|
"editor.record.publish": "",
|
|
163
|
+
"editor.record.publishError.body": "",
|
|
164
|
+
"editor.record.publishError.closeMessage": "",
|
|
165
|
+
"editor.record.publishError.title": "",
|
|
166
|
+
"editor.record.publishSuccess.body": "",
|
|
167
|
+
"editor.record.publishSuccess.title": "",
|
|
148
168
|
"editor.record.upToDate": "",
|
|
149
169
|
"externalviewer.dataset.unnamed": "",
|
|
150
170
|
"facets.block.title.OrgForResource": "",
|
|
@@ -270,6 +290,14 @@
|
|
|
270
290
|
"record.metadata.quality.updateFrequency.failed": "",
|
|
271
291
|
"record.metadata.quality.updateFrequency.success": "",
|
|
272
292
|
"record.metadata.related": "",
|
|
293
|
+
"record.metadata.userFeedbacks": "",
|
|
294
|
+
"record.metadata.userFeedbacks.anonymousUser": "",
|
|
295
|
+
"record.metadata.userFeedbacks.sortSelector.label": "",
|
|
296
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
|
|
297
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
|
|
298
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "",
|
|
299
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "",
|
|
300
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
|
|
273
301
|
"record.metadata.sheet": "",
|
|
274
302
|
"record.metadata.status": "",
|
|
275
303
|
"record.metadata.technical": "",
|
|
@@ -343,6 +371,12 @@
|
|
|
343
371
|
"table.loading.data": "",
|
|
344
372
|
"table.object.count": "",
|
|
345
373
|
"table.select.data": "",
|
|
374
|
+
"timeSincePipe.lessThanAMinute": "",
|
|
375
|
+
"timeSincePipe.minutesAgo": "",
|
|
376
|
+
"timeSincePipe.hoursAgo": "",
|
|
377
|
+
"timeSincePipe.daysAgo": "",
|
|
378
|
+
"timeSincePipe.monthsAgo": "",
|
|
379
|
+
"timeSincePipe.yearsAgo": "",
|
|
346
380
|
"tooltip.html.copy": "",
|
|
347
381
|
"tooltip.id.copy": "",
|
|
348
382
|
"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,26 @@
|
|
|
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.form.license": "Licence",
|
|
149
|
+
"editor.record.form.license.cc-by": "",
|
|
150
|
+
"editor.record.form.license.cc-by-sa": "",
|
|
151
|
+
"editor.record.form.license.cc-zero": "",
|
|
152
|
+
"editor.record.form.license.etalab": "Licence Ouverte (Etalab)",
|
|
153
|
+
"editor.record.form.license.etalab-v2": "Licence Ouverte v2.0 (Etalab)",
|
|
154
|
+
"editor.record.form.license.odbl": "",
|
|
155
|
+
"editor.record.form.license.odc-by": "",
|
|
156
|
+
"editor.record.form.license.pddl": "",
|
|
157
|
+
"editor.record.form.license.unknown": "Non-reconnue ou absente",
|
|
158
|
+
"editor.record.form.resourceUpdated": "Date de dernière révision",
|
|
159
|
+
"editor.record.loadError.body": "",
|
|
160
|
+
"editor.record.loadError.closeMessage": "",
|
|
161
|
+
"editor.record.loadError.title": "",
|
|
147
162
|
"editor.record.publish": "",
|
|
163
|
+
"editor.record.publishError.body": "",
|
|
164
|
+
"editor.record.publishError.closeMessage": "",
|
|
165
|
+
"editor.record.publishError.title": "",
|
|
166
|
+
"editor.record.publishSuccess.body": "",
|
|
167
|
+
"editor.record.publishSuccess.title": "",
|
|
148
168
|
"editor.record.upToDate": "",
|
|
149
169
|
"externalviewer.dataset.unnamed": "Couche du datahub",
|
|
150
170
|
"facets.block.title.OrgForResource": "Organisation",
|
|
@@ -270,6 +290,14 @@
|
|
|
270
290
|
"record.metadata.quality.updateFrequency.failed": "Fréquence de mise à jour n'est pas renseignée",
|
|
271
291
|
"record.metadata.quality.updateFrequency.success": "Fréquence de mise à jour est renseignée",
|
|
272
292
|
"record.metadata.related": "Voir aussi",
|
|
293
|
+
"record.metadata.userFeedbacks": "Questions / Réponses",
|
|
294
|
+
"record.metadata.userFeedbacks.anonymousUser": "Pour rédiger un commentaire, veuillez vous identifier.",
|
|
295
|
+
"record.metadata.userFeedbacks.sortSelector.label": "Trier par ...",
|
|
296
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "Les plus récents en premier",
|
|
297
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "Les plus anciens en premier",
|
|
298
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "Rédiger votre commentaire ici...",
|
|
299
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "Répondre...",
|
|
300
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "Publier",
|
|
273
301
|
"record.metadata.sheet": "Fiche de métadonnées d'origine",
|
|
274
302
|
"record.metadata.status": "Statut",
|
|
275
303
|
"record.metadata.technical": "Informations techniques",
|
|
@@ -343,6 +371,12 @@
|
|
|
343
371
|
"table.loading.data": "Chargement des données...",
|
|
344
372
|
"table.object.count": "enregistrements dans ces données",
|
|
345
373
|
"table.select.data": "Source de données",
|
|
374
|
+
"timeSincePipe.lessThanAMinute": "Il y a moins d'une minute",
|
|
375
|
+
"timeSincePipe.minutesAgo": "Il y a {value} minute{s}",
|
|
376
|
+
"timeSincePipe.hoursAgo": "Il y a {value} heure{s}",
|
|
377
|
+
"timeSincePipe.daysAgo": "Il y a {value} jour{s}",
|
|
378
|
+
"timeSincePipe.monthsAgo": "Il y a {value} mois",
|
|
379
|
+
"timeSincePipe.yearsAgo": "Il y a {value} an{s}",
|
|
346
380
|
"tooltip.html.copy": "Copier le HTML",
|
|
347
381
|
"tooltip.id.copy": "Copier l'identifiant unique",
|
|
348
382
|
"tooltip.url.copy": "Copier l'URL",
|
package/translations/it.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"button.login": "",
|
|
2
3
|
"catalog.figures.datasets": "{count, plural, =0{datasets} one{dataset} other{datasets}}",
|
|
3
4
|
"catalog.figures.organisations": "{count, plural, =0{organizzazioni} one{organizzazione} other{organizzazioni}}",
|
|
4
5
|
"chart.aggregation.average": "media",
|
|
@@ -144,7 +145,26 @@
|
|
|
144
145
|
"downloads.format.unknown": "sconosciuto",
|
|
145
146
|
"downloads.wfs.featuretype.not.found": "Il layer non è stato trovato",
|
|
146
147
|
"dropFile": "Trascina il suo file",
|
|
148
|
+
"editor.record.form.license": "Licenza",
|
|
149
|
+
"editor.record.form.license.cc-by": "",
|
|
150
|
+
"editor.record.form.license.cc-by-sa": "",
|
|
151
|
+
"editor.record.form.license.cc-zero": "",
|
|
152
|
+
"editor.record.form.license.etalab": "Licenza aperta (Etalab)",
|
|
153
|
+
"editor.record.form.license.etalab-v2": "Licenza aperta v2.0 (Etalab)",
|
|
154
|
+
"editor.record.form.license.odbl": "",
|
|
155
|
+
"editor.record.form.license.odc-by": "",
|
|
156
|
+
"editor.record.form.license.pddl": "",
|
|
157
|
+
"editor.record.form.license.unknown": "Non riconosciuta o assente",
|
|
158
|
+
"editor.record.form.resourceUpdated": "",
|
|
159
|
+
"editor.record.loadError.body": "",
|
|
160
|
+
"editor.record.loadError.closeMessage": "",
|
|
161
|
+
"editor.record.loadError.title": "",
|
|
147
162
|
"editor.record.publish": "",
|
|
163
|
+
"editor.record.publishError.body": "",
|
|
164
|
+
"editor.record.publishError.closeMessage": "",
|
|
165
|
+
"editor.record.publishError.title": "",
|
|
166
|
+
"editor.record.publishSuccess.body": "",
|
|
167
|
+
"editor.record.publishSuccess.title": "",
|
|
148
168
|
"editor.record.upToDate": "",
|
|
149
169
|
"externalviewer.dataset.unnamed": "Layer del datahub",
|
|
150
170
|
"facets.block.title.OrgForResource": "Organizzazione",
|
|
@@ -270,6 +290,14 @@
|
|
|
270
290
|
"record.metadata.quality.updateFrequency.failed": "La frequenza di aggiornamento non è specificata",
|
|
271
291
|
"record.metadata.quality.updateFrequency.success": "La frequenza di aggiornamento è specificata",
|
|
272
292
|
"record.metadata.related": "Vedi anche",
|
|
293
|
+
"record.metadata.userFeedbacks": "",
|
|
294
|
+
"record.metadata.userFeedbacks.anonymousUser": "",
|
|
295
|
+
"record.metadata.userFeedbacks.sortSelector.label": "",
|
|
296
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
|
|
297
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
|
|
298
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "",
|
|
299
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "",
|
|
300
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
|
|
273
301
|
"record.metadata.sheet": "Origine del metadata",
|
|
274
302
|
"record.metadata.status": "Stato",
|
|
275
303
|
"record.metadata.technical": "Informazioni tecniche",
|
|
@@ -343,6 +371,12 @@
|
|
|
343
371
|
"table.loading.data": "Caricamento dei dati...",
|
|
344
372
|
"table.object.count": "record in questi dati",
|
|
345
373
|
"table.select.data": "Sorgente dati",
|
|
374
|
+
"timeSincePipe.lessThanAMinute": "",
|
|
375
|
+
"timeSincePipe.minutesAgo": "",
|
|
376
|
+
"timeSincePipe.hoursAgo": "",
|
|
377
|
+
"timeSincePipe.daysAgo": "",
|
|
378
|
+
"timeSincePipe.monthsAgo": "",
|
|
379
|
+
"timeSincePipe.yearsAgo": "",
|
|
346
380
|
"tooltip.html.copy": "Copiare il HTML",
|
|
347
381
|
"tooltip.id.copy": "Copiare l'identificatore unico",
|
|
348
382
|
"tooltip.url.copy": "Copiare l'URL",
|
package/translations/nl.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"button.login": "",
|
|
2
3
|
"catalog.figures.datasets": "datasets",
|
|
3
4
|
"catalog.figures.organisations": "organisaties",
|
|
4
5
|
"chart.aggregation.average": "gemiddelde",
|
|
@@ -144,7 +145,26 @@
|
|
|
144
145
|
"downloads.format.unknown": "",
|
|
145
146
|
"downloads.wfs.featuretype.not.found": "",
|
|
146
147
|
"dropFile": "",
|
|
148
|
+
"editor.record.form.license": "",
|
|
149
|
+
"editor.record.form.license.cc-by": "",
|
|
150
|
+
"editor.record.form.license.cc-by-sa": "",
|
|
151
|
+
"editor.record.form.license.cc-zero": "",
|
|
152
|
+
"editor.record.form.license.etalab": "",
|
|
153
|
+
"editor.record.form.license.etalab-v2": "",
|
|
154
|
+
"editor.record.form.license.odbl": "",
|
|
155
|
+
"editor.record.form.license.odc-by": "",
|
|
156
|
+
"editor.record.form.license.pddl": "",
|
|
157
|
+
"editor.record.form.license.unknown": "",
|
|
158
|
+
"editor.record.form.resourceUpdated": "",
|
|
159
|
+
"editor.record.loadError.body": "",
|
|
160
|
+
"editor.record.loadError.closeMessage": "",
|
|
161
|
+
"editor.record.loadError.title": "",
|
|
147
162
|
"editor.record.publish": "",
|
|
163
|
+
"editor.record.publishError.body": "",
|
|
164
|
+
"editor.record.publishError.closeMessage": "",
|
|
165
|
+
"editor.record.publishError.title": "",
|
|
166
|
+
"editor.record.publishSuccess.body": "",
|
|
167
|
+
"editor.record.publishSuccess.title": "",
|
|
148
168
|
"editor.record.upToDate": "",
|
|
149
169
|
"externalviewer.dataset.unnamed": "",
|
|
150
170
|
"facets.block.title.OrgForResource": "",
|
|
@@ -270,6 +290,14 @@
|
|
|
270
290
|
"record.metadata.quality.updateFrequency.failed": "",
|
|
271
291
|
"record.metadata.quality.updateFrequency.success": "",
|
|
272
292
|
"record.metadata.related": "",
|
|
293
|
+
"record.metadata.userFeedbacks": "",
|
|
294
|
+
"record.metadata.userFeedbacks.anonymousUser": "",
|
|
295
|
+
"record.metadata.userFeedbacks.sortSelector.label": "",
|
|
296
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
|
|
297
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
|
|
298
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "",
|
|
299
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "",
|
|
300
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
|
|
273
301
|
"record.metadata.sheet": "",
|
|
274
302
|
"record.metadata.status": "",
|
|
275
303
|
"record.metadata.technical": "",
|
|
@@ -343,6 +371,12 @@
|
|
|
343
371
|
"table.loading.data": "",
|
|
344
372
|
"table.object.count": "",
|
|
345
373
|
"table.select.data": "",
|
|
374
|
+
"timeSincePipe.lessThanAMinute": "",
|
|
375
|
+
"timeSincePipe.minutesAgo": "",
|
|
376
|
+
"timeSincePipe.hoursAgo": "",
|
|
377
|
+
"timeSincePipe.daysAgo": "",
|
|
378
|
+
"timeSincePipe.monthsAgo": "",
|
|
379
|
+
"timeSincePipe.yearsAgo": "",
|
|
346
380
|
"tooltip.html.copy": "",
|
|
347
381
|
"tooltip.id.copy": "",
|
|
348
382
|
"tooltip.url.copy": "",
|
package/translations/pt.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"button.login": "",
|
|
2
3
|
"catalog.figures.datasets": "conjuntos de dados",
|
|
3
4
|
"catalog.figures.organisations": "organizações",
|
|
4
5
|
"chart.aggregation.average": "média",
|
|
@@ -144,7 +145,26 @@
|
|
|
144
145
|
"downloads.format.unknown": "",
|
|
145
146
|
"downloads.wfs.featuretype.not.found": "",
|
|
146
147
|
"dropFile": "",
|
|
148
|
+
"editor.record.form.license": "",
|
|
149
|
+
"editor.record.form.license.cc-by": "",
|
|
150
|
+
"editor.record.form.license.cc-by-sa": "",
|
|
151
|
+
"editor.record.form.license.cc-zero": "",
|
|
152
|
+
"editor.record.form.license.etalab": "",
|
|
153
|
+
"editor.record.form.license.etalab-v2": "",
|
|
154
|
+
"editor.record.form.license.odbl": "",
|
|
155
|
+
"editor.record.form.license.odc-by": "",
|
|
156
|
+
"editor.record.form.license.pddl": "",
|
|
157
|
+
"editor.record.form.license.unknown": "",
|
|
158
|
+
"editor.record.form.resourceUpdated": "",
|
|
159
|
+
"editor.record.loadError.body": "",
|
|
160
|
+
"editor.record.loadError.closeMessage": "",
|
|
161
|
+
"editor.record.loadError.title": "",
|
|
147
162
|
"editor.record.publish": "",
|
|
163
|
+
"editor.record.publishError.body": "",
|
|
164
|
+
"editor.record.publishError.closeMessage": "",
|
|
165
|
+
"editor.record.publishError.title": "",
|
|
166
|
+
"editor.record.publishSuccess.body": "",
|
|
167
|
+
"editor.record.publishSuccess.title": "",
|
|
148
168
|
"editor.record.upToDate": "",
|
|
149
169
|
"externalviewer.dataset.unnamed": "",
|
|
150
170
|
"facets.block.title.OrgForResource": "",
|
|
@@ -270,6 +290,14 @@
|
|
|
270
290
|
"record.metadata.quality.updateFrequency.failed": "",
|
|
271
291
|
"record.metadata.quality.updateFrequency.success": "",
|
|
272
292
|
"record.metadata.related": "",
|
|
293
|
+
"record.metadata.userFeedbacks": "",
|
|
294
|
+
"record.metadata.userFeedbacks.anonymousUser": "",
|
|
295
|
+
"record.metadata.userFeedbacks.sortSelector.label": "",
|
|
296
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
|
|
297
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
|
|
298
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "",
|
|
299
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "",
|
|
300
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
|
|
273
301
|
"record.metadata.sheet": "",
|
|
274
302
|
"record.metadata.status": "",
|
|
275
303
|
"record.metadata.technical": "",
|
|
@@ -343,6 +371,12 @@
|
|
|
343
371
|
"table.loading.data": "",
|
|
344
372
|
"table.object.count": "",
|
|
345
373
|
"table.select.data": "",
|
|
374
|
+
"timeSincePipe.lessThanAMinute": "",
|
|
375
|
+
"timeSincePipe.minutesAgo": "",
|
|
376
|
+
"timeSincePipe.hoursAgo": "",
|
|
377
|
+
"timeSincePipe.daysAgo": "",
|
|
378
|
+
"timeSincePipe.monthsAgo": "",
|
|
379
|
+
"timeSincePipe.yearsAgo": "",
|
|
346
380
|
"tooltip.html.copy": "",
|
|
347
381
|
"tooltip.id.copy": "",
|
|
348
382
|
"tooltip.url.copy": "",
|
package/translations/sk.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"button.login": "",
|
|
2
3
|
"catalog.figures.datasets": "{count, plural, =0{datasety} one{dataset} other{datasety}}",
|
|
3
4
|
"catalog.figures.organisations": "{count, plural, =0{organizácie} one{organizácia} other{organizácie}}",
|
|
4
5
|
"chart.aggregation.average": "priemer",
|
|
@@ -144,7 +145,26 @@
|
|
|
144
145
|
"downloads.format.unknown": "neznámy",
|
|
145
146
|
"downloads.wfs.featuretype.not.found": "Vrstva nebola nájdená",
|
|
146
147
|
"dropFile": "nahrať súbor",
|
|
148
|
+
"editor.record.form.license": "Licencia",
|
|
149
|
+
"editor.record.form.license.cc-by": "",
|
|
150
|
+
"editor.record.form.license.cc-by-sa": "",
|
|
151
|
+
"editor.record.form.license.cc-zero": "",
|
|
152
|
+
"editor.record.form.license.etalab": "",
|
|
153
|
+
"editor.record.form.license.etalab-v2": "",
|
|
154
|
+
"editor.record.form.license.odbl": "",
|
|
155
|
+
"editor.record.form.license.odc-by": "",
|
|
156
|
+
"editor.record.form.license.pddl": "",
|
|
157
|
+
"editor.record.form.license.unknown": "Neznáme alebo chýbajúce",
|
|
158
|
+
"editor.record.form.resourceUpdated": "",
|
|
159
|
+
"editor.record.loadError.body": "",
|
|
160
|
+
"editor.record.loadError.closeMessage": "",
|
|
161
|
+
"editor.record.loadError.title": "",
|
|
147
162
|
"editor.record.publish": "",
|
|
163
|
+
"editor.record.publishError.body": "",
|
|
164
|
+
"editor.record.publishError.closeMessage": "",
|
|
165
|
+
"editor.record.publishError.title": "",
|
|
166
|
+
"editor.record.publishSuccess.body": "",
|
|
167
|
+
"editor.record.publishSuccess.title": "",
|
|
148
168
|
"editor.record.upToDate": "",
|
|
149
169
|
"externalviewer.dataset.unnamed": "",
|
|
150
170
|
"facets.block.title.OrgForResource": "Organizácia",
|
|
@@ -270,6 +290,14 @@
|
|
|
270
290
|
"record.metadata.quality.updateFrequency.failed": "Frekvencia aktualizácie nie je určená",
|
|
271
291
|
"record.metadata.quality.updateFrequency.success": "Frekvencia aktualizácie je určená",
|
|
272
292
|
"record.metadata.related": "Súvisiace záznamy",
|
|
293
|
+
"record.metadata.userFeedbacks": "",
|
|
294
|
+
"record.metadata.userFeedbacks.anonymousUser": "",
|
|
295
|
+
"record.metadata.userFeedbacks.sortSelector.label": "",
|
|
296
|
+
"record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
|
|
297
|
+
"record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
|
|
298
|
+
"record.metadata.userFeedbacks.newComment.placeholder": "",
|
|
299
|
+
"record.metadata.userFeedbacks.newAnswer.placeholder": "",
|
|
300
|
+
"record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
|
|
273
301
|
"record.metadata.sheet": "Ďalšie metadáta sú k dispozícii na:",
|
|
274
302
|
"record.metadata.status": "Stav",
|
|
275
303
|
"record.metadata.technical": "",
|
|
@@ -343,6 +371,12 @@
|
|
|
343
371
|
"table.loading.data": "Načítanie údajov...",
|
|
344
372
|
"table.object.count": "objekty v tomto súbore údajov",
|
|
345
373
|
"table.select.data": "Zdroj údajov",
|
|
374
|
+
"timeSincePipe.lessThanAMinute": "",
|
|
375
|
+
"timeSincePipe.minutesAgo": "",
|
|
376
|
+
"timeSincePipe.hoursAgo": "",
|
|
377
|
+
"timeSincePipe.daysAgo": "",
|
|
378
|
+
"timeSincePipe.monthsAgo": "",
|
|
379
|
+
"timeSincePipe.yearsAgo": "",
|
|
346
380
|
"tooltip.html.copy": "Kopírovať HTML",
|
|
347
381
|
"tooltip.id.copy": "Kopírovať jedinečný identifikátor",
|
|
348
382
|
"tooltip.url.copy": "Kopírovať URL",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { UiInputsModule } from '../../../../../../libs/ui/inputs/src';
|
|
4
|
-
import { EditorFacade } from '../+state/editor.facade';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../+state/editor.facade";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
import * as i3 from "../../../../../ui/inputs/src/lib/form-field/form-field.component";
|
|
9
|
-
export class RecordFormComponent {
|
|
10
|
-
constructor(facade) {
|
|
11
|
-
this.facade = facade;
|
|
12
|
-
this.fields$ = this.facade.recordFields$;
|
|
13
|
-
}
|
|
14
|
-
handleFieldValueChange(field, newValue) {
|
|
15
|
-
if (!field.config.model) {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
this.facade.updateRecordField(field.config.model, newValue);
|
|
19
|
-
}
|
|
20
|
-
fieldTracker(index, field) {
|
|
21
|
-
return field.config.model;
|
|
22
|
-
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: RecordFormComponent, deps: [{ token: i1.EditorFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: RecordFormComponent, isStandalone: true, selector: "gn-ui-record-form", ngImport: i0, template: "<div class=\"flex flex-col gap-6 p-6\">\n <ng-container *ngFor=\"let field of fields$ | async; trackBy: fieldTracker\">\n <gn-ui-form-field\n *ngIf=\"field.config.formFieldConfig && !field.config.hidden\"\n [config]=\"field.config.formFieldConfig\"\n [value]=\"field.value\"\n (valueChange)=\"handleFieldValueChange(field, $event)\"\n ></gn-ui-form-field>\n </ng-container>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: UiInputsModule }, { kind: "component", type: i3.FormFieldComponent, selector: "gn-ui-form-field", inputs: ["config", "value"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: RecordFormComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{ selector: 'gn-ui-record-form', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, UiInputsModule], template: "<div class=\"flex flex-col gap-6 p-6\">\n <ng-container *ngFor=\"let field of fields$ | async; trackBy: fieldTracker\">\n <gn-ui-form-field\n *ngIf=\"field.config.formFieldConfig && !field.config.hidden\"\n [config]=\"field.config.formFieldConfig\"\n [value]=\"field.value\"\n (valueChange)=\"handleFieldValueChange(field, $event)\"\n ></gn-ui-form-field>\n </ng-container>\n</div>\n" }]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i1.EditorFacade }]; } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjb3JkLWZvcm0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mZWF0dXJlL2VkaXRvci9zcmMvbGliL3JlY29yZC1mb3JtL3JlY29yZC1mb3JtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9lZGl0b3Ivc3JjL2xpYi9yZWNvcmQtZm9ybS9yZWNvcmQtZm9ybS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUE7QUFDOUMsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQTtBQUNsRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sc0NBQXNDLENBQUE7QUFDckUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHlCQUF5QixDQUFBOzs7OztBQVd0RCxNQUFNLE9BQU8sbUJBQW1CO0lBRzlCLFlBQW1CLE1BQW9CO1FBQXBCLFd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luZXIgKm5nRm9yPVwibGV0IGZpZWxkIG9mIGZpZWxkcyQgfCBhc3luYzsgdHJhY2tCeTogZmllbGRUcmFja2VyXCI+XG4gICAgPGduLXVpLWZvcm0tZmllbGRcbiAgICAgICpuZ0lmPVwiZmllbGQuY29uZmlnLmZvcm1GaWVsZENvbmZpZyAmJiAhZmllbGQuY29uZmlnLmhpZGRlblwiXG4gICAgICBbY29uZmlnXT1cImZpZWxkLmNvbmZpZy5mb3JtRmllbGRDb25maWdcIlxuICAgICAgW3ZhbHVlXT1cImZpZWxkLnZhbHVlXCJcbiAgICAgICh2YWx1ZUNoYW5nZSk9XCJoYW5kbGVGaWVsZFZhbHVlQ2hhbmdlKGZpZWxkLCAkZXZlbnQpXCJcbiAgICA+PC9nbi11aS1mb3JtLWZpZWxkPlxuICA8L25nLWNvbnRhaW5lcj5cbjwvZGl2PlxuIl19
|
package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class FormFieldArrayComponent {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldArrayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldArrayComponent, selector: "gn-ui-form-field-array", ngImport: i0, template: "<p>form-field-array works!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldArrayComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'gn-ui-form-field-array', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p>form-field-array works!</p>\n" }]
|
|
10
|
-
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1hcnJheS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL2lucHV0cy9zcmMvbGliL2Zvcm0tZmllbGQvZm9ybS1maWVsZC1hcnJheS9mb3JtLWZpZWxkLWFycmF5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLWFycmF5L2Zvcm0tZmllbGQtYXJyYXkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQTs7QUFRbEUsTUFBTSxPQUFPLHVCQUF1Qjs4R0FBdkIsdUJBQXVCO2tHQUF2Qix1QkFBdUIsOERDUnBDLGtDQUNBOzsyRkRPYSx1QkFBdUI7a0JBTm5DLFNBQVM7K0JBQ0Usd0JBQXdCLG1CQUdqQix1QkFBdUIsQ0FBQyxNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnXG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2duLXVpLWZvcm0tZmllbGQtYXJyYXknLFxuICB0ZW1wbGF0ZVVybDogJy4vZm9ybS1maWVsZC1hcnJheS5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2Zvcm0tZmllbGQtYXJyYXkuY29tcG9uZW50LmNzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgRm9ybUZpZWxkQXJyYXlDb21wb25lbnQge31cbiIsIjxwPmZvcm0tZmllbGQtYXJyYXkgd29ya3MhPC9wPlxuIl19
|
package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/forms";
|
|
6
|
-
export class FormFieldFileComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.readonly = false;
|
|
9
|
-
this.invalid = false;
|
|
10
|
-
this.placeholder = '';
|
|
11
|
-
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldFileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldFileComponent, selector: "gn-ui-form-field-file", inputs: { control: "control", readonly: "readonly", invalid: "invalid", placeholder: "placeholder" }, ngImport: i0, template: "<input\n type=\"file\"\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n/>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldFileComponent, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{ selector: 'gn-ui-form-field-file', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n type=\"file\"\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n/>\n" }]
|
|
18
|
-
}], propDecorators: { control: [{
|
|
19
|
-
type: Input
|
|
20
|
-
}], readonly: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], invalid: [{
|
|
23
|
-
type: Input
|
|
24
|
-
}], placeholder: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}] } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1maWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLWZpbGUvZm9ybS1maWVsZC1maWxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMv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WZpbGUuY29tcG9uZW50LmNzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgRm9ybUZpZWxkRmlsZUNvbXBvbmVudCB7XG4gIEBJbnB1dCgpIGNvbnRyb2whOiBGb3JtQ29udHJvbFxuICBASW5wdXQoKSByZWFkb25seSA9IGZhbHNlXG4gIEBJbnB1dCgpIGludmFsaWQgPSBmYWxzZVxuICBASW5wdXQoKSBwbGFjZWhvbGRlciA9ICcnXG59XG4iLCI8aW5wdXRcbiAgdHlwZT1cImZpbGVcIlxuICBbcmVhZG9ubHldPVwicmVhZG9ubHlcIlxuICBbZm9ybUNvbnRyb2xdPVwiY29udHJvbFwiXG4gIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXG4gIGNsYXNzPVwiYm9yZGVyIHJvdW5kZWQtbWQgcC0zIHctZnVsbCBiZy13aGl0ZSB0cmFuc2l0aW9uLWNvbG9yc1wiXG4gIFtuZ0NsYXNzXT1cIntcbiAgICAnYm9yZGVyLXBpbmstNTAwJzogaW52YWxpZCxcbiAgICAnYm9yZGVyLWdyYXktMjAwJzogIWludmFsaWQsXG4gICAgJ3RleHQtZ3JheS02MDAnOiByZWFkb25seVxuICB9XCJcbi8+XG4iXX0=
|
package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class FormFieldObjectComponent {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldObjectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldObjectComponent, selector: "gn-ui-form-field-object", ngImport: i0, template: "<p>form-field-object works!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldObjectComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'gn-ui-form-field-object', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p>form-field-object works!</p>\n" }]
|
|
10
|
-
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1vYmplY3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS9pbnB1dHMvc3JjL2xpYi9mb3JtLWZpZWxkL2Zvcm0tZmllbGQtb2JqZWN0L2Zvcm0tZmllbGQtb2JqZWN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLW9iamVjdC9mb3JtLWZpZWxkLW9iamVjdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFBOztBQVFsRSxNQUFNLE9BQU8sd0JBQXdCOzhHQUF4Qix3QkFBd0I7a0dBQXhCLHdCQUF3QiwrRENSckMsbUNBQ0E7OzJGRE9hLHdCQUF3QjtrQkFOcEMsU0FBUzsrQkFDRSx5QkFBeUIsbUJBR2xCLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnZ24tdWktZm9ybS1maWVsZC1vYmplY3QnLFxuICB0ZW1wbGF0ZVVybDogJy4vZm9ybS1maWVsZC1vYmplY3QuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9mb3JtLWZpZWxkLW9iamVjdC5jb21wb25lbnQuY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtRmllbGRPYmplY3RDb21wb25lbnQge31cbiIsIjxwPmZvcm0tZmllbGQtb2JqZWN0IHdvcmtzITwvcD5cbiJdfQ==
|
package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/forms";
|
|
6
|
-
export class FormFieldRichComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.readonly = false;
|
|
9
|
-
this.invalid = false;
|
|
10
|
-
this.placeholder = '';
|
|
11
|
-
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldRichComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldRichComponent, selector: "gn-ui-form-field-rich", inputs: { control: "control", readonly: "readonly", invalid: "invalid", placeholder: "placeholder" }, ngImport: i0, template: "<textarea\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white h-full resize-none transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n></textarea>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldRichComponent, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{ selector: 'gn-ui-form-field-rich', changeDetection: ChangeDetectionStrategy.OnPush, template: "<textarea\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white h-full resize-none transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n></textarea>\n" }]
|
|
18
|
-
}], propDecorators: { control: [{
|
|
19
|
-
type: Input
|
|
20
|
-
}], readonly: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], invalid: [{
|
|
23
|
-
type: Input
|
|
24
|
-
}], placeholder: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}] } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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form-field-simple.component.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/forms";
|
|
6
|
-
export class FormFieldSimpleComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.readonly = false;
|
|
9
|
-
this.invalid = false;
|
|
10
|
-
this.placeholder = '';
|
|
11
|
-
}
|
|
12
|
-
get inputType() {
|
|
13
|
-
switch (this.type) {
|
|
14
|
-
case 'url':
|
|
15
|
-
case 'text':
|
|
16
|
-
return 'text';
|
|
17
|
-
case 'date':
|
|
18
|
-
return 'datetime-local';
|
|
19
|
-
case 'number':
|
|
20
|
-
return 'number';
|
|
21
|
-
case 'toggle':
|
|
22
|
-
return 'checkbox';
|
|
23
|
-
default:
|
|
24
|
-
return '';
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
get isSelect() {
|
|
28
|
-
return this.type === 'list';
|
|
29
|
-
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldSimpleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldSimpleComponent, selector: "gn-ui-form-field-simple", inputs: { type: "type", control: "control", readonly: "readonly", invalid: "invalid", placeholder: "placeholder", options: "options" }, ngImport: i0, template: "<input\n *ngIf=\"!isSelect\"\n [type]=\"inputType\"\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n/>\n<select\n *ngIf=\"isSelect\"\n [formControl]=\"control\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n>\n <option *ngFor=\"let option of options\" [ngValue]=\"option.value\">\n {{ option.label }}\n </option>\n</select>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldSimpleComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{ selector: 'gn-ui-form-field-simple', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n *ngIf=\"!isSelect\"\n [type]=\"inputType\"\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n/>\n<select\n *ngIf=\"isSelect\"\n [formControl]=\"control\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n>\n <option *ngFor=\"let option of options\" [ngValue]=\"option.value\">\n {{ option.label }}\n </option>\n</select>\n" }]
|
|
36
|
-
}], propDecorators: { type: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], control: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], readonly: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], invalid: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], placeholder: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], options: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}] } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1zaW1wbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS9pbnB1dHMvc3JjL2xpYi9mb3JtLWZpZWxkL2Zvcm0tZmllbGQtc2ltcGxlL2Zvcm0tZmllbGQtc2ltcGxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLXNpbXBsZS9mb3JtLWZpZWxkLXNpbXBsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd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