@quadrel-enterprise-ui/framework 18.25.2 → 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 -3021
- 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 -1
- 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 -188
- 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,178 +0,0 @@
|
|
|
1
|
-
// @ts-strict-ignore
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { combineLatest, iif, of } from 'rxjs';
|
|
5
|
-
import { map, mergeMap, tap } from 'rxjs/operators';
|
|
6
|
-
import { QdShellEportalLanguageService } from './eportal-language.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@ngx-translate/core";
|
|
9
|
-
import * as i2 from "./eportal-language.service";
|
|
10
|
-
const DEFAULT_LANGUAGE_LIST = ['de', 'fr', 'it', 'en'];
|
|
11
|
-
export class QdShellHeaderWidgetService {
|
|
12
|
-
translateService;
|
|
13
|
-
eportalLanguageService;
|
|
14
|
-
_config;
|
|
15
|
-
_translations = {};
|
|
16
|
-
get languageList() {
|
|
17
|
-
return this._config?.languageList || DEFAULT_LANGUAGE_LIST;
|
|
18
|
-
}
|
|
19
|
-
attributeMapping = {
|
|
20
|
-
isDisabled: null,
|
|
21
|
-
defaultLanguage: 'default-language',
|
|
22
|
-
pamsEnvironment: 'environment',
|
|
23
|
-
isInfoActive: 'show-info',
|
|
24
|
-
infoLinks: 'links',
|
|
25
|
-
contactInfo: 'contact',
|
|
26
|
-
openLinksInNewTab: 'open-in-new-tab',
|
|
27
|
-
isInCmsContext: 'cms',
|
|
28
|
-
showLanguages: 'show-languages',
|
|
29
|
-
showNotifications: 'show-notifications',
|
|
30
|
-
showEportalServices: 'show-eportal-services',
|
|
31
|
-
showSettings: 'show-settings',
|
|
32
|
-
profileLinks: 'profile-links',
|
|
33
|
-
customButtonsLinks: 'custom-buttons'
|
|
34
|
-
};
|
|
35
|
-
set config(config) {
|
|
36
|
-
this._config = config;
|
|
37
|
-
}
|
|
38
|
-
constructor(translateService, eportalLanguageService) {
|
|
39
|
-
this.translateService = translateService;
|
|
40
|
-
this.eportalLanguageService = eportalLanguageService;
|
|
41
|
-
}
|
|
42
|
-
getMappedAttributes$() {
|
|
43
|
-
/* There is an issue with the translateService.getTranslation method. In this method a pointer is set
|
|
44
|
-
* to the language given in the method call so that this language is used as the current language as long as
|
|
45
|
-
* the translations files are being loaded. That's why we swap the current language to the last position of
|
|
46
|
-
* the language list for the getTranslation calls. So the internal pointer in the getTranslation method will
|
|
47
|
-
* be set to the current language. */
|
|
48
|
-
const languageListSorted = this.swapCurrentLangToTheEndOfLanguageList(this.languageList);
|
|
49
|
-
return combineLatest(languageListSorted.map(language => this.translateService.getTranslation(language))).pipe(tap(translations => {
|
|
50
|
-
translations.forEach((languageTranslations, languageIndex) => {
|
|
51
|
-
this._translations[languageListSorted[languageIndex]] = languageTranslations;
|
|
52
|
-
});
|
|
53
|
-
}), mergeMap(() => iif(() => this._config.defaultLanguage != null, of(this.mapAttributes()), this.eportalLanguageService.fetchEportalLanguage$().pipe(map(eportalLanguage => eportalLanguage?.toLowerCase()), map(eportalLanguage => this.languageList.includes(eportalLanguage) ? eportalLanguage : 'de'), map(eportalLanguage => this.mapAttributes(eportalLanguage))))));
|
|
54
|
-
}
|
|
55
|
-
swapCurrentLangToTheEndOfLanguageList(languageList) {
|
|
56
|
-
const currentLangIndex = languageList.indexOf(this.currentLang);
|
|
57
|
-
if (currentLangIndex === -1)
|
|
58
|
-
return languageList;
|
|
59
|
-
const languageListSorted = [...languageList];
|
|
60
|
-
const lastIndex = languageList.length - 1;
|
|
61
|
-
languageListSorted[languageList.indexOf(this.currentLang)] = languageList[lastIndex];
|
|
62
|
-
languageListSorted[lastIndex] = this.currentLang;
|
|
63
|
-
return languageListSorted;
|
|
64
|
-
}
|
|
65
|
-
get currentLang() {
|
|
66
|
-
return (this.translateService?.currentLang || this.translateService?.defaultLang);
|
|
67
|
-
}
|
|
68
|
-
mapAttributes(defaultLanguage) {
|
|
69
|
-
let mappedAttributes = {};
|
|
70
|
-
if (defaultLanguage && this.languageList.includes(defaultLanguage)) {
|
|
71
|
-
mappedAttributes = {
|
|
72
|
-
'default-language': defaultLanguage
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
Object.keys(this._config).forEach((configKey) => {
|
|
76
|
-
const mappedKey = this.attributeMapping[configKey];
|
|
77
|
-
if (mappedKey) {
|
|
78
|
-
mappedAttributes[mappedKey] = this.getMappedAttribute(configKey, this._config[configKey]);
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
return mappedAttributes;
|
|
82
|
-
}
|
|
83
|
-
getMappedAttribute(configKey, configValue) {
|
|
84
|
-
switch (configKey) {
|
|
85
|
-
case 'contactInfo':
|
|
86
|
-
return this.getMappedContactInfoAttribute(configValue);
|
|
87
|
-
case 'infoLinks':
|
|
88
|
-
case 'profileLinks':
|
|
89
|
-
case 'customButtonsLinks':
|
|
90
|
-
return this.getMappedLinkObjects(configValue);
|
|
91
|
-
default:
|
|
92
|
-
return this.getDefaultAttribute(configValue);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
getMappedContactInfoAttribute(contactInfo) {
|
|
96
|
-
return {
|
|
97
|
-
...(contactInfo.hasOwnProperty('emailAddress') ? { email: contactInfo.emailAddress } : {}),
|
|
98
|
-
...(contactInfo.hasOwnProperty('telephoneNumber') ? { tel: contactInfo.telephoneNumber } : {})
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
getMappedLinkObjects(linkObjects) {
|
|
102
|
-
return JSON.stringify(linkObjects.map(linkObject => ({
|
|
103
|
-
...this.getMappedLinkTexts(linkObject),
|
|
104
|
-
...this.getMappedHref(linkObject),
|
|
105
|
-
...this.getMappedHrefs(linkObject),
|
|
106
|
-
...this.getBadge(linkObject),
|
|
107
|
-
...this.getObliqueIconName(linkObject),
|
|
108
|
-
...this.getIsVisibleInMobile(linkObject),
|
|
109
|
-
...this.getIconLink(linkObject),
|
|
110
|
-
...this.getChildLinks(linkObject)
|
|
111
|
-
})));
|
|
112
|
-
}
|
|
113
|
-
getMappedLinkTexts(linkObject) {
|
|
114
|
-
return this.languageList
|
|
115
|
-
.map(language => ({ [language]: this._translations[language][linkObject.i18n] }))
|
|
116
|
-
.reduce((accumulator, languageObject) => ({ ...accumulator, ...languageObject }), {});
|
|
117
|
-
}
|
|
118
|
-
getMappedHref(linkObject) {
|
|
119
|
-
return linkObject.hasOwnProperty('href') ? { link: linkObject.href } : {};
|
|
120
|
-
}
|
|
121
|
-
getMappedHrefs(linkObject) {
|
|
122
|
-
if (!linkObject.hasOwnProperty('hrefs'))
|
|
123
|
-
return {};
|
|
124
|
-
const links = {};
|
|
125
|
-
Object.keys(linkObject.hrefs).forEach(key => {
|
|
126
|
-
if (this.languageList.includes(key)) {
|
|
127
|
-
links[key] = linkObject.hrefs[key];
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
return { links };
|
|
131
|
-
}
|
|
132
|
-
getBadge(linkObject) {
|
|
133
|
-
return linkObject.hasOwnProperty('badge') ? { badge: linkObject.badge } : {};
|
|
134
|
-
}
|
|
135
|
-
getObliqueIconName(linkObject) {
|
|
136
|
-
return linkObject.hasOwnProperty('obliqueIconName')
|
|
137
|
-
? { obliqueIconName: linkObject.obliqueIconName }
|
|
138
|
-
: {};
|
|
139
|
-
}
|
|
140
|
-
getIsVisibleInMobile(linkObject) {
|
|
141
|
-
return linkObject.hasOwnProperty('isVisibleInMobile')
|
|
142
|
-
? { fixedMobileView: linkObject.isVisibleInMobile }
|
|
143
|
-
: {};
|
|
144
|
-
}
|
|
145
|
-
getIconLink(linkObject) {
|
|
146
|
-
return linkObject.hasOwnProperty('iconLink')
|
|
147
|
-
? {
|
|
148
|
-
iconLink: {
|
|
149
|
-
...this.getMappedLinkTexts(linkObject.iconLink),
|
|
150
|
-
...this.getMappedHref(linkObject.iconLink),
|
|
151
|
-
...this.getMappedHrefs(linkObject.iconLink),
|
|
152
|
-
...this.getBadge(linkObject.iconLink)
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
: {};
|
|
156
|
-
}
|
|
157
|
-
getChildLinks(linkObject) {
|
|
158
|
-
return linkObject.hasOwnProperty('childLinks')
|
|
159
|
-
? {
|
|
160
|
-
childLinks: linkObject.childLinks.map(childLink => ({
|
|
161
|
-
...this.getMappedLinkTexts(childLink),
|
|
162
|
-
...this.getMappedHref(childLink),
|
|
163
|
-
...this.getMappedHrefs(childLink),
|
|
164
|
-
...this.getBadge(childLink)
|
|
165
|
-
}))
|
|
166
|
-
}
|
|
167
|
-
: {};
|
|
168
|
-
}
|
|
169
|
-
getDefaultAttribute(configValue) {
|
|
170
|
-
return typeof configValue === 'boolean' ? (configValue ? 'true' : 'false') : configValue;
|
|
171
|
-
}
|
|
172
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellHeaderWidgetService, deps: [{ token: i1.TranslateService }, { token: i2.QdShellEportalLanguageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
173
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellHeaderWidgetService });
|
|
174
|
-
}
|
|
175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellHeaderWidgetService, decorators: [{
|
|
176
|
-
type: Injectable
|
|
177
|
-
}], ctorParameters: () => [{ type: i1.TranslateService }, { type: i2.QdShellEportalLanguageService }] });
|
|
178
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hlbGwtaGVhZGVyLXdpZGdldC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL3NoZWxsL3NlcnZpY2VzL3NoZWxsLWhlYWRlci13aWRnZXQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQkFBb0I7QUFDcEIsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN2RCxPQUFPLEVBQUUsYUFBYSxFQUFFLEdBQUcsRUFBYyxFQUFFLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDMUQsT0FBTyxFQUFFLEdBQUcsRUFBRSxRQUFRLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFVcEQsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sNEJBQTRCLENBQUM7Ozs7QUFFM0UsTUFBTSxxQkFBcUIsR0FBa0MsQ0FBQyxJQUFJLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQztBQUd0RixNQUFNLE9BQU8sMEJBQTBCO0lBOEIzQjt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gICAgICB9XG4gICAgICA6IHt9O1xuICB9XG5cbiAgcHJpdmF0ZSBnZXREZWZhdWx0QXR0cmlidXRlKGNvbmZpZ1ZhbHVlKTogYm9vbGVhbiB8IGFueSB7XG4gICAgcmV0dXJuIHR5cGVvZiBjb25maWdWYWx1ZSA9PT0gJ2Jvb2xlYW4nID8gKGNvbmZpZ1ZhbHVlID8gJ3RydWUnIDogJ2ZhbHNlJykgOiBjb25maWdWYWx1ZTtcbiAgfVxufVxuIl19
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// @ts-strict-ignore
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class QdShellLeftService {
|
|
6
|
-
_hasNavigation = new BehaviorSubject(false);
|
|
7
|
-
_isNavigationPinned = new BehaviorSubject(false);
|
|
8
|
-
_isNavigationRolledOver = new BehaviorSubject(false);
|
|
9
|
-
hasNavigation$ = this._hasNavigation.asObservable();
|
|
10
|
-
isNavigationPinned$ = this._isNavigationPinned.asObservable();
|
|
11
|
-
isNavigationRolledOver$ = this._isNavigationRolledOver.asObservable();
|
|
12
|
-
set config(config) {
|
|
13
|
-
this._hasNavigation.next(config.navigation?.length > 0);
|
|
14
|
-
}
|
|
15
|
-
set isNavigationRolledOver(value) {
|
|
16
|
-
this._isNavigationRolledOver.next(value);
|
|
17
|
-
}
|
|
18
|
-
togglePinnedNavigation() {
|
|
19
|
-
this._isNavigationPinned.next(!this._isNavigationPinned.value);
|
|
20
|
-
}
|
|
21
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellLeftService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
22
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellLeftService });
|
|
23
|
-
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellLeftService, decorators: [{
|
|
25
|
-
type: Injectable
|
|
26
|
-
}] });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hlbGwtbGVmdC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL3NoZWxsL3NlcnZpY2VzL3NoZWxsLWxlZnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQkFBb0I7QUFDcEIsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sTUFBTSxDQUFDOztBQUl2QyxNQUFNLE9BQU8sa0JBQWtCO0lBQ3JCLGNBQWMsR0FBRyxJQUFJLGVBQWUsQ0FBVSxLQUFLLENBQUMsQ0FBQztJQUNyRCxtQkFBbUIsR0FBRyxJQUFJLGVBQWUsQ0FBVSxLQUFLLENBQUMsQ0FBQztJQUMxRCx1QkFBdUIsR0FBRyxJQUFJLGVBQWUsQ0FBVSxLQUFLLENBQUMsQ0FBQztJQUV0RSxjQUFjLEdBQUcsSUFBSSxDQUFDLGNBQWMsQ0FBQyxZQUFZLEVBQUUsQ0FBQztJQUNwRCxtQkFBbUIsR0FBRyxJQUFJLENBQUMsbUJBQW1CLENBQUMsWUFBWSxFQUFFLENBQUM7SUFDOUQsdUJBQXVCLEdBQUcsSUFBSSxDQUFDLHVCQUF1QixDQUFDLFlBQVksRUFBRSxDQUFDO0lBRXRFLElBQUksTUFBTSxDQUFDLE1BQXFCO1FBQzlCLElBQUksQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxVQUFVLEVBQUUsTUFBTSxHQUFHLENBQUM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nYXRpb25QaW5uZWQkID0gdGhpcy5faXNOYXZpZ2F0aW9uUGlubmVkLmFzT2JzZXJ2YWJsZSgpO1xuICBpc05hdmlnYXRpb25Sb2xsZWRPdmVyJCA9IHRoaXMuX2lzTmF2aWdhdGlvblJvbGxlZE92ZXIuYXNPYnNlcnZhYmxlKCk7XG5cbiAgc2V0IGNvbmZpZyhjb25maWc6IFFkU2hlbGxDb25maWcpIHtcbiAgICB0aGlzLl9oYXNOYXZpZ2F0aW9uLm5leHQoY29uZmlnLm5hdmlnYXRpb24/Lmxlbmd0aCA+IDApO1xuICB9XG5cbiAgc2V0IGlzTmF2aWdhdGlvblJvbGxlZE92ZXIodmFsdWU6IGJvb2xlYW4pIHtcbiAgICB0aGlzLl9pc05hdmlnYXRpb25Sb2xsZWRPdmVyLm5leHQodmFsdWUpO1xuICB9XG5cbiAgdG9nZ2xlUGlubmVkTmF2aWdhdGlvbigpOiB2b2lkIHtcbiAgICB0aGlzLl9pc05hdmlnYXRpb25QaW5uZWQubmV4dCghdGhpcy5faXNOYXZpZ2F0aW9uUGlubmVkLnZhbHVlKTtcbiAgfVxufVxuIl19
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, combineLatest } from 'rxjs';
|
|
3
|
-
import { filter, map } from 'rxjs/operators';
|
|
4
|
-
import { QdNotificationsService } from '../../notifications/services/notifications-service.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../notifications/services/notifications-service.service";
|
|
7
|
-
export class QdShellRightService {
|
|
8
|
-
notificationsService;
|
|
9
|
-
_open = new BehaviorSubject(false);
|
|
10
|
-
_pinned = new BehaviorSubject(false);
|
|
11
|
-
_hasNotificationsToggle = new BehaviorSubject(false);
|
|
12
|
-
open$ = this._open.asObservable();
|
|
13
|
-
pinned$ = this._pinned.asObservable();
|
|
14
|
-
notifications$;
|
|
15
|
-
set open(open) {
|
|
16
|
-
this._open.next(open);
|
|
17
|
-
}
|
|
18
|
-
get hasNotificationsToggle$() {
|
|
19
|
-
return combineLatest([this._hasNotificationsToggle, this.hasNotifications$]).pipe(map(([hasNotificationsToggle, hasNotifications]) => hasNotificationsToggle || hasNotifications));
|
|
20
|
-
}
|
|
21
|
-
get hasNotifications$() {
|
|
22
|
-
return this.notifications$.pipe(map(notifications => notifications.length > 0));
|
|
23
|
-
}
|
|
24
|
-
set config(config) {
|
|
25
|
-
this._hasNotificationsToggle.next(config.hasNotificationsToggle ?? false);
|
|
26
|
-
}
|
|
27
|
-
constructor(notificationsService) {
|
|
28
|
-
this.notificationsService = notificationsService;
|
|
29
|
-
this.notifications$ = notificationsService.getNotificationsForContext('shell');
|
|
30
|
-
this._open.pipe(filter(open => open)).subscribe(() => {
|
|
31
|
-
this._pinned.next(false);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
toggleOpen() {
|
|
35
|
-
this._open.next(!this._open.value);
|
|
36
|
-
}
|
|
37
|
-
togglePinned() {
|
|
38
|
-
this._pinned.next(!this._pinned.value);
|
|
39
|
-
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellRightService, deps: [{ token: i1.QdNotificationsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
41
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellRightService });
|
|
42
|
-
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellRightService, decorators: [{
|
|
44
|
-
type: Injectable
|
|
45
|
-
}], ctorParameters: () => [{ type: i1.QdNotificationsService }] });
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hlbGwtcmlnaHQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzI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AgdGhpcy5ub3RpZmljYXRpb25zJCA9IG5vdGlmaWNhdGlvbnNTZXJ2aWNlLmdldE5vdGlmaWNhdGlvbnNGb3JDb250ZXh0KCdzaGVsbCcpO1xuICAgIHRoaXMuX29wZW4ucGlwZShmaWx0ZXIob3BlbiA9PiBvcGVuKSkuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgIHRoaXMuX3Bpbm5lZC5uZXh0KGZhbHNlKTtcbiAgICB9KTtcbiAgfVxuXG4gIHRvZ2dsZU9wZW4oKTogdm9pZCB7XG4gICAgdGhpcy5fb3Blbi5uZXh0KCF0aGlzLl9vcGVuLnZhbHVlKTtcbiAgfVxuXG4gIHRvZ2dsZVBpbm5lZCgpOiB2b2lkIHtcbiAgICB0aGlzLl9waW5uZWQubmV4dCghdGhpcy5fcGlubmVkLnZhbHVlKTtcbiAgfVxufVxuIl19
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
// @ts-strict-ignore
|
|
2
|
-
import { Component, ContentChildren, EventEmitter, Input, Output, QueryList, ViewChild } from '@angular/core';
|
|
3
|
-
import { combineLatest, firstValueFrom, Subject } from 'rxjs';
|
|
4
|
-
import { map, takeUntil, tap } from 'rxjs/operators';
|
|
5
|
-
import { QdCommentsComponent } from '../comments/comments.component';
|
|
6
|
-
import { QdSearchService } from '../search/services/search.service';
|
|
7
|
-
import { QdShellHeaderComponent } from './header/shell-header.component';
|
|
8
|
-
import { DEFAULT_SHELL_CONFIG } from './model/default-config';
|
|
9
|
-
import { QdNavigationService } from './services/navigation.service';
|
|
10
|
-
import { QdShellHeaderMinimizationService } from './services/shell-header-minimization.service';
|
|
11
|
-
import { QdShellLeftService } from './services/shell-left.service';
|
|
12
|
-
import { QdShellRightService } from './services/shell-right.service';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
import * as i1 from "../search/services/search.service";
|
|
15
|
-
import * as i2 from "./services/navigation.service";
|
|
16
|
-
import * as i3 from "./services/shell-header-minimization.service";
|
|
17
|
-
import * as i4 from "./services/shell-left.service";
|
|
18
|
-
import * as i5 from "./services/shell-right.service";
|
|
19
|
-
import * as i6 from "@angular/common";
|
|
20
|
-
import * as i7 from "@angular/router";
|
|
21
|
-
import * as i8 from "./footer/shell-footer.component";
|
|
22
|
-
import * as i9 from "./header/shell-header.component";
|
|
23
|
-
import * as i10 from "./left/shell-left.component";
|
|
24
|
-
import * as i11 from "./right/shell-right.component";
|
|
25
|
-
import * as i12 from "./right/notifications/shell-notifications.component";
|
|
26
|
-
import * as i13 from "./left/navigation/shell-left-navigation.component";
|
|
27
|
-
/**
|
|
28
|
-
* **QdShell** is located in the very top level of an Application UI. It includes the router outlet to allow rendering pages configured in your application's routing.<br />
|
|
29
|
-
*
|
|
30
|
-
* ### **Features**
|
|
31
|
-
* - **RWD Ready**: QdShell is RWD-enabled out of the box.
|
|
32
|
-
* - **Navigation**: Configure the shell to allow the user navigating between applications.
|
|
33
|
-
* - **Service Navigation (Header Widget)**: Use the built-in mechanism to embed auth handling components.
|
|
34
|
-
* - **Header appearance**: Depending on internal or external use, QdShell renders a different header style.
|
|
35
|
-
* - **Notifications**: Embed notifications on the right of your application.
|
|
36
|
-
*
|
|
37
|
-
* ### **Header appearance**
|
|
38
|
-
*
|
|
39
|
-
* At routing level you can determine whether the page is the home page or not. If set to true, the copyright information in Shell footer is shown.
|
|
40
|
-
*
|
|
41
|
-
* Attached find a sample routing configuration:
|
|
42
|
-
*
|
|
43
|
-
* ```ts
|
|
44
|
-
* {
|
|
45
|
-
* path: '',
|
|
46
|
-
* component: AppHomeComponent,
|
|
47
|
-
* data: {
|
|
48
|
-
* isHome: true
|
|
49
|
-
* }
|
|
50
|
-
* }```
|
|
51
|
-
*
|
|
52
|
-
* Depending whether your application is for internal use, the header should be shown as minimized. An application for internal use can be configured by
|
|
53
|
-
* setting the isInternal property in the Shell's configuration. For external applications the header will be maximized. If the property is not provided,
|
|
54
|
-
* the header is only maximized for home pages.
|
|
55
|
-
*
|
|
56
|
-
* ```ts
|
|
57
|
-
* shellConfig: QdShellConfig = {
|
|
58
|
-
* ...
|
|
59
|
-
* isInternal: true
|
|
60
|
-
* ...
|
|
61
|
-
* }
|
|
62
|
-
*/
|
|
63
|
-
export class QdShellComponent {
|
|
64
|
-
searchService;
|
|
65
|
-
navigationService;
|
|
66
|
-
headerMinimizationService;
|
|
67
|
-
shellLeftService;
|
|
68
|
-
shellRightService;
|
|
69
|
-
/**
|
|
70
|
-
* The configuration of the shell.
|
|
71
|
-
* * @default {
|
|
72
|
-
* isInternal: false,
|
|
73
|
-
* hasSearch: false,
|
|
74
|
-
* headerWidget: {
|
|
75
|
-
* isDisabled: false
|
|
76
|
-
* }
|
|
77
|
-
* }
|
|
78
|
-
*/
|
|
79
|
-
set config(value) {
|
|
80
|
-
this._config = value;
|
|
81
|
-
this.passConfigToServices();
|
|
82
|
-
}
|
|
83
|
-
get config() {
|
|
84
|
-
return this._config;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Emits an event when the global search has been triggered. <br />
|
|
88
|
-
* Return value is the result object of the search.
|
|
89
|
-
*/
|
|
90
|
-
searchQueryStringOutput = new EventEmitter();
|
|
91
|
-
/**
|
|
92
|
-
* Emits an event when the global search has been triggered. <br />
|
|
93
|
-
* Return value is the result object of the search.
|
|
94
|
-
*/
|
|
95
|
-
searchPostBodyOutput = new EventEmitter();
|
|
96
|
-
/**
|
|
97
|
-
* TODO: Remove in v17! The comments will be integrated in the QdPage.
|
|
98
|
-
*/
|
|
99
|
-
shellHeaderComponent;
|
|
100
|
-
commentsComponent;
|
|
101
|
-
hasNavigation$;
|
|
102
|
-
isNavigationPinned$;
|
|
103
|
-
isNavigationRolledOver$;
|
|
104
|
-
isShellRightOpen$;
|
|
105
|
-
isShellRightPinned$;
|
|
106
|
-
isMinimized$;
|
|
107
|
-
isHome$;
|
|
108
|
-
_config = DEFAULT_SHELL_CONFIG;
|
|
109
|
-
_destroy$ = new Subject();
|
|
110
|
-
get isFaded$() {
|
|
111
|
-
return combineLatest([
|
|
112
|
-
this.isNavigationRolledOver$,
|
|
113
|
-
this.isNavigationPinned$,
|
|
114
|
-
this.isShellRightOpen$,
|
|
115
|
-
this.isShellRightPinned$
|
|
116
|
-
]).pipe(map(([isNavigationRolledOver, isNavigationPinned, isShellRightOpen, isShellRightPinned]) => (isNavigationRolledOver && !isNavigationPinned) || (isShellRightOpen && !isShellRightPinned)));
|
|
117
|
-
}
|
|
118
|
-
constructor(searchService, navigationService, headerMinimizationService, shellLeftService, shellRightService) {
|
|
119
|
-
this.searchService = searchService;
|
|
120
|
-
this.navigationService = navigationService;
|
|
121
|
-
this.headerMinimizationService = headerMinimizationService;
|
|
122
|
-
this.shellLeftService = shellLeftService;
|
|
123
|
-
this.shellRightService = shellRightService;
|
|
124
|
-
this.hasNavigation$ = shellLeftService.hasNavigation$;
|
|
125
|
-
this.isNavigationPinned$ = shellLeftService.isNavigationPinned$;
|
|
126
|
-
this.isNavigationRolledOver$ = shellLeftService.isNavigationRolledOver$;
|
|
127
|
-
this.isShellRightOpen$ = shellRightService.open$;
|
|
128
|
-
this.isShellRightPinned$ = shellRightService.pinned$;
|
|
129
|
-
this.subscribeToSearchService();
|
|
130
|
-
this.isHome$ = this.navigationService.isHome$();
|
|
131
|
-
}
|
|
132
|
-
ngOnInit() {
|
|
133
|
-
this.isMinimized$ = this.headerMinimizationService.isHeaderMinimized$();
|
|
134
|
-
this.passConfigToServices();
|
|
135
|
-
}
|
|
136
|
-
ngAfterViewInit() {
|
|
137
|
-
// TODO: Remove in v17! The comments will be integrated in the QdPage.
|
|
138
|
-
if (this.commentsComponent.length > 0)
|
|
139
|
-
console.warn('QD-UI | QdShell - Comments in the QdShell is deprecated and will be removed in v17. Will be part of QdPage.');
|
|
140
|
-
this.closeShellRightIfCommentsDisappear();
|
|
141
|
-
}
|
|
142
|
-
closeShellRightIfCommentsDisappear() {
|
|
143
|
-
// e.g. if comments where opened on detail page but are not shown on overview page, close after navigation
|
|
144
|
-
this.commentsComponent.changes.pipe(takeUntil(this._destroy$)).subscribe(async (commentsComponent) => {
|
|
145
|
-
const shellRightOpen = await firstValueFrom(this.shellRightService.open$);
|
|
146
|
-
if (commentsComponent.length === 0 && this.shellHeaderComponent.isCommentsDisplayed && shellRightOpen) {
|
|
147
|
-
this.shellRightService.toggleOpen();
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
ngOnDestroy() {
|
|
152
|
-
this._destroy$.complete();
|
|
153
|
-
}
|
|
154
|
-
handleRouterOutletActivation(routeComponentInstance) {
|
|
155
|
-
this.navigationService.updateRouteComponentInstance(routeComponentInstance);
|
|
156
|
-
}
|
|
157
|
-
passConfigToServices() {
|
|
158
|
-
this.headerMinimizationService.config = this.config;
|
|
159
|
-
this.shellLeftService.config = this.config;
|
|
160
|
-
this.shellRightService.config = this.config;
|
|
161
|
-
}
|
|
162
|
-
subscribeToSearchService() {
|
|
163
|
-
this.searchService.searchQueryString$
|
|
164
|
-
.pipe(takeUntil(this._destroy$), tap(queryString => this.searchQueryStringOutput.emit(queryString)))
|
|
165
|
-
.subscribe();
|
|
166
|
-
this.searchService.searchPostBody$
|
|
167
|
-
.pipe(takeUntil(this._destroy$), tap(postBody => this.searchPostBodyOutput.emit(postBody)))
|
|
168
|
-
.subscribe();
|
|
169
|
-
}
|
|
170
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellComponent, deps: [{ token: i1.QdSearchService }, { token: i2.QdNavigationService }, { token: i3.QdShellHeaderMinimizationService }, { token: i4.QdShellLeftService }, { token: i5.QdShellRightService }], target: i0.ɵɵFactoryTarget.Component });
|
|
171
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdShellComponent, selector: "qd-shell", inputs: { config: "config" }, outputs: { searchQueryStringOutput: "searchQueryStringOutput", searchPostBodyOutput: "searchPostBodyOutput" }, providers: [
|
|
172
|
-
QdSearchService,
|
|
173
|
-
QdShellLeftService,
|
|
174
|
-
QdShellRightService,
|
|
175
|
-
{ provide: 'rwdLayout', useValue: { hasLegacyLayout: false } }
|
|
176
|
-
], queries: [{ propertyName: "commentsComponent", predicate: QdCommentsComponent }], viewQueries: [{ propertyName: "shellHeaderComponent", first: true, predicate: QdShellHeaderComponent, descendants: true }], ngImport: i0, template: "<div\n [ngClass]=\"{\n 'qd-shell': true,\n 'has-navigation': hasNavigation$ | async,\n 'left-pinned': isNavigationPinned$ | async,\n 'left-rolled-over': isNavigationRolledOver$ | async,\n 'shell-right-open': isShellRightOpen$ | async,\n 'shell-right-pinned': isShellRightPinned$ | async\n }\"\n>\n <header\n qd-shell-header\n [config]=\"config\"\n [isMinimized]=\"(isMinimized$ | async) ?? true\"\n [isCommentsUsed]=\"commentsComponent.length > 0\"\n [hasComments]=\"commentsComponent.get(0)?.hasComments$ | async\"\n ></header>\n\n <aside\n qd-shell-left\n *ngIf=\"hasNavigation$ | async\"\n [ngClass]=\"{ pinned: isNavigationPinned$ | async, 'rolled-over': isNavigationRolledOver$ | async }\"\n >\n <qd-shell-navigation [config]=\"config.navigation\"></qd-shell-navigation>\n </aside>\n\n <main [ngClass]=\"{ faded: isFaded$ | async }\">\n <router-outlet (activate)=\"handleRouterOutletActivation($event)\"></router-outlet>\n </main>\n\n <aside\n qd-shell-right\n *ngIf=\"isShellRightOpen$ | async\"\n [config]=\"config\"\n [ngClass]=\"{\n pinned: isShellRightPinned$ | async\n }\"\n >\n <!-- TODO: Remove in v17! -->\n <ng-container *ngIf=\"commentsComponent.length > 0 && shellHeaderComponent.isCommentsDisplayed\"\n ><ng-content select=\"qd-comments\"></ng-content\n ></ng-container>\n\n <qd-shell-notifications *ngIf=\"!shellHeaderComponent.isCommentsDisplayed\"></qd-shell-notifications>\n </aside>\n\n <footer\n qd-shell-footer\n [copyrightInfo]=\"config.copyrightInfo\"\n [isSticky]=\"config.isFooterSticky\"\n *ngIf=\"isHome$ | async\"\n ></footer>\n</div>\n", styles: [":host{display:block}:host .qd-shell{display:grid;min-height:100vh;background-color:#efefef;grid-template-areas:\"header\" \"main\" \"footer\";grid-template-rows:auto 1fr auto}:host .qd-shell.has-navigation{grid-template-areas:\"header header\" \"aside-left main\" \"footer footer\";grid-template-columns:3rem 1fr;transition:grid-template-columns .3s linear}:host .qd-shell.has-navigation.shell-right-open{grid-template-areas:\"header header header\" \"aside-left main aside-right\" \"footer footer footer\";grid-template-columns:3rem 1fr 0}:host .qd-shell.has-navigation.shell-right-open.shell-right-pinned{grid-template-columns:3rem 1fr 0}:host .qd-shell.has-navigation.shell-right-open.shell-right-pinned main{margin-right:18.75rem}:host .qd-shell.has-navigation.left-pinned{grid-template-columns:18.75rem 1fr}:host .qd-shell.has-navigation.left-pinned.shell-right-open{grid-template-columns:18.75rem 1fr 0}:host .qd-shell.has-navigation.left-pinned.shell-right-open.shell-right-pinned{grid-template-columns:18.75rem 1fr 0}:host .qd-shell.has-navigation.left-pinned.shell-right-open.shell-right-pinned main{margin-right:18.75rem}:host .qd-shell:not(.has-navigation).shell-right-open{grid-template-areas:\"header header\" \"main aside-right\" \"footer footer\";grid-template-columns:1fr 0}:host .qd-shell:not(.has-navigation).shell-right-open.shell-right-pinned{grid-template-columns:1fr 0}:host .qd-shell:not(.has-navigation).shell-right-open.shell-right-pinned main{margin-right:18.75rem}:host .qd-shell ::ng-deep qd-container:not(:last-of-type){border-bottom:rgb(213,213,213) solid .0625rem}:host main{position:relative}:host main.faded:after{position:absolute;z-index:1400;background:#000;content:\"\";inset:0;opacity:.5}\n"], dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: i8.QdShellFooterComponent, selector: "[qd-shell-footer]", inputs: ["copyrightInfo", "isSticky"] }, { kind: "component", type: i9.QdShellHeaderComponent, selector: "[qd-shell-header]", inputs: ["config", "isMinimized", "isCommentsUsed", "hasComments"], outputs: ["menuIconChange"] }, { kind: "component", type: i10.QdShellLeftComponent, selector: "[qd-shell-left]", inputs: ["navigationTemplateRef"] }, { kind: "component", type: i11.QdShellRightComponent, selector: "[qd-shell-right]", inputs: ["config"] }, { kind: "component", type: i12.QdShellNotificationsComponent, selector: "qd-shell-notifications" }, { kind: "component", type: i13.QdShellNavigationComponent, selector: "qd-shell-navigation", inputs: ["config"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }] });
|
|
177
|
-
}
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdShellComponent, decorators: [{
|
|
179
|
-
type: Component,
|
|
180
|
-
args: [{ selector: 'qd-shell', providers: [
|
|
181
|
-
QdSearchService,
|
|
182
|
-
QdShellLeftService,
|
|
183
|
-
QdShellRightService,
|
|
184
|
-
{ provide: 'rwdLayout', useValue: { hasLegacyLayout: false } }
|
|
185
|
-
], template: "<div\n [ngClass]=\"{\n 'qd-shell': true,\n 'has-navigation': hasNavigation$ | async,\n 'left-pinned': isNavigationPinned$ | async,\n 'left-rolled-over': isNavigationRolledOver$ | async,\n 'shell-right-open': isShellRightOpen$ | async,\n 'shell-right-pinned': isShellRightPinned$ | async\n }\"\n>\n <header\n qd-shell-header\n [config]=\"config\"\n [isMinimized]=\"(isMinimized$ | async) ?? true\"\n [isCommentsUsed]=\"commentsComponent.length > 0\"\n [hasComments]=\"commentsComponent.get(0)?.hasComments$ | async\"\n ></header>\n\n <aside\n qd-shell-left\n *ngIf=\"hasNavigation$ | async\"\n [ngClass]=\"{ pinned: isNavigationPinned$ | async, 'rolled-over': isNavigationRolledOver$ | async }\"\n >\n <qd-shell-navigation [config]=\"config.navigation\"></qd-shell-navigation>\n </aside>\n\n <main [ngClass]=\"{ faded: isFaded$ | async }\">\n <router-outlet (activate)=\"handleRouterOutletActivation($event)\"></router-outlet>\n </main>\n\n <aside\n qd-shell-right\n *ngIf=\"isShellRightOpen$ | async\"\n [config]=\"config\"\n [ngClass]=\"{\n pinned: isShellRightPinned$ | async\n }\"\n >\n <!-- TODO: Remove in v17! -->\n <ng-container *ngIf=\"commentsComponent.length > 0 && shellHeaderComponent.isCommentsDisplayed\"\n ><ng-content select=\"qd-comments\"></ng-content\n ></ng-container>\n\n <qd-shell-notifications *ngIf=\"!shellHeaderComponent.isCommentsDisplayed\"></qd-shell-notifications>\n </aside>\n\n <footer\n qd-shell-footer\n [copyrightInfo]=\"config.copyrightInfo\"\n [isSticky]=\"config.isFooterSticky\"\n *ngIf=\"isHome$ | async\"\n ></footer>\n</div>\n", styles: [":host{display:block}:host .qd-shell{display:grid;min-height:100vh;background-color:#efefef;grid-template-areas:\"header\" \"main\" \"footer\";grid-template-rows:auto 1fr auto}:host .qd-shell.has-navigation{grid-template-areas:\"header header\" \"aside-left main\" \"footer footer\";grid-template-columns:3rem 1fr;transition:grid-template-columns .3s linear}:host .qd-shell.has-navigation.shell-right-open{grid-template-areas:\"header header header\" \"aside-left main aside-right\" \"footer footer footer\";grid-template-columns:3rem 1fr 0}:host .qd-shell.has-navigation.shell-right-open.shell-right-pinned{grid-template-columns:3rem 1fr 0}:host .qd-shell.has-navigation.shell-right-open.shell-right-pinned main{margin-right:18.75rem}:host .qd-shell.has-navigation.left-pinned{grid-template-columns:18.75rem 1fr}:host .qd-shell.has-navigation.left-pinned.shell-right-open{grid-template-columns:18.75rem 1fr 0}:host .qd-shell.has-navigation.left-pinned.shell-right-open.shell-right-pinned{grid-template-columns:18.75rem 1fr 0}:host .qd-shell.has-navigation.left-pinned.shell-right-open.shell-right-pinned main{margin-right:18.75rem}:host .qd-shell:not(.has-navigation).shell-right-open{grid-template-areas:\"header header\" \"main aside-right\" \"footer footer\";grid-template-columns:1fr 0}:host .qd-shell:not(.has-navigation).shell-right-open.shell-right-pinned{grid-template-columns:1fr 0}:host .qd-shell:not(.has-navigation).shell-right-open.shell-right-pinned main{margin-right:18.75rem}:host .qd-shell ::ng-deep qd-container:not(:last-of-type){border-bottom:rgb(213,213,213) solid .0625rem}:host main{position:relative}:host main.faded:after{position:absolute;z-index:1400;background:#000;content:\"\";inset:0;opacity:.5}\n"] }]
|
|
186
|
-
}], ctorParameters: () => [{ type: i1.QdSearchService }, { type: i2.QdNavigationService }, { type: i3.QdShellHeaderMinimizationService }, { type: i4.QdShellLeftService }, { type: i5.QdShellRightService }], propDecorators: { config: [{
|
|
187
|
-
type: Input
|
|
188
|
-
}], searchQueryStringOutput: [{
|
|
189
|
-
type: Output
|
|
190
|
-
}], searchPostBodyOutput: [{
|
|
191
|
-
type: Output
|
|
192
|
-
}], shellHeaderComponent: [{
|
|
193
|
-
type: ViewChild,
|
|
194
|
-
args: [QdShellHeaderComponent]
|
|
195
|
-
}], commentsComponent: [{
|
|
196
|
-
type: ContentChildren,
|
|
197
|
-
args: [QdCommentsComponent]
|
|
198
|
-
}] } });
|
|
199
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hlbGwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL3NoZWxsL3NoZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zaGVsbC9zaGVsbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQkFBb0I7QUFDcEIsT0FBTyxFQUVMLFNBQVMsRUFDVCxlQUFlLEVBQ2YsWUFBWSxFQUNaLEtBQUssRUFHTCxNQUFNLEVBQ04sU0FBUyxFQUNULFNBQVMsRUFDVixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsYUF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