@valtimo/components 12.14.0 → 13.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.scss +6 -1
- package/assets/css/color.scss +1 -1
- package/assets/css/compatibility.scss +51 -3
- package/assets/css/design-tokens.css +1 -1
- package/assets/css/formio-carbon.scss +16 -0
- package/assets/css/ng-multiselect-dropdown.theme.scss +1 -1
- package/fesm2022/valtimo-components.mjs +1854 -2411
- package/fesm2022/valtimo-components.mjs.map +1 -1
- package/lib/components/alert/alert.component.d.ts.map +1 -1
- package/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.d.ts +2 -2
- package/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.d.ts.map +1 -1
- package/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.d.ts.map +1 -1
- package/lib/components/breadcrumb-navigation/breadcrumb.service.d.ts +7 -4
- package/lib/components/breadcrumb-navigation/breadcrumb.service.d.ts.map +1 -1
- package/lib/components/camunda/form/camunda-form.components.d.ts.map +1 -1
- package/lib/components/camunda/form/custom/camunda-custom-form.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/camunda-generated-form.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/camunda-formfield-generator.directive.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/date/camunda-date-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/long/camunda-long-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/string/camunda-string-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.d.ts.map +1 -1
- package/lib/components/carbon-list/CarbonListFilterPipe.directive.d.ts.map +1 -1
- package/lib/components/carbon-list/carbon-list.component.d.ts +3 -2
- package/lib/components/carbon-list/carbon-list.component.d.ts.map +1 -1
- package/lib/components/carbon-list/carbon-list.module.d.ts +8 -9
- package/lib/components/carbon-list/carbon-list.module.d.ts.map +1 -1
- package/lib/components/carbon-list/no-results/carbon-no-results.component.d.ts.map +1 -1
- package/lib/components/carbon-list/tags-modal/tags-modal.component.d.ts.map +1 -1
- package/lib/components/confirmation-modal/confirmation-modal.component.d.ts +1 -1
- package/lib/components/confirmation-modal/confirmation-modal.component.d.ts.map +1 -1
- package/lib/components/confirmation-modal/confirmation-modal.module.d.ts +2 -2
- package/lib/components/confirmation-modal/confirmation-modal.module.d.ts.map +1 -1
- package/lib/components/data-list/data-list.component.d.ts.map +1 -1
- package/lib/components/date-picker/date-picker.component.d.ts.map +1 -1
- package/lib/components/dropzone/dropzone.component.d.ts.map +1 -1
- package/lib/components/editor/editor.component.d.ts.map +1 -1
- package/lib/components/editor/editor.module.d.ts +2 -2
- package/lib/components/editor/editor.service.d.ts.map +1 -1
- package/lib/components/expansion-panel/expansion-panel.component.d.ts.map +1 -1
- package/lib/components/field-auto-focus/field-auto-focus.directive.d.ts.map +1 -1
- package/lib/components/file-size/file-size.pipe.d.ts.map +1 -1
- package/lib/components/filter-sidebar/filter-sidebar.component.d.ts.map +1 -1
- package/lib/components/form/form.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-builder.component.d.ts +14 -4
- package/lib/components/form-io/form-io-builder.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-builder.utils.d.ts.map +1 -1
- package/lib/components/form-io/form-io-currency/currency.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-currency/currency.formio.d.ts.map +1 -1
- package/lib/components/form-io/form-io-current-user/form-io-current-user.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-dummy/dummy.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-dummy/dummy.formio.d.ts.map +1 -1
- package/lib/components/form-io/form-io-iban/iban.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-iban/iban.formio.d.ts.map +1 -1
- package/lib/components/form-io/form-io-iban/iban.validators.d.ts.map +1 -1
- package/lib/components/form-io/form-io-uploader/form-io-uploader.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io.component.d.ts +7 -4
- package/lib/components/form-io/form-io.component.d.ts.map +1 -1
- package/lib/components/form-io/formio-config.d.ts +1 -1
- package/lib/components/form-io/formio-config.d.ts.map +1 -1
- package/lib/components/form-io/services/form-io.tags.service.d.ts +11 -0
- package/lib/components/form-io/services/form-io.tags.service.d.ts.map +1 -0
- package/lib/components/input/input.component.d.ts +3 -0
- package/lib/components/input/input.component.d.ts.map +1 -1
- package/lib/components/input/input.module.d.ts +2 -3
- package/lib/components/input/input.module.d.ts.map +1 -1
- package/lib/components/input-label/input-label.component.d.ts.map +1 -1
- package/lib/components/left-sidebar/left-sidebar.component.d.ts +1 -1
- package/lib/components/left-sidebar/left-sidebar.component.d.ts.map +1 -1
- package/lib/components/left-sidebar/left-sidebar.module.d.ts +2 -2
- package/lib/components/menu/menu-item-text.component.d.ts +1 -1
- package/lib/components/menu/menu-item-text.component.d.ts.map +1 -1
- package/lib/components/menu/menu.service.d.ts +8 -4
- package/lib/components/menu/menu.service.d.ts.map +1 -1
- package/lib/components/modal/modal.component.d.ts.map +1 -1
- package/lib/components/multi-input/carbon-multi-input.component.d.ts +3 -3
- package/lib/components/multi-input/carbon-multi-input.component.d.ts.map +1 -1
- package/lib/components/multi-input/carbon-multi-input.module.d.ts +10 -11
- package/lib/components/multi-input/carbon-multi-input.module.d.ts.map +1 -1
- package/lib/components/multi-input/components/key-value/key-value.component.d.ts.map +1 -1
- package/lib/components/multi-input/components/key-value-path-selector/key-value-path-selector.component.d.ts +3 -3
- package/lib/components/multi-input/components/key-value-path-selector/key-value-path-selector.component.d.ts.map +1 -1
- package/lib/components/multi-input/components/value-path-selector-dropdown-value/value-path-selector-dropdown-value.component.d.ts +3 -3
- package/lib/components/multi-input/components/value-path-selector-dropdown-value/value-path-selector-dropdown-value.component.d.ts.map +1 -1
- package/lib/components/multi-input/components/value-path-selector-value/value-path-selector-value.component.d.ts +3 -3
- package/lib/components/multi-input/components/value-path-selector-value/value-path-selector-value.component.d.ts.map +1 -1
- package/lib/components/multi-input-form/multi-input-form.component.d.ts +3 -0
- package/lib/components/multi-input-form/multi-input-form.component.d.ts.map +1 -1
- package/lib/components/multi-input-form/multi-input-form.module.d.ts +2 -2
- package/lib/components/multi-input-form/multi-input-form.module.d.ts.map +1 -1
- package/lib/components/multiselect-dropdown/multiselect-dropdown.component.d.ts.map +1 -1
- package/lib/components/page-header/page-header.component.d.ts.map +1 -1
- package/lib/components/page-header/page-header.module.d.ts +2 -2
- package/lib/components/page-subtitle/page-subtitle.component.d.ts.map +1 -1
- package/lib/components/page-title/page-title.component.d.ts +1 -1
- package/lib/components/page-title/page-title.component.d.ts.map +1 -1
- package/lib/components/paragraph/paragraph.component.d.ts.map +1 -1
- package/lib/components/progress-bar/progress-bar.component.d.ts.map +1 -1
- package/lib/components/prompt/prompt.component.d.ts +0 -4
- package/lib/components/prompt/prompt.component.d.ts.map +1 -1
- package/lib/components/prompt/prompt.module.d.ts +3 -4
- package/lib/components/prompt/prompt.module.d.ts.map +1 -1
- package/lib/components/radio/radio.component.d.ts.map +1 -1
- package/lib/components/radio/radio.module.d.ts +2 -3
- package/lib/components/radio/radio.module.d.ts.map +1 -1
- package/lib/components/render-in-body/render-in-body.component.d.ts +14 -0
- package/lib/components/render-in-body/render-in-body.component.d.ts.map +1 -0
- package/lib/components/right-sidebar/right-sidebar.component.d.ts +1 -1
- package/lib/components/right-sidebar/right-sidebar.component.d.ts.map +1 -1
- package/lib/components/search-fields/search-fields.component.d.ts +5 -5
- package/lib/components/search-fields/search-fields.component.d.ts.map +1 -1
- package/lib/components/searchable-dropdown/searchable-dropdown.component.d.ts.map +1 -1
- package/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.d.ts.map +1 -1
- package/lib/components/select/select.component.d.ts.map +1 -1
- package/lib/components/spinner/spinner.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-container/stepper-container.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-content/stepper-content.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-footer/stepper-footer.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-footer-step/stepper-footer-step.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-header/stepper-header.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-step/stepper-step.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper.module.d.ts +2 -3
- package/lib/components/stepper/stepper.module.d.ts.map +1 -1
- package/lib/components/table/table.component.d.ts.map +1 -1
- package/lib/components/table/table.module.d.ts +1 -1
- package/lib/components/timeline/timeline.component.d.ts +7 -3
- package/lib/components/timeline/timeline.component.d.ts.map +1 -1
- package/lib/components/timeline/timeline.module.d.ts +2 -1
- package/lib/components/timeline/timeline.module.d.ts.map +1 -1
- package/lib/components/tooltip-icon/tooltip-icon.component.d.ts.map +1 -1
- package/lib/components/topbar/topbar.component.d.ts +1 -1
- package/lib/components/topbar/topbar.component.d.ts.map +1 -1
- package/lib/components/uploader/uploader-drag-drop.directive.d.ts.map +1 -1
- package/lib/components/uploader/uploader.component.d.ts.map +1 -1
- package/lib/components/v-modal/modal.component.d.ts.map +1 -1
- package/lib/components/v-modal/modal.module.d.ts +2 -6
- package/lib/components/v-modal/modal.module.d.ts.map +1 -1
- package/lib/components/value-path-selector/value-path-selector.component.d.ts +11 -12
- package/lib/components/value-path-selector/value-path-selector.component.d.ts.map +1 -1
- package/lib/components/version/version.service.d.ts +1 -1
- package/lib/components/webcam/webcam.component.d.ts.map +1 -1
- package/lib/components/widget/widget.component.d.ts.map +1 -1
- package/lib/constants/carbon.constants.d.ts +0 -1
- package/lib/constants/carbon.constants.d.ts.map +1 -1
- package/lib/directives/{command-click/command-click.directive.d.ts → ctrl-click/ctrl-click.directive.d.ts} +2 -2
- package/lib/directives/ctrl-click/ctrl-click.directive.d.ts.map +1 -0
- package/lib/directives/digit-only/digit-only.directive.d.ts.map +1 -1
- package/lib/directives/fit-page/fit-page.directive.d.ts +6 -2
- package/lib/directives/fit-page/fit-page.directive.d.ts.map +1 -1
- package/lib/directives/muuri/muuri-directive.module.d.ts +10 -0
- package/lib/directives/muuri/muuri-directive.module.d.ts.map +1 -0
- package/lib/directives/muuri/muuri-item.component.d.ts +8 -0
- package/lib/directives/muuri/muuri-item.component.d.ts.map +1 -0
- package/lib/directives/muuri/muuri.directive.d.ts +27 -0
- package/lib/directives/muuri/muuri.directive.d.ts.map +1 -0
- package/lib/directives/read-only.directive.d.ts +15 -0
- package/lib/directives/read-only.directive.d.ts.map +1 -0
- package/lib/directives/remove-classnames/remove-classnames.directive.d.ts.map +1 -1
- package/lib/directives/render-in-page-header/render-in-page-header.directive.d.ts +1 -1
- package/lib/directives/render-page-header/render-page-header.directive.d.ts +1 -1
- package/lib/directives/render-page-subtitle/render-page-subtitle.directive.d.ts +1 -1
- package/lib/directives/tooltip/tooltip.component.d.ts.map +1 -1
- package/lib/directives/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 -1
- package/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button.directive.d.ts +3 -2
- package/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button.directive.d.ts.map +1 -1
- package/lib/models/carbon-list.model.d.ts +1 -1
- package/lib/models/carbon-list.model.d.ts.map +1 -1
- package/lib/models/form-io.model.d.ts +86 -5
- package/lib/models/form-io.model.d.ts.map +1 -1
- package/lib/models/value-path-selector.model.d.ts +1 -2
- package/lib/models/value-path-selector.model.d.ts.map +1 -1
- package/lib/modules/custom-formio-component/create-custom-component.d.ts +39 -33
- package/lib/modules/custom-formio-component/create-custom-component.d.ts.map +1 -1
- package/lib/modules/custom-formio-component/elements.common.d.ts +1 -1
- package/lib/modules/custom-formio-component/elements.common.d.ts.map +1 -1
- package/lib/modules/custom-formio-component/index.d.ts +0 -1
- package/lib/modules/custom-formio-component/index.d.ts.map +1 -1
- package/lib/modules/custom-formio-component/register-custom-component.d.ts +0 -1
- package/lib/modules/custom-formio-component/register-custom-component.d.ts.map +1 -1
- package/lib/pipes/ellipsis.pipe.d.ts.map +1 -1
- package/lib/pipes/menu-item-translation.pipe.d.ts +1 -1
- package/lib/services/choice-field.service.d.ts +1 -1
- package/lib/services/key-state.service.d.ts.map +1 -1
- package/lib/services/page-header.service.d.ts +1 -1
- package/lib/services/page-title.service.d.ts +1 -0
- package/lib/services/page-title.service.d.ts.map +1 -1
- package/lib/services/prompt.service.d.ts +0 -13
- package/lib/services/prompt.service.d.ts.map +1 -1
- package/lib/services/shell.service.d.ts +1 -1
- package/lib/services/valtimo-modal.service.d.ts +3 -3
- package/lib/services/valtimo-modal.service.d.ts.map +1 -1
- package/lib/services/value-path-selector.service.d.ts +9 -9
- package/lib/services/value-path-selector.service.d.ts.map +1 -1
- package/package.json +22 -23
- package/public_api.d.ts +9 -25
- package/public_api.d.ts.map +1 -1
- package/esm2022/lib/components/alert/alert.component.mjs +0 -137
- package/esm2022/lib/components/alert/alert.module.mjs +0 -33
- package/esm2022/lib/components/alert/alert.service.mjs +0 -80
- package/esm2022/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.mjs +0 -168
- package/esm2022/lib/components/bpmn-js-diagram/bpmn-js-diagram.module.mjs +0 -33
- package/esm2022/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.mjs +0 -57
- package/esm2022/lib/components/breadcrumb-navigation/breadcrumb-navigation.module.mjs +0 -36
- package/esm2022/lib/components/breadcrumb-navigation/breadcrumb.service.mjs +0 -127
- package/esm2022/lib/components/button/button.component.mjs +0 -99
- package/esm2022/lib/components/button/button.module.mjs +0 -37
- package/esm2022/lib/components/camunda/form/camunda-form.components.mjs +0 -41
- package/esm2022/lib/components/camunda/form/camunda-form.module.mjs +0 -35
- package/esm2022/lib/components/camunda/form/custom/camunda-custom-form.component.mjs +0 -40
- package/esm2022/lib/components/camunda/form/custom/camunda-custom-form.module.mjs +0 -33
- package/esm2022/lib/components/camunda/form/generated/camunda-generated-form.component.mjs +0 -67
- package/esm2022/lib/components/camunda/form/generated/camunda-generated-form.module.mjs +0 -63
- package/esm2022/lib/components/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.mjs +0 -30
- package/esm2022/lib/components/camunda/form/generated/formfield/camunda-formfield-generator.directive.mjs +0 -63
- package/esm2022/lib/components/camunda/form/generated/formfield/camunda-formfield.service.mjs +0 -67
- package/esm2022/lib/components/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.mjs +0 -41
- package/esm2022/lib/components/camunda/form/generated/formfield/date/camunda-date-formfield.component.mjs +0 -66
- package/esm2022/lib/components/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.mjs +0 -33
- package/esm2022/lib/components/camunda/form/generated/formfield/formfield.model.mjs +0 -17
- package/esm2022/lib/components/camunda/form/generated/formfield/long/camunda-long-formfield.component.mjs +0 -30
- package/esm2022/lib/components/camunda/form/generated/formfield/string/camunda-string-formfield.component.mjs +0 -30
- package/esm2022/lib/components/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.mjs +0 -30
- package/esm2022/lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.mjs +0 -35
- package/esm2022/lib/components/camunda/form/generated/formfield/validation/date.validators.mjs +0 -55
- package/esm2022/lib/components/carbon-list/CarbonListFilterPipe.directive.mjs +0 -34
- package/esm2022/lib/components/carbon-list/carbon-list.component.mjs +0 -603
- package/esm2022/lib/components/carbon-list/carbon-list.module.mjs +0 -103
- package/esm2022/lib/components/carbon-list/no-results/carbon-no-results.component.mjs +0 -71
- package/esm2022/lib/components/carbon-list/services/carbon-list-drag-and-drop.service.mjs +0 -165
- package/esm2022/lib/components/carbon-list/services/index.mjs +0 -17
- package/esm2022/lib/components/carbon-list/tags-modal/tags-modal.component.mjs +0 -35
- package/esm2022/lib/components/card/card.component.mjs +0 -34
- package/esm2022/lib/components/card/card.module.mjs +0 -33
- package/esm2022/lib/components/case-tags-selector/case-tags-selector.component.mjs +0 -80
- package/esm2022/lib/components/confirmation-modal/confirmation-modal.component.mjs +0 -119
- package/esm2022/lib/components/confirmation-modal/confirmation-modal.module.mjs +0 -50
- package/esm2022/lib/components/data-list/data-list.component.mjs +0 -31
- package/esm2022/lib/components/data-list/data-list.module.mjs +0 -33
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +0 -166
- package/esm2022/lib/components/date-picker/date-picker.module.mjs +0 -40
- package/esm2022/lib/components/dropzone/dropzone.component.mjs +0 -168
- package/esm2022/lib/components/dropzone/dropzone.module.mjs +0 -37
- package/esm2022/lib/components/editor/editor.component.mjs +0 -189
- package/esm2022/lib/components/editor/editor.module.mjs +0 -34
- package/esm2022/lib/components/editor/editor.service.mjs +0 -87
- package/esm2022/lib/components/expansion-panel/expansion-panel.component.mjs +0 -41
- package/esm2022/lib/components/expansion-panel/expansion-panel.module.mjs +0 -35
- package/esm2022/lib/components/field-auto-focus/field-auto-focus.directive.mjs +0 -36
- package/esm2022/lib/components/field-auto-focus/field-auto-focus.module.mjs +0 -33
- package/esm2022/lib/components/file-size/file-size.module.mjs +0 -33
- package/esm2022/lib/components/file-size/file-size.pipe.mjs +0 -42
- package/esm2022/lib/components/filter-sidebar/filter-sidebar.component.mjs +0 -46
- package/esm2022/lib/components/filter-sidebar/filter-sidebar.module.mjs +0 -33
- package/esm2022/lib/components/form/form.component.mjs +0 -146
- package/esm2022/lib/components/form/form.module.mjs +0 -33
- package/esm2022/lib/components/form-io/form-io-builder.component.mjs +0 -82
- package/esm2022/lib/components/form-io/form-io-builder.utils.mjs +0 -53
- package/esm2022/lib/components/form-io/form-io-currency/currency-edit-form.mjs +0 -96
- package/esm2022/lib/components/form-io/form-io-currency/currency.component.mjs +0 -108
- package/esm2022/lib/components/form-io/form-io-currency/currency.formio.mjs +0 -24
- package/esm2022/lib/components/form-io/form-io-current-user/form-io-current-user-edit-form.mjs +0 -64
- package/esm2022/lib/components/form-io/form-io-current-user/form-io-current-user.component.mjs +0 -41
- package/esm2022/lib/components/form-io/form-io-current-user/form-io-current-user.formio.mjs +0 -34
- package/esm2022/lib/components/form-io/form-io-dummy/dummy.component.mjs +0 -27
- package/esm2022/lib/components/form-io/form-io-dummy/dummy.formio.mjs +0 -20
- package/esm2022/lib/components/form-io/form-io-iban/iban.component.mjs +0 -61
- package/esm2022/lib/components/form-io/form-io-iban/iban.formio.mjs +0 -22
- package/esm2022/lib/components/form-io/form-io-iban/iban.validators.mjs +0 -26
- package/esm2022/lib/components/form-io/form-io-resource-selector/form-io-resource-selector.formio.mjs +0 -84
- package/esm2022/lib/components/form-io/form-io-uploader/form-io-uploader-edit-form.mjs +0 -115
- package/esm2022/lib/components/form-io/form-io-uploader/form-io-uploader.component.mjs +0 -93
- package/esm2022/lib/components/form-io/form-io-uploader/form-io-uploader.formio.mjs +0 -49
- package/esm2022/lib/components/form-io/form-io.component.mjs +0 -237
- package/esm2022/lib/components/form-io/form-io.module.mjs +0 -127
- package/esm2022/lib/components/form-io/formio-config.mjs +0 -27
- package/esm2022/lib/components/form-io/formio-value-resolver-selector/formio-value-resolver-selector-edit-form.mjs +0 -19
- package/esm2022/lib/components/form-io/formio-value-resolver-selector/formio-value-resolver-selector.component.mjs +0 -57
- package/esm2022/lib/components/form-io/formio-value-resolver-selector/formio-value-resolver-selector.formio.mjs +0 -42
- package/esm2022/lib/components/form-io/services/form-io-dom.service.mjs +0 -38
- package/esm2022/lib/components/form-io/services/form-io-local-storage.service.mjs +0 -68
- package/esm2022/lib/components/form-io/services/form-io-state.service.mjs +0 -69
- package/esm2022/lib/components/input/input.component.mjs +0 -176
- package/esm2022/lib/components/input/input.module.mjs +0 -59
- package/esm2022/lib/components/input-label/input-label.component.mjs +0 -84
- package/esm2022/lib/components/input-label/input-label.module.mjs +0 -55
- package/esm2022/lib/components/left-sidebar/left-sidebar.component.mjs +0 -129
- package/esm2022/lib/components/left-sidebar/left-sidebar.module.mjs +0 -58
- package/esm2022/lib/components/list/ListFilterPipe.directive.mjs +0 -35
- package/esm2022/lib/components/list/list.component.mjs +0 -202
- package/esm2022/lib/components/list/list.module.mjs +0 -56
- package/esm2022/lib/components/menu/menu-item-text.component.mjs +0 -54
- package/esm2022/lib/components/menu/menu-routing.module.mjs +0 -33
- package/esm2022/lib/components/menu/menu.init.mjs +0 -32
- package/esm2022/lib/components/menu/menu.module.mjs +0 -58
- package/esm2022/lib/components/menu/menu.service.mjs +0 -247
- package/esm2022/lib/components/modal/modal.component.mjs +0 -85
- package/esm2022/lib/components/modal/modal.module.mjs +0 -33
- package/esm2022/lib/components/multi-input/carbon-multi-input.component.mjs +0 -300
- package/esm2022/lib/components/multi-input/carbon-multi-input.module.mjs +0 -86
- package/esm2022/lib/components/multi-input/components/arbitrary-amount-value/arbitrary-amount-value.component.mjs +0 -63
- package/esm2022/lib/components/multi-input/components/arbitrary-amount-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/index.mjs +0 -23
- package/esm2022/lib/components/multi-input/components/key-dropdown-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/key-dropdown-value/key-dropdown-value.component.mjs +0 -71
- package/esm2022/lib/components/multi-input/components/key-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/key-value/key-value.component.mjs +0 -62
- package/esm2022/lib/components/multi-input/components/key-value-path-selector/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/key-value-path-selector/key-value-path-selector.component.mjs +0 -82
- package/esm2022/lib/components/multi-input/components/single-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/single-value/single-value.component.mjs +0 -49
- package/esm2022/lib/components/multi-input/components/value-path-selector-dropdown-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/value-path-selector-dropdown-value/value-path-selector-dropdown-value.component.mjs +0 -92
- package/esm2022/lib/components/multi-input/components/value-path-selector-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/value-path-selector-value/value-path-selector-value.component.mjs +0 -82
- package/esm2022/lib/components/multi-input-form/default-value.pipe.mjs +0 -33
- package/esm2022/lib/components/multi-input-form/multi-input-form.component.mjs +0 -201
- package/esm2022/lib/components/multi-input-form/multi-input-form.module.mjs +0 -58
- package/esm2022/lib/components/multiselect-dropdown/multiselect-dropdown.component.mjs +0 -52
- package/esm2022/lib/components/multiselect-dropdown/multiselect-dropdown.module.mjs +0 -35
- package/esm2022/lib/components/page/page-container/page-container.component.mjs +0 -29
- package/esm2022/lib/components/page/page-content/page-content.component.mjs +0 -29
- package/esm2022/lib/components/page/page-header/page-header.component.mjs +0 -29
- package/esm2022/lib/components/page/page-header-actions/page-header-actions.component.mjs +0 -29
- package/esm2022/lib/components/page/page-header-introduction/page-header-introduction.component.mjs +0 -29
- package/esm2022/lib/components/page/page.module.mjs +0 -60
- package/esm2022/lib/components/page-actions/page-actions.component.mjs +0 -82
- package/esm2022/lib/components/page-header/page-header.component.mjs +0 -66
- package/esm2022/lib/components/page-header/page-header.module.mjs +0 -55
- package/esm2022/lib/components/page-subtitle/page-subtitle.component.mjs +0 -53
- package/esm2022/lib/components/page-title/page-title.component.mjs +0 -116
- package/esm2022/lib/components/page-title/page-title.module.mjs +0 -35
- package/esm2022/lib/components/paragraph/paragraph.component.mjs +0 -50
- package/esm2022/lib/components/paragraph/paragraph.module.mjs +0 -37
- package/esm2022/lib/components/pending-changes/pending-changes.component.mjs +0 -91
- package/esm2022/lib/components/pending-changes/pending-changes.service.mjs +0 -37
- package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +0 -26
- package/esm2022/lib/components/progress-bar/progress-bar.module.mjs +0 -33
- package/esm2022/lib/components/prompt/prompt.component.mjs +0 -74
- package/esm2022/lib/components/prompt/prompt.module.mjs +0 -39
- package/esm2022/lib/components/radio/radio.component.mjs +0 -116
- package/esm2022/lib/components/radio/radio.module.mjs +0 -55
- package/esm2022/lib/components/right-sidebar/right-sidebar.component.mjs +0 -309
- package/esm2022/lib/components/right-sidebar/right-sidebar.module.mjs +0 -98
- package/esm2022/lib/components/search-fields/search-fields.component.mjs +0 -241
- package/esm2022/lib/components/search-fields/search-fields.module.mjs +0 -90
- package/esm2022/lib/components/searchable-dropdown/searchable-dropdown.component.mjs +0 -201
- package/esm2022/lib/components/searchable-dropdown/searchable-dropdown.module.mjs +0 -34
- package/esm2022/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.mjs +0 -71
- package/esm2022/lib/components/searchable-dropdown-select/searchable-dropdown-select.module.mjs +0 -35
- package/esm2022/lib/components/select/select.component.mjs +0 -200
- package/esm2022/lib/components/select/select.module.mjs +0 -37
- package/esm2022/lib/components/spinner/spinner.component.mjs +0 -54
- package/esm2022/lib/components/spinner/spinner.module.mjs +0 -35
- package/esm2022/lib/components/status-selector/status-selector.component.mjs +0 -86
- package/esm2022/lib/components/stepper/stepper-container/stepper-container.component.mjs +0 -91
- package/esm2022/lib/components/stepper/stepper-content/stepper-content.component.mjs +0 -52
- package/esm2022/lib/components/stepper/stepper-footer/stepper-footer.component.mjs +0 -43
- package/esm2022/lib/components/stepper/stepper-footer-step/stepper-footer-step.component.mjs +0 -71
- package/esm2022/lib/components/stepper/stepper-header/stepper-header.component.mjs +0 -37
- package/esm2022/lib/components/stepper/stepper-step/stepper-step.component.mjs +0 -39
- package/esm2022/lib/components/stepper/stepper.module.mjs +0 -68
- package/esm2022/lib/components/table/table.component.mjs +0 -172
- package/esm2022/lib/components/table/table.module.mjs +0 -58
- package/esm2022/lib/components/timeline/timeline.component.mjs +0 -42
- package/esm2022/lib/components/timeline/timeline.module.mjs +0 -35
- package/esm2022/lib/components/title/title.component.mjs +0 -57
- package/esm2022/lib/components/title/title.module.mjs +0 -36
- package/esm2022/lib/components/tooltip-icon/tooltip-icon.component.mjs +0 -39
- package/esm2022/lib/components/tooltip-icon/tooltip-icon.module.mjs +0 -39
- package/esm2022/lib/components/topbar/topbar.component.mjs +0 -127
- package/esm2022/lib/components/topbar/topbar.module.mjs +0 -36
- package/esm2022/lib/components/uploader/uploader-drag-drop.directive.mjs +0 -58
- package/esm2022/lib/components/uploader/uploader.component.mjs +0 -69
- package/esm2022/lib/components/uploader/uploader.module.mjs +0 -35
- package/esm2022/lib/components/v-card/card.component.mjs +0 -80
- package/esm2022/lib/components/v-card/card.module.mjs +0 -38
- package/esm2022/lib/components/v-modal/modal.component.mjs +0 -73
- package/esm2022/lib/components/v-modal/modal.module.mjs +0 -38
- package/esm2022/lib/components/value-path-selector/index.mjs +0 -17
- package/esm2022/lib/components/value-path-selector/value-path-selector.component.mjs +0 -317
- package/esm2022/lib/components/version/version.service.mjs +0 -38
- package/esm2022/lib/components/view-content/type-converters/booleanTypeConverter.mjs +0 -31
- package/esm2022/lib/components/view-content/type-converters/currencyTypeConverter.mjs +0 -43
- package/esm2022/lib/components/view-content/type-converters/dateTimeTypeConverter.mjs +0 -30
- package/esm2022/lib/components/view-content/type-converters/dateTypeConverter.mjs +0 -30
- package/esm2022/lib/components/view-content/type-converters/enumTypeConverter.mjs +0 -26
- package/esm2022/lib/components/view-content/type-converters/numberTypeConverter.mjs +0 -43
- package/esm2022/lib/components/view-content/type-converters/percentTypeConverter.mjs +0 -43
- package/esm2022/lib/components/view-content/type-converters/relatedFilesTypeConverter.mjs +0 -24
- package/esm2022/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.mjs +0 -27
- package/esm2022/lib/components/view-content/type-converters/stringTypeConverter.mjs +0 -28
- package/esm2022/lib/components/view-content/type-converters/type-converters.model.mjs +0 -80
- package/esm2022/lib/components/view-content/view-content.module.mjs +0 -33
- package/esm2022/lib/components/view-content/view-content.service.mjs +0 -49
- package/esm2022/lib/components/webcam/webcam.component.mjs +0 -102
- package/esm2022/lib/components/webcam/webcam.module.mjs +0 -34
- package/esm2022/lib/components/widget/widget.component.mjs +0 -89
- package/esm2022/lib/components/widget/widget.module.mjs +0 -33
- package/esm2022/lib/constants/carbon.constants.mjs +0 -21
- package/esm2022/lib/constants/index.mjs +0 -19
- package/esm2022/lib/constants/status.constants.mjs +0 -18
- package/esm2022/lib/constants/view-type-converter.constants.mjs +0 -18
- package/esm2022/lib/directives/command-click/command-click-directive.module.mjs +0 -33
- package/esm2022/lib/directives/command-click/command-click.directive.mjs +0 -52
- package/esm2022/lib/directives/digit-only/digit-only.directive.mjs +0 -283
- package/esm2022/lib/directives/fit-page/fit-page-directive.module.mjs +0 -33
- package/esm2022/lib/directives/fit-page/fit-page.directive.mjs +0 -54
- package/esm2022/lib/directives/remove-classnames/remove-classnames.directive.mjs +0 -53
- package/esm2022/lib/directives/render-in-page-header/render-in-page-header-directive.module.mjs +0 -33
- package/esm2022/lib/directives/render-in-page-header/render-in-page-header.directive.mjs +0 -60
- package/esm2022/lib/directives/render-page-header/render-page-header-directive.module.mjs +0 -33
- package/esm2022/lib/directives/render-page-header/render-page-header.directive.mjs +0 -56
- package/esm2022/lib/directives/render-page-subtitle/render-page-subtitle-directive.module.mjs +0 -33
- package/esm2022/lib/directives/render-page-subtitle/render-page-subtitle.directive.mjs +0 -57
- package/esm2022/lib/directives/tooltip/tooltip.component.mjs +0 -42
- package/esm2022/lib/directives/tooltip/tooltip.directive.mjs +0 -76
- package/esm2022/lib/directives/tooltip/tooltip.module.mjs +0 -35
- package/esm2022/lib/directives/valtimo-cds-modal/valtimo-cds-modal-directive.module.mjs +0 -33
- package/esm2022/lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive.mjs +0 -109
- package/esm2022/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button-directive.module.mjs +0 -33
- package/esm2022/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button.directive.mjs +0 -82
- package/esm2022/lib/guards/index.mjs +0 -17
- package/esm2022/lib/guards/pending-changes.guard.mjs +0 -2
- package/esm2022/lib/models/alert.model.mjs +0 -30
- package/esm2022/lib/models/button.model.mjs +0 -17
- package/esm2022/lib/models/carbon-list.model.mjs +0 -31
- package/esm2022/lib/models/carbon-pagination.model.mjs +0 -21
- package/esm2022/lib/models/carbon-tag.model.mjs +0 -17
- package/esm2022/lib/models/carbon-theme.model.mjs +0 -24
- package/esm2022/lib/models/choice-field.model.mjs +0 -17
- package/esm2022/lib/models/choicefield-value.model.mjs +0 -17
- package/esm2022/lib/models/documenten-api-metadata.model.mjs +0 -17
- package/esm2022/lib/models/editor.model.mjs +0 -22
- package/esm2022/lib/models/form-io.model.mjs +0 -30
- package/esm2022/lib/models/form.model.mjs +0 -17
- package/esm2022/lib/models/index.mjs +0 -47
- package/esm2022/lib/models/input.model.mjs +0 -17
- package/esm2022/lib/models/modal.model.mjs +0 -17
- package/esm2022/lib/models/multi-input.model.mjs +0 -17
- package/esm2022/lib/models/pagination.model.mjs +0 -24
- package/esm2022/lib/models/radio.model.mjs +0 -17
- package/esm2022/lib/models/right-sidebar.model.mjs +0 -17
- package/esm2022/lib/models/searchable-dropdown.model.mjs +0 -17
- package/esm2022/lib/models/select.model.mjs +0 -17
- package/esm2022/lib/models/sort.model.mjs +0 -17
- package/esm2022/lib/models/stepper.model.mjs +0 -17
- package/esm2022/lib/models/table.model.mjs +0 -17
- package/esm2022/lib/models/theme.model.mjs +0 -30
- package/esm2022/lib/models/timeline.model.mjs +0 -52
- package/esm2022/lib/models/title.model.mjs +0 -17
- package/esm2022/lib/models/topbar.model.mjs +0 -17
- package/esm2022/lib/models/value-path-selector.model.mjs +0 -36
- package/esm2022/lib/models/version.model.mjs +0 -17
- package/esm2022/lib/modules/custom-formio-component/create-custom-component.mjs +0 -162
- package/esm2022/lib/modules/custom-formio-component/custom-tags.service.mjs +0 -32
- package/esm2022/lib/modules/custom-formio-component/elements.common.mjs +0 -17
- package/esm2022/lib/modules/custom-formio-component/index.mjs +0 -20
- package/esm2022/lib/modules/custom-formio-component/register-custom-component.mjs +0 -42
- package/esm2022/lib/modules/index.mjs +0 -17
- package/esm2022/lib/pipes/case-count.pipe.mjs +0 -35
- package/esm2022/lib/pipes/components-pipes.module.mjs +0 -31
- package/esm2022/lib/pipes/ellipsis.pipe.mjs +0 -16
- package/esm2022/lib/pipes/index.mjs +0 -21
- package/esm2022/lib/pipes/is-array.pipe.mjs +0 -29
- package/esm2022/lib/pipes/menu-item-translation.pipe.mjs +0 -47
- package/esm2022/lib/services/cds-theme.service.mjs +0 -100
- package/esm2022/lib/services/choice-field.service.mjs +0 -70
- package/esm2022/lib/services/index.mjs +0 -29
- package/esm2022/lib/services/key-generator.service.mjs +0 -50
- package/esm2022/lib/services/key-state.service.mjs +0 -33
- package/esm2022/lib/services/modal.service.mjs +0 -148
- package/esm2022/lib/services/page-header.service.mjs +0 -93
- package/esm2022/lib/services/page-subtitle.service.mjs +0 -46
- package/esm2022/lib/services/page-title.service.mjs +0 -121
- package/esm2022/lib/services/prompt.service.mjs +0 -205
- package/esm2022/lib/services/shell.service.mjs +0 -213
- package/esm2022/lib/services/stepper.service.mjs +0 -108
- package/esm2022/lib/services/user-interface.service.mjs +0 -47
- package/esm2022/lib/services/valtimo-modal.service.mjs +0 -46
- package/esm2022/lib/services/value-path-selector.service.mjs +0 -110
- package/esm2022/public_api.mjs +0 -227
- package/esm2022/valtimo-components.mjs +0 -5
- package/lib/components/button/button.component.d.ts +0 -30
- package/lib/components/button/button.component.d.ts.map +0 -1
- package/lib/components/button/button.module.d.ts +0 -13
- package/lib/components/button/button.module.d.ts.map +0 -1
- package/lib/components/card/card.component.d.ts +0 -17
- package/lib/components/card/card.component.d.ts.map +0 -1
- package/lib/components/card/card.module.d.ts +0 -9
- package/lib/components/card/card.module.d.ts.map +0 -1
- package/lib/components/list/ListFilterPipe.directive.d.ts +0 -8
- package/lib/components/list/ListFilterPipe.directive.d.ts.map +0 -1
- package/lib/components/list/list.component.d.ts +0 -51
- package/lib/components/list/list.component.d.ts.map +0 -1
- package/lib/components/list/list.module.d.ts +0 -15
- package/lib/components/list/list.module.d.ts.map +0 -1
- package/lib/components/page/page-container/page-container.component.d.ts +0 -9
- package/lib/components/page/page-container/page-container.component.d.ts.map +0 -1
- package/lib/components/page/page-content/page-content.component.d.ts +0 -9
- package/lib/components/page/page-content/page-content.component.d.ts.map +0 -1
- package/lib/components/page/page-header/page-header.component.d.ts +0 -9
- package/lib/components/page/page-header/page-header.component.d.ts.map +0 -1
- package/lib/components/page/page-header-actions/page-header-actions.component.d.ts +0 -9
- package/lib/components/page/page-header-actions/page-header-actions.component.d.ts.map +0 -1
- package/lib/components/page/page-header-introduction/page-header-introduction.component.d.ts +0 -9
- package/lib/components/page/page-header-introduction/page-header-introduction.component.d.ts.map +0 -1
- package/lib/components/page/page.module.d.ts +0 -16
- package/lib/components/page/page.module.d.ts.map +0 -1
- package/lib/components/title/title.component.d.ts +0 -19
- package/lib/components/title/title.component.d.ts.map +0 -1
- package/lib/components/title/title.module.d.ts +0 -12
- package/lib/components/title/title.module.d.ts.map +0 -1
- package/lib/components/v-card/card.component.d.ts +0 -23
- package/lib/components/v-card/card.component.d.ts.map +0 -1
- package/lib/components/v-card/card.module.d.ts +0 -14
- package/lib/components/v-card/card.module.d.ts.map +0 -1
- package/lib/directives/command-click/command-click-directive.module.d.ts +0 -9
- package/lib/directives/command-click/command-click-directive.module.d.ts.map +0 -1
- package/lib/directives/command-click/command-click.directive.d.ts.map +0 -1
- package/lib/directives/fit-page/fit-page-directive.module.d.ts +0 -9
- package/lib/directives/fit-page/fit-page-directive.module.d.ts.map +0 -1
- package/lib/directives/render-in-page-header/render-in-page-header-directive.module.d.ts +0 -9
- package/lib/directives/render-in-page-header/render-in-page-header-directive.module.d.ts.map +0 -1
- package/lib/directives/render-page-header/render-page-header-directive.module.d.ts +0 -9
- package/lib/directives/render-page-header/render-page-header-directive.module.d.ts.map +0 -1
- package/lib/directives/render-page-subtitle/render-page-subtitle-directive.module.d.ts +0 -9
- package/lib/directives/render-page-subtitle/render-page-subtitle-directive.module.d.ts.map +0 -1
- package/lib/directives/valtimo-cds-modal/valtimo-cds-modal-directive.module.d.ts +0 -9
- package/lib/directives/valtimo-cds-modal/valtimo-cds-modal-directive.module.d.ts.map +0 -1
- package/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button-directive.module.d.ts +0 -9
- package/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button-directive.module.d.ts.map +0 -1
- package/lib/modules/custom-formio-component/custom-tags.service.d.ts +0 -8
- package/lib/modules/custom-formio-component/custom-tags.service.d.ts.map +0 -1
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2024 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, HostListener, Input, Output, ViewChildren, } from '@angular/core';
|
|
17
|
-
import { FormControl } from '@angular/forms';
|
|
18
|
-
import { BehaviorSubject, combineLatest, fromEvent } from 'rxjs';
|
|
19
|
-
import { debounceTime, take } from 'rxjs/operators';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
import * as i1 from "@angular/common";
|
|
22
|
-
import * as i2 from "@angular/forms";
|
|
23
|
-
export class SearchableDropdownComponent {
|
|
24
|
-
constructor() {
|
|
25
|
-
this.width = 250;
|
|
26
|
-
this.itemSelected = new EventEmitter();
|
|
27
|
-
this.searchId = 'search';
|
|
28
|
-
this.searchTerm = new FormControl('');
|
|
29
|
-
this.focusedItemId$ = new BehaviorSubject(this.searchId);
|
|
30
|
-
this.open$ = new BehaviorSubject(false);
|
|
31
|
-
this.filteredItems$ = new BehaviorSubject(undefined);
|
|
32
|
-
this.wasInside = false;
|
|
33
|
-
this.mouseOnList$ = new BehaviorSubject(false);
|
|
34
|
-
}
|
|
35
|
-
clickInside() {
|
|
36
|
-
this.wasInside = true;
|
|
37
|
-
}
|
|
38
|
-
clickout() {
|
|
39
|
-
if (!this.wasInside) {
|
|
40
|
-
this.closeDropdown();
|
|
41
|
-
}
|
|
42
|
-
this.wasInside = false;
|
|
43
|
-
}
|
|
44
|
-
ngOnInit() {
|
|
45
|
-
this.openKeysSubscription();
|
|
46
|
-
this.openSearchSubscription();
|
|
47
|
-
}
|
|
48
|
-
ngOnChanges(changes) {
|
|
49
|
-
const itemChanges = changes.items;
|
|
50
|
-
const currenItems = itemChanges.currentValue;
|
|
51
|
-
if (itemChanges && !itemChanges.previousValue && currenItems) {
|
|
52
|
-
this.filteredItems$.next(currenItems);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
ngOnDestroy() {
|
|
56
|
-
this.keySubscription.unsubscribe();
|
|
57
|
-
this.searchSubscription.unsubscribe();
|
|
58
|
-
}
|
|
59
|
-
openDropdown() {
|
|
60
|
-
this.open$.next(true);
|
|
61
|
-
}
|
|
62
|
-
hoverOverButton(id) {
|
|
63
|
-
this.focusedItemId$.next(id);
|
|
64
|
-
}
|
|
65
|
-
mouseEnterList() {
|
|
66
|
-
this.mouseOnList$.next(true);
|
|
67
|
-
}
|
|
68
|
-
mouseLeaveList() {
|
|
69
|
-
this.mouseOnList$.next(false);
|
|
70
|
-
}
|
|
71
|
-
resetFocus() {
|
|
72
|
-
this.focusedItemId$.next(this.searchId);
|
|
73
|
-
}
|
|
74
|
-
submit(id) {
|
|
75
|
-
this.itemSelected.emit(id);
|
|
76
|
-
}
|
|
77
|
-
closeDropdown() {
|
|
78
|
-
this.searchTerm.setValue('');
|
|
79
|
-
this.resetFocus();
|
|
80
|
-
this.open$.next(false);
|
|
81
|
-
}
|
|
82
|
-
openKeysSubscription() {
|
|
83
|
-
this.keySubscription = fromEvent(document, 'keyup')
|
|
84
|
-
.pipe(debounceTime(50))
|
|
85
|
-
.subscribe((event) => {
|
|
86
|
-
combineLatest([this.mouseOnList$, this.filteredItems$, this.focusedItemId$])
|
|
87
|
-
.pipe(take(1))
|
|
88
|
-
.subscribe(([mouseOnList, items, focusedId]) => {
|
|
89
|
-
const length = items.length;
|
|
90
|
-
const focusedIndex = items.findIndex(item => item.id === focusedId);
|
|
91
|
-
const code = event.code;
|
|
92
|
-
const shiftKey = event.shiftKey;
|
|
93
|
-
const down = 'ArrowDown';
|
|
94
|
-
const tab = 'Tab';
|
|
95
|
-
const up = 'ArrowUp';
|
|
96
|
-
const enter = 'Enter';
|
|
97
|
-
const escape = 'Escape';
|
|
98
|
-
// close dropdown on pressing escape
|
|
99
|
-
if (code === escape) {
|
|
100
|
-
this.closeDropdown();
|
|
101
|
-
}
|
|
102
|
-
// submit item when focus is on an item in the list and enter is pressed
|
|
103
|
-
if (code === enter && focusedId !== this.searchId) {
|
|
104
|
-
this.submit(focusedId);
|
|
105
|
-
}
|
|
106
|
-
// only handle tab or arrow keypresses when items are shown and the mouse is not on the list
|
|
107
|
-
if (length > 0 && !mouseOnList) {
|
|
108
|
-
// handle moving down in the list with arrow down or tab
|
|
109
|
-
if (code === down || (code === tab && !shiftKey)) {
|
|
110
|
-
// move focus to first item in the list when focus is on search box
|
|
111
|
-
if (focusedId === this.searchId) {
|
|
112
|
-
this.focusedItemId$.next(items[0].id);
|
|
113
|
-
this.scrollButtonIntoView(focusedId);
|
|
114
|
-
// move focus to next item in the list if focus is not on last item
|
|
115
|
-
}
|
|
116
|
-
else if (focusedIndex + 1 < length) {
|
|
117
|
-
this.focusedItemId$.next(items[focusedIndex + 1].id);
|
|
118
|
-
this.scrollButtonIntoView(focusedId);
|
|
119
|
-
}
|
|
120
|
-
// handle moving up in the list with up arrow up or shift+tab
|
|
121
|
-
}
|
|
122
|
-
else if ((code === up || (code === tab && shiftKey)) &&
|
|
123
|
-
focusedId !== this.searchId) {
|
|
124
|
-
// move to previous item if focus is not on the first item in the list
|
|
125
|
-
if (focusedIndex > 0) {
|
|
126
|
-
this.focusedItemId$.next(items[focusedIndex - 1].id);
|
|
127
|
-
this.scrollButtonIntoView(focusedId);
|
|
128
|
-
// move focus to search box if focus is on first item in the list
|
|
129
|
-
}
|
|
130
|
-
else {
|
|
131
|
-
this.resetFocus();
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
openSearchSubscription() {
|
|
139
|
-
this.searchSubscription = this.searchTerm.valueChanges.subscribe(searchTerm => {
|
|
140
|
-
this.focusedItemId$.pipe(take(1)).subscribe(focusedItemId => {
|
|
141
|
-
if (!searchTerm) {
|
|
142
|
-
this.filteredItems$.next(this.items);
|
|
143
|
-
}
|
|
144
|
-
else {
|
|
145
|
-
const filteredItems = this.items.filter(item => item.text.toUpperCase().includes(searchTerm.toUpperCase()));
|
|
146
|
-
this.filteredItems$.next(filteredItems);
|
|
147
|
-
// move focus to search box if filtered list length is 0 or previously focused item is not in filtered list anymore
|
|
148
|
-
if (filteredItems.length === 0 ||
|
|
149
|
-
!filteredItems.some(item => item.id === focusedItemId)) {
|
|
150
|
-
this.resetFocus();
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
// move scrolling button into view to end of queue, so that DOM can be updated first
|
|
154
|
-
setTimeout(() => {
|
|
155
|
-
this.scrollButtonIntoView(focusedItemId);
|
|
156
|
-
});
|
|
157
|
-
});
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
scrollButtonIntoView(id) {
|
|
161
|
-
this.filteredItems$.pipe(take(1)).subscribe(items => {
|
|
162
|
-
const focusItemIndex = items.findIndex(item => item.id === id);
|
|
163
|
-
const focusedButton = this.buttons.toArray()[focusItemIndex];
|
|
164
|
-
if (focusedButton) {
|
|
165
|
-
focusedButton.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
170
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SearchableDropdownComponent, selector: "valtimo-searchable-dropdown", inputs: { style: "style", items: "items", buttonText: "buttonText", searchText: "searchText", noResultsText: "noResultsText", disabled: "disabled", width: "width" }, outputs: { itemSelected: "itemSelected" }, host: { listeners: { "click": "clickInside()", "document:click": "clickout()" } }, viewQueries: [{ propertyName: "buttons", predicate: ["button"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<!--\n ~ Copyright 2015-2024 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=\"buttonText && items\">\n <ng-container [ngTemplateOutlet]=\"(open$ | async) ? opened : closed\"> </ng-container>\n</ng-container>\n\n<ng-template #closed>\n <ng-container *ngIf=\"style === 'button' || !style\">\n <button\n class=\"btn btn-primary btn-sm searchable-dropdown__size\"\n (click)=\"openDropdown()\"\n [style.width.px]=\"width\"\n >\n {{ buttonText }}\n </button>\n </ng-container>\n <ng-container *ngIf=\"style === 'underlinedText'\">\n <h5\n class=\"searchable-dropdown__underline-button\"\n (click)=\"openDropdown()\"\n [style.width.px]=\"width\"\n >\n <b>\n {{ buttonText }}\n </b>\n </h5>\n </ng-container>\n</ng-template>\n\n<ng-template #opened>\n <div class=\"searchable-dropdown__container\" [style.width.px]=\"width\">\n <div class=\"searchable-dropdown__size searchable-dropdown__search\" [style.width.px]=\"width\">\n <input\n #search\n [ngClass]=\"{disabled: disabled}\"\n [placeholder]=\"searchText\"\n [formControl]=\"searchTerm\"\n />\n {{ search.focus() }}\n </div>\n <div\n class=\"searchable-dropdown__list\"\n (mouseenter)=\"mouseEnterList()\"\n (mouseleave)=\"mouseLeaveList()\"\n >\n <ng-container *ngIf=\"filteredItems$ | async as filteredItems\">\n <ng-container\n *ngIf=\"\n filteredItems.length > 0 && focusedItemId$ | async as focusedItemId;\n else noResults\n \"\n >\n <button\n #button\n *ngFor=\"let item of filteredItems\"\n [ngClass]=\"{focus: focusedItemId === item.id, disabled: disabled}\"\n class=\"searchable-dropdown__button searchable-dropdown__size\"\n (click)=\"submit(item.id)\"\n (mouseenter)=\"hoverOverButton(item.id)\"\n (mouseleave)=\"resetFocus()\"\n [style.width.px]=\"width\"\n >\n <span class=\"searchable-dropdown__button-text\">\n {{ item.text }}\n </span>\n </button>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <ng-container [ngTemplateOutlet]=\"space\"> </ng-container>\n</ng-template>\n\n<ng-template #noResults>\n <div\n class=\"searchable-dropdown__button searchable-dropdown__size disabled\"\n [style.width.px]=\"width\"\n >\n <span class=\"searchable-dropdown__button-text\">{{ noResultsText }}</span>\n </div>\n</ng-template>\n\n<ng-template #space>\n <div\n *ngIf=\"style === 'button' || !style\"\n class=\"searchable-dropdown__size\"\n [style.width.px]=\"width\"\n ></div>\n <h5 *ngIf=\"style === 'underlinedText'\" class=\"searchable-dropdown__underline-button\"><b>-</b></h5>\n</ng-template>\n", styles: [".searchable-dropdown__size{width:250px;height:34px}.searchable-dropdown__underline-button{text-decoration:underline;width:250px;cursor:pointer}.searchable-dropdown__container{background-color:#fff;position:fixed;z-index:999;border:1px solid #e3e3e3;box-shadow:0 0 6px #0000001f;border-radius:3px;padding:7px 0;overflow:hidden;display:flex;flex-direction:column;width:250px;max-height:300px}.searchable-dropdown__list{list-style:none;padding:0;margin:0;overflow:auto;overflow-x:hidden;z-index:9999}.searchable-dropdown__search{border-bottom:1px solid #dee2e6;padding:8px 24px;display:flex;align-items:center;flex-shrink:0;height:44px}.searchable-dropdown__search input{width:100%;border:none;outline:none;padding:0}.searchable-dropdown__search input:focus{border:none;outline:none}.searchable-dropdown__button{font-weight:400;color:#504e4e;padding:8px 24px;background-color:#fff;cursor:pointer;font-size:.8rem;display:flex;align-items:center;border:none;outline:none}.searchable-dropdown__button.focus{background-color:#f5f5f5}.searchable-dropdown__button-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.disabled{pointer-events:none;color:#959595;cursor:default}\n/*!\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
171
|
-
}
|
|
172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownComponent, decorators: [{
|
|
173
|
-
type: Component,
|
|
174
|
-
args: [{ selector: 'valtimo-searchable-dropdown', template: "<!--\n ~ Copyright 2015-2024 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=\"buttonText && items\">\n <ng-container [ngTemplateOutlet]=\"(open$ | async) ? opened : closed\"> </ng-container>\n</ng-container>\n\n<ng-template #closed>\n <ng-container *ngIf=\"style === 'button' || !style\">\n <button\n class=\"btn btn-primary btn-sm searchable-dropdown__size\"\n (click)=\"openDropdown()\"\n [style.width.px]=\"width\"\n >\n {{ buttonText }}\n </button>\n </ng-container>\n <ng-container *ngIf=\"style === 'underlinedText'\">\n <h5\n class=\"searchable-dropdown__underline-button\"\n (click)=\"openDropdown()\"\n [style.width.px]=\"width\"\n >\n <b>\n {{ buttonText }}\n </b>\n </h5>\n </ng-container>\n</ng-template>\n\n<ng-template #opened>\n <div class=\"searchable-dropdown__container\" [style.width.px]=\"width\">\n <div class=\"searchable-dropdown__size searchable-dropdown__search\" [style.width.px]=\"width\">\n <input\n #search\n [ngClass]=\"{disabled: disabled}\"\n [placeholder]=\"searchText\"\n [formControl]=\"searchTerm\"\n />\n {{ search.focus() }}\n </div>\n <div\n class=\"searchable-dropdown__list\"\n (mouseenter)=\"mouseEnterList()\"\n (mouseleave)=\"mouseLeaveList()\"\n >\n <ng-container *ngIf=\"filteredItems$ | async as filteredItems\">\n <ng-container\n *ngIf=\"\n filteredItems.length > 0 && focusedItemId$ | async as focusedItemId;\n else noResults\n \"\n >\n <button\n #button\n *ngFor=\"let item of filteredItems\"\n [ngClass]=\"{focus: focusedItemId === item.id, disabled: disabled}\"\n class=\"searchable-dropdown__button searchable-dropdown__size\"\n (click)=\"submit(item.id)\"\n (mouseenter)=\"hoverOverButton(item.id)\"\n (mouseleave)=\"resetFocus()\"\n [style.width.px]=\"width\"\n >\n <span class=\"searchable-dropdown__button-text\">\n {{ item.text }}\n </span>\n </button>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <ng-container [ngTemplateOutlet]=\"space\"> </ng-container>\n</ng-template>\n\n<ng-template #noResults>\n <div\n class=\"searchable-dropdown__button searchable-dropdown__size disabled\"\n [style.width.px]=\"width\"\n >\n <span class=\"searchable-dropdown__button-text\">{{ noResultsText }}</span>\n </div>\n</ng-template>\n\n<ng-template #space>\n <div\n *ngIf=\"style === 'button' || !style\"\n class=\"searchable-dropdown__size\"\n [style.width.px]=\"width\"\n ></div>\n <h5 *ngIf=\"style === 'underlinedText'\" class=\"searchable-dropdown__underline-button\"><b>-</b></h5>\n</ng-template>\n", styles: [".searchable-dropdown__size{width:250px;height:34px}.searchable-dropdown__underline-button{text-decoration:underline;width:250px;cursor:pointer}.searchable-dropdown__container{background-color:#fff;position:fixed;z-index:999;border:1px solid #e3e3e3;box-shadow:0 0 6px #0000001f;border-radius:3px;padding:7px 0;overflow:hidden;display:flex;flex-direction:column;width:250px;max-height:300px}.searchable-dropdown__list{list-style:none;padding:0;margin:0;overflow:auto;overflow-x:hidden;z-index:9999}.searchable-dropdown__search{border-bottom:1px solid #dee2e6;padding:8px 24px;display:flex;align-items:center;flex-shrink:0;height:44px}.searchable-dropdown__search input{width:100%;border:none;outline:none;padding:0}.searchable-dropdown__search input:focus{border:none;outline:none}.searchable-dropdown__button{font-weight:400;color:#504e4e;padding:8px 24px;background-color:#fff;cursor:pointer;font-size:.8rem;display:flex;align-items:center;border:none;outline:none}.searchable-dropdown__button.focus{background-color:#f5f5f5}.searchable-dropdown__button-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.disabled{pointer-events:none;color:#959595;cursor:default}\n/*!\n * Copyright 2015-2024 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"] }]
|
|
175
|
-
}], propDecorators: { style: [{
|
|
176
|
-
type: Input
|
|
177
|
-
}], items: [{
|
|
178
|
-
type: Input
|
|
179
|
-
}], buttonText: [{
|
|
180
|
-
type: Input
|
|
181
|
-
}], searchText: [{
|
|
182
|
-
type: Input
|
|
183
|
-
}], noResultsText: [{
|
|
184
|
-
type: Input
|
|
185
|
-
}], disabled: [{
|
|
186
|
-
type: Input
|
|
187
|
-
}], width: [{
|
|
188
|
-
type: Input
|
|
189
|
-
}], itemSelected: [{
|
|
190
|
-
type: Output
|
|
191
|
-
}], buttons: [{
|
|
192
|
-
type: ViewChildren,
|
|
193
|
-
args: ['button']
|
|
194
|
-
}], clickInside: [{
|
|
195
|
-
type: HostListener,
|
|
196
|
-
args: ['click']
|
|
197
|
-
}], clickout: [{
|
|
198
|
-
type: HostListener,
|
|
199
|
-
args: ['document:click']
|
|
200
|
-
}] } });
|
|
201
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoYWJsZS1kcm9wZG93bi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NlYXJjaGFibGUtZHJvcGRvd24vc2VhcmNoYWJsZS1kcm9wZG93bi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NlYXJjaGFibGUtZHJvcGRvd24vc2VhcmNoYWJsZS1kcm9wZG93bi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE9BQU8sRUFDTCxTQUFTLEVBRVQsWUFBWSxFQUNaLFlBQVksRUFDWixLQUFLLEVBSUwsTUFBTSxFQUdOLFlBQVksR0FDYixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFFM0MsT0FBTyxFQUFDLGVBQWUsRUFBRSxhQUFhLEVBQUUsU0FBUyxFQUFlLE1BQU0sTUFBTSxDQUFDO0FBQzdFLE9BQU8sRUFBQyxZQUFZLEVBQUUsSUFBSSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7Ozs7QUFPbEQsTUFBTSxPQUFPLDJCQUEyQjtJQUx4QztRQVlXLFVBQUssR0FBRyxHQUFHLENBQUM7UUFFWCxpQkFBWSxHQUFHLElB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AgfVxuXG4gIHByaXZhdGUgb3BlbktleXNTdWJzY3JpcHRpb24oKTogdm9pZCB7XG4gICAgdGhpcy5rZXlTdWJzY3JpcHRpb24gPSBmcm9tRXZlbnQoZG9jdW1lbnQsICdrZXl1cCcpXG4gICAgICAucGlwZShkZWJvdW5jZVRpbWUoNTApKVxuICAgICAgLnN1YnNjcmliZSgoZXZlbnQ6IEtleWJvYXJkRXZlbnQpID0+IHtcbiAgICAgICAgY29tYmluZUxhdGVzdChbdGhpcy5tb3VzZU9uTGlzdCQsIHRoaXMuZmlsdGVyZWRJdGVtcyQsIHRoaXMuZm9jdXNlZEl0ZW1JZCRdKVxuICAgICAgICAgIC5waXBlKHRha2UoMSkpXG4gICAgICAgICAgLnN1YnNjcmliZSgoW21vdXNlT25MaXN0LCBpdGVtcywgZm9jdXNlZElkXSkgPT4ge1xuICAgICAgICAgICAgY29uc3QgbGVuZ3RoID0gaXRlbXMubGVuZ3RoO1xuICAgICAgICAgICAgY29uc3QgZm9jdXNlZEluZGV4ID0gaXRlbXMuZmluZEluZGV4KGl0ZW0gPT4gaXRlbS5pZCA9PT0gZm9jdXNlZElkKTtcbiAgICAgICAgICAgIGNvbnN0IGNvZGUgPSBldmVudC5jb2RlO1xuICAgICAgICAgICAgY29uc3Qgc2hpZnRLZXkgPSBldmVudC5zaGlmdEtleTtcbiAgICAgICAgICAgIGNvbnN0IGRvd24gPSAnQXJyb3dEb3duJztcbiAgICAgICAgICAgIGNvbnN0IHRhYiA9ICdUYWInO1xuICAgICAgICAgICAgY29uc3QgdXAgPSAnQXJyb3dVcCc7XG4gICAgICAgICAgICBjb25zdCBlbnRlciA9ICdFbnRlcic7XG4gICAgICAgICAgICBjb25zdCBlc2NhcGUgPSAnRXNjYXBlJztcblxuICAgICAgICAgICAgLy8gY2xvc2UgZHJvcGRvd24gb24gcHJlc3NpbmcgZXNjYXBlXG4gICAgICAgICAgICBpZiAoY29kZSA9PT0gZXNjYXBlKSB7XG4gICAgICAgICAgICAgI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5kZXJsaW5lZFRleHQnXCIgY2xhc3M9XCJzZWFyY2hhYmxlLWRyb3Bkb3duX191bmRlcmxpbmUtYnV0dG9uXCI+PGI+LTwvYj48L2g1PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2024 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { CommonModule } from '@angular/common';
|
|
17
|
-
import { NgModule } from '@angular/core';
|
|
18
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
19
|
-
import { SearchableDropdownComponent } from './searchable-dropdown.component';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
export class SearchableDropdownModule {
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
23
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownModule, declarations: [SearchableDropdownComponent], imports: [CommonModule, ReactiveFormsModule], exports: [SearchableDropdownComponent] }); }
|
|
24
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownModule, imports: [CommonModule, ReactiveFormsModule] }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownModule, decorators: [{
|
|
27
|
-
type: NgModule,
|
|
28
|
-
args: [{
|
|
29
|
-
declarations: [SearchableDropdownComponent],
|
|
30
|
-
imports: [CommonModule, ReactiveFormsModule],
|
|
31
|
-
exports: [SearchableDropdownComponent],
|
|
32
|
-
}]
|
|
33
|
-
}] });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoYWJsZS1kcm9wZG93bi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NlYXJjaGFibGUtZHJvcGRvd24vc2VhcmNoYWJsZS1kcm9wZG93bi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFFSCxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUNuRCxPQUFPLEVBQUMsMkJBQTJCLEVBQUMsTUFBTSxpQ0FBaUMsQ0FBQzs7QUFPNUUsTUFBTSxPQUFPLHdCQUF3QjsrR0FBeEIsd0JBQXdCO2dIQUF4Qix3QkFBd0IsaUJBSnBCLDJCQUEyQixhQUNoQyxZQUFZLEVBQUUsbUJBQW1CLGFBQ2pDLDJCQUEyQjtnSEFFMUIsd0JBQXdCLFlBSHpCLF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gdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuaW1wb3J0IHtDb21tb25Nb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7UmVhY3RpdmVGb3Jtc01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHtTZWFyY2hhYmxlRHJvcGRvd25Db21wb25lbnR9IGZyb20gJy4vc2VhcmNoYWJsZS1kcm9wZG93bi5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtTZWFyY2hhYmxlRHJvcGRvd25Db21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBSZWFjdGl2ZUZvcm1zTW9kdWxlXSxcbiAgZXhwb3J0czogW1NlYXJjaGFibGVEcm9wZG93bkNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFNlYXJjaGFibGVEcm9wZG93bk1vZHVsZSB7fVxuIl19
|
package/esm2022/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.mjs
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2024 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 * as i0 from "@angular/core";
|
|
18
|
-
import * as i1 from "@angular/common";
|
|
19
|
-
import * as i2 from "../searchable-dropdown/searchable-dropdown.component";
|
|
20
|
-
export class SearchableDropdownSelectComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
this.width = 250;
|
|
23
|
-
this.hasPermission = true;
|
|
24
|
-
this.showClearSelection = true;
|
|
25
|
-
this.itemSelected = new EventEmitter();
|
|
26
|
-
this.clearSelection = new EventEmitter();
|
|
27
|
-
}
|
|
28
|
-
onSelect(id) {
|
|
29
|
-
this.itemSelected.emit(id);
|
|
30
|
-
}
|
|
31
|
-
onClearSelection() {
|
|
32
|
-
this.clearSelection.emit();
|
|
33
|
-
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SearchableDropdownSelectComponent, selector: "valtimo-searchable-dropdown-select", inputs: { style: "style", items: "items", buttonText: "buttonText", searchText: "searchText", noResultsText: "noResultsText", disabled: "disabled", selectedText: "selectedText", selectedTextValue: "selectedTextValue", clearSelectionButtonTitle: "clearSelectionButtonTitle", hasSelection: "hasSelection", width: "width", hasPermission: "hasPermission", showClearSelection: "showClearSelection" }, outputs: { itemSelected: "itemSelected", clearSelection: "clearSelection" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2024 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=\"!hasSelection; else selection\">\n <valtimo-searchable-dropdown\n *ngIf=\"hasPermission\"\n [buttonText]=\"buttonText\"\n [disabled]=\"disabled\"\n [items]=\"items\"\n [noResultsText]=\"noResultsText\"\n [searchText]=\"searchText\"\n [style]=\"style\"\n [width]=\"width\"\n (itemSelected)=\"onSelect($event)\"\n >\n </valtimo-searchable-dropdown>\n</ng-container>\n\n<ng-template #selection>\n <div\n class=\"d-flex flex-row align-items-center\"\n [style.height.px]=\"style === 'button' ? 34 : null\"\n >\n <h5 class=\"selected-text\">\n {{ selectedText }} <b>{{ selectedTextValue }}</b>\n </h5>\n <button\n *ngIf=\"hasPermission && showClearSelection\"\n [title]=\"clearSelectionButtonTitle\"\n (click)=\"onClearSelection()\"\n aria-label=\"Close\"\n class=\"close p-0 m-0 ml-2 text-danger\"\n type=\"button\"\n >\n <i class=\"clear-icon mdi mdi-close text-danger\"></i>\n </button>\n </div>\n</ng-template>\n", styles: [".selected-text{margin:0}.clear-icon{font-size:16px}.close{display:flex}\n/*!\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.SearchableDropdownComponent, selector: "valtimo-searchable-dropdown", inputs: ["style", "items", "buttonText", "searchText", "noResultsText", "disabled", "width"], outputs: ["itemSelected"] }] }); }
|
|
36
|
-
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownSelectComponent, decorators: [{
|
|
38
|
-
type: Component,
|
|
39
|
-
args: [{ selector: 'valtimo-searchable-dropdown-select', template: "<!--\n ~ Copyright 2015-2024 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=\"!hasSelection; else selection\">\n <valtimo-searchable-dropdown\n *ngIf=\"hasPermission\"\n [buttonText]=\"buttonText\"\n [disabled]=\"disabled\"\n [items]=\"items\"\n [noResultsText]=\"noResultsText\"\n [searchText]=\"searchText\"\n [style]=\"style\"\n [width]=\"width\"\n (itemSelected)=\"onSelect($event)\"\n >\n </valtimo-searchable-dropdown>\n</ng-container>\n\n<ng-template #selection>\n <div\n class=\"d-flex flex-row align-items-center\"\n [style.height.px]=\"style === 'button' ? 34 : null\"\n >\n <h5 class=\"selected-text\">\n {{ selectedText }} <b>{{ selectedTextValue }}</b>\n </h5>\n <button\n *ngIf=\"hasPermission && showClearSelection\"\n [title]=\"clearSelectionButtonTitle\"\n (click)=\"onClearSelection()\"\n aria-label=\"Close\"\n class=\"close p-0 m-0 ml-2 text-danger\"\n type=\"button\"\n >\n <i class=\"clear-icon mdi mdi-close text-danger\"></i>\n </button>\n </div>\n</ng-template>\n", styles: [".selected-text{margin:0}.clear-icon{font-size:16px}.close{display:flex}\n/*!\n * Copyright 2015-2024 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"] }]
|
|
40
|
-
}], propDecorators: { style: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], items: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], buttonText: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], searchText: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], noResultsText: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], disabled: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}], selectedText: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], selectedTextValue: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], clearSelectionButtonTitle: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], hasSelection: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], width: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], hasPermission: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}], showClearSelection: [{
|
|
65
|
-
type: Input
|
|
66
|
-
}], itemSelected: [{
|
|
67
|
-
type: Output
|
|
68
|
-
}], clearSelection: [{
|
|
69
|
-
type: Output
|
|
70
|
-
}] } });
|
|
71
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoYWJsZS1kcm9wZG93bi1zZWxlY3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9zZWFyY2hhYmxlLWRyb3Bkb3duL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Bbc3R5bGUuaGVpZ2h0LnB4XT1cInN0eWxlID09PSAnYnV0dG9uJyA/IDM0IDogbnVsbFwiXG4gID5cbiAgICA8aDUgY2xhc3M9XCJzZWxlY3RlZC10ZXh0XCI+XG4gICAgICB7eyBzZWxlY3RlZFRleHQgfX0gPGI+e3sgc2VsZWN0ZWRUZXh0VmFsdWUgfX08L2I+XG4gICAgPC9oNT5cbiAgICA8YnV0dG9uXG4gICAgICAqbmdJZj1cImhhc1Blcm1pc3Npb24gJiYgc2hvd0NsZWFyU2VsZWN0aW9uXCJcbiAgICAgIFt0aXRsZV09XCJjbGVhclNlbGVjdGlvbkJ1dHRvblRpdGxlXCJcbiAgICAgIChjbGljayk9XCJvbkNsZWFyU2VsZWN0aW9uKClcIlxuICAgICAgYXJpYS1sYWJlbD1cIkNsb3NlXCJcbiAgICAgIGNsYXNzPVwiY2xvc2UgcC0wIG0tMCBtbC0yIHRleHQtZGFuZ2VyXCJcbiAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgID5cbiAgICAgIDxpIGNsYXNzPVwiY2xlYXItaWNvbiBtZGkgbWRpLWNsb3NlIHRleHQtZGFuZ2VyXCI+PC9pPlxuICAgIDwvYnV0dG9uPlxuICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
package/esm2022/lib/components/searchable-dropdown-select/searchable-dropdown-select.module.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2024 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { CommonModule } from '@angular/common';
|
|
17
|
-
import { NgModule } from '@angular/core';
|
|
18
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
19
|
-
import { SearchableDropdownSelectComponent } from './searchable-dropdown-select.component';
|
|
20
|
-
import { SearchableDropdownModule } from '../searchable-dropdown/searchable-dropdown.module';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export class SearchableDropdownSelectModule {
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
24
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownSelectModule, declarations: [SearchableDropdownSelectComponent], imports: [CommonModule, ReactiveFormsModule, SearchableDropdownModule], exports: [SearchableDropdownSelectComponent] }); }
|
|
25
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownSelectModule, imports: [CommonModule, ReactiveFormsModule, SearchableDropdownModule] }); }
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchableDropdownSelectModule, decorators: [{
|
|
28
|
-
type: NgModule,
|
|
29
|
-
args: [{
|
|
30
|
-
declarations: [SearchableDropdownSelectComponent],
|
|
31
|
-
imports: [CommonModule, ReactiveFormsModule, SearchableDropdownModule],
|
|
32
|
-
exports: [SearchableDropdownSelectComponent],
|
|
33
|
-
}]
|
|
34
|
-
}] });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJ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