@quadrel-enterprise-ui/framework 18.25.3 → 19.0.0-beta.1
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/fesm2022/quadrel-enterprise-ui-framework.mjs +3203 -3024
- package/fesm2022/quadrel-enterprise-ui-framework.mjs.map +1 -1
- package/lib/core/services/push-events.service.d.ts +2 -13
- package/lib/forms/datepicker/calendar/calendar.component.d.ts +0 -8
- package/lib/forms/input/input.component.d.ts +0 -1
- package/lib/forms/qd-form.module.d.ts +6 -7
- package/lib/forms/reactive-forms/controls/form-array.d.ts +0 -3
- package/lib/navigation/stepper/stepper.module.d.ts +2 -3
- package/lib/navigation/tabs/tabs.module.d.ts +1 -2
- package/lib/page/model/page-config.interface.d.ts +2 -11
- package/lib/page-tabs/page-tabs.module.d.ts +5 -6
- package/lib/shell/header/shell-header.component.d.ts +1 -1
- package/package.json +6 -9
- package/esm2022/global-vars.json +0 -18
- package/esm2022/lib/button/__mocks__/mock-button-grid.component.mjs +0 -14
- package/esm2022/lib/button/__mocks__/mock-button-stack-button.component.mjs +0 -21
- package/esm2022/lib/button/__mocks__/mock-button-stack.component.mjs +0 -14
- package/esm2022/lib/button/__mocks__/mock-button.component.mjs +0 -30
- package/esm2022/lib/button/__mocks__/mock-button.directives.mjs +0 -19
- package/esm2022/lib/button/__mocks__/mock-button.module.mjs +0 -52
- package/esm2022/lib/button/__mocks__/mock-icon-button.component.mjs +0 -17
- package/esm2022/lib/button/button/additional-info/button-additional-info.component.mjs +0 -48
- package/esm2022/lib/button/button/button.component.mjs +0 -98
- package/esm2022/lib/button/button-grid/button-grid.component.mjs +0 -16
- package/esm2022/lib/button/button-stack/button-stack-button/button-stack-button.component.mjs +0 -46
- package/esm2022/lib/button/button-stack/button-stack-container/button-stack.component.mjs +0 -39
- package/esm2022/lib/button/button.module.mjs +0 -89
- package/esm2022/lib/button/directives/button.directives.mjs +0 -40
- package/esm2022/lib/button/icon-button/icon-button.component.mjs +0 -51
- package/esm2022/lib/button/menu-button/menu-button.component.mjs +0 -95
- package/esm2022/lib/button/model/button-config.mjs +0 -2
- package/esm2022/lib/button/model/button.types.mjs +0 -2
- package/esm2022/lib/chips/__mocks__/mock-chip.component.mjs +0 -42
- package/esm2022/lib/chips/__mocks__/mock-chips.module.mjs +0 -19
- package/esm2022/lib/chips/chip/chip.component.mjs +0 -79
- package/esm2022/lib/chips/chips.module.mjs +0 -20
- package/esm2022/lib/chips/interfaces/chip.interface.mjs +0 -2
- package/esm2022/lib/comments/add-comment/add-comment-dialog.component.mjs +0 -138
- package/esm2022/lib/comments/comments.component.mjs +0 -73
- package/esm2022/lib/comments/comments.module.mjs +0 -60
- package/esm2022/lib/comments/menu/comment-menu.component.mjs +0 -19
- package/esm2022/lib/comments/model/comments.interface.mjs +0 -2
- package/esm2022/lib/comments/pipes/stripe-html.pipe.mjs +0 -18
- package/esm2022/lib/contact-card/__mocks__/mock-contact-card.component.mjs +0 -19
- package/esm2022/lib/contact-card/__mocks__/mock-contact-card.module.mjs +0 -19
- package/esm2022/lib/contact-card/contact-card.component.mjs +0 -285
- package/esm2022/lib/contact-card/contact-card.module.mjs +0 -25
- package/esm2022/lib/contact-card/menu/contact-card-menu.component.mjs +0 -80
- package/esm2022/lib/contact-card/model/contact-card-actions-config.interface.mjs +0 -2
- package/esm2022/lib/contact-card/model/contact-data.interface.mjs +0 -2
- package/esm2022/lib/container/__mocks__/mock-action-footer.component.mjs +0 -14
- package/esm2022/lib/container/__mocks__/mock-container-create-content.component.mjs +0 -22
- package/esm2022/lib/container/__mocks__/mock-container-create-default.component.mjs +0 -18
- package/esm2022/lib/container/__mocks__/mock-container-section.component.mjs +0 -18
- package/esm2022/lib/container/__mocks__/mock-container-toolbar-action.component.mjs +0 -41
- package/esm2022/lib/container/__mocks__/mock-container-toolbar-filter.component.mjs +0 -14
- package/esm2022/lib/container/__mocks__/mock-container-toolbar-title.component.mjs +0 -14
- package/esm2022/lib/container/__mocks__/mock-container-toolbar.component.mjs +0 -17
- package/esm2022/lib/container/__mocks__/mock-container.component.mjs +0 -40
- package/esm2022/lib/container/__mocks__/mock-container.module.mjs +0 -85
- package/esm2022/lib/container/__mocks__/mock-create-delete-alert.component.mjs +0 -20
- package/esm2022/lib/container/__mocks__/mock-form-group.component.mjs +0 -39
- package/esm2022/lib/container/container.component.mjs +0 -217
- package/esm2022/lib/container/container.module.mjs +0 -64
- package/esm2022/lib/container/model/container-type.mjs +0 -2
- package/esm2022/lib/container/model/toolbar.interface.mjs +0 -2
- package/esm2022/lib/container/section/container-section.component.mjs +0 -41
- package/esm2022/lib/container/section/header/container-section-header.component.mjs +0 -16
- package/esm2022/lib/container/section/info/container-section-info.component.mjs +0 -14
- package/esm2022/lib/container/services/container-action.service.mjs +0 -19
- package/esm2022/lib/container/services/container-layout.service.mjs +0 -33
- package/esm2022/lib/container/toolbar/action/container-toolbar-action.component.mjs +0 -107
- package/esm2022/lib/container/toolbar/container-toolbar.component.mjs +0 -76
- package/esm2022/lib/container/toolbar/filter/container-toolbar-filter.component.mjs +0 -17
- package/esm2022/lib/container/toolbar/title/container-toolbar-title.component.mjs +0 -16
- package/esm2022/lib/content-grid/__mocks__/mock-content-grid-column.mjs +0 -14
- package/esm2022/lib/content-grid/__mocks__/mock-content-grid-row.mjs +0 -14
- package/esm2022/lib/content-grid/__mocks__/mock-content-grid.mjs +0 -14
- package/esm2022/lib/content-grid/__mocks__/mock-content-grid.module.mjs +0 -19
- package/esm2022/lib/content-grid/content-grid/content-grid.component.mjs +0 -31
- package/esm2022/lib/content-grid/content-grid-column/content-grid-column.component.mjs +0 -17
- package/esm2022/lib/content-grid/content-grid-row/content-grid-row.component.mjs +0 -18
- package/esm2022/lib/content-grid/content-grid.module.mjs +0 -21
- package/esm2022/lib/core/__mocks__/mock-breakpoint.service.mjs +0 -8
- package/esm2022/lib/core/__mocks__/mock-core.module.mjs +0 -42
- package/esm2022/lib/core/__mocks__/mock-disabled.directive.mjs +0 -14
- package/esm2022/lib/core/__mocks__/mock-popover-on-click.directive.mjs +0 -107
- package/esm2022/lib/core/__mocks__/mock-rwd-disabled.directive.mjs +0 -14
- package/esm2022/lib/core/__mocks__/mock-translate.pipe.mjs +0 -14
- package/esm2022/lib/core/__mocks__/mock-visually-hidden.directive.mjs +0 -14
- package/esm2022/lib/core/autofocus/autofocus.directive.mjs +0 -42
- package/esm2022/lib/core/autofocus/autofocus.module.mjs +0 -18
- package/esm2022/lib/core/autofocus/autofocus.service.mjs +0 -20
- package/esm2022/lib/core/breadcrumbs/breadcrumbs.component.mjs +0 -154
- package/esm2022/lib/core/breadcrumbs/breadcrumbs.module.mjs +0 -21
- package/esm2022/lib/core/breadcrumbs/model/breadcrumbs.interface.mjs +0 -2
- package/esm2022/lib/core/breadcrumbs/services/breadcrumbs.service.mjs +0 -61
- package/esm2022/lib/core/breadcrumbs/services/dialog-breadcrumbs.service.mjs +0 -15
- package/esm2022/lib/core/core.module.mjs +0 -54
- package/esm2022/lib/core/data-facets/blank/data-facets-blank.component.mjs +0 -34
- package/esm2022/lib/core/data-facets/boolean/data-facets-boolean.component.mjs +0 -23
- package/esm2022/lib/core/data-facets/chip/data-facets-chip.component.mjs +0 -63
- package/esm2022/lib/core/data-facets/chip/data-facets-chip.interfaces.mjs +0 -2
- package/esm2022/lib/core/data-facets/chip/truncated-indicator/data-facets-chip-truncated-indicator.component.mjs +0 -98
- package/esm2022/lib/core/data-facets/chip/truncated-tooltip/data-facets-chip-truncated-tooltip.component.mjs +0 -139
- package/esm2022/lib/core/data-facets/currency/data-facets-currency.component.mjs +0 -71
- package/esm2022/lib/core/data-facets/currency/data-facets-currency.interfaces.mjs +0 -2
- package/esm2022/lib/core/data-facets/data-facets-context.service.mjs +0 -17
- package/esm2022/lib/core/data-facets/data-facets.model.mjs +0 -34
- package/esm2022/lib/core/data-facets/data-facets.module.mjs +0 -62
- package/esm2022/lib/core/data-facets/date/data-facets-date.component.mjs +0 -98
- package/esm2022/lib/core/data-facets/date/data-facets-date.interfaces.mjs +0 -2
- package/esm2022/lib/core/data-facets/icon/data-facets-icon.component.mjs +0 -24
- package/esm2022/lib/core/data-facets/integer/data-facets-integer.component.mjs +0 -22
- package/esm2022/lib/core/data-facets/link/data-facets-link.component.mjs +0 -70
- package/esm2022/lib/core/data-facets/link/data-facets-link.interfaces.mjs +0 -2
- package/esm2022/lib/core/data-facets/progress/data-facets-progress.component.mjs +0 -34
- package/esm2022/lib/core/data-facets/status/data-facets-status.component.mjs +0 -24
- package/esm2022/lib/core/data-facets/status/data-facets-status.interfaces.mjs +0 -2
- package/esm2022/lib/core/data-facets/text/data-facets-text.component.mjs +0 -49
- package/esm2022/lib/core/data-facets/text/data-facets-text.interfaces.mjs +0 -2
- package/esm2022/lib/core/disabled/disabled.directive.mjs +0 -14
- package/esm2022/lib/core/focusable/focusable.directive.mjs +0 -27
- package/esm2022/lib/core/focusable/focusable.mjs +0 -2
- package/esm2022/lib/core/focusable/focusable.module.mjs +0 -16
- package/esm2022/lib/core/focusable/focusable.token.mjs +0 -6
- package/esm2022/lib/core/model/app-enviroment.interface.mjs +0 -2
- package/esm2022/lib/core/model/app-enviroment.token.mjs +0 -3
- package/esm2022/lib/core/model/breakpoint.interface.mjs +0 -3
- package/esm2022/lib/core/model/translation.interface.mjs +0 -2
- package/esm2022/lib/core/pipes/file-size.pipe.mjs +0 -41
- package/esm2022/lib/core/pipes/placeholder.pipe.mjs +0 -17
- package/esm2022/lib/core/pipes/placeholders.pipe.mjs +0 -20
- package/esm2022/lib/core/pipes/sanitize-html.pipe.mjs +0 -20
- package/esm2022/lib/core/popover/popover/popover.component.mjs +0 -52
- package/esm2022/lib/core/popover/popover-on-click/popover-on-click.directive.mjs +0 -261
- package/esm2022/lib/core/popover/popover-on-hover/popover-on-hover.directive.mjs +0 -91
- package/esm2022/lib/core/popover/popover-parent.service.mjs +0 -11
- package/esm2022/lib/core/popover/popover-sizing.service.mjs +0 -163
- package/esm2022/lib/core/popover/popover-top-first.token.mjs +0 -3
- package/esm2022/lib/core/popover/popover.module.mjs +0 -22
- package/esm2022/lib/core/popover/popover.service.mjs +0 -18
- package/esm2022/lib/core/projection-guard/projection-guard.component.mjs +0 -33
- package/esm2022/lib/core/rwd-disabled/rwd-disabled.directive.mjs +0 -14
- package/esm2022/lib/core/rxjs/delay-and-hold.operator.mjs +0 -52
- package/esm2022/lib/core/services/breakpoint.service.mjs +0 -34
- package/esm2022/lib/core/services/element.service.mjs +0 -16
- package/esm2022/lib/core/services/event-broker.service.mjs +0 -76
- package/esm2022/lib/core/services/push-events.service.mjs +0 -191
- package/esm2022/lib/core/services/scrolling.service.mjs +0 -47
- package/esm2022/lib/core/services/translate.service.mjs +0 -48
- package/esm2022/lib/core/tools/constantCase.tools.mjs +0 -3
- package/esm2022/lib/core/tools/convertPxToRem.tools.mjs +0 -3
- package/esm2022/lib/core/tooltip/model/tooltip-content.interface.mjs +0 -2
- package/esm2022/lib/core/tooltip/tooltip/tooltip.component.mjs +0 -15
- package/esm2022/lib/core/tooltip/tooltip-at-intersection/tooltip-at-intersection.directive.mjs +0 -115
- package/esm2022/lib/core/tooltip/tooltip-on-tap-hover/tooltip-on-click.directive.mjs +0 -101
- package/esm2022/lib/core/tooltip/tooltip.module.mjs +0 -21
- package/esm2022/lib/core/types/utility.types.mjs +0 -2
- package/esm2022/lib/core/visually-hidden/visually-hidden.directive.mjs +0 -14
- package/esm2022/lib/dialog/action/dialog-action.component.mjs +0 -11
- package/esm2022/lib/dialog/auth-session-end/dialog-auth-session-end.component.mjs +0 -33
- package/esm2022/lib/dialog/confirmation/dialog-confirmation.component.mjs +0 -227
- package/esm2022/lib/dialog/dialog.component.mjs +0 -100
- package/esm2022/lib/dialog/dialog.module.mjs +0 -106
- package/esm2022/lib/dialog/models/confirmation.model.mjs +0 -6
- package/esm2022/lib/dialog/models/dialog-config.model.mjs +0 -10
- package/esm2022/lib/dialog/models/record-stepper.model.mjs +0 -2
- package/esm2022/lib/dialog/models/session-end-result.model.mjs +0 -2
- package/esm2022/lib/dialog/page-dialog-with-breadcrumbs/page-dialog-with-breadcrumbs.component.mjs +0 -14
- package/esm2022/lib/dialog/record-stepper/dialog-record-stepper.component.mjs +0 -80
- package/esm2022/lib/dialog/services/dialog-auth-session-end.service.mjs +0 -38
- package/esm2022/lib/dialog/services/dialog.service.mjs +0 -128
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-dialog-item-error.component.mjs +0 -19
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-dialog-item-progress.component.mjs +0 -21
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-dialog-item.component.mjs +0 -25
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item-name.component.mjs +0 -18
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item-size.component.mjs +0 -18
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item-tools.component.mjs +0 -34
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item.component.mjs +0 -40
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector.component.mjs +0 -14
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector.module.mjs +0 -42
- package/esm2022/lib/file-collector/allowed-files-description/file-collector-allowed-files-description.component.mjs +0 -34
- package/esm2022/lib/file-collector/dialog/file-collector-dialog.component.mjs +0 -47
- package/esm2022/lib/file-collector/dialog/item/error/file-collector-dialog-item-error.component.mjs +0 -39
- package/esm2022/lib/file-collector/dialog/item/file-collector-dialog-item.component.mjs +0 -41
- package/esm2022/lib/file-collector/dialog/item/progress/file-collector-dialog-item-progress.component.mjs +0 -64
- package/esm2022/lib/file-collector/file-collector.component.mjs +0 -256
- package/esm2022/lib/file-collector/file-collector.module.mjs +0 -95
- package/esm2022/lib/file-collector/file-delete-dialog/file-delete-dialog.component.mjs +0 -35
- package/esm2022/lib/file-collector/item/file-collector-item.component.mjs +0 -44
- package/esm2022/lib/file-collector/item/name/file-collector-item-name.component.mjs +0 -15
- package/esm2022/lib/file-collector/item/size/file-collector-item-size.component.mjs +0 -17
- package/esm2022/lib/file-collector/item/tools/file-collector-item-tools.component.mjs +0 -79
- package/esm2022/lib/file-collector/item/upload-timestamp/upload-timestamp.component.mjs +0 -16
- package/esm2022/lib/file-collector/models/collected-file.mjs +0 -2
- package/esm2022/lib/file-collector/models/file-collector-config.mjs +0 -2
- package/esm2022/lib/file-collector/models/file-manager-token.mjs +0 -3
- package/esm2022/lib/file-collector/models/file-manager.mjs +0 -2
- package/esm2022/lib/file-collector/models/file-type.mjs +0 -2
- package/esm2022/lib/file-collector/models/file-upload.mjs +0 -9
- package/esm2022/lib/file-collector/models/upload-progress.mjs +0 -12
- package/esm2022/lib/file-collector/pipes/filesize.pipe.mjs +0 -40
- package/esm2022/lib/file-collector/pipes/upload-timestamp.pipe.mjs +0 -26
- package/esm2022/lib/file-collector/services/file-collector-validation.service.mjs +0 -36
- package/esm2022/lib/file-collector/services/file-collector.service.mjs +0 -86
- package/esm2022/lib/file-collector/services/file-type.service.mjs +0 -119
- package/esm2022/lib/filter/__mocks__/mock-filter-category-boolean.mjs +0 -31
- package/esm2022/lib/filter/__mocks__/mock-filter-category-date-range.mjs +0 -35
- package/esm2022/lib/filter/__mocks__/mock-filter-category-date.mjs +0 -35
- package/esm2022/lib/filter/__mocks__/mock-filter-category-free-text.mjs +0 -34
- package/esm2022/lib/filter/__mocks__/mock-filter-category-select.mjs +0 -31
- package/esm2022/lib/filter/__mocks__/mock-filter-category.mjs +0 -35
- package/esm2022/lib/filter/__mocks__/mock-filter-item-boolean.mjs +0 -37
- package/esm2022/lib/filter/__mocks__/mock-filter-item-date-range.mjs +0 -38
- package/esm2022/lib/filter/__mocks__/mock-filter-item-date.mjs +0 -38
- package/esm2022/lib/filter/__mocks__/mock-filter-item-free-text.mjs +0 -37
- package/esm2022/lib/filter/__mocks__/mock-filter-item-multi-select.mjs +0 -34
- package/esm2022/lib/filter/__mocks__/mock-filter-item-single-select.mjs +0 -34
- package/esm2022/lib/filter/__mocks__/mock-filter.mjs +0 -32
- package/esm2022/lib/filter/__mocks__/mock-filter.module.mjs +0 -89
- package/esm2022/lib/filter/__mocks__/mock-filter.service.mjs +0 -87
- package/esm2022/lib/filter/__mocks__/mock-localeDate.pipe.mjs +0 -15
- package/esm2022/lib/filter/category/boolean/filter-category-boolean.component.mjs +0 -36
- package/esm2022/lib/filter/category/date/filter-category-date.component.mjs +0 -62
- package/esm2022/lib/filter/category/date-range/filter-category-date-range.component.mjs +0 -75
- package/esm2022/lib/filter/category/filter-category.component.mjs +0 -110
- package/esm2022/lib/filter/category/free-text/filter-category-free-text.component.mjs +0 -61
- package/esm2022/lib/filter/category/select/filter-category-select.component.mjs +0 -129
- package/esm2022/lib/filter/filter-service/filter.service.mjs +0 -206
- package/esm2022/lib/filter/filter.component.mjs +0 -308
- package/esm2022/lib/filter/filter.module.mjs +0 -101
- package/esm2022/lib/filter/helpers/filter-active-items.helper.mjs +0 -26
- package/esm2022/lib/filter/helpers/filter-active.helper.mjs +0 -6
- package/esm2022/lib/filter/helpers/filter-get.helper.mjs +0 -18
- package/esm2022/lib/filter/helpers/filter-postbody.helper.mjs +0 -6
- package/esm2022/lib/filter/helpers/filter-query-parser.helper.mjs +0 -27
- package/esm2022/lib/filter/helpers/filter-query.helper.mjs +0 -39
- package/esm2022/lib/filter/helpers/filter-selection-validator.helper.mjs +0 -33
- package/esm2022/lib/filter/helpers/filter-state.helpers.mjs +0 -88
- package/esm2022/lib/filter/helpers/filter-update.helper.mjs +0 -84
- package/esm2022/lib/filter/item/boolean/filter-item-boolean.component.mjs +0 -62
- package/esm2022/lib/filter/item/date/filter-item-date.component.mjs +0 -68
- package/esm2022/lib/filter/item/date-range/filter-item-date-range.component.mjs +0 -107
- package/esm2022/lib/filter/item/free-text/filter-item-free-text.component.mjs +0 -82
- package/esm2022/lib/filter/item/multi-select/filter-item-multi-select.component.mjs +0 -62
- package/esm2022/lib/filter/item/single-select/filter-item-single-select.component.mjs +0 -72
- package/esm2022/lib/filter/model/filter-config.interface.mjs +0 -2
- package/esm2022/lib/filter/model/filter-post-body.interface.mjs +0 -2
- package/esm2022/lib/filter/model/filter-reducer.interface.mjs +0 -2
- package/esm2022/lib/filter/model/filter-state.interface.mjs +0 -2
- package/esm2022/lib/filter/model/filter-types.interface.mjs +0 -2
- package/esm2022/lib/filter/pipes/localeDate.pipe.mjs +0 -54
- package/esm2022/lib/filter/services/dependent-filters.service.mjs +0 -61
- package/esm2022/lib/filter/services/filter-rest-param.tools.mjs +0 -27
- package/esm2022/lib/filter/services/filter-router-connector.service.mjs +0 -111
- package/esm2022/lib/filter/store/filter.actions.mjs +0 -25
- package/esm2022/lib/filter/store/filter.reducer.mjs +0 -98
- package/esm2022/lib/filter/store/filter.selector.mjs +0 -38
- package/esm2022/lib/forms/__mocks__/mock-calendar.component.mjs +0 -31
- package/esm2022/lib/forms/__mocks__/mock-checkbox-chips-item.component.mjs +0 -23
- package/esm2022/lib/forms/__mocks__/mock-checkbox-chips.component.mjs +0 -32
- package/esm2022/lib/forms/__mocks__/mock-checkbox.component.mjs +0 -38
- package/esm2022/lib/forms/__mocks__/mock-checkboxes.component.mjs +0 -35
- package/esm2022/lib/forms/__mocks__/mock-datepicker.component.mjs +0 -34
- package/esm2022/lib/forms/__mocks__/mock-dropdown.component.mjs +0 -44
- package/esm2022/lib/forms/__mocks__/mock-filter-form-items.component.mjs +0 -27
- package/esm2022/lib/forms/__mocks__/mock-form-error.component.mjs +0 -19
- package/esm2022/lib/forms/__mocks__/mock-form-group-error.component.mjs +0 -22
- package/esm2022/lib/forms/__mocks__/mock-form-hint.component.mjs +0 -31
- package/esm2022/lib/forms/__mocks__/mock-form-label.component.mjs +0 -39
- package/esm2022/lib/forms/__mocks__/mock-form-readonly.component.mjs +0 -26
- package/esm2022/lib/forms/__mocks__/mock-form-viewonly.component.mjs +0 -26
- package/esm2022/lib/forms/__mocks__/mock-forms.module.mjs +0 -118
- package/esm2022/lib/forms/__mocks__/mock-input.component.mjs +0 -95
- package/esm2022/lib/forms/__mocks__/mock-pin-code.component.mjs +0 -76
- package/esm2022/lib/forms/__mocks__/mock-radio-buttons.component.mjs +0 -38
- package/esm2022/lib/forms/__mocks__/mock-switch.component.mjs +0 -56
- package/esm2022/lib/forms/__mocks__/mock-switches.component.mjs +0 -54
- package/esm2022/lib/forms/__mocks__/mock-textarea.component.mjs +0 -50
- package/esm2022/lib/forms/checkbox-chips/checkbox-chips.component.mjs +0 -250
- package/esm2022/lib/forms/checkbox-chips/item/checkbox-chips-item.component.mjs +0 -34
- package/esm2022/lib/forms/checkbox-chips/services/checkbox-chips.service.mjs +0 -33
- package/esm2022/lib/forms/checkboxes/checkbox/checkbox.component.mjs +0 -93
- package/esm2022/lib/forms/checkboxes/checkboxes-service/checkboxes.service.mjs +0 -106
- package/esm2022/lib/forms/checkboxes/checkboxes.component.mjs +0 -354
- package/esm2022/lib/forms/datepicker/adapter/date-adapter.mjs +0 -116
- package/esm2022/lib/forms/datepicker/calendar/calendar.component.mjs +0 -195
- package/esm2022/lib/forms/datepicker/datepicker.component.mjs +0 -490
- package/esm2022/lib/forms/datepicker/service/timepicker.service.mjs +0 -68
- package/esm2022/lib/forms/dropdown/dropdown.component.mjs +0 -491
- package/esm2022/lib/forms/dropdown/options/dropdown-options.component.mjs +0 -90
- package/esm2022/lib/forms/file-upload/file-upload.component.mjs +0 -333
- package/esm2022/lib/forms/file-upload/model/file-upload.model.mjs +0 -46
- package/esm2022/lib/forms/file-upload/services/file-upload.service.mjs +0 -61
- package/esm2022/lib/forms/forms/forms.component.mjs +0 -16
- package/esm2022/lib/forms/input/helpers/get-value-with-unit.mjs +0 -22
- package/esm2022/lib/forms/input/input.component.mjs +0 -610
- package/esm2022/lib/forms/input/options/input-options.component.mjs +0 -64
- package/esm2022/lib/forms/input/options/input-options.directive.mjs +0 -281
- package/esm2022/lib/forms/input/units/input-units.component.mjs +0 -62
- package/esm2022/lib/forms/model/datepicker.mjs +0 -7
- package/esm2022/lib/forms/model/form-input.mjs +0 -2
- package/esm2022/lib/forms/model/form-options-resolver.mjs +0 -22
- package/esm2022/lib/forms/model/forms.interface.mjs +0 -2
- package/esm2022/lib/forms/model/options.interface.mjs +0 -2
- package/esm2022/lib/forms/model/radio-buttons.mjs +0 -2
- package/esm2022/lib/forms/multi-input/interfaces/multi-input-chip.interface.mjs +0 -2
- package/esm2022/lib/forms/multi-input/multi-input-chip/multi-input-chip.component.mjs +0 -95
- package/esm2022/lib/forms/multi-input/multi-input-menu/multi-input-menu.component.mjs +0 -83
- package/esm2022/lib/forms/multi-input/multi-input-service/multi-input.service.mjs +0 -102
- package/esm2022/lib/forms/multi-input/multi-input.component.mjs +0 -540
- package/esm2022/lib/forms/pin-code/pin-code-service/pin-code.service.mjs +0 -90
- package/esm2022/lib/forms/pin-code/pin-code.component.mjs +0 -454
- package/esm2022/lib/forms/qd-form.module.mjs +0 -189
- package/esm2022/lib/forms/radio-buttons/radio-buttons-service/radio-buttons.service.mjs +0 -45
- package/esm2022/lib/forms/radio-buttons/radio-buttons.component.mjs +0 -326
- package/esm2022/lib/forms/reactive-forms/controls/form-array-factory.service.mjs +0 -72
- package/esm2022/lib/forms/reactive-forms/controls/form-array.mjs +0 -320
- package/esm2022/lib/forms/reactive-forms/controls/form-builder.mjs +0 -126
- package/esm2022/lib/forms/reactive-forms/controls/form-control.mjs +0 -61
- package/esm2022/lib/forms/reactive-forms/controls/form-group.mjs +0 -4
- package/esm2022/lib/forms/richtext/richtext.component.mjs +0 -214
- package/esm2022/lib/forms/shared/components/filter-form-items/filter-form-items.component.mjs +0 -34
- package/esm2022/lib/forms/shared/components/form-error/form-error.component.mjs +0 -48
- package/esm2022/lib/forms/shared/components/form-hint/form-hint.component.mjs +0 -40
- package/esm2022/lib/forms/shared/components/form-input/form-input.component.mjs +0 -43
- package/esm2022/lib/forms/shared/components/form-label/form-label.component.mjs +0 -59
- package/esm2022/lib/forms/shared/components/form-readonly/form-readonly.component.mjs +0 -45
- package/esm2022/lib/forms/shared/components/form-viewonly/form-viewonly.component.mjs +0 -50
- package/esm2022/lib/forms/shared/helpers/forms-options.helpers.mjs +0 -21
- package/esm2022/lib/forms/shared/helpers/forms.helpers.mjs +0 -87
- package/esm2022/lib/forms/shared/helpers/has-validators.helpers.mjs +0 -10
- package/esm2022/lib/forms/shared/services/action-emitter.service.mjs +0 -17
- package/esm2022/lib/forms/shared/services/form-keyboard.service.mjs +0 -52
- package/esm2022/lib/forms/shared/services/form-options.service.mjs +0 -102
- package/esm2022/lib/forms/shared/services/options-resolver.registry.mjs +0 -32
- package/esm2022/lib/forms/shared/validators/validators.mjs +0 -247
- package/esm2022/lib/forms/switches/switch/switch.component.mjs +0 -58
- package/esm2022/lib/forms/switches/switches-service/switches.service.mjs +0 -67
- package/esm2022/lib/forms/switches/switches.component.mjs +0 -300
- package/esm2022/lib/forms/textarea/textarea.component.mjs +0 -296
- package/esm2022/lib/grid/__mocks__/mock-column.directive.mjs +0 -17
- package/esm2022/lib/grid/__mocks__/mock-columns.directive.mjs +0 -26
- package/esm2022/lib/grid/__mocks__/mock-grid.module.mjs +0 -18
- package/esm2022/lib/grid/directives/column-auto-fill.directive.mjs +0 -54
- package/esm2022/lib/grid/directives/column-break-before.directive.mjs +0 -55
- package/esm2022/lib/grid/directives/column-disable-responsive-colspans.directive.mjs +0 -60
- package/esm2022/lib/grid/directives/column-full-grid-width.directive.mjs +0 -56
- package/esm2022/lib/grid/directives/column-next-in-same-row.directive.mjs +0 -79
- package/esm2022/lib/grid/directives/column.directive.mjs +0 -91
- package/esm2022/lib/grid/directives/columns-disable-auto-fill.directive.mjs +0 -55
- package/esm2022/lib/grid/directives/columns-disable-responsive-colspans.directive.mjs +0 -56
- package/esm2022/lib/grid/directives/columns-max.directive.mjs +0 -67
- package/esm2022/lib/grid/directives/columns.directive.mjs +0 -83
- package/esm2022/lib/grid/grid.component.mjs +0 -67
- package/esm2022/lib/grid/grid.module.mjs +0 -77
- package/esm2022/lib/grid/model/grid-config.interface.mjs +0 -2
- package/esm2022/lib/grid/model/subgrid-config.interface.mjs +0 -2
- package/esm2022/lib/grid/services/grid-auto-fill.service.mjs +0 -165
- package/esm2022/lib/grid/services/grid.service.mjs +0 -22
- package/esm2022/lib/grid/subgrid/subgrid.component.mjs +0 -77
- package/esm2022/lib/helpers/html-plaintext.helper.mjs +0 -11
- package/esm2022/lib/helpers/language.helper.mjs +0 -5
- package/esm2022/lib/helpers/load-javascript-asset.helper.mjs +0 -10
- package/esm2022/lib/helpers/relative-time.helper.mjs +0 -22
- package/esm2022/lib/icon/__mocks__/mock-icon.component.mjs +0 -36
- package/esm2022/lib/icon/__mocks__/mock-icon.module.mjs +0 -17
- package/esm2022/lib/icon/custom-icons/logo.mjs +0 -201
- package/esm2022/lib/icon/icon/icon-definitions.mjs +0 -293
- package/esm2022/lib/icon/icon/icon.component.mjs +0 -78
- package/esm2022/lib/icon/icon.module.mjs +0 -19
- package/esm2022/lib/image/__mocks__/mock-image.component.mjs +0 -30
- package/esm2022/lib/image/__mocks__/mock-image.module.mjs +0 -17
- package/esm2022/lib/image/image/image.component.mjs +0 -83
- package/esm2022/lib/image/image.module.mjs +0 -21
- package/esm2022/lib/layout/__mocks__/mock-action-bar.component.mjs +0 -37
- package/esm2022/lib/layout/__mocks__/mock-active-content-tab.directive.mjs +0 -18
- package/esm2022/lib/layout/__mocks__/mock-button-enabled.directive.mjs +0 -21
- package/esm2022/lib/layout/__mocks__/mock-layout-container.component.mjs +0 -14
- package/esm2022/lib/layout/__mocks__/mock-layout-renderer.component.mjs +0 -37
- package/esm2022/lib/layout/__mocks__/mock-layout.module.mjs +0 -97
- package/esm2022/lib/layout/__mocks__/mock-page-process-header-title.component.mjs +0 -14
- package/esm2022/lib/layout/__mocks__/mock-page-process-header.component.mjs +0 -66
- package/esm2022/lib/layout/__mocks__/mock-page-title.component.mjs +0 -16
- package/esm2022/lib/layout/__mocks__/mock-panel-title.component.mjs +0 -18
- package/esm2022/lib/layout/__mocks__/mock-panel.component.mjs +0 -24
- package/esm2022/lib/layout/__mocks__/mock-truncated-text.directive.mjs +0 -43
- package/esm2022/lib/layout/action-bar/action-bar.component.mjs +0 -78
- package/esm2022/lib/layout/action-bar/button-enabled.directive.mjs +0 -63
- package/esm2022/lib/layout/container/container.component.mjs +0 -153
- package/esm2022/lib/layout/content/page-process-header/page-process-header/page-process-header.component.mjs +0 -181
- package/esm2022/lib/layout/content/page-process-header/page-process-header-title/page-process-header-title.component.mjs +0 -17
- package/esm2022/lib/layout/content/page-title/page-title.component.mjs +0 -37
- package/esm2022/lib/layout/directives/active-content-tab.directive.mjs +0 -55
- package/esm2022/lib/layout/directives/calculate-full-height.directive.mjs +0 -57
- package/esm2022/lib/layout/directives/viewport-adaptive.directive.mjs +0 -25
- package/esm2022/lib/layout/force-line-break/force-line-break.directive.mjs +0 -17
- package/esm2022/lib/layout/interfaces/process-list.mjs +0 -2
- package/esm2022/lib/layout/layout-renderer/layout-renderer.component.mjs +0 -79
- package/esm2022/lib/layout/layout.module.mjs +0 -175
- package/esm2022/lib/layout/modal-fullscreen-container/modal-fullscreen-container.component.mjs +0 -157
- package/esm2022/lib/layout/panel/container/panel.component.mjs +0 -80
- package/esm2022/lib/layout/panel/title/panel-title.component.mjs +0 -50
- package/esm2022/lib/layout/panel/types/panel-types.mjs +0 -2
- package/esm2022/lib/layout/service/layout.service.mjs +0 -42
- package/esm2022/lib/layout/service/panel.service.mjs +0 -43
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-caption.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-container.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-header.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-item.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-value.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-list.module.mjs +0 -86
- package/esm2022/lib/lists/__mocks__/mock-status-error.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-status-pairs-caption.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-status-pairs-item.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-status-pairs-value.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-status-pairs.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-vertical-pairs-caption.component.mjs +0 -18
- package/esm2022/lib/lists/__mocks__/mock-vertical-pairs-item.component.mjs +0 -14
- package/esm2022/lib/lists/__mocks__/mock-vertical-pairs-value.component.mjs +0 -18
- package/esm2022/lib/lists/__mocks__/mock-vertical-pairs.component.mjs +0 -14
- package/esm2022/lib/lists/list.module.mjs +0 -111
- package/esm2022/lib/lists/model/list.interface.mjs +0 -2
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-caption/container-pairs-caption.component.mjs +0 -16
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-container/container-pairs-container.component.mjs +0 -30
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-header/container-pairs-header.component.mjs +0 -16
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-item/container-pairs-item.component.mjs +0 -17
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-value/container-pairs-value.component.mjs +0 -16
- package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-caption/horizontal-pairs-caption.component.mjs +0 -16
- package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-container/horizontal-pairs.component.mjs +0 -41
- package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-item/horizontal-pairs-item.component.mjs +0 -17
- package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-value/horizontal-pairs-value.component.mjs +0 -16
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-caption/status-pairs-caption.component.mjs +0 -16
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-container/status-pairs.component.mjs +0 -65
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-error/status-pairs-error.component.mjs +0 -29
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-item/status-pairs-item.component.mjs +0 -29
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-value/status-pairs-value.component.mjs +0 -16
- package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-caption/vertical-pairs-caption.component.mjs +0 -16
- package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-container/vertical-pairs.component.mjs +0 -41
- package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-item/vertical-pairs-item.component.mjs +0 -27
- package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-value/vertical-pairs-value.component.mjs +0 -16
- package/esm2022/lib/master-layout/__mocks__/mock-header-widget.component.mjs +0 -45
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout-banner.component.mjs +0 -14
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout-footer.component.mjs +0 -14
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout-header.component.mjs +0 -43
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout.component.mjs +0 -27
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout.module.mjs +0 -43
- package/esm2022/lib/master-layout/header-widget/header-widget.component.mjs +0 -164
- package/esm2022/lib/master-layout/master-layout/master-layout.component.mjs +0 -132
- package/esm2022/lib/master-layout/master-layout-banner/master-layout-banner.component.mjs +0 -47
- package/esm2022/lib/master-layout/master-layout-footer/master-layout-footer.component.mjs +0 -20
- package/esm2022/lib/master-layout/master-layout-header/master-layout-header.component.mjs +0 -98
- package/esm2022/lib/master-layout/master-layout.module.mjs +0 -82
- package/esm2022/lib/master-layout/model/page-level.mjs +0 -7
- package/esm2022/lib/master-layout/model/service-navigation.mjs +0 -2
- package/esm2022/lib/master-layout/service/language-from-url.service.mjs +0 -63
- package/esm2022/lib/master-layout/service/master-layout.service.mjs +0 -43
- package/esm2022/lib/master-layout/service-navigation/service-navigation.component.mjs +0 -21
- package/esm2022/lib/navigation/stepper/__mocks__/mock-step-action.component.mjs +0 -49
- package/esm2022/lib/navigation/stepper/__mocks__/mock-step-item.component.mjs +0 -53
- package/esm2022/lib/navigation/stepper/__mocks__/mock-step.component.mjs +0 -50
- package/esm2022/lib/navigation/stepper/__mocks__/mock-stepper.component.mjs +0 -25
- package/esm2022/lib/navigation/stepper/__mocks__/mock-stepper.module.mjs +0 -22
- package/esm2022/lib/navigation/stepper/interfaces/stepper.mjs +0 -2
- package/esm2022/lib/navigation/stepper/step/step.component.mjs +0 -182
- package/esm2022/lib/navigation/stepper/step-action/step-action.component.mjs +0 -73
- package/esm2022/lib/navigation/stepper/step-item/step-item.component.mjs +0 -108
- package/esm2022/lib/navigation/stepper/stepper/stepper.component.mjs +0 -368
- package/esm2022/lib/navigation/stepper/stepper.module.mjs +0 -27
- package/esm2022/lib/navigation/tab-bar/__mocks__/mock-tab-bar.module.mjs +0 -20
- package/esm2022/lib/navigation/tab-bar/__mocks__/mock-tab-link.component.mjs +0 -23
- package/esm2022/lib/navigation/tab-bar/__mocks__/mock-tab-nav-bar.component.mjs +0 -15
- package/esm2022/lib/navigation/tab-bar/tab-bar.module.mjs +0 -21
- package/esm2022/lib/navigation/tab-bar/tab-link/tab-link.component.mjs +0 -52
- package/esm2022/lib/navigation/tab-bar/tab-nav-bar/tab-nav-bar.component.mjs +0 -17
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tab-action.component.mjs +0 -34
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tab-item.component.mjs +0 -51
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tab-pending-tasks.component.mjs +0 -29
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tab.component.mjs +0 -54
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tabs-page-leave-handler.component.mjs +0 -25
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tabs.component.mjs +0 -43
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tabs.module.mjs +0 -48
- package/esm2022/lib/navigation/tabs/interfaces/tabs.interface.mjs +0 -2
- package/esm2022/lib/navigation/tabs/services/tabs.service.mjs +0 -72
- package/esm2022/lib/navigation/tabs/tab/tab.component.mjs +0 -135
- package/esm2022/lib/navigation/tabs/tab-action/tab-action.component.mjs +0 -33
- package/esm2022/lib/navigation/tabs/tab-item/tab-item.component.mjs +0 -92
- package/esm2022/lib/navigation/tabs/tab-pending-tasks/tab-pending-tasks.component.mjs +0 -36
- package/esm2022/lib/navigation/tabs/tabs/tabs.component.mjs +0 -245
- package/esm2022/lib/navigation/tabs/tabs.module.mjs +0 -51
- package/esm2022/lib/navigation-tiles/__mocks__/mock-navigation-tile.component.mjs +0 -21
- package/esm2022/lib/navigation-tiles/__mocks__/mock-navigation-tiles.component.mjs +0 -14
- package/esm2022/lib/navigation-tiles/__mocks__/mock-navigation-tiles.module.mjs +0 -18
- package/esm2022/lib/navigation-tiles/navigation-tile/navigation-tile.component.mjs +0 -42
- package/esm2022/lib/navigation-tiles/navigation-tiles/navigation-tiles.component.mjs +0 -23
- package/esm2022/lib/navigation-tiles/navigation-tiles.module.mjs +0 -22
- package/esm2022/lib/notifications/__mocks__/mock-notification.component.mjs +0 -29
- package/esm2022/lib/notifications/__mocks__/mock-notification.content.component.mjs +0 -15
- package/esm2022/lib/notifications/__mocks__/mock-notifications-service.service.mjs +0 -32
- package/esm2022/lib/notifications/__mocks__/mock-notifications.component.mjs +0 -17
- package/esm2022/lib/notifications/__mocks__/mock-notifications.module.mjs +0 -24
- package/esm2022/lib/notifications/directives/snackbar-listener.directive.mjs +0 -70
- package/esm2022/lib/notifications/interfaces/notifications.mjs +0 -2
- package/esm2022/lib/notifications/notification/notification.component.mjs +0 -547
- package/esm2022/lib/notifications/notification-content/notification-content.component.mjs +0 -14
- package/esm2022/lib/notifications/notifications/notifications.component.mjs +0 -35
- package/esm2022/lib/notifications/notifications.module.mjs +0 -47
- package/esm2022/lib/notifications/services/notifications-http-interceptor.service.mjs +0 -111
- package/esm2022/lib/notifications/services/notifications-service.service.mjs +0 -122
- package/esm2022/lib/notifications/services/os-notifications/desktop-notifications.service.mjs +0 -85
- package/esm2022/lib/notifications/services/os-notifications/os-notifications.service.mjs +0 -29
- package/esm2022/lib/notifications/services/snackbar.service.mjs +0 -65
- package/esm2022/lib/notifications/snackbar/snackbar.component.mjs +0 -25
- package/esm2022/lib/page/__mocks__/mock-page-footer.component.mjs +0 -14
- package/esm2022/lib/page/__mocks__/mock-page-header.component.mjs +0 -14
- package/esm2022/lib/page/__mocks__/mock-page.component.mjs +0 -19
- package/esm2022/lib/page/__mocks__/mock-page.module.mjs +0 -21
- package/esm2022/lib/page/cancel-confirmation-dialog/page-cancel-confirmation-dialog.component.mjs +0 -38
- package/esm2022/lib/page/control-panel/page-control-panel.component.mjs +0 -55
- package/esm2022/lib/page/footer/page-footer-custom-content.directive.mjs +0 -25
- package/esm2022/lib/page/footer/page-footer.component.mjs +0 -30
- package/esm2022/lib/page/info-banner/page-info-banner.component.mjs +0 -124
- package/esm2022/lib/page/model/page-config.interface.mjs +0 -2
- package/esm2022/lib/page/model/page-control-panel-config.interface.mjs +0 -2
- package/esm2022/lib/page/model/page-footer-action.interface.mjs +0 -9
- package/esm2022/lib/page/model/page-header-facet.interface.mjs +0 -2
- package/esm2022/lib/page/model/page-info-banner.interface.mjs +0 -2
- package/esm2022/lib/page/model/page-object-resolver.mjs +0 -6
- package/esm2022/lib/page/object-header/context-select-dialog/context-select-dialog.component.mjs +0 -95
- package/esm2022/lib/page/object-header/dynamic-facet/dynamic-facet.component.mjs +0 -53
- package/esm2022/lib/page/object-header/dynamic-facet/dynamic-facet.directive.mjs +0 -17
- package/esm2022/lib/page/object-header/dynamic-facets.service.mjs +0 -38
- package/esm2022/lib/page/object-header/facets/crititcality-facet/criticality-facet.component.mjs +0 -29
- package/esm2022/lib/page/object-header/facets/date-facet/date-facet.component.mjs +0 -22
- package/esm2022/lib/page/object-header/facets/multi-select-facet/multi-select-facet.component.mjs +0 -27
- package/esm2022/lib/page/object-header/facets/progress-facet/progress-facet.component.mjs +0 -21
- package/esm2022/lib/page/object-header/facets/references-facet/references-facet.component.mjs +0 -22
- package/esm2022/lib/page/object-header/facets/single-select-facet/single-select-facet.component.mjs +0 -27
- package/esm2022/lib/page/object-header/facets/status-facet/status-facet.component.mjs +0 -25
- package/esm2022/lib/page/object-header/facets/value-facet/value-facet.component.mjs +0 -21
- package/esm2022/lib/page/object-header/page-object-header.component.mjs +0 -309
- package/esm2022/lib/page/page.component.mjs +0 -634
- package/esm2022/lib/page/page.module.mjs +0 -168
- package/esm2022/lib/page/shared/directives/connect-form-state-to-page.directive.mjs +0 -91
- package/esm2022/lib/page/shared/services/context.service.mjs +0 -75
- package/esm2022/lib/page/shared/services/form-group-manager.service.mjs +0 -180
- package/esm2022/lib/page/shared/services/page-footer.service.mjs +0 -54
- package/esm2022/lib/page/shared/services/page-store.service.mjs +0 -33
- package/esm2022/lib/page/shared/services/page-submit-action.service.mjs +0 -69
- package/esm2022/lib/page/shared/services/resolver-trigger.service.mjs +0 -57
- package/esm2022/lib/page-stepper/adaptors/page-stepper-adapter.directive.mjs +0 -66
- package/esm2022/lib/page-stepper/cancel-dialog/page-stepper-cancel-dialog.component.mjs +0 -50
- package/esm2022/lib/page-stepper/header/page-step-header.component.mjs +0 -60
- package/esm2022/lib/page-stepper/model/page-step-resolver.token.mjs +0 -3
- package/esm2022/lib/page-stepper/model/page-step.resolver.mjs +0 -2
- package/esm2022/lib/page-stepper/model/qd-page-stepper-config.mjs +0 -2
- package/esm2022/lib/page-stepper/page-step/page-step.component.mjs +0 -79
- package/esm2022/lib/page-stepper/page-stepper.component.mjs +0 -295
- package/esm2022/lib/page-stepper/page-stepper.module.mjs +0 -61
- package/esm2022/lib/page-tabs/adaptors/page-tabs-adapter.directive.mjs +0 -68
- package/esm2022/lib/page-tabs/model/page-tabs-config.mjs +0 -2
- package/esm2022/lib/page-tabs/model/page-tabs-selection-event.mjs +0 -2
- package/esm2022/lib/page-tabs/page-tab/page-tab.component.mjs +0 -84
- package/esm2022/lib/page-tabs/page-tab-header/counter/page-tab-header-counters.component.mjs +0 -33
- package/esm2022/lib/page-tabs/page-tab-header/page-tab-header.component.mjs +0 -57
- package/esm2022/lib/page-tabs/page-tabs.component.mjs +0 -386
- package/esm2022/lib/page-tabs/page-tabs.module.mjs +0 -54
- package/esm2022/lib/panel-section/actions/panel-section-actions.component.mjs +0 -61
- package/esm2022/lib/panel-section/model/panel-section-config.interface.mjs +0 -2
- package/esm2022/lib/panel-section/model/panel-section-status-config.interface.mjs +0 -2
- package/esm2022/lib/panel-section/model/panel-section-text-paragraph-config.interface.mjs +0 -2
- package/esm2022/lib/panel-section/panel-section.component.mjs +0 -98
- package/esm2022/lib/panel-section/panel-section.module.mjs +0 -41
- package/esm2022/lib/panel-section/services/panel-section-action.service.mjs +0 -18
- package/esm2022/lib/panel-section/status/panel-section-status.component.mjs +0 -23
- package/esm2022/lib/panel-section/text-paragraph/panel-section-text-paragraph.component.mjs +0 -19
- package/esm2022/lib/place-holder/__mocks__/mock-place-holder.component.mjs +0 -19
- package/esm2022/lib/place-holder/__mocks__/mock-place-holder.module.mjs +0 -17
- package/esm2022/lib/place-holder/place-holder/place-holder.component.mjs +0 -21
- package/esm2022/lib/place-holder/place-holder.module.mjs +0 -19
- package/esm2022/lib/progress-bar/__mocks__/mock-indeterminate-progress-bar.component.mjs +0 -15
- package/esm2022/lib/progress-bar/__mocks__/mock-percentage-progress-bar.component.mjs +0 -28
- package/esm2022/lib/progress-bar/__mocks__/mock-progress-bar.module.mjs +0 -19
- package/esm2022/lib/progress-bar/indeterminate/indeterminate-progress-bar.component.mjs +0 -14
- package/esm2022/lib/progress-bar/percentage/percentage-progress-bar.component.mjs +0 -51
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +0 -21
- package/esm2022/lib/qd-ui-mock.module.mjs +0 -149
- package/esm2022/lib/qd-ui.module.mjs +0 -233
- package/esm2022/lib/quick-edit/model/quick-edit-config.mjs +0 -2
- package/esm2022/lib/quick-edit/model/quick-edit-data.mjs +0 -2
- package/esm2022/lib/quick-edit/qd-ng-for.directive.mjs +0 -58
- package/esm2022/lib/quick-edit/quick-edit.component.mjs +0 -391
- package/esm2022/lib/quick-edit/quick-edit.module.mjs +0 -62
- package/esm2022/lib/search/__mocks__/mock-search.component.mjs +0 -19
- package/esm2022/lib/search/__mocks__/mock-search.module.mjs +0 -19
- package/esm2022/lib/search/helpers/search-update.helper.mjs +0 -19
- package/esm2022/lib/search/model/search-options.interface.mjs +0 -2
- package/esm2022/lib/search/model/search-post-body.mjs +0 -2
- package/esm2022/lib/search/model/search-store.interface.mjs +0 -2
- package/esm2022/lib/search/search.component.mjs +0 -209
- package/esm2022/lib/search/search.module.mjs +0 -45
- package/esm2022/lib/search/services/search-router-connector.service.mjs +0 -109
- package/esm2022/lib/search/services/search-store.service.mjs +0 -34
- package/esm2022/lib/search/services/search.service.mjs +0 -106
- package/esm2022/lib/search/store/search.actions.mjs +0 -10
- package/esm2022/lib/search/store/search.reducer.mjs +0 -10
- package/esm2022/lib/search/store/search.selector.mjs +0 -8
- package/esm2022/lib/section/__mocks__/mock-section-toolbar.component.mjs +0 -19
- package/esm2022/lib/section/__mocks__/mock-section.component.mjs +0 -19
- package/esm2022/lib/section/__mocks__/mock-section.module.mjs +0 -20
- package/esm2022/lib/section/adaptors/section-adapter.directive.mjs +0 -66
- package/esm2022/lib/section/connectors/table/connector-table-context.directive.mjs +0 -150
- package/esm2022/lib/section/connectors/table/connector-table-filter.directive.mjs +0 -97
- package/esm2022/lib/section/connectors/table/connector-table-search.directive.mjs +0 -91
- package/esm2022/lib/section/model/section-config.interface.mjs +0 -2
- package/esm2022/lib/section/model/toolbar-components.interface.mjs +0 -2
- package/esm2022/lib/section/section.component.mjs +0 -185
- package/esm2022/lib/section/section.module.mjs +0 -77
- package/esm2022/lib/section/services/section-toolbar-action.service.mjs +0 -18
- package/esm2022/lib/section/services/toolbar-components.service.mjs +0 -17
- package/esm2022/lib/section/toolbar/action/section-toolbar-action.component.mjs +0 -158
- package/esm2022/lib/section/toolbar/section-toolbar.component.mjs +0 -59
- package/esm2022/lib/shell/__mocks__/mock-counter-badge.component.mjs +0 -14
- package/esm2022/lib/shell/__mocks__/mock-header-widget-desktop.component.mjs +0 -37
- package/esm2022/lib/shell/__mocks__/mock-header-widget-mobile.component.mjs +0 -37
- package/esm2022/lib/shell/__mocks__/mock-shell-footer.component.mjs +0 -14
- package/esm2022/lib/shell/__mocks__/mock-shell-header-banner.component.mjs +0 -14
- package/esm2022/lib/shell/__mocks__/mock-shell-header-search.component.mjs +0 -14
- package/esm2022/lib/shell/__mocks__/mock-shell-header-widget.component.mjs +0 -18
- package/esm2022/lib/shell/__mocks__/mock-shell-header.component.mjs +0 -19
- package/esm2022/lib/shell/__mocks__/mock-shell-toolbar-item.component.mjs +0 -19
- package/esm2022/lib/shell/__mocks__/mock-shell-toolbar.component.mjs +0 -14
- package/esm2022/lib/shell/__mocks__/mock-shell.component.mjs +0 -19
- package/esm2022/lib/shell/__mocks__/mock-shell.module.mjs +0 -69
- package/esm2022/lib/shell/footer/shell-footer.component.mjs +0 -24
- package/esm2022/lib/shell/header/banner/shell-header-banner.component.mjs +0 -33
- package/esm2022/lib/shell/header/counter-badge/counter-badge.component.mjs +0 -18
- package/esm2022/lib/shell/header/search/shell-header-search.component.mjs +0 -16
- package/esm2022/lib/shell/header/service-navigation/shell-service-navigation.component.mjs +0 -156
- package/esm2022/lib/shell/header/service-navigation/shell-service-navigation.module.mjs +0 -19
- package/esm2022/lib/shell/header/shell-header.component.mjs +0 -193
- package/esm2022/lib/shell/header/toolbar/shell-toolbar.component.mjs +0 -20
- package/esm2022/lib/shell/header/toolbar/toolbar-item/shell-toolbar-item.component.mjs +0 -25
- package/esm2022/lib/shell/header/widget/shell-header-widget.component.mjs +0 -115
- package/esm2022/lib/shell/left/navigation/link/shell-left-navigation-link.component.mjs +0 -27
- package/esm2022/lib/shell/left/navigation/shell-left-navigation.component.mjs +0 -17
- package/esm2022/lib/shell/left/shell-left.component.mjs +0 -29
- package/esm2022/lib/shell/model/default-config.mjs +0 -8
- package/esm2022/lib/shell/model/eportal.interface.mjs +0 -2
- package/esm2022/lib/shell/model/route-data.interface.mjs +0 -2
- package/esm2022/lib/shell/model/shell-config.interface.mjs +0 -2
- package/esm2022/lib/shell/model/shell-footer-copyright-info.interface.mjs +0 -2
- package/esm2022/lib/shell/model/shell-header-widget-config.interface.mjs +0 -2
- package/esm2022/lib/shell/model/shell-navigation-config.interface.mjs +0 -2
- package/esm2022/lib/shell/model/shell-service-navigation-config.interface.mjs +0 -2
- package/esm2022/lib/shell/model/shell-toolbar-config.interface.mjs +0 -2
- package/esm2022/lib/shell/right/notification/shell-notification.component.mjs +0 -95
- package/esm2022/lib/shell/right/notifications/shell-notifications.component.mjs +0 -25
- package/esm2022/lib/shell/right/shell-right.component.mjs +0 -56
- package/esm2022/lib/shell/right/toolbar/shell-right-toolbar.component.mjs +0 -28
- package/esm2022/lib/shell/services/banner.service.mjs +0 -27
- package/esm2022/lib/shell/services/eportal-language.service.mjs +0 -44
- package/esm2022/lib/shell/services/navigation.service.mjs +0 -60
- package/esm2022/lib/shell/services/pams-environment.service.mjs +0 -22
- package/esm2022/lib/shell/services/service-navigation.service.mjs +0 -208
- package/esm2022/lib/shell/services/shell-header-minimization.service.mjs +0 -37
- package/esm2022/lib/shell/services/shell-header-widget.service.mjs +0 -178
- package/esm2022/lib/shell/services/shell-left.service.mjs +0 -27
- package/esm2022/lib/shell/services/shell-right.service.mjs +0 -46
- package/esm2022/lib/shell/shell.component.mjs +0 -199
- package/esm2022/lib/shell/shell.module.mjs +0 -134
- package/esm2022/lib/spinner/spinner.component.mjs +0 -11
- package/esm2022/lib/spinner/spinner.module.mjs +0 -19
- package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator-cpation.component.mjs +0 -14
- package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator-item.component.mjs +0 -22
- package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator.component.mjs +0 -33
- package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator.module.mjs +0 -27
- package/esm2022/lib/status-indicator/interfaces/status-indicator.interface.mjs +0 -2
- package/esm2022/lib/status-indicator/status-indicator/status-indicator.component.mjs +0 -48
- package/esm2022/lib/status-indicator/status-indicator-caption/status-indicator-caption.component.mjs +0 -14
- package/esm2022/lib/status-indicator/status-indicator-item/status-indicator-item.component.mjs +0 -45
- package/esm2022/lib/status-indicator/status-indicator.module.mjs +0 -21
- package/esm2022/lib/table/__mocks__/mock-sort.component.mjs +0 -29
- package/esm2022/lib/table/__mocks__/mock-table-body-plain.component.mjs +0 -27
- package/esm2022/lib/table/__mocks__/mock-table-body-tree.component.mjs +0 -27
- package/esm2022/lib/table/__mocks__/mock-table-data-blank.component.mjs +0 -15
- package/esm2022/lib/table/__mocks__/mock-table-data-boolean.component.mjs +0 -19
- package/esm2022/lib/table/__mocks__/mock-table-data-date.component.mjs +0 -23
- package/esm2022/lib/table/__mocks__/mock-table-data-integer.component.mjs +0 -19
- package/esm2022/lib/table/__mocks__/mock-table-data-link.component.mjs +0 -29
- package/esm2022/lib/table/__mocks__/mock-table-data-progress.component.mjs +0 -19
- package/esm2022/lib/table/__mocks__/mock-table-data-text.component.mjs +0 -26
- package/esm2022/lib/table/__mocks__/mock-table-empty-state.component.mjs +0 -22
- package/esm2022/lib/table/__mocks__/mock-table-head.component.mjs +0 -24
- package/esm2022/lib/table/__mocks__/mock-table-paginator-page-size.directive.mjs +0 -18
- package/esm2022/lib/table/__mocks__/mock-table-paginator.component.mjs +0 -24
- package/esm2022/lib/table/__mocks__/mock-table.component.mjs +0 -33
- package/esm2022/lib/table/__mocks__/mock-table.module.mjs +0 -63
- package/esm2022/lib/table/body/table-body.component.mjs +0 -57
- package/esm2022/lib/table/empty-state/table-empty-state.component.mjs +0 -46
- package/esm2022/lib/table/head/table-head.component.mjs +0 -65
- package/esm2022/lib/table/helpers/spring-tools.mjs +0 -20
- package/esm2022/lib/table/model/connectors-state.enum.mjs +0 -7
- package/esm2022/lib/table/model/paginator-direction.enum.mjs +0 -8
- package/esm2022/lib/table/model/sort-direction.enum.mjs +0 -7
- package/esm2022/lib/table/model/table-config-actions.interface.mjs +0 -2
- package/esm2022/lib/table/model/table-config-content.interface.mjs +0 -2
- package/esm2022/lib/table/model/table-config.interface.mjs +0 -2
- package/esm2022/lib/table/model/table-data-resolver.mjs +0 -10
- package/esm2022/lib/table/model/table-data-resolver.token.mjs +0 -6
- package/esm2022/lib/table/model/table-data.interface.mjs +0 -2
- package/esm2022/lib/table/model/table-row-selection.interface.mjs +0 -2
- package/esm2022/lib/table/model/table-store.interface.mjs +0 -2
- package/esm2022/lib/table/paginator/page-size/table-paginator-page-size.component.mjs +0 -104
- package/esm2022/lib/table/paginator/page-size/table-paginator-page-size.directive.mjs +0 -53
- package/esm2022/lib/table/paginator/scroll-to-pagination.directive.mjs +0 -77
- package/esm2022/lib/table/paginator/table-paginator.component.mjs +0 -128
- package/esm2022/lib/table/row/actions/secondary/menu/table-row-actions-secondary-menu.component.mjs +0 -94
- package/esm2022/lib/table/row/selection/table-row-selection.component.mjs +0 -49
- package/esm2022/lib/table/row/table-row.component.mjs +0 -102
- package/esm2022/lib/table/services/empty-state.service.mjs +0 -25
- package/esm2022/lib/table/services/external-action-result.service.mjs +0 -16
- package/esm2022/lib/table/services/filling-width.service.mjs +0 -174
- package/esm2022/lib/table/services/resolver.service.mjs +0 -82
- package/esm2022/lib/table/services/responsive-row.service.mjs +0 -106
- package/esm2022/lib/table/services/row-selection.service.mjs +0 -60
- package/esm2022/lib/table/services/secondary-actions.service.mjs +0 -18
- package/esm2022/lib/table/sort/table-sort.component.mjs +0 -126
- package/esm2022/lib/table/store/table-store-selector.service.mjs +0 -123
- package/esm2022/lib/table/store/table-store.service.mjs +0 -138
- package/esm2022/lib/table/store/table-update.helper.mjs +0 -81
- package/esm2022/lib/table/store/table.actions.mjs +0 -40
- package/esm2022/lib/table/store/table.reducer.mjs +0 -21
- package/esm2022/lib/table/table.component.mjs +0 -485
- package/esm2022/lib/table/table.module.mjs +0 -105
- package/esm2022/lib/text-section/__mocks__/mock-text-section-headline.component.mjs +0 -14
- package/esm2022/lib/text-section/__mocks__/mock-text-section-paragraph.component.mjs +0 -14
- package/esm2022/lib/text-section/__mocks__/mock-text-section.component.mjs +0 -14
- package/esm2022/lib/text-section/__mocks__/mock-text-section.module.mjs +0 -19
- package/esm2022/lib/text-section/text-section-headline/text-section-headline.component.mjs +0 -16
- package/esm2022/lib/text-section/text-section-paragraph/text-section-paragraph.component.mjs +0 -16
- package/esm2022/lib/text-section/text-section.component.mjs +0 -28
- package/esm2022/lib/text-section/text-section.module.mjs +0 -21
- package/esm2022/lib/tiles/__mocks__/mock-tile-button-list.component.mjs +0 -14
- package/esm2022/lib/tiles/__mocks__/mock-tile-text-list-item.component.mjs +0 -14
- package/esm2022/lib/tiles/__mocks__/mock-tile-text-list.component.mjs +0 -14
- package/esm2022/lib/tiles/__mocks__/mock-tile-title.component.mjs +0 -14
- package/esm2022/lib/tiles/__mocks__/mock-tile.component.mjs +0 -18
- package/esm2022/lib/tiles/__mocks__/mock-tiles-container-title.component.mjs +0 -14
- package/esm2022/lib/tiles/__mocks__/mock-tiles-container.component.mjs +0 -18
- package/esm2022/lib/tiles/__mocks__/mock-tiles.module.mjs +0 -51
- package/esm2022/lib/tiles/model/tile-config.mjs +0 -2
- package/esm2022/lib/tiles/model/tiles-config.mjs +0 -2
- package/esm2022/lib/tiles/tile/tile.component.mjs +0 -42
- package/esm2022/lib/tiles/tile-button-list/tile-button-list.component.mjs +0 -15
- package/esm2022/lib/tiles/tile-text-list/tile-text-list.component.mjs +0 -11
- package/esm2022/lib/tiles/tile-text-list-item/tile-text-list-item.component.mjs +0 -11
- package/esm2022/lib/tiles/tile-title/tile-title.component.mjs +0 -11
- package/esm2022/lib/tiles/tiles-title/tiles-title.component.mjs +0 -11
- package/esm2022/lib/tiles/tiles.component.mjs +0 -22
- package/esm2022/lib/tiles/tiles.module.mjs +0 -55
- package/esm2022/lib/tree/body/tree-body.component.mjs +0 -46
- package/esm2022/lib/tree/empty-state/tree-empty-state.component.mjs +0 -34
- package/esm2022/lib/tree/error/grouped-indices-not-consecutive.error.mjs +0 -7
- package/esm2022/lib/tree/head/tree-head.component.mjs +0 -64
- package/esm2022/lib/tree/model/tree-column-detail.interface.mjs +0 -2
- package/esm2022/lib/tree/model/tree-config-actions.interface.mjs +0 -2
- package/esm2022/lib/tree/model/tree-config.interface.mjs +0 -2
- package/esm2022/lib/tree/model/tree-data.interface.mjs +0 -2
- package/esm2022/lib/tree/row/actions/secondary/menu/tree-row-actions-secondary-menu.component.mjs +0 -98
- package/esm2022/lib/tree/row/tree-row.component.mjs +0 -85
- package/esm2022/lib/tree/services/row-expander.service.mjs +0 -117
- package/esm2022/lib/tree/services/tree-group.service.mjs +0 -87
- package/esm2022/lib/tree/services/tree-rows.service.mjs +0 -151
- package/esm2022/lib/tree/tree.component.mjs +0 -244
- package/esm2022/lib/tree/tree.module.mjs +0 -80
- package/esm2022/public-api.mjs +0 -79
- package/esm2022/quadrel-enterprise-ui-framework.mjs +0 -5
- package/lib/forms/model/form-input.d.ts +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
// @ts-strict-ignore
|
|
2
|
-
import { Component, ElementRef, EventEmitter, HostBinding, HostListener, Input, Output, ViewChild } from '@angular/core';
|
|
3
|
-
import { AbstractControl } from '@angular/forms';
|
|
4
|
-
import { QdMultiInputService } from '../multi-input-service/multi-input.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../multi-input-service/multi-input.service";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
import * as i3 from "../../../icon/icon/icon.component";
|
|
9
|
-
import * as i4 from "@ngx-translate/core";
|
|
10
|
-
export class QdMultiInputChipComponent {
|
|
11
|
-
multiInputService;
|
|
12
|
-
itemControl;
|
|
13
|
-
value;
|
|
14
|
-
close = false;
|
|
15
|
-
testId = 'multi-input-chip';
|
|
16
|
-
closeClickEmitter = new EventEmitter();
|
|
17
|
-
errorTooltip;
|
|
18
|
-
constructor(multiInputService) {
|
|
19
|
-
this.multiInputService = multiInputService;
|
|
20
|
-
}
|
|
21
|
-
get themeClass() {
|
|
22
|
-
return `qd-multi-input-chip ${this.close ? this.state : 'viewonly'}`;
|
|
23
|
-
}
|
|
24
|
-
get state() {
|
|
25
|
-
if (this.itemControl) {
|
|
26
|
-
if (this.itemControl.errors)
|
|
27
|
-
return 'error';
|
|
28
|
-
if (this.itemControl.pending)
|
|
29
|
-
return 'pending';
|
|
30
|
-
}
|
|
31
|
-
return 'default';
|
|
32
|
-
}
|
|
33
|
-
get errorMessages() {
|
|
34
|
-
return Object.values(this.itemControl.errors);
|
|
35
|
-
}
|
|
36
|
-
get chipText() {
|
|
37
|
-
return this.itemControl ? this.getTranslation(this.itemControl.value) : this.value;
|
|
38
|
-
}
|
|
39
|
-
get title() {
|
|
40
|
-
if (this.itemControl) {
|
|
41
|
-
return this.itemControl.errors ? '' : this.getTranslation(this.itemControl.value);
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
return this.value ? this.value : '';
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
getTranslation(value) {
|
|
48
|
-
const option = this.multiInputService.findOption(value);
|
|
49
|
-
return option ? this.multiInputService.getTranslation(option) : value;
|
|
50
|
-
}
|
|
51
|
-
clickClose($event) {
|
|
52
|
-
$event.stopPropagation();
|
|
53
|
-
this.closeClickEmitter.emit();
|
|
54
|
-
}
|
|
55
|
-
showTooltip(event) {
|
|
56
|
-
if (!this.errorTooltip)
|
|
57
|
-
return;
|
|
58
|
-
this.errorTooltip.nativeElement.style.top = event.clientY + 10 + 'px';
|
|
59
|
-
this.errorTooltip.nativeElement.style.left = event.clientX + this.getOverflowX(event.clientX) + 5 + 'px';
|
|
60
|
-
}
|
|
61
|
-
getOverflowX(clientX) {
|
|
62
|
-
const overflowX = window.innerWidth - clientX - this.errorTooltip.nativeElement.getBoundingClientRect().width;
|
|
63
|
-
if (overflowX < 25) {
|
|
64
|
-
return overflowX - 25;
|
|
65
|
-
}
|
|
66
|
-
return 0;
|
|
67
|
-
}
|
|
68
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMultiInputChipComponent, deps: [{ token: i1.QdMultiInputService }], target: i0.ɵɵFactoryTarget.Component });
|
|
69
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdMultiInputChipComponent, selector: "qd-multi-input-chip", inputs: { itemControl: "itemControl", value: "value", close: "close", testId: ["data-test-id", "testId"] }, outputs: { closeClickEmitter: "closeClickEmitter" }, host: { listeners: { "mouseover": "showTooltip($event)" }, properties: { "class": "this.themeClass" } }, viewQueries: [{ propertyName: "errorTooltip", first: true, predicate: ["errorTooltip"], descendants: true }], ngImport: i0, template: "<span [attr.data-test-id]=\"testId + '-caption'\" class=\"value qd-multi-input__chip-label\" [title]=\"title\">{{\n chipText\n}}</span>\n<qd-icon *ngIf=\"close\" [icon]=\"'times'\" (click)=\"clickClose($event)\" [attr.data-test-id]=\"testId + '-close'\"></qd-icon>\n<div *ngIf=\"itemControl && itemControl.errors\" #errorTooltip class=\"errorTooltip\">\n <div class=\"value\">{{ itemControl.value }}</div>\n <div *ngFor=\"let errorMessage of errorMessages\">{{ errorMessage | translate }}</div>\n</div>\n", styles: [":host{display:inline-flex;padding:0 .5rem;border:solid .0625rem;border-radius:.75rem;margin:.3125rem 0 0 .3125rem;cursor:default;font-size:.813rem;font-weight:400;line-height:1.5rem;white-space:nowrap}:host .qd-multi-input__chip-label{overflow:hidden;max-width:7.5rem;text-overflow:ellipsis;white-space:nowrap}:host .qd-icon{display:flex;height:1.25rem;border-radius:.75rem;margin:.12rem -.32rem 0 .22rem;aspect-ratio:1;background-color:#454545;color:#fff;cursor:pointer;font-size:1.25rem;line-height:1.27rem}:host.default{border-color:#979797;background:#fff;color:#000}:host.pending{border-color:#979797;background:#fff;color:#979797}:host.error{border-color:#c70023;background:#fff;color:#000}:host.error .qd-icon{background-color:#c70023}:host:hover{background:#e5e5e5}:host .errorTooltip{position:fixed;z-index:99999;padding:0 .3125rem;border:solid 1px;background-color:#fff;box-shadow:0 .3125rem .3125rem .3125rem #b4b4b440;color:#c70023;pointer-events:none;visibility:hidden}:host .errorTooltip .value{color:#000}:host:hover .errorTooltip{animation:show 0s both;animation-delay:.5s;visibility:visible}@keyframes show{0%{visibility:hidden}to{visibility:visible}}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.QdIconComponent, selector: "qd-icon", inputs: ["icon"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
|
|
70
|
-
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMultiInputChipComponent, decorators: [{
|
|
72
|
-
type: Component,
|
|
73
|
-
args: [{ selector: 'qd-multi-input-chip', template: "<span [attr.data-test-id]=\"testId + '-caption'\" class=\"value qd-multi-input__chip-label\" [title]=\"title\">{{\n chipText\n}}</span>\n<qd-icon *ngIf=\"close\" [icon]=\"'times'\" (click)=\"clickClose($event)\" [attr.data-test-id]=\"testId + '-close'\"></qd-icon>\n<div *ngIf=\"itemControl && itemControl.errors\" #errorTooltip class=\"errorTooltip\">\n <div class=\"value\">{{ itemControl.value }}</div>\n <div *ngFor=\"let errorMessage of errorMessages\">{{ errorMessage | translate }}</div>\n</div>\n", styles: [":host{display:inline-flex;padding:0 .5rem;border:solid .0625rem;border-radius:.75rem;margin:.3125rem 0 0 .3125rem;cursor:default;font-size:.813rem;font-weight:400;line-height:1.5rem;white-space:nowrap}:host .qd-multi-input__chip-label{overflow:hidden;max-width:7.5rem;text-overflow:ellipsis;white-space:nowrap}:host .qd-icon{display:flex;height:1.25rem;border-radius:.75rem;margin:.12rem -.32rem 0 .22rem;aspect-ratio:1;background-color:#454545;color:#fff;cursor:pointer;font-size:1.25rem;line-height:1.27rem}:host.default{border-color:#979797;background:#fff;color:#000}:host.pending{border-color:#979797;background:#fff;color:#979797}:host.error{border-color:#c70023;background:#fff;color:#000}:host.error .qd-icon{background-color:#c70023}:host:hover{background:#e5e5e5}:host .errorTooltip{position:fixed;z-index:99999;padding:0 .3125rem;border:solid 1px;background-color:#fff;box-shadow:0 .3125rem .3125rem .3125rem #b4b4b440;color:#c70023;pointer-events:none;visibility:hidden}:host .errorTooltip .value{color:#000}:host:hover .errorTooltip{animation:show 0s both;animation-delay:.5s;visibility:visible}@keyframes show{0%{visibility:hidden}to{visibility:visible}}\n"] }]
|
|
74
|
-
}], ctorParameters: () => [{ type: i1.QdMultiInputService }], propDecorators: { itemControl: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], value: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], close: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], testId: [{
|
|
81
|
-
type: Input,
|
|
82
|
-
args: ['data-test-id']
|
|
83
|
-
}], closeClickEmitter: [{
|
|
84
|
-
type: Output
|
|
85
|
-
}], errorTooltip: [{
|
|
86
|
-
type: ViewChild,
|
|
87
|
-
args: ['errorTooltip']
|
|
88
|
-
}], themeClass: [{
|
|
89
|
-
type: HostBinding,
|
|
90
|
-
args: ['class']
|
|
91
|
-
}], showTooltip: [{
|
|
92
|
-
type: HostListener,
|
|
93
|
-
args: ['mouseover', ['$event']]
|
|
94
|
-
}] } });
|
|
95
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGktaW5wdXQtY2hpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3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m9yc1wiICNlcnJvclRvb2x0aXAgY2xhc3M9XCJlcnJvclRvb2x0aXBcIj5cbiAgPGRpdiBjbGFzcz1cInZhbHVlXCI+e3sgaXRlbUNvbnRyb2wudmFsdWUgfX08L2Rpdj5cbiAgPGRpdiAqbmdGb3I9XCJsZXQgZXJyb3JNZXNzYWdlIG9mIGVycm9yTWVzc2FnZXNcIj57eyBlcnJvck1lc3NhZ2UgfCB0cmFuc2xhdGUgfX08L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { Component, ElementRef, EventEmitter, Input, Output, QueryList, ViewChild, ViewChildren } from '@angular/core';
|
|
2
|
-
import { QdMultiInputService } from '../multi-input-service/multi-input.service';
|
|
3
|
-
import { QdFormInputComponent } from '../../shared/components/form-input/form-input.component';
|
|
4
|
-
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../multi-input-service/multi-input.service";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
import * as i3 from "../../shared/components/form-input/form-input.component";
|
|
9
|
-
import * as i4 from "@ngx-translate/core";
|
|
10
|
-
export class QdMultiInputMenuComponent {
|
|
11
|
-
multiInputService;
|
|
12
|
-
/**
|
|
13
|
-
* Here an id can be assigned, with which a value can be linked to a corresponding label.
|
|
14
|
-
*/
|
|
15
|
-
id;
|
|
16
|
-
optionsListForView;
|
|
17
|
-
/**
|
|
18
|
-
* A static test ID for integration tests can be set. <br />
|
|
19
|
-
* The value for the HTML attribute [data-test-id].
|
|
20
|
-
*/
|
|
21
|
-
testId = 'multi-input';
|
|
22
|
-
itemClick = new EventEmitter();
|
|
23
|
-
selectBox;
|
|
24
|
-
dropdownOptions;
|
|
25
|
-
optionComponents;
|
|
26
|
-
keyManager;
|
|
27
|
-
constructor(multiInputService) {
|
|
28
|
-
this.multiInputService = multiInputService;
|
|
29
|
-
}
|
|
30
|
-
ngAfterViewInit() {
|
|
31
|
-
this.keyManager = new ActiveDescendantKeyManager(this.optionComponents).withWrap().withTypeAhead();
|
|
32
|
-
}
|
|
33
|
-
getTranslation(option) {
|
|
34
|
-
return this.multiInputService.getTranslation(option);
|
|
35
|
-
}
|
|
36
|
-
handleClick(option) {
|
|
37
|
-
this.itemClick.emit(option);
|
|
38
|
-
this.resetCheckedOption();
|
|
39
|
-
}
|
|
40
|
-
resetCheckedOption() {
|
|
41
|
-
const checkedIndex = this.dropdownOptions
|
|
42
|
-
? this.dropdownOptions.toArray().findIndex(option => option.nativeElement.checked === true)
|
|
43
|
-
: -1;
|
|
44
|
-
if (checkedIndex !== -1) {
|
|
45
|
-
this.dropdownOptions.toArray()[checkedIndex].nativeElement.checked = false;
|
|
46
|
-
}
|
|
47
|
-
return checkedIndex;
|
|
48
|
-
}
|
|
49
|
-
handleArrowKey(direction, event) {
|
|
50
|
-
if (this.keyManager) {
|
|
51
|
-
this.keyManager.onKeydown(event);
|
|
52
|
-
this.keyManager.activeItem?.scrollIntoView();
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
getHeight() {
|
|
56
|
-
return this.selectBox?.nativeElement.getBoundingClientRect().height;
|
|
57
|
-
}
|
|
58
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMultiInputMenuComponent, deps: [{ token: i1.QdMultiInputService }], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdMultiInputMenuComponent, selector: "qd-multi-input-menu", inputs: { id: "id", optionsListForView: "optionsListForView", testId: ["data-test-id", "testId"] }, outputs: { itemClick: "itemClick" }, viewQueries: [{ propertyName: "selectBox", first: true, predicate: ["selectBox"], descendants: true }, { propertyName: "dropdownOptions", predicate: ["dropdownOption"], descendants: true }, { propertyName: "optionComponents", predicate: QdFormInputComponent, descendants: true }], ngImport: i0, template: "<div #selectBox class=\"qd-multi-input__select\">\n <div\n class=\"qd-multi-input__option\"\n *ngFor=\"let option of optionsListForView\"\n [ngClass]=\"option.disabled ? 'qd-multi-input__option--disabled' : ''\"\n >\n <qd-form-input [option]=\"option\" class=\"qd-multi-input__form-input\">\n <input\n #dropdownOption\n class=\"qd-multi-input__option-input\"\n name=\"multi-input-dropdown\"\n type=\"radio\"\n [id]=\"option.value + '-' + id\"\n [value]=\"option.value\"\n (click)=\"$event.stopPropagation(); handleClick(option)\"\n />\n <label\n class=\"qd-multi-input__option-label\"\n [for]=\"option.value + '-' + id\"\n [title]=\"getTranslation(option)\"\n [attr.data-test-id]=\"testId + '-option-' + option.value\"\n >\n {{ getTranslation(option) }}\n </label>\n </qd-form-input>\n </div>\n <div *ngIf=\"optionsListForView?.length === 0\" class=\"qd-multi-input__no-results\">\n {{ \"i18n.qd.multiInput.noResults\" | translate }}\n </div>\n</div>\n", styles: [":host{display:block;margin-bottom:.75rem}.qd-multi-input__input-chip-box{margin-bottom:.5rem;background-color:#fff;outline:solid .0625rem rgb(180,180,180)}:host.qd-multi-input-readonly .qd-multi-input__input-chip-box{background:none!important;color:#979797;outline:none!important}:host.qd-multi-input-viewonly .qd-multi-input__input-chip-box{background:none!important;color:#979797;outline:none!important}:host.qd-multi-input-disabled .qd-multi-input__input-chip-box{background:#f5f5f5;color:#979797;outline:.0625rem solid rgb(180,180,180)}:host.qd-multi-input-focus .qd-multi-input__input-chip-box{outline:.125rem solid rgb(0,102,153)}:host.qd-multi-input-focus .qd-multi-input__input-chip-box:hover,:host.qd-multi-input-focus .qd-multi-input__input-chip-box:active{outline:.125rem solid rgb(0,102,153)}.qd-multi-input__input-chip-box:active,.qd-multi-input__input-chip-box:hover{outline:.125rem solid rgb(23,23,23)}.qd-multi-input__chip-margin{padding:0 .3125rem .3125rem 0}:host.qd-multi-input-readonly .qd-multi-input__chip-margin{padding:0 0 .3125rem}:host.qd-multi-input-viewonly .qd-multi-input__chip-margin{padding:0 0 .3125rem}.qd-multi-input__wrapper{position:relative}.qd-multi-input__wrapper .qd-multi-input__box{display:flex;overflow:hidden;width:100%;height:2.25rem;justify-content:space-between;padding:0 .75rem;border:.0625rem solid rgb(255,255,255);background:#fff;font-size:.875rem;font-weight:400;line-height:2.25rem;text-overflow:ellipsis;white-space:nowrap}.qd-multi-input__wrapper .qd-multi-input__box:focus,.qd-multi-input__wrapper .qd-multi-input__box:active,.qd-multi-input__wrapper .qd-multi-input__box.qd-multi-input__box--open{padding:0 .8125rem;border:none;color:#171717;line-height:2.125rem;outline:none}.qd-multi-input__wrapper .qd-multi-input__box:hover:after{border-top-color:#b4b4b4}.qd-multi-input__wrapper .qd-multi-input__box.qd-multi-input__box--open{border-color:#069}:host.qd-multi-input-disabled .qd-multi-input__wrapper .qd-multi-input__box{border:none;background:#f5f5f5;color:#979797}:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box{height:inherit;padding:0;border:none;line-height:2.25rem}:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box:focus,:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box:hover,:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box:active{color:inherit}:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box:after{display:none}:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box{height:inherit;padding:0;border:none;line-height:2.25rem}:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box:focus,:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box:hover,:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box:active{color:inherit}:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box:after{display:none}:host.qd-multi-input--readonly-action .qd-multi-input__box.qd-multi-input__box--readonly{color:#069;cursor:pointer}:host.qd-multi-input--readonly-action .qd-multi-input__box.qd-multi-input__box--readonly:hover,:host.qd-multi-input--readonly-action .qd-multi-input__box.qd-multi-input__box--readonly:active,:host.qd-multi-input--readonly-action .qd-multi-input__box.qd-multi-input__box--readonly:focus{color:#069;text-decoration:underline}:host.qd-multi-input--viewonly-action .qd-multi-input__box.qd-multi-input__box--viewonly{color:#069;cursor:pointer}:host.qd-multi-input--viewonly-action .qd-multi-input__box.qd-multi-input__box--viewonly:hover,:host.qd-multi-input--viewonly-action .qd-multi-input__box.qd-multi-input__box--viewonly:active,:host.qd-multi-input--viewonly-action .qd-multi-input__box.qd-multi-input__box--viewonly:focus{color:#069;text-decoration:underline}:host.qd-multi-input-error .qd-multi-input__input-chip-box{outline:.0625rem solid rgb(199,0,35)}:host.qd-multi-input-error .qd-multi-input__input-chip-box:focus,:host.qd-multi-input-error .qd-multi-input__input-chip-box:hover,:host.qd-multi-input-error .qd-multi-input__input-chip-box:active,:host.qd-multi-input-error .qd-multi-input__input-chip-box.qd-multi-input__box--open{outline:.125rem solid rgb(199,0,35)}:host.qd-multi-input-error .qd-multi-input__input-chip-box .qd-error-icon{color:#c70023}.qd-multi-input__select{position:absolute;top:.125rem;width:calc(100% + 4px);max-height:17.1875rem;border:.0625rem solid rgb(151,151,151);border-top:none;box-shadow:0 .3125rem .3125rem .3125rem #b4b4b440;overflow-y:auto}.qd-multi-input__select .qd-multi-input__option{background:#fff}.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-label{display:block;overflow:hidden;height:2.25rem;padding-left:.75rem;color:#454545;cursor:pointer;font-size:.875rem;font-weight:400;line-height:2.25rem;text-overflow:ellipsis;white-space:nowrap}.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-label:focus,.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-label:hover,.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-label:active{background:#f5f5f5;color:#171717}.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-input{display:none}.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-input:checked+.qd-multi-input__option-label,.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-input:focus+.qd-multi-input__option-label{background:#f5f5f5;color:#171717}.qd-multi-input__select .qd-multi-input__option.qd-multi-input__option--disabled .qd-multi-input__option-label{color:#b4b4b4;cursor:default}.qd-multi-input__select .qd-multi-input__option.qd-multi-input__option--disabled .qd-multi-input__option-input:checked+.qd-multi-input__option-label,.qd-multi-input__select .qd-multi-input__option.qd-multi-input__option--disabled .qd-multi-input__option-input:focus+.qd-multi-input__option-label{color:#b4b4b4}.qd-multi-input__select .qd-multi-input__form-input.active .qd-multi-input__option-label{background:#f5f5f5}:host-context(.up) .qd-multi-input__select{top:auto;bottom:.125rem;border-top:.0625rem solid rgb(151,151,151);border-bottom:none}.qd-multi-input__no-results{padding:.75rem;border-top:none;background:#fff;color:#454545;font-size:.875rem;font-style:italic;font-weight:400}\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: "component", type: i3.QdFormInputComponent, selector: "qd-form-input", inputs: ["option"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
|
|
60
|
-
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMultiInputMenuComponent, decorators: [{
|
|
62
|
-
type: Component,
|
|
63
|
-
args: [{ selector: 'qd-multi-input-menu', template: "<div #selectBox class=\"qd-multi-input__select\">\n <div\n class=\"qd-multi-input__option\"\n *ngFor=\"let option of optionsListForView\"\n [ngClass]=\"option.disabled ? 'qd-multi-input__option--disabled' : ''\"\n >\n <qd-form-input [option]=\"option\" class=\"qd-multi-input__form-input\">\n <input\n #dropdownOption\n class=\"qd-multi-input__option-input\"\n name=\"multi-input-dropdown\"\n type=\"radio\"\n [id]=\"option.value + '-' + id\"\n [value]=\"option.value\"\n (click)=\"$event.stopPropagation(); handleClick(option)\"\n />\n <label\n class=\"qd-multi-input__option-label\"\n [for]=\"option.value + '-' + id\"\n [title]=\"getTranslation(option)\"\n [attr.data-test-id]=\"testId + '-option-' + option.value\"\n >\n {{ getTranslation(option) }}\n </label>\n </qd-form-input>\n </div>\n <div *ngIf=\"optionsListForView?.length === 0\" class=\"qd-multi-input__no-results\">\n {{ \"i18n.qd.multiInput.noResults\" | translate }}\n </div>\n</div>\n", styles: [":host{display:block;margin-bottom:.75rem}.qd-multi-input__input-chip-box{margin-bottom:.5rem;background-color:#fff;outline:solid .0625rem rgb(180,180,180)}:host.qd-multi-input-readonly .qd-multi-input__input-chip-box{background:none!important;color:#979797;outline:none!important}:host.qd-multi-input-viewonly .qd-multi-input__input-chip-box{background:none!important;color:#979797;outline:none!important}:host.qd-multi-input-disabled .qd-multi-input__input-chip-box{background:#f5f5f5;color:#979797;outline:.0625rem solid rgb(180,180,180)}:host.qd-multi-input-focus .qd-multi-input__input-chip-box{outline:.125rem solid rgb(0,102,153)}:host.qd-multi-input-focus .qd-multi-input__input-chip-box:hover,:host.qd-multi-input-focus .qd-multi-input__input-chip-box:active{outline:.125rem solid rgb(0,102,153)}.qd-multi-input__input-chip-box:active,.qd-multi-input__input-chip-box:hover{outline:.125rem solid rgb(23,23,23)}.qd-multi-input__chip-margin{padding:0 .3125rem .3125rem 0}:host.qd-multi-input-readonly .qd-multi-input__chip-margin{padding:0 0 .3125rem}:host.qd-multi-input-viewonly .qd-multi-input__chip-margin{padding:0 0 .3125rem}.qd-multi-input__wrapper{position:relative}.qd-multi-input__wrapper .qd-multi-input__box{display:flex;overflow:hidden;width:100%;height:2.25rem;justify-content:space-between;padding:0 .75rem;border:.0625rem solid rgb(255,255,255);background:#fff;font-size:.875rem;font-weight:400;line-height:2.25rem;text-overflow:ellipsis;white-space:nowrap}.qd-multi-input__wrapper .qd-multi-input__box:focus,.qd-multi-input__wrapper .qd-multi-input__box:active,.qd-multi-input__wrapper .qd-multi-input__box.qd-multi-input__box--open{padding:0 .8125rem;border:none;color:#171717;line-height:2.125rem;outline:none}.qd-multi-input__wrapper .qd-multi-input__box:hover:after{border-top-color:#b4b4b4}.qd-multi-input__wrapper .qd-multi-input__box.qd-multi-input__box--open{border-color:#069}:host.qd-multi-input-disabled .qd-multi-input__wrapper .qd-multi-input__box{border:none;background:#f5f5f5;color:#979797}:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box{height:inherit;padding:0;border:none;line-height:2.25rem}:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box:focus,:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box:hover,:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box:active{color:inherit}:host.qd-multi-input-readonly .qd-multi-input__wrapper .qd-multi-input__box:after{display:none}:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box{height:inherit;padding:0;border:none;line-height:2.25rem}:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box:focus,:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box:hover,:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box:active{color:inherit}:host.qd-multi-input-viewonly .qd-multi-input__wrapper .qd-multi-input__box:after{display:none}:host.qd-multi-input--readonly-action .qd-multi-input__box.qd-multi-input__box--readonly{color:#069;cursor:pointer}:host.qd-multi-input--readonly-action .qd-multi-input__box.qd-multi-input__box--readonly:hover,:host.qd-multi-input--readonly-action .qd-multi-input__box.qd-multi-input__box--readonly:active,:host.qd-multi-input--readonly-action .qd-multi-input__box.qd-multi-input__box--readonly:focus{color:#069;text-decoration:underline}:host.qd-multi-input--viewonly-action .qd-multi-input__box.qd-multi-input__box--viewonly{color:#069;cursor:pointer}:host.qd-multi-input--viewonly-action .qd-multi-input__box.qd-multi-input__box--viewonly:hover,:host.qd-multi-input--viewonly-action .qd-multi-input__box.qd-multi-input__box--viewonly:active,:host.qd-multi-input--viewonly-action .qd-multi-input__box.qd-multi-input__box--viewonly:focus{color:#069;text-decoration:underline}:host.qd-multi-input-error .qd-multi-input__input-chip-box{outline:.0625rem solid rgb(199,0,35)}:host.qd-multi-input-error .qd-multi-input__input-chip-box:focus,:host.qd-multi-input-error .qd-multi-input__input-chip-box:hover,:host.qd-multi-input-error .qd-multi-input__input-chip-box:active,:host.qd-multi-input-error .qd-multi-input__input-chip-box.qd-multi-input__box--open{outline:.125rem solid rgb(199,0,35)}:host.qd-multi-input-error .qd-multi-input__input-chip-box .qd-error-icon{color:#c70023}.qd-multi-input__select{position:absolute;top:.125rem;width:calc(100% + 4px);max-height:17.1875rem;border:.0625rem solid rgb(151,151,151);border-top:none;box-shadow:0 .3125rem .3125rem .3125rem #b4b4b440;overflow-y:auto}.qd-multi-input__select .qd-multi-input__option{background:#fff}.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-label{display:block;overflow:hidden;height:2.25rem;padding-left:.75rem;color:#454545;cursor:pointer;font-size:.875rem;font-weight:400;line-height:2.25rem;text-overflow:ellipsis;white-space:nowrap}.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-label:focus,.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-label:hover,.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-label:active{background:#f5f5f5;color:#171717}.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-input{display:none}.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-input:checked+.qd-multi-input__option-label,.qd-multi-input__select .qd-multi-input__option .qd-multi-input__option-input:focus+.qd-multi-input__option-label{background:#f5f5f5;color:#171717}.qd-multi-input__select .qd-multi-input__option.qd-multi-input__option--disabled .qd-multi-input__option-label{color:#b4b4b4;cursor:default}.qd-multi-input__select .qd-multi-input__option.qd-multi-input__option--disabled .qd-multi-input__option-input:checked+.qd-multi-input__option-label,.qd-multi-input__select .qd-multi-input__option.qd-multi-input__option--disabled .qd-multi-input__option-input:focus+.qd-multi-input__option-label{color:#b4b4b4}.qd-multi-input__select .qd-multi-input__form-input.active .qd-multi-input__option-label{background:#f5f5f5}:host-context(.up) .qd-multi-input__select{top:auto;bottom:.125rem;border-top:.0625rem solid rgb(151,151,151);border-bottom:none}.qd-multi-input__no-results{padding:.75rem;border-top:none;background:#fff;color:#454545;font-size:.875rem;font-style:italic;font-weight:400}\n"] }]
|
|
64
|
-
}], ctorParameters: () => [{ type: i1.QdMultiInputService }], propDecorators: { id: [{
|
|
65
|
-
type: Input
|
|
66
|
-
}], optionsListForView: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], testId: [{
|
|
69
|
-
type: Input,
|
|
70
|
-
args: ['data-test-id']
|
|
71
|
-
}], itemClick: [{
|
|
72
|
-
type: Output
|
|
73
|
-
}], selectBox: [{
|
|
74
|
-
type: ViewChild,
|
|
75
|
-
args: ['selectBox']
|
|
76
|
-
}], dropdownOptions: [{
|
|
77
|
-
type: ViewChildren,
|
|
78
|
-
args: ['dropdownOption']
|
|
79
|
-
}], optionComponents: [{
|
|
80
|
-
type: ViewChildren,
|
|
81
|
-
args: [QdFormInputComponent]
|
|
82
|
-
}] } });
|
|
83
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGktaW5wdXQtbWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvZm9ybXMvbXVsdGktaW5wdXQvbXVsdGktaW5wdXQtbWVudS9tdWx0aS1pbnB1dC1tZW51LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9mb3Jtcy9tdWx0aS1pbnB1dC9tdWx0aS1pbnB1dC1tZW51L211bHRpLWlucHV0LW1lbnUuY29tcG9uZW50Lmh0bWwiXSwibm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dXRcIlxuICAgICAgICBuYW1lPVwibXVsdGktaW5wdXQtZHJvcGRvd25cIlxuICAgICAgICB0eXBlPVwicmFkaW9cIlxuICAgICAgICBbaWRdPVwib3B0aW9uLnZhbHVlICsgJy0nICsgaWRcIlxuICAgICAgICBbdmFsdWVdPVwib3B0aW9uLnZhbHVlXCJcbiAgICAgICAgKGNsaWNrKT1cIiRldmVudC5zdG9wUHJvcGFnYXRpb24oKTsgaGFuZGxlQ2xpY2sob3B0aW9uKVwiXG4gICAgICAvPlxuICAgICAgPGxhYmVsXG4gICAgICAgIGNsYXNzPVwicWQtbXVsdGktaW5wdXRfX29wdGlvbi1sYWJlbFwiXG4gICAgICAgIFtmb3JdPVwib3B0aW9uLnZhbHVlICsgJy0nICsgaWRcIlxuICAgICAgICBbdGl0bGVdPVwiZ2V0VHJhbnNsYXRpb24ob3B0aW9uKVwiXG4gICAgICAgIFthdHRyLmRhdGEtdGVzdC1pZF09XCJ0ZXN0SWQgKyAnLW9wdGlvbi0nICsgb3B0aW9uLnZhbHVlXCJcbiAgICAgID5cbiAgICAgICAge3sgZ2V0VHJhbnNsYXRpb24ob3B0aW9uKSB9fVxuICAgICAgPC9sYWJlbD5cbiAgICA8L3FkLWZvcm0taW5wdXQ+XG4gIDwvZGl2PlxuICA8ZGl2ICpuZ0lmPVwib3B0aW9uc0xpc3RGb3JWaWV3Py5sZW5ndGggPT09IDBcIiBjbGFzcz1cInFkLW11bHRpLWlucHV0X19uby1yZXN1bHRzXCI+XG4gICAge3sgXCJpMThuLnFkLm11bHRpSW5wdXQubm9SZXN1bHRzXCIgfCB0cmFuc2xhdGUgfX1cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
// @ts-strict-ignore
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { QdTranslateService } from '../../../core/services/translate.service';
|
|
4
|
-
import { BehaviorSubject } from 'rxjs';
|
|
5
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../../core/services/translate.service";
|
|
8
|
-
export class QdMultiInputService {
|
|
9
|
-
translateService;
|
|
10
|
-
_optionsListSubject = new BehaviorSubject([]);
|
|
11
|
-
_optionsListForViewSubject = new BehaviorSubject([]);
|
|
12
|
-
_selectedItemsSubject = new BehaviorSubject([]);
|
|
13
|
-
_currentInputSubject = new BehaviorSubject('');
|
|
14
|
-
optionsList$ = this._optionsListSubject.asObservable();
|
|
15
|
-
optionsListForView$ = this._optionsListForViewSubject.asObservable();
|
|
16
|
-
selectedItems$ = this._selectedItemsSubject.asObservable();
|
|
17
|
-
constructor(translateService) {
|
|
18
|
-
this.translateService = translateService;
|
|
19
|
-
this.selectedItems$.pipe(takeUntilDestroyed()).subscribe(() => {
|
|
20
|
-
this.setOptionsListForView();
|
|
21
|
-
});
|
|
22
|
-
this._currentInputSubject.pipe(takeUntilDestroyed()).subscribe(input => {
|
|
23
|
-
this.setOptionsListForView(input);
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
setCurrentInput(input) {
|
|
27
|
-
this._currentInputSubject.next(input);
|
|
28
|
-
}
|
|
29
|
-
setOptionsList(optionsList) {
|
|
30
|
-
const list = optionsList.map(option => ({ ...option, disabled: option.disabled || false }));
|
|
31
|
-
this._optionsListSubject.next(list);
|
|
32
|
-
this.setOptionsListForView();
|
|
33
|
-
}
|
|
34
|
-
setOptionsListForView(input) {
|
|
35
|
-
const list = this._optionsListSubject.value.filter(l => !this._selectedItemsSubject.value.map(v => v.value).includes(l.value));
|
|
36
|
-
if (!input) {
|
|
37
|
-
this._optionsListForViewSubject.next(list);
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
const optionsListWithTranslation = list.map(option => ({
|
|
41
|
-
...option,
|
|
42
|
-
translation: this.getTranslation(option)
|
|
43
|
-
}));
|
|
44
|
-
const filtered = list.filter((_option, index) => optionsListWithTranslation[index].translation?.toLowerCase().includes(input?.toLowerCase()));
|
|
45
|
-
this._optionsListForViewSubject.next(filtered);
|
|
46
|
-
}
|
|
47
|
-
getItems() {
|
|
48
|
-
return this._selectedItemsSubject.value;
|
|
49
|
-
}
|
|
50
|
-
setSelectedItems(items) {
|
|
51
|
-
if (!items?.length) {
|
|
52
|
-
this._selectedItemsSubject.next([]);
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
const selected = [];
|
|
56
|
-
items.forEach(i => {
|
|
57
|
-
this._optionsListSubject.value.forEach(opt => {
|
|
58
|
-
if (opt.value === i)
|
|
59
|
-
selected.push(opt);
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
this._selectedItemsSubject.next(selected);
|
|
63
|
-
}
|
|
64
|
-
addSelectedItem(item) {
|
|
65
|
-
const updatedList = [...this._selectedItemsSubject.value, item];
|
|
66
|
-
this._selectedItemsSubject.next(updatedList);
|
|
67
|
-
}
|
|
68
|
-
getItemValues() {
|
|
69
|
-
return this._selectedItemsSubject.value.map(item => item.value);
|
|
70
|
-
}
|
|
71
|
-
removeItemAtIndex(index) {
|
|
72
|
-
const currentItems = this._selectedItemsSubject.value;
|
|
73
|
-
const updatedItems = [...currentItems.slice(0, index), ...currentItems.slice(index + 1)];
|
|
74
|
-
this._selectedItemsSubject.next(updatedItems);
|
|
75
|
-
}
|
|
76
|
-
findOption(value) {
|
|
77
|
-
return this._optionsListSubject.value
|
|
78
|
-
? this._optionsListSubject.value.find(option => option.value === value)
|
|
79
|
-
: undefined;
|
|
80
|
-
}
|
|
81
|
-
splitFilterOptions(filterOptions, inputSplitters) {
|
|
82
|
-
if (inputSplitters && inputSplitters.length > 0) {
|
|
83
|
-
return filterOptions
|
|
84
|
-
.trim()
|
|
85
|
-
.replace(/\s\s+/g, ' ')
|
|
86
|
-
.split(new RegExp('[' + inputSplitters.join('') + ']+'))
|
|
87
|
-
.map(filterOption => ({ i18n: filterOption, value: filterOption }));
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
return [{ i18n: filterOptions, value: filterOptions }];
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
getTranslation(option) {
|
|
94
|
-
return this.translateService.translate(option);
|
|
95
|
-
}
|
|
96
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMultiInputService, deps: [{ token: i1.QdTranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
97
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMultiInputService });
|
|
98
|
-
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMultiInputService, decorators: [{
|
|
100
|
-
type: Injectable
|
|
101
|
-
}], ctorParameters: () => [{ type: i1.QdTranslateService }] });
|
|
102
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGktaW5wdXQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9mb3Jtcy9tdWx0aS1pbnB1dC9tdWx0aS1pbnB1dC1zZXJ2aWNlL211bHRpLWlucHV0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0JBQW9CO0FBQ3BCLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sMENBQTBDLENBQUM7QUFDOUUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQzs7O0FBR2hFLE1BQU0sT0FBTyxtQkFB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