@quadrel-enterprise-ui/framework 18.25.3 → 19.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,296 +0,0 @@
|
|
|
1
|
-
// @ts-strict-ignore
|
|
2
|
-
import { ChangeDetectorRef, Component, EventEmitter, Host, HostBinding, Input, Optional, Output, SkipSelf } from '@angular/core';
|
|
3
|
-
import { ControlContainer, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { Subscription } from 'rxjs';
|
|
5
|
-
import { QdFormControl } from '../reactive-forms/controls/form-control';
|
|
6
|
-
import { getDisabled, getHint, getHintAction, getLabel, getPlaceholder, getReadonly, getReadonlyAction, getRows, getValue, getViewonly, getViewonlyAction } from '../shared/helpers/forms.helpers';
|
|
7
|
-
import { hasValidationKey } from '../shared/helpers/has-validators.helpers';
|
|
8
|
-
import { QdFormsActionEmitterService } from '../shared/services/action-emitter.service';
|
|
9
|
-
import { QdEventBrokerService } from '../../core/services/event-broker.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "../shared/services/action-emitter.service";
|
|
12
|
-
import * as i2 from "@angular/forms";
|
|
13
|
-
import * as i3 from "../../core/services/event-broker.service";
|
|
14
|
-
import * as i4 from "@angular/common";
|
|
15
|
-
import * as i5 from "../../icon/icon/icon.component";
|
|
16
|
-
import * as i6 from "../shared/components/form-hint/form-hint.component";
|
|
17
|
-
import * as i7 from "../shared/components/form-label/form-label.component";
|
|
18
|
-
import * as i8 from "../shared/components/form-readonly/form-readonly.component";
|
|
19
|
-
import * as i9 from "../shared/components/form-viewonly/form-viewonly.component";
|
|
20
|
-
import * as i10 from "@ngx-translate/core";
|
|
21
|
-
/**
|
|
22
|
-
* The **QdTextarea** is an component that provides a form element for a textarea input.<br />
|
|
23
|
-
* It is used to create a textarea input field with various configurable options. It can be used with Quadrel Reactive Forms or with model binding.
|
|
24
|
-
*
|
|
25
|
-
* ####**Usage with Reactive Forms**
|
|
26
|
-
*
|
|
27
|
-
* ```ts
|
|
28
|
-
* form = new QdFormGroup({
|
|
29
|
-
* textarea: new QdFormControl()
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
* ```html
|
|
33
|
-
* <form [formGroup]="form">
|
|
34
|
-
* <qd-textarea [formControlName]="textarea" [config]="config"></qd-textarea>
|
|
35
|
-
* </form>
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* ####**Usage with Model Binding**
|
|
39
|
-
* ```ts
|
|
40
|
-
* value;
|
|
41
|
-
* ```
|
|
42
|
-
* ```html
|
|
43
|
-
* <qd-textarea [(value)]="value" [config]="config"></qd-textarea>
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
export class QdTextareaComponent {
|
|
47
|
-
actionEmitterService;
|
|
48
|
-
changeDetectorRef;
|
|
49
|
-
controlContainer;
|
|
50
|
-
eventBrokerService;
|
|
51
|
-
/**
|
|
52
|
-
* The form control name can be assigned here if you want to use Reactive Forms.
|
|
53
|
-
*/
|
|
54
|
-
formControlName;
|
|
55
|
-
/**
|
|
56
|
-
* The current form item value, if you are working with Model Binding.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* <qd-textarea [(value)]="value" [config]="config"></qd-textarea>
|
|
60
|
-
*/
|
|
61
|
-
value;
|
|
62
|
-
/**
|
|
63
|
-
* The configuration for this form item
|
|
64
|
-
*
|
|
65
|
-
* @example
|
|
66
|
-
* {
|
|
67
|
-
* label: { i18n: 'Qd-Forms Text Area', disabled: true },
|
|
68
|
-
* placeholder: { i18n: 'Placeholder' },
|
|
69
|
-
* hint: { i18n: 'Helpertext' },
|
|
70
|
-
* rows: 8
|
|
71
|
-
* };
|
|
72
|
-
*/
|
|
73
|
-
config;
|
|
74
|
-
/**
|
|
75
|
-
* A static test ID for integration tests can be set. <br />
|
|
76
|
-
* The value for the HTML attribute [data-test-id].
|
|
77
|
-
*/
|
|
78
|
-
testId = 'text-input';
|
|
79
|
-
/**
|
|
80
|
-
* Emits event when the value has changed. Return value matches the current value.
|
|
81
|
-
*/
|
|
82
|
-
valueChange = new EventEmitter();
|
|
83
|
-
/**
|
|
84
|
-
* Emits event when the hint is clicked/tapped. `hintAction` must be set to `true` for this.
|
|
85
|
-
*/
|
|
86
|
-
clickHint = new EventEmitter();
|
|
87
|
-
/**
|
|
88
|
-
* Emits event when the readonly value is clicked/tapped. `clickReadonly ` must be set to `true` for this.
|
|
89
|
-
*/
|
|
90
|
-
clickReadonly = new EventEmitter();
|
|
91
|
-
/**
|
|
92
|
-
* Emits event when the viewonly value is clicked/tapped. `clickViewonly ` must be set to `true` for this.
|
|
93
|
-
*/
|
|
94
|
-
clickViewonly = new EventEmitter();
|
|
95
|
-
readonly;
|
|
96
|
-
viewonly;
|
|
97
|
-
hintAction = false;
|
|
98
|
-
readonlyAction = false;
|
|
99
|
-
viewonlyAction = false;
|
|
100
|
-
disabled;
|
|
101
|
-
isFocus = false;
|
|
102
|
-
control;
|
|
103
|
-
placeholder;
|
|
104
|
-
label;
|
|
105
|
-
hint;
|
|
106
|
-
rows;
|
|
107
|
-
valueForView;
|
|
108
|
-
_subs = new Subscription();
|
|
109
|
-
_onChange = () => { };
|
|
110
|
-
_onTouch = () => { };
|
|
111
|
-
get hasError() {
|
|
112
|
-
return this.control ? this.control.touched && this.control.invalid : false;
|
|
113
|
-
}
|
|
114
|
-
get required() {
|
|
115
|
-
if (!this.control) {
|
|
116
|
-
return false;
|
|
117
|
-
}
|
|
118
|
-
return hasValidationKey(this.control, 'required');
|
|
119
|
-
}
|
|
120
|
-
get numberOfCharacters() {
|
|
121
|
-
if (this.valueForView == null)
|
|
122
|
-
return 0;
|
|
123
|
-
return String(this.valueForView).length;
|
|
124
|
-
}
|
|
125
|
-
get hasMaxLength() {
|
|
126
|
-
if (!(this.control instanceof QdFormControl))
|
|
127
|
-
return false;
|
|
128
|
-
return this.control.hasMaxLength();
|
|
129
|
-
}
|
|
130
|
-
get maxLength() {
|
|
131
|
-
if (!(this.control instanceof QdFormControl))
|
|
132
|
-
return;
|
|
133
|
-
return this.control.getMaxLengthOrUndefined();
|
|
134
|
-
}
|
|
135
|
-
constructor(actionEmitterService, changeDetectorRef, controlContainer, eventBrokerService) {
|
|
136
|
-
this.actionEmitterService = actionEmitterService;
|
|
137
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
138
|
-
this.controlContainer = controlContainer;
|
|
139
|
-
this.eventBrokerService = eventBrokerService;
|
|
140
|
-
}
|
|
141
|
-
ngOnInit() {
|
|
142
|
-
this.updateConfiguration();
|
|
143
|
-
if (this.controlContainer) {
|
|
144
|
-
if (this.formControlName) {
|
|
145
|
-
this.control = this.controlContainer.control.get(this.formControlName);
|
|
146
|
-
// TODO remove logic for support of angular FormControl with angular 18 update
|
|
147
|
-
if (!(this.control instanceof QdFormControl)) {
|
|
148
|
-
console.warn('QD-UI | QdTextareaComponent - Please use the QdFormControl instead of the Angular FormControl');
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
console.warn('QD-UI | QdTextareaComponent - Missing FormControlName directive from host element of the component');
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
this.valueForView = this.value || getValue(this.config);
|
|
156
|
-
this._subs.add(this.actionEmitterService.hintEventEmitter$.subscribe(() => this.clickHint.emit()));
|
|
157
|
-
this._subs.add(this.actionEmitterService.readonlyEventEmitter$.subscribe(() => this.clickReadonly.emit()));
|
|
158
|
-
this._subs.add(this.actionEmitterService.viewonlyEventEmitter$.subscribe(() => this.clickViewonly.emit()));
|
|
159
|
-
this._subs.add(this.initOpModeSubscription());
|
|
160
|
-
}
|
|
161
|
-
ngOnChanges(changes) {
|
|
162
|
-
if (changes.config) {
|
|
163
|
-
this.updateConfiguration();
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
ngOnDestroy() {
|
|
167
|
-
this._subs.unsubscribe();
|
|
168
|
-
}
|
|
169
|
-
registerOnChange(fn) {
|
|
170
|
-
this._onChange = fn;
|
|
171
|
-
}
|
|
172
|
-
registerOnTouched(fn) {
|
|
173
|
-
this._onTouch = fn;
|
|
174
|
-
}
|
|
175
|
-
writeValue(value) {
|
|
176
|
-
this.valueForView = value;
|
|
177
|
-
this.valueChange.emit(value);
|
|
178
|
-
}
|
|
179
|
-
setDisabledState(disabled) {
|
|
180
|
-
this.disabled = disabled;
|
|
181
|
-
}
|
|
182
|
-
handleInput(event) {
|
|
183
|
-
const value = event.target.value;
|
|
184
|
-
this.valueForView = value;
|
|
185
|
-
this.valueChange.emit(value);
|
|
186
|
-
this._onChange(value);
|
|
187
|
-
this._onTouch();
|
|
188
|
-
}
|
|
189
|
-
handleFocus() {
|
|
190
|
-
this.isFocus = true;
|
|
191
|
-
}
|
|
192
|
-
handleBlur() {
|
|
193
|
-
this.isFocus = false;
|
|
194
|
-
this._onTouch();
|
|
195
|
-
}
|
|
196
|
-
updateConfiguration() {
|
|
197
|
-
this.label = getLabel(this.config);
|
|
198
|
-
this.placeholder = getPlaceholder(this.config);
|
|
199
|
-
this.hint = getHint(this.config);
|
|
200
|
-
this.rows = getRows(this.config);
|
|
201
|
-
this.readonly = getReadonly(this.config, this.readonly);
|
|
202
|
-
this.viewonly = getViewonly(this.config, this.viewonly);
|
|
203
|
-
this.hintAction = getHintAction(this.config);
|
|
204
|
-
this.readonlyAction = getReadonlyAction(this.config);
|
|
205
|
-
this.viewonlyAction = getViewonlyAction(this.config);
|
|
206
|
-
this.disabled = getDisabled(this.config) || !!this.control?.disabled;
|
|
207
|
-
}
|
|
208
|
-
initOpModeSubscription() {
|
|
209
|
-
if (!this.eventBrokerService)
|
|
210
|
-
return;
|
|
211
|
-
return this.eventBrokerService.consume('operation_mode_changed').subscribe(topic => {
|
|
212
|
-
if (typeof this.config.viewonly === 'boolean')
|
|
213
|
-
return;
|
|
214
|
-
this.viewonly = getViewonly(this.config, topic.payload.isViewonly);
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdTextareaComponent, deps: [{ token: i1.QdFormsActionEmitterService }, { token: i0.ChangeDetectorRef }, { token: i2.ControlContainer, host: true, optional: true, skipSelf: true }, { token: i3.QdEventBrokerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
218
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdTextareaComponent, selector: "qd-textarea", inputs: { formControlName: "formControlName", value: "value", config: "config", testId: ["data-test-id", "testId"] }, outputs: { valueChange: "valueChange", clickHint: "clickHint", clickReadonly: "clickReadonly", clickViewonly: "clickViewonly" }, host: { properties: { "class.qd-textarea-readonly": "this.readonly", "class.qd-textarea-viewonly": "this.viewonly", "class.qd-form-hint-action": "this.hintAction", "class.qd-textarea--hint-action": "this.hintAction", "class.qd-textarea--readonly-action": "this.readonlyAction", "class.qd-textarea--viewonly-action": "this.viewonlyAction", "class.qd-textarea-disabled": "this.disabled", "class.qd-form-disabled": "this.disabled", "class.qd-textarea-focus": "this.isFocus", "class.qd-form-error": "this.hasError", "class.qd-textarea-error": "this.hasError" } }, providers: [
|
|
219
|
-
{
|
|
220
|
-
provide: NG_VALUE_ACCESSOR,
|
|
221
|
-
useExisting: QdTextareaComponent,
|
|
222
|
-
multi: true
|
|
223
|
-
},
|
|
224
|
-
QdFormsActionEmitterService
|
|
225
|
-
], usesOnChanges: true, ngImport: i0, template: "<qd-form-label\n [label]=\"label\"\n [readonly]=\"readonly\"\n [viewonly]=\"viewonly\"\n [control]=\"control\"\n [tooltip]=\"config?.tooltip\"\n [data-test-id]=\"testId\"\n></qd-form-label>\n\n<ng-container *ngIf=\"!readonly && !viewonly\">\n <div class=\"qd-textarea-input\">\n <textarea\n [placeholder]=\"placeholder | translate\"\n [value]=\"valueForView\"\n (input)=\"handleInput($event)\"\n (focus)=\"handleFocus()\"\n (blur)=\"handleBlur()\"\n [disabled]=\"disabled || readonly\"\n [attr.data-test-id]=\"testId + '-input'\"\n [rows]=\"rows\"\n ></textarea>\n <div class=\"qd-textarea-suffix\">\n <qd-icon *ngIf=\"hasError\" class=\"qd-error-icon\" icon=\"exclamationCircleSolid\"></qd-icon>\n </div>\n </div>\n\n <span class=\"qd-textarea-character-counter\" *ngIf=\"hasMaxLength\">{{ numberOfCharacters }} / {{ maxLength }}</span>\n\n <qd-form-hint\n [hint]=\"hint\"\n [control]=\"control\"\n [hasError]=\"hasError\"\n [hintAction]=\"hintAction\"\n [data-test-id]=\"testId\"\n ></qd-form-hint>\n</ng-container>\n\n<qd-form-readonly\n *ngIf=\"readonly\"\n [values]=\"[valueForView]\"\n [readonlyAction]=\"readonlyAction\"\n [data-test-id]=\"testId\"\n></qd-form-readonly>\n\n<qd-form-viewonly\n *ngIf=\"viewonly\"\n [values]=\"[valueForView]\"\n [viewonlyAction]=\"viewonlyAction\"\n [data-test-id]=\"testId\"\n></qd-form-viewonly>\n", styles: [":host{position:relative;display:block;overflow:hidden;width:100%;flex-direction:column;margin-bottom:.75rem}:host .qd-textarea-input{display:flex;align-items:center;padding:.5rem;border:.0625rem solid rgb(180,180,180);border-radius:0;margin-bottom:.375rem;background-color:#fff}:host .qd-textarea-input:hover,:host .qd-textarea-input:focus,:host .qd-textarea-input:active{padding:.4375rem;border:.125rem solid rgb(23,23,23)}:host .qd-textarea-input textarea{height:100%;flex-grow:1;border:none;background-color:#fff;color:#171717;font-size:.875rem;resize:none}:host .qd-textarea-input textarea:hover,:host .qd-textarea-input textarea:focus,:host .qd-textarea-input textarea:active{border:none;outline:none}:host .qd-textarea-input textarea::placeholder{color:#b4b4b4}:host .qd-textarea-input textarea:focus::placeholder{display:block;color:#b4b4b4}:host .qd-textarea-character-counter{padding-left:.125rem;color:#757575;float:right;font-size:.75rem;font-weight:300;line-height:.75rem}:host:after{display:block;height:0;clear:both;content:\".\";visibility:hidden}:host.qd-textarea-focus .qd-textarea-input{padding:.4375rem;border:.125rem solid rgb(0,102,153);border-radius:0;outline:none}:host.qd-textarea-readonly .qd-textarea-input-readonly{display:flex;min-height:2.25rem;align-items:center;margin-bottom:.375rem;color:#171717;font-size:.875rem}:host.qd-textarea--readonly-action .qd-textarea-input-readonly{color:#069;cursor:pointer}:host.qd-textarea--readonly-action .qd-textarea-input-readonly:hover,:host.qd-textarea--readonly-action .qd-textarea-input-readonly:active,:host.qd-textarea--readonly-action .qd-textarea-input-readonly:focus{text-decoration:underline}:host.qd-textarea-viewonly .qd-textarea-input-viewonly{display:flex;min-height:2.25rem;align-items:center;margin-bottom:.375rem;color:#171717;font-size:.875rem}:host.qd-textarea--viewonly-action .qd-textarea-input-viewonly{color:#069;cursor:pointer}:host.qd-textarea--viewonly-action .qd-textarea-input-viewonly:hover,:host.qd-textarea--viewonly-action .qd-textarea-input-viewonly:active,:host.qd-textarea--viewonly-action .qd-textarea-input-viewonly:focus{text-decoration:underline}:host.qd-textarea-disabled .qd-textarea-input{border:.0625rem solid rgb(151,151,151);background-color:#f5f5f5}:host.qd-textarea-disabled .qd-textarea-input textarea{background-color:#f5f5f5;color:#979797}:host.qd-textarea-disabled .qd-textarea-input textarea::placeholder{color:red;opacity:0}:host.qd-textarea-disabled .qd-textarea-input:hover,:host.qd-textarea-disabled .qd-textarea-input:focus,:host.qd-textarea-disabled .qd-textarea-input:active{padding:.5rem;border:.0625rem solid rgb(151,151,151);background-color:#f5f5f5}:host.qd-textarea-disabled.qd-textarea-focus{border-color:#ff9b00}:host.qd-textarea-error .qd-textarea-input{padding:.5rem;border:.0625rem solid rgb(199,0,35)}:host.qd-textarea-error .qd-textarea-input .qd-error-icon{color:#c70023}:host.qd-textarea-error .qd-textarea-input:hover,:host.qd-textarea-error .qd-textarea-input:focus,:host.qd-textarea-error .qd-textarea-input:active{padding:.4375rem;border:.125rem solid rgb(199,0,35)}:host.qd-textarea-error.qd-textarea-focus{border-color:#c70023}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.QdIconComponent, selector: "qd-icon", inputs: ["icon"] }, { kind: "component", type: i6.QdFormHintComponent, selector: "qd-form-hint", inputs: ["hint", "control", "hasError", "hintAction", "data-test-id"] }, { kind: "component", type: i7.QdFormLabelComponent, selector: "qd-form-label", inputs: ["label", "isDisabled", "readonly", "viewonly", "control", "tooltip", "data-test-id"] }, { kind: "component", type: i8.QdFormReadonlyComponent, selector: "qd-form-readonly", inputs: ["values", "readonlyAction", "data-test-id"] }, { kind: "component", type: i9.QdFormViewonlyComponent, selector: "qd-form-viewonly", inputs: ["values", "viewonlyAction", "data-test-id"] }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }] });
|
|
226
|
-
}
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdTextareaComponent, decorators: [{
|
|
228
|
-
type: Component,
|
|
229
|
-
args: [{ selector: 'qd-textarea', providers: [
|
|
230
|
-
{
|
|
231
|
-
provide: NG_VALUE_ACCESSOR,
|
|
232
|
-
useExisting: QdTextareaComponent,
|
|
233
|
-
multi: true
|
|
234
|
-
},
|
|
235
|
-
QdFormsActionEmitterService
|
|
236
|
-
], template: "<qd-form-label\n [label]=\"label\"\n [readonly]=\"readonly\"\n [viewonly]=\"viewonly\"\n [control]=\"control\"\n [tooltip]=\"config?.tooltip\"\n [data-test-id]=\"testId\"\n></qd-form-label>\n\n<ng-container *ngIf=\"!readonly && !viewonly\">\n <div class=\"qd-textarea-input\">\n <textarea\n [placeholder]=\"placeholder | translate\"\n [value]=\"valueForView\"\n (input)=\"handleInput($event)\"\n (focus)=\"handleFocus()\"\n (blur)=\"handleBlur()\"\n [disabled]=\"disabled || readonly\"\n [attr.data-test-id]=\"testId + '-input'\"\n [rows]=\"rows\"\n ></textarea>\n <div class=\"qd-textarea-suffix\">\n <qd-icon *ngIf=\"hasError\" class=\"qd-error-icon\" icon=\"exclamationCircleSolid\"></qd-icon>\n </div>\n </div>\n\n <span class=\"qd-textarea-character-counter\" *ngIf=\"hasMaxLength\">{{ numberOfCharacters }} / {{ maxLength }}</span>\n\n <qd-form-hint\n [hint]=\"hint\"\n [control]=\"control\"\n [hasError]=\"hasError\"\n [hintAction]=\"hintAction\"\n [data-test-id]=\"testId\"\n ></qd-form-hint>\n</ng-container>\n\n<qd-form-readonly\n *ngIf=\"readonly\"\n [values]=\"[valueForView]\"\n [readonlyAction]=\"readonlyAction\"\n [data-test-id]=\"testId\"\n></qd-form-readonly>\n\n<qd-form-viewonly\n *ngIf=\"viewonly\"\n [values]=\"[valueForView]\"\n [viewonlyAction]=\"viewonlyAction\"\n [data-test-id]=\"testId\"\n></qd-form-viewonly>\n", styles: [":host{position:relative;display:block;overflow:hidden;width:100%;flex-direction:column;margin-bottom:.75rem}:host .qd-textarea-input{display:flex;align-items:center;padding:.5rem;border:.0625rem solid rgb(180,180,180);border-radius:0;margin-bottom:.375rem;background-color:#fff}:host .qd-textarea-input:hover,:host .qd-textarea-input:focus,:host .qd-textarea-input:active{padding:.4375rem;border:.125rem solid rgb(23,23,23)}:host .qd-textarea-input textarea{height:100%;flex-grow:1;border:none;background-color:#fff;color:#171717;font-size:.875rem;resize:none}:host .qd-textarea-input textarea:hover,:host .qd-textarea-input textarea:focus,:host .qd-textarea-input textarea:active{border:none;outline:none}:host .qd-textarea-input textarea::placeholder{color:#b4b4b4}:host .qd-textarea-input textarea:focus::placeholder{display:block;color:#b4b4b4}:host .qd-textarea-character-counter{padding-left:.125rem;color:#757575;float:right;font-size:.75rem;font-weight:300;line-height:.75rem}:host:after{display:block;height:0;clear:both;content:\".\";visibility:hidden}:host.qd-textarea-focus .qd-textarea-input{padding:.4375rem;border:.125rem solid rgb(0,102,153);border-radius:0;outline:none}:host.qd-textarea-readonly .qd-textarea-input-readonly{display:flex;min-height:2.25rem;align-items:center;margin-bottom:.375rem;color:#171717;font-size:.875rem}:host.qd-textarea--readonly-action .qd-textarea-input-readonly{color:#069;cursor:pointer}:host.qd-textarea--readonly-action .qd-textarea-input-readonly:hover,:host.qd-textarea--readonly-action .qd-textarea-input-readonly:active,:host.qd-textarea--readonly-action .qd-textarea-input-readonly:focus{text-decoration:underline}:host.qd-textarea-viewonly .qd-textarea-input-viewonly{display:flex;min-height:2.25rem;align-items:center;margin-bottom:.375rem;color:#171717;font-size:.875rem}:host.qd-textarea--viewonly-action .qd-textarea-input-viewonly{color:#069;cursor:pointer}:host.qd-textarea--viewonly-action .qd-textarea-input-viewonly:hover,:host.qd-textarea--viewonly-action .qd-textarea-input-viewonly:active,:host.qd-textarea--viewonly-action .qd-textarea-input-viewonly:focus{text-decoration:underline}:host.qd-textarea-disabled .qd-textarea-input{border:.0625rem solid rgb(151,151,151);background-color:#f5f5f5}:host.qd-textarea-disabled .qd-textarea-input textarea{background-color:#f5f5f5;color:#979797}:host.qd-textarea-disabled .qd-textarea-input textarea::placeholder{color:red;opacity:0}:host.qd-textarea-disabled .qd-textarea-input:hover,:host.qd-textarea-disabled .qd-textarea-input:focus,:host.qd-textarea-disabled .qd-textarea-input:active{padding:.5rem;border:.0625rem solid rgb(151,151,151);background-color:#f5f5f5}:host.qd-textarea-disabled.qd-textarea-focus{border-color:#ff9b00}:host.qd-textarea-error .qd-textarea-input{padding:.5rem;border:.0625rem solid rgb(199,0,35)}:host.qd-textarea-error .qd-textarea-input .qd-error-icon{color:#c70023}:host.qd-textarea-error .qd-textarea-input:hover,:host.qd-textarea-error .qd-textarea-input:focus,:host.qd-textarea-error .qd-textarea-input:active{padding:.4375rem;border:.125rem solid rgb(199,0,35)}:host.qd-textarea-error.qd-textarea-focus{border-color:#c70023}\n"] }]
|
|
237
|
-
}], ctorParameters: () => [{ type: i1.QdFormsActionEmitterService }, { type: i0.ChangeDetectorRef }, { type: i2.ControlContainer, decorators: [{
|
|
238
|
-
type: Optional
|
|
239
|
-
}, {
|
|
240
|
-
type: Host
|
|
241
|
-
}, {
|
|
242
|
-
type: SkipSelf
|
|
243
|
-
}] }, { type: i3.QdEventBrokerService, decorators: [{
|
|
244
|
-
type: Optional
|
|
245
|
-
}] }], propDecorators: { formControlName: [{
|
|
246
|
-
type: Input
|
|
247
|
-
}], value: [{
|
|
248
|
-
type: Input
|
|
249
|
-
}], config: [{
|
|
250
|
-
type: Input
|
|
251
|
-
}], testId: [{
|
|
252
|
-
type: Input,
|
|
253
|
-
args: ['data-test-id']
|
|
254
|
-
}], valueChange: [{
|
|
255
|
-
type: Output
|
|
256
|
-
}], clickHint: [{
|
|
257
|
-
type: Output
|
|
258
|
-
}], clickReadonly: [{
|
|
259
|
-
type: Output
|
|
260
|
-
}], clickViewonly: [{
|
|
261
|
-
type: Output
|
|
262
|
-
}], readonly: [{
|
|
263
|
-
type: HostBinding,
|
|
264
|
-
args: ['class.qd-textarea-readonly']
|
|
265
|
-
}], viewonly: [{
|
|
266
|
-
type: HostBinding,
|
|
267
|
-
args: ['class.qd-textarea-viewonly']
|
|
268
|
-
}], hintAction: [{
|
|
269
|
-
type: HostBinding,
|
|
270
|
-
args: ['class.qd-form-hint-action']
|
|
271
|
-
}, {
|
|
272
|
-
type: HostBinding,
|
|
273
|
-
args: ['class.qd-textarea--hint-action']
|
|
274
|
-
}], readonlyAction: [{
|
|
275
|
-
type: HostBinding,
|
|
276
|
-
args: ['class.qd-textarea--readonly-action']
|
|
277
|
-
}], viewonlyAction: [{
|
|
278
|
-
type: HostBinding,
|
|
279
|
-
args: ['class.qd-textarea--viewonly-action']
|
|
280
|
-
}], disabled: [{
|
|
281
|
-
type: HostBinding,
|
|
282
|
-
args: ['class.qd-textarea-disabled']
|
|
283
|
-
}, {
|
|
284
|
-
type: HostBinding,
|
|
285
|
-
args: ['class.qd-form-disabled']
|
|
286
|
-
}], isFocus: [{
|
|
287
|
-
type: HostBinding,
|
|
288
|
-
args: ['class.qd-textarea-focus']
|
|
289
|
-
}], hasError: [{
|
|
290
|
-
type: HostBinding,
|
|
291
|
-
args: ['class.qd-form-error']
|
|
292
|
-
}, {
|
|
293
|
-
type: HostBinding,
|
|
294
|
-
args: ['class.qd-textarea-error']
|
|
295
|
-
}] } });
|
|
296
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL2Zvcm1zL3RleHRhcmVhL3RleHRhcmVhLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9mb3Jtcy90ZXh0YXJlYS90ZXh0YXJlYS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQkFBb0I7QUFDcEIsT0FBTyxFQUNMLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsWUFBWSxFQUNaLElBQUksRUFDSixXQUFXLEVBQ1gsS0FBSyxFQ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
-
export class QdMockColumnDirective {
|
|
4
|
-
columnNum = 1;
|
|
5
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMockColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.9", type: QdMockColumnDirective, selector: "[qdColumn]", inputs: { columnNum: ["qdColumn", "columnNum"] }, ngImport: i0 });
|
|
7
|
-
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMockColumnDirective, decorators: [{
|
|
9
|
-
type: Directive,
|
|
10
|
-
args: [{
|
|
11
|
-
selector: '[qdColumn]'
|
|
12
|
-
}]
|
|
13
|
-
}], propDecorators: { columnNum: [{
|
|
14
|
-
type: Input,
|
|
15
|
-
args: ['qdColumn']
|
|
16
|
-
}] } });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9jay1jb2x1bW4uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL2dyaWQvX19tb2Nrc19fL21vY2stY29sdW1uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFLakQsTUFBTSxPQUFPLHFCQUFxQjtJQUNiLFNBQVMsR0FBRyxDQUFDLENBQUM7dUdBRHRCLHFCQUFxQjsyRkFBckIscUJBQXFCOzsyRkFBckIscUJBQXFCO2tCQUhqQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxZQUFZO2lCQUN2Qjs4QkFFb0IsU0FBUztzQkFBM0IsS0FBSzt1QkFBQyxVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbcWRDb2x1bW5dJ1xufSlcbmV4cG9ydCBjbGFzcyBRZE1vY2tDb2x1bW5EaXJlY3RpdmUge1xuICBASW5wdXQoJ3FkQ29sdW1uJykgY29sdW1uTnVtID0gMTtcbn1cbiJdfQ==
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class QdMockColumnsDirective {
|
|
4
|
-
_renderer;
|
|
5
|
-
_elementRef;
|
|
6
|
-
columnsNum;
|
|
7
|
-
constructor(_renderer, _elementRef) {
|
|
8
|
-
this._renderer = _renderer;
|
|
9
|
-
this._elementRef = _elementRef;
|
|
10
|
-
}
|
|
11
|
-
ngOnInit() {
|
|
12
|
-
this._renderer.addClass(this._elementRef.nativeElement, `qdcolumns-${this.columnsNum}`);
|
|
13
|
-
}
|
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMockColumnsDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.9", type: QdMockColumnsDirective, selector: "[qdColumns]", inputs: { columnsNum: ["qdColumns", "columnsNum"] }, ngImport: i0 });
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMockColumnsDirective, decorators: [{
|
|
18
|
-
type: Directive,
|
|
19
|
-
args: [{
|
|
20
|
-
selector: '[qdColumns]'
|
|
21
|
-
}]
|
|
22
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { columnsNum: [{
|
|
23
|
-
type: Input,
|
|
24
|
-
args: ['qdColumns']
|
|
25
|
-
}] } });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9jay1jb2x1bW5zLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9ncmlkL19fbW9ja3NfXy9tb2NrLWNvbHVtbnMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBVSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS2hGLE1BQU0sT0FBTyxzQkFBc0I7SUFHSjtJQUF1QztJQUZoRCxVQUFVLENBQVU7SUFFeEMsWUFBNkIsU0FBb0IsRUFBbUIsV0FBb0M7UUFBM0UsY0FBUyxHQUFULFNBQVMsQ0FBVztRQUFtQixnQkFBVyxHQUFYLFdBQVcsQ0FBeUI7SUFBRyxDQUFDO0lBRTVHLFFBQVE7UUFDTixJQUFJLENBQUMsU0FBUyxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLGFBQWEsRUFBRSxhQUFhLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQyxDQUFDO0lBQzFGLENBQUM7dUdBUFUsc0JBQXNCOzJGQUF0QixzQkFBc0I7OzJGQUF0QixzQkFBc0I7a0JBSGxDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLGFBQWE7aUJBQ3hCO3VHQUVxQixVQUFVO3NCQUE3QixLQUFLO3VCQUFDLFdBQVciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEVsZW1lbnRSZWYsIElucHV0LCBPbkluaXQsIFJlbmRlcmVyMiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbcWRDb2x1bW5zXSdcbn0pXG5leHBvcnQgY2xhc3MgUWRNb2NrQ29sdW1uc0RpcmVjdGl2ZSBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIEBJbnB1dCgncWRDb2x1bW5zJykgY29sdW1uc051bSE6IG51bWJlcjtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IF9yZW5kZXJlcjogUmVuZGVyZXIyLCBwcml2YXRlIHJlYWRvbmx5IF9lbGVtZW50UmVmOiBFbGVtZW50UmVmPEhUTUxFbGVtZW50Pikge31cblxuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLl9yZW5kZXJlci5hZGRDbGFzcyh0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsIGBxZGNvbHVtbnMtJHt0aGlzLmNvbHVtbnNOdW19YCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { QdMockColumnDirective } from './mock-column.directive';
|
|
3
|
-
import { QdMockColumnsDirective } from './mock-columns.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export { QdMockColumnsDirective, QdMockColumnDirective };
|
|
6
|
-
export class QdMockGridModule {
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMockGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: QdMockGridModule, declarations: [QdMockColumnsDirective, QdMockColumnDirective], exports: [QdMockColumnsDirective, QdMockColumnDirective] });
|
|
9
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMockGridModule });
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdMockGridModule, decorators: [{
|
|
12
|
-
type: NgModule,
|
|
13
|
-
args: [{
|
|
14
|
-
declarations: [QdMockColumnsDirective, QdMockColumnDirective],
|
|
15
|
-
exports: [QdMockColumnsDirective, QdMockColumnDirective]
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9jay1ncmlkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9ncmlkL19fbW9ja3NfXy9tb2NrLWdyaWQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDaEUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7O0FBRWxFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxxQkFBcUIsRUFBRSxDQUFDO0FBTXpELE1BQU0sT0FBTyxnQkFBZ0I7dUdBQWhCLGdCQUFnQjt3R0FBaEIsZ0JBQWdCLGlCQUhaLHNCQUFzQixFQUFFLHFCQUFxQixhQUNsRCxzQkFBc0IsRUFBRSxxQkFBcUI7d0dBRTVDLGdCQUFnQjs7MkZBQWhCLGdCQUFnQjtrQkFKNUIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxzQkFBc0IsRUFBRSxxQkFBcUIsQ0FBQztvQkFDN0QsT0FBTyxFQUFFLENBQUMsc0JBQXNCLEVBQUUscUJBQXFCLENBQUM7aUJBQ3pEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgUWRNb2NrQ29sdW1uRGlyZWN0aXZlIH0gZnJvbSAnLi9tb2NrLWNvbHVtbi5kaXJlY3RpdmUnO1xuaW1wb3J0IHsgUWRNb2NrQ29sdW1uc0RpcmVjdGl2ZSB9IGZyb20gJy4vbW9jay1jb2x1bW5zLmRpcmVjdGl2ZSc7XG5cbmV4cG9ydCB7IFFkTW9ja0NvbHVtbnNEaXJlY3RpdmUsIFFkTW9ja0NvbHVtbkRpcmVjdGl2ZSB9O1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtRZE1vY2tDb2x1bW5zRGlyZWN0aXZlLCBRZE1vY2tDb2x1bW5EaXJlY3RpdmVdLFxuICBleHBvcnRzOiBbUWRNb2NrQ29sdW1uc0RpcmVjdGl2ZSwgUWRNb2NrQ29sdW1uRGlyZWN0aXZlXVxufSlcbmV4cG9ydCBjbGFzcyBRZE1vY2tHcmlkTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { QdColumnDirective } from './column.directive'; // import from module caused error in component tests
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* **qdColumnAutoFill** enables the grid auto fill feature for a single column if auto fill is disabled for the grid
|
|
6
|
-
* with the `disableAutoFill` config option. By default, the rows will be filled automatically and you don't
|
|
7
|
-
* need this directive.
|
|
8
|
-
*
|
|
9
|
-
* **Usage:**
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* <qd-grid [config]="{ columns: 6, disableAutoFill: true }">
|
|
13
|
-
* <div qdColumn="2"></div>
|
|
14
|
-
* <div qdColumn="3"></div><!-- the remaining space will not be filled -->
|
|
15
|
-
* <div qdColumn="3"></div>
|
|
16
|
-
* <div qdColumn="2" qdColumnAutoFill></div><!-- the remaining space will be filled -->
|
|
17
|
-
* </qd-grid>
|
|
18
|
-
*/
|
|
19
|
-
export class QdColumnAutoFillDirective {
|
|
20
|
-
_renderer;
|
|
21
|
-
_elementRef;
|
|
22
|
-
get element() {
|
|
23
|
-
return this._elementRef.nativeElement;
|
|
24
|
-
}
|
|
25
|
-
static className = 'qd-column-auto-fill';
|
|
26
|
-
constructor(_renderer, _elementRef) {
|
|
27
|
-
this._renderer = _renderer;
|
|
28
|
-
this._elementRef = _elementRef;
|
|
29
|
-
}
|
|
30
|
-
ngOnInit() {
|
|
31
|
-
this._renderer.addClass(this.element, QdColumnAutoFillDirective.className);
|
|
32
|
-
}
|
|
33
|
-
ngAfterViewInit() {
|
|
34
|
-
// ngAfterViewInit hook and timeout here to wait for the classes to be set by the directives
|
|
35
|
-
setTimeout(() => this.logErrorIfColumnDirectiveNotPresent(), 10);
|
|
36
|
-
}
|
|
37
|
-
logErrorIfColumnDirectiveNotPresent() {
|
|
38
|
-
if (!this.element.classList.contains(QdColumnDirective.className)) {
|
|
39
|
-
this.logErrorMessage('The qdColumnAutoFill directive can only be set for a qdColumn element.');
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
logErrorMessage(message) {
|
|
43
|
-
console.error(`${QdColumnAutoFillDirective.name} | ${message}`);
|
|
44
|
-
}
|
|
45
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdColumnAutoFillDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
46
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.9", type: QdColumnAutoFillDirective, selector: "[qdColumnAutoFill]", ngImport: i0 });
|
|
47
|
-
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdColumnAutoFillDirective, decorators: [{
|
|
49
|
-
type: Directive,
|
|
50
|
-
args: [{
|
|
51
|
-
selector: '[qdColumnAutoFill]'
|
|
52
|
-
}]
|
|
53
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWF1dG8tZmlsbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvZ3JpZC9kaXJlY3RpdmVzL2NvbHVtbi1hdXRvLWZpbGwuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBaUIsU0FBUyxFQUFFLFVBQVUsRUFBVSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDeEYsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sb0JBQW9CLENBQUMsQ0FBQyxxREFBcUQ7O0FBRTdHOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBSUgsTUFBTSxPQUFPLHlCQUF5QjtJQU9QO0lBQXVDO0lBTnBFLElBQUksT0FBTztRQUNULE9BQU8sSUFBSSxDQUFDLFdBQVcsQ0FBQyxhQUFhLENBQUM7SUFDeEMsQ0FBQztJQUVELE1BQU0sQ0FBQyxTQUFTLEdBQUcscUJBQXFCLENBQUM7SUFFekMsWUFBNkIsU0FBb0IsRUFBbUIsV0FBb0M7UUFBM0UsY0FBUyxHQUFULFNBQVMsQ0FBVztRQUFtQixnQkFBVyxHQUFYLFdBQVcsQ0FBeUI7SUFBRyxDQUFDO0lBRTVHLFFBQVE7UUFDTixJQUFJLENBQUM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nNvbGUuZXJyb3IoYCR7UWRDb2x1bW5BdXRvRmlsbERpcmVjdGl2ZS5uYW1lfSB8ICR7bWVzc2FnZX1gKTtcbiAgfVxufVxuIl19
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { QdColumnDirective } from './column.directive'; // import from module caused error in component tests
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* **qdColumnBreakBefore** can be used for elements with a `qdColumn` directive to place the element in a new row.
|
|
6
|
-
*
|
|
7
|
-
* * @see directive **qdColumn**
|
|
8
|
-
*
|
|
9
|
-
* **Usage:**
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* <qd-grid [config]="{ columns: 6 }">
|
|
13
|
-
* <div qdColumn="1"></div>
|
|
14
|
-
* <div qdColumn="2"></div>
|
|
15
|
-
* <div qdColumn="3" qdColumnBreakBefore></div> <!-- will be placed in a new row -->
|
|
16
|
-
* <div qdColumn="3"></div>
|
|
17
|
-
* </qd-grid>
|
|
18
|
-
*/
|
|
19
|
-
export class QdColumnBreakBeforeDirective {
|
|
20
|
-
_renderer;
|
|
21
|
-
_elementRef;
|
|
22
|
-
get element() {
|
|
23
|
-
return this._elementRef.nativeElement;
|
|
24
|
-
}
|
|
25
|
-
static className = 'qd-column-break-before';
|
|
26
|
-
constructor(_renderer, _elementRef) {
|
|
27
|
-
this._renderer = _renderer;
|
|
28
|
-
this._elementRef = _elementRef;
|
|
29
|
-
}
|
|
30
|
-
ngOnInit() {
|
|
31
|
-
this._renderer.addClass(this.element, QdColumnBreakBeforeDirective.className);
|
|
32
|
-
}
|
|
33
|
-
ngAfterViewInit() {
|
|
34
|
-
// ngAfterViewInit hook and timeout here to wait for the classes to be set by the directives
|
|
35
|
-
setTimeout(() => this.logErrorIfColumnDirectiveNotPresent(), 10);
|
|
36
|
-
}
|
|
37
|
-
logErrorIfColumnDirectiveNotPresent() {
|
|
38
|
-
const colspan = QdColumnDirective.getQdColumnColspan(this.element);
|
|
39
|
-
if (!colspan) {
|
|
40
|
-
this.logErrorMessage('The qdColumnBreakBefore directive can only be set for a qdColumn element.');
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
logErrorMessage(message) {
|
|
44
|
-
console.error(`${QdColumnBreakBeforeDirective.name} | ${message}`);
|
|
45
|
-
}
|
|
46
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdColumnBreakBeforeDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.9", type: QdColumnBreakBeforeDirective, selector: "[qdColumnBreakBefore]", ngImport: i0 });
|
|
48
|
-
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdColumnBreakBeforeDirective, decorators: [{
|
|
50
|
-
type: Directive,
|
|
51
|
-
args: [{
|
|
52
|
-
selector: '[qdColumnBreakBefore]'
|
|
53
|
-
}]
|
|
54
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWJyZWFrLWJlZm9yZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvZ3JpZC9kaXJlY3RpdmVzL2NvbHVtbi1icmVhay1iZWZvcmUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBaUIsU0FBUyxFQUFFLFVBQVUsRUFBVSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7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29sc3Bhbih0aGlzLmVsZW1lbnQpO1xuXG4gICAgaWYgKCFjb2xzcGFuKSB7XG4gICAgICB0aGlzLmxvZ0Vycm9yTWVzc2FnZSgnVGhlIHFkQ29sdW1uQnJlYWtCZWZvcmUgZGlyZWN0aXZlIGNhbiBvbmx5IGJlIHNldCBmb3IgYSBxZENvbHVtbiBlbGVtZW50LicpO1xuICAgIH1cbiAgfVxuXG4gIHByaXZhdGUgbG9nRXJyb3JNZXNzYWdlKG1lc3NhZ2U6IHN0cmluZyk6IHZvaWQge1xuICAgIGNvbnNvbGUuZXJyb3IoYCR7UWRDb2x1bW5CcmVha0JlZm9yZURpcmVjdGl2ZS5uYW1lfSB8ICR7bWVzc2FnZX1gKTtcbiAgfVxufVxuIl19
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { QdColumnDirective } from './column.directive'; // import from module caused error in component tests
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* **qdColumnDisableResponsiveColspans** disables the automatic colspan adjustment of this `qdColumn` element for
|
|
6
|
-
* tablet and mobile breakpoints. The configured colspans will be kept until the mobile breakpoint. However, in the
|
|
7
|
-
* mobile view all elements will be arranged one below the other to get a bigger touch area for each element.
|
|
8
|
-
*
|
|
9
|
-
* To disable the responsive colspans for all `qdColumn` elements inside a grid, enable the `disableResponsiveColspans`
|
|
10
|
-
* config setting on the `qd-grid` element.
|
|
11
|
-
*
|
|
12
|
-
* * @see directive **qdColumn**
|
|
13
|
-
*
|
|
14
|
-
* **Usage:**
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* <qd-grid [config]="{ columns: 6 }">
|
|
18
|
-
* <div qdColumn="2"></div>
|
|
19
|
-
* <div qdColumn="3"></div>
|
|
20
|
-
* <div qdColumn="3"></div>
|
|
21
|
-
* <div qdColumn="2" qdColumnDisableResponsiveColspans></div><!-- colspan 2 is kept until mobile view (excluded) -->
|
|
22
|
-
* </qd-grid>
|
|
23
|
-
*/
|
|
24
|
-
export class QdColumnDisableResponsiveColspansDirective {
|
|
25
|
-
_renderer;
|
|
26
|
-
_elementRef;
|
|
27
|
-
get element() {
|
|
28
|
-
return this._elementRef.nativeElement;
|
|
29
|
-
}
|
|
30
|
-
static className = 'qd-column-disable-responsive-colspans';
|
|
31
|
-
constructor(_renderer, _elementRef) {
|
|
32
|
-
this._renderer = _renderer;
|
|
33
|
-
this._elementRef = _elementRef;
|
|
34
|
-
}
|
|
35
|
-
ngOnInit() {
|
|
36
|
-
this._renderer.addClass(this._elementRef.nativeElement, QdColumnDisableResponsiveColspansDirective.className);
|
|
37
|
-
}
|
|
38
|
-
ngAfterViewInit() {
|
|
39
|
-
// ngAfterViewInit hook and timeout here to wait for the classes to be set by the directives
|
|
40
|
-
setTimeout(() => this.logErrorIfColumnDirectiveNotPresent(), 10);
|
|
41
|
-
}
|
|
42
|
-
logErrorIfColumnDirectiveNotPresent() {
|
|
43
|
-
const colspan = QdColumnDirective.getQdColumnColspan(this.element);
|
|
44
|
-
if (!colspan) {
|
|
45
|
-
this.logErrorMessage('The qdColumnDisableResponsiveColspans directive can only be set for a qdColumn element.');
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
logErrorMessage(message) {
|
|
49
|
-
console.error(`${QdColumnDisableResponsiveColspansDirective.name} | ${message}`);
|
|
50
|
-
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdColumnDisableResponsiveColspansDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
52
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.9", type: QdColumnDisableResponsiveColspansDirective, selector: "[qdColumnDisableResponsiveColspans]", ngImport: i0 });
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdColumnDisableResponsiveColspansDirective, decorators: [{
|
|
55
|
-
type: Directive,
|
|
56
|
-
args: [{
|
|
57
|
-
selector: '[qdColumnDisableResponsiveColspans]'
|
|
58
|
-
}]
|
|
59
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWRpc2FibGUtcmVzcG9uc2l2ZS1jb2xzcGFucy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvZ3JpZC9kaXJlY3RpdmVzL2NvbHVtbi1kaXNhYmxlLXJlc3BvbnNpdmUtY29sc3BhbnMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBaUIsU0FBUyxFQUFFLFVBQVUsRUFBVSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDeEYsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sb0JBQW9CLENBQUMsQ0FBQyxxREFBcUQ7O0FBRTdHOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBbUJHO0FBSUgsTUFBTSxPQUFPLDBDQUEwQztJQU94QjtJQUF1QztJQU5wRSxJQUFJLE9BQU87UUFDVCxPQUFPLElBQUksQ0FBQyxXQUFXLENBQUMsYUFBYSxDQUFDO0lBQ3hDLENBQUM7SUFFRCxNQUFNLENBQUMsU0FBUyxHQUFHLHVDQUF1QyxDQUFDO0lBRTNELFlBQTZCLFNBQW9CLEVBQW1CLFdBQW9DO1FBQTNFLGNBQVMsR0FBVCxTQUFTLENBQVc7UUFBbUIsZ0JBQVcsR0FBWCxXQUFXLENBQXlCO0lBQUcsQ0FBQztJQUU1RyxRQUFRO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