@valtimo/components 10.8.0 → 11.1.0
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/assets/css/carbon-beagle-compatibility.scss +1 -1
- package/assets/css/carbon.scss +42 -6
- package/assets/css/design-tokens.css +408 -0
- package/{esm2020 → esm2022}/lib/components/alert/alert.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/alert/alert.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/alert/alert.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/bpmn-js-diagram/bpmn-js-diagram.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/breadcrumb-navigation/breadcrumb-navigation.module.mjs +5 -5
- package/esm2022/lib/components/breadcrumb-navigation/breadcrumb.service.mjs +118 -0
- package/esm2022/lib/components/button/button.component.mjs +99 -0
- package/esm2022/lib/components/button/button.module.mjs +37 -0
- package/{esm2020 → esm2022}/lib/components/camunda/form/camunda-form.components.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/camunda-form.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/camunda/form/custom/camunda-custom-form.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/custom/camunda-custom-form.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/camunda-generated-form.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/camunda-generated-form.module.mjs +14 -14
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/camunda-formfield-generator.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/camunda-formfield.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/date/camunda-date-formfield.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/long/camunda-long-formfield.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/string/camunda-string-formfield.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.mjs +4 -4
- package/esm2022/lib/components/carbon-list/CarbonListFilterPipe.directive.mjs +34 -0
- package/esm2022/lib/components/carbon-list/carbon-list.component.mjs +360 -0
- package/esm2022/lib/components/carbon-list/carbon-list.module.mjs +75 -0
- package/esm2022/lib/components/carbon-list/no-results/carbon-no-results.component.mjs +39 -0
- package/{esm2020 → esm2022}/lib/components/card/card.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/card/card.module.mjs +5 -5
- package/esm2022/lib/components/confirmation-modal/confirmation-modal.component.mjs +94 -0
- package/{esm2020 → esm2022}/lib/components/confirmation-modal/confirmation-modal.module.mjs +14 -14
- package/{esm2020 → esm2022}/lib/components/data-list/data-list.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/data-list/data-list.module.mjs +5 -5
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +160 -0
- package/esm2022/lib/components/date-picker/date-picker.module.mjs +40 -0
- package/esm2022/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.mjs +223 -0
- package/esm2022/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module.mjs +74 -0
- package/esm2022/lib/components/dropzone/dropzone.component.mjs +168 -0
- package/{esm2020 → esm2022}/lib/components/dropzone/dropzone.module.mjs +5 -5
- package/esm2022/lib/components/editor/editor.component.mjs +141 -0
- package/esm2022/lib/components/editor/editor.module.mjs +33 -0
- package/esm2022/lib/components/editor/editor.service.mjs +63 -0
- package/esm2022/lib/components/expansion-panel/expansion-panel.component.mjs +41 -0
- package/{esm2020 → esm2022}/lib/components/expansion-panel/expansion-panel.module.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/field-auto-focus/field-auto-focus.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/field-auto-focus/field-auto-focus.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/file-size/file-size.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/file-size/file-size.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/filter-sidebar/filter-sidebar.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/filter-sidebar/filter-sidebar.module.mjs +5 -5
- package/esm2022/lib/components/form/form.component.mjs +136 -0
- package/esm2022/lib/components/form/form.module.mjs +33 -0
- package/{esm2020 → esm2022}/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/form-io/form-io-builder.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/form-io/form-io-current-user/form-io-current-user.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/form-io/form-io-uploader/form-io-uploader.component.mjs +4 -4
- package/esm2022/lib/components/form-io/form-io.component.mjs +169 -0
- package/esm2022/lib/components/form-io/form-io.module.mjs +109 -0
- package/esm2022/lib/components/form-io/formio-config.mjs +27 -0
- package/{esm2020 → esm2022}/lib/components/form-io/services/form-io-dom.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/form-io/services/form-io-state.service.mjs +4 -4
- package/esm2022/lib/components/input/input.component.mjs +168 -0
- package/esm2022/lib/components/input/input.module.mjs +59 -0
- package/esm2022/lib/components/input-label/input-label.component.mjs +81 -0
- package/esm2022/lib/components/input-label/input-label.module.mjs +55 -0
- package/esm2022/lib/components/left-sidebar/left-sidebar.component.mjs +148 -0
- package/{esm2020 → esm2022}/lib/components/left-sidebar/left-sidebar.module.mjs +18 -18
- package/{esm2020 → esm2022}/lib/components/list/ListFilterPipe.directive.mjs +4 -4
- package/esm2022/lib/components/list/list.component.mjs +202 -0
- package/{esm2020 → esm2022}/lib/components/list/list.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/menu/menu-item-text.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/menu/menu-routing.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/menu/menu.module.mjs +17 -17
- package/esm2022/lib/components/menu/menu.service.mjs +258 -0
- package/{esm2020 → esm2022}/lib/components/modal/modal.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/modal/modal.module.mjs +5 -5
- package/esm2022/lib/components/multi-input/carbon-multi-input.component.mjs +217 -0
- package/esm2022/lib/components/multi-input/carbon-multi-input.module.mjs +64 -0
- package/esm2022/lib/components/multi-input-form/multi-input-form.component.mjs +190 -0
- package/esm2022/lib/components/multi-input-form/multi-input-form.module.mjs +55 -0
- package/{esm2020 → esm2022}/lib/components/multiselect-dropdown/multiselect-dropdown.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/multiselect-dropdown/multiselect-dropdown.module.mjs +5 -5
- package/esm2022/lib/components/page/page-container/page-container.component.mjs +29 -0
- package/esm2022/lib/components/page/page-content/page-content.component.mjs +29 -0
- package/esm2022/lib/components/page/page-header/page-header.component.mjs +29 -0
- package/esm2022/lib/components/page/page-header-actions/page-header-actions.component.mjs +29 -0
- package/esm2022/lib/components/page/page-header-introduction/page-header-introduction.component.mjs +29 -0
- package/esm2022/lib/components/page/page.module.mjs +60 -0
- package/{esm2020 → esm2022}/lib/components/page-header/page-header.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/page-header/page-header.module.mjs +5 -5
- package/esm2022/lib/components/page-title/page-title.component.mjs +105 -0
- package/{esm2020 → esm2022}/lib/components/page-title/page-title.module.mjs +5 -5
- package/esm2022/lib/components/page-title/page-title.service.mjs +107 -0
- package/esm2022/lib/components/paragraph/paragraph.component.mjs +48 -0
- package/esm2022/lib/components/paragraph/paragraph.module.mjs +37 -0
- package/esm2022/lib/components/pending-changes/pending-changes.component.mjs +49 -0
- package/{esm2020 → esm2022}/lib/components/progress-bar/progress-bar.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/progress-bar/progress-bar.module.mjs +5 -5
- package/esm2022/lib/components/prompt/prompt.component.mjs +74 -0
- package/esm2022/lib/components/prompt/prompt.module.mjs +39 -0
- package/esm2022/lib/components/radio/radio.component.mjs +116 -0
- package/esm2022/lib/components/radio/radio.module.mjs +55 -0
- package/esm2022/lib/components/right-sidebar/right-sidebar.component.mjs +203 -0
- package/esm2022/lib/components/right-sidebar/right-sidebar.module.mjs +95 -0
- package/esm2022/lib/components/search-fields/search-fields.component.mjs +221 -0
- package/esm2022/lib/components/search-fields/search-fields.module.mjs +75 -0
- package/{esm2020 → esm2022}/lib/components/searchable-dropdown/searchable-dropdown.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/searchable-dropdown/searchable-dropdown.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/searchable-dropdown-select/searchable-dropdown-select.module.mjs +5 -5
- package/esm2022/lib/components/select/select.component.mjs +194 -0
- package/esm2022/lib/components/select/select.module.mjs +37 -0
- package/{esm2020 → esm2022}/lib/components/spinner/spinner.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/spinner/spinner.module.mjs +5 -5
- package/esm2022/lib/components/stepper/stepper-container/stepper-container.component.mjs +91 -0
- package/esm2022/lib/components/stepper/stepper-content/stepper-content.component.mjs +52 -0
- package/esm2022/lib/components/stepper/stepper-footer/stepper-footer.component.mjs +43 -0
- package/esm2022/lib/components/stepper/stepper-footer-step/stepper-footer-step.component.mjs +71 -0
- package/esm2022/lib/components/stepper/stepper-header/stepper-header.component.mjs +37 -0
- package/esm2022/lib/components/stepper/stepper-step/stepper-step.component.mjs +39 -0
- package/esm2022/lib/components/stepper/stepper.module.mjs +67 -0
- package/esm2022/lib/components/table/table.component.mjs +172 -0
- package/esm2022/lib/components/table/table.module.mjs +58 -0
- package/esm2022/lib/components/timeline/timeline.component.mjs +42 -0
- package/{esm2020 → esm2022}/lib/components/timeline/timeline.module.mjs +5 -5
- package/esm2022/lib/components/title/title.component.mjs +57 -0
- package/esm2022/lib/components/title/title.module.mjs +36 -0
- package/esm2022/lib/components/tooltip-icon/tooltip-icon.component.mjs +39 -0
- package/esm2022/lib/components/tooltip-icon/tooltip-icon.module.mjs +39 -0
- package/{esm2020 → esm2022}/lib/components/topbar/topbar.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/topbar/topbar.module.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/uploader/uploader-drag-drop.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/uploader/uploader.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/uploader/uploader.module.mjs +5 -5
- package/esm2022/lib/components/v-card/card.component.mjs +80 -0
- package/esm2022/lib/components/v-card/card.module.mjs +38 -0
- package/esm2022/lib/components/v-modal/modal.component.mjs +71 -0
- package/esm2022/lib/components/v-modal/modal.module.mjs +37 -0
- package/{esm2020 → esm2022}/lib/components/version/version.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/view-content/view-content.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/webcam/webcam.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/webcam/webcam.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/widget/widget.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/widget/widget.module.mjs +5 -5
- package/esm2022/lib/directives/command-click/command-click-directive.module.mjs +33 -0
- package/esm2022/lib/directives/command-click/command-click.directive.mjs +52 -0
- package/esm2022/lib/directives/digit-only/digit-only.directive.mjs +283 -0
- package/esm2022/lib/directives/render-in-page-header/render-in-page-header-directive.module.mjs +33 -0
- package/esm2022/lib/directives/render-in-page-header/render-in-page-header.directive.mjs +43 -0
- package/esm2022/lib/directives/tooltip/tooltip.component.mjs +42 -0
- package/esm2022/lib/directives/tooltip/tooltip.directive.mjs +74 -0
- package/esm2022/lib/directives/tooltip/tooltip.module.mjs +35 -0
- package/esm2022/lib/directives/valtimo-cds-modal/valtimo-cds-modal-directive.module.mjs +33 -0
- package/esm2022/lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive.mjs +68 -0
- package/{esm2020/lib/models/pagination.model.mjs → esm2022/lib/guards/index.mjs} +2 -2
- package/esm2022/lib/guards/pending-changes.guard.mjs +2 -0
- package/esm2022/lib/models/button.model.mjs +17 -0
- package/esm2022/lib/models/carbon-list.model.mjs +21 -0
- package/esm2022/lib/models/carbon-pagination.model.mjs +21 -0
- package/esm2022/lib/models/editor.model.mjs +17 -0
- package/{esm2020/lib/models/list.model.mjs → esm2022/lib/models/form.model.mjs} +1 -1
- package/esm2022/lib/models/index.mjs +39 -0
- package/esm2022/lib/models/input.model.mjs +17 -0
- package/esm2022/lib/models/modal.model.mjs +17 -0
- package/{esm2020 → esm2022}/lib/models/multi-input.model.mjs +1 -1
- package/esm2022/lib/models/pagination.model.mjs +24 -0
- package/esm2022/lib/models/radio.model.mjs +17 -0
- package/esm2022/lib/models/select.model.mjs +17 -0
- package/esm2022/lib/models/sort.model.mjs +17 -0
- package/{esm2020/lib/components/form-io/formio-config.mjs → esm2022/lib/models/stepper.model.mjs} +2 -7
- package/esm2022/lib/models/table.model.mjs +17 -0
- package/esm2022/lib/models/timeline.model.mjs +52 -0
- package/esm2022/lib/models/title.model.mjs +17 -0
- package/{esm2020 → esm2022}/lib/pipes/case-count.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pipes/components-pipes.module.mjs +5 -5
- package/esm2022/lib/pipes/index.mjs +20 -0
- package/esm2022/lib/pipes/is-array.pipe.mjs +29 -0
- package/{esm2020 → esm2022}/lib/pipes/menu-item-translation.pipe.mjs +4 -4
- package/esm2022/lib/services/index.mjs +7 -0
- package/esm2022/lib/services/modal.service.mjs +128 -0
- package/esm2022/lib/services/prompt.service.mjs +205 -0
- package/esm2022/lib/services/shell.service.mjs +213 -0
- package/esm2022/lib/services/stepper.service.mjs +108 -0
- package/esm2022/lib/services/user-interface.service.mjs +47 -0
- package/{esm2020 → esm2022}/lib/services/valtimo-modal.service.mjs +4 -4
- package/esm2022/public_api.mjs +197 -0
- package/fesm2022/valtimo-components.mjs +12473 -0
- package/fesm2022/valtimo-components.mjs.map +1 -0
- package/lib/components/alert/alert.component.d.ts +1 -1
- package/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.d.ts +1 -1
- package/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.d.ts +1 -1
- package/lib/components/breadcrumb-navigation/breadcrumb.service.d.ts.map +1 -1
- package/lib/components/button/button.component.d.ts +30 -0
- package/lib/components/button/button.component.d.ts.map +1 -0
- package/lib/components/button/button.module.d.ts +13 -0
- package/lib/components/button/button.module.d.ts.map +1 -0
- package/lib/components/camunda/form/camunda-form.components.d.ts +1 -1
- package/lib/components/camunda/form/custom/camunda-custom-form.component.d.ts +1 -1
- package/lib/components/camunda/form/generated/camunda-generated-form.component.d.ts +1 -1
- package/lib/components/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.d.ts +1 -1
- package/lib/components/camunda/form/generated/formfield/camunda-formfield-generator.directive.d.ts +1 -1
- package/lib/components/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.d.ts +1 -1
- package/lib/components/camunda/form/generated/formfield/date/camunda-date-formfield.component.d.ts +1 -1
- package/lib/components/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.d.ts +1 -1
- package/lib/components/camunda/form/generated/formfield/long/camunda-long-formfield.component.d.ts +1 -1
- package/lib/components/camunda/form/generated/formfield/string/camunda-string-formfield.component.d.ts +1 -1
- package/lib/components/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.d.ts +1 -1
- package/lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.d.ts +1 -1
- package/lib/components/carbon-list/CarbonListFilterPipe.directive.d.ts +9 -0
- package/lib/components/carbon-list/CarbonListFilterPipe.directive.d.ts.map +1 -0
- package/lib/components/carbon-list/carbon-list.component.d.ts +86 -0
- package/lib/components/carbon-list/carbon-list.component.d.ts.map +1 -0
- package/lib/components/carbon-list/carbon-list.module.d.ts +16 -0
- package/lib/components/carbon-list/carbon-list.module.d.ts.map +1 -0
- package/lib/components/{carbon-table → carbon-list}/no-results/carbon-no-results.component.d.ts +1 -1
- package/lib/components/{carbon-table → carbon-list}/no-results/carbon-no-results.component.d.ts.map +1 -1
- package/lib/components/card/card.component.d.ts +1 -1
- package/lib/components/confirmation-modal/confirmation-modal.component.d.ts +2 -1
- package/lib/components/confirmation-modal/confirmation-modal.component.d.ts.map +1 -1
- package/lib/components/confirmation-modal/confirmation-modal.module.d.ts +1 -1
- package/lib/components/data-list/data-list.component.d.ts +1 -1
- package/lib/components/date-picker/date-picker.component.d.ts +44 -0
- package/lib/components/date-picker/date-picker.component.d.ts.map +1 -0
- package/lib/components/date-picker/date-picker.module.d.ts +16 -0
- package/lib/components/date-picker/date-picker.module.d.ts.map +1 -0
- package/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.d.ts +5 -3
- package/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.d.ts.map +1 -1
- package/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module.d.ts +9 -2
- package/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module.d.ts.map +1 -1
- package/lib/components/dropzone/dropzone.component.d.ts +6 -3
- package/lib/components/dropzone/dropzone.component.d.ts.map +1 -1
- package/lib/components/editor/editor.component.d.ts +38 -0
- package/lib/components/editor/editor.component.d.ts.map +1 -0
- package/lib/components/editor/editor.module.d.ts +9 -0
- package/lib/components/editor/editor.module.d.ts.map +1 -0
- package/lib/components/editor/editor.service.d.ts +12 -0
- package/lib/components/editor/editor.service.d.ts.map +1 -0
- package/lib/components/expansion-panel/expansion-panel.component.d.ts +1 -1
- package/lib/components/field-auto-focus/field-auto-focus.directive.d.ts +1 -1
- package/lib/components/filter-sidebar/filter-sidebar.component.d.ts +1 -1
- package/lib/components/form/form.component.d.ts +31 -0
- package/lib/components/form/form.component.d.ts.map +1 -0
- package/lib/components/form/form.module.d.ts +9 -0
- package/lib/components/form/form.module.d.ts.map +1 -0
- package/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.component.d.ts +1 -1
- package/lib/components/form-io/form-io-builder.component.d.ts +1 -1
- package/lib/components/form-io/form-io-current-user/form-io-current-user.component.d.ts +1 -1
- package/lib/components/form-io/form-io-uploader/form-io-uploader.component.d.ts +1 -1
- package/lib/components/form-io/form-io.component.d.ts +13 -15
- package/lib/components/form-io/form-io.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io.module.d.ts.map +1 -1
- package/lib/components/form-io/formio-config.d.ts +3 -1
- package/lib/components/form-io/formio-config.d.ts.map +1 -1
- package/lib/components/input/input.component.d.ts +52 -0
- package/lib/components/input/input.component.d.ts.map +1 -0
- package/lib/components/input/input.module.d.ts +15 -0
- package/lib/components/input/input.module.d.ts.map +1 -0
- package/lib/components/input-label/input-label.component.d.ts +23 -0
- package/lib/components/input-label/input-label.component.d.ts.map +1 -0
- package/lib/components/input-label/input-label.module.d.ts +14 -0
- package/lib/components/input-label/input-label.module.d.ts.map +1 -0
- package/lib/components/left-sidebar/left-sidebar.component.d.ts +1 -1
- package/lib/components/left-sidebar/left-sidebar.module.d.ts +1 -1
- package/lib/components/list/list.component.d.ts +4 -1
- package/lib/components/list/list.component.d.ts.map +1 -1
- package/lib/components/menu/menu-item-text.component.d.ts +1 -1
- package/lib/components/menu/menu.service.d.ts.map +1 -1
- package/lib/components/modal/modal.component.d.ts +1 -1
- package/lib/components/multi-input/carbon-multi-input.component.d.ts +1 -1
- package/lib/components/multi-input/carbon-multi-input.module.d.ts +6 -4
- package/lib/components/multi-input/carbon-multi-input.module.d.ts.map +1 -1
- package/lib/components/multi-input-form/multi-input-form.component.d.ts +45 -0
- package/lib/components/multi-input-form/multi-input-form.component.d.ts.map +1 -0
- package/lib/components/multi-input-form/multi-input-form.module.d.ts +14 -0
- package/lib/components/multi-input-form/multi-input-form.module.d.ts.map +1 -0
- package/lib/components/multiselect-dropdown/multiselect-dropdown.component.d.ts +1 -1
- package/lib/components/page/page-container/page-container.component.d.ts +9 -0
- package/lib/components/page/page-container/page-container.component.d.ts.map +1 -0
- package/lib/components/page/page-content/page-content.component.d.ts +9 -0
- package/lib/components/page/page-content/page-content.component.d.ts.map +1 -0
- package/lib/components/page/page-header/page-header.component.d.ts +9 -0
- package/lib/components/page/page-header/page-header.component.d.ts.map +1 -0
- package/lib/components/page/page-header-actions/page-header-actions.component.d.ts +9 -0
- package/lib/components/page/page-header-actions/page-header-actions.component.d.ts.map +1 -0
- package/lib/components/page/page-header-introduction/page-header-introduction.component.d.ts +9 -0
- package/lib/components/page/page-header-introduction/page-header-introduction.component.d.ts.map +1 -0
- package/lib/components/page/page.module.d.ts +16 -0
- package/lib/components/page/page.module.d.ts.map +1 -0
- package/lib/components/page-header/page-header.component.d.ts +2 -2
- package/lib/components/page-header/page-header.component.d.ts.map +1 -1
- package/lib/components/page-title/page-title.component.d.ts +4 -4
- package/lib/components/page-title/page-title.component.d.ts.map +1 -1
- package/lib/components/page-title/page-title.service.d.ts.map +1 -1
- package/lib/components/paragraph/paragraph.component.d.ts +14 -0
- package/lib/components/paragraph/paragraph.component.d.ts.map +1 -0
- package/lib/components/paragraph/paragraph.module.d.ts +13 -0
- package/lib/components/paragraph/paragraph.module.d.ts.map +1 -0
- package/lib/components/pending-changes/pending-changes.component.d.ts +15 -0
- package/lib/components/pending-changes/pending-changes.component.d.ts.map +1 -0
- package/lib/components/progress-bar/progress-bar.component.d.ts +1 -1
- package/lib/components/prompt/prompt.component.d.ts +35 -0
- package/lib/components/prompt/prompt.component.d.ts.map +1 -0
- package/lib/components/prompt/prompt.module.d.ts +15 -0
- package/lib/components/prompt/prompt.module.d.ts.map +1 -0
- package/lib/components/radio/radio.component.d.ts +36 -0
- package/lib/components/radio/radio.component.d.ts.map +1 -0
- package/lib/components/radio/radio.module.d.ts +14 -0
- package/lib/components/radio/radio.module.d.ts.map +1 -0
- package/lib/components/right-sidebar/right-sidebar.component.d.ts +2 -7
- package/lib/components/right-sidebar/right-sidebar.component.d.ts.map +1 -1
- package/lib/components/search-fields/search-fields.component.d.ts +3 -2
- package/lib/components/search-fields/search-fields.component.d.ts.map +1 -1
- package/lib/components/search-fields/search-fields.module.d.ts +8 -2
- package/lib/components/search-fields/search-fields.module.d.ts.map +1 -1
- package/lib/components/searchable-dropdown/searchable-dropdown.component.d.ts +1 -1
- package/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.d.ts +1 -1
- package/lib/components/select/select.component.d.ts +50 -0
- package/lib/components/select/select.component.d.ts.map +1 -0
- package/lib/components/select/select.module.d.ts +13 -0
- package/lib/components/select/select.module.d.ts.map +1 -0
- package/lib/components/spinner/spinner.component.d.ts +1 -1
- package/lib/components/stepper/stepper-container/stepper-container.component.d.ts +29 -0
- package/lib/components/stepper/stepper-container/stepper-container.component.d.ts.map +1 -0
- package/lib/components/stepper/stepper-content/stepper-content.component.d.ts +18 -0
- package/lib/components/stepper/stepper-content/stepper-content.component.d.ts.map +1 -0
- package/lib/components/stepper/stepper-footer/stepper-footer.component.d.ts +14 -0
- package/lib/components/stepper/stepper-footer/stepper-footer.component.d.ts.map +1 -0
- package/lib/components/stepper/stepper-footer-step/stepper-footer-step.component.d.ts +27 -0
- package/lib/components/stepper/stepper-footer-step/stepper-footer-step.component.d.ts.map +1 -0
- package/lib/components/stepper/stepper-header/stepper-header.component.d.ts +16 -0
- package/lib/components/stepper/stepper-header/stepper-header.component.d.ts.map +1 -0
- package/lib/components/stepper/stepper-step/stepper-step.component.d.ts +16 -0
- package/lib/components/stepper/stepper-step/stepper-step.component.d.ts.map +1 -0
- package/lib/components/stepper/stepper.module.d.ts +19 -0
- package/lib/components/stepper/stepper.module.d.ts.map +1 -0
- package/lib/components/table/table.component.d.ts +52 -0
- package/lib/components/table/table.component.d.ts.map +1 -0
- package/lib/components/table/table.module.d.ts +17 -0
- package/lib/components/table/table.module.d.ts.map +1 -0
- package/lib/components/timeline/timeline.component.d.ts +2 -1
- package/lib/components/timeline/timeline.component.d.ts.map +1 -1
- package/lib/components/title/title.component.d.ts +19 -0
- package/lib/components/title/title.component.d.ts.map +1 -0
- package/lib/components/title/title.module.d.ts +12 -0
- package/lib/components/title/title.module.d.ts.map +1 -0
- package/lib/components/tooltip-icon/tooltip-icon.component.d.ts +11 -0
- package/lib/components/tooltip-icon/tooltip-icon.component.d.ts.map +1 -0
- package/lib/components/tooltip-icon/tooltip-icon.module.d.ts +15 -0
- package/lib/components/tooltip-icon/tooltip-icon.module.d.ts.map +1 -0
- package/lib/components/topbar/topbar.component.d.ts +1 -1
- package/lib/components/topbar/topbar.module.d.ts +1 -1
- package/lib/components/uploader/uploader-drag-drop.directive.d.ts +1 -1
- package/lib/components/uploader/uploader.component.d.ts +1 -1
- package/lib/components/v-card/card.component.d.ts +23 -0
- package/lib/components/v-card/card.component.d.ts.map +1 -0
- package/lib/components/v-card/card.module.d.ts +14 -0
- package/lib/components/v-card/card.module.d.ts.map +1 -0
- package/lib/components/v-modal/modal.component.d.ts +29 -0
- package/lib/components/v-modal/modal.component.d.ts.map +1 -0
- package/lib/components/v-modal/modal.module.d.ts +13 -0
- package/lib/components/v-modal/modal.module.d.ts.map +1 -0
- package/lib/components/version/version.service.d.ts.map +1 -1
- package/lib/components/webcam/webcam.component.d.ts +1 -1
- package/lib/components/widget/widget.component.d.ts +1 -1
- package/lib/directives/command-click/command-click-directive.module.d.ts.map +1 -0
- package/lib/directives/{command-click.directive.d.ts → command-click/command-click.directive.d.ts} +1 -1
- package/lib/directives/command-click/command-click.directive.d.ts.map +1 -0
- package/lib/directives/digit-only/digit-only.directive.d.ts +35 -0
- package/lib/directives/digit-only/digit-only.directive.d.ts.map +1 -0
- package/lib/directives/render-in-page-header/render-in-page-header-directive.module.d.ts.map +1 -0
- package/lib/directives/{render-in-page-header.directive.d.ts → render-in-page-header/render-in-page-header.directive.d.ts} +2 -2
- package/lib/directives/render-in-page-header/render-in-page-header.directive.d.ts.map +1 -0
- package/lib/directives/tooltip/tooltip.component.d.ts +7 -0
- package/lib/directives/tooltip/tooltip.component.d.ts.map +1 -0
- package/lib/directives/tooltip/tooltip.directive.d.ts +19 -0
- package/lib/directives/tooltip/tooltip.directive.d.ts.map +1 -0
- package/lib/directives/tooltip/tooltip.module.d.ts +11 -0
- package/lib/directives/tooltip/tooltip.module.d.ts.map +1 -0
- package/lib/directives/valtimo-cds-modal/valtimo-cds-modal-directive.module.d.ts.map +1 -0
- package/lib/directives/{valtimo-cds-modal.directive.d.ts → valtimo-cds-modal/valtimo-cds-modal.directive.d.ts} +1 -1
- package/lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive.d.ts.map +1 -0
- package/lib/guards/index.d.ts +2 -0
- package/lib/guards/index.d.ts.map +1 -0
- package/lib/guards/pending-changes.guard.d.ts +4 -0
- package/lib/guards/pending-changes.guard.d.ts.map +1 -0
- package/lib/models/button.model.d.ts +3 -0
- package/lib/models/button.model.d.ts.map +1 -0
- package/lib/models/carbon-list.model.d.ts +54 -0
- package/lib/models/carbon-list.model.d.ts.map +1 -0
- package/lib/models/carbon-pagination.model.d.ts +6 -5
- package/lib/models/carbon-pagination.model.d.ts.map +1 -1
- package/lib/models/documenten-api-metadata.model.d.ts +4 -4
- package/lib/models/documenten-api-metadata.model.d.ts.map +1 -1
- package/lib/models/editor.model.d.ts +11 -0
- package/lib/models/editor.model.d.ts.map +1 -0
- package/lib/models/form.model.d.ts +5 -0
- package/lib/models/form.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +14 -2
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/input.model.d.ts +3 -0
- package/lib/models/input.model.d.ts.map +1 -0
- package/lib/models/modal.model.d.ts +3 -0
- package/lib/models/modal.model.d.ts.map +1 -0
- package/lib/models/multi-input.model.d.ts +5 -5
- package/lib/models/multi-input.model.d.ts.map +1 -1
- package/lib/models/pagination.model.d.ts +5 -3
- package/lib/models/pagination.model.d.ts.map +1 -1
- package/lib/models/radio.model.d.ts +8 -0
- package/lib/models/radio.model.d.ts.map +1 -0
- package/lib/models/searchable-dropdown.model.d.ts +1 -1
- package/lib/models/searchable-dropdown.model.d.ts.map +1 -1
- package/lib/models/select.model.d.ts +9 -0
- package/lib/models/select.model.d.ts.map +1 -0
- package/lib/models/sort.model.d.ts +11 -0
- package/lib/models/sort.model.d.ts.map +1 -0
- package/lib/models/stepper.model.d.ts +8 -0
- package/lib/models/stepper.model.d.ts.map +1 -0
- package/lib/models/table.model.d.ts +14 -0
- package/lib/models/table.model.d.ts.map +1 -0
- package/lib/models/timeline.model.d.ts +4 -1
- package/lib/models/timeline.model.d.ts.map +1 -1
- package/lib/models/title.model.d.ts +3 -0
- package/lib/models/title.model.d.ts.map +1 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/index.d.ts.map +1 -1
- package/lib/pipes/is-array.pipe.d.ts +8 -0
- package/lib/pipes/is-array.pipe.d.ts.map +1 -0
- package/lib/services/index.d.ts +7 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/modal.service.d.ts +37 -0
- package/lib/services/modal.service.d.ts.map +1 -0
- package/lib/services/prompt.service.d.ts +68 -0
- package/lib/services/prompt.service.d.ts.map +1 -0
- package/lib/services/shell.service.d.ts +3 -0
- package/lib/services/shell.service.d.ts.map +1 -1
- package/lib/services/stepper.service.d.ts +32 -0
- package/lib/services/stepper.service.d.ts.map +1 -0
- package/lib/services/user-interface.service.d.ts +11 -0
- package/lib/services/user-interface.service.d.ts.map +1 -0
- package/package.json +30 -31
- package/public_api.d.ts +62 -7
- package/public_api.d.ts.map +1 -1
- package/esm2020/lib/components/breadcrumb-navigation/breadcrumb.service.mjs +0 -103
- package/esm2020/lib/components/carbon-table/carbon-table.component.mjs +0 -178
- package/esm2020/lib/components/carbon-table/carbon-table.module.mjs +0 -53
- package/esm2020/lib/components/carbon-table/no-results/carbon-no-results.component.mjs +0 -24
- package/esm2020/lib/components/components.module.mjs +0 -26
- package/esm2020/lib/components/confirmation-modal/confirmation-modal.component.mjs +0 -90
- package/esm2020/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.mjs +0 -215
- package/esm2020/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module.mjs +0 -67
- package/esm2020/lib/components/dropzone/dropzone.component.mjs +0 -155
- package/esm2020/lib/components/expansion-panel/expansion-panel.component.mjs +0 -41
- package/esm2020/lib/components/form-io/form-io.component.mjs +0 -180
- package/esm2020/lib/components/form-io/form-io.module.mjs +0 -94
- package/esm2020/lib/components/left-sidebar/left-sidebar.component.mjs +0 -148
- package/esm2020/lib/components/list/list.component.mjs +0 -199
- package/esm2020/lib/components/menu/menu.service.mjs +0 -245
- package/esm2020/lib/components/multi-input/carbon-multi-input.component.mjs +0 -216
- package/esm2020/lib/components/multi-input/carbon-multi-input.module.mjs +0 -62
- package/esm2020/lib/components/page-title/page-title.component.mjs +0 -106
- package/esm2020/lib/components/page-title/page-title.service.mjs +0 -92
- package/esm2020/lib/components/right-sidebar/right-sidebar.component.mjs +0 -211
- package/esm2020/lib/components/right-sidebar/right-sidebar.module.mjs +0 -95
- package/esm2020/lib/components/search-fields/search-fields.component.mjs +0 -213
- package/esm2020/lib/components/search-fields/search-fields.module.mjs +0 -69
- package/esm2020/lib/components/timeline/timeline.component.mjs +0 -32
- package/esm2020/lib/directives/command-click-directive.module.mjs +0 -18
- package/esm2020/lib/directives/command-click.directive.mjs +0 -37
- package/esm2020/lib/directives/index.mjs +0 -22
- package/esm2020/lib/directives/render-in-page-header-directive.module.mjs +0 -18
- package/esm2020/lib/directives/render-in-page-header.directive.mjs +0 -27
- package/esm2020/lib/directives/valtimo-cds-modal-directive.module.mjs +0 -33
- package/esm2020/lib/directives/valtimo-cds-modal.directive.mjs +0 -68
- package/esm2020/lib/models/carbon-pagination.model.mjs +0 -9
- package/esm2020/lib/models/carbon-table.model.mjs +0 -21
- package/esm2020/lib/models/index.mjs +0 -27
- package/esm2020/lib/models/timeline.model.mjs +0 -48
- package/esm2020/lib/pipes/index.mjs +0 -19
- package/esm2020/lib/services/shell.service.mjs +0 -206
- package/esm2020/public_api.mjs +0 -113
- package/fesm2015/valtimo-components.mjs +0 -7945
- package/fesm2015/valtimo-components.mjs.map +0 -1
- package/fesm2020/valtimo-components.mjs +0 -8060
- package/fesm2020/valtimo-components.mjs.map +0 -1
- package/lib/components/carbon-table/carbon-table.component.d.ts +0 -49
- package/lib/components/carbon-table/carbon-table.component.d.ts.map +0 -1
- package/lib/components/carbon-table/carbon-table.module.d.ts +0 -12
- package/lib/components/carbon-table/carbon-table.module.d.ts.map +0 -1
- package/lib/components/components.module.d.ts +0 -7
- package/lib/components/components.module.d.ts.map +0 -1
- package/lib/directives/command-click-directive.module.d.ts.map +0 -1
- package/lib/directives/command-click.directive.d.ts.map +0 -1
- package/lib/directives/index.d.ts +0 -7
- package/lib/directives/index.d.ts.map +0 -1
- package/lib/directives/render-in-page-header-directive.module.d.ts.map +0 -1
- package/lib/directives/render-in-page-header.directive.d.ts.map +0 -1
- package/lib/directives/valtimo-cds-modal-directive.module.d.ts.map +0 -1
- package/lib/directives/valtimo-cds-modal.directive.d.ts.map +0 -1
- package/lib/models/carbon-table.model.d.ts +0 -33
- package/lib/models/carbon-table.model.d.ts.map +0 -1
- package/lib/models/list.model.d.ts +0 -9
- package/lib/models/list.model.d.ts.map +0 -1
- /package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/formfield.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/camunda/form/generated/formfield/validation/date.validators.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/form-io/documenten-api-uploader/documenten-api-uploader-edit-form.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.formio.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/form-io/form-io-current-user/form-io-current-user-edit-form.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/form-io/form-io-current-user/form-io-current-user.formio.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/form-io/form-io-resource-selector/form-io-resource-selector.formio.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/form-io/form-io-uploader/form-io-uploader-edit-form.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/form-io/form-io-uploader/form-io-uploader.formio.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/menu/menu.init.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/view-content/type-converters/booleanTypeConverter.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/view-content/type-converters/dateTypeConverter.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/view-content/type-converters/enumTypeConverter.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/view-content/type-converters/relatedFilesTypeConverter.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/view-content/type-converters/stringTypeConverter.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/view-content/type-converters/type-converters.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/constants/carbon.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/alert.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/documenten-api-metadata.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/form-io.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/searchable-dropdown.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/version.model.mjs +0 -0
- /package/{esm2020 → esm2022}/valtimo-components.mjs +0 -0
- /package/lib/directives/{command-click-directive.module.d.ts → command-click/command-click-directive.module.d.ts} +0 -0
- /package/lib/directives/{render-in-page-header-directive.module.d.ts → render-in-page-header/render-in-page-header-directive.module.d.ts} +0 -0
- /package/lib/directives/{valtimo-cds-modal-directive.module.d.ts → valtimo-cds-modal/valtimo-cds-modal-directive.module.d.ts} +0 -0
|
@@ -22,10 +22,10 @@ import * as i1 from "@angular/common";
|
|
|
22
22
|
export class CardComponent {
|
|
23
23
|
constructor() { }
|
|
24
24
|
ngOnInit() { }
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CardComponent, selector: "valtimo-card", inputs: { title: "title", subtitle: "subtitle" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"card card-border-color card-border-color-primary\">\n <div *ngIf=\"title || subtitle\" class=\"card-header card-header-divider\">\n <span *ngIf=\"title\">{{ title }}</span>\n <span *ngIf=\"subtitle\" class=\"card-subtitle\">{{ subtitle }}</span>\n </div>\n <div class=\"card-body\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
25
27
|
}
|
|
26
|
-
|
|
27
|
-
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CardComponent, selector: "valtimo-card", inputs: { title: "title", subtitle: "subtitle" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"card card-border-color card-border-color-primary\">\n <div *ngIf=\"title || subtitle\" class=\"card-header card-header-divider\">\n <span *ngIf=\"title\">{{ title }}</span>\n <span *ngIf=\"subtitle\" class=\"card-subtitle\">{{ subtitle }}</span>\n </div>\n <div class=\"card-body\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CardComponent, decorators: [{
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
30
|
args: [{ selector: 'valtimo-card', template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"card card-border-color card-border-color-primary\">\n <div *ngIf=\"title || subtitle\" class=\"card-header card-header-divider\">\n <span *ngIf=\"title\">{{ title }}</span>\n <span *ngIf=\"subtitle\" class=\"card-subtitle\">{{ subtitle }}</span>\n </div>\n <div class=\"card-body\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
31
31
|
}], ctorParameters: function () { return []; }, propDecorators: { title: [{
|
|
@@ -33,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
33
33
|
}], subtitle: [{
|
|
34
34
|
type: Input
|
|
35
35
|
}] } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmQvY2FyZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmQvY2FyZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFTLE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|
|
@@ -18,11 +18,11 @@ import { CommonModule } from '@angular/common';
|
|
|
18
18
|
import { CardComponent } from './card.component';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export class CardModule {
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
22
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CardModule, declarations: [CardComponent], imports: [CommonModule], exports: [CardComponent] }); }
|
|
23
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardModule, imports: [CommonModule] }); }
|
|
21
24
|
}
|
|
22
|
-
|
|
23
|
-
CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CardModule, declarations: [CardComponent], imports: [CommonModule], exports: [CardComponent] });
|
|
24
|
-
CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CardModule, imports: [CommonModule] });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CardModule, decorators: [{
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardModule, decorators: [{
|
|
26
26
|
type: NgModule,
|
|
27
27
|
args: [{
|
|
28
28
|
declarations: [CardComponent],
|
|
@@ -30,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
30
30
|
exports: [CardComponent],
|
|
31
31
|
}]
|
|
32
32
|
}] });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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4gKlxuICogaHR0cHM6Ly9qb2ludXAuZWMuZXVyb3BhLmV1L2NvbGxlY3Rpb24vZXVwbC9ldXBsLXRleHQtZXVwbC0xMlxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBiYXNpcyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0NvbW1vbk1vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7Q2FyZENvbXBvbmVudH0gZnJvbSAnLi9jYXJkLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0NhcmRDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgZXhwb3J0czogW0NhcmRDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBDYXJkTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
17
|
+
import { ModalButtonType } from 'carbon-components-angular';
|
|
18
|
+
import { BehaviorSubject } from 'rxjs';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
import * as i1 from "@angular/common";
|
|
21
|
+
import * as i2 from "carbon-components-angular";
|
|
22
|
+
import * as i3 from "../../directives/valtimo-cds-modal/valtimo-cds-modal.directive";
|
|
23
|
+
import * as i4 from "@ngx-translate/core";
|
|
24
|
+
export class ConfirmationModalComponent {
|
|
25
|
+
constructor() {
|
|
26
|
+
this.titleTranslationKey = '';
|
|
27
|
+
this.title = '';
|
|
28
|
+
this.content = '';
|
|
29
|
+
this.contentTranslationKey = '';
|
|
30
|
+
this.confirmButtonText = '';
|
|
31
|
+
this.confirmButtonTextTranslationKey = '';
|
|
32
|
+
this.confirmButtonType = ModalButtonType.primary;
|
|
33
|
+
this.cancelButtonText = '';
|
|
34
|
+
this.cancelButtonTextTranslationKey = '';
|
|
35
|
+
this.cancelButtonType = ModalButtonType.secondary;
|
|
36
|
+
this.outputOnConfirm = {};
|
|
37
|
+
this.confirmEvent = new EventEmitter();
|
|
38
|
+
this.cancelEvent = new EventEmitter();
|
|
39
|
+
this.modalOpen$ = new BehaviorSubject(false);
|
|
40
|
+
}
|
|
41
|
+
closeModal() {
|
|
42
|
+
this.modalOpen$.next(false);
|
|
43
|
+
this.cancelEvent.emit();
|
|
44
|
+
}
|
|
45
|
+
confirm() {
|
|
46
|
+
this.modalOpen$.next(false);
|
|
47
|
+
this.confirmEvent.emit(this.outputOnConfirm);
|
|
48
|
+
}
|
|
49
|
+
ngOnInit() {
|
|
50
|
+
if (this.showModalSubject$) {
|
|
51
|
+
this.showModalSubscription = this.showModalSubject$.subscribe(showModal => {
|
|
52
|
+
this.modalOpen$.next(showModal);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
ngOnDestroy() {
|
|
57
|
+
this.showModalSubscription?.unsubscribe();
|
|
58
|
+
}
|
|
59
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfirmationModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
60
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ConfirmationModalComponent, selector: "valtimo-confirmation-modal", inputs: { titleTranslationKey: "titleTranslationKey", title: "title", content: "content", contentTranslationKey: "contentTranslationKey", confirmButtonText: "confirmButtonText", confirmButtonTextTranslationKey: "confirmButtonTextTranslationKey", confirmButtonType: "confirmButtonType", cancelButtonText: "cancelButtonText", cancelButtonTextTranslationKey: "cancelButtonTextTranslationKey", cancelButtonType: "cancelButtonType", showModalSubject$: "showModalSubject$", outputOnConfirm: "outputOnConfirm" }, outputs: { confirmEvent: "confirmEvent", cancelEvent: "cancelEvent" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<cds-modal\n valtimoCdsModal\n [open]=\"modalOpen$ | async\"\n *ngIf=\"{\n deleteTranslation: 'interface.delete' | translate,\n deleteConfirmationTranslation: 'interface.deleteConfirmation' | translate,\n cancelTranslation: 'interface.cancel' | translate,\n titleTranslation: titleTranslationKey | translate,\n contentTranslation: contentTranslationKey | translate,\n confirmButtonTranslation: confirmButtonTextTranslationKey | translate,\n cancelButtonTranslation: cancelButtonTextTranslationKey | translate\n } as obs\"\n>\n <cds-modal-header [showCloseButton]=\"true\" (closeSelect)=\"closeModal()\">\n <h3 cdsModalHeaderHeading>\n {{\n (titleTranslationKey !== obs.titleTranslation ? obs.titleTranslation : '') ||\n title ||\n obs.deleteTranslation\n }}\n </h3>\n </cds-modal-header>\n <section cdsModalContent>\n {{\n (contentTranslationKey !== obs.contentTranslation ? obs.contentTranslation : '') ||\n content ||\n obs.deleteConfirmationTranslation\n }}\n </section>\n <cds-modal-footer>\n <ng-container>\n <button\n [attr.modal-primary-focus]=\"true\"\n [cdsButton]=\"cancelButtonType\"\n (click)=\"closeModal()\"\n >\n {{\n (cancelButtonTextTranslationKey !== obs.cancelButtonTranslation\n ? obs.cancelButtonTranslation\n : '') ||\n cancelButtonText ||\n obs.cancelTranslation\n }}\n </button>\n <button [attr.modal-primary-focus]=\"true\" [cdsButton]=\"confirmButtonType\" (click)=\"confirm()\">\n {{\n (confirmButtonTextTranslationKey !== obs.confirmButtonTranslation\n ? obs.confirmButtonTranslation\n : '') ||\n confirmButtonText ||\n obs.deleteTranslation\n }}\n </button>\n </ng-container>\n </cds-modal-footer>\n</cds-modal>\n", styles: ["/*!\n * Copyright 2015-2023 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.Modal, selector: "cds-modal, ibm-modal", inputs: ["size", "theme", "ariaLabel", "open", "trigger", "hasScrollingContent"], outputs: ["overlaySelected", "close"] }, { kind: "component", type: i2.ModalHeader, selector: "cds-modal-header, ibm-modal-header", inputs: ["theme", "closeLabel", "showCloseButton"], outputs: ["closeSelect"] }, { kind: "component", type: i2.ModalFooter, selector: "cds-modal-footer, ibm-modal-footer" }, { kind: "directive", type: i2.ModalContent, selector: "[cdsModalContent], [ibmModalContent]", inputs: ["hasForm"] }, { kind: "directive", type: i2.ModalHeaderHeading, selector: "[cdsModalHeaderHeading], [ibmModalHeaderHeading]" }, { kind: "directive", type: i2.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i3.ValtimoCdsModalDirective, selector: "[valtimoCdsModal]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] }); }
|
|
61
|
+
}
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfirmationModalComponent, decorators: [{
|
|
63
|
+
type: Component,
|
|
64
|
+
args: [{ selector: 'valtimo-confirmation-modal', template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<cds-modal\n valtimoCdsModal\n [open]=\"modalOpen$ | async\"\n *ngIf=\"{\n deleteTranslation: 'interface.delete' | translate,\n deleteConfirmationTranslation: 'interface.deleteConfirmation' | translate,\n cancelTranslation: 'interface.cancel' | translate,\n titleTranslation: titleTranslationKey | translate,\n contentTranslation: contentTranslationKey | translate,\n confirmButtonTranslation: confirmButtonTextTranslationKey | translate,\n cancelButtonTranslation: cancelButtonTextTranslationKey | translate\n } as obs\"\n>\n <cds-modal-header [showCloseButton]=\"true\" (closeSelect)=\"closeModal()\">\n <h3 cdsModalHeaderHeading>\n {{\n (titleTranslationKey !== obs.titleTranslation ? obs.titleTranslation : '') ||\n title ||\n obs.deleteTranslation\n }}\n </h3>\n </cds-modal-header>\n <section cdsModalContent>\n {{\n (contentTranslationKey !== obs.contentTranslation ? obs.contentTranslation : '') ||\n content ||\n obs.deleteConfirmationTranslation\n }}\n </section>\n <cds-modal-footer>\n <ng-container>\n <button\n [attr.modal-primary-focus]=\"true\"\n [cdsButton]=\"cancelButtonType\"\n (click)=\"closeModal()\"\n >\n {{\n (cancelButtonTextTranslationKey !== obs.cancelButtonTranslation\n ? obs.cancelButtonTranslation\n : '') ||\n cancelButtonText ||\n obs.cancelTranslation\n }}\n </button>\n <button [attr.modal-primary-focus]=\"true\" [cdsButton]=\"confirmButtonType\" (click)=\"confirm()\">\n {{\n (confirmButtonTextTranslationKey !== obs.confirmButtonTranslation\n ? obs.confirmButtonTranslation\n : '') ||\n confirmButtonText ||\n obs.deleteTranslation\n }}\n </button>\n </ng-container>\n </cds-modal-footer>\n</cds-modal>\n", styles: ["/*!\n * Copyright 2015-2023 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
|
|
65
|
+
}], propDecorators: { titleTranslationKey: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], title: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], content: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], contentTranslationKey: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], confirmButtonText: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], confirmButtonTextTranslationKey: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], confirmButtonType: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], cancelButtonText: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], cancelButtonTextTranslationKey: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], cancelButtonType: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], showModalSubject$: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], outputOnConfirm: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], confirmEvent: [{
|
|
90
|
+
type: Output
|
|
91
|
+
}], cancelEvent: [{
|
|
92
|
+
type: Output
|
|
93
|
+
}] } });
|
|
94
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLW1vZGFsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY29uZmlybWF0aW9uLW1vZGFsL2NvbmZpcm1hdGlvbi1tb2RhbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbX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MuY29uZmlybUJ1dHRvblRyYW5zbGF0aW9uXG4gICAgICAgICAgICA6ICcnKSB8fFxuICAgICAgICAgICAgY29uZmlybUJ1dHRvblRleHQgfHxcbiAgICAgICAgICAgIG9icy5kZWxldGVUcmFuc2xhdGlvblxuICAgICAgICB9fVxuICAgICAgPC9idXR0b24+XG4gICAgPC9uZy1jb250YWluZXI+XG4gIDwvY2RzLW1vZGFsLWZvb3Rlcj5cbjwvY2RzLW1vZGFsPlxuIl19
|
|
@@ -18,22 +18,22 @@ import { CommonModule } from '@angular/common';
|
|
|
18
18
|
import { ConfirmationModalComponent } from './confirmation-modal.component';
|
|
19
19
|
import { ButtonModule, ModalModule } from 'carbon-components-angular';
|
|
20
20
|
import { TranslateModule } from '@ngx-translate/core';
|
|
21
|
-
import { ValtimoCdsModalDirectiveModule } from '../../directives';
|
|
21
|
+
import { ValtimoCdsModalDirectiveModule } from '../../directives/valtimo-cds-modal/valtimo-cds-modal-directive.module';
|
|
22
22
|
import * as i0 from "@angular/core";
|
|
23
23
|
export class ConfirmationModalModule {
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfirmationModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
25
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ConfirmationModalModule, declarations: [ConfirmationModalComponent], imports: [CommonModule,
|
|
26
|
+
ModalModule,
|
|
27
|
+
TranslateModule,
|
|
28
|
+
ButtonModule,
|
|
29
|
+
ValtimoCdsModalDirectiveModule], exports: [ConfirmationModalComponent] }); }
|
|
30
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfirmationModalModule, imports: [CommonModule,
|
|
31
|
+
ModalModule,
|
|
32
|
+
TranslateModule,
|
|
33
|
+
ButtonModule,
|
|
34
|
+
ValtimoCdsModalDirectiveModule] }); }
|
|
24
35
|
}
|
|
25
|
-
|
|
26
|
-
ConfirmationModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ConfirmationModalModule, declarations: [ConfirmationModalComponent], imports: [CommonModule,
|
|
27
|
-
ModalModule,
|
|
28
|
-
TranslateModule,
|
|
29
|
-
ButtonModule,
|
|
30
|
-
ValtimoCdsModalDirectiveModule], exports: [ConfirmationModalComponent] });
|
|
31
|
-
ConfirmationModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConfirmationModalModule, imports: [CommonModule,
|
|
32
|
-
ModalModule,
|
|
33
|
-
TranslateModule,
|
|
34
|
-
ButtonModule,
|
|
35
|
-
ValtimoCdsModalDirectiveModule] });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConfirmationModalModule, decorators: [{
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfirmationModalModule, decorators: [{
|
|
37
37
|
type: NgModule,
|
|
38
38
|
args: [{
|
|
39
39
|
declarations: [ConfirmationModalComponent],
|
|
@@ -47,4 +47,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
47
47
|
exports: [ConfirmationModalComponent],
|
|
48
48
|
}]
|
|
49
49
|
}] });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLW1vZGFsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2Nvb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udCc7XG5pbXBvcnQge0J1dHRvbk1vZHVsZSwgTW9kYWxNb2R1bGV9IGZyb20gJ2NhcmJvbi1jb21wb25lbnRzLWFuZ3VsYXInO1xuaW1wb3J0IHtUcmFuc2xhdGVNb2R1bGV9IGZyb20gJ0BuZ3gtdHJhbnNsYXRlL2NvcmUnO1xuaW1wb3J0IHtWYWx0aW1vQ2RzTW9kYWxEaXJlY3RpdmVNb2R1bGV9IGZyb20gJy4uLy4uL2RpcmVjdGl2ZXMvdmFsdGltby1jZHMtbW9kYWwvdmFsdGltby1jZHMtbW9kYWwtZGlyZWN0aXZlLm1vZHVsZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0NvbmZpcm1hdGlvbk1vZGFsQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBNb2RhbE1vZHVsZSxcbiAgICBUcmFuc2xhdGVNb2R1bGUsXG4gICAgQnV0dG9uTW9kdWxlLFxuICAgIFZhbHRpbW9DZHNNb2RhbERpcmVjdGl2ZU1vZHVsZSxcbiAgXSxcbiAgZXhwb3J0czogW0NvbmZpcm1hdGlvbk1vZGFsQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQ29uZmlybWF0aW9uTW9kYWxNb2R1bGUge31cbiJdfQ==
|
|
@@ -19,10 +19,10 @@ import * as i1 from "@angular/common";
|
|
|
19
19
|
export class DataListComponent {
|
|
20
20
|
constructor() { }
|
|
21
21
|
ngOnInit() { }
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DataListComponent, selector: "valtimo-data-list", inputs: { collection: "collection", object: "object" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div *ngIf=\"collection\">\n <dl class=\"row mb-0\" *ngFor=\"let item of collection\">\n <dd class=\"col-12 col-md-4 col-lg-3\">{{ item.label }}</dd>\n <dt class=\"col-12 col-md-8 col-lg-9\" [innerHTML]=\"item.value || '-'\"></dt>\n </dl>\n</div>\n\n<div *ngIf=\"object\">\n <dl class=\"row mb-0\" *ngFor=\"let item of object | keyvalue\">\n <dd class=\"col-12 col-md-4 col-lg-3\">{{ item.key }}</dd>\n <dt class=\"col-12 col-md-8 col-lg-9\" [innerHTML]=\"item.value || '-'\"></dt>\n </dl>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.KeyValuePipe, name: "keyvalue" }] }); }
|
|
22
24
|
}
|
|
23
|
-
|
|
24
|
-
DataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: DataListComponent, selector: "valtimo-data-list", inputs: { collection: "collection", object: "object" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div *ngIf=\"collection\">\n <dl class=\"row mb-0\" *ngFor=\"let item of collection\">\n <dd class=\"col-12 col-md-4 col-lg-3\">{{ item.label }}</dd>\n <dt class=\"col-12 col-md-8 col-lg-9\" [innerHTML]=\"item.value || '-'\"></dt>\n </dl>\n</div>\n\n<div *ngIf=\"object\">\n <dl class=\"row mb-0\" *ngFor=\"let item of object | keyvalue\">\n <dd class=\"col-12 col-md-4 col-lg-3\">{{ item.key }}</dd>\n <dt class=\"col-12 col-md-8 col-lg-9\" [innerHTML]=\"item.value || '-'\"></dt>\n </dl>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.KeyValuePipe, name: "keyvalue" }] });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DataListComponent, decorators: [{
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataListComponent, decorators: [{
|
|
26
26
|
type: Component,
|
|
27
27
|
args: [{ selector: 'valtimo-data-list', template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div *ngIf=\"collection\">\n <dl class=\"row mb-0\" *ngFor=\"let item of collection\">\n <dd class=\"col-12 col-md-4 col-lg-3\">{{ item.label }}</dd>\n <dt class=\"col-12 col-md-8 col-lg-9\" [innerHTML]=\"item.value || '-'\"></dt>\n </dl>\n</div>\n\n<div *ngIf=\"object\">\n <dl class=\"row mb-0\" *ngFor=\"let item of object | keyvalue\">\n <dd class=\"col-12 col-md-4 col-lg-3\">{{ item.key }}</dd>\n <dt class=\"col-12 col-md-8 col-lg-9\" [innerHTML]=\"item.value || '-'\"></dt>\n </dl>\n</div>\n" }]
|
|
28
28
|
}], ctorParameters: function () { return []; }, propDecorators: { collection: [{
|
|
@@ -30,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
30
30
|
}], object: [{
|
|
31
31
|
type: Input
|
|
32
32
|
}] } });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZGF0YS1saXN0L2RhdGEtbGlzdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2RhdGEtbGlzdC9kYXRhLWxpc3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUF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Wx1ZSB8fCAnLSdcIj48L2R0PlxuICA8L2RsPlxuPC9kaXY+XG4iXX0=
|
|
@@ -18,11 +18,11 @@ import { CommonModule } from '@angular/common';
|
|
|
18
18
|
import { DataListComponent } from './data-list.component';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export class DataListModule {
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
22
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DataListModule, declarations: [DataListComponent], imports: [CommonModule], exports: [DataListComponent] }); }
|
|
23
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataListModule, imports: [CommonModule] }); }
|
|
21
24
|
}
|
|
22
|
-
|
|
23
|
-
DataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: DataListModule, declarations: [DataListComponent], imports: [CommonModule], exports: [DataListComponent] });
|
|
24
|
-
DataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DataListModule, imports: [CommonModule] });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DataListModule, decorators: [{
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataListModule, decorators: [{
|
|
26
26
|
type: NgModule,
|
|
27
27
|
args: [{
|
|
28
28
|
declarations: [DataListComponent],
|
|
@@ -30,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
30
30
|
exports: [DataListComponent],
|
|
31
31
|
}]
|
|
32
32
|
}] });
|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==
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Component, EventEmitter, Input, Output, ViewChild, } from '@angular/core';
|
|
17
|
+
import flatpickr from 'flatpickr';
|
|
18
|
+
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
19
|
+
import { Dutch } from 'flatpickr/dist/l10n/nl';
|
|
20
|
+
import { German } from 'flatpickr/dist/l10n/de';
|
|
21
|
+
import { english } from 'flatpickr/dist/l10n/default';
|
|
22
|
+
import * as i0 from "@angular/core";
|
|
23
|
+
import * as i1 from "@ngx-translate/core";
|
|
24
|
+
import * as i2 from "@angular/common";
|
|
25
|
+
import * as i3 from "../input-label/input-label.component";
|
|
26
|
+
import * as i4 from "@angular/forms";
|
|
27
|
+
import * as i5 from "carbon-components-angular";
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Migrate old design to Carbon
|
|
30
|
+
*/
|
|
31
|
+
export class DatePickerComponent {
|
|
32
|
+
constructor(translateService) {
|
|
33
|
+
this.translateService = translateService;
|
|
34
|
+
this.name = '';
|
|
35
|
+
this.title = '';
|
|
36
|
+
this.titleTranslationKey = '';
|
|
37
|
+
this.fullWidth = false;
|
|
38
|
+
this.margin = false;
|
|
39
|
+
this.disabled = false;
|
|
40
|
+
this.tooltip = '';
|
|
41
|
+
this.required = false;
|
|
42
|
+
this.smallLabel = false;
|
|
43
|
+
this.enableTime = false;
|
|
44
|
+
this.carbonTheme = 'g10';
|
|
45
|
+
this.valueChange = new EventEmitter();
|
|
46
|
+
this.dateValue$ = new BehaviorSubject('');
|
|
47
|
+
this._subscriptions = new Subscription();
|
|
48
|
+
this.onChange = (selectedDates, dateStr) => {
|
|
49
|
+
this.dateValue$.next(dateStr);
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
ngAfterViewInit() {
|
|
53
|
+
this.openLocaleSubscription();
|
|
54
|
+
this.openDateValueSubscription();
|
|
55
|
+
this.openClearSubscription();
|
|
56
|
+
}
|
|
57
|
+
ngOnDestroy() {
|
|
58
|
+
this._subscriptions.unsubscribe();
|
|
59
|
+
}
|
|
60
|
+
openLocaleSubscription() {
|
|
61
|
+
this._subscriptions.add(this.translateService.stream('key').subscribe(() => {
|
|
62
|
+
this.setFlatpickrInstance(this.translateService.currentLang);
|
|
63
|
+
}));
|
|
64
|
+
}
|
|
65
|
+
openDateValueSubscription() {
|
|
66
|
+
this._subscriptions.add(this.dateValue$.subscribe(dateValue => {
|
|
67
|
+
this.valueChange.emit(dateValue);
|
|
68
|
+
}));
|
|
69
|
+
}
|
|
70
|
+
setFlatpickrInstance(localeKey) {
|
|
71
|
+
this._flatpickrInstance?.destroy();
|
|
72
|
+
this._flatpickrInstance = flatpickr(this.datePickerElement.nativeElement, {
|
|
73
|
+
locale: this.getLocale(localeKey),
|
|
74
|
+
onChange: [this.onChange],
|
|
75
|
+
defaultDate: this.getFlatpickrValue(),
|
|
76
|
+
enableTime: this.enableTime,
|
|
77
|
+
});
|
|
78
|
+
this.emitDate();
|
|
79
|
+
}
|
|
80
|
+
emitDate() {
|
|
81
|
+
const currentDate = this._flatpickrInstance.selectedDates[0];
|
|
82
|
+
const formattedDate = currentDate && this._flatpickrInstance.formatDate(currentDate, 'Y-m-d');
|
|
83
|
+
if (formattedDate) {
|
|
84
|
+
this.dateValue$.next(formattedDate);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
getFlatpickrValue() {
|
|
88
|
+
const savedValue = this.dateValue$.getValue();
|
|
89
|
+
const todayDate = this.defaultDateIsToday && new Date();
|
|
90
|
+
const defaultDate = this.defaultDate;
|
|
91
|
+
return todayDate || defaultDate || savedValue;
|
|
92
|
+
}
|
|
93
|
+
getLocale(localeKey) {
|
|
94
|
+
let locale;
|
|
95
|
+
switch (localeKey) {
|
|
96
|
+
case 'nl':
|
|
97
|
+
locale = Dutch;
|
|
98
|
+
break;
|
|
99
|
+
case 'de':
|
|
100
|
+
locale = German;
|
|
101
|
+
break;
|
|
102
|
+
case 'en':
|
|
103
|
+
locale = english;
|
|
104
|
+
break;
|
|
105
|
+
default:
|
|
106
|
+
locale = english;
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
return locale;
|
|
110
|
+
}
|
|
111
|
+
openClearSubscription() {
|
|
112
|
+
if (this.clear$) {
|
|
113
|
+
this._subscriptions.add(this.clear$.subscribe(() => {
|
|
114
|
+
this.dateValue$.next('');
|
|
115
|
+
}));
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
119
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DatePickerComponent, selector: "v-date-picker", inputs: { name: "name", title: "title", titleTranslationKey: "titleTranslationKey", widthPx: "widthPx", fullWidth: "fullWidth", margin: "margin", disabled: "disabled", tooltip: "tooltip", required: "required", defaultDate: "defaultDate", defaultDateIsToday: "defaultDateIsToday", smallLabel: "smallLabel", clear$: "clear$", enableTime: "enableTime", carbonTheme: "carbonTheme" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "datePickerElement", first: true, predicate: ["datePickerElement"], descendants: true }], ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"v-date-picker-container\">\n <ng-container *ngTemplateOutlet=\"inputTitle\"></ng-container>\n <ng-container *ngTemplateOutlet=\"dateInput\"></ng-container>\n</div>\n\n<ng-template #inputTitle>\n <v-input-label\n *ngIf=\"title || titleTranslationKey\"\n [name]=\"name\"\n [required]=\"required\"\n [small]=\"smallLabel\"\n [titleTranslationKey]=\"titleTranslationKey\"\n [title]=\"title\"\n [tooltip]=\"tooltip\"\n >\n </v-input-label>\n</ng-template>\n\n<ng-template #dateInput>\n <input\n #datePickerElement\n cdsText\n [ngClass]=\"{\n 'v-date-picker--full-width': fullWidth,\n 'v-date-picker--margin': margin\n }\"\n [ngModel]=\"dateValue$ | async\"\n [attr.data-carbon-theme]=\"carbonTheme\"\n [disabled]=\"disabled\"\n [style.width.px]=\"widthPx + 20\"\n type=\"text\"\n />\n</ng-template>\n", styles: ["/*!\n * Copyright 2015-2023 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.v-date-picker-container{display:flex;flex-direction:column}.v-date-picker{all:unset;font-size:var(--v-input-font-size);line-height:var(--v-input-line-height);color:var(--v-input-color);font-weight:var(--v-input-font-weight);padding-block-start:var(--v-input-padding-block);padding-block-end:var(--v-input-padding-block);padding-inline-start:var(--v-input-padding-inline);padding-inline-end:var(--v-input-padding-inline);background-color:var(--v-input-bg-color);border-radius:var(--v-input-border-radius);border:var(--v-input-border);transition:var(--v-input-transition);width:var(--v-input-default-width);box-sizing:border-box}.v-date-picker:focus{outline:var(--v-input-focus-border);outline-offset:var(--v-outline-offset)}.v-date-picker:disabled{color:var(--v-input-font-color-disabled);cursor:var(--v-input-disabled-cursor)}.v-date-picker--full-width{width:100%}.v-date-picker--margin{margin-block-end:var(--v-input-margin)}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.InputLabelComponent, selector: "v-input-label", inputs: ["name", "tooltip", "largeMargin", "small", "title", "titleTranslationKey", "required", "disabled", "carbonTheme"] }, { kind: "directive", type: i4.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i5.TextInput, selector: "[cdsText], [ibmText]", inputs: ["theme", "size", "invalid", "warn", "skeleton"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
|
|
120
|
+
}
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
122
|
+
type: Component,
|
|
123
|
+
args: [{ selector: 'v-date-picker', template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"v-date-picker-container\">\n <ng-container *ngTemplateOutlet=\"inputTitle\"></ng-container>\n <ng-container *ngTemplateOutlet=\"dateInput\"></ng-container>\n</div>\n\n<ng-template #inputTitle>\n <v-input-label\n *ngIf=\"title || titleTranslationKey\"\n [name]=\"name\"\n [required]=\"required\"\n [small]=\"smallLabel\"\n [titleTranslationKey]=\"titleTranslationKey\"\n [title]=\"title\"\n [tooltip]=\"tooltip\"\n >\n </v-input-label>\n</ng-template>\n\n<ng-template #dateInput>\n <input\n #datePickerElement\n cdsText\n [ngClass]=\"{\n 'v-date-picker--full-width': fullWidth,\n 'v-date-picker--margin': margin\n }\"\n [ngModel]=\"dateValue$ | async\"\n [attr.data-carbon-theme]=\"carbonTheme\"\n [disabled]=\"disabled\"\n [style.width.px]=\"widthPx + 20\"\n type=\"text\"\n />\n</ng-template>\n", styles: ["/*!\n * Copyright 2015-2023 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.v-date-picker-container{display:flex;flex-direction:column}.v-date-picker{all:unset;font-size:var(--v-input-font-size);line-height:var(--v-input-line-height);color:var(--v-input-color);font-weight:var(--v-input-font-weight);padding-block-start:var(--v-input-padding-block);padding-block-end:var(--v-input-padding-block);padding-inline-start:var(--v-input-padding-inline);padding-inline-end:var(--v-input-padding-inline);background-color:var(--v-input-bg-color);border-radius:var(--v-input-border-radius);border:var(--v-input-border);transition:var(--v-input-transition);width:var(--v-input-default-width);box-sizing:border-box}.v-date-picker:focus{outline:var(--v-input-focus-border);outline-offset:var(--v-outline-offset)}.v-date-picker:disabled{color:var(--v-input-font-color-disabled);cursor:var(--v-input-disabled-cursor)}.v-date-picker--full-width{width:100%}.v-date-picker--margin{margin-block-end:var(--v-input-margin)}\n"] }]
|
|
124
|
+
}], ctorParameters: function () { return [{ type: i1.TranslateService }]; }, propDecorators: { datePickerElement: [{
|
|
125
|
+
type: ViewChild,
|
|
126
|
+
args: ['datePickerElement']
|
|
127
|
+
}], name: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}], title: [{
|
|
130
|
+
type: Input
|
|
131
|
+
}], titleTranslationKey: [{
|
|
132
|
+
type: Input
|
|
133
|
+
}], widthPx: [{
|
|
134
|
+
type: Input
|
|
135
|
+
}], fullWidth: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}], margin: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], disabled: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], tooltip: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], required: [{
|
|
144
|
+
type: Input
|
|
145
|
+
}], defaultDate: [{
|
|
146
|
+
type: Input
|
|
147
|
+
}], defaultDateIsToday: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}], smallLabel: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}], clear$: [{
|
|
152
|
+
type: Input
|
|
153
|
+
}], enableTime: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}], carbonTheme: [{
|
|
156
|
+
type: Input
|
|
157
|
+
}], valueChange: [{
|
|
158
|
+
type: Output
|
|
159
|
+
}] } });
|
|
160
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9kYXRlLXBpY2tlci9kYXRlLXBpY2tlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2RhdGUtcGlja2VyL2RhdGUtcGlja2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUVMLFNBQVMsRUFFVCxZQUFZLEVBQ1osS0FBSyxFQUVMLE1BQU0sRUFDTixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxTQUFTLE1BQU0sV0FBVyxDQUFDO0FBQ2xDLE9BQU8sRUFBQyxlQUFlLEVBQWMsWUFBWSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBRy9ELE9BQU8sRUFBQyxLQUFLLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUM3QyxPQUFPLEVBQUMsTUFBTSxFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDOUMsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLDZCQUE2QixDQUFDOzs7Ozs7O0FBSXBEOztHQUVHO0FBTU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lbFxuICAgICpuZ0lmPVwidGl0bGUgfHwgdGl0bGVUcmFuc2xhdGlvbktleVwiXG4gICAgW25hbWVdPVwibmFtZVwiXG4gICAgW3JlcXVpcmVkXT1cInJlcXVpcmVkXCJcbiAgICBbc21hbGxdPVwic21hbGxMYWJlbFwiXG4gICAgW3RpdGxlVHJhbnNsYXRpb25LZXldPVwidGl0bGVUcmFuc2xhdGlvbktleVwiXG4gICAgW3RpdGxlXT1cInRpdGxlXCJcbiAgICBbdG9vbHRpcF09XCJ0b29sdGlwXCJcbiAgPlxuICA8L3YtaW5wdXQtbGFiZWw+XG48L25nLXRlbXBsYXRlPlxuXG48bmctdGVtcGxhdGUgI2RhdGVJbnB1dD5cbiAgPGlucHV0XG4gICAgI2RhdGVQaWNrZXJFbGVtZW50XG4gICAgY2RzVGV4dFxuICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICd2LWRhdGUtcGlja2VyLS1mdWxsLXdpZHRoJzogZnVsbFdpZHRoLFxuICAgICAgJ3YtZGF0ZS1waWNrZXItLW1hcmdpbic6IG1hcmdpblxuICAgIH1cIlxuICAgIFtuZ01vZGVsXT1cImRhdGVWYWx1ZSQgfCBhc3luY1wiXG4gICAgW2F0dHIuZGF0YS1jYXJib24tdGhlbWVdPVwiY2FyYm9uVGhlbWVcIlxuICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gICAgW3N0eWxlLndpZHRoLnB4XT1cIndpZHRoUHggKyAyMFwiXG4gICAgdHlwZT1cInRleHRcIlxuICAvPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { NgModule } from '@angular/core';
|
|
17
|
+
import { CommonModule } from '@angular/common';
|
|
18
|
+
import { DatePickerComponent } from './date-picker.component';
|
|
19
|
+
import { FormsModule } from '@angular/forms';
|
|
20
|
+
import { InputLabelModule } from '../input-label/input-label.module';
|
|
21
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
22
|
+
import { InputModule } from 'carbon-components-angular';
|
|
23
|
+
import * as i0 from "@angular/core";
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Migrate old design to Carbon
|
|
26
|
+
*/
|
|
27
|
+
export class DatePickerModule {
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
29
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, declarations: [DatePickerComponent], imports: [CommonModule, InputLabelModule, FormsModule, TranslateModule, InputModule], exports: [DatePickerComponent] }); }
|
|
30
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, imports: [CommonModule, InputLabelModule, FormsModule, TranslateModule, InputModule] }); }
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, decorators: [{
|
|
33
|
+
type: NgModule,
|
|
34
|
+
args: [{
|
|
35
|
+
declarations: [DatePickerComponent],
|
|
36
|
+
imports: [CommonModule, InputLabelModule, FormsModule, TranslateModule, InputModule],
|
|
37
|
+
exports: [DatePickerComponent],
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1waWNrZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9kYXRlLXBpY2tlci9kYXRlLXBpY2tlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFFSCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUM1RCxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDM0MsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDbkUsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQ3BELE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQzs7QUFFdEQ7O0dBRUc7QUFNSCxNQUFNLE9BQU8sZ0JBQWdCOytHQUFoQixnQkFBZ0I7Z0hBQWhCLGdCQUFnQixpQkFKWixtQkFBbUIsYUFDeEIsWUFBWSxFQUFFLGdCQUFnQixFQUFFLFdBQVcsRUFBRSxlQUFlLEVBQUUsV0FBVyxhQUN6RSxtQkFBbUI7Z0hBRWxCLGdCQUFnQ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