@valtimo/components 10.8.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/{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/{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.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
|
@@ -28,10 +28,10 @@ export class SpinnerComponent {
|
|
|
28
28
|
this.fullScreen = false;
|
|
29
29
|
this.noMarginTop = false;
|
|
30
30
|
}
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SpinnerComponent, selector: "valtimo-spinner", inputs: { useBootstrapSpinner: "useBootstrapSpinner", name: "name", type: "type", size: "size", color: "color", bdColor: "bdColor", fullScreen: "fullScreen", noMarginTop: "noMarginTop" }, 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<ng-container *ngIf=\"useBootstrapSpinner; else ngxSpinner\">\n <div class=\"spinner-container\" [ngClass]=\"{'no-margin-top': noMarginTop}\">\n <div class=\"spinner-border text-primary\" role=\"status\">\n <span class=\"sr-only\">{{ 'interface.loading' | translate }}</span>\n </div>\n </div>\n</ng-container>\n\n<ng-template #ngxSpinner>\n <ngx-spinner\n [bdColor]=\"bdColor\"\n [fullScreen]=\"fullScreen\"\n [name]=\"name\"\n [color]=\"color\"\n [size]=\"size\"\n [type]=\"type\"\n >\n </ngx-spinner>\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 */.spinner-container{display:flex;justify-content:center;width:100%;margin-top:30px}.spinner-container.no-margin-top{margin-top:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NgxSpinnerComponent, selector: "ngx-spinner", inputs: ["bdColor", "size", "color", "type", "fullScreen", "name", "zIndex", "template", "showSpinner", "disableAnimation"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
31
33
|
}
|
|
32
|
-
|
|
33
|
-
SpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SpinnerComponent, selector: "valtimo-spinner", inputs: { useBootstrapSpinner: "useBootstrapSpinner", name: "name", type: "type", size: "size", color: "color", bdColor: "bdColor", fullScreen: "fullScreen", noMarginTop: "noMarginTop" }, 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<ng-container *ngIf=\"useBootstrapSpinner; else ngxSpinner\">\n <div class=\"spinner-container\" [ngClass]=\"{'no-margin-top': noMarginTop}\">\n <div class=\"spinner-border text-primary\" role=\"status\">\n <span class=\"sr-only\">{{ 'interface.loading' | translate }}</span>\n </div>\n </div>\n</ng-container>\n\n<ng-template #ngxSpinner>\n <ngx-spinner\n [bdColor]=\"bdColor\"\n [fullScreen]=\"fullScreen\"\n [name]=\"name\"\n [color]=\"color\"\n [size]=\"size\"\n [type]=\"type\"\n >\n </ngx-spinner>\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 */.spinner-container{display:flex;justify-content:center;width:100%;margin-top:30px}.spinner-container.no-margin-top{margin-top:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NgxSpinnerComponent, selector: "ngx-spinner", inputs: ["bdColor", "size", "color", "type", "fullScreen", "name", "zIndex", "template", "showSpinner", "disableAnimation"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
36
|
args: [{ selector: 'valtimo-spinner', 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<ng-container *ngIf=\"useBootstrapSpinner; else ngxSpinner\">\n <div class=\"spinner-container\" [ngClass]=\"{'no-margin-top': noMarginTop}\">\n <div class=\"spinner-border text-primary\" role=\"status\">\n <span class=\"sr-only\">{{ 'interface.loading' | translate }}</span>\n </div>\n </div>\n</ng-container>\n\n<ng-template #ngxSpinner>\n <ngx-spinner\n [bdColor]=\"bdColor\"\n [fullScreen]=\"fullScreen\"\n [name]=\"name\"\n [color]=\"color\"\n [size]=\"size\"\n [type]=\"type\"\n >\n </ngx-spinner>\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 */.spinner-container{display:flex;justify-content:center;width:100%;margin-top:30px}.spinner-container.no-margin-top{margin-top:0}\n"] }]
|
|
37
37
|
}], propDecorators: { useBootstrapSpinner: [{
|
|
@@ -51,4 +51,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
51
51
|
}], noMarginTop: [{
|
|
52
52
|
type: Input
|
|
53
53
|
}] } });
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NwaW5uZXIvc3Bpbm5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2Nv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ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICB+IGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICAtLT5cblxuPG5nLWNvbnRhaW5lciAqbmdJZj1cInVzZUJvb3RzdHJhcFNwaW5uZXI7IGVsc2Ugbmd4U3Bpbm5lclwiPlxuICA8ZGl2IGNsYXNzPVwic3Bpbm5lci1jb250YWluZXJcIiBbbmdDbGFzc109XCJ7J25vLW1hcmdpbi10b3AnOiBub01hcmdpblRvcH1cIj5cbiAgICA8ZGl2IGNsYXNzPVwic3Bpbm5lci1ib3JkZXIgdGV4dC1wcmltYXJ5XCIgcm9sZT1cInN0YXR1c1wiPlxuICAgICAgPHNwYW4gY2xhc3M9XCJzci1vbmx5XCI+e3sgJ2ludGVyZmFjZS5sb2FkaW5nJyB8IHRyYW5zbGF0ZSB9fTwvc3Bhbj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L25nLWNvbnRhaW5lcj5cblxuPG5nLXRlbXBsYXRlICNuZ3hTcGlubmVyPlxuICA8bmd4LXNwaW5uZXJcbiAgICBbYmRDb2xvcl09XCJiZENvbG9yXCJcbiAgICBbZnVsbFNjcmVlbl09XCJmdWxsU2NyZWVuXCJcbiAgICBbbmFtZV09XCJuYW1lXCJcbiAgICBbY29sb3JdPVwiY29sb3JcIlxuICAgIFtzaXplXT1cInNpemVcIlxuICAgIFt0eXBlXT1cInR5cGVcIlxuICA+XG4gIDwvbmd4LXNwaW5uZXI+XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -20,11 +20,11 @@ import { NgxSpinnerModule } from 'ngx-spinner';
|
|
|
20
20
|
import { TranslateModule } from '@ngx-translate/core';
|
|
21
21
|
import * as i0 from "@angular/core";
|
|
22
22
|
export class SpinnerModule {
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
24
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SpinnerModule, declarations: [SpinnerComponent], imports: [CommonModule, NgxSpinnerModule, TranslateModule], exports: [SpinnerComponent] }); }
|
|
25
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SpinnerModule, imports: [CommonModule, NgxSpinnerModule, TranslateModule] }); }
|
|
23
26
|
}
|
|
24
|
-
|
|
25
|
-
SpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: SpinnerModule, declarations: [SpinnerComponent], imports: [CommonModule, NgxSpinnerModule, TranslateModule], exports: [SpinnerComponent] });
|
|
26
|
-
SpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpinnerModule, imports: [CommonModule, NgxSpinnerModule, TranslateModule] });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpinnerModule, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SpinnerModule, decorators: [{
|
|
28
28
|
type: NgModule,
|
|
29
29
|
args: [{
|
|
30
30
|
declarations: [SpinnerComponent],
|
|
@@ -32,4 +32,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
32
32
|
imports: [CommonModule, NgxSpinnerModule, TranslateModule],
|
|
33
33
|
}]
|
|
34
34
|
}] });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5lci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uL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JhdGlvbnM6IFtTcGlubmVyQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW1NwaW5uZXJDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBOZ3hTcGlubmVyTW9kdWxlLCBUcmFuc2xhdGVNb2R1bGVdLFxufSlcbmV4cG9ydCBjbGFzcyBTcGlubmVyTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,91 @@
|
|
|
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 { StepperService } from '../../../services/stepper.service';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
import * as i1 from "../../../services/stepper.service";
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Migrate old design to Carbon
|
|
22
|
+
*/
|
|
23
|
+
export class StepperContainerComponent {
|
|
24
|
+
set disabled(disabled) {
|
|
25
|
+
if (disabled) {
|
|
26
|
+
this.stepperService.disable();
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
this.stepperService.enable();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
constructor(stepperService) {
|
|
33
|
+
this.stepperService = stepperService;
|
|
34
|
+
this.cancelClickEvent = new EventEmitter();
|
|
35
|
+
this.completeEvent = new EventEmitter();
|
|
36
|
+
this.nextStepEvent = new EventEmitter();
|
|
37
|
+
}
|
|
38
|
+
ngOnInit() {
|
|
39
|
+
this.openCancelClickSubscription();
|
|
40
|
+
this.openCompleteSubscription();
|
|
41
|
+
this.openNextStepSubscription();
|
|
42
|
+
this.openReturnToFirstStepSubscription();
|
|
43
|
+
}
|
|
44
|
+
ngOnDestroy() {
|
|
45
|
+
this.cancelClickSubscription?.unsubscribe();
|
|
46
|
+
this.completeSubscription?.unsubscribe();
|
|
47
|
+
this.nextStepSubscription?.unsubscribe();
|
|
48
|
+
this.cancelSubjectSubscription?.unsubscribe();
|
|
49
|
+
}
|
|
50
|
+
openCancelClickSubscription() {
|
|
51
|
+
this.cancelClickSubscription = this.stepperService.cancelClick$.subscribe(() => {
|
|
52
|
+
this.cancelClickEvent.emit();
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
openCompleteSubscription() {
|
|
56
|
+
this.completeSubscription = this.stepperService.complete$.subscribe(() => {
|
|
57
|
+
this.completeEvent.emit();
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
openNextStepSubscription() {
|
|
61
|
+
this.nextStepSubscription = this.stepperService.nextStep$.subscribe(currentStepIndex => {
|
|
62
|
+
this.nextStepEvent.emit(currentStepIndex);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
openReturnToFirstStepSubscription() {
|
|
66
|
+
if (this.returnToFirstStepSubject$) {
|
|
67
|
+
this.cancelSubjectSubscription = this.returnToFirstStepSubject$.subscribe(cancel => {
|
|
68
|
+
if (cancel) {
|
|
69
|
+
this.stepperService.returnToFirstStep();
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperContainerComponent, deps: [{ token: i1.StepperService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
75
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StepperContainerComponent, selector: "v-stepper-container", inputs: { returnToFirstStepSubject$: "returnToFirstStepSubject$", disabled: "disabled" }, outputs: { cancelClickEvent: "cancelClickEvent", completeEvent: "completeEvent", nextStepEvent: "nextStepEvent" }, providers: [StepperService], 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<ng-content></ng-content>\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"] }); }
|
|
76
|
+
}
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperContainerComponent, decorators: [{
|
|
78
|
+
type: Component,
|
|
79
|
+
args: [{ selector: 'v-stepper-container', providers: [StepperService], 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<ng-content></ng-content>\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"] }]
|
|
80
|
+
}], ctorParameters: function () { return [{ type: i1.StepperService }]; }, propDecorators: { returnToFirstStepSubject$: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], disabled: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], cancelClickEvent: [{
|
|
85
|
+
type: Output
|
|
86
|
+
}], completeEvent: [{
|
|
87
|
+
type: Output
|
|
88
|
+
}], nextStepEvent: [{
|
|
89
|
+
type: Output
|
|
90
|
+
}] } });
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9zdGVwcGVyL3N0ZXBwZXItY29udGFpbmVyL3N0ZXBwZXItY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbH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gSVNcIiBiYXNpcyxcbiAgfiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAgfiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gIH4gbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gIC0tPlxuXG48bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4iXX0=
|
|
@@ -0,0 +1,52 @@
|
|
|
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, ContentChildren } from '@angular/core';
|
|
17
|
+
import { StepperStepComponent } from '../stepper-step/stepper-step.component';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
import * as i1 from "../../../services/stepper.service";
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Migrate old design to Carbon
|
|
22
|
+
*/
|
|
23
|
+
export class StepperContentComponent {
|
|
24
|
+
constructor(stepperService) {
|
|
25
|
+
this.stepperService = stepperService;
|
|
26
|
+
}
|
|
27
|
+
ngAfterContentInit() {
|
|
28
|
+
this.setStepNumbers();
|
|
29
|
+
}
|
|
30
|
+
setStepNumbers() {
|
|
31
|
+
this.stepComponents.forEach((stepComponent, index) => {
|
|
32
|
+
stepComponent.stepIndex$.next(index);
|
|
33
|
+
});
|
|
34
|
+
this.setStepsInService();
|
|
35
|
+
}
|
|
36
|
+
setStepsInService() {
|
|
37
|
+
this.stepperService.setSteps(this.stepComponents.map(stepComponent => ({
|
|
38
|
+
titleTranslationKey: stepComponent.titleTranslationKey,
|
|
39
|
+
stepIndex: stepComponent.stepIndex$.getValue(),
|
|
40
|
+
})));
|
|
41
|
+
}
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperContentComponent, deps: [{ token: i1.StepperService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
43
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StepperContentComponent, selector: "v-stepper-content", queries: [{ propertyName: "stepComponents", predicate: StepperStepComponent }], 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<ng-content></ng-content>\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"] }); }
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperContentComponent, decorators: [{
|
|
46
|
+
type: Component,
|
|
47
|
+
args: [{ selector: 'v-stepper-content', 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<ng-content></ng-content>\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"] }]
|
|
48
|
+
}], ctorParameters: function () { return [{ type: i1.StepperService }]; }, propDecorators: { stepComponents: [{
|
|
49
|
+
type: ContentChildren,
|
|
50
|
+
args: [StepperStepComponent]
|
|
51
|
+
}] } });
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci1jb250ZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4u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aW51cC5lYy5ldXJvcGEuZXUvY29sbGVjdGlvbi9ldXBsL2V1cGwtdGV4dC1ldXBsLTEyXG4gIH5cbiAgfiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gIH4gZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIGJhc2lzLFxuICB+IFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICB+IFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAgfiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAgLS0+XG5cbjxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
|
|
@@ -0,0 +1,43 @@
|
|
|
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, ContentChildren } from '@angular/core';
|
|
17
|
+
import { StepperFooterStepComponent } from '../stepper-footer-step/stepper-footer-step.component';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Migrate old design to Carbon
|
|
21
|
+
*/
|
|
22
|
+
export class StepperFooterComponent {
|
|
23
|
+
ngAfterContentInit() {
|
|
24
|
+
this.setStepNumbers();
|
|
25
|
+
}
|
|
26
|
+
setStepNumbers() {
|
|
27
|
+
const footerStepComponents = this.footerStepComponents;
|
|
28
|
+
footerStepComponents.forEach((footerStepComponent, index) => {
|
|
29
|
+
footerStepComponent.stepIndex$.next(index);
|
|
30
|
+
footerStepComponent.isLastStep$.next(index === footerStepComponents.length - 1);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StepperFooterComponent, selector: "v-stepper-footer", queries: [{ propertyName: "footerStepComponents", predicate: StepperFooterStepComponent }], 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<ng-content></ng-content>\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"] }); }
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperFooterComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{ selector: 'v-stepper-footer', 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<ng-content></ng-content>\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"] }]
|
|
39
|
+
}], propDecorators: { footerStepComponents: [{
|
|
40
|
+
type: ContentChildren,
|
|
41
|
+
args: [StepperFooterStepComponent]
|
|
42
|
+
}] } });
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci1mb290ZXIuY29tcG9uZW50LmpzIiw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LS0+XG5cbjxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
|
|
@@ -0,0 +1,71 @@
|
|
|
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, Input } from '@angular/core';
|
|
17
|
+
import { BehaviorSubject } from 'rxjs';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
import * as i1 from "../../../services/stepper.service";
|
|
20
|
+
import * as i2 from "@angular/common";
|
|
21
|
+
import * as i3 from "../../button/button.component";
|
|
22
|
+
import * as i4 from "@ngx-translate/core";
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated Migrate old design to Carbon
|
|
25
|
+
*/
|
|
26
|
+
export class StepperFooterStepComponent {
|
|
27
|
+
constructor(stepperService) {
|
|
28
|
+
this.stepperService = stepperService;
|
|
29
|
+
this.nextButtonEnabled = false;
|
|
30
|
+
this.completeButtonEnabled = false;
|
|
31
|
+
this.nextButtonTranslationKey = '';
|
|
32
|
+
this.cancelButtonTranslationKey = '';
|
|
33
|
+
this.completeButtonTranslationKey = '';
|
|
34
|
+
this.completeButtonMdiIcon = '';
|
|
35
|
+
this.showCompleteButton = true;
|
|
36
|
+
this.stepIndex$ = new BehaviorSubject(-1);
|
|
37
|
+
this.isLastStep$ = new BehaviorSubject(false);
|
|
38
|
+
this.currentStepIndex$ = this.stepperService.currentStepIndex$;
|
|
39
|
+
this.disabled$ = this.stepperService.disabled$;
|
|
40
|
+
}
|
|
41
|
+
goToNextStep() {
|
|
42
|
+
this.stepperService.goToNextStep();
|
|
43
|
+
}
|
|
44
|
+
cancel() {
|
|
45
|
+
this.stepperService.cancelClick();
|
|
46
|
+
}
|
|
47
|
+
complete() {
|
|
48
|
+
this.stepperService.complete();
|
|
49
|
+
}
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperFooterStepComponent, deps: [{ token: i1.StepperService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
51
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StepperFooterStepComponent, selector: "v-stepper-footer-step", inputs: { nextButtonEnabled: "nextButtonEnabled", completeButtonEnabled: "completeButtonEnabled", nextButtonTranslationKey: "nextButtonTranslationKey", cancelButtonTranslationKey: "cancelButtonTranslationKey", completeButtonTranslationKey: "completeButtonTranslationKey", completeButtonMdiIcon: "completeButtonMdiIcon", showCompleteButton: "showCompleteButton" }, 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=\"stepper-footer-step\" *ngIf=\"(currentStepIndex$ | async) === (stepIndex$ | async)\">\n <ng-container *ngIf=\"{disabled: disabled$ | async, isLastStep: isLastStep$ | async} as obs\">\n <ng-container\n *ngTemplateOutlet=\"cancelButton; context: {disabled: obs.disabled}\"\n ></ng-container>\n <ng-container *ngIf=\"obs.isLastStep === false\">\n <ng-container\n *ngTemplateOutlet=\"nextButton; context: {disabled: obs.disabled}\"\n ></ng-container>\n </ng-container>\n <ng-container *ngIf=\"obs.isLastStep === true && showCompleteButton\">\n <ng-container\n *ngTemplateOutlet=\"completeButton; context: {disabled: obs.disabled}\"\n ></ng-container>\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #cancelButton let-disabled=\"disabled\">\n <v-button (clickEvent)=\"cancel()\" type=\"secondary\" [disabled]=\"disabled\">{{\n cancelButtonTranslationKey\n ? (cancelButtonTranslationKey | translate)\n : ('stepper.cancelButtonText' | translate)\n }}</v-button>\n</ng-template>\n\n<ng-template #nextButton let-disabled=\"disabled\">\n <v-button\n [disabled]=\"!nextButtonEnabled || disabled\"\n (clickEvent)=\"goToNextStep()\"\n mdiIcon=\"arrow-right\"\n >{{\n nextButtonTranslationKey\n ? (nextButtonTranslationKey | translate)\n : ('stepper.nextButtonText' | translate)\n }}</v-button\n >\n</ng-template>\n\n<ng-template #completeButton let-disabled=\"disabled\">\n <v-button\n [disabled]=\"!completeButtonEnabled || disabled\"\n (clickEvent)=\"complete()\"\n [mdiIcon]=\"completeButtonMdiIcon || 'check'\"\n type=\"success\"\n >{{\n completeButtonTranslationKey\n ? (completeButtonTranslationKey | translate)\n : ('stepper.completeButtonText' | translate)\n }}</v-button\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 */.stepper-footer-step{display:flex;width:100%;flex-direction:row;justify-content:space-between}\n"], dependencies: [{ 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.ButtonComponent, selector: "v-button", inputs: ["type", "mdiIcon", "disabled", "title", "titleTranslationKey"], outputs: ["clickEvent"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] }); }
|
|
52
|
+
}
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperFooterStepComponent, decorators: [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'v-stepper-footer-step', 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=\"stepper-footer-step\" *ngIf=\"(currentStepIndex$ | async) === (stepIndex$ | async)\">\n <ng-container *ngIf=\"{disabled: disabled$ | async, isLastStep: isLastStep$ | async} as obs\">\n <ng-container\n *ngTemplateOutlet=\"cancelButton; context: {disabled: obs.disabled}\"\n ></ng-container>\n <ng-container *ngIf=\"obs.isLastStep === false\">\n <ng-container\n *ngTemplateOutlet=\"nextButton; context: {disabled: obs.disabled}\"\n ></ng-container>\n </ng-container>\n <ng-container *ngIf=\"obs.isLastStep === true && showCompleteButton\">\n <ng-container\n *ngTemplateOutlet=\"completeButton; context: {disabled: obs.disabled}\"\n ></ng-container>\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #cancelButton let-disabled=\"disabled\">\n <v-button (clickEvent)=\"cancel()\" type=\"secondary\" [disabled]=\"disabled\">{{\n cancelButtonTranslationKey\n ? (cancelButtonTranslationKey | translate)\n : ('stepper.cancelButtonText' | translate)\n }}</v-button>\n</ng-template>\n\n<ng-template #nextButton let-disabled=\"disabled\">\n <v-button\n [disabled]=\"!nextButtonEnabled || disabled\"\n (clickEvent)=\"goToNextStep()\"\n mdiIcon=\"arrow-right\"\n >{{\n nextButtonTranslationKey\n ? (nextButtonTranslationKey | translate)\n : ('stepper.nextButtonText' | translate)\n }}</v-button\n >\n</ng-template>\n\n<ng-template #completeButton let-disabled=\"disabled\">\n <v-button\n [disabled]=\"!completeButtonEnabled || disabled\"\n (clickEvent)=\"complete()\"\n [mdiIcon]=\"completeButtonMdiIcon || 'check'\"\n type=\"success\"\n >{{\n completeButtonTranslationKey\n ? (completeButtonTranslationKey | translate)\n : ('stepper.completeButtonText' | translate)\n }}</v-button\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 */.stepper-footer-step{display:flex;width:100%;flex-direction:row;justify-content:space-between}\n"] }]
|
|
56
|
+
}], ctorParameters: function () { return [{ type: i1.StepperService }]; }, propDecorators: { nextButtonEnabled: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], completeButtonEnabled: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}], nextButtonTranslationKey: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], cancelButtonTranslationKey: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], completeButtonTranslationKey: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], completeButtonMdiIcon: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], showCompleteButton: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}] } });
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci1mb290ZXItc3RlcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3N0ZXBwZXIvc3RlcHBlci1mb290ZXItc3RlcC9zdGVwcGVyLWZvb3Rlci1zdGVwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc3RlcHBlci9zdGVwcGVyLWZvb3Rlci1zdGVwL3N0ZXBwZXItZm9vdGVyLXN0ZXAuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFFSCxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUUvQyxPQUFPLEVBQUMsZUFBZSxFQUFhLE1BQU0sTUFBTSxDQUFDOzs7Ozs7QUFFakQ7O0dBRUc7QUFNSCxNQUFNLE9BQU8sMEJBQTBCO0lBZXJDLFlBQTZCLGNBQThCO1FBQTlCLG1CQUFjLEdBQWQsY0FBYyxDQUFnQjtRQWRsRCxzQkFBaUIsR0FBRyxLQUFLLENBQUM7UUFDM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JyB8IHRyYW5zbGF0ZSlcbiAgICB9fTwvdi1idXR0b25cbiAgPlxuPC9uZy10ZW1wbGF0ZT5cblxuPG5nLXRlbXBsYXRlICNjb21wbGV0ZUJ1dHRvbiBsZXQtZGlzYWJsZWQ9XCJkaXNhYmxlZFwiPlxuICA8di1idXR0b25cbiAgICBbZGlzYWJsZWRdPVwiIWNvbXBsZXRlQnV0dG9uRW5hYmxlZCB8fCBkaXNhYmxlZFwiXG4gICAgKGNsaWNrRXZlbnQpPVwiY29tcGxldGUoKVwiXG4gICAgW21kaUljb25dPVwiY29tcGxldGVCdXR0b25NZGlJY29uIHx8ICdjaGVjaydcIlxuICAgIHR5cGU9XCJzdWNjZXNzXCJcbiAgICA+e3tcbiAgICAgIGNvbXBsZXRlQnV0dG9uVHJhbnNsYXRpb25LZXlcbiAgICAgICAgPyAoY29tcGxldGVCdXR0b25UcmFuc2xhdGlvbktleSB8IHRyYW5zbGF0ZSlcbiAgICAgICAgOiAoJ3N0ZXBwZXIuY29tcGxldGVCdXR0b25UZXh0JyB8IHRyYW5zbGF0ZSlcbiAgICB9fTwvdi1idXR0b25cbiAgPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -0,0 +1,37 @@
|
|
|
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 } from '@angular/core';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
import * as i1 from "../../../services/stepper.service";
|
|
19
|
+
import * as i2 from "@angular/common";
|
|
20
|
+
import * as i3 from "@ngx-translate/core";
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Migrate old design to Carbon
|
|
23
|
+
*/
|
|
24
|
+
export class StepperHeaderComponent {
|
|
25
|
+
constructor(stepperService) {
|
|
26
|
+
this.stepperService = stepperService;
|
|
27
|
+
this.steps$ = this.stepperService.steps$;
|
|
28
|
+
this.currentStepIndex$ = this.stepperService.currentStepIndex$;
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperHeaderComponent, deps: [{ token: i1.StepperService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StepperHeaderComponent, selector: "v-stepper-header", 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=\"stepper-header\" *ngIf=\"{currentStepIndex: currentStepIndex$ | async} as obs\">\n <div\n *ngFor=\"let step of steps$ | async\"\n class=\"stepper-header__step\"\n [ngClass]=\"{\n 'stepper-header__step--active': step.stepIndex <= obs.currentStepIndex,\n 'stepper-header__step--last': step.isLast\n }\"\n >\n <div\n class=\"stepper-header__step-progress-bar\"\n [ngClass]=\"{\n 'stepper-header__step-progress-bar--first': step.isFirst,\n 'stepper-header__step-progress-bar--last': step.isLast\n }\"\n >\n <div\n class=\"stepper-header__step-active-bar\"\n [ngClass]=\"{\n 'stepper-header__step-active-bar--visible': step.stepIndex <= obs.currentStepIndex,\n 'stepper-header__step-active-bar--last-visible':\n step.stepIndex === obs.currentStepIndex && !step.isLast\n }\"\n ></div>\n </div>\n <span\n class=\"stepper-header__step-number\"\n [ngClass]=\"{\n 'stepper-header__step-number--active': step.stepIndex <= obs.currentStepIndex\n }\"\n >{{ step.stepIndex + 1 }}</span\n >\n <span\n class=\"stepper-header__step-title\"\n [ngClass]=\"{\n 'stepper-header__step-title--active': step.stepIndex <= obs.currentStepIndex\n }\"\n >{{ step.titleTranslationKey | translate }}</span\n >\n </div>\n</div>\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 */.stepper-header{display:flex;flex-direction:row;width:100%;justify-content:center}.stepper-header__step{position:relative;display:flex;flex-direction:column;align-items:center;padding-inline-end:var(--v-stepper-header-step-spacing-inline)}.stepper-header__step--last{margin-inline-end:calc(0px - var(--v-stepper-header-step-spacing-inline))}.stepper-header__step-progress-bar{position:absolute;background-color:var(--v-stepper-header-progress-bar-bg-color);width:100%;height:var(--v-stepper-header-progress-bar-height);top:var(--v-stepper-header-progress-bar-spacing-top);display:flex;align-items:center}.stepper-header__step-progress-bar--first{width:50%;transform:translate(50%)}.stepper-header__step-progress-bar--last{width:50%;transform:translate(-50%)}.stepper-header__step-active-bar{height:var(--v-stepper-header-active-bar-height);width:0;background-color:var(--v-stepper-header-active-bar-bg-color)}.stepper-header__step-active-bar--visible{width:calc(100% + 2px);margin:0 -1px}.stepper-header__step-active-bar--last-visible{width:calc(75% + 2px);border-top-right-radius:var(--v-stepper-header-active-bar-border-radius);border-bottom-right-radius:var(--v-stepper-header-active-bar-border-radius)}.stepper-header__step-number{position:relative;display:flex;align-items:center;justify-content:center;width:var(--v-stepper-header-number-circle-width);height:var(--v-stepper-header-number-circle-height);border-radius:50%;background-color:var(--v-stepper-header-bg-color);color:var(--v-stepper-header-font-color);font-size:var(--v-stepper-header-font-size);font-weight:var(--v-stepper-header-font-weight);line-height:var(--v-stepper-header-line-height);margin-block-end:var(--v-stepper-header-number-spacing-block)}.stepper-header__step-number--active{background-color:var(--v-stepper-header-active-bg-color);border:var(--v-stepper-header-number-active-border);color:var(--v-stepper-header-number-active-font-color);width:var(--v-stepper-header-number-circle-width-active);height:var(--v-stepper-header-number-circle-height-active);margin-block-end:var(--v-stepper-header-number-spacing-block-active)}.stepper-header__step-title{position:relative;font-size:var(--v-stepper-header-font-size);font-weight:var(--v-stepper-header-font-weight);line-height:var(--v-stepper-header-line-height);color:var(--v-stepper-header-step-title-font-color)}.stepper-header__step-title--active{color:var(--v-stepper-header-active-bg-color)}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperHeaderComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'v-stepper-header', 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=\"stepper-header\" *ngIf=\"{currentStepIndex: currentStepIndex$ | async} as obs\">\n <div\n *ngFor=\"let step of steps$ | async\"\n class=\"stepper-header__step\"\n [ngClass]=\"{\n 'stepper-header__step--active': step.stepIndex <= obs.currentStepIndex,\n 'stepper-header__step--last': step.isLast\n }\"\n >\n <div\n class=\"stepper-header__step-progress-bar\"\n [ngClass]=\"{\n 'stepper-header__step-progress-bar--first': step.isFirst,\n 'stepper-header__step-progress-bar--last': step.isLast\n }\"\n >\n <div\n class=\"stepper-header__step-active-bar\"\n [ngClass]=\"{\n 'stepper-header__step-active-bar--visible': step.stepIndex <= obs.currentStepIndex,\n 'stepper-header__step-active-bar--last-visible':\n step.stepIndex === obs.currentStepIndex && !step.isLast\n }\"\n ></div>\n </div>\n <span\n class=\"stepper-header__step-number\"\n [ngClass]=\"{\n 'stepper-header__step-number--active': step.stepIndex <= obs.currentStepIndex\n }\"\n >{{ step.stepIndex + 1 }}</span\n >\n <span\n class=\"stepper-header__step-title\"\n [ngClass]=\"{\n 'stepper-header__step-title--active': step.stepIndex <= obs.currentStepIndex\n }\"\n >{{ step.titleTranslationKey | translate }}</span\n >\n </div>\n</div>\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 */.stepper-header{display:flex;flex-direction:row;width:100%;justify-content:center}.stepper-header__step{position:relative;display:flex;flex-direction:column;align-items:center;padding-inline-end:var(--v-stepper-header-step-spacing-inline)}.stepper-header__step--last{margin-inline-end:calc(0px - var(--v-stepper-header-step-spacing-inline))}.stepper-header__step-progress-bar{position:absolute;background-color:var(--v-stepper-header-progress-bar-bg-color);width:100%;height:var(--v-stepper-header-progress-bar-height);top:var(--v-stepper-header-progress-bar-spacing-top);display:flex;align-items:center}.stepper-header__step-progress-bar--first{width:50%;transform:translate(50%)}.stepper-header__step-progress-bar--last{width:50%;transform:translate(-50%)}.stepper-header__step-active-bar{height:var(--v-stepper-header-active-bar-height);width:0;background-color:var(--v-stepper-header-active-bar-bg-color)}.stepper-header__step-active-bar--visible{width:calc(100% + 2px);margin:0 -1px}.stepper-header__step-active-bar--last-visible{width:calc(75% + 2px);border-top-right-radius:var(--v-stepper-header-active-bar-border-radius);border-bottom-right-radius:var(--v-stepper-header-active-bar-border-radius)}.stepper-header__step-number{position:relative;display:flex;align-items:center;justify-content:center;width:var(--v-stepper-header-number-circle-width);height:var(--v-stepper-header-number-circle-height);border-radius:50%;background-color:var(--v-stepper-header-bg-color);color:var(--v-stepper-header-font-color);font-size:var(--v-stepper-header-font-size);font-weight:var(--v-stepper-header-font-weight);line-height:var(--v-stepper-header-line-height);margin-block-end:var(--v-stepper-header-number-spacing-block)}.stepper-header__step-number--active{background-color:var(--v-stepper-header-active-bg-color);border:var(--v-stepper-header-number-active-border);color:var(--v-stepper-header-number-active-font-color);width:var(--v-stepper-header-number-circle-width-active);height:var(--v-stepper-header-number-circle-height-active);margin-block-end:var(--v-stepper-header-number-spacing-block-active)}.stepper-header__step-title{position:relative;font-size:var(--v-stepper-header-font-size);font-weight:var(--v-stepper-header-font-weight);line-height:var(--v-stepper-header-line-height);color:var(--v-stepper-header-step-title-font-color)}.stepper-header__step-title--active{color:var(--v-stepper-header-active-bg-color)}\n"] }]
|
|
36
|
+
}], ctorParameters: function () { return [{ type: i1.StepperService }]; } });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9zdGVwcGVyL3N0ZXBwZXItaGVhZGVyL3N0ZXBwZXItaGVhZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc3RlcHBlci9zdGVwcGVyLWhlYWRlci9zdGVwcGVyLWhlYWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7O0FBS3hDOztHQUVHO0FBTUgsTUFBTSxPQUFPLHNCQUFzQjtJQUlqQyxZQUE2QixjQUE4QjtRQUE5QixtQkFBYyxHQUFkLGNBQWMsQ0FBZ0I7UUFIM0QsV0FBTSxHQUE0QixJQUFJLENBQUMsY0FBYyxDQUFDLE1BQU0sQ0FBQztRQUM3RCxzQkFBaUIsR0FBdUIsSUFBSSxDQUFDLGNBQWMsQ0FBQyxpQkFBaUIsQ0FBQztJQUVoQixDQUFDOytHQUpwRCxzQkFBc0I7bUdBQXRCLHNCQUFzQix3REM3Qm5DLDBnRUF5REE7OzR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uZ0NsYXNzXT1cIntcbiAgICAgICAgJ3N0ZXBwZXItaGVhZGVyX19zdGVwLXRpdGxlLS1hY3RpdmUnOiBzdGVwLnN0ZXBJbmRleCA8PSBvYnMuY3VycmVudFN0ZXBJbmRleFxuICAgICAgfVwiXG4gICAgICA+e3sgc3RlcC50aXRsZVRyYW5zbGF0aW9uS2V5IHwgdHJhbnNsYXRlIH19PC9zcGFuXG4gICAgPlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,39 @@
|
|
|
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, Input } from '@angular/core';
|
|
17
|
+
import { BehaviorSubject } from 'rxjs';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
import * as i1 from "../../../services/stepper.service";
|
|
20
|
+
import * as i2 from "@angular/common";
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Migrate old design to Carbon
|
|
23
|
+
*/
|
|
24
|
+
export class StepperStepComponent {
|
|
25
|
+
constructor(stepperService) {
|
|
26
|
+
this.stepperService = stepperService;
|
|
27
|
+
this.stepIndex$ = new BehaviorSubject(-1);
|
|
28
|
+
this.currentStepIndex$ = this.stepperService.currentStepIndex$;
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperStepComponent, deps: [{ token: i1.StepperService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StepperStepComponent, selector: "v-stepper-step", inputs: { titleTranslationKey: "titleTranslationKey" }, 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<ng-container *ngIf=\"(currentStepIndex$ | async) === (stepIndex$ | async)\">\n <ng-content></ng-content>\n</ng-container>\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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepperStepComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'v-stepper-step', 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<ng-container *ngIf=\"(currentStepIndex$ | async) === (stepIndex$ | async)\">\n <ng-content></ng-content>\n</ng-container>\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"] }]
|
|
36
|
+
}], ctorParameters: function () { return [{ type: i1.StepperService }]; }, propDecorators: { titleTranslationKey: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}] } });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci1zdGVwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc3RlcHBlci9zdGVwcGVyLXN0ZXAvc3RlcHBlci1zdGVwLmNvbXBvbmVudC50cyIsIi4uLy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