@valtimo/components 10.7.0 → 11.0.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 +38 -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/{esm2020 → esm2022}/lib/components/form-io/form-io.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/form-io/form-io.module.mjs +29 -29
- 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/esm2022/lib/components/menu/menu-item-text.component.mjs +54 -0
- 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/{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/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/esm2022/lib/models/stepper.model.mjs +17 -0
- 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/{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 +194 -0
- package/fesm2022/valtimo-components.mjs +12375 -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 +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/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/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/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 +60 -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/left-sidebar/left-sidebar.component.mjs +0 -148
- package/esm2020/lib/components/list/list.component.mjs +0 -199
- package/esm2020/lib/components/menu/menu-item-text.component.mjs +0 -54
- 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/pagination.model.mjs +0 -17
- package/esm2020/lib/models/timeline.model.mjs +0 -48
- 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/form-io/formio-config.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}/lib/pipes/index.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
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output, ViewChild, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { Table, TableHeaderItem, TableItem, TableModel, } from 'carbon-components-angular';
|
|
3
|
-
import { combineLatest, map, of, startWith, Subscription } from 'rxjs';
|
|
4
|
-
import { ColumnType, createPaginationConfig, } from '../../models';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@ngx-translate/core";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
import * as i3 from "carbon-components-angular";
|
|
9
|
-
export class CarbonTableComponent {
|
|
10
|
-
constructor(cd, translateService) {
|
|
11
|
-
this.cd = cd;
|
|
12
|
-
this.translateService = translateService;
|
|
13
|
-
this.theme = 'g10';
|
|
14
|
-
this.paginationConfig = createPaginationConfig();
|
|
15
|
-
this.hideTableHeader = false;
|
|
16
|
-
this.loading = true;
|
|
17
|
-
this.paginationChange = new EventEmitter();
|
|
18
|
-
this.rowClick = new EventEmitter();
|
|
19
|
-
this.search = new EventEmitter();
|
|
20
|
-
this.batchText$ = combineLatest([
|
|
21
|
-
this.translateService.stream('interface.table.singleSelect'),
|
|
22
|
-
this.translateService.stream('interface.table.multipleSelect'),
|
|
23
|
-
]).pipe(map(([SINGLE, MULTIPLE]) => ({ SINGLE, MULTIPLE })), startWith({
|
|
24
|
-
SINGLE: this.translateService.instant('interface.table.singleSelect'),
|
|
25
|
-
MULTIPLE: this.translateService.instant('interface.table.multipleSelect'),
|
|
26
|
-
}));
|
|
27
|
-
this.paginationTranslations$ = combineLatest([
|
|
28
|
-
this.translateService.stream('interface.table.itemsPerPage'),
|
|
29
|
-
this.translateService.stream('interface.table.ofLastPage'),
|
|
30
|
-
this.translateService.stream('interface.table.ofLastPages'),
|
|
31
|
-
this.translateService.stream('interface.table.totalItems'),
|
|
32
|
-
]).pipe(map(([ITEMS_PER_PAGE, OF_LAST_PAGES, OF_LAST_PAGE, TOTAL_ITEMS]) => ({
|
|
33
|
-
ITEMS_PER_PAGE,
|
|
34
|
-
OF_LAST_PAGES,
|
|
35
|
-
OF_LAST_PAGE,
|
|
36
|
-
TOTAL_ITEMS,
|
|
37
|
-
})));
|
|
38
|
-
this._skeletonTableModel = Table.skeletonModel(5, 5);
|
|
39
|
-
this._tableModel = new TableModel();
|
|
40
|
-
this._subscriptions$ = new Subscription();
|
|
41
|
-
}
|
|
42
|
-
set data(value) {
|
|
43
|
-
this._data = value;
|
|
44
|
-
if (!this.tableConfig || !value) {
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
this._tableData = this.getTableItems(value);
|
|
48
|
-
this._tableModel.data = this._tableData;
|
|
49
|
-
if (!this.paginationConfig) {
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
this.setPaginationModel();
|
|
53
|
-
}
|
|
54
|
-
get data() {
|
|
55
|
-
return this._data;
|
|
56
|
-
}
|
|
57
|
-
get numberOfColumns() {
|
|
58
|
-
return this.tableConfig.fields.length + (this.tableConfig.enableSingleSelect ? 0 : 1);
|
|
59
|
-
}
|
|
60
|
-
get tableModel() {
|
|
61
|
-
return this.loading ? this._skeletonTableModel : this._tableModel;
|
|
62
|
-
}
|
|
63
|
-
get selectedItems() {
|
|
64
|
-
return this._tableModel.data.reduce((items, _, index) => this._tableModel.isRowSelected(index)
|
|
65
|
-
? [...items, this.data[this.getItemInitialIndex(index)]]
|
|
66
|
-
: [...items], []);
|
|
67
|
-
}
|
|
68
|
-
ngAfterViewInit() {
|
|
69
|
-
this._subscriptions$.add(this.getHeaderItems());
|
|
70
|
-
if (!this.data) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
this._tableData = this.getTableItems(this.data);
|
|
74
|
-
this._tableModel.data = this._tableData;
|
|
75
|
-
if (this.tableConfig.withPagination) {
|
|
76
|
-
this.setPaginationModel();
|
|
77
|
-
}
|
|
78
|
-
this.cd.detectChanges();
|
|
79
|
-
}
|
|
80
|
-
ngOnDestroy() {
|
|
81
|
-
this._subscriptions$.unsubscribe();
|
|
82
|
-
}
|
|
83
|
-
onActionItemClick(action, item) {
|
|
84
|
-
action.callback(item);
|
|
85
|
-
}
|
|
86
|
-
onRowClick(rowIndex) {
|
|
87
|
-
const itemInitialIndex = this.getItemInitialIndex(rowIndex);
|
|
88
|
-
if (!this.data[itemInitialIndex]) {
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
this.rowClick.emit(this.data[itemInitialIndex]);
|
|
92
|
-
}
|
|
93
|
-
onSearch(searchString) {
|
|
94
|
-
this.search.emit(searchString);
|
|
95
|
-
}
|
|
96
|
-
onSelectPage(pageIndex) {
|
|
97
|
-
this._tableModel.currentPage = pageIndex;
|
|
98
|
-
this.paginationChange.emit({
|
|
99
|
-
currentPage: pageIndex,
|
|
100
|
-
pageLength: this._tableModel.pageLength,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
trackByIndex(index) {
|
|
104
|
-
return index;
|
|
105
|
-
}
|
|
106
|
-
getHeaderItems() {
|
|
107
|
-
const fields = this.tableConfig.fields;
|
|
108
|
-
const translations = fields.map((field) => !field.translationKey ? of('') : this.translateService.stream(field.translationKey));
|
|
109
|
-
return combineLatest(translations).subscribe((translationResults) => {
|
|
110
|
-
this._tableModel.header = translationResults.map((translation, index) => new TableHeaderItem({
|
|
111
|
-
data: translation,
|
|
112
|
-
sortable: fields[index].sortable ?? true,
|
|
113
|
-
className: fields[index].className ?? '',
|
|
114
|
-
}));
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
getItemInitialIndex(rowIndex) {
|
|
118
|
-
return (this._tableModel.currentPage - 1) * this._tableModel.pageLength + rowIndex;
|
|
119
|
-
}
|
|
120
|
-
getTableItems(items) {
|
|
121
|
-
return !items.length
|
|
122
|
-
? []
|
|
123
|
-
: items.map((item, index) => this.tableConfig.fields.map((column) => {
|
|
124
|
-
switch (column.columnType) {
|
|
125
|
-
case ColumnType.TEXT:
|
|
126
|
-
return new TableItem({ data: item[column.fieldName] ?? '-' });
|
|
127
|
-
case ColumnType.ACTION:
|
|
128
|
-
return new TableItem({
|
|
129
|
-
data: { actions: column.actions, item },
|
|
130
|
-
template: this.actionsMenu,
|
|
131
|
-
});
|
|
132
|
-
case ColumnType.TEMPLATE:
|
|
133
|
-
return new TableItem({
|
|
134
|
-
data: { item, index },
|
|
135
|
-
template: column.template,
|
|
136
|
-
});
|
|
137
|
-
default:
|
|
138
|
-
return new TableItem({ data: item[column.fieldName] ?? '-' });
|
|
139
|
-
}
|
|
140
|
-
}));
|
|
141
|
-
}
|
|
142
|
-
setPaginationModel() {
|
|
143
|
-
this._tableModel.totalDataLength = this.data.length;
|
|
144
|
-
this._tableModel.pageLength = !this.paginationConfig.itemsPerPageOptions
|
|
145
|
-
? 10
|
|
146
|
-
: this.paginationConfig.itemsPerPageOptions[0] ?? 10;
|
|
147
|
-
this.onSelectPage(1);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
CarbonTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CarbonTableComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
151
|
-
CarbonTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CarbonTableComponent, selector: "valtimo-carbon-table", inputs: { tableConfig: "tableConfig", paginationConfig: "paginationConfig", hideTableHeader: "hideTableHeader", data: "data", loading: "loading" }, outputs: { paginationChange: "paginationChange", rowClick: "rowClick", search: "search" }, host: { properties: { "attr.data-carbon-theme": "this.theme" } }, viewQueries: [{ propertyName: "actionsMenu", first: true, predicate: ["actionsMenu"], descendants: true }], ngImport: i0, template: "<cds-table-container>\n <cds-table-header *ngIf=\"!hideTableHeader\">\n <h4 cdsTableHeaderTitle>\n <ng-content select=\"[carbonTableTitle]\"></ng-content>\n </h4>\n\n <p cdsTableHeaderDescription>\n <ng-content select=\"[carbonTableDescription]\"></ng-content>\n </p>\n </cds-table-header>\n\n <cds-table-toolbar [model]=\"tableModel\" [batchText]=\"batchText$ | async\">\n <cds-table-toolbar-actions>\n <ng-content select=\"[carbonToolbarActions]\"> </ng-content>\n </cds-table-toolbar-actions>\n\n <cds-table-toolbar-content>\n <cds-table-toolbar-search\n *ngIf=\"tableConfig.searchable\"\n [expandable]=\"true\"\n ></cds-table-toolbar-search>\n\n <ng-content select=\"[carbonToolbarContent]\"> </ng-content>\n </cds-table-toolbar-content>\n </cds-table-toolbar>\n\n <ng-template #actionsMenu let-data=\"data\">\n <cds-overflow-menu (click)=\"$event.stopPropagation()\">\n <cds-overflow-menu-option\n *ngFor=\"let action of data.actions\"\n [type]=\"action.type\"\n (selected)=\"onActionItemClick(action, data.item)\"\n >\n {{ action.actionName }}\n </cds-overflow-menu-option>\n </cds-overflow-menu>\n </ng-template>\n\n <cds-table\n [enableSingleSelect]=\"tableConfig.enableSingleSelect\"\n [model]=\"tableModel\"\n [size]=\"tableConfig.size\"\n [skeleton]=\"loading\"\n [sortable]=\"tableConfig.sortable\"\n [showSelectionColumn]=\"tableConfig.showSelectionColumn\"\n [striped]=\"tableConfig.striped\"\n (rowClick)=\"onRowClick($event)\"\n >\n <tbody>\n <tr>\n <td [attr.colspan]=\"numberOfColumns\">\n <ng-content></ng-content>\n </td>\n </tr>\n </tbody>\n </cds-table>\n\n <cds-pagination\n *ngIf=\"tableModel.totalDataLength && tableConfig.withPagination\"\n [itemsPerPageOptions]=\"paginationConfig.itemsPerPageOptions\"\n [model]=\"tableModel\"\n [showPageInput]=\"paginationConfig.showPageInput\"\n [skeleton]=\"loading\"\n [translations]=\"paginationTranslations$ | async\"\n (selectPage)=\"onSelectPage($event)\"\n ></cds-pagination>\n</cds-table-container>\n", styles: [".valtimo-carbon-table__no-results{display:flex;justify-content:center;padding:6.25rem 0;gap:4rem}.valtimo-carbon-table__no-results__content:not(:empty)+.valtimo-carbon-table__no-results-text{display:none}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.OverflowMenu, selector: "cds-overflow-menu, ibm-overflow-menu", inputs: ["buttonLabel", "flip", "placement", "open", "customTrigger", "offset", "wrapperClass", "triggerClass"], outputs: ["openChange"] }, { kind: "component", type: i3.OverflowMenuOption, selector: "cds-overflow-menu-option, ibm-overflow-menu-option", inputs: ["divider", "type", "disabled", "href", "target", "innerClass"], outputs: ["selected"] }, { kind: "component", type: i3.TableToolbar, selector: "cds-table-toolbar, ibm-table-toolbar", inputs: ["model", "batchText", "ariaLabel", "cancelText", "size"], outputs: ["cancel"] }, { kind: "component", type: i3.TableContainer, selector: "cds-table-container, ibm-table-container" }, { kind: "component", type: i3.TableHeader, selector: "cds-table-header, ibm-table-header" }, { kind: "directive", type: i3.TableHeaderTitle, selector: "[cdsTableHeaderTitle], [ibmTableHeaderTitle]", inputs: ["id"] }, { kind: "directive", type: i3.TableHeaderDescription, selector: "[cdsTableHeaderDescription], [ibmTableHeaderDescription]", inputs: ["id"] }, { kind: "component", type: i3.TableToolbarActions, selector: "cds-table-toolbar-actions, ibm-table-toolbar-actions" }, { kind: "component", type: i3.TableToolbarSearch, selector: "cds-table-toolbar-search, ibm-table-toolbar-search" }, { kind: "component", type: i3.TableToolbarContent, selector: "cds-table-toolbar-content, ibm-table-toolbar-content" }, { kind: "component", type: i3.Table, selector: "cds-table, ibm-table", inputs: ["ariaLabelledby", "ariaDescribedby", "model", "size", "skeleton", "isDataGrid", "sortable", "noBorder", "showSelectionColumn", "enableSingleSelect", "scrollLoadDistance", "expandButtonAriaLabel", "sortDescendingLabel", "sortAscendingLabel", "translations", "striped", "stickyHeader", "footerTemplate", "selectionLabelColumn"], outputs: ["sort", "selectAll", "deselectAll", "selectRow", "deselectRow", "rowClick", "scrollLoad"] }, { kind: "component", type: i3.Pagination, selector: "cds-pagination, ibm-pagination", inputs: ["skeleton", "model", "disabled", "pageInputDisabled", "showPageInput", "pagesUnknown", "pageSelectThreshold", "translations", "itemsPerPageOptions"], outputs: ["selectPage"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CarbonTableComponent, decorators: [{
|
|
153
|
-
type: Component,
|
|
154
|
-
args: [{ selector: 'valtimo-carbon-table', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<cds-table-container>\n <cds-table-header *ngIf=\"!hideTableHeader\">\n <h4 cdsTableHeaderTitle>\n <ng-content select=\"[carbonTableTitle]\"></ng-content>\n </h4>\n\n <p cdsTableHeaderDescription>\n <ng-content select=\"[carbonTableDescription]\"></ng-content>\n </p>\n </cds-table-header>\n\n <cds-table-toolbar [model]=\"tableModel\" [batchText]=\"batchText$ | async\">\n <cds-table-toolbar-actions>\n <ng-content select=\"[carbonToolbarActions]\"> </ng-content>\n </cds-table-toolbar-actions>\n\n <cds-table-toolbar-content>\n <cds-table-toolbar-search\n *ngIf=\"tableConfig.searchable\"\n [expandable]=\"true\"\n ></cds-table-toolbar-search>\n\n <ng-content select=\"[carbonToolbarContent]\"> </ng-content>\n </cds-table-toolbar-content>\n </cds-table-toolbar>\n\n <ng-template #actionsMenu let-data=\"data\">\n <cds-overflow-menu (click)=\"$event.stopPropagation()\">\n <cds-overflow-menu-option\n *ngFor=\"let action of data.actions\"\n [type]=\"action.type\"\n (selected)=\"onActionItemClick(action, data.item)\"\n >\n {{ action.actionName }}\n </cds-overflow-menu-option>\n </cds-overflow-menu>\n </ng-template>\n\n <cds-table\n [enableSingleSelect]=\"tableConfig.enableSingleSelect\"\n [model]=\"tableModel\"\n [size]=\"tableConfig.size\"\n [skeleton]=\"loading\"\n [sortable]=\"tableConfig.sortable\"\n [showSelectionColumn]=\"tableConfig.showSelectionColumn\"\n [striped]=\"tableConfig.striped\"\n (rowClick)=\"onRowClick($event)\"\n >\n <tbody>\n <tr>\n <td [attr.colspan]=\"numberOfColumns\">\n <ng-content></ng-content>\n </td>\n </tr>\n </tbody>\n </cds-table>\n\n <cds-pagination\n *ngIf=\"tableModel.totalDataLength && tableConfig.withPagination\"\n [itemsPerPageOptions]=\"paginationConfig.itemsPerPageOptions\"\n [model]=\"tableModel\"\n [showPageInput]=\"paginationConfig.showPageInput\"\n [skeleton]=\"loading\"\n [translations]=\"paginationTranslations$ | async\"\n (selectPage)=\"onSelectPage($event)\"\n ></cds-pagination>\n</cds-table-container>\n", styles: [".valtimo-carbon-table__no-results{display:flex;justify-content:center;padding:6.25rem 0;gap:4rem}.valtimo-carbon-table__no-results__content:not(:empty)+.valtimo-carbon-table__no-results-text{display:none}\n"] }]
|
|
155
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.TranslateService }]; }, propDecorators: { theme: [{
|
|
156
|
-
type: HostBinding,
|
|
157
|
-
args: ['attr.data-carbon-theme']
|
|
158
|
-
}], actionsMenu: [{
|
|
159
|
-
type: ViewChild,
|
|
160
|
-
args: ['actionsMenu', { static: false }]
|
|
161
|
-
}], tableConfig: [{
|
|
162
|
-
type: Input
|
|
163
|
-
}], paginationConfig: [{
|
|
164
|
-
type: Input
|
|
165
|
-
}], hideTableHeader: [{
|
|
166
|
-
type: Input
|
|
167
|
-
}], data: [{
|
|
168
|
-
type: Input
|
|
169
|
-
}], loading: [{
|
|
170
|
-
type: Input
|
|
171
|
-
}], paginationChange: [{
|
|
172
|
-
type: Output
|
|
173
|
-
}], rowClick: [{
|
|
174
|
-
type: Output
|
|
175
|
-
}], search: [{
|
|
176
|
-
type: Output
|
|
177
|
-
}] } });
|
|
178
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyYm9uLXRhYmxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2FyYm9uLXRhYmxlL2NhcmJvbi10YWJsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi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pdGlhbEluZGV4KHJvd0luZGV4OiBudW1iZXIpOiBudW1iZXIge1xuICAgIHJldHVybiAodGhpcy5fdGFibGVNb2RlbC5jdXJyZW50UGFnZSAtIDEpICogdGhpcy5fdGFibGVNb2RlbC5wYWdlTGVuZ3RoICsgcm93SW5kZXg7XG4gIH1cblxuICBwcml2YXRlIGdldFRhYmxlSXRlbXMoaXRlbXM6IFRbXSk6IFRhYmxlSXRlbVtdW10ge1xuICAgIHJldHVybiAhaXRlbXMubGVuZ3RoXG4gICAgICA/IFtdXG4gICAgICA6IGl0ZW1zLm1hcCgoaXRlbTogVCwgaW5kZXg6IG51bWJlcikgPT5cbiAgICAgICAgICB0aGlzLnRhYmxlQ29uZmlnLmZpZWxkcy5tYXAoKGNvbHVtbjogQ29sdW1uQ29uZmlnKSA9PiB7XG4gICAgICAgICAgICBzd2l0Y2ggKGNvbHVtbi5jb2x1bW5UeXBlKSB7XG4gICAgICAgICAgICAgIGNhc2UgQ29sdW1uVHlwZS5URVhUOlxuICAgICAgICAgICAgICAgIHJldHVybiBuZXcgVGFibGVJdGVtKHtkYXRhOiBpdGVtW2NvbHVtbi5maWVsZE5hbWVdID8/ICctJ30pO1xuICAgICAgICAgICAgICBjYXNlIENvbHVtblR5cGUuQUNUSU9OOlxuICAgICAgICAgICAgICAgIHJldHVybiBuZXcgVGFibGVJdGVtKHtcbiAgICAgICAgICAgICAgICAgIGRhdGE6IHthY3Rpb25zOiBjb2x1bW4uYWN0aW9ucywgaXRlbX0sXG4gICAgICAgICAgICAgICAgICB0ZW1wbGF0ZTogdGhpcy5hY3Rpb25zTWVudSxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgY2FzZSBDb2x1bW5UeXBlLlRFTVBMQVRFOlxuICAgICAgICAgICAgICAgIHJldHVybiBuZXcgVGFibGVJdGVtKHtcbiAgICAgICAgICAgICAgICAgIGRhdGE6IHtpdGVtLCBpbmRleH0sXG4gICAgICAgICAgICAgICAgICB0ZW1wbGF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mF0aW9uQ29uZmlnLnNob3dQYWdlSW5wdXRcIlxuICAgIFtza2VsZXRvbl09XCJsb2FkaW5nXCJcbiAgICBbdHJhbnNsYXRpb25zXT1cInBhZ2luYXRpb25UcmFuc2xhdGlvbnMkIHwgYXN5bmNcIlxuICAgIChzZWxlY3RQYWdlKT1cIm9uU2VsZWN0UGFnZSgkZXZlbnQpXCJcbiAgPjwvY2RzLXBhZ2luYXRpb24+XG48L2Nkcy10YWJsZS1jb250YWluZXI+XG4iXX0=
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2020 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 { CommonModule } from '@angular/common';
|
|
17
|
-
import { NgModule } from '@angular/core';
|
|
18
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
19
|
-
import { ButtonModule, DialogModule, PaginationModule, TableModule } from 'carbon-components-angular';
|
|
20
|
-
import { CarbonTableComponent } from './carbon-table.component';
|
|
21
|
-
import { CarbonNoResultsComponent } from './no-results/carbon-no-results.component';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
export class CarbonTableModule {
|
|
24
|
-
}
|
|
25
|
-
CarbonTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CarbonTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
26
|
-
CarbonTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CarbonTableModule, declarations: [CarbonNoResultsComponent, CarbonTableComponent], imports: [CommonModule,
|
|
27
|
-
DialogModule,
|
|
28
|
-
TranslateModule,
|
|
29
|
-
TableModule,
|
|
30
|
-
PaginationModule,
|
|
31
|
-
ButtonModule], exports: [CarbonNoResultsComponent, CarbonTableComponent] });
|
|
32
|
-
CarbonTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CarbonTableModule, imports: [CommonModule,
|
|
33
|
-
DialogModule,
|
|
34
|
-
TranslateModule,
|
|
35
|
-
TableModule,
|
|
36
|
-
PaginationModule,
|
|
37
|
-
ButtonModule] });
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CarbonTableModule, decorators: [{
|
|
39
|
-
type: NgModule,
|
|
40
|
-
args: [{
|
|
41
|
-
declarations: [CarbonNoResultsComponent, CarbonTableComponent],
|
|
42
|
-
imports: [
|
|
43
|
-
CommonModule,
|
|
44
|
-
DialogModule,
|
|
45
|
-
TranslateModule,
|
|
46
|
-
TableModule,
|
|
47
|
-
PaginationModule,
|
|
48
|
-
ButtonModule,
|
|
49
|
-
],
|
|
50
|
-
exports: [CarbonNoResultsComponent, CarbonTableComponent],
|
|
51
|
-
}]
|
|
52
|
-
}] });
|
|
53
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyYm9uLXRhYmxlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2FyYm9uLXRhYmxlL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cmFuc2xhdGVNb2R1bGV9IGZyb20gJ0BuZ3gtdHJhbnNsYXRlL2NvcmUnO1xuaW1wb3J0IHtCdXR0b25Nb2R1bGUsIERpYWxvZ01vZHVsZSwgUGFnaW5hdGlvbk1vZHVsZSwgVGFibGVNb2R1bGV9IGZyb20gJ2NhcmJvbi1jb21wb25lbnRzLWFuZ3VsYXInO1xuaW1wb3J0IHtDYXJib25UYWJsZUNvbXBvbmVudH0gZnJvbSAnLi9jYXJib24tdGFibGUuY29tcG9uZW50JztcbmltcG9ydCB7Q2FyYm9uTm9SZXN1bHRzQ29tcG9uZW50fSBmcm9tICcuL25vLXJlc3VsdHMvY2FyYm9uLW5vLXJlc3VsdHMuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQ2FyYm9uTm9SZXN1bHRzQ29tcG9uZW50LCBDYXJib25UYWJsZUNvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgRGlhbG9nTW9kdWxlLFxuICAgIFRyYW5zbGF0ZU1vZHVsZSxcbiAgICBUYWJsZU1vZHVsZSxcbiAgICBQYWdpbmF0aW9uTW9kdWxlLFxuICAgIEJ1dHRvbk1vZHVsZSxcbiAgXSxcbiAgZXhwb3J0czogW0NhcmJvbk5vUmVzdWx0c0NvbXBvbmVudCwgQ2FyYm9uVGFibGVDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBDYXJib25UYWJsZU1vZHVsZSB7fVxuIl19
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@ngx-translate/core";
|
|
5
|
-
export class CarbonNoResultsComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.illustration = 'valtimo-layout/img/no-results.svg';
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
CarbonNoResultsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CarbonNoResultsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
CarbonNoResultsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CarbonNoResultsComponent, selector: "valtimo-no-results", inputs: { action: "action", description: "description", illustration: "illustration", title: "title" }, ngImport: i0, template: "<div class=\"valtimo-no-results\">\n <img [src]=\"illustration\" alt=\"{{ 'interface.noResults' | translate }}\" />\n\n <div class=\"valtimo-no-results__content\">\n <h4 class=\"valtimo-no-results__title\">\n {{ title }}\n </h4>\n\n <span [innerHtml]=\"description\"></span>\n\n <ng-container [ngTemplateOutlet]=\"action\"></ng-container>\n </div>\n</div>\n", styles: [".valtimo-no-results{display:flex;justify-content:center;padding:6.25rem 0;gap:4rem}.valtimo-no-results__content{display:flex;flex-direction:column;justify-content:space-around}.valtimo-no-results__title{font-size:1.75rem}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CarbonNoResultsComponent, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'valtimo-no-results', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"valtimo-no-results\">\n <img [src]=\"illustration\" alt=\"{{ 'interface.noResults' | translate }}\" />\n\n <div class=\"valtimo-no-results__content\">\n <h4 class=\"valtimo-no-results__title\">\n {{ title }}\n </h4>\n\n <span [innerHtml]=\"description\"></span>\n\n <ng-container [ngTemplateOutlet]=\"action\"></ng-container>\n </div>\n</div>\n", styles: [".valtimo-no-results{display:flex;justify-content:center;padding:6.25rem 0;gap:4rem}.valtimo-no-results__content{display:flex;flex-direction:column;justify-content:space-around}.valtimo-no-results__title{font-size:1.75rem}\n"] }]
|
|
15
|
-
}], propDecorators: { action: [{
|
|
16
|
-
type: Input
|
|
17
|
-
}], description: [{
|
|
18
|
-
type: Input
|
|
19
|
-
}], illustration: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}], title: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyYm9uLW5vLXJlc3VsdHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYXJib24tdGFibGUvbm8tcmVzdWx0cy9jYXJib24tbm8tcmVzdWx0cy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmJvbi10YWJsZS9uby1yZXN1bHRzL2NhcmJvbi1uby1yZXN1bHRzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFjLE1BQU0sZUFBZSxDQUFDOzs7O0FBUXJGLE1BQU0sT0FBTyx3QkFBd0I7SUFOckM7UUFTVyxpQkFBWSxHQUFHLG1DQUFtQyxDQUFDO0tBRTdEOztxSEFMWSx3QkFBd0I7eUdBQXhCLHdCQUF3QixrS0NSckMsMlhBYUE7MkZETGEsd0JBQXdCO2tCQU5wQyxTQUFTOytCQUNFLG9CQU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3VsdHNfX2NvbnRlbnRcIj5cbiAgICA8aDQgY2xhc3M9XCJ2YWx0aW1vLW5vLXJlc3VsdHNfX3RpdGxlXCI+XG4gICAgICB7eyB0aXRsZSB9fVxuICAgIDwvaDQ+XG5cbiAgICA8c3BhbiBbaW5uZXJIdG1sXT1cImRlc2NyaXB0aW9uXCI+PC9zcGFuPlxuXG4gICAgPG5nLWNvbnRhaW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJhY3Rpb25cIj48L25nLWNvbnRhaW5lcj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,26 +0,0 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
18
|
-
export class ComponentsModule {
|
|
19
|
-
}
|
|
20
|
-
ComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
-
ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ComponentsModule });
|
|
22
|
-
ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ComponentsModule });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ComponentsModule, decorators: [{
|
|
24
|
-
type: NgModule
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NvbXBvbmVudHMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFHdkMsTUFBTSxPQUFPLGdCQUFnQjs7NkdBQWhCLGdCQUFnQjs4R0FBaEIsZ0JBQWdCOzhHQUFoQixnQkFBZ0I7MkZBQWhCLGdCQUFnQjtrQkFENUIsUUFBUSIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBDb3B5cmlnaHQgMjAxNS0yMDIzIFJpdGVuc2UgQlYsIHRoZSBOZXRoZXJsYW5kcy5cbiAqXG4gKiBMaWNlbnNlZCB1bmRlciBFVVBMLCBWZXJzaW9uIDEuMiAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqIGh0dHBzOi8vam9pbnVwLmVjLmV1cm9wYS5ldS9jb2xsZWN0aW9uL2V1cGwvZXVwbC10ZXh0LWV1cGwtMTJcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgYmFzaXMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ATmdNb2R1bGUoKVxuZXhwb3J0IGNsYXNzIENvbXBvbmVudHNNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,90 +0,0 @@
|
|
|
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.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.modalOpen$ = new BehaviorSubject(false);
|
|
39
|
-
}
|
|
40
|
-
closeModal() {
|
|
41
|
-
this.modalOpen$.next(false);
|
|
42
|
-
}
|
|
43
|
-
confirm() {
|
|
44
|
-
this.modalOpen$.next(false);
|
|
45
|
-
this.confirmEvent.emit(this.outputOnConfirm);
|
|
46
|
-
}
|
|
47
|
-
ngOnInit() {
|
|
48
|
-
if (this.showModalSubject$) {
|
|
49
|
-
this.showModalSubscription = this.showModalSubject$.subscribe(showModal => {
|
|
50
|
-
this.modalOpen$.next(showModal);
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
ngOnDestroy() {
|
|
55
|
-
this.showModalSubscription?.unsubscribe();
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
ConfirmationModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConfirmationModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
-
ConfirmationModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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" }, 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" }] });
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConfirmationModalComponent, decorators: [{
|
|
61
|
-
type: Component,
|
|
62
|
-
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"] }]
|
|
63
|
-
}], propDecorators: { titleTranslationKey: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], title: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], content: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], contentTranslationKey: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], confirmButtonText: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], confirmButtonTextTranslationKey: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], confirmButtonType: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}], cancelButtonText: [{
|
|
78
|
-
type: Input
|
|
79
|
-
}], cancelButtonTextTranslationKey: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], cancelButtonType: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], showModalSubject$: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], outputOnConfirm: [{
|
|
86
|
-
type: Input
|
|
87
|
-
}], confirmEvent: [{
|
|
88
|
-
type: Output
|
|
89
|
-
}] } });
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLW1vZGFsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY29uZmlybWF0aW9uLW1vZGFsL2NvbmZpcm1hdGlvbi1tb2RhbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NvbmZpcm1hdGlvbi1tb2RhbC9jb25maXJtYXRpb24tbW9kYWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFDSCxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQXFCLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4RixPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFDMUQsT0FBTyxFQUFDLGVBQWUsRUFBMkIsTUFBTSxNQUFNLENBQUM7Ozs7OztBQU8vRCxNQUFNLE9BQU8sMEJBQTBCO0lBTHZDO1F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9XCJjbG9zZU1vZGFsKClcIj5cbiAgICA8aDMgY2RzTW9kYWxIZWFkZXJIZWFkaW5nPlxuICAgICAge3tcbiAgICAgICAgKHRpdGxlVHJhbnNsYXRpb25LZXkgIT09IG9icy50aXRsZVRyYW5zbGF0aW9uID8gb2JzLnRpdGxlVHJhbnNsYXRpb24gOiAnJykgfHxcbiAgICAgICAgICB0aXRsZSB8fFxuICAgICAgICAgIG9icy5kZWxldGVUcmFuc2xhdGlvblxuICAgICAgfX1cbiAgICA8L2gzPlxuICA8L2Nkcy1tb2RhbC1oZWFkZXI+XG4gIDxzZWN0aW9uIGNkc01vZGFsQ29udGVudD5cbiAgICB7e1xuICAgICAgKGNvbnRlbnRUcmFuc2xhdGlvbktleSAhPT0gb2JzLmNvbnRlbnRUcmFuc2xhdGlvbiA/IG9icy5jb250ZW50VHJhbnNsYXRpb24gOiAnJykgfHxcbiAgICAgICAgY29udGVudCB8fFxuICAgICAgICBvYnMuZGVsZXRlQ29uZmlybWF0aW9uVHJhbnNsYXRpb25cbiAgICB9fVxuICA8L3NlY3Rpb24+XG4gIDxjZHMtbW9kYWwtZm9vdGVyPlxuICAgIDxuZy1jb250YWluZXI+XG4gICAgICA8YnV0dG9uXG4gICAgICAgIFthdHRyLm1vZGFsLXByaW1hcnktZm9jdXNdPVwidHJ1ZVwiXG4gICAgICAgIFtjZHNCdXR0b25dPVwiY2FuY2VsQnV0dG9uVHlwZVwiXG4gICAgICAgIChjbGljayk9XCJjbG9zZU1vZGFsKClcIlxuICAgICAgPlxuICAgICAgICB7e1xuICAgICAgICAgIChjYW5jZWxCdXR0b25UZXh0VHJhbnNsYXRpb25LZXkgIT09IG9icy5jYW5jZWxCdXR0b25UcmFuc2xhdGlvblxuICAgICAgICAgICAgPyBvYnMuY2FuY2VsQnV0dG9uVHJhbnNsYXRpb25cbiAgICAgICAgICAgIDogJycpIHx8XG4gICAgICAgICAgICBjYW5jZWxCdXR0b25UZXh0IHx8XG4gICAgICAgICAgICBvYnMuY2FuY2VsVHJhbnNsYXRpb25cbiAgICAgICAgfX1cbiAgICAgIDwvYnV0dG9uPlxuICAgICAgPGJ1dHRvbiBbYXR0ci5tb2RhbC1wcmltYXJ5LWZvY3VzXT1cInRydWVcIiBbY2RzQnV0dG9uXT1cImNvbmZpcm1CdXR0b25UeXBlXCIgKGNsaWNrKT1cImNvbmZpcm0oKVwiPlxuICAgICAgICB7e1xuICAgICAgICAgIChjb25maXJtQnV0dG9uVGV4dFRyYW5zbGF0aW9uS2V5ICE9PSBvYnMuY29uZmlybUJ1dHRvblRyYW5zbGF0aW9uXG4gICAgICAgICAgICA/IG9icy5jb25maXJtQnV0dG9uVHJhbnNsYXRpb25cbiAgICAgICAgICAgIDogJycpIHx8XG4gICAgICAgICAgICBjb25maXJtQnV0dG9uVGV4dCB8fFxuICAgICAgICAgICAgb2JzLmRlbGV0ZVRyYW5zbGF0aW9uXG4gICAgICAgIH19XG4gICAgICA8L2J1dHRvbj5cbiAgICA8L25nLWNvbnRhaW5lcj5cbiAgPC9jZHMtbW9kYWwtZm9vdGVyPlxuPC9jZHMtbW9kYWw+XG4iXX0=
|