@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,185 +0,0 @@
|
|
|
1
|
-
import { Component, ElementRef, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { v4 as uuid } from 'uuid';
|
|
3
|
-
import { QdFilterService } from '../filter/filter-service/filter.service';
|
|
4
|
-
import { QdSearchService } from '../search/services/search.service';
|
|
5
|
-
import { QdSectionToolbarActionService } from './services/section-toolbar-action.service';
|
|
6
|
-
import { QdToolbarComponentsService } from './services/toolbar-components.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../search/services/search.service";
|
|
9
|
-
import * as i2 from "./services/section-toolbar-action.service";
|
|
10
|
-
import * as i3 from "../filter/filter-service/filter.service";
|
|
11
|
-
import * as i4 from "@angular/common";
|
|
12
|
-
import * as i5 from "./toolbar/section-toolbar.component";
|
|
13
|
-
/**
|
|
14
|
-
* **QdSectionComponent** is a flexible container pattern for organizing UI elements like tables or forms.
|
|
15
|
-
* It is a part of the **Quadrel Layout System (QLS)** and supports responsive design and includes built-in features for actions, search, and filtering.
|
|
16
|
-
*
|
|
17
|
-
* #### **Features**
|
|
18
|
-
*
|
|
19
|
-
* - **Customizable**: Fully configurable with the `QdSectionConfig` API.
|
|
20
|
-
* - **Toolbar Integration**: Add actions, search, and filters directly to the toolbar.
|
|
21
|
-
* - **Action Management**: Use predefined or custom actions for user interactions.
|
|
22
|
-
* - **Search and Filter**: Improve data presentation with integrated search and filtering.
|
|
23
|
-
*
|
|
24
|
-
* #### **Interactions**
|
|
25
|
-
*
|
|
26
|
-
* - **Actions**: Define actions with custom labels, icons, and handlers.
|
|
27
|
-
* - **Search**: Add a field to search queries and results.
|
|
28
|
-
* - **Filter**: Use filters to refine the section’s displayed data.
|
|
29
|
-
*
|
|
30
|
-
* #### **Toolbar for Interaction**
|
|
31
|
-
*
|
|
32
|
-
* The **QdSection** supports toolbar tools that interact directly with its content.
|
|
33
|
-
*
|
|
34
|
-
* - Tools like **QdFilter** and **QdSearch** can filter or search a **QdTable** dynamically.
|
|
35
|
-
* - Use directives such as ConnectToFilter, ConnectToSearch, ConnectToContext on the target component to enable this interaction.
|
|
36
|
-
* - These connections ensure smooth communication between the toolbar and the section content.
|
|
37
|
-
* - And much more...
|
|
38
|
-
*
|
|
39
|
-
* #### **Content Usage Rules**
|
|
40
|
-
*
|
|
41
|
-
* Each **QdSection** should contain **only one type of content**.
|
|
42
|
-
* For instance:
|
|
43
|
-
* - Use a **QdTable** or **QdForm** components within a **QdSection**, but not both at the same time.
|
|
44
|
-
* - For multiple content types, create separate instances of **QdSectionComponent**.
|
|
45
|
-
*
|
|
46
|
-
* This ensures clean design and separation of concerns in your UI.
|
|
47
|
-
*
|
|
48
|
-
* #### **Usage**
|
|
49
|
-
*
|
|
50
|
-
* ```typescript
|
|
51
|
-
* @Component({
|
|
52
|
-
* selector: 'app-my-section',
|
|
53
|
-
* template: `
|
|
54
|
-
* <qd-section [config]="sectionConfig">
|
|
55
|
-
* <!-- Your content here -->
|
|
56
|
-
* </qd-section>
|
|
57
|
-
* `
|
|
58
|
-
* })
|
|
59
|
-
* export class MySectionComponent {
|
|
60
|
-
* sectionConfig: QdSectionConfig = {
|
|
61
|
-
* // Configuration options here
|
|
62
|
-
* };
|
|
63
|
-
* }
|
|
64
|
-
* ```
|
|
65
|
-
*/
|
|
66
|
-
export class QdSectionComponent {
|
|
67
|
-
searchService;
|
|
68
|
-
actionService;
|
|
69
|
-
filterService;
|
|
70
|
-
elementRef;
|
|
71
|
-
/**
|
|
72
|
-
* The configuration of the section.
|
|
73
|
-
*/
|
|
74
|
-
config = {};
|
|
75
|
-
/**
|
|
76
|
-
* Emits an event when the search functionality integrated in the toolbar has been triggered. <br />
|
|
77
|
-
* Return value is the query string of the search.
|
|
78
|
-
*/
|
|
79
|
-
searchQueryStringOutput = new EventEmitter();
|
|
80
|
-
/**
|
|
81
|
-
* Emits an event when the search functionality integrated in the toolbar has been triggered. <br />
|
|
82
|
-
* Return value is the result object of the search.
|
|
83
|
-
*/
|
|
84
|
-
searchPostBodyOutput = new EventEmitter();
|
|
85
|
-
/**
|
|
86
|
-
* @description Sends an event when the toolbar action button is clicked or tapped.
|
|
87
|
-
*
|
|
88
|
-
* The event includes the action type or `null` if no specific action type is defined.
|
|
89
|
-
*/
|
|
90
|
-
actionOutput = new EventEmitter();
|
|
91
|
-
/**
|
|
92
|
-
* Emits event on click/tap of the filter/reset button of the filter or on deletion of an active item. <br />
|
|
93
|
-
* Return value is the query string of the filter. The filter is integrated in the toolbar.
|
|
94
|
-
*/
|
|
95
|
-
filterQueryStringOutput = new EventEmitter();
|
|
96
|
-
/**
|
|
97
|
-
* Emits event on click/tap of the filter/reset button of the filter or on deletion of an active item. <br />
|
|
98
|
-
* Return value is the result object of the filter. The filter is integrated in the toolbar.
|
|
99
|
-
*/
|
|
100
|
-
filterPostBodyOutput = new EventEmitter();
|
|
101
|
-
/**
|
|
102
|
-
* Emits event when the values of the filter change. Return value matches the current object of the filter.
|
|
103
|
-
*/
|
|
104
|
-
filterValueChangeOutput = new EventEmitter();
|
|
105
|
-
noHorizontalPaddingMobile = false;
|
|
106
|
-
_outputSubscriptions = [];
|
|
107
|
-
constructor(searchService, actionService, filterService, elementRef) {
|
|
108
|
-
this.searchService = searchService;
|
|
109
|
-
this.actionService = actionService;
|
|
110
|
-
this.filterService = filterService;
|
|
111
|
-
this.elementRef = elementRef;
|
|
112
|
-
}
|
|
113
|
-
ngOnInit() {
|
|
114
|
-
this.subscribeForOutputs();
|
|
115
|
-
}
|
|
116
|
-
ngAfterViewInit() {
|
|
117
|
-
this.noHorizontalPaddingMobile = !!this.elementRef.nativeElement.querySelector('[data-qd-no-horizontal-padding-small]');
|
|
118
|
-
}
|
|
119
|
-
ngOnChanges(changes) {
|
|
120
|
-
if (changes['config'] && !changes['config'].firstChange) {
|
|
121
|
-
this.unsubscribeOutputSubscriptions();
|
|
122
|
-
this.subscribeForOutputs();
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
ngOnDestroy() {
|
|
126
|
-
this.unsubscribeOutputSubscriptions();
|
|
127
|
-
}
|
|
128
|
-
subscribeForOutputs() {
|
|
129
|
-
this.subscribeForSearchOutputs();
|
|
130
|
-
this.subscribeForActionOutput();
|
|
131
|
-
this.subscribeForFilterOutputs();
|
|
132
|
-
}
|
|
133
|
-
subscribeForSearchOutputs() {
|
|
134
|
-
if (!this.config.search)
|
|
135
|
-
return;
|
|
136
|
-
this._outputSubscriptions.push(this.searchService.searchQueryString$.subscribe(queryString => this.searchQueryStringOutput.emit(queryString)));
|
|
137
|
-
this._outputSubscriptions.push(this.searchService.searchPostBody$.subscribe(postBody => this.searchPostBodyOutput.emit(postBody)));
|
|
138
|
-
}
|
|
139
|
-
subscribeForActionOutput() {
|
|
140
|
-
this._outputSubscriptions.push(this.actionService.action$.subscribe((type) => this.actionOutput.emit(type || null)));
|
|
141
|
-
}
|
|
142
|
-
subscribeForFilterOutputs() {
|
|
143
|
-
if (!this.config.filter)
|
|
144
|
-
return;
|
|
145
|
-
if (!this.config.filter.uid)
|
|
146
|
-
this.config.filter.uid = uuid();
|
|
147
|
-
this._outputSubscriptions.push(this.filterService
|
|
148
|
-
.getQueryString$(this.config.filter.uid)
|
|
149
|
-
.subscribe(queryString => this.filterQueryStringOutput.emit(queryString)));
|
|
150
|
-
this._outputSubscriptions.push(this.filterService
|
|
151
|
-
.getPostBody$(this.config.filter.uid)
|
|
152
|
-
.subscribe(postBody => this.filterPostBodyOutput.emit(postBody)));
|
|
153
|
-
this._outputSubscriptions.push(this.filterService
|
|
154
|
-
.getCurrentPostBody(this.config.filter.uid)
|
|
155
|
-
.subscribe(filterValue => this.filterValueChangeOutput.emit(filterValue)));
|
|
156
|
-
}
|
|
157
|
-
unsubscribeOutputSubscriptions() {
|
|
158
|
-
this._outputSubscriptions.forEach(subscription => subscription.unsubscribe());
|
|
159
|
-
this._outputSubscriptions = [];
|
|
160
|
-
}
|
|
161
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionComponent, deps: [{ token: i1.QdSearchService }, { token: i2.QdSectionToolbarActionService }, { token: i3.QdFilterService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
162
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdSectionComponent, selector: "qd-section", inputs: { config: "config" }, outputs: { searchQueryStringOutput: "searchQueryStringOutput", searchPostBodyOutput: "searchPostBodyOutput", actionOutput: "actionOutput", filterQueryStringOutput: "filterQueryStringOutput", filterPostBodyOutput: "filterPostBodyOutput", filterValueChangeOutput: "filterValueChangeOutput" }, host: { properties: { "class.no-horizontal-padding-mobile": "noHorizontalPaddingMobile" }, classAttribute: "qd-section" }, providers: [QdSectionToolbarActionService, QdSearchService, QdToolbarComponentsService], usesOnChanges: true, ngImport: i0, template: "<section>\n <qd-section-toolbar [className]=\"'qd-section__toolbar'\" [config]=\"config\"></qd-section-toolbar>\n\n <div *ngIf=\"!config.collapse?.isContentHidden\" class=\"qd-section__content\"><ng-content></ng-content></div>\n</section>\n", styles: ["qd-section{display:block;padding:.9375rem 1.25rem 3.125rem;background-color:#efefef}@media (max-width: 599.98px){qd-section{padding:.9375rem .9375rem 3.125rem}qd-section.no-horizontal-padding-mobile{padding:.9375rem 0 3.125rem}qd-section.no-horizontal-padding-mobile qd-section-toolbar{margin:0 .9375rem .3125rem}}.qd-section{display:block}.qd-section:has(+.qd-section){border-bottom:rgb(213,213,213) solid .0625rem}@media (max-width: 959.98px){.qd-section{padding:.75rem}}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.QdSectionToolbarComponent, selector: "qd-section-toolbar", inputs: ["config"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
163
|
-
}
|
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionComponent, decorators: [{
|
|
165
|
-
type: Component,
|
|
166
|
-
args: [{ selector: 'qd-section', providers: [QdSectionToolbarActionService, QdSearchService, QdToolbarComponentsService], host: {
|
|
167
|
-
class: 'qd-section',
|
|
168
|
-
'[class.no-horizontal-padding-mobile]': 'noHorizontalPaddingMobile'
|
|
169
|
-
}, encapsulation: ViewEncapsulation.None, template: "<section>\n <qd-section-toolbar [className]=\"'qd-section__toolbar'\" [config]=\"config\"></qd-section-toolbar>\n\n <div *ngIf=\"!config.collapse?.isContentHidden\" class=\"qd-section__content\"><ng-content></ng-content></div>\n</section>\n", styles: ["qd-section{display:block;padding:.9375rem 1.25rem 3.125rem;background-color:#efefef}@media (max-width: 599.98px){qd-section{padding:.9375rem .9375rem 3.125rem}qd-section.no-horizontal-padding-mobile{padding:.9375rem 0 3.125rem}qd-section.no-horizontal-padding-mobile qd-section-toolbar{margin:0 .9375rem .3125rem}}.qd-section{display:block}.qd-section:has(+.qd-section){border-bottom:rgb(213,213,213) solid .0625rem}@media (max-width: 959.98px){.qd-section{padding:.75rem}}\n"] }]
|
|
170
|
-
}], ctorParameters: () => [{ type: i1.QdSearchService }, { type: i2.QdSectionToolbarActionService }, { type: i3.QdFilterService }, { type: i0.ElementRef }], propDecorators: { config: [{
|
|
171
|
-
type: Input
|
|
172
|
-
}], searchQueryStringOutput: [{
|
|
173
|
-
type: Output
|
|
174
|
-
}], searchPostBodyOutput: [{
|
|
175
|
-
type: Output
|
|
176
|
-
}], actionOutput: [{
|
|
177
|
-
type: Output
|
|
178
|
-
}], filterQueryStringOutput: [{
|
|
179
|
-
type: Output
|
|
180
|
-
}], filterPostBodyOutput: [{
|
|
181
|
-
type: Output
|
|
182
|
-
}], filterValueChangeOutput: [{
|
|
183
|
-
type: Output
|
|
184
|
-
}] } });
|
|
185
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvc2VjdGlvbi9zZWN0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zZWN0aW9uL3NlY3Rpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFDVCxVQUFVLEVBQ1YsWUFBWSxFQUNaLEtBQUssRUFJTCxNQUFNLEVBRU4saUJBQWlCLEVBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxFQUFFLElBQUksSUFBSSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBRWxDLE9BQU8sRUF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YXBzZT8uaXNDb250ZW50SGlkZGVuXCIgY2xhc3M9XCJxZC1zZWN0aW9uX19jb250ZW50XCI+PG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PjwvZGl2PlxuPC9zZWN0aW9uPlxuIl19
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
4
|
-
import { QdButtonModule } from '../button/button.module';
|
|
5
|
-
import { QdFilterModule } from '../filter/filter.module';
|
|
6
|
-
import { QdIconModule } from '../icon/icon.module';
|
|
7
|
-
import { QdSearchModule } from '../search/search.module';
|
|
8
|
-
import { QdConnectorTableContextDirective } from './connectors/table/connector-table-context.directive';
|
|
9
|
-
import { QdConnectorTableFilterDirective } from './connectors/table/connector-table-filter.directive';
|
|
10
|
-
import { QdConnectorTableSearchDirective } from './connectors/table/connector-table-search.directive';
|
|
11
|
-
import { QdSectionAdapterDirective } from './adaptors/section-adapter.directive';
|
|
12
|
-
import { QdSectionComponent } from './section.component';
|
|
13
|
-
import { QdSectionToolbarActionComponent } from './toolbar/action/section-toolbar-action.component';
|
|
14
|
-
import { QdSectionToolbarComponent } from './toolbar/section-toolbar.component';
|
|
15
|
-
import { QdLayoutModule } from '../layout/layout.module';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
export { QdConnectorTableContextDirective, QdConnectorTableFilterDirective, QdConnectorTableSearchDirective, QdSectionAdapterDirective, QdSectionComponent, QdSectionToolbarComponent };
|
|
18
|
-
export class QdSectionModule {
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: QdSectionModule, declarations: [QdSectionComponent,
|
|
21
|
-
QdSectionToolbarComponent,
|
|
22
|
-
QdSectionToolbarActionComponent,
|
|
23
|
-
QdConnectorTableFilterDirective,
|
|
24
|
-
QdConnectorTableSearchDirective,
|
|
25
|
-
QdConnectorTableContextDirective,
|
|
26
|
-
QdSectionAdapterDirective], imports: [CommonModule,
|
|
27
|
-
TranslateModule,
|
|
28
|
-
QdButtonModule,
|
|
29
|
-
QdIconModule,
|
|
30
|
-
QdFilterModule,
|
|
31
|
-
QdSearchModule,
|
|
32
|
-
QdLayoutModule], exports: [QdSectionComponent,
|
|
33
|
-
QdConnectorTableFilterDirective,
|
|
34
|
-
QdConnectorTableSearchDirective,
|
|
35
|
-
QdConnectorTableContextDirective,
|
|
36
|
-
QdSectionAdapterDirective,
|
|
37
|
-
QdSectionToolbarComponent] });
|
|
38
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionModule, imports: [CommonModule,
|
|
39
|
-
TranslateModule,
|
|
40
|
-
QdButtonModule,
|
|
41
|
-
QdIconModule,
|
|
42
|
-
QdFilterModule,
|
|
43
|
-
QdSearchModule,
|
|
44
|
-
QdLayoutModule] });
|
|
45
|
-
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionModule, decorators: [{
|
|
47
|
-
type: NgModule,
|
|
48
|
-
args: [{
|
|
49
|
-
imports: [
|
|
50
|
-
CommonModule,
|
|
51
|
-
TranslateModule,
|
|
52
|
-
QdButtonModule,
|
|
53
|
-
QdIconModule,
|
|
54
|
-
QdFilterModule,
|
|
55
|
-
QdSearchModule,
|
|
56
|
-
QdLayoutModule
|
|
57
|
-
],
|
|
58
|
-
declarations: [
|
|
59
|
-
QdSectionComponent,
|
|
60
|
-
QdSectionToolbarComponent,
|
|
61
|
-
QdSectionToolbarActionComponent,
|
|
62
|
-
QdConnectorTableFilterDirective,
|
|
63
|
-
QdConnectorTableSearchDirective,
|
|
64
|
-
QdConnectorTableContextDirective,
|
|
65
|
-
QdSectionAdapterDirective
|
|
66
|
-
],
|
|
67
|
-
exports: [
|
|
68
|
-
QdSectionComponent,
|
|
69
|
-
QdConnectorTableFilterDirective,
|
|
70
|
-
QdConnectorTableSearchDirective,
|
|
71
|
-
QdConnectorTableContextDirective,
|
|
72
|
-
QdSectionAdapterDirective,
|
|
73
|
-
QdSectionToolbarComponent
|
|
74
|
-
]
|
|
75
|
-
}]
|
|
76
|
-
}] });
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvc2VjdGlvbi9zZWN0aW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFFdEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3pELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDbkQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBRXpELE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLHNEQUFzRCxDQUFDO0FBQ3hHLE9BQU8sRUFBRSwrQkFBK0IsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBQ3RHLE9BQU8sRUFBRSwrQkFBK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uTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class QdSectionToolbarActionService {
|
|
5
|
-
_actionSubject$ = new Subject();
|
|
6
|
-
get action$() {
|
|
7
|
-
return this._actionSubject$.asObservable();
|
|
8
|
-
}
|
|
9
|
-
emitAction(type) {
|
|
10
|
-
this._actionSubject$.next(type || null);
|
|
11
|
-
}
|
|
12
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionToolbarActionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionToolbarActionService });
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionToolbarActionService, decorators: [{
|
|
16
|
-
type: Injectable
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi10b29sYmFyLWFjdGlvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL3NlY3Rpb24vc2VydmljZXMvc2VjdGlvbi10b29sYmFyLWFjdGlvbi5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFjLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQzs7QUFJM0MsTUFBTSxPQUFPLDZCQUE2QjtJQUNoQy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|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class QdToolbarComponentsService {
|
|
4
|
-
_components = [];
|
|
5
|
-
setComponent(component) {
|
|
6
|
-
this._components.push(component);
|
|
7
|
-
}
|
|
8
|
-
getComponent(_class) {
|
|
9
|
-
return this._components.find(component => component instanceof _class);
|
|
10
|
-
}
|
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdToolbarComponentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdToolbarComponentsService });
|
|
13
|
-
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdToolbarComponentsService, decorators: [{
|
|
15
|
-
type: Injectable
|
|
16
|
-
}] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1jb21wb25lbnRzLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvc2VjdGlvbi9zZXJ2aWNlcy90b29sYmFyLWNvbXBvbmVudHMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUkzQyxNQUFNLE9BQU8sMEJBQTBCO0lBQzdCLFdBQVcsR0FBeUIsRUFBRSxDQUFDO0lBRS9DLFlBQVksQ0FBQyxTQUE2QjtRQUN4QyxJQUFJLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUNuQyxDQUFDO0lBRUQsWUFBWSxDQUFDLE1BQWtEO1FBQzdELE9BQU8sSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxTQUFTLFlBQVksTUFBTSxDQUFDLENBQUM7SUFDekUsQ0FBQzt1R0FUVSwwQkFBMEI7MkdBQTFCLDBCQUEwQjs7MkZBQTFCLDBCQUEwQjtrQkFEdEMsVUFBVSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFFkVG9vbGJhckNvbXBvbmVudCB9IGZyb20gJy4uL21vZGVsL3Rvb2xiYXItY29tcG9uZW50cy5pbnRlcmZhY2UnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgUWRUb29sYmFyQ29tcG9uZW50c1NlcnZpY2Uge1xuICBwcml2YXRlIF9jb21wb25lbnRzOiBRZFRvb2xiYXJDb21wb25lbnRbXSA9IFtdO1xuXG4gIHNldENvbXBvbmVudChjb21wb25lbnQ6IFFkVG9vbGJhckNvbXBvbmVudCk6IHZvaWQge1xuICAgIHRoaXMuX2NvbXBvbmVudHMucHVzaChjb21wb25lbnQpO1xuICB9XG5cbiAgZ2V0Q29tcG9uZW50KF9jbGFzczogbmV3ICguLi5hcmdzOiBhbnlbXSkgPT4gUWRUb29sYmFyQ29tcG9uZW50KTogUWRUb29sYmFyQ29tcG9uZW50IHwgdW5kZWZpbmVkIHtcbiAgICByZXR1cm4gdGhpcy5fY29tcG9uZW50cy5maW5kKGNvbXBvbmVudCA9PiBjb21wb25lbnQgaW5zdGFuY2VvZiBfY2xhc3MpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, Optional } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, combineLatest, Subject } from 'rxjs';
|
|
3
|
-
import { map, takeUntil } from 'rxjs/operators';
|
|
4
|
-
import { QdEventBrokerService } from '../../../core/services/event-broker.service';
|
|
5
|
-
import { QdSectionToolbarActionService } from '../../services/section-toolbar-action.service';
|
|
6
|
-
import { QdBreakpointService } from '../../../core/services/breakpoint.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../services/section-toolbar-action.service";
|
|
9
|
-
import * as i2 from "../../../core/services/breakpoint.service";
|
|
10
|
-
import * as i3 from "../../../core/services/event-broker.service";
|
|
11
|
-
import * as i4 from "@angular/common";
|
|
12
|
-
import * as i5 from "../../../button/button/button.component";
|
|
13
|
-
import * as i6 from "../../../button/directives/button.directives";
|
|
14
|
-
import * as i7 from "../../../button/menu-button/menu-button.component";
|
|
15
|
-
import * as i8 from "@ngx-translate/core";
|
|
16
|
-
export class QdSectionToolbarActionComponent {
|
|
17
|
-
actionService;
|
|
18
|
-
changeDetectorRef;
|
|
19
|
-
breakpointService;
|
|
20
|
-
eventBroker;
|
|
21
|
-
set config(config) {
|
|
22
|
-
this._config = config;
|
|
23
|
-
this.validateConfig();
|
|
24
|
-
this.initActionStreams();
|
|
25
|
-
}
|
|
26
|
-
singleAction$;
|
|
27
|
-
multipleActions$;
|
|
28
|
-
_config = {};
|
|
29
|
-
_viewonly$ = new BehaviorSubject(false);
|
|
30
|
-
_destroy$ = new Subject();
|
|
31
|
-
constructor(actionService, changeDetectorRef, breakpointService, eventBroker) {
|
|
32
|
-
this.actionService = actionService;
|
|
33
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
34
|
-
this.breakpointService = breakpointService;
|
|
35
|
-
this.eventBroker = eventBroker;
|
|
36
|
-
}
|
|
37
|
-
ngOnInit() {
|
|
38
|
-
this.initViewMode();
|
|
39
|
-
// TODO: Remove in v19
|
|
40
|
-
if (this._config.action) {
|
|
41
|
-
this.singleAction$ = new BehaviorSubject(this.mapLegacyAction(this._config.action));
|
|
42
|
-
this.multipleActions$ = new BehaviorSubject(null);
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
this.initActionStreams();
|
|
46
|
-
}
|
|
47
|
-
ngOnDestroy() {
|
|
48
|
-
this._destroy$.next();
|
|
49
|
-
this._destroy$.complete();
|
|
50
|
-
}
|
|
51
|
-
initViewMode() {
|
|
52
|
-
this.eventBroker
|
|
53
|
-
?.consume('operation_mode_changed')
|
|
54
|
-
.pipe(takeUntil(this._destroy$))
|
|
55
|
-
.subscribe(({ payload }) => {
|
|
56
|
-
this._viewonly$.next(payload.isViewonly);
|
|
57
|
-
this.changeDetectorRef.detectChanges();
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
initActionStreams() {
|
|
61
|
-
const visibleActions$ = this.createVisibleActionsStream();
|
|
62
|
-
this.singleAction$ = this.createSingleActionStream(visibleActions$);
|
|
63
|
-
this.multipleActions$ = this.createMultipleActionsStream(visibleActions$);
|
|
64
|
-
}
|
|
65
|
-
createVisibleActionsStream() {
|
|
66
|
-
const actions$ = new BehaviorSubject(this._config.actions ?? []);
|
|
67
|
-
const mode$ = this._viewonly$.asObservable();
|
|
68
|
-
return combineLatest([actions$, mode$]).pipe(map(([actions, isViewonly]) => {
|
|
69
|
-
const currentMode = isViewonly ? 'view' : 'edit';
|
|
70
|
-
return actions.filter(action => (!action.operationMode || action.operationMode === currentMode) && !action.isHidden);
|
|
71
|
-
}));
|
|
72
|
-
}
|
|
73
|
-
createSingleActionStream(visibleActions$) {
|
|
74
|
-
return combineLatest([visibleActions$, this.breakpointService.isViewportBelow('md')]).pipe(map(([actions, isVpBelowMd]) => {
|
|
75
|
-
if (isVpBelowMd) {
|
|
76
|
-
const addNew = actions.find(action => action.type === 'addNew');
|
|
77
|
-
if (!addNew)
|
|
78
|
-
return null;
|
|
79
|
-
return {
|
|
80
|
-
label: this.getLabel(addNew, true),
|
|
81
|
-
handler: () => this.executeAction(addNew),
|
|
82
|
-
icon: 'plus',
|
|
83
|
-
isDisabled: this._config.areActionsDisabled ?? addNew.isDisabled ?? false,
|
|
84
|
-
isHidden: false
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
if (actions.length !== 1 || actions[0]?.isHidden)
|
|
88
|
-
return null;
|
|
89
|
-
const singleAction = actions[0];
|
|
90
|
-
const isAddNew = singleAction.type === 'addNew';
|
|
91
|
-
return {
|
|
92
|
-
label: this.getLabel(singleAction, isAddNew),
|
|
93
|
-
handler: () => this.executeAction(singleAction),
|
|
94
|
-
icon: singleAction.icon || (isAddNew ? 'plus' : undefined),
|
|
95
|
-
isDisabled: this._config.areActionsDisabled ?? singleAction.isDisabled ?? false,
|
|
96
|
-
isHidden: false
|
|
97
|
-
};
|
|
98
|
-
}));
|
|
99
|
-
}
|
|
100
|
-
createMultipleActionsStream(visibleActions$) {
|
|
101
|
-
return combineLatest([visibleActions$, this.breakpointService.isViewportBelow('md')]).pipe(map(([actions, isVpBelowMd]) => {
|
|
102
|
-
if (actions.length <= 1)
|
|
103
|
-
return null;
|
|
104
|
-
const filteredActions = isVpBelowMd ? actions.filter(action => action.type !== 'addNew') : actions;
|
|
105
|
-
return {
|
|
106
|
-
isDisabled: this._config.areActionsDisabled ?? false,
|
|
107
|
-
actions: filteredActions.map(action => {
|
|
108
|
-
const isAddNew = action.type === 'addNew';
|
|
109
|
-
return {
|
|
110
|
-
label: this.getLabel(action, isAddNew),
|
|
111
|
-
handler: () => this.executeAction(action),
|
|
112
|
-
isDisabled: action.isDisabled ?? false,
|
|
113
|
-
isHidden: false
|
|
114
|
-
};
|
|
115
|
-
})
|
|
116
|
-
};
|
|
117
|
-
}));
|
|
118
|
-
}
|
|
119
|
-
getLabel(action, isAddNew) {
|
|
120
|
-
return (action.label ?? { i18n: isAddNew ? 'i18n.qd.section.toolbar.addNew' : 'i18n.qd.section.toolbar.defaultAction' });
|
|
121
|
-
}
|
|
122
|
-
executeAction(action) {
|
|
123
|
-
action.handler?.();
|
|
124
|
-
this.actionService.emitAction(action.type);
|
|
125
|
-
}
|
|
126
|
-
validateConfig() {
|
|
127
|
-
if (this._config.action) {
|
|
128
|
-
console.warn('QD-UI | QdSectionComponent - The `action` key is deprecated and will be removed in v18. Use `actions` instead.');
|
|
129
|
-
}
|
|
130
|
-
if (this._config.action && this._config.actions) {
|
|
131
|
-
console.error('QD-UI | QdSectionComponent - Both `action` and `actions` are defined in the configuration. Please use only `actions`.');
|
|
132
|
-
}
|
|
133
|
-
if (this._config.actions && this._config.actions.filter(action => action.type === 'addNew').length > 1) {
|
|
134
|
-
console.error('QD-UI | QdSectionComponent - The action type `addNew` is used multiple times in `actions`. Please use `addNew` only once.');
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
// TODO: Remove in v19
|
|
138
|
-
mapLegacyAction(action) {
|
|
139
|
-
return {
|
|
140
|
-
label: { i18n: action.i18n || 'i18n.qd.section.toolbar.addNew' },
|
|
141
|
-
handler: () => this.actionService.emitAction(action.type || 'legacy'),
|
|
142
|
-
icon: action.type ? 'plus' : action.icon,
|
|
143
|
-
isDisabled: false,
|
|
144
|
-
isHidden: false
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionToolbarActionComponent, deps: [{ token: i1.QdSectionToolbarActionService }, { token: i0.ChangeDetectorRef }, { token: i2.QdBreakpointService }, { token: i3.QdEventBrokerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
148
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdSectionToolbarActionComponent, selector: "qd-section-toolbar-action", inputs: { config: "config" }, ngImport: i0, template: "<button\n *ngIf=\"singleAction$ | async as singleAction\"\n qdStopPropagation\n qdButton\n qdButtonGhost\n color=\"primary\"\n [icon]=\"singleAction.icon\"\n [disabled]=\"singleAction.isDisabled\"\n (click)=\"singleAction.handler()\"\n>\n {{ singleAction.label.i18n | translate }}\n</button>\n\n<button *ngIf=\"multipleActions$ | async as multipleActions\" qdButtonGhost [qdMenuButton]=\"multipleActions\">\n {{ \"i18n.qd.section.actions.menuButton.label\" | translate }}\n</button>\n", styles: [":host{margin-left:.75rem}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.QdButtonComponent, selector: "button[qdButton], a[qdButton], button[qd-button]", inputs: ["disabled", "color", "icon", "data-test-id", "additionalInfo"] }, { kind: "directive", type: i6.QdButtonGhostDirective, selector: "button[qdButtonGhost], a[qdButtonGhost]" }, { kind: "component", type: i7.QdMenuButtonComponent, selector: "button[qdMenuButton], a[qdMenuButton]", inputs: ["qdMenuButton", "data-test-id", "autoSize"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
149
|
-
}
|
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionToolbarActionComponent, decorators: [{
|
|
151
|
-
type: Component,
|
|
152
|
-
args: [{ selector: 'qd-section-toolbar-action', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n *ngIf=\"singleAction$ | async as singleAction\"\n qdStopPropagation\n qdButton\n qdButtonGhost\n color=\"primary\"\n [icon]=\"singleAction.icon\"\n [disabled]=\"singleAction.isDisabled\"\n (click)=\"singleAction.handler()\"\n>\n {{ singleAction.label.i18n | translate }}\n</button>\n\n<button *ngIf=\"multipleActions$ | async as multipleActions\" qdButtonGhost [qdMenuButton]=\"multipleActions\">\n {{ \"i18n.qd.section.actions.menuButton.label\" | translate }}\n</button>\n", styles: [":host{margin-left:.75rem}\n"] }]
|
|
153
|
-
}], ctorParameters: () => [{ type: i1.QdSectionToolbarActionService }, { type: i0.ChangeDetectorRef }, { type: i2.QdBreakpointService }, { type: i3.QdEventBrokerService, decorators: [{
|
|
154
|
-
type: Optional
|
|
155
|
-
}] }], propDecorators: { config: [{
|
|
156
|
-
type: Input
|
|
157
|
-
}] } });
|
|
158
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi10b29sYmFyLWFjdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvc2VjdGlvbi90b29sYmFyL2FjdGlvbi9zZWN0aW9uLXRvb2xiYXItYWN0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zZWN0aW9uL3Rvb2xiYXIvYWN0aW9uL3NlY3Rpb24tdG9vbGJhci1hY3Rpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUNULEtBQUssRUFHTCxRQUFRLEVBQ1QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGVBQWUsRUFBRSxhQUFhLEVBQWMsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzNFLE9BQU8sRUFBRSxHQUFHLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFXaEQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDbkYsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sK0NBQStDLENBQUM7QUFDOUYsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7Ozs7Ozs7Ozs7QUFRaEYsTUFBTSxPQUFPLCtCQUErQjtJQWV2QjtJQUNBO0lBQ0E7SUFDWTtJQWpCL0IsSUFBYSxNQUFNLENBQUMs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bC5pMThuIHwgdHJhbnNsYXRlIH19XG48L2J1dHRvbj5cblxuPGJ1dHRvbiAqbmdJZj1cIm11bHRpcGxlQWN0aW9ucyQgfCBhc3luYyBhcyBtdWx0aXBsZUFjdGlvbnNcIiBxZEJ1dHRvbkdob3N0IFtxZE1lbnVCdXR0b25dPVwibXVsdGlwbGVBY3Rpb25zXCI+XG4gIHt7IFwiaTE4bi5xZC5zZWN0aW9uLmFjdGlvbnMubWVudUJ1dHRvbi5sYWJlbFwiIHwgdHJhbnNsYXRlIH19XG48L2J1dHRvbj5cbiJdfQ==
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, QueryList, ViewChildren } from '@angular/core';
|
|
2
|
-
import { QdToolbarComponentsService } from '../services/toolbar-components.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../services/toolbar-components.service";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "../../icon/icon/icon.component";
|
|
7
|
-
import * as i4 from "../../filter/filter.component";
|
|
8
|
-
import * as i5 from "../../search/search.component";
|
|
9
|
-
import * as i6 from "../../layout/directives/viewport-adaptive.directive";
|
|
10
|
-
import * as i7 from "./action/section-toolbar-action.component";
|
|
11
|
-
import * as i8 from "@ngx-translate/core";
|
|
12
|
-
export class QdSectionToolbarComponent {
|
|
13
|
-
toolbarComponentsService;
|
|
14
|
-
changeDetectorRef;
|
|
15
|
-
config;
|
|
16
|
-
toolbarComponents;
|
|
17
|
-
get searchConfigData() {
|
|
18
|
-
if (this.config.search === false)
|
|
19
|
-
return;
|
|
20
|
-
return this.config.search;
|
|
21
|
-
}
|
|
22
|
-
get filterData() {
|
|
23
|
-
return this.config.filter;
|
|
24
|
-
}
|
|
25
|
-
get collapseConfig() {
|
|
26
|
-
return this.config.collapse;
|
|
27
|
-
}
|
|
28
|
-
get isCollapsed() {
|
|
29
|
-
return this.collapseConfig?.isContentHidden ?? false;
|
|
30
|
-
}
|
|
31
|
-
set isCollapsed(value) {
|
|
32
|
-
if (this.collapseConfig?.isEnabled)
|
|
33
|
-
this.collapseConfig.isContentHidden = value;
|
|
34
|
-
}
|
|
35
|
-
constructor(toolbarComponentsService, changeDetectorRef) {
|
|
36
|
-
this.toolbarComponentsService = toolbarComponentsService;
|
|
37
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
38
|
-
}
|
|
39
|
-
ngAfterViewInit() {
|
|
40
|
-
this.toolbarComponents.forEach(component => this.toolbarComponentsService.setComponent(component));
|
|
41
|
-
}
|
|
42
|
-
toggleCollapse() {
|
|
43
|
-
if (!this.collapseConfig?.isEnabled)
|
|
44
|
-
return;
|
|
45
|
-
this.isCollapsed = !this.isCollapsed;
|
|
46
|
-
}
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionToolbarComponent, deps: [{ token: i1.QdToolbarComponentsService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdSectionToolbarComponent, selector: "qd-section-toolbar", inputs: { config: "config" }, viewQueries: [{ propertyName: "toolbarComponents", predicate: ["filter, search"], descendants: true }], ngImport: i0, template: "<div [ngClass]=\"{ toolbarHeader: true, collapsible: config.collapse?.isEnabled }\" (click)=\"toggleCollapse()\">\n <qd-icon class=\"collapseIcon\" *ngIf=\"config.collapse?.isEnabled\" [icon]=\"isCollapsed ? 'ctrlRight' : 'ctrlDown'\">\n </qd-icon>\n\n <span class=\"toolbarTitle\" *ngIf=\"config.title\">{{ config.title.i18n | translate }}</span>\n</div>\n\n<ng-container *ngIf=\"!isCollapsed\">\n <div class=\"toolbarRight\">\n <qd-search #search [configData]=\"searchConfigData\"></qd-search>\n <qd-section-toolbar-action qdViewportAdaptive class=\"toolbarAction\" [config]=\"config\"></qd-section-toolbar-action>\n </div>\n\n <qd-filter class=\"toolbarFilter\" #filter [filterData]=\"filterData\"></qd-filter>\n</ng-container>\n", styles: [":host{position:relative;display:flex;flex-wrap:wrap;margin-bottom:.625rem}:host .toolbarHeader{color:#333;font-size:1rem;font-weight:700;line-height:1.5rem;margin-bottom:.625rem}@media (max-width: 599.98px){:host .toolbarHeader{margin-bottom:.3125rem}}:host .collapsible{cursor:pointer}:host .collapsible .toolbarTitle{margin-left:1.5rem}:host .collapseIcon{position:absolute;top:-.09375rem;font-size:1.375rem;font-weight:500}:host .toolbarRight{display:inline-flex;margin-bottom:.625rem;margin-left:auto}@media (max-width: 959.98px){:host .toolbarRight{display:flex;width:100%;flex-basis:100%;margin-left:auto}:host .toolbarRight qd-search{min-width:0;flex-basis:0;flex-grow:1;flex-shrink:1}:host .toolbarRight qd-section-toolbar-action{flex-basis:auto;flex-grow:0;flex-shrink:0}}:host .toolbarAction{display:flex;align-items:center}@media (max-width: 959.98px){:host .toolbarAction{gap:.75rem}}:host .toolbarFilter{flex-basis:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.QdIconComponent, selector: "qd-icon", inputs: ["icon"] }, { kind: "component", type: i4.QdFilterComponent, selector: "qd-filter", inputs: ["filterData", "data-test-id"], outputs: ["queryStringOutput", "postBodyOutput", "valueChange"] }, { kind: "component", type: i5.QdSearchComponent, selector: "qd-search", inputs: ["configData"] }, { kind: "directive", type: i6.QdViewportAdaptiveDirective, selector: "[qdViewportAdaptive]" }, { kind: "component", type: i7.QdSectionToolbarActionComponent, selector: "qd-section-toolbar-action", inputs: ["config"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
|
-
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSectionToolbarComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{ selector: 'qd-section-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{ toolbarHeader: true, collapsible: config.collapse?.isEnabled }\" (click)=\"toggleCollapse()\">\n <qd-icon class=\"collapseIcon\" *ngIf=\"config.collapse?.isEnabled\" [icon]=\"isCollapsed ? 'ctrlRight' : 'ctrlDown'\">\n </qd-icon>\n\n <span class=\"toolbarTitle\" *ngIf=\"config.title\">{{ config.title.i18n | translate }}</span>\n</div>\n\n<ng-container *ngIf=\"!isCollapsed\">\n <div class=\"toolbarRight\">\n <qd-search #search [configData]=\"searchConfigData\"></qd-search>\n <qd-section-toolbar-action qdViewportAdaptive class=\"toolbarAction\" [config]=\"config\"></qd-section-toolbar-action>\n </div>\n\n <qd-filter class=\"toolbarFilter\" #filter [filterData]=\"filterData\"></qd-filter>\n</ng-container>\n", styles: [":host{position:relative;display:flex;flex-wrap:wrap;margin-bottom:.625rem}:host .toolbarHeader{color:#333;font-size:1rem;font-weight:700;line-height:1.5rem;margin-bottom:.625rem}@media (max-width: 599.98px){:host .toolbarHeader{margin-bottom:.3125rem}}:host .collapsible{cursor:pointer}:host .collapsible .toolbarTitle{margin-left:1.5rem}:host .collapseIcon{position:absolute;top:-.09375rem;font-size:1.375rem;font-weight:500}:host .toolbarRight{display:inline-flex;margin-bottom:.625rem;margin-left:auto}@media (max-width: 959.98px){:host .toolbarRight{display:flex;width:100%;flex-basis:100%;margin-left:auto}:host .toolbarRight qd-search{min-width:0;flex-basis:0;flex-grow:1;flex-shrink:1}:host .toolbarRight qd-section-toolbar-action{flex-basis:auto;flex-grow:0;flex-shrink:0}}:host .toolbarAction{display:flex;align-items:center}@media (max-width: 959.98px){:host .toolbarAction{gap:.75rem}}:host .toolbarFilter{flex-basis:100%}\n"] }]
|
|
53
|
-
}], ctorParameters: () => [{ type: i1.QdToolbarComponentsService }, { type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], toolbarComponents: [{
|
|
56
|
-
type: ViewChildren,
|
|
57
|
-
args: ['filter, search']
|
|
58
|
-
}] } });
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi10b29sYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zZWN0aW9uL3Rvb2xiYXIvc2VjdGlvbi10b29sYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zZWN0aW9uL3Rvb2xiYXIvc2VjdGlvbi10b29sYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxLQUFLLEVBQ0wsU0FBUyxFQUNULFlBQVksRUFDYixNQUFNLGVBQWUsQ0FBQztBQU12QixPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQzs7Ozs7Ozs7OztBQVFwRixNQUFNLE9BQU8seUJBQXlCO0lBOEIxQjtJQUNBO0lBN0JWLE1BQU0sQ0FBbUI7SUFHekIsaUJBQWlCLENBQWlDO0lBRWxELElBQUksZ0JBQWdCO1FBQ2xCLElBQUssSUFBSSxDQUFDLE1BQU0sQ0FBQyxNQUFjLEtBQUssS0FBSztZQUFFLE9BQU87UUFFbEQsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQztJQUM1QixDQUFDO0lBRUQsSUFBSSxVQUFVO1FBQ1osT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFD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