@quadrel-enterprise-ui/framework 1.0.0 → 18.19.2
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/esm2022/global-vars.json +18 -0
- package/esm2022/lib/button/__mocks__/mock-button-grid.component.mjs +14 -0
- package/esm2022/lib/button/__mocks__/mock-button-stack-button.component.mjs +21 -0
- package/esm2022/lib/button/__mocks__/mock-button-stack.component.mjs +14 -0
- package/esm2022/lib/button/__mocks__/mock-button.component.mjs +30 -0
- package/esm2022/lib/button/__mocks__/mock-button.directives.mjs +19 -0
- package/esm2022/lib/button/__mocks__/mock-button.module.mjs +52 -0
- package/esm2022/lib/button/__mocks__/mock-icon-button.component.mjs +17 -0
- package/esm2022/lib/button/button/additional-info/button-additional-info.component.mjs +48 -0
- package/esm2022/lib/button/button/button.component.mjs +98 -0
- package/esm2022/lib/button/button-grid/button-grid.component.mjs +16 -0
- package/esm2022/lib/button/button-stack/button-stack-button/button-stack-button.component.mjs +46 -0
- package/esm2022/lib/button/button-stack/button-stack-container/button-stack.component.mjs +39 -0
- package/esm2022/lib/button/button.module.mjs +89 -0
- package/esm2022/lib/button/directives/button.directives.mjs +40 -0
- package/esm2022/lib/button/icon-button/icon-button.component.mjs +51 -0
- package/esm2022/lib/button/menu-button/menu-button.component.mjs +95 -0
- package/esm2022/lib/button/model/button-config.mjs +2 -0
- package/esm2022/lib/button/model/button.types.mjs +2 -0
- package/esm2022/lib/chips/__mocks__/mock-chip.component.mjs +42 -0
- package/esm2022/lib/chips/__mocks__/mock-chips.module.mjs +19 -0
- package/esm2022/lib/chips/chip/chip.component.mjs +79 -0
- package/esm2022/lib/chips/chips.module.mjs +20 -0
- package/esm2022/lib/chips/interfaces/chip.interface.mjs +2 -0
- package/esm2022/lib/comments/add-comment/add-comment-dialog.component.mjs +138 -0
- package/esm2022/lib/comments/comments.component.mjs +73 -0
- package/esm2022/lib/comments/comments.module.mjs +60 -0
- package/esm2022/lib/comments/menu/comment-menu.component.mjs +19 -0
- package/esm2022/lib/comments/model/comments.interface.mjs +2 -0
- package/esm2022/lib/comments/pipes/stripe-html.pipe.mjs +18 -0
- package/esm2022/lib/contact-card/__mocks__/mock-contact-card.component.mjs +19 -0
- package/esm2022/lib/contact-card/__mocks__/mock-contact-card.module.mjs +19 -0
- package/esm2022/lib/contact-card/contact-card.component.mjs +285 -0
- package/esm2022/lib/contact-card/contact-card.module.mjs +25 -0
- package/esm2022/lib/contact-card/menu/contact-card-menu.component.mjs +80 -0
- package/esm2022/lib/contact-card/model/contact-card-actions-config.interface.mjs +2 -0
- package/esm2022/lib/contact-card/model/contact-data.interface.mjs +2 -0
- package/esm2022/lib/container/__mocks__/mock-action-footer.component.mjs +14 -0
- package/esm2022/lib/container/__mocks__/mock-container-create-content.component.mjs +22 -0
- package/esm2022/lib/container/__mocks__/mock-container-create-default.component.mjs +18 -0
- package/esm2022/lib/container/__mocks__/mock-container-section.component.mjs +18 -0
- package/esm2022/lib/container/__mocks__/mock-container-toolbar-action.component.mjs +41 -0
- package/esm2022/lib/container/__mocks__/mock-container-toolbar-filter.component.mjs +14 -0
- package/esm2022/lib/container/__mocks__/mock-container-toolbar-title.component.mjs +14 -0
- package/esm2022/lib/container/__mocks__/mock-container-toolbar.component.mjs +17 -0
- package/esm2022/lib/container/__mocks__/mock-container.component.mjs +40 -0
- package/esm2022/lib/container/__mocks__/mock-container.module.mjs +85 -0
- package/esm2022/lib/container/__mocks__/mock-create-delete-alert.component.mjs +20 -0
- package/esm2022/lib/container/__mocks__/mock-form-group.component.mjs +39 -0
- package/esm2022/lib/container/container.component.mjs +217 -0
- package/esm2022/lib/container/container.module.mjs +64 -0
- package/esm2022/lib/container/model/container-type.mjs +2 -0
- package/esm2022/lib/container/model/toolbar.interface.mjs +2 -0
- package/esm2022/lib/container/section/container-section.component.mjs +41 -0
- package/esm2022/lib/container/section/header/container-section-header.component.mjs +16 -0
- package/esm2022/lib/container/section/info/container-section-info.component.mjs +14 -0
- package/esm2022/lib/container/services/container-action.service.mjs +19 -0
- package/esm2022/lib/container/services/container-layout.service.mjs +33 -0
- package/esm2022/lib/container/toolbar/action/container-toolbar-action.component.mjs +107 -0
- package/esm2022/lib/container/toolbar/container-toolbar.component.mjs +76 -0
- package/esm2022/lib/container/toolbar/filter/container-toolbar-filter.component.mjs +17 -0
- package/esm2022/lib/container/toolbar/title/container-toolbar-title.component.mjs +16 -0
- package/esm2022/lib/content-grid/__mocks__/mock-content-grid-column.mjs +14 -0
- package/esm2022/lib/content-grid/__mocks__/mock-content-grid-row.mjs +14 -0
- package/esm2022/lib/content-grid/__mocks__/mock-content-grid.mjs +14 -0
- package/esm2022/lib/content-grid/__mocks__/mock-content-grid.module.mjs +19 -0
- package/esm2022/lib/content-grid/content-grid/content-grid.component.mjs +31 -0
- package/esm2022/lib/content-grid/content-grid-column/content-grid-column.component.mjs +17 -0
- package/esm2022/lib/content-grid/content-grid-row/content-grid-row.component.mjs +18 -0
- package/esm2022/lib/content-grid/content-grid.module.mjs +21 -0
- package/esm2022/lib/core/__mocks__/mock-breakpoint.service.mjs +8 -0
- package/esm2022/lib/core/__mocks__/mock-core.module.mjs +42 -0
- package/esm2022/lib/core/__mocks__/mock-disabled.directive.mjs +14 -0
- package/esm2022/lib/core/__mocks__/mock-popover-on-click.directive.mjs +107 -0
- package/esm2022/lib/core/__mocks__/mock-rwd-disabled.directive.mjs +14 -0
- package/esm2022/lib/core/__mocks__/mock-translate.pipe.mjs +14 -0
- package/esm2022/lib/core/__mocks__/mock-visually-hidden.directive.mjs +14 -0
- package/esm2022/lib/core/autofocus/autofocus.directive.mjs +42 -0
- package/esm2022/lib/core/autofocus/autofocus.module.mjs +18 -0
- package/esm2022/lib/core/autofocus/autofocus.service.mjs +20 -0
- package/esm2022/lib/core/breadcrumbs/breadcrumbs.component.mjs +154 -0
- package/esm2022/lib/core/breadcrumbs/breadcrumbs.module.mjs +21 -0
- package/esm2022/lib/core/breadcrumbs/model/breadcrumbs.interface.mjs +2 -0
- package/esm2022/lib/core/breadcrumbs/services/breadcrumbs.service.mjs +61 -0
- package/esm2022/lib/core/breadcrumbs/services/dialog-breadcrumbs.service.mjs +15 -0
- package/esm2022/lib/core/core.module.mjs +54 -0
- package/esm2022/lib/core/data-facets/blank/data-facets-blank.component.mjs +34 -0
- package/esm2022/lib/core/data-facets/boolean/data-facets-boolean.component.mjs +23 -0
- package/esm2022/lib/core/data-facets/chip/data-facets-chip.component.mjs +63 -0
- package/esm2022/lib/core/data-facets/chip/data-facets-chip.interfaces.mjs +2 -0
- package/esm2022/lib/core/data-facets/chip/truncated-indicator/data-facets-chip-truncated-indicator.component.mjs +98 -0
- package/esm2022/lib/core/data-facets/chip/truncated-tooltip/data-facets-chip-truncated-tooltip.component.mjs +139 -0
- package/esm2022/lib/core/data-facets/currency/data-facets-currency.component.mjs +71 -0
- package/esm2022/lib/core/data-facets/currency/data-facets-currency.interfaces.mjs +2 -0
- package/esm2022/lib/core/data-facets/data-facets-context.service.mjs +17 -0
- package/esm2022/lib/core/data-facets/data-facets.model.mjs +34 -0
- package/esm2022/lib/core/data-facets/data-facets.module.mjs +62 -0
- package/esm2022/lib/core/data-facets/date/data-facets-date.component.mjs +98 -0
- package/esm2022/lib/core/data-facets/date/data-facets-date.interfaces.mjs +2 -0
- package/esm2022/lib/core/data-facets/icon/data-facets-icon.component.mjs +24 -0
- package/esm2022/lib/core/data-facets/integer/data-facets-integer.component.mjs +22 -0
- package/esm2022/lib/core/data-facets/link/data-facets-link.component.mjs +70 -0
- package/esm2022/lib/core/data-facets/link/data-facets-link.interfaces.mjs +2 -0
- package/esm2022/lib/core/data-facets/progress/data-facets-progress.component.mjs +34 -0
- package/esm2022/lib/core/data-facets/status/data-facets-status.component.mjs +24 -0
- package/esm2022/lib/core/data-facets/status/data-facets-status.interfaces.mjs +2 -0
- package/esm2022/lib/core/data-facets/text/data-facets-text.component.mjs +49 -0
- package/esm2022/lib/core/data-facets/text/data-facets-text.interfaces.mjs +2 -0
- package/esm2022/lib/core/disabled/disabled.directive.mjs +14 -0
- package/esm2022/lib/core/focusable/focusable.directive.mjs +27 -0
- package/esm2022/lib/core/focusable/focusable.mjs +2 -0
- package/esm2022/lib/core/focusable/focusable.module.mjs +16 -0
- package/esm2022/lib/core/focusable/focusable.token.mjs +6 -0
- package/esm2022/lib/core/model/app-enviroment.interface.mjs +2 -0
- package/esm2022/lib/core/model/app-enviroment.token.mjs +3 -0
- package/esm2022/lib/core/model/breakpoint.interface.mjs +3 -0
- package/esm2022/lib/core/model/translation.interface.mjs +2 -0
- package/esm2022/lib/core/pipes/file-size.pipe.mjs +41 -0
- package/esm2022/lib/core/pipes/placeholder.pipe.mjs +17 -0
- package/esm2022/lib/core/pipes/placeholders.pipe.mjs +20 -0
- package/esm2022/lib/core/pipes/sanitize-html.pipe.mjs +20 -0
- package/esm2022/lib/core/popover/popover/popover.component.mjs +52 -0
- package/esm2022/lib/core/popover/popover-on-click/popover-on-click.directive.mjs +261 -0
- package/esm2022/lib/core/popover/popover-on-hover/popover-on-hover.directive.mjs +91 -0
- package/esm2022/lib/core/popover/popover-parent.service.mjs +11 -0
- package/esm2022/lib/core/popover/popover-sizing.service.mjs +163 -0
- package/esm2022/lib/core/popover/popover-top-first.token.mjs +3 -0
- package/esm2022/lib/core/popover/popover.module.mjs +22 -0
- package/esm2022/lib/core/popover/popover.service.mjs +18 -0
- package/esm2022/lib/core/projection-guard/projection-guard.component.mjs +33 -0
- package/esm2022/lib/core/rwd-disabled/rwd-disabled.directive.mjs +14 -0
- package/esm2022/lib/core/rxjs/delay-and-hold.operator.mjs +52 -0
- package/esm2022/lib/core/services/breakpoint.service.mjs +34 -0
- package/esm2022/lib/core/services/element.service.mjs +16 -0
- package/esm2022/lib/core/services/event-broker.service.mjs +76 -0
- package/esm2022/lib/core/services/push-events.service.mjs +153 -0
- package/esm2022/lib/core/services/scrolling.service.mjs +47 -0
- package/esm2022/lib/core/services/translate.service.mjs +48 -0
- package/esm2022/lib/core/tools/constantCase.tools.mjs +3 -0
- package/esm2022/lib/core/tools/convertPxToRem.tools.mjs +3 -0
- package/esm2022/lib/core/tooltip/model/tooltip-content.interface.mjs +2 -0
- package/esm2022/lib/core/tooltip/tooltip/tooltip.component.mjs +15 -0
- package/esm2022/lib/core/tooltip/tooltip-at-intersection/tooltip-at-intersection.directive.mjs +115 -0
- package/esm2022/lib/core/tooltip/tooltip-on-tap-hover/tooltip-on-click.directive.mjs +101 -0
- package/esm2022/lib/core/tooltip/tooltip.module.mjs +21 -0
- package/esm2022/lib/core/types/utility.types.mjs +2 -0
- package/esm2022/lib/core/visually-hidden/visually-hidden.directive.mjs +14 -0
- package/esm2022/lib/dialog/action/dialog-action.component.mjs +11 -0
- package/esm2022/lib/dialog/auth-session-end/dialog-auth-session-end.component.mjs +33 -0
- package/esm2022/lib/dialog/confirmation/dialog-confirmation.component.mjs +227 -0
- package/esm2022/lib/dialog/dialog.component.mjs +100 -0
- package/esm2022/lib/dialog/dialog.module.mjs +106 -0
- package/esm2022/lib/dialog/models/confirmation.model.mjs +6 -0
- package/esm2022/lib/dialog/models/dialog-config.model.mjs +10 -0
- package/esm2022/lib/dialog/models/record-stepper.model.mjs +2 -0
- package/esm2022/lib/dialog/models/session-end-result.model.mjs +2 -0
- package/esm2022/lib/dialog/page-dialog-with-breadcrumbs/page-dialog-with-breadcrumbs.component.mjs +14 -0
- package/esm2022/lib/dialog/record-stepper/dialog-record-stepper.component.mjs +80 -0
- package/esm2022/lib/dialog/services/dialog-auth-session-end.service.mjs +38 -0
- package/esm2022/lib/dialog/services/dialog.service.mjs +128 -0
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-dialog-item-error.component.mjs +19 -0
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-dialog-item-progress.component.mjs +21 -0
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-dialog-item.component.mjs +25 -0
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item-name.component.mjs +18 -0
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item-size.component.mjs +18 -0
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item-tools.component.mjs +34 -0
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item.component.mjs +40 -0
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector.component.mjs +14 -0
- package/esm2022/lib/file-collector/__mocks__/mock-file-collector.module.mjs +42 -0
- package/esm2022/lib/file-collector/allowed-files-description/file-collector-allowed-files-description.component.mjs +34 -0
- package/esm2022/lib/file-collector/dialog/file-collector-dialog.component.mjs +47 -0
- package/esm2022/lib/file-collector/dialog/item/error/file-collector-dialog-item-error.component.mjs +39 -0
- package/esm2022/lib/file-collector/dialog/item/file-collector-dialog-item.component.mjs +41 -0
- package/esm2022/lib/file-collector/dialog/item/progress/file-collector-dialog-item-progress.component.mjs +64 -0
- package/esm2022/lib/file-collector/file-collector.component.mjs +256 -0
- package/esm2022/lib/file-collector/file-collector.module.mjs +95 -0
- package/esm2022/lib/file-collector/file-delete-dialog/file-delete-dialog.component.mjs +35 -0
- package/esm2022/lib/file-collector/item/file-collector-item.component.mjs +44 -0
- package/esm2022/lib/file-collector/item/name/file-collector-item-name.component.mjs +15 -0
- package/esm2022/lib/file-collector/item/size/file-collector-item-size.component.mjs +17 -0
- package/esm2022/lib/file-collector/item/tools/file-collector-item-tools.component.mjs +79 -0
- package/esm2022/lib/file-collector/item/upload-timestamp/upload-timestamp.component.mjs +16 -0
- package/esm2022/lib/file-collector/models/collected-file.mjs +2 -0
- package/esm2022/lib/file-collector/models/file-collector-config.mjs +2 -0
- package/esm2022/lib/file-collector/models/file-manager-token.mjs +3 -0
- package/esm2022/lib/file-collector/models/file-manager.mjs +2 -0
- package/esm2022/lib/file-collector/models/file-type.mjs +2 -0
- package/esm2022/lib/file-collector/models/file-upload.mjs +9 -0
- package/esm2022/lib/file-collector/models/upload-progress.mjs +12 -0
- package/esm2022/lib/file-collector/pipes/filesize.pipe.mjs +40 -0
- package/esm2022/lib/file-collector/pipes/upload-timestamp.pipe.mjs +26 -0
- package/esm2022/lib/file-collector/services/file-collector-validation.service.mjs +36 -0
- package/esm2022/lib/file-collector/services/file-collector.service.mjs +86 -0
- package/esm2022/lib/file-collector/services/file-type.service.mjs +119 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-category-boolean.mjs +31 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-category-date-range.mjs +35 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-category-date.mjs +35 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-category-free-text.mjs +34 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-category-select.mjs +31 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-category.mjs +35 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-item-boolean.mjs +37 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-item-date-range.mjs +38 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-item-date.mjs +38 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-item-free-text.mjs +37 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-item-multi-select.mjs +34 -0
- package/esm2022/lib/filter/__mocks__/mock-filter-item-single-select.mjs +34 -0
- package/esm2022/lib/filter/__mocks__/mock-filter.mjs +32 -0
- package/esm2022/lib/filter/__mocks__/mock-filter.module.mjs +89 -0
- package/esm2022/lib/filter/__mocks__/mock-filter.service.mjs +87 -0
- package/esm2022/lib/filter/__mocks__/mock-localeDate.pipe.mjs +15 -0
- package/esm2022/lib/filter/category/boolean/filter-category-boolean.component.mjs +36 -0
- package/esm2022/lib/filter/category/date/filter-category-date.component.mjs +62 -0
- package/esm2022/lib/filter/category/date-range/filter-category-date-range.component.mjs +75 -0
- package/esm2022/lib/filter/category/filter-category.component.mjs +110 -0
- package/esm2022/lib/filter/category/free-text/filter-category-free-text.component.mjs +61 -0
- package/esm2022/lib/filter/category/select/filter-category-select.component.mjs +129 -0
- package/esm2022/lib/filter/filter-service/filter.service.mjs +206 -0
- package/esm2022/lib/filter/filter.component.mjs +308 -0
- package/esm2022/lib/filter/filter.module.mjs +101 -0
- package/esm2022/lib/filter/helpers/filter-active-items.helper.mjs +26 -0
- package/esm2022/lib/filter/helpers/filter-active.helper.mjs +6 -0
- package/esm2022/lib/filter/helpers/filter-get.helper.mjs +18 -0
- package/esm2022/lib/filter/helpers/filter-postbody.helper.mjs +6 -0
- package/esm2022/lib/filter/helpers/filter-query-parser.helper.mjs +27 -0
- package/esm2022/lib/filter/helpers/filter-query.helper.mjs +39 -0
- package/esm2022/lib/filter/helpers/filter-selection-validator.helper.mjs +33 -0
- package/esm2022/lib/filter/helpers/filter-state.helpers.mjs +88 -0
- package/esm2022/lib/filter/helpers/filter-update.helper.mjs +84 -0
- package/esm2022/lib/filter/item/boolean/filter-item-boolean.component.mjs +62 -0
- package/esm2022/lib/filter/item/date/filter-item-date.component.mjs +68 -0
- package/esm2022/lib/filter/item/date-range/filter-item-date-range.component.mjs +107 -0
- package/esm2022/lib/filter/item/free-text/filter-item-free-text.component.mjs +82 -0
- package/esm2022/lib/filter/item/multi-select/filter-item-multi-select.component.mjs +62 -0
- package/esm2022/lib/filter/item/single-select/filter-item-single-select.component.mjs +72 -0
- package/esm2022/lib/filter/model/filter-config.interface.mjs +2 -0
- package/esm2022/lib/filter/model/filter-post-body.interface.mjs +2 -0
- package/esm2022/lib/filter/model/filter-reducer.interface.mjs +2 -0
- package/esm2022/lib/filter/model/filter-state.interface.mjs +2 -0
- package/esm2022/lib/filter/model/filter-types.interface.mjs +2 -0
- package/esm2022/lib/filter/pipes/localeDate.pipe.mjs +54 -0
- package/esm2022/lib/filter/services/dependent-filters.service.mjs +61 -0
- package/esm2022/lib/filter/services/filter-rest-param.tools.mjs +27 -0
- package/esm2022/lib/filter/services/filter-router-connector.service.mjs +111 -0
- package/esm2022/lib/filter/store/filter.actions.mjs +25 -0
- package/esm2022/lib/filter/store/filter.reducer.mjs +98 -0
- package/esm2022/lib/filter/store/filter.selector.mjs +38 -0
- package/esm2022/lib/forms/__mocks__/mock-calendar.component.mjs +31 -0
- package/esm2022/lib/forms/__mocks__/mock-checkbox-chips-item.component.mjs +23 -0
- package/esm2022/lib/forms/__mocks__/mock-checkbox-chips.component.mjs +32 -0
- package/esm2022/lib/forms/__mocks__/mock-checkbox.component.mjs +38 -0
- package/esm2022/lib/forms/__mocks__/mock-checkboxes.component.mjs +35 -0
- package/esm2022/lib/forms/__mocks__/mock-datepicker.component.mjs +34 -0
- package/esm2022/lib/forms/__mocks__/mock-dropdown.component.mjs +44 -0
- package/esm2022/lib/forms/__mocks__/mock-filter-form-items.component.mjs +27 -0
- package/esm2022/lib/forms/__mocks__/mock-form-error.component.mjs +19 -0
- package/esm2022/lib/forms/__mocks__/mock-form-group-error.component.mjs +22 -0
- package/esm2022/lib/forms/__mocks__/mock-form-hint.component.mjs +31 -0
- package/esm2022/lib/forms/__mocks__/mock-form-label.component.mjs +39 -0
- package/esm2022/lib/forms/__mocks__/mock-form-readonly.component.mjs +26 -0
- package/esm2022/lib/forms/__mocks__/mock-form-viewonly.component.mjs +26 -0
- package/esm2022/lib/forms/__mocks__/mock-forms.module.mjs +118 -0
- package/esm2022/lib/forms/__mocks__/mock-input.component.mjs +95 -0
- package/esm2022/lib/forms/__mocks__/mock-pin-code.component.mjs +76 -0
- package/esm2022/lib/forms/__mocks__/mock-radio-buttons.component.mjs +38 -0
- package/esm2022/lib/forms/__mocks__/mock-switch.component.mjs +56 -0
- package/esm2022/lib/forms/__mocks__/mock-switches.component.mjs +54 -0
- package/esm2022/lib/forms/__mocks__/mock-textarea.component.mjs +50 -0
- package/esm2022/lib/forms/checkbox-chips/checkbox-chips.component.mjs +250 -0
- package/esm2022/lib/forms/checkbox-chips/item/checkbox-chips-item.component.mjs +34 -0
- package/esm2022/lib/forms/checkbox-chips/services/checkbox-chips.service.mjs +33 -0
- package/esm2022/lib/forms/checkboxes/checkbox/checkbox.component.mjs +93 -0
- package/esm2022/lib/forms/checkboxes/checkboxes-service/checkboxes.service.mjs +106 -0
- package/esm2022/lib/forms/checkboxes/checkboxes.component.mjs +354 -0
- package/esm2022/lib/forms/datepicker/adapter/date-adapter.mjs +116 -0
- package/esm2022/lib/forms/datepicker/calendar/calendar.component.mjs +186 -0
- package/esm2022/lib/forms/datepicker/datepicker.component.mjs +490 -0
- package/esm2022/lib/forms/datepicker/service/timepicker.service.mjs +68 -0
- package/esm2022/lib/forms/dropdown/dropdown.component.mjs +491 -0
- package/esm2022/lib/forms/dropdown/options/dropdown-options.component.mjs +90 -0
- package/esm2022/lib/forms/file-upload/file-upload.component.mjs +333 -0
- package/esm2022/lib/forms/file-upload/model/file-upload.model.mjs +46 -0
- package/esm2022/lib/forms/file-upload/services/file-upload.service.mjs +61 -0
- package/esm2022/lib/forms/forms/forms.component.mjs +16 -0
- package/esm2022/lib/forms/input/helpers/get-value-with-unit.mjs +22 -0
- package/esm2022/lib/forms/input/input.component.mjs +601 -0
- package/esm2022/lib/forms/input/options/input-options.component.mjs +64 -0
- package/esm2022/lib/forms/input/options/input-options.directive.mjs +281 -0
- package/esm2022/lib/forms/input/units/input-units.component.mjs +62 -0
- package/esm2022/lib/forms/model/datepicker.mjs +7 -0
- package/esm2022/lib/forms/model/form-options-resolver.mjs +22 -0
- package/esm2022/lib/forms/model/forms.interface.mjs +2 -0
- package/esm2022/lib/forms/model/options.interface.mjs +2 -0
- package/esm2022/lib/forms/model/radio-buttons.mjs +2 -0
- package/esm2022/lib/forms/multi-input/interfaces/multi-input-chip.interface.mjs +2 -0
- package/esm2022/lib/forms/multi-input/multi-input-chip/multi-input-chip.component.mjs +95 -0
- package/esm2022/lib/forms/multi-input/multi-input-menu/multi-input-menu.component.mjs +83 -0
- package/esm2022/lib/forms/multi-input/multi-input-service/multi-input.service.mjs +102 -0
- package/esm2022/lib/forms/multi-input/multi-input.component.mjs +540 -0
- package/esm2022/lib/forms/pin-code/pin-code-service/pin-code.service.mjs +90 -0
- package/esm2022/lib/forms/pin-code/pin-code.component.mjs +454 -0
- package/esm2022/lib/forms/qd-form.module.mjs +189 -0
- package/esm2022/lib/forms/radio-buttons/radio-buttons-service/radio-buttons.service.mjs +45 -0
- package/esm2022/lib/forms/radio-buttons/radio-buttons.component.mjs +326 -0
- package/esm2022/lib/forms/reactive-forms/controls/form-array-factory.service.mjs +72 -0
- package/esm2022/lib/forms/reactive-forms/controls/form-array.mjs +320 -0
- package/esm2022/lib/forms/reactive-forms/controls/form-builder.mjs +126 -0
- package/esm2022/lib/forms/reactive-forms/controls/form-control.mjs +61 -0
- package/esm2022/lib/forms/reactive-forms/controls/form-group.mjs +4 -0
- package/esm2022/lib/forms/richtext/richtext.component.mjs +214 -0
- package/esm2022/lib/forms/shared/components/filter-form-items/filter-form-items.component.mjs +34 -0
- package/esm2022/lib/forms/shared/components/form-error/form-error.component.mjs +48 -0
- package/esm2022/lib/forms/shared/components/form-hint/form-hint.component.mjs +40 -0
- package/esm2022/lib/forms/shared/components/form-input/form-input.component.mjs +43 -0
- package/esm2022/lib/forms/shared/components/form-label/form-label.component.mjs +59 -0
- package/esm2022/lib/forms/shared/components/form-readonly/form-readonly.component.mjs +45 -0
- package/esm2022/lib/forms/shared/components/form-viewonly/form-viewonly.component.mjs +50 -0
- package/esm2022/lib/forms/shared/helpers/forms-options.helpers.mjs +21 -0
- package/esm2022/lib/forms/shared/helpers/forms.helpers.mjs +87 -0
- package/esm2022/lib/forms/shared/helpers/has-validators.helpers.mjs +10 -0
- package/esm2022/lib/forms/shared/services/action-emitter.service.mjs +17 -0
- package/esm2022/lib/forms/shared/services/form-keyboard.service.mjs +52 -0
- package/esm2022/lib/forms/shared/services/form-options.service.mjs +102 -0
- package/esm2022/lib/forms/shared/services/options-resolver.registry.mjs +32 -0
- package/esm2022/lib/forms/shared/validators/validators.mjs +247 -0
- package/esm2022/lib/forms/switches/switch/switch.component.mjs +102 -0
- package/esm2022/lib/forms/switches/switches-service/switches.service.mjs +67 -0
- package/esm2022/lib/forms/switches/switches.component.mjs +300 -0
- package/esm2022/lib/forms/textarea/textarea.component.mjs +296 -0
- package/esm2022/lib/grid/__mocks__/mock-column.directive.mjs +17 -0
- package/esm2022/lib/grid/__mocks__/mock-columns.directive.mjs +26 -0
- package/esm2022/lib/grid/__mocks__/mock-grid.module.mjs +18 -0
- package/esm2022/lib/grid/directives/column-auto-fill.directive.mjs +54 -0
- package/esm2022/lib/grid/directives/column-break-before.directive.mjs +55 -0
- package/esm2022/lib/grid/directives/column-disable-responsive-colspans.directive.mjs +60 -0
- package/esm2022/lib/grid/directives/column-full-grid-width.directive.mjs +56 -0
- package/esm2022/lib/grid/directives/column-next-in-same-row.directive.mjs +79 -0
- package/esm2022/lib/grid/directives/column.directive.mjs +91 -0
- package/esm2022/lib/grid/directives/columns-disable-auto-fill.directive.mjs +55 -0
- package/esm2022/lib/grid/directives/columns-disable-responsive-colspans.directive.mjs +56 -0
- package/esm2022/lib/grid/directives/columns-max.directive.mjs +67 -0
- package/esm2022/lib/grid/directives/columns.directive.mjs +83 -0
- package/esm2022/lib/grid/grid.component.mjs +67 -0
- package/esm2022/lib/grid/grid.module.mjs +77 -0
- package/esm2022/lib/grid/model/grid-config.interface.mjs +2 -0
- package/esm2022/lib/grid/model/subgrid-config.interface.mjs +2 -0
- package/esm2022/lib/grid/services/grid-auto-fill.service.mjs +165 -0
- package/esm2022/lib/grid/services/grid.service.mjs +22 -0
- package/esm2022/lib/grid/subgrid/subgrid.component.mjs +77 -0
- package/esm2022/lib/helpers/html-plaintext.helper.mjs +11 -0
- package/esm2022/lib/helpers/language.helper.mjs +5 -0
- package/esm2022/lib/helpers/load-javascript-asset.helper.mjs +10 -0
- package/esm2022/lib/helpers/relative-time.helper.mjs +22 -0
- package/esm2022/lib/icon/__mocks__/mock-icon.component.mjs +36 -0
- package/esm2022/lib/icon/__mocks__/mock-icon.module.mjs +17 -0
- package/esm2022/lib/icon/custom-icons/logo.mjs +201 -0
- package/esm2022/lib/icon/icon/icon-definitions.mjs +287 -0
- package/esm2022/lib/icon/icon/icon.component.mjs +78 -0
- package/esm2022/lib/icon/icon.module.mjs +19 -0
- package/esm2022/lib/image/__mocks__/mock-image.component.mjs +30 -0
- package/esm2022/lib/image/__mocks__/mock-image.module.mjs +17 -0
- package/esm2022/lib/image/image/image.component.mjs +83 -0
- package/esm2022/lib/image/image.module.mjs +21 -0
- package/esm2022/lib/layout/__mocks__/mock-action-bar.component.mjs +37 -0
- package/esm2022/lib/layout/__mocks__/mock-active-content-tab.directive.mjs +18 -0
- package/esm2022/lib/layout/__mocks__/mock-button-enabled.directive.mjs +21 -0
- package/esm2022/lib/layout/__mocks__/mock-layout-container.component.mjs +14 -0
- package/esm2022/lib/layout/__mocks__/mock-layout-renderer.component.mjs +37 -0
- package/esm2022/lib/layout/__mocks__/mock-layout.module.mjs +97 -0
- package/esm2022/lib/layout/__mocks__/mock-page-process-header-title.component.mjs +14 -0
- package/esm2022/lib/layout/__mocks__/mock-page-process-header.component.mjs +66 -0
- package/esm2022/lib/layout/__mocks__/mock-page-title.component.mjs +16 -0
- package/esm2022/lib/layout/__mocks__/mock-panel-title.component.mjs +18 -0
- package/esm2022/lib/layout/__mocks__/mock-panel.component.mjs +24 -0
- package/esm2022/lib/layout/__mocks__/mock-truncated-text.directive.mjs +43 -0
- package/esm2022/lib/layout/action-bar/action-bar.component.mjs +78 -0
- package/esm2022/lib/layout/action-bar/button-enabled.directive.mjs +63 -0
- package/esm2022/lib/layout/container/container.component.mjs +153 -0
- package/esm2022/lib/layout/content/page-process-header/page-process-header/page-process-header.component.mjs +181 -0
- package/esm2022/lib/layout/content/page-process-header/page-process-header-title/page-process-header-title.component.mjs +17 -0
- package/esm2022/lib/layout/content/page-title/page-title.component.mjs +37 -0
- package/esm2022/lib/layout/directives/active-content-tab.directive.mjs +55 -0
- package/esm2022/lib/layout/directives/calculate-full-height.directive.mjs +57 -0
- package/esm2022/lib/layout/directives/viewport-adaptive.directive.mjs +25 -0
- package/esm2022/lib/layout/force-line-break/force-line-break.directive.mjs +17 -0
- package/esm2022/lib/layout/interfaces/process-list.mjs +2 -0
- package/esm2022/lib/layout/layout-renderer/layout-renderer.component.mjs +79 -0
- package/esm2022/lib/layout/layout.module.mjs +175 -0
- package/esm2022/lib/layout/modal-fullscreen-container/modal-fullscreen-container.component.mjs +157 -0
- package/esm2022/lib/layout/panel/container/panel.component.mjs +80 -0
- package/esm2022/lib/layout/panel/title/panel-title.component.mjs +50 -0
- package/esm2022/lib/layout/panel/types/panel-types.mjs +2 -0
- package/esm2022/lib/layout/service/layout.service.mjs +42 -0
- package/esm2022/lib/layout/service/panel.service.mjs +43 -0
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-caption.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-container.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-header.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-item.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-container-pairs-value.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-list.module.mjs +86 -0
- package/esm2022/lib/lists/__mocks__/mock-status-error.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-status-pairs-caption.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-status-pairs-item.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-status-pairs-value.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-status-pairs.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-vertical-pairs-caption.component.mjs +18 -0
- package/esm2022/lib/lists/__mocks__/mock-vertical-pairs-item.component.mjs +14 -0
- package/esm2022/lib/lists/__mocks__/mock-vertical-pairs-value.component.mjs +18 -0
- package/esm2022/lib/lists/__mocks__/mock-vertical-pairs.component.mjs +14 -0
- package/esm2022/lib/lists/list.module.mjs +111 -0
- package/esm2022/lib/lists/model/list.interface.mjs +2 -0
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-caption/container-pairs-caption.component.mjs +16 -0
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-container/container-pairs-container.component.mjs +30 -0
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-header/container-pairs-header.component.mjs +16 -0
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-item/container-pairs-item.component.mjs +17 -0
- package/esm2022/lib/lists/pairs/container-pairs/container-pairs-value/container-pairs-value.component.mjs +16 -0
- package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-caption/horizontal-pairs-caption.component.mjs +16 -0
- package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-container/horizontal-pairs.component.mjs +41 -0
- package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-item/horizontal-pairs-item.component.mjs +17 -0
- package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-value/horizontal-pairs-value.component.mjs +16 -0
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-caption/status-pairs-caption.component.mjs +16 -0
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-container/status-pairs.component.mjs +65 -0
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-error/status-pairs-error.component.mjs +29 -0
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-item/status-pairs-item.component.mjs +29 -0
- package/esm2022/lib/lists/pairs/status-pairs/status-pairs-value/status-pairs-value.component.mjs +16 -0
- package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-caption/vertical-pairs-caption.component.mjs +16 -0
- package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-container/vertical-pairs.component.mjs +41 -0
- package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-item/vertical-pairs-item.component.mjs +27 -0
- package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-value/vertical-pairs-value.component.mjs +16 -0
- package/esm2022/lib/master-layout/__mocks__/mock-header-widget.component.mjs +45 -0
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout-banner.component.mjs +14 -0
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout-footer.component.mjs +14 -0
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout-header.component.mjs +43 -0
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout.component.mjs +27 -0
- package/esm2022/lib/master-layout/__mocks__/mock-master-layout.module.mjs +43 -0
- package/esm2022/lib/master-layout/header-widget/header-widget.component.mjs +164 -0
- package/esm2022/lib/master-layout/master-layout/master-layout.component.mjs +132 -0
- package/esm2022/lib/master-layout/master-layout-banner/master-layout-banner.component.mjs +47 -0
- package/esm2022/lib/master-layout/master-layout-footer/master-layout-footer.component.mjs +20 -0
- package/esm2022/lib/master-layout/master-layout-header/master-layout-header.component.mjs +98 -0
- package/esm2022/lib/master-layout/master-layout.module.mjs +82 -0
- package/esm2022/lib/master-layout/model/page-level.mjs +7 -0
- package/esm2022/lib/master-layout/model/service-navigation.mjs +2 -0
- package/esm2022/lib/master-layout/service/language-from-url.service.mjs +63 -0
- package/esm2022/lib/master-layout/service/master-layout.service.mjs +43 -0
- package/esm2022/lib/master-layout/service-navigation/service-navigation.component.mjs +21 -0
- package/esm2022/lib/navigation/stepper/__mocks__/mock-step-action.component.mjs +49 -0
- package/esm2022/lib/navigation/stepper/__mocks__/mock-step-item.component.mjs +53 -0
- package/esm2022/lib/navigation/stepper/__mocks__/mock-step.component.mjs +50 -0
- package/esm2022/lib/navigation/stepper/__mocks__/mock-stepper.component.mjs +25 -0
- package/esm2022/lib/navigation/stepper/__mocks__/mock-stepper.module.mjs +22 -0
- package/esm2022/lib/navigation/stepper/interfaces/stepper.mjs +2 -0
- package/esm2022/lib/navigation/stepper/step/step.component.mjs +182 -0
- package/esm2022/lib/navigation/stepper/step-action/step-action.component.mjs +73 -0
- package/esm2022/lib/navigation/stepper/step-item/step-item.component.mjs +108 -0
- package/esm2022/lib/navigation/stepper/stepper/stepper.component.mjs +368 -0
- package/esm2022/lib/navigation/stepper/stepper.module.mjs +27 -0
- package/esm2022/lib/navigation/tab-bar/__mocks__/mock-tab-bar.module.mjs +20 -0
- package/esm2022/lib/navigation/tab-bar/__mocks__/mock-tab-link.component.mjs +23 -0
- package/esm2022/lib/navigation/tab-bar/__mocks__/mock-tab-nav-bar.component.mjs +15 -0
- package/esm2022/lib/navigation/tab-bar/tab-bar.module.mjs +21 -0
- package/esm2022/lib/navigation/tab-bar/tab-link/tab-link.component.mjs +52 -0
- package/esm2022/lib/navigation/tab-bar/tab-nav-bar/tab-nav-bar.component.mjs +17 -0
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tab-action.component.mjs +34 -0
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tab-item.component.mjs +51 -0
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tab-pending-tasks.component.mjs +29 -0
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tab.component.mjs +54 -0
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tabs-page-leave-handler.component.mjs +25 -0
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tabs.component.mjs +43 -0
- package/esm2022/lib/navigation/tabs/__mocks__/mock-tabs.module.mjs +48 -0
- package/esm2022/lib/navigation/tabs/interfaces/tabs.interface.mjs +2 -0
- package/esm2022/lib/navigation/tabs/services/tabs.service.mjs +72 -0
- package/esm2022/lib/navigation/tabs/tab/tab.component.mjs +135 -0
- package/esm2022/lib/navigation/tabs/tab-action/tab-action.component.mjs +33 -0
- package/esm2022/lib/navigation/tabs/tab-item/tab-item.component.mjs +92 -0
- package/esm2022/lib/navigation/tabs/tab-pending-tasks/tab-pending-tasks.component.mjs +36 -0
- package/esm2022/lib/navigation/tabs/tabs/tabs.component.mjs +245 -0
- package/esm2022/lib/navigation/tabs/tabs.module.mjs +51 -0
- package/esm2022/lib/navigation-tiles/__mocks__/mock-navigation-tile.component.mjs +21 -0
- package/esm2022/lib/navigation-tiles/__mocks__/mock-navigation-tiles.component.mjs +14 -0
- package/esm2022/lib/navigation-tiles/__mocks__/mock-navigation-tiles.module.mjs +18 -0
- package/esm2022/lib/navigation-tiles/navigation-tile/navigation-tile.component.mjs +42 -0
- package/esm2022/lib/navigation-tiles/navigation-tiles/navigation-tiles.component.mjs +23 -0
- package/esm2022/lib/navigation-tiles/navigation-tiles.module.mjs +22 -0
- package/esm2022/lib/notifications/__mocks__/mock-notification.component.mjs +29 -0
- package/esm2022/lib/notifications/__mocks__/mock-notification.content.component.mjs +15 -0
- package/esm2022/lib/notifications/__mocks__/mock-notifications-service.service.mjs +32 -0
- package/esm2022/lib/notifications/__mocks__/mock-notifications.component.mjs +17 -0
- package/esm2022/lib/notifications/__mocks__/mock-notifications.module.mjs +24 -0
- package/esm2022/lib/notifications/directives/snackbar-listener.directive.mjs +70 -0
- package/esm2022/lib/notifications/interfaces/notifications.mjs +2 -0
- package/esm2022/lib/notifications/notification/notification.component.mjs +547 -0
- package/esm2022/lib/notifications/notification-content/notification-content.component.mjs +14 -0
- package/esm2022/lib/notifications/notifications/notifications.component.mjs +35 -0
- package/esm2022/lib/notifications/notifications.module.mjs +47 -0
- package/esm2022/lib/notifications/services/notifications-http-interceptor.service.mjs +111 -0
- package/esm2022/lib/notifications/services/notifications-service.service.mjs +122 -0
- package/esm2022/lib/notifications/services/os-notifications/desktop-notifications.service.mjs +85 -0
- package/esm2022/lib/notifications/services/os-notifications/os-notifications.service.mjs +29 -0
- package/esm2022/lib/notifications/services/snackbar.service.mjs +65 -0
- package/esm2022/lib/notifications/snackbar/snackbar.component.mjs +25 -0
- package/esm2022/lib/page/__mocks__/mock-page-footer.component.mjs +14 -0
- package/esm2022/lib/page/__mocks__/mock-page-header.component.mjs +14 -0
- package/esm2022/lib/page/__mocks__/mock-page.component.mjs +19 -0
- package/esm2022/lib/page/__mocks__/mock-page.module.mjs +21 -0
- package/esm2022/lib/page/cancel-confirmation-dialog/page-cancel-confirmation-dialog.component.mjs +38 -0
- package/esm2022/lib/page/control-panel/page-control-panel.component.mjs +55 -0
- package/esm2022/lib/page/footer/page-footer-custom-content.directive.mjs +25 -0
- package/esm2022/lib/page/footer/page-footer.component.mjs +30 -0
- package/esm2022/lib/page/info-banner/page-info-banner.component.mjs +124 -0
- package/esm2022/lib/page/model/page-config.interface.mjs +2 -0
- package/esm2022/lib/page/model/page-control-panel-config.interface.mjs +2 -0
- package/esm2022/lib/page/model/page-footer-action.interface.mjs +9 -0
- package/esm2022/lib/page/model/page-header-facet.interface.mjs +2 -0
- package/esm2022/lib/page/model/page-info-banner.interface.mjs +2 -0
- package/esm2022/lib/page/model/page-object-resolver.mjs +6 -0
- package/esm2022/lib/page/object-header/context-select-dialog/context-select-dialog.component.mjs +95 -0
- package/esm2022/lib/page/object-header/dynamic-facet/dynamic-facet.component.mjs +53 -0
- package/esm2022/lib/page/object-header/dynamic-facet/dynamic-facet.directive.mjs +17 -0
- package/esm2022/lib/page/object-header/dynamic-facets.service.mjs +38 -0
- package/esm2022/lib/page/object-header/facets/crititcality-facet/criticality-facet.component.mjs +29 -0
- package/esm2022/lib/page/object-header/facets/date-facet/date-facet.component.mjs +22 -0
- package/esm2022/lib/page/object-header/facets/multi-select-facet/multi-select-facet.component.mjs +27 -0
- package/esm2022/lib/page/object-header/facets/progress-facet/progress-facet.component.mjs +21 -0
- package/esm2022/lib/page/object-header/facets/references-facet/references-facet.component.mjs +22 -0
- package/esm2022/lib/page/object-header/facets/single-select-facet/single-select-facet.component.mjs +27 -0
- package/esm2022/lib/page/object-header/facets/status-facet/status-facet.component.mjs +25 -0
- package/esm2022/lib/page/object-header/facets/value-facet/value-facet.component.mjs +21 -0
- package/esm2022/lib/page/object-header/page-object-header.component.mjs +307 -0
- package/esm2022/lib/page/page.component.mjs +632 -0
- package/esm2022/lib/page/page.module.mjs +168 -0
- package/esm2022/lib/page/shared/directives/connect-form-state-to-page.directive.mjs +91 -0
- package/esm2022/lib/page/shared/services/context.service.mjs +75 -0
- package/esm2022/lib/page/shared/services/form-group-manager.service.mjs +180 -0
- package/esm2022/lib/page/shared/services/page-footer.service.mjs +54 -0
- package/esm2022/lib/page/shared/services/page-store.service.mjs +33 -0
- package/esm2022/lib/page/shared/services/page-submit-action.service.mjs +69 -0
- package/esm2022/lib/page/shared/services/resolver-trigger.service.mjs +57 -0
- package/esm2022/lib/page-stepper/adaptors/page-stepper-adapter.directive.mjs +66 -0
- package/esm2022/lib/page-stepper/cancel-dialog/page-stepper-cancel-dialog.component.mjs +50 -0
- package/esm2022/lib/page-stepper/header/page-step-header.component.mjs +60 -0
- package/esm2022/lib/page-stepper/model/page-step-resolver.token.mjs +3 -0
- package/esm2022/lib/page-stepper/model/page-step.resolver.mjs +2 -0
- package/esm2022/lib/page-stepper/model/qd-page-stepper-config.mjs +2 -0
- package/esm2022/lib/page-stepper/page-step/page-step.component.mjs +79 -0
- package/esm2022/lib/page-stepper/page-stepper.component.mjs +295 -0
- package/esm2022/lib/page-stepper/page-stepper.module.mjs +61 -0
- package/esm2022/lib/page-tabs/adaptors/page-tabs-adapter.directive.mjs +68 -0
- package/esm2022/lib/page-tabs/model/page-tabs-config.mjs +2 -0
- package/esm2022/lib/page-tabs/model/page-tabs-selection-event.mjs +2 -0
- package/esm2022/lib/page-tabs/page-tab/page-tab.component.mjs +84 -0
- package/esm2022/lib/page-tabs/page-tab-header/counter/page-tab-header-counters.component.mjs +33 -0
- package/esm2022/lib/page-tabs/page-tab-header/page-tab-header.component.mjs +57 -0
- package/esm2022/lib/page-tabs/page-tabs.component.mjs +314 -0
- package/esm2022/lib/page-tabs/page-tabs.module.mjs +54 -0
- package/esm2022/lib/panel-section/actions/panel-section-actions.component.mjs +61 -0
- package/esm2022/lib/panel-section/model/panel-section-config.interface.mjs +2 -0
- package/esm2022/lib/panel-section/model/panel-section-status-config.interface.mjs +2 -0
- package/esm2022/lib/panel-section/model/panel-section-text-paragraph-config.interface.mjs +2 -0
- package/esm2022/lib/panel-section/panel-section.component.mjs +98 -0
- package/esm2022/lib/panel-section/panel-section.module.mjs +41 -0
- package/esm2022/lib/panel-section/services/panel-section-action.service.mjs +18 -0
- package/esm2022/lib/panel-section/status/panel-section-status.component.mjs +23 -0
- package/esm2022/lib/panel-section/text-paragraph/panel-section-text-paragraph.component.mjs +19 -0
- package/esm2022/lib/place-holder/__mocks__/mock-place-holder.component.mjs +19 -0
- package/esm2022/lib/place-holder/__mocks__/mock-place-holder.module.mjs +17 -0
- package/esm2022/lib/place-holder/place-holder/place-holder.component.mjs +21 -0
- package/esm2022/lib/place-holder/place-holder.module.mjs +19 -0
- package/esm2022/lib/progress-bar/__mocks__/mock-indeterminate-progress-bar.component.mjs +15 -0
- package/esm2022/lib/progress-bar/__mocks__/mock-percentage-progress-bar.component.mjs +28 -0
- package/esm2022/lib/progress-bar/__mocks__/mock-progress-bar.module.mjs +19 -0
- package/esm2022/lib/progress-bar/indeterminate/indeterminate-progress-bar.component.mjs +14 -0
- package/esm2022/lib/progress-bar/percentage/percentage-progress-bar.component.mjs +51 -0
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +21 -0
- package/esm2022/lib/qd-ui-mock.module.mjs +149 -0
- package/esm2022/lib/qd-ui.module.mjs +233 -0
- package/esm2022/lib/quick-edit/model/quick-edit-config.mjs +2 -0
- package/esm2022/lib/quick-edit/model/quick-edit-data.mjs +2 -0
- package/esm2022/lib/quick-edit/qd-ng-for.directive.mjs +58 -0
- package/esm2022/lib/quick-edit/quick-edit.component.mjs +391 -0
- package/esm2022/lib/quick-edit/quick-edit.module.mjs +62 -0
- package/esm2022/lib/search/__mocks__/mock-search.component.mjs +19 -0
- package/esm2022/lib/search/__mocks__/mock-search.module.mjs +19 -0
- package/esm2022/lib/search/helpers/search-update.helper.mjs +19 -0
- package/esm2022/lib/search/model/search-options.interface.mjs +2 -0
- package/esm2022/lib/search/model/search-post-body.mjs +2 -0
- package/esm2022/lib/search/model/search-store.interface.mjs +2 -0
- package/esm2022/lib/search/search.component.mjs +209 -0
- package/esm2022/lib/search/search.module.mjs +45 -0
- package/esm2022/lib/search/services/search-router-connector.service.mjs +109 -0
- package/esm2022/lib/search/services/search-store.service.mjs +34 -0
- package/esm2022/lib/search/services/search.service.mjs +106 -0
- package/esm2022/lib/search/store/search.actions.mjs +10 -0
- package/esm2022/lib/search/store/search.reducer.mjs +10 -0
- package/esm2022/lib/search/store/search.selector.mjs +8 -0
- package/esm2022/lib/section/__mocks__/mock-section-toolbar.component.mjs +19 -0
- package/esm2022/lib/section/__mocks__/mock-section.component.mjs +19 -0
- package/esm2022/lib/section/__mocks__/mock-section.module.mjs +20 -0
- package/esm2022/lib/section/adaptors/section-adapter.directive.mjs +66 -0
- package/esm2022/lib/section/connectors/table/connector-table-context.directive.mjs +150 -0
- package/esm2022/lib/section/connectors/table/connector-table-filter.directive.mjs +97 -0
- package/esm2022/lib/section/connectors/table/connector-table-search.directive.mjs +91 -0
- package/esm2022/lib/section/model/section-config.interface.mjs +2 -0
- package/esm2022/lib/section/model/toolbar-components.interface.mjs +2 -0
- package/esm2022/lib/section/section.component.mjs +185 -0
- package/esm2022/lib/section/section.module.mjs +77 -0
- package/esm2022/lib/section/services/section-toolbar-action.service.mjs +18 -0
- package/esm2022/lib/section/services/toolbar-components.service.mjs +17 -0
- package/esm2022/lib/section/toolbar/action/section-toolbar-action.component.mjs +158 -0
- package/esm2022/lib/section/toolbar/section-toolbar.component.mjs +59 -0
- package/esm2022/lib/shell/__mocks__/mock-counter-badge.component.mjs +14 -0
- package/esm2022/lib/shell/__mocks__/mock-header-widget-desktop.component.mjs +37 -0
- package/esm2022/lib/shell/__mocks__/mock-header-widget-mobile.component.mjs +37 -0
- package/esm2022/lib/shell/__mocks__/mock-shell-footer.component.mjs +14 -0
- package/esm2022/lib/shell/__mocks__/mock-shell-header-banner.component.mjs +14 -0
- package/esm2022/lib/shell/__mocks__/mock-shell-header-search.component.mjs +14 -0
- package/esm2022/lib/shell/__mocks__/mock-shell-header-widget.component.mjs +18 -0
- package/esm2022/lib/shell/__mocks__/mock-shell-header.component.mjs +19 -0
- package/esm2022/lib/shell/__mocks__/mock-shell-toolbar-item.component.mjs +19 -0
- package/esm2022/lib/shell/__mocks__/mock-shell-toolbar.component.mjs +14 -0
- package/esm2022/lib/shell/__mocks__/mock-shell.component.mjs +19 -0
- package/esm2022/lib/shell/__mocks__/mock-shell.module.mjs +69 -0
- package/esm2022/lib/shell/footer/shell-footer.component.mjs +24 -0
- package/esm2022/lib/shell/header/banner/shell-header-banner.component.mjs +33 -0
- package/esm2022/lib/shell/header/counter-badge/counter-badge.component.mjs +18 -0
- package/esm2022/lib/shell/header/search/shell-header-search.component.mjs +16 -0
- package/esm2022/lib/shell/header/service-navigation/shell-service-navigation.component.mjs +156 -0
- package/esm2022/lib/shell/header/service-navigation/shell-service-navigation.module.mjs +19 -0
- package/esm2022/lib/shell/header/shell-header.component.mjs +193 -0
- package/esm2022/lib/shell/header/toolbar/shell-toolbar.component.mjs +20 -0
- package/esm2022/lib/shell/header/toolbar/toolbar-item/shell-toolbar-item.component.mjs +25 -0
- package/esm2022/lib/shell/header/widget/shell-header-widget.component.mjs +115 -0
- package/esm2022/lib/shell/left/navigation/link/shell-left-navigation-link.component.mjs +27 -0
- package/esm2022/lib/shell/left/navigation/shell-left-navigation.component.mjs +17 -0
- package/esm2022/lib/shell/left/shell-left.component.mjs +29 -0
- package/esm2022/lib/shell/model/default-config.mjs +8 -0
- package/esm2022/lib/shell/model/eportal.interface.mjs +2 -0
- package/esm2022/lib/shell/model/route-data.interface.mjs +2 -0
- package/esm2022/lib/shell/model/shell-config.interface.mjs +2 -0
- package/esm2022/lib/shell/model/shell-footer-copyright-info.interface.mjs +2 -0
- package/esm2022/lib/shell/model/shell-header-widget-config.interface.mjs +2 -0
- package/esm2022/lib/shell/model/shell-navigation-config.interface.mjs +2 -0
- package/esm2022/lib/shell/model/shell-service-navigation-config.interface.mjs +2 -0
- package/esm2022/lib/shell/model/shell-toolbar-config.interface.mjs +2 -0
- package/esm2022/lib/shell/right/notification/shell-notification.component.mjs +95 -0
- package/esm2022/lib/shell/right/notifications/shell-notifications.component.mjs +25 -0
- package/esm2022/lib/shell/right/shell-right.component.mjs +56 -0
- package/esm2022/lib/shell/right/toolbar/shell-right-toolbar.component.mjs +28 -0
- package/esm2022/lib/shell/services/banner.service.mjs +27 -0
- package/esm2022/lib/shell/services/eportal-language.service.mjs +44 -0
- package/esm2022/lib/shell/services/navigation.service.mjs +60 -0
- package/esm2022/lib/shell/services/pams-environment.service.mjs +22 -0
- package/esm2022/lib/shell/services/service-navigation.service.mjs +208 -0
- package/esm2022/lib/shell/services/shell-header-minimization.service.mjs +37 -0
- package/esm2022/lib/shell/services/shell-header-widget.service.mjs +178 -0
- package/esm2022/lib/shell/services/shell-left.service.mjs +27 -0
- package/esm2022/lib/shell/services/shell-right.service.mjs +46 -0
- package/esm2022/lib/shell/shell.component.mjs +199 -0
- package/esm2022/lib/shell/shell.module.mjs +134 -0
- package/esm2022/lib/spinner/spinner.component.mjs +11 -0
- package/esm2022/lib/spinner/spinner.module.mjs +19 -0
- package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator-cpation.component.mjs +14 -0
- package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator-item.component.mjs +22 -0
- package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator.component.mjs +33 -0
- package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator.module.mjs +27 -0
- package/esm2022/lib/status-indicator/interfaces/status-indicator.interface.mjs +2 -0
- package/esm2022/lib/status-indicator/status-indicator/status-indicator.component.mjs +48 -0
- package/esm2022/lib/status-indicator/status-indicator-caption/status-indicator-caption.component.mjs +14 -0
- package/esm2022/lib/status-indicator/status-indicator-item/status-indicator-item.component.mjs +45 -0
- package/esm2022/lib/status-indicator/status-indicator.module.mjs +21 -0
- package/esm2022/lib/table/__mocks__/mock-sort.component.mjs +29 -0
- package/esm2022/lib/table/__mocks__/mock-table-body-plain.component.mjs +27 -0
- package/esm2022/lib/table/__mocks__/mock-table-body-tree.component.mjs +27 -0
- package/esm2022/lib/table/__mocks__/mock-table-data-blank.component.mjs +15 -0
- package/esm2022/lib/table/__mocks__/mock-table-data-boolean.component.mjs +19 -0
- package/esm2022/lib/table/__mocks__/mock-table-data-date.component.mjs +23 -0
- package/esm2022/lib/table/__mocks__/mock-table-data-integer.component.mjs +19 -0
- package/esm2022/lib/table/__mocks__/mock-table-data-link.component.mjs +29 -0
- package/esm2022/lib/table/__mocks__/mock-table-data-progress.component.mjs +19 -0
- package/esm2022/lib/table/__mocks__/mock-table-data-text.component.mjs +26 -0
- package/esm2022/lib/table/__mocks__/mock-table-empty-state.component.mjs +22 -0
- package/esm2022/lib/table/__mocks__/mock-table-head.component.mjs +24 -0
- package/esm2022/lib/table/__mocks__/mock-table-paginator-page-size.directive.mjs +18 -0
- package/esm2022/lib/table/__mocks__/mock-table-paginator.component.mjs +24 -0
- package/esm2022/lib/table/__mocks__/mock-table.component.mjs +33 -0
- package/esm2022/lib/table/__mocks__/mock-table.module.mjs +63 -0
- package/esm2022/lib/table/body/table-body.component.mjs +57 -0
- package/esm2022/lib/table/empty-state/table-empty-state.component.mjs +34 -0
- package/esm2022/lib/table/head/table-head.component.mjs +65 -0
- package/esm2022/lib/table/helpers/spring-tools.mjs +20 -0
- package/esm2022/lib/table/model/connectors-state.enum.mjs +7 -0
- package/esm2022/lib/table/model/paginator-direction.enum.mjs +8 -0
- package/esm2022/lib/table/model/sort-direction.enum.mjs +7 -0
- package/esm2022/lib/table/model/table-config-actions.interface.mjs +2 -0
- package/esm2022/lib/table/model/table-config-content.interface.mjs +2 -0
- package/esm2022/lib/table/model/table-config.interface.mjs +2 -0
- package/esm2022/lib/table/model/table-data-resolver.mjs +10 -0
- package/esm2022/lib/table/model/table-data-resolver.token.mjs +6 -0
- package/esm2022/lib/table/model/table-data.interface.mjs +2 -0
- package/esm2022/lib/table/model/table-row-selection.interface.mjs +2 -0
- package/esm2022/lib/table/model/table-store.interface.mjs +2 -0
- package/esm2022/lib/table/paginator/page-size/table-paginator-page-size.component.mjs +104 -0
- package/esm2022/lib/table/paginator/page-size/table-paginator-page-size.directive.mjs +53 -0
- package/esm2022/lib/table/paginator/scroll-to-pagination.directive.mjs +77 -0
- package/esm2022/lib/table/paginator/table-paginator.component.mjs +128 -0
- package/esm2022/lib/table/row/actions/secondary/menu/table-row-actions-secondary-menu.component.mjs +94 -0
- package/esm2022/lib/table/row/selection/table-row-selection.component.mjs +49 -0
- package/esm2022/lib/table/row/table-row.component.mjs +102 -0
- package/esm2022/lib/table/services/empty-state.service.mjs +25 -0
- package/esm2022/lib/table/services/external-action-result.service.mjs +16 -0
- package/esm2022/lib/table/services/filling-width.service.mjs +174 -0
- package/esm2022/lib/table/services/resolver.service.mjs +82 -0
- package/esm2022/lib/table/services/responsive-row.service.mjs +106 -0
- package/esm2022/lib/table/services/row-selection.service.mjs +60 -0
- package/esm2022/lib/table/services/secondary-actions.service.mjs +18 -0
- package/esm2022/lib/table/sort/table-sort.component.mjs +126 -0
- package/esm2022/lib/table/store/table-store-selector.service.mjs +123 -0
- package/esm2022/lib/table/store/table-store.service.mjs +138 -0
- package/esm2022/lib/table/store/table-update.helper.mjs +81 -0
- package/esm2022/lib/table/store/table.actions.mjs +40 -0
- package/esm2022/lib/table/store/table.reducer.mjs +21 -0
- package/esm2022/lib/table/table.component.mjs +472 -0
- package/esm2022/lib/table/table.module.mjs +105 -0
- package/esm2022/lib/text-section/__mocks__/mock-text-section-headline.component.mjs +14 -0
- package/esm2022/lib/text-section/__mocks__/mock-text-section-paragraph.component.mjs +14 -0
- package/esm2022/lib/text-section/__mocks__/mock-text-section.component.mjs +14 -0
- package/esm2022/lib/text-section/__mocks__/mock-text-section.module.mjs +19 -0
- package/esm2022/lib/text-section/text-section-headline/text-section-headline.component.mjs +16 -0
- package/esm2022/lib/text-section/text-section-paragraph/text-section-paragraph.component.mjs +16 -0
- package/esm2022/lib/text-section/text-section.component.mjs +28 -0
- package/esm2022/lib/text-section/text-section.module.mjs +21 -0
- package/esm2022/lib/tiles/__mocks__/mock-tile-button-list.component.mjs +14 -0
- package/esm2022/lib/tiles/__mocks__/mock-tile-text-list-item.component.mjs +14 -0
- package/esm2022/lib/tiles/__mocks__/mock-tile-text-list.component.mjs +14 -0
- package/esm2022/lib/tiles/__mocks__/mock-tile-title.component.mjs +14 -0
- package/esm2022/lib/tiles/__mocks__/mock-tile.component.mjs +18 -0
- package/esm2022/lib/tiles/__mocks__/mock-tiles-container-title.component.mjs +14 -0
- package/esm2022/lib/tiles/__mocks__/mock-tiles-container.component.mjs +18 -0
- package/esm2022/lib/tiles/__mocks__/mock-tiles.module.mjs +51 -0
- package/esm2022/lib/tiles/model/tile-config.mjs +2 -0
- package/esm2022/lib/tiles/model/tiles-config.mjs +2 -0
- package/esm2022/lib/tiles/tile/tile.component.mjs +42 -0
- package/esm2022/lib/tiles/tile-button-list/tile-button-list.component.mjs +15 -0
- package/esm2022/lib/tiles/tile-text-list/tile-text-list.component.mjs +11 -0
- package/esm2022/lib/tiles/tile-text-list-item/tile-text-list-item.component.mjs +11 -0
- package/esm2022/lib/tiles/tile-title/tile-title.component.mjs +11 -0
- package/esm2022/lib/tiles/tiles-title/tiles-title.component.mjs +11 -0
- package/esm2022/lib/tiles/tiles.component.mjs +22 -0
- package/esm2022/lib/tiles/tiles.module.mjs +55 -0
- package/esm2022/lib/tree/body/tree-body.component.mjs +46 -0
- package/esm2022/lib/tree/empty-state/tree-empty-state.component.mjs +34 -0
- package/esm2022/lib/tree/error/grouped-indices-not-consecutive.error.mjs +7 -0
- package/esm2022/lib/tree/head/tree-head.component.mjs +64 -0
- package/esm2022/lib/tree/model/tree-column-detail.interface.mjs +2 -0
- package/esm2022/lib/tree/model/tree-config-actions.interface.mjs +2 -0
- package/esm2022/lib/tree/model/tree-config.interface.mjs +2 -0
- package/esm2022/lib/tree/model/tree-data.interface.mjs +2 -0
- package/esm2022/lib/tree/row/actions/secondary/menu/tree-row-actions-secondary-menu.component.mjs +98 -0
- package/esm2022/lib/tree/row/tree-row.component.mjs +85 -0
- package/esm2022/lib/tree/services/row-expander.service.mjs +117 -0
- package/esm2022/lib/tree/services/tree-group.service.mjs +87 -0
- package/esm2022/lib/tree/services/tree-rows.service.mjs +151 -0
- package/esm2022/lib/tree/tree.component.mjs +244 -0
- package/esm2022/lib/tree/tree.module.mjs +80 -0
- package/esm2022/public-api.mjs +79 -0
- package/esm2022/quadrel-ui-qd-ui.mjs +5 -0
- package/fesm2022/quadrel-ui-qd-ui.mjs +37960 -0
- package/fesm2022/quadrel-ui-qd-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/button/__mocks__/mock-button-grid.component.d.ts +5 -0
- package/lib/button/__mocks__/mock-button-stack-button.component.d.ts +7 -0
- package/lib/button/__mocks__/mock-button-stack.component.d.ts +5 -0
- package/lib/button/__mocks__/mock-button.component.d.ts +10 -0
- package/lib/button/__mocks__/mock-button.directives.d.ts +9 -0
- package/lib/button/__mocks__/mock-button.module.d.ts +20 -0
- package/lib/button/__mocks__/mock-icon-button.component.d.ts +7 -0
- package/lib/button/button/additional-info/button-additional-info.component.d.ts +14 -0
- package/lib/button/button/button.component.d.ts +40 -0
- package/lib/button/button-grid/button-grid.component.d.ts +10 -0
- package/lib/button/button-stack/button-stack-button/button-stack-button.component.d.ts +23 -0
- package/lib/button/button-stack/button-stack-container/button-stack.component.d.ts +16 -0
- package/lib/button/button.module.d.ts +31 -0
- package/lib/button/directives/button.directives.d.ts +24 -0
- package/lib/button/icon-button/icon-button.component.d.ts +25 -0
- package/lib/button/menu-button/menu-button.component.d.ts +57 -0
- package/lib/button/model/button-config.d.ts +75 -0
- package/lib/button/model/button.types.d.ts +1 -0
- package/lib/chips/__mocks__/mock-chip.component.d.ts +14 -0
- package/lib/chips/__mocks__/mock-chips.module.d.ts +10 -0
- package/lib/chips/chip/chip.component.d.ts +42 -0
- package/lib/chips/chips.module.d.ts +12 -0
- package/lib/chips/interfaces/chip.interface.d.ts +2 -0
- package/lib/comments/add-comment/add-comment-dialog.component.d.ts +29 -0
- package/lib/comments/comments.component.d.ts +21 -0
- package/lib/comments/comments.module.d.ts +22 -0
- package/lib/comments/menu/comment-menu.component.d.ts +8 -0
- package/lib/comments/model/comments.interface.d.ts +192 -0
- package/lib/comments/pipes/stripe-html.pipe.d.ts +7 -0
- package/lib/contact-card/__mocks__/mock-contact-card.component.d.ts +7 -0
- package/lib/contact-card/__mocks__/mock-contact-card.module.d.ts +10 -0
- package/lib/contact-card/contact-card.component.d.ts +166 -0
- package/lib/contact-card/contact-card.module.d.ts +16 -0
- package/lib/contact-card/menu/contact-card-menu.component.d.ts +31 -0
- package/lib/contact-card/model/contact-card-actions-config.interface.d.ts +43 -0
- package/lib/contact-card/model/contact-data.interface.d.ts +162 -0
- package/lib/container/__mocks__/mock-action-footer.component.d.ts +5 -0
- package/lib/container/__mocks__/mock-container-create-content.component.d.ts +9 -0
- package/lib/container/__mocks__/mock-container-create-default.component.d.ts +7 -0
- package/lib/container/__mocks__/mock-container-section.component.d.ts +7 -0
- package/lib/container/__mocks__/mock-container-toolbar-action.component.d.ts +16 -0
- package/lib/container/__mocks__/mock-container-toolbar-filter.component.d.ts +5 -0
- package/lib/container/__mocks__/mock-container-toolbar-title.component.d.ts +5 -0
- package/lib/container/__mocks__/mock-container-toolbar.component.d.ts +8 -0
- package/lib/container/__mocks__/mock-container.component.d.ts +17 -0
- package/lib/container/__mocks__/mock-container.module.d.ts +30 -0
- package/lib/container/__mocks__/mock-create-delete-alert.component.d.ts +7 -0
- package/lib/container/__mocks__/mock-form-group.component.d.ts +14 -0
- package/lib/container/container.component.d.ts +86 -0
- package/lib/container/container.module.d.ts +31 -0
- package/lib/container/model/container-type.d.ts +12 -0
- package/lib/container/model/toolbar.interface.d.ts +40 -0
- package/lib/container/section/container-section.component.d.ts +22 -0
- package/lib/container/section/header/container-section-header.component.d.ts +10 -0
- package/lib/container/section/info/container-section-info.component.d.ts +8 -0
- package/lib/container/services/container-action.service.d.ts +10 -0
- package/lib/container/services/container-layout.service.d.ts +20 -0
- package/lib/container/toolbar/action/container-toolbar-action.component.d.ts +45 -0
- package/lib/container/toolbar/container-toolbar.component.d.ts +26 -0
- package/lib/container/toolbar/filter/container-toolbar-filter.component.d.ts +11 -0
- package/lib/container/toolbar/title/container-toolbar-title.component.d.ts +10 -0
- package/lib/content-grid/__mocks__/mock-content-grid-column.d.ts +5 -0
- package/lib/content-grid/__mocks__/mock-content-grid-row.d.ts +5 -0
- package/lib/content-grid/__mocks__/mock-content-grid.d.ts +5 -0
- package/lib/content-grid/__mocks__/mock-content-grid.module.d.ts +13 -0
- package/lib/content-grid/content-grid/content-grid.component.d.ts +15 -0
- package/lib/content-grid/content-grid-column/content-grid-column.component.d.ts +11 -0
- package/lib/content-grid/content-grid-row/content-grid-row.component.d.ts +12 -0
- package/lib/content-grid/content-grid.module.d.ts +14 -0
- package/lib/core/__mocks__/mock-breakpoint.service.d.ts +5 -0
- package/lib/core/__mocks__/mock-core.module.d.ts +18 -0
- package/lib/core/__mocks__/mock-disabled.directive.d.ts +5 -0
- package/lib/core/__mocks__/mock-popover-on-click.directive.d.ts +33 -0
- package/lib/core/__mocks__/mock-rwd-disabled.directive.d.ts +5 -0
- package/lib/core/__mocks__/mock-translate.pipe.d.ts +7 -0
- package/lib/core/__mocks__/mock-visually-hidden.directive.d.ts +5 -0
- package/lib/core/autofocus/autofocus.directive.d.ts +13 -0
- package/lib/core/autofocus/autofocus.module.d.ts +8 -0
- package/lib/core/autofocus/autofocus.service.d.ts +8 -0
- package/lib/core/breadcrumbs/breadcrumbs.component.d.ts +124 -0
- package/lib/core/breadcrumbs/breadcrumbs.module.d.ts +11 -0
- package/lib/core/breadcrumbs/model/breadcrumbs.interface.d.ts +26 -0
- package/lib/core/breadcrumbs/services/breadcrumbs.service.d.ts +20 -0
- package/lib/core/breadcrumbs/services/dialog-breadcrumbs.service.d.ts +7 -0
- package/lib/core/core.module.d.ts +28 -0
- package/lib/core/data-facets/blank/data-facets-blank.component.d.ts +14 -0
- package/lib/core/data-facets/boolean/data-facets-boolean.component.d.ts +12 -0
- package/lib/core/data-facets/chip/data-facets-chip.component.d.ts +27 -0
- package/lib/core/data-facets/chip/data-facets-chip.interfaces.d.ts +43 -0
- package/lib/core/data-facets/chip/truncated-indicator/data-facets-chip-truncated-indicator.component.d.ts +30 -0
- package/lib/core/data-facets/chip/truncated-tooltip/data-facets-chip-truncated-tooltip.component.d.ts +38 -0
- package/lib/core/data-facets/currency/data-facets-currency.component.d.ts +26 -0
- package/lib/core/data-facets/currency/data-facets-currency.interfaces.d.ts +17 -0
- package/lib/core/data-facets/data-facets-context.service.d.ts +12 -0
- package/lib/core/data-facets/data-facets.model.d.ts +36 -0
- package/lib/core/data-facets/data-facets.module.d.ts +32 -0
- package/lib/core/data-facets/date/data-facets-date.component.d.ts +33 -0
- package/lib/core/data-facets/date/data-facets-date.interfaces.d.ts +47 -0
- package/lib/core/data-facets/icon/data-facets-icon.component.d.ts +12 -0
- package/lib/core/data-facets/integer/data-facets-integer.component.d.ts +12 -0
- package/lib/core/data-facets/link/data-facets-link.component.d.ts +24 -0
- package/lib/core/data-facets/link/data-facets-link.interfaces.d.ts +49 -0
- package/lib/core/data-facets/progress/data-facets-progress.component.d.ts +17 -0
- package/lib/core/data-facets/status/data-facets-status.component.d.ts +13 -0
- package/lib/core/data-facets/status/data-facets-status.interfaces.d.ts +14 -0
- package/lib/core/data-facets/text/data-facets-text.component.d.ts +19 -0
- package/lib/core/data-facets/text/data-facets-text.interfaces.d.ts +17 -0
- package/lib/core/disabled/disabled.directive.d.ts +5 -0
- package/lib/core/focusable/focusable.d.ts +9 -0
- package/lib/core/focusable/focusable.directive.d.ts +9 -0
- package/lib/core/focusable/focusable.module.d.ts +7 -0
- package/lib/core/focusable/focusable.token.d.ts +5 -0
- package/lib/core/model/app-enviroment.interface.d.ts +32 -0
- package/lib/core/model/app-enviroment.token.d.ts +4 -0
- package/lib/core/model/breakpoint.interface.d.ts +9 -0
- package/lib/core/model/translation.interface.d.ts +20 -0
- package/lib/core/pipes/file-size.pipe.d.ts +10 -0
- package/lib/core/pipes/placeholder.pipe.d.ts +7 -0
- package/lib/core/pipes/placeholders.pipe.d.ts +9 -0
- package/lib/core/pipes/sanitize-html.pipe.d.ts +10 -0
- package/lib/core/popover/popover/popover.component.d.ts +22 -0
- package/lib/core/popover/popover-on-click/popover-on-click.directive.d.ts +54 -0
- package/lib/core/popover/popover-on-hover/popover-on-hover.directive.d.ts +26 -0
- package/lib/core/popover/popover-parent.service.d.ts +7 -0
- package/lib/core/popover/popover-sizing.service.d.ts +62 -0
- package/lib/core/popover/popover-top-first.token.d.ts +2 -0
- package/lib/core/popover/popover.module.d.ts +10 -0
- package/lib/core/popover/popover.service.d.ts +11 -0
- package/lib/core/projection-guard/projection-guard.component.d.ts +13 -0
- package/lib/core/rwd-disabled/rwd-disabled.directive.d.ts +5 -0
- package/lib/core/rxjs/delay-and-hold.operator.d.ts +51 -0
- package/lib/core/services/breakpoint.service.d.ts +18 -0
- package/lib/core/services/element.service.d.ts +6 -0
- package/lib/core/services/event-broker.service.d.ts +55 -0
- package/lib/core/services/push-events.service.d.ts +77 -0
- package/lib/core/services/scrolling.service.d.ts +14 -0
- package/lib/core/services/translate.service.d.ts +15 -0
- package/lib/core/tools/constantCase.tools.d.ts +1 -0
- package/lib/core/tools/convertPxToRem.tools.d.ts +1 -0
- package/lib/core/tooltip/model/tooltip-content.interface.d.ts +17 -0
- package/lib/core/tooltip/tooltip/tooltip.component.d.ts +9 -0
- package/lib/core/tooltip/tooltip-at-intersection/tooltip-at-intersection.directive.d.ts +36 -0
- package/lib/core/tooltip/tooltip-on-tap-hover/tooltip-on-click.directive.d.ts +23 -0
- package/lib/core/tooltip/tooltip.module.d.ts +11 -0
- package/lib/core/types/utility.types.d.ts +2 -0
- package/lib/core/visually-hidden/visually-hidden.directive.d.ts +5 -0
- package/lib/dialog/action/dialog-action.component.d.ts +5 -0
- package/lib/dialog/auth-session-end/dialog-auth-session-end.component.d.ts +15 -0
- package/lib/dialog/confirmation/dialog-confirmation.component.d.ts +121 -0
- package/lib/dialog/dialog.component.d.ts +60 -0
- package/lib/dialog/dialog.module.d.ts +36 -0
- package/lib/dialog/models/confirmation.model.d.ts +116 -0
- package/lib/dialog/models/dialog-config.model.d.ts +50 -0
- package/lib/dialog/models/record-stepper.model.d.ts +25 -0
- package/lib/dialog/models/session-end-result.model.d.ts +13 -0
- package/lib/dialog/page-dialog-with-breadcrumbs/page-dialog-with-breadcrumbs.component.d.ts +5 -0
- package/lib/dialog/record-stepper/dialog-record-stepper.component.d.ts +33 -0
- package/lib/dialog/services/dialog-auth-session-end.service.d.ts +20 -0
- package/lib/dialog/services/dialog.service.d.ts +49 -0
- package/lib/file-collector/__mocks__/mock-file-collector-dialog-item-error.component.d.ts +7 -0
- package/lib/file-collector/__mocks__/mock-file-collector-dialog-item-progress.component.d.ts +7 -0
- package/lib/file-collector/__mocks__/mock-file-collector-dialog-item.component.d.ts +10 -0
- package/lib/file-collector/__mocks__/mock-file-collector-item-name.component.d.ts +7 -0
- package/lib/file-collector/__mocks__/mock-file-collector-item-size.component.d.ts +7 -0
- package/lib/file-collector/__mocks__/mock-file-collector-item-tools.component.d.ts +13 -0
- package/lib/file-collector/__mocks__/mock-file-collector-item.component.d.ts +15 -0
- package/lib/file-collector/__mocks__/mock-file-collector.component.d.ts +5 -0
- package/lib/file-collector/__mocks__/mock-file-collector.module.d.ts +17 -0
- package/lib/file-collector/allowed-files-description/file-collector-allowed-files-description.component.d.ts +13 -0
- package/lib/file-collector/dialog/file-collector-dialog.component.d.ts +17 -0
- package/lib/file-collector/dialog/item/error/file-collector-dialog-item-error.component.d.ts +15 -0
- package/lib/file-collector/dialog/item/file-collector-dialog-item.component.d.ts +13 -0
- package/lib/file-collector/dialog/item/progress/file-collector-dialog-item-progress.component.d.ts +21 -0
- package/lib/file-collector/file-collector.component.d.ts +131 -0
- package/lib/file-collector/file-collector.module.d.ts +36 -0
- package/lib/file-collector/file-delete-dialog/file-delete-dialog.component.d.ts +13 -0
- package/lib/file-collector/item/file-collector-item.component.d.ts +15 -0
- package/lib/file-collector/item/name/file-collector-item-name.component.d.ts +6 -0
- package/lib/file-collector/item/size/file-collector-item-size.component.d.ts +6 -0
- package/lib/file-collector/item/tools/file-collector-item-tools.component.d.ts +23 -0
- package/lib/file-collector/item/upload-timestamp/upload-timestamp.component.d.ts +6 -0
- package/lib/file-collector/models/collected-file.d.ts +32 -0
- package/lib/file-collector/models/file-collector-config.d.ts +75 -0
- package/lib/file-collector/models/file-manager-token.d.ts +2 -0
- package/lib/file-collector/models/file-manager.d.ts +17 -0
- package/lib/file-collector/models/file-type.d.ts +6 -0
- package/lib/file-collector/models/file-upload.d.ts +14 -0
- package/lib/file-collector/models/upload-progress.d.ts +32 -0
- package/lib/file-collector/pipes/filesize.pipe.d.ts +9 -0
- package/lib/file-collector/pipes/upload-timestamp.pipe.d.ts +10 -0
- package/lib/file-collector/services/file-collector-validation.service.d.ts +13 -0
- package/lib/file-collector/services/file-collector.service.d.ts +21 -0
- package/lib/file-collector/services/file-type.service.d.ts +10 -0
- package/lib/filter/__mocks__/mock-filter-category-boolean.d.ts +9 -0
- package/lib/filter/__mocks__/mock-filter-category-date-range.d.ts +11 -0
- package/lib/filter/__mocks__/mock-filter-category-date.d.ts +11 -0
- package/lib/filter/__mocks__/mock-filter-category-free-text.d.ts +10 -0
- package/lib/filter/__mocks__/mock-filter-category-select.d.ts +9 -0
- package/lib/filter/__mocks__/mock-filter-category.d.ts +10 -0
- package/lib/filter/__mocks__/mock-filter-item-boolean.d.ts +11 -0
- package/lib/filter/__mocks__/mock-filter-item-date-range.d.ts +12 -0
- package/lib/filter/__mocks__/mock-filter-item-date.d.ts +12 -0
- package/lib/filter/__mocks__/mock-filter-item-free-text.d.ts +11 -0
- package/lib/filter/__mocks__/mock-filter-item-multi-select.d.ts +10 -0
- package/lib/filter/__mocks__/mock-filter-item-single-select.d.ts +10 -0
- package/lib/filter/__mocks__/mock-filter.d.ts +10 -0
- package/lib/filter/__mocks__/mock-filter.module.d.ts +37 -0
- package/lib/filter/__mocks__/mock-filter.service.d.ts +35 -0
- package/lib/filter/__mocks__/mock-localeDate.pipe.d.ts +8 -0
- package/lib/filter/category/boolean/filter-category-boolean.component.d.ts +15 -0
- package/lib/filter/category/date/filter-category-date.component.d.ts +26 -0
- package/lib/filter/category/date-range/filter-category-date-range.component.d.ts +31 -0
- package/lib/filter/category/filter-category.component.d.ts +35 -0
- package/lib/filter/category/free-text/filter-category-free-text.component.d.ts +21 -0
- package/lib/filter/category/select/filter-category-select.component.d.ts +34 -0
- package/lib/filter/filter-service/filter.service.d.ts +54 -0
- package/lib/filter/filter.component.d.ts +122 -0
- package/lib/filter/filter.module.d.ts +36 -0
- package/lib/filter/helpers/filter-active-items.helper.d.ts +3 -0
- package/lib/filter/helpers/filter-active.helper.d.ts +3 -0
- package/lib/filter/helpers/filter-get.helper.d.ts +12 -0
- package/lib/filter/helpers/filter-postbody.helper.d.ts +3 -0
- package/lib/filter/helpers/filter-query-parser.helper.d.ts +2 -0
- package/lib/filter/helpers/filter-query.helper.d.ts +8 -0
- package/lib/filter/helpers/filter-selection-validator.helper.d.ts +2 -0
- package/lib/filter/helpers/filter-state.helpers.d.ts +10 -0
- package/lib/filter/helpers/filter-update.helper.d.ts +12 -0
- package/lib/filter/item/boolean/filter-item-boolean.component.d.ts +21 -0
- package/lib/filter/item/date/filter-item-date.component.d.ts +24 -0
- package/lib/filter/item/date-range/filter-item-date-range.component.d.ts +31 -0
- package/lib/filter/item/free-text/filter-item-free-text.component.d.ts +25 -0
- package/lib/filter/item/multi-select/filter-item-multi-select.component.d.ts +21 -0
- package/lib/filter/item/single-select/filter-item-single-select.component.d.ts +24 -0
- package/lib/filter/model/filter-config.interface.d.ts +83 -0
- package/lib/filter/model/filter-post-body.interface.d.ts +8 -0
- package/lib/filter/model/filter-reducer.interface.d.ts +4 -0
- package/lib/filter/model/filter-state.interface.d.ts +12 -0
- package/lib/filter/model/filter-types.interface.d.ts +1 -0
- package/lib/filter/pipes/localeDate.pipe.d.ts +15 -0
- package/lib/filter/services/dependent-filters.service.d.ts +19 -0
- package/lib/filter/services/filter-rest-param.tools.d.ts +22 -0
- package/lib/filter/services/filter-router-connector.service.d.ts +23 -0
- package/lib/filter/store/filter.actions.d.ts +91 -0
- package/lib/filter/store/filter.reducer.d.ts +3 -0
- package/lib/filter/store/filter.selector.d.ts +128 -0
- package/lib/forms/__mocks__/mock-calendar.component.d.ts +11 -0
- package/lib/forms/__mocks__/mock-checkbox-chips-item.component.d.ts +8 -0
- package/lib/forms/__mocks__/mock-checkbox-chips.component.d.ts +10 -0
- package/lib/forms/__mocks__/mock-checkbox.component.d.ts +14 -0
- package/lib/forms/__mocks__/mock-checkboxes.component.d.ts +11 -0
- package/lib/forms/__mocks__/mock-datepicker.component.d.ts +12 -0
- package/lib/forms/__mocks__/mock-dropdown.component.d.ts +15 -0
- package/lib/forms/__mocks__/mock-filter-form-items.component.d.ts +8 -0
- package/lib/forms/__mocks__/mock-form-error.component.d.ts +7 -0
- package/lib/forms/__mocks__/mock-form-group-error.component.d.ts +8 -0
- package/lib/forms/__mocks__/mock-form-hint.component.d.ts +10 -0
- package/lib/forms/__mocks__/mock-form-label.component.d.ts +12 -0
- package/lib/forms/__mocks__/mock-form-readonly.component.d.ts +8 -0
- package/lib/forms/__mocks__/mock-form-viewonly.component.d.ts +8 -0
- package/lib/forms/__mocks__/mock-forms.module.d.ts +48 -0
- package/lib/forms/__mocks__/mock-input.component.d.ts +25 -0
- package/lib/forms/__mocks__/mock-pin-code.component.d.ts +21 -0
- package/lib/forms/__mocks__/mock-radio-buttons.component.d.ts +14 -0
- package/lib/forms/__mocks__/mock-switch.component.d.ts +19 -0
- package/lib/forms/__mocks__/mock-switches.component.d.ts +19 -0
- package/lib/forms/__mocks__/mock-textarea.component.d.ts +19 -0
- package/lib/forms/checkbox-chips/checkbox-chips.component.d.ts +116 -0
- package/lib/forms/checkbox-chips/item/checkbox-chips-item.component.d.ts +10 -0
- package/lib/forms/checkbox-chips/services/checkbox-chips.service.d.ts +10 -0
- package/lib/forms/checkboxes/checkbox/checkbox.component.d.ts +24 -0
- package/lib/forms/checkboxes/checkboxes-service/checkboxes.service.d.ts +23 -0
- package/lib/forms/checkboxes/checkboxes.component.d.ts +135 -0
- package/lib/forms/datepicker/adapter/date-adapter.d.ts +55 -0
- package/lib/forms/datepicker/calendar/calendar.component.d.ts +57 -0
- package/lib/forms/datepicker/datepicker.component.d.ts +158 -0
- package/lib/forms/datepicker/service/timepicker.service.d.ts +12 -0
- package/lib/forms/dropdown/dropdown.component.d.ts +186 -0
- package/lib/forms/dropdown/options/dropdown-options.component.d.ts +30 -0
- package/lib/forms/file-upload/file-upload.component.d.ts +164 -0
- package/lib/forms/file-upload/model/file-upload.model.d.ts +91 -0
- package/lib/forms/file-upload/services/file-upload.service.d.ts +13 -0
- package/lib/forms/forms/forms.component.d.ts +10 -0
- package/lib/forms/input/helpers/get-value-with-unit.d.ts +2 -0
- package/lib/forms/input/input.component.d.ts +334 -0
- package/lib/forms/input/options/input-options.component.d.ts +26 -0
- package/lib/forms/input/options/input-options.directive.d.ts +81 -0
- package/lib/forms/input/units/input-units.component.d.ts +21 -0
- package/lib/forms/model/datepicker.d.ts +35 -0
- package/lib/forms/model/form-options-resolver.d.ts +65 -0
- package/lib/forms/model/forms.interface.d.ts +520 -0
- package/lib/forms/model/options.interface.d.ts +84 -0
- package/lib/forms/model/radio-buttons.d.ts +6 -0
- package/lib/forms/multi-input/interfaces/multi-input-chip.interface.d.ts +1 -0
- package/lib/forms/multi-input/multi-input-chip/multi-input-chip.component.d.ts +26 -0
- package/lib/forms/multi-input/multi-input-menu/multi-input-menu.component.d.ts +35 -0
- package/lib/forms/multi-input/multi-input-service/multi-input.service.d.ts +27 -0
- package/lib/forms/multi-input/multi-input.component.d.ts +166 -0
- package/lib/forms/pin-code/pin-code-service/pin-code.service.d.ts +28 -0
- package/lib/forms/pin-code/pin-code.component.d.ts +154 -0
- package/lib/forms/qd-form.module.d.ts +72 -0
- package/lib/forms/radio-buttons/radio-buttons-service/radio-buttons.service.d.ts +16 -0
- package/lib/forms/radio-buttons/radio-buttons.component.d.ts +125 -0
- package/lib/forms/reactive-forms/controls/form-array-factory.service.d.ts +13 -0
- package/lib/forms/reactive-forms/controls/form-array.d.ts +236 -0
- package/lib/forms/reactive-forms/controls/form-builder.d.ts +98 -0
- package/lib/forms/reactive-forms/controls/form-control.d.ts +18 -0
- package/lib/forms/reactive-forms/controls/form-group.d.ts +3 -0
- package/lib/forms/richtext/richtext.component.d.ts +108 -0
- package/lib/forms/shared/components/filter-form-items/filter-form-items.component.d.ts +12 -0
- package/lib/forms/shared/components/form-error/form-error.component.d.ts +17 -0
- package/lib/forms/shared/components/form-hint/form-hint.component.d.ts +14 -0
- package/lib/forms/shared/components/form-input/form-input.component.d.ts +18 -0
- package/lib/forms/shared/components/form-label/form-label.component.d.ts +17 -0
- package/lib/forms/shared/components/form-readonly/form-readonly.component.d.ts +15 -0
- package/lib/forms/shared/components/form-viewonly/form-viewonly.component.d.ts +18 -0
- package/lib/forms/shared/helpers/forms-options.helpers.d.ts +5 -0
- package/lib/forms/shared/helpers/forms.helpers.d.ts +81 -0
- package/lib/forms/shared/helpers/has-validators.helpers.d.ts +2 -0
- package/lib/forms/shared/services/action-emitter.service.d.ts +12 -0
- package/lib/forms/shared/services/form-keyboard.service.d.ts +15 -0
- package/lib/forms/shared/services/form-options.service.d.ts +33 -0
- package/lib/forms/shared/services/options-resolver.registry.d.ts +11 -0
- package/lib/forms/shared/validators/validators.d.ts +126 -0
- package/lib/forms/switches/switch/switch.component.d.ts +27 -0
- package/lib/forms/switches/switches-service/switches.service.d.ts +14 -0
- package/lib/forms/switches/switches.component.d.ts +125 -0
- package/lib/forms/textarea/textarea.component.d.ts +118 -0
- package/lib/grid/__mocks__/mock-column.directive.d.ts +6 -0
- package/lib/grid/__mocks__/mock-columns.directive.d.ts +11 -0
- package/lib/grid/__mocks__/mock-grid.module.d.ts +11 -0
- package/lib/grid/directives/column-auto-fill.directive.d.ts +30 -0
- package/lib/grid/directives/column-break-before.directive.d.ts +30 -0
- package/lib/grid/directives/column-disable-responsive-colspans.directive.d.ts +35 -0
- package/lib/grid/directives/column-full-grid-width.directive.d.ts +31 -0
- package/lib/grid/directives/column-next-in-same-row.directive.d.ts +35 -0
- package/lib/grid/directives/column.directive.d.ts +49 -0
- package/lib/grid/directives/columns-disable-auto-fill.directive.d.ts +32 -0
- package/lib/grid/directives/columns-disable-responsive-colspans.directive.d.ts +30 -0
- package/lib/grid/directives/columns-max.directive.d.ts +35 -0
- package/lib/grid/directives/columns.directive.d.ts +43 -0
- package/lib/grid/grid.component.d.ts +31 -0
- package/lib/grid/grid.module.d.ts +34 -0
- package/lib/grid/model/grid-config.interface.d.ts +34 -0
- package/lib/grid/model/subgrid-config.interface.d.ts +27 -0
- package/lib/grid/services/grid-auto-fill.service.d.ts +39 -0
- package/lib/grid/services/grid.service.d.ts +12 -0
- package/lib/grid/subgrid/subgrid.component.d.ts +43 -0
- package/lib/helpers/html-plaintext.helper.d.ts +1 -0
- package/lib/helpers/language.helper.d.ts +1 -0
- package/lib/helpers/load-javascript-asset.helper.d.ts +1 -0
- package/lib/helpers/relative-time.helper.d.ts +3 -0
- package/lib/icon/__mocks__/mock-icon.component.d.ts +9 -0
- package/lib/icon/__mocks__/mock-icon.module.d.ts +9 -0
- package/lib/icon/custom-icons/logo.d.ts +1 -0
- package/lib/icon/icon/icon-definitions.d.ts +6 -0
- package/lib/icon/icon/icon.component.d.ts +28 -0
- package/lib/icon/icon.module.d.ts +10 -0
- package/lib/image/__mocks__/mock-image.component.d.ts +10 -0
- package/lib/image/__mocks__/mock-image.module.d.ts +9 -0
- package/lib/image/image/image.component.d.ts +63 -0
- package/lib/image/image.module.d.ts +12 -0
- package/lib/layout/__mocks__/mock-action-bar.component.d.ts +14 -0
- package/lib/layout/__mocks__/mock-active-content-tab.directive.d.ts +7 -0
- package/lib/layout/__mocks__/mock-button-enabled.directive.d.ts +7 -0
- package/lib/layout/__mocks__/mock-layout-container.component.d.ts +5 -0
- package/lib/layout/__mocks__/mock-layout-renderer.component.d.ts +13 -0
- package/lib/layout/__mocks__/mock-layout.module.d.ts +30 -0
- package/lib/layout/__mocks__/mock-page-process-header-title.component.d.ts +5 -0
- package/lib/layout/__mocks__/mock-page-process-header.component.d.ts +26 -0
- package/lib/layout/__mocks__/mock-page-title.component.d.ts +7 -0
- package/lib/layout/__mocks__/mock-panel-title.component.d.ts +7 -0
- package/lib/layout/__mocks__/mock-panel.component.d.ts +9 -0
- package/lib/layout/__mocks__/mock-truncated-text.directive.d.ts +12 -0
- package/lib/layout/action-bar/action-bar.component.d.ts +33 -0
- package/lib/layout/action-bar/button-enabled.directive.d.ts +25 -0
- package/lib/layout/container/container.component.d.ts +67 -0
- package/lib/layout/content/page-process-header/page-process-header/page-process-header.component.d.ts +101 -0
- package/lib/layout/content/page-process-header/page-process-header-title/page-process-header-title.component.d.ts +10 -0
- package/lib/layout/content/page-title/page-title.component.d.ts +22 -0
- package/lib/layout/directives/active-content-tab.directive.d.ts +21 -0
- package/lib/layout/directives/calculate-full-height.directive.d.ts +21 -0
- package/lib/layout/directives/viewport-adaptive.directive.d.ts +7 -0
- package/lib/layout/force-line-break/force-line-break.directive.d.ts +8 -0
- package/lib/layout/interfaces/process-list.d.ts +9 -0
- package/lib/layout/layout-renderer/layout-renderer.component.d.ts +26 -0
- package/lib/layout/layout.module.d.ts +49 -0
- package/lib/layout/modal-fullscreen-container/modal-fullscreen-container.component.d.ts +47 -0
- package/lib/layout/panel/container/panel.component.d.ts +29 -0
- package/lib/layout/panel/title/panel-title.component.d.ts +23 -0
- package/lib/layout/panel/types/panel-types.d.ts +5 -0
- package/lib/layout/service/layout.service.d.ts +24 -0
- package/lib/layout/service/panel.service.d.ts +13 -0
- package/lib/lists/__mocks__/mock-container-pairs-caption.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-container-pairs-container.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-container-pairs-header.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-container-pairs-item.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-container-pairs-value.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-list.module.d.ts +35 -0
- package/lib/lists/__mocks__/mock-status-error.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-status-pairs-caption.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-status-pairs-item.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-status-pairs-value.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-status-pairs.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-vertical-pairs-caption.component.d.ts +6 -0
- package/lib/lists/__mocks__/mock-vertical-pairs-item.component.d.ts +5 -0
- package/lib/lists/__mocks__/mock-vertical-pairs-value.component.d.ts +6 -0
- package/lib/lists/__mocks__/mock-vertical-pairs.component.d.ts +5 -0
- package/lib/lists/list.module.d.ts +45 -0
- package/lib/lists/model/list.interface.d.ts +5 -0
- package/lib/lists/pairs/container-pairs/container-pairs-caption/container-pairs-caption.component.d.ts +10 -0
- package/lib/lists/pairs/container-pairs/container-pairs-container/container-pairs-container.component.d.ts +24 -0
- package/lib/lists/pairs/container-pairs/container-pairs-header/container-pairs-header.component.d.ts +10 -0
- package/lib/lists/pairs/container-pairs/container-pairs-item/container-pairs-item.component.d.ts +11 -0
- package/lib/lists/pairs/container-pairs/container-pairs-value/container-pairs-value.component.d.ts +10 -0
- package/lib/lists/pairs/horizontal-pairs/horizontal-pairs-caption/horizontal-pairs-caption.component.d.ts +10 -0
- package/lib/lists/pairs/horizontal-pairs/horizontal-pairs-container/horizontal-pairs.component.d.ts +25 -0
- package/lib/lists/pairs/horizontal-pairs/horizontal-pairs-item/horizontal-pairs-item.component.d.ts +11 -0
- package/lib/lists/pairs/horizontal-pairs/horizontal-pairs-value/horizontal-pairs-value.component.d.ts +10 -0
- package/lib/lists/pairs/status-pairs/status-pairs-caption/status-pairs-caption.component.d.ts +10 -0
- package/lib/lists/pairs/status-pairs/status-pairs-container/status-pairs.component.d.ts +36 -0
- package/lib/lists/pairs/status-pairs/status-pairs-error/status-pairs-error.component.d.ts +16 -0
- package/lib/lists/pairs/status-pairs/status-pairs-item/status-pairs-item.component.d.ts +17 -0
- package/lib/lists/pairs/status-pairs/status-pairs-value/status-pairs-value.component.d.ts +10 -0
- package/lib/lists/pairs/vertical-pairs/vertical-pairs-caption/vertical-pairs-caption.component.d.ts +10 -0
- package/lib/lists/pairs/vertical-pairs/vertical-pairs-container/vertical-pairs.component.d.ts +25 -0
- package/lib/lists/pairs/vertical-pairs/vertical-pairs-item/vertical-pairs-item.component.d.ts +20 -0
- package/lib/lists/pairs/vertical-pairs/vertical-pairs-value/vertical-pairs-value.component.d.ts +10 -0
- package/lib/master-layout/__mocks__/mock-header-widget.component.d.ts +16 -0
- package/lib/master-layout/__mocks__/mock-master-layout-banner.component.d.ts +5 -0
- package/lib/master-layout/__mocks__/mock-master-layout-footer.component.d.ts +5 -0
- package/lib/master-layout/__mocks__/mock-master-layout-header.component.d.ts +15 -0
- package/lib/master-layout/__mocks__/mock-master-layout.component.d.ts +9 -0
- package/lib/master-layout/__mocks__/mock-master-layout.module.d.ts +18 -0
- package/lib/master-layout/header-widget/header-widget.component.d.ts +55 -0
- package/lib/master-layout/master-layout/master-layout.component.d.ts +48 -0
- package/lib/master-layout/master-layout-banner/master-layout-banner.component.d.ts +25 -0
- package/lib/master-layout/master-layout-footer/master-layout-footer.component.d.ts +10 -0
- package/lib/master-layout/master-layout-header/master-layout-header.component.d.ts +48 -0
- package/lib/master-layout/master-layout.module.d.ts +30 -0
- package/lib/master-layout/model/page-level.d.ts +5 -0
- package/lib/master-layout/model/service-navigation.d.ts +3 -0
- package/lib/master-layout/service/language-from-url.service.d.ts +14 -0
- package/lib/master-layout/service/master-layout.service.d.ts +16 -0
- package/lib/master-layout/service-navigation/service-navigation.component.d.ts +13 -0
- package/lib/navigation/stepper/__mocks__/mock-step-action.component.d.ts +16 -0
- package/lib/navigation/stepper/__mocks__/mock-step-item.component.d.ts +17 -0
- package/lib/navigation/stepper/__mocks__/mock-step.component.d.ts +18 -0
- package/lib/navigation/stepper/__mocks__/mock-stepper.component.d.ts +7 -0
- package/lib/navigation/stepper/__mocks__/mock-stepper.module.d.ts +16 -0
- package/lib/navigation/stepper/interfaces/stepper.d.ts +12 -0
- package/lib/navigation/stepper/step/step.component.d.ts +125 -0
- package/lib/navigation/stepper/step-action/step-action.component.d.ts +29 -0
- package/lib/navigation/stepper/step-item/step-item.component.d.ts +35 -0
- package/lib/navigation/stepper/stepper/stepper.component.d.ts +127 -0
- package/lib/navigation/stepper/stepper.module.d.ts +21 -0
- package/lib/navigation/tab-bar/__mocks__/mock-tab-bar.module.d.ts +12 -0
- package/lib/navigation/tab-bar/__mocks__/mock-tab-link.component.d.ts +7 -0
- package/lib/navigation/tab-bar/__mocks__/mock-tab-nav-bar.component.d.ts +5 -0
- package/lib/navigation/tab-bar/tab-bar.module.d.ts +13 -0
- package/lib/navigation/tab-bar/tab-link/tab-link.component.d.ts +26 -0
- package/lib/navigation/tab-bar/tab-nav-bar/tab-nav-bar.component.d.ts +11 -0
- package/lib/navigation/tabs/__mocks__/mock-tab-action.component.d.ts +11 -0
- package/lib/navigation/tabs/__mocks__/mock-tab-item.component.d.ts +17 -0
- package/lib/navigation/tabs/__mocks__/mock-tab-pending-tasks.component.d.ts +9 -0
- package/lib/navigation/tabs/__mocks__/mock-tab.component.d.ts +19 -0
- package/lib/navigation/tabs/__mocks__/mock-tabs-page-leave-handler.component.d.ts +7 -0
- package/lib/navigation/tabs/__mocks__/mock-tabs.component.d.ts +15 -0
- package/lib/navigation/tabs/__mocks__/mock-tabs.module.d.ts +20 -0
- package/lib/navigation/tabs/interfaces/tabs.interface.d.ts +27 -0
- package/lib/navigation/tabs/services/tabs.service.d.ts +25 -0
- package/lib/navigation/tabs/tab/tab.component.d.ts +79 -0
- package/lib/navigation/tabs/tab-action/tab-action.component.d.ts +16 -0
- package/lib/navigation/tabs/tab-item/tab-item.component.d.ts +34 -0
- package/lib/navigation/tabs/tab-pending-tasks/tab-pending-tasks.component.d.ts +21 -0
- package/lib/navigation/tabs/tabs/tabs.component.d.ts +81 -0
- package/lib/navigation/tabs/tabs.module.d.ts +22 -0
- package/lib/navigation-tiles/__mocks__/mock-navigation-tile.component.d.ts +7 -0
- package/lib/navigation-tiles/__mocks__/mock-navigation-tiles.component.d.ts +5 -0
- package/lib/navigation-tiles/__mocks__/mock-navigation-tiles.module.d.ts +11 -0
- package/lib/navigation-tiles/navigation-tile/navigation-tile.component.d.ts +22 -0
- package/lib/navigation-tiles/navigation-tiles/navigation-tiles.component.d.ts +17 -0
- package/lib/navigation-tiles/navigation-tiles.module.d.ts +14 -0
- package/lib/notifications/__mocks__/mock-notification.component.d.ts +10 -0
- package/lib/notifications/__mocks__/mock-notification.content.component.d.ts +5 -0
- package/lib/notifications/__mocks__/mock-notifications-service.service.d.ts +24 -0
- package/lib/notifications/__mocks__/mock-notifications.component.d.ts +6 -0
- package/lib/notifications/__mocks__/mock-notifications.module.d.ts +15 -0
- package/lib/notifications/directives/snackbar-listener.directive.d.ts +21 -0
- package/lib/notifications/interfaces/notifications.d.ts +119 -0
- package/lib/notifications/notification/notification.component.d.ts +498 -0
- package/lib/notifications/notification-content/notification-content.component.d.ts +8 -0
- package/lib/notifications/notifications/notifications.component.d.ts +19 -0
- package/lib/notifications/notifications.module.d.ts +23 -0
- package/lib/notifications/services/notifications-http-interceptor.service.d.ts +24 -0
- package/lib/notifications/services/notifications-service.service.d.ts +32 -0
- package/lib/notifications/services/os-notifications/desktop-notifications.service.d.ts +19 -0
- package/lib/notifications/services/os-notifications/os-notifications.service.d.ts +12 -0
- package/lib/notifications/services/snackbar.service.d.ts +20 -0
- package/lib/notifications/snackbar/snackbar.component.d.ts +15 -0
- package/lib/page/__mocks__/mock-page-footer.component.d.ts +5 -0
- package/lib/page/__mocks__/mock-page-header.component.d.ts +5 -0
- package/lib/page/__mocks__/mock-page.component.d.ts +6 -0
- package/lib/page/__mocks__/mock-page.module.d.ts +12 -0
- package/lib/page/cancel-confirmation-dialog/page-cancel-confirmation-dialog.component.d.ts +14 -0
- package/lib/page/control-panel/page-control-panel.component.d.ts +46 -0
- package/lib/page/footer/page-footer-custom-content.directive.d.ts +11 -0
- package/lib/page/footer/page-footer.component.d.ts +18 -0
- package/lib/page/info-banner/page-info-banner.component.d.ts +93 -0
- package/lib/page/model/page-config.interface.d.ts +494 -0
- package/lib/page/model/page-control-panel-config.interface.d.ts +23 -0
- package/lib/page/model/page-footer-action.interface.d.ts +45 -0
- package/lib/page/model/page-header-facet.interface.d.ts +85 -0
- package/lib/page/model/page-info-banner.interface.d.ts +28 -0
- package/lib/page/model/page-object-resolver.d.ts +48 -0
- package/lib/page/object-header/context-select-dialog/context-select-dialog.component.d.ts +34 -0
- package/lib/page/object-header/dynamic-facet/dynamic-facet.component.d.ts +21 -0
- package/lib/page/object-header/dynamic-facet/dynamic-facet.directive.d.ts +8 -0
- package/lib/page/object-header/dynamic-facets.service.d.ts +11 -0
- package/lib/page/object-header/facets/crititcality-facet/criticality-facet.component.d.ts +11 -0
- package/lib/page/object-header/facets/date-facet/date-facet.component.d.ts +9 -0
- package/lib/page/object-header/facets/multi-select-facet/multi-select-facet.component.d.ts +10 -0
- package/lib/page/object-header/facets/progress-facet/progress-facet.component.d.ts +9 -0
- package/lib/page/object-header/facets/references-facet/references-facet.component.d.ts +12 -0
- package/lib/page/object-header/facets/single-select-facet/single-select-facet.component.d.ts +10 -0
- package/lib/page/object-header/facets/status-facet/status-facet.component.d.ts +10 -0
- package/lib/page/object-header/facets/value-facet/value-facet.component.d.ts +9 -0
- package/lib/page/object-header/page-object-header.component.d.ts +79 -0
- package/lib/page/page.component.d.ts +445 -0
- package/lib/page/page.module.d.ts +52 -0
- package/lib/page/shared/directives/connect-form-state-to-page.directive.d.ts +47 -0
- package/lib/page/shared/services/context.service.d.ts +50 -0
- package/lib/page/shared/services/form-group-manager.service.d.ts +86 -0
- package/lib/page/shared/services/page-footer.service.d.ts +23 -0
- package/lib/page/shared/services/page-store.service.d.ts +15 -0
- package/lib/page/shared/services/page-submit-action.service.d.ts +22 -0
- package/lib/page/shared/services/resolver-trigger.service.d.ts +13 -0
- package/lib/page-stepper/adaptors/page-stepper-adapter.directive.d.ts +46 -0
- package/lib/page-stepper/cancel-dialog/page-stepper-cancel-dialog.component.d.ts +9 -0
- package/lib/page-stepper/header/page-step-header.component.d.ts +32 -0
- package/lib/page-stepper/model/page-step-resolver.token.d.ts +3 -0
- package/lib/page-stepper/model/page-step.resolver.d.ts +10 -0
- package/lib/page-stepper/model/qd-page-stepper-config.d.ts +86 -0
- package/lib/page-stepper/page-step/page-step.component.d.ts +32 -0
- package/lib/page-stepper/page-stepper.component.d.ts +62 -0
- package/lib/page-stepper/page-stepper.module.d.ts +26 -0
- package/lib/page-tabs/adaptors/page-tabs-adapter.directive.d.ts +48 -0
- package/lib/page-tabs/model/page-tabs-config.d.ts +125 -0
- package/lib/page-tabs/model/page-tabs-selection-event.d.ts +22 -0
- package/lib/page-tabs/page-tab/page-tab.component.d.ts +33 -0
- package/lib/page-tabs/page-tab-header/counter/page-tab-header-counters.component.d.ts +13 -0
- package/lib/page-tabs/page-tab-header/page-tab-header.component.d.ts +34 -0
- package/lib/page-tabs/page-tabs.component.d.ts +154 -0
- package/lib/page-tabs/page-tabs.module.d.ts +22 -0
- package/lib/panel-section/actions/panel-section-actions.component.d.ts +15 -0
- package/lib/panel-section/model/panel-section-config.interface.d.ts +68 -0
- package/lib/panel-section/model/panel-section-status-config.interface.d.ts +12 -0
- package/lib/panel-section/model/panel-section-text-paragraph-config.interface.d.ts +15 -0
- package/lib/panel-section/panel-section.component.d.ts +55 -0
- package/lib/panel-section/panel-section.module.d.ts +19 -0
- package/lib/panel-section/services/panel-section-action.service.d.ts +9 -0
- package/lib/panel-section/status/panel-section-status.component.d.ts +8 -0
- package/lib/panel-section/text-paragraph/panel-section-text-paragraph.component.d.ts +10 -0
- package/lib/place-holder/__mocks__/mock-place-holder.component.d.ts +6 -0
- package/lib/place-holder/__mocks__/mock-place-holder.module.d.ts +9 -0
- package/lib/place-holder/place-holder/place-holder.component.d.ts +11 -0
- package/lib/place-holder/place-holder.module.d.ts +10 -0
- package/lib/progress-bar/__mocks__/mock-indeterminate-progress-bar.component.d.ts +5 -0
- package/lib/progress-bar/__mocks__/mock-percentage-progress-bar.component.d.ts +8 -0
- package/lib/progress-bar/__mocks__/mock-progress-bar.module.d.ts +12 -0
- package/lib/progress-bar/indeterminate/indeterminate-progress-bar.component.d.ts +8 -0
- package/lib/progress-bar/percentage/percentage-progress-bar.component.d.ts +24 -0
- package/lib/progress-bar/progress-bar.module.d.ts +13 -0
- package/lib/qd-ui-mock.module.d.ts +33 -0
- package/lib/qd-ui.module.d.ts +47 -0
- package/lib/quick-edit/model/quick-edit-config.d.ts +171 -0
- package/lib/quick-edit/model/quick-edit-data.d.ts +13 -0
- package/lib/quick-edit/qd-ng-for.directive.d.ts +16 -0
- package/lib/quick-edit/quick-edit.component.d.ts +198 -0
- package/lib/quick-edit/quick-edit.module.d.ts +23 -0
- package/lib/search/__mocks__/mock-search.component.d.ts +7 -0
- package/lib/search/__mocks__/mock-search.module.d.ts +10 -0
- package/lib/search/helpers/search-update.helper.d.ts +4 -0
- package/lib/search/model/search-options.interface.d.ts +133 -0
- package/lib/search/model/search-post-body.d.ts +10 -0
- package/lib/search/model/search-store.interface.d.ts +10 -0
- package/lib/search/search.component.d.ts +84 -0
- package/lib/search/search.module.d.ts +18 -0
- package/lib/search/services/search-router-connector.service.d.ts +25 -0
- package/lib/search/services/search-store.service.d.ts +14 -0
- package/lib/search/services/search.service.d.ts +27 -0
- package/lib/search/store/search.actions.d.ts +25 -0
- package/lib/search/store/search.reducer.d.ts +3 -0
- package/lib/search/store/search.selector.d.ts +14 -0
- package/lib/section/__mocks__/mock-section-toolbar.component.d.ts +6 -0
- package/lib/section/__mocks__/mock-section.component.d.ts +6 -0
- package/lib/section/__mocks__/mock-section.module.d.ts +11 -0
- package/lib/section/adaptors/section-adapter.directive.d.ts +46 -0
- package/lib/section/connectors/table/connector-table-context.directive.d.ts +122 -0
- package/lib/section/connectors/table/connector-table-filter.directive.d.ts +52 -0
- package/lib/section/connectors/table/connector-table-search.directive.d.ts +51 -0
- package/lib/section/model/section-config.interface.d.ts +243 -0
- package/lib/section/model/toolbar-components.interface.d.ts +27 -0
- package/lib/section/section.component.d.ts +115 -0
- package/lib/section/section.module.d.ts +28 -0
- package/lib/section/services/section-toolbar-action.service.d.ts +10 -0
- package/lib/section/services/toolbar-components.service.d.ts +9 -0
- package/lib/section/toolbar/action/section-toolbar-action.component.d.ts +35 -0
- package/lib/section/toolbar/section-toolbar.component.d.ts +23 -0
- package/lib/shell/__mocks__/mock-counter-badge.component.d.ts +5 -0
- package/lib/shell/__mocks__/mock-header-widget-desktop.component.d.ts +15 -0
- package/lib/shell/__mocks__/mock-header-widget-mobile.component.d.ts +15 -0
- package/lib/shell/__mocks__/mock-shell-footer.component.d.ts +5 -0
- package/lib/shell/__mocks__/mock-shell-header-banner.component.d.ts +5 -0
- package/lib/shell/__mocks__/mock-shell-header-search.component.d.ts +5 -0
- package/lib/shell/__mocks__/mock-shell-header-widget.component.d.ts +6 -0
- package/lib/shell/__mocks__/mock-shell-header.component.d.ts +6 -0
- package/lib/shell/__mocks__/mock-shell-toolbar-item.component.d.ts +6 -0
- package/lib/shell/__mocks__/mock-shell-toolbar.component.d.ts +5 -0
- package/lib/shell/__mocks__/mock-shell.component.d.ts +6 -0
- package/lib/shell/__mocks__/mock-shell.module.d.ts +28 -0
- package/lib/shell/footer/shell-footer.component.d.ts +10 -0
- package/lib/shell/header/banner/shell-header-banner.component.d.ts +11 -0
- package/lib/shell/header/counter-badge/counter-badge.component.d.ts +9 -0
- package/lib/shell/header/search/shell-header-search.component.d.ts +7 -0
- package/lib/shell/header/service-navigation/shell-service-navigation.component.d.ts +43 -0
- package/lib/shell/header/service-navigation/shell-service-navigation.module.d.ts +8 -0
- package/lib/shell/header/shell-header.component.d.ts +71 -0
- package/lib/shell/header/toolbar/shell-toolbar.component.d.ts +10 -0
- package/lib/shell/header/toolbar/toolbar-item/shell-toolbar-item.component.d.ts +11 -0
- package/lib/shell/header/widget/shell-header-widget.component.d.ts +33 -0
- package/lib/shell/left/navigation/link/shell-left-navigation-link.component.d.ts +8 -0
- package/lib/shell/left/navigation/shell-left-navigation.component.d.ts +7 -0
- package/lib/shell/left/shell-left.component.d.ts +11 -0
- package/lib/shell/model/default-config.d.ts +2 -0
- package/lib/shell/model/eportal.interface.d.ts +19 -0
- package/lib/shell/model/route-data.interface.d.ts +2 -0
- package/lib/shell/model/shell-config.interface.d.ts +80 -0
- package/lib/shell/model/shell-footer-copyright-info.interface.d.ts +15 -0
- package/lib/shell/model/shell-header-widget-config.interface.d.ts +307 -0
- package/lib/shell/model/shell-navigation-config.interface.d.ts +24 -0
- package/lib/shell/model/shell-service-navigation-config.interface.d.ts +341 -0
- package/lib/shell/model/shell-toolbar-config.interface.d.ts +21 -0
- package/lib/shell/right/notification/shell-notification.component.d.ts +31 -0
- package/lib/shell/right/notifications/shell-notifications.component.d.ts +13 -0
- package/lib/shell/right/shell-right.component.d.ts +19 -0
- package/lib/shell/right/toolbar/shell-right-toolbar.component.d.ts +12 -0
- package/lib/shell/services/banner.service.d.ts +11 -0
- package/lib/shell/services/eportal-language.service.d.ts +14 -0
- package/lib/shell/services/navigation.service.d.ts +23 -0
- package/lib/shell/services/pams-environment.service.d.ts +8 -0
- package/lib/shell/services/service-navigation.service.d.ts +58 -0
- package/lib/shell/services/shell-header-minimization.service.d.ts +18 -0
- package/lib/shell/services/shell-header-widget.service.d.ts +33 -0
- package/lib/shell/services/shell-left.service.d.ts +15 -0
- package/lib/shell/services/shell-right.service.d.ts +23 -0
- package/lib/shell/shell.component.d.ts +102 -0
- package/lib/shell/shell.module.d.ts +33 -0
- package/lib/spinner/spinner.component.d.ts +5 -0
- package/lib/spinner/spinner.module.d.ts +10 -0
- package/lib/status-indicator/__mocks__/mock-status-indicator-cpation.component.d.ts +5 -0
- package/lib/status-indicator/__mocks__/mock-status-indicator-item.component.d.ts +8 -0
- package/lib/status-indicator/__mocks__/mock-status-indicator.component.d.ts +11 -0
- package/lib/status-indicator/__mocks__/mock-status-indicator.module.d.ts +14 -0
- package/lib/status-indicator/interfaces/status-indicator.interface.d.ts +8 -0
- package/lib/status-indicator/status-indicator/status-indicator.component.d.ts +27 -0
- package/lib/status-indicator/status-indicator-caption/status-indicator-caption.component.d.ts +8 -0
- package/lib/status-indicator/status-indicator-item/status-indicator-item.component.d.ts +20 -0
- package/lib/status-indicator/status-indicator.module.d.ts +12 -0
- package/lib/table/__mocks__/mock-sort.component.d.ts +9 -0
- package/lib/table/__mocks__/mock-table-body-plain.component.d.ts +8 -0
- package/lib/table/__mocks__/mock-table-body-tree.component.d.ts +8 -0
- package/lib/table/__mocks__/mock-table-data-blank.component.d.ts +5 -0
- package/lib/table/__mocks__/mock-table-data-boolean.component.d.ts +6 -0
- package/lib/table/__mocks__/mock-table-data-date.component.d.ts +7 -0
- package/lib/table/__mocks__/mock-table-data-integer.component.d.ts +6 -0
- package/lib/table/__mocks__/mock-table-data-link.component.d.ts +9 -0
- package/lib/table/__mocks__/mock-table-data-progress.component.d.ts +6 -0
- package/lib/table/__mocks__/mock-table-data-text.component.d.ts +8 -0
- package/lib/table/__mocks__/mock-table-empty-state.component.d.ts +8 -0
- package/lib/table/__mocks__/mock-table-head.component.d.ts +7 -0
- package/lib/table/__mocks__/mock-table-paginator-page-size.directive.d.ts +6 -0
- package/lib/table/__mocks__/mock-table-paginator.component.d.ts +7 -0
- package/lib/table/__mocks__/mock-table.component.d.ts +14 -0
- package/lib/table/__mocks__/mock-table.module.d.ts +24 -0
- package/lib/table/body/table-body.component.d.ts +22 -0
- package/lib/table/empty-state/table-empty-state.component.d.ts +12 -0
- package/lib/table/head/table-head.component.d.ts +24 -0
- package/lib/table/helpers/spring-tools.d.ts +5 -0
- package/lib/table/model/connectors-state.enum.d.ts +5 -0
- package/lib/table/model/paginator-direction.enum.d.ts +6 -0
- package/lib/table/model/sort-direction.enum.d.ts +5 -0
- package/lib/table/model/table-config-actions.interface.d.ts +164 -0
- package/lib/table/model/table-config-content.interface.d.ts +199 -0
- package/lib/table/model/table-config.interface.d.ts +261 -0
- package/lib/table/model/table-data-resolver.d.ts +75 -0
- package/lib/table/model/table-data-resolver.token.d.ts +5 -0
- package/lib/table/model/table-data.interface.d.ts +78 -0
- package/lib/table/model/table-row-selection.interface.d.ts +11 -0
- package/lib/table/model/table-store.interface.d.ts +54 -0
- package/lib/table/paginator/page-size/table-paginator-page-size.component.d.ts +36 -0
- package/lib/table/paginator/page-size/table-paginator-page-size.directive.d.ts +22 -0
- package/lib/table/paginator/scroll-to-pagination.directive.d.ts +27 -0
- package/lib/table/paginator/table-paginator.component.d.ts +43 -0
- package/lib/table/row/actions/secondary/menu/table-row-actions-secondary-menu.component.d.ts +34 -0
- package/lib/table/row/selection/table-row-selection.component.d.ts +17 -0
- package/lib/table/row/table-row.component.d.ts +34 -0
- package/lib/table/services/empty-state.service.d.ts +12 -0
- package/lib/table/services/external-action-result.service.d.ts +8 -0
- package/lib/table/services/filling-width.service.d.ts +38 -0
- package/lib/table/services/resolver.service.d.ts +25 -0
- package/lib/table/services/responsive-row.service.d.ts +27 -0
- package/lib/table/services/row-selection.service.d.ts +24 -0
- package/lib/table/services/secondary-actions.service.d.ts +10 -0
- package/lib/table/sort/table-sort.component.d.ts +38 -0
- package/lib/table/store/table-store-selector.service.d.ts +47 -0
- package/lib/table/store/table-store.service.d.ts +64 -0
- package/lib/table/store/table-update.helper.d.ts +22 -0
- package/lib/table/store/table.actions.d.ts +153 -0
- package/lib/table/store/table.reducer.d.ts +3 -0
- package/lib/table/table.component.d.ts +248 -0
- package/lib/table/table.module.d.ts +42 -0
- package/lib/text-section/__mocks__/mock-text-section-headline.component.d.ts +5 -0
- package/lib/text-section/__mocks__/mock-text-section-paragraph.component.d.ts +5 -0
- package/lib/text-section/__mocks__/mock-text-section.component.d.ts +5 -0
- package/lib/text-section/__mocks__/mock-text-section.module.d.ts +13 -0
- package/lib/text-section/text-section-headline/text-section-headline.component.d.ts +10 -0
- package/lib/text-section/text-section-paragraph/text-section-paragraph.component.d.ts +10 -0
- package/lib/text-section/text-section.component.d.ts +22 -0
- package/lib/text-section/text-section.module.d.ts +14 -0
- package/lib/tiles/__mocks__/mock-tile-button-list.component.d.ts +5 -0
- package/lib/tiles/__mocks__/mock-tile-text-list-item.component.d.ts +5 -0
- package/lib/tiles/__mocks__/mock-tile-text-list.component.d.ts +5 -0
- package/lib/tiles/__mocks__/mock-tile-title.component.d.ts +5 -0
- package/lib/tiles/__mocks__/mock-tile.component.d.ts +6 -0
- package/lib/tiles/__mocks__/mock-tiles-container-title.component.d.ts +5 -0
- package/lib/tiles/__mocks__/mock-tiles-container.component.d.ts +6 -0
- package/lib/tiles/__mocks__/mock-tiles.module.d.ts +21 -0
- package/lib/tiles/model/tile-config.d.ts +24 -0
- package/lib/tiles/model/tiles-config.d.ts +9 -0
- package/lib/tiles/tile/tile.component.d.ts +22 -0
- package/lib/tiles/tile-button-list/tile-button-list.component.d.ts +5 -0
- package/lib/tiles/tile-text-list/tile-text-list.component.d.ts +5 -0
- package/lib/tiles/tile-text-list-item/tile-text-list-item.component.d.ts +5 -0
- package/lib/tiles/tile-title/tile-title.component.d.ts +5 -0
- package/lib/tiles/tiles-title/tiles-title.component.d.ts +5 -0
- package/lib/tiles/tiles.component.d.ts +13 -0
- package/lib/tiles/tiles.module.d.ts +26 -0
- package/lib/tree/body/tree-body.component.d.ts +22 -0
- package/lib/tree/empty-state/tree-empty-state.component.d.ts +12 -0
- package/lib/tree/error/grouped-indices-not-consecutive.error.d.ts +3 -0
- package/lib/tree/head/tree-head.component.d.ts +24 -0
- package/lib/tree/model/tree-column-detail.interface.d.ts +52 -0
- package/lib/tree/model/tree-config-actions.interface.d.ts +57 -0
- package/lib/tree/model/tree-config.interface.d.ts +237 -0
- package/lib/tree/model/tree-data.interface.d.ts +43 -0
- package/lib/tree/row/actions/secondary/menu/tree-row-actions-secondary-menu.component.d.ts +32 -0
- package/lib/tree/row/tree-row.component.d.ts +27 -0
- package/lib/tree/services/row-expander.service.d.ts +53 -0
- package/lib/tree/services/tree-group.service.d.ts +27 -0
- package/lib/tree/services/tree-rows.service.d.ts +29 -0
- package/lib/tree/tree.component.d.ts +114 -0
- package/lib/tree/tree.module.d.ts +28 -0
- package/package.json +14 -7
- package/public-api.d.ts +80 -0
- package/src/assets/i18n/de.json +483 -0
- package/src/assets/i18n/en.json +414 -0
- package/src/assets/i18n/fr.json +336 -0
- package/src/assets/i18n/it.json +336 -0
- package/src/assets/styles/components/_components.all.scss +11 -0
- package/src/assets/styles/components/_components.button.scss +213 -0
- package/src/assets/styles/components/_components.chips.scss +205 -0
- package/src/assets/styles/components/_components.datePicker.scss +204 -0
- package/src/assets/styles/components/_components.dialog.scss +31 -0
- package/src/assets/styles/components/_components.grid.scss +37 -0
- package/src/assets/styles/components/_components.master-layout.scss +97 -0
- package/src/assets/styles/components/_components.menuPanel.scss +49 -0
- package/src/assets/styles/components/_components.paginator.scss +43 -0
- package/src/assets/styles/components/_components.radio-button.scss +17 -0
- package/src/assets/styles/components/_components.table.scss +230 -0
- package/src/assets/styles/components/forms/_components.forms.all.scss +8 -0
- package/src/assets/styles/components/forms/_components.forms.dropdown.scss +19 -0
- package/src/assets/styles/components/forms/_components.forms.inputFields.scss +260 -0
- package/src/assets/styles/components/forms/_components.forms.selectBox.scss +245 -0
- package/src/assets/styles/components/forms/_components.forms.textField.scss +126 -0
- package/src/assets/styles/elements/_elements.all.scss +1 -0
- package/src/assets/styles/generic/_generic.all.scss +6 -0
- package/src/assets/styles/generic/_generic.checkbox.scss +1 -0
- package/src/assets/styles/generic/_generic.fonts.scss +7 -0
- package/src/assets/styles/generic/_generic.layout.scss +19 -0
- package/src/assets/styles/generic/_generic.material.scss +0 -0
- package/src/assets/styles/generic/_generic.normalize.scss +356 -0
- package/src/assets/styles/generic/_generic.resetButton.scss +6 -0
- package/src/assets/styles/index.scss +9 -0
- package/src/assets/styles/objects/_objects.a11y.scss +24 -0
- package/src/assets/styles/objects/_objects.all.scss +3 -0
- package/src/assets/styles/objects/_objects.forceLineBreak.scss +7 -0
- package/src/assets/styles/objects/_objects.hasTooltip.scss +3 -0
- package/src/assets/styles/settings/_setting.all.scss +13 -0
- package/src/assets/styles/settings/_settings.colors.scss +50 -0
- package/src/assets/styles/settings/_settings.fonts.scss +39 -0
- package/src/assets/styles/settings/_settings.formFields.scss +4 -0
- package/src/assets/styles/settings/_settings.globalVars.scss +18 -0
- package/src/assets/styles/settings/_settings.grid.scss +43 -0
- package/src/assets/styles/settings/_settings.horizontalSpacing.scss +5 -0
- package/src/assets/styles/settings/_settings.iconFont.scss +4 -0
- package/src/assets/styles/settings/_settings.layoutHeader.scss +15 -0
- package/src/assets/styles/settings/_settings.material.scss +98 -0
- package/src/assets/styles/settings/_settings.page.scss +4 -0
- package/src/assets/styles/settings/_settings.shell.scss +6 -0
- package/src/assets/styles/settings/_settings.variables.scss +17 -0
- package/src/assets/styles/settings/_settings.verticalRythm.scss +6 -0
- package/src/assets/styles/tools/_tools.all.scss +15 -0
- package/src/assets/styles/tools/_tools.boxShadowOverlay.scss +6 -0
- package/src/assets/styles/tools/_tools.breakpoints.scss +117 -0
- package/src/assets/styles/tools/_tools.colorMapper.scss +21 -0
- package/src/assets/styles/tools/_tools.convertPxToRem.scss +60 -0
- package/src/assets/styles/tools/_tools.fonts.scss +51 -0
- package/src/assets/styles/tools/_tools.getBaseFontSize.scss +15 -0
- package/src/assets/styles/tools/_tools.grid.scss +163 -0
- package/src/assets/styles/tools/_tools.layoutHeader.scss +15 -0
- package/src/assets/styles/tools/_tools.layoutWidth.scss +18 -0
- package/src/assets/styles/tools/_tools.mixins.scss +99 -0
- package/src/assets/styles/tools/_tools.overlayBackdrop.scss +12 -0
- package/src/assets/styles/tools/_tools.rwdDisabled.scss +33 -0
- package/src/assets/styles/tools/_tools.text.scss +19 -0
- package/src/assets/styles/tools/_tools.toolTip.scss +17 -0
- package/src/assets/styles/utilities/_utilities.all.scss +1 -0
- package/src/assets/styles/utilities/_utilities.display.scss +3 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { QdPopoverOnClickDirective } from './popover-on-click/popover-on-click.directive';
|
|
4
|
+
import { QdPopoverOnHoverDirective } from './popover-on-hover/popover-on-hover.directive';
|
|
5
|
+
import { QdPopoverService } from './popover.service';
|
|
6
|
+
import { QdPopoverComponent } from './popover/popover.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class QdPopoverModule {
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: QdPopoverModule, declarations: [QdPopoverComponent, QdPopoverOnClickDirective, QdPopoverOnHoverDirective], imports: [CommonModule], exports: [QdPopoverOnClickDirective, QdPopoverOnHoverDirective] });
|
|
11
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdPopoverModule, providers: [QdPopoverService], imports: [CommonModule] });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdPopoverModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
imports: [CommonModule],
|
|
17
|
+
declarations: [QdPopoverComponent, QdPopoverOnClickDirective, QdPopoverOnHoverDirective],
|
|
18
|
+
exports: [QdPopoverOnClickDirective, QdPopoverOnHoverDirective],
|
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angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class QdPopoverService {
|
|
5
|
+
closeHandler = new Subject();
|
|
6
|
+
closeAllOverlays(excludedPopovers = []) {
|
|
7
|
+
this.closeHandler.next(excludedPopovers);
|
|
8
|
+
}
|
|
9
|
+
subscribe(callback) {
|
|
10
|
+
return this.closeHandler.subscribe(callback);
|
|
11
|
+
}
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdPopoverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdPopoverService });
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdPopoverService, decorators: [{
|
|
16
|
+
type: Injectable
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wb3Zlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL2NvcmUvcG9wb3Zlci9wb3BvdmVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsT0FBTyxFQUFnQixNQUFNLE1BQU0sQ0FBQzs7QUFNN0MsTUFBTSxPQUFPLGdCQUFnQjtJQUNuQixZQUFZLEdBQUcsSUFBSSxPQUFPLEVBQXdCLENBQUM7SUFFM0QsZ0JBQWdCLENBQUMsbUJBQXlDLEVBQUU7UUFDMUQsSUFBSSxDQUFDLFlBQVks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mliZShjYWxsYmFjayk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Component, ElementRef, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class QdProjectionGuardComponent {
|
|
4
|
+
elementRef;
|
|
5
|
+
isDisabled = false;
|
|
6
|
+
warningMessage = 'QD-UI | QdProjectionGuard - This content is not supported and cannot be displayed:';
|
|
7
|
+
wildcardSlot;
|
|
8
|
+
constructor(elementRef) {
|
|
9
|
+
this.elementRef = elementRef;
|
|
10
|
+
}
|
|
11
|
+
ngAfterContentInit() {
|
|
12
|
+
if (this.isDisabled)
|
|
13
|
+
return;
|
|
14
|
+
this.wildcardSlot = this.elementRef.nativeElement;
|
|
15
|
+
if (!this.wildcardSlot.children.length)
|
|
16
|
+
return;
|
|
17
|
+
Array.from(this.wildcardSlot.children).forEach(el => console.warn(this.warningMessage, el));
|
|
18
|
+
}
|
|
19
|
+
ngAfterViewInit() {
|
|
20
|
+
this.elementRef.nativeElement.remove();
|
|
21
|
+
}
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdProjectionGuardComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdProjectionGuardComponent, selector: "qd-projection-guard", inputs: { isDisabled: "isDisabled", warningMessage: "warningMessage" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:none!important;position:absolute}\n"] });
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdProjectionGuardComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{ selector: 'qd-projection-guard', template: '<ng-content></ng-content>', styles: [":host{display:none!important;position:absolute}\n"] }]
|
|
28
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { isDisabled: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], warningMessage: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}] } });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvamVjdGlvbi1ndWFyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvY29yZS9wcm9qZWN0aW9uLWd1YXJkL3Byb2plY3Rpb24tZ3VhcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBbUMsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTzlGLE1BQU0sT0FBTywwQkFBMEI7SUFNakI7SUFMWCxVQUFVLEdBQUcsS0FBSyxDQUFDO0lBQ25CLGNBQWMsR0FBRyxvRkFBb0YsQ0FBQztJQUUvRyxZQUFZLENBQVc7SUFFdkIsWUFBb0IsVUFBc0I7UUFBdEIsZUFBVSxHQUFWLFVBQVUsQ0FBWTtJQUFHLENBQUM7SUFFOUMsa0JBQWtCO1FBQ2hCLElBQUksSUFBSSxDQUFDLFVBQVU7WUFBRSxPQUFPO1FBRTVCLElBQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxDQUFDLFVBQVUsQ0FBQyxhQUFhLENBQUM7UUFFbEQsSUFBSSxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsUUFBUSxDQUFDLE1BQU07WUFBRSxPQUFPO1FBRS9DLEtBQUssQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLFlBQVksQ0FBQyxRQUFRLENBQUMsQ0FBQyxPQUFPLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxPQUFPLENBQU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cbiAgd2lsZGNhcmRTbG90ITogRWxlbWVudDtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWYpIHt9XG5cbiAgbmdBZnRlckNvbnRlbnRJbml0KCk6IHZvaWQge1xuICAgIGlmICh0aGlzLmlzRGlzYWJsZWQpIHJldHVybjtcblxuICAgIHRoaXMud2lsZGNhcmRTbG90ID0gdGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQ7XG5cbiAgICBpZiAoIXRoaXMud2lsZGNhcmRTbG90LmNoaWxkcmVuLmxlbmd0aCkgcmV0dXJuO1xuXG4gICAgQXJyYXkuZnJvbSh0aGlzLndpbGRjYXJkU2xvdC5jaGlsZHJlbikuZm9yRWFjaChlbCA9PiBjb25zb2xlLndhcm4odGhpcy53YXJuaW5nTWVzc2FnZSwgZWwpKTtcbiAgfVxuXG4gIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5yZW1vdmUoKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class QdRwdDisabledDirective {
|
|
4
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdRwdDisabledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.9", type: QdRwdDisabledDirective, selector: "[qdRwdDisabled]", host: { classAttribute: "qd-rwd-disabled" }, ngImport: i0 });
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdRwdDisabledDirective, decorators: [{
|
|
8
|
+
type: Directive,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: '[qdRwdDisabled]',
|
|
11
|
+
host: { class: 'qd-rwd-disabled' }
|
|
12
|
+
}]
|
|
13
|
+
}] });
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicndkLWRpc2FibGVkLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9jb3JlL3J3ZC1kaXNhYmxlZC9yd2QtZGlzYWJsZWQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTTFDLE1BQU0sT0FBTyxzQkFBc0I7dUdBQXRCLHNCQUFzQjsyRkFBdEIsc0JBQXNCOzsyRkFBdEIsc0JBQXNCO2tCQUpsQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxpQkFBaUI7b0JBQzNCLElBQUksRUFBRSxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRTtpQkFDbkMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW3FkUndkRGlzYWJsZWRdJyxcbiAgaG9zdDogeyBjbGFzczogJ3FkLXJ3ZC1kaXNhYmxlZCcgfVxufSlcbmV4cG9ydCBjbGFzcyBRZFJ3ZERpc2FibGVkRGlyZWN0aXZlIHt9XG4iXX0=
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { debounce, distinctUntilChanged, EMPTY, map, of, pairwise, switchMap, timer } from 'rxjs';
|
|
2
|
+
import { concatMap, startWith } from 'rxjs/operators';
|
|
3
|
+
import { QdFormOptionsRequestState } from '../../forms/model/form-options-resolver';
|
|
4
|
+
/**
|
|
5
|
+
* Delays the emission of a value (like a loading spinner) for a given time and keeps it visible for at least a minimum duration.
|
|
6
|
+
*
|
|
7
|
+
* Time →
|
|
8
|
+
* Status: IDLE PENDING SUCCESS
|
|
9
|
+
* |-------------|--------------------|---------->
|
|
10
|
+
* |
|
|
11
|
+
* |--- appearAfter (e.g. 400ms) ---|
|
|
12
|
+
* |
|
|
13
|
+
* v
|
|
14
|
+
* Feedback: OFF ..........(waiting).......... ON |<--- minVisible (e.g. 300ms) --->| OFF
|
|
15
|
+
*
|
|
16
|
+
* - appearAfter:
|
|
17
|
+
* Number of milliseconds to wait before showing the value after the trigger condition is true.
|
|
18
|
+
* Example: 400 means the spinner appears 400 ms after PENDING starts.
|
|
19
|
+
*
|
|
20
|
+
* - minVisible:
|
|
21
|
+
* Minimum milliseconds the value stays visible, even if the state changes sooner.
|
|
22
|
+
* Example: 300 means the spinner will be shown for at least 300 ms.
|
|
23
|
+
*
|
|
24
|
+
* - triggerState:
|
|
25
|
+
* Function (curr, prev) that decides when to start the delay.
|
|
26
|
+
* Default: when the current state is PENDING and the previous state was not ERROR.
|
|
27
|
+
*
|
|
28
|
+
* - holdState:
|
|
29
|
+
* Function (state) that decides how long to keep the value visible.
|
|
30
|
+
* Default: as long as the state is PENDING.
|
|
31
|
+
*
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* delayedRequestState$ = requestState$.pipe(
|
|
35
|
+
* delayAndHold(
|
|
36
|
+
* 400, // wait 400 ms before showing
|
|
37
|
+
* 300, // show at least 300 ms
|
|
38
|
+
* (curr, prev) => curr === QdFormOptionsRequestState.PENDING && prev !== QdFormOptionsRequestState.ERROR,
|
|
39
|
+
* (state) => state === QdFormOptionsRequestState.PENDING
|
|
40
|
+
* )
|
|
41
|
+
* );
|
|
42
|
+
*
|
|
43
|
+
* @example with defaults
|
|
44
|
+
* myStream.pipe(delayAndHold());
|
|
45
|
+
*/
|
|
46
|
+
export function qdDelayAndHold(options = {}) {
|
|
47
|
+
const { appearAfter = 400, minVisible = 300, triggerState = (curr, prev) => curr === QdFormOptionsRequestState.PENDING && prev !== QdFormOptionsRequestState.ERROR, holdState = (state) => state === QdFormOptionsRequestState.PENDING } = options;
|
|
48
|
+
return (source$) => source$.pipe(distinctUntilChanged(), startWith(undefined), pairwise(), debounce(([prev, curr]) => (triggerState(curr, prev) ? timer(appearAfter) : of(true))), map(([, curr]) => curr), concatMap(state => holdState(state)
|
|
49
|
+
? timer(minVisible).pipe(switchMap(() => EMPTY), startWith(state))
|
|
50
|
+
: of(state)));
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVsYXktYW5kLWhvbGQub3BlcmF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvY29yZS9yeGpzL2RlbGF5LWFuZC1ob2xkLm9wZXJhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsb0JBQW9CLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBYyxFQUFFLEVBQUUsUUFBUSxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDOUcsT0FBTyxFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV0RCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQVNwRjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0F5Q0c7QUFDSCxNQUFNLFVBQVUsY0FBYyxDQUFJLFVBQW9DLEVBQUU7SUFDdEUsTUFBTSxFQUNKLFdBQVcsR0FBRyxHQUFHLEVBQ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TdGF0ZS5FUlJPUixcbiAgICBob2xkU3RhdGUgPSAoc3RhdGUpOiBib29sZWFuID0+IHN0YXRlID09PSBRZEZvcm1PcHRpb25zUmVxdWVzdFN0YXRlLlBFTkRJTkdcbiAgfSA9IG9wdGlvbnM7XG5cbiAgcmV0dXJuIChzb3VyY2UkOiBPYnNlcnZhYmxlPFQ+KTogT2JzZXJ2YWJsZTxUPiA9PlxuICAgIHNvdXJjZSQucGlwZShcbiAgICAgIGRpc3RpbmN0VW50aWxDaGFuZ2VkKCksXG4gICAgICBzdGFydFdpdGgodW5kZWZpbmVkIGFzIFQpLFxuICAgICAgcGFpcndpc2UoKSxcbiAgICAgIGRlYm91bmNlKChbcHJldiwgY3Vycl0pID0+ICh0cmlnZ2VyU3RhdGUoY3VyciwgcHJldikgPyB0aW1lcihhcHBlYXJBZnRlcikgOiBvZih0cnVlKSkpLFxuICAgICAgbWFwKChbLCBjdXJyXSkgPT4gY3VyciksXG4gICAgICBjb25jYXRNYXAoc3RhdGUgPT5cbiAgICAgICAgaG9sZFN0YXRlKHN0YXRlKVxuICAgICAgICAgID8gdGltZXIobWluVmlzaWJsZSkucGlwZShcbiAgICAgICAgICAgICAgc3dpdGNoTWFwKCgpID0+IEVNUFRZKSxcbiAgICAgICAgICAgICAgc3RhcnRXaXRoKHN0YXRlKVxuICAgICAgICAgICAgKVxuICAgICAgICAgIDogb2Yoc3RhdGUpXG4gICAgICApXG4gICAgKTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { combineLatest, concat, fromEvent } from 'rxjs';
|
|
3
|
+
import { debounceTime, map, startWith, take } from 'rxjs/operators';
|
|
4
|
+
import { breakpoints } from '../model/breakpoint.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class QdBreakpointService {
|
|
7
|
+
_breakpoints = breakpoints;
|
|
8
|
+
get breakpoints() {
|
|
9
|
+
return this._breakpoints;
|
|
10
|
+
}
|
|
11
|
+
getMatchingBreakpoint() {
|
|
12
|
+
const queries = Object.values(this.breakpoints).map(bp => `(min-width: ${bp}px)`);
|
|
13
|
+
const matches$ = queries.map(query => {
|
|
14
|
+
const mql = window.matchMedia(query);
|
|
15
|
+
return fromEvent(mql, 'change').pipe(map(event => event.matches), startWith(mql.matches));
|
|
16
|
+
});
|
|
17
|
+
const breakpoint = combineLatest(matches$).pipe(map(matches => (Object.keys(this.breakpoints)[matches.lastIndexOf(true)] || Object.keys(this.breakpoints)[0])));
|
|
18
|
+
return concat(breakpoint.pipe(take(1)), breakpoint.pipe(debounceTime(100)));
|
|
19
|
+
}
|
|
20
|
+
isViewportBelow(breakpoint) {
|
|
21
|
+
return this.getMatchingBreakpoint().pipe(map(currentBreakpoint => {
|
|
22
|
+
return this.breakpoints[currentBreakpoint] < this.breakpoints[breakpoint];
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdBreakpointService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdBreakpointService, providedIn: 'root' });
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdBreakpointService, decorators: [{
|
|
29
|
+
type: Injectable,
|
|
30
|
+
args: [{
|
|
31
|
+
providedIn: 'root'
|
|
32
|
+
}]
|
|
33
|
+
}] });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWtwb2ludC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL2NvcmUvc2VydmljZXMvY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ICAgICAgbWFwKGV2ZW50ID0+IGV2ZW50Lm1hdGNoZXMpLFxuICAgICAgICBzdGFydFdpdGgobXFsLm1hdGNoZXMpXG4gICAgICApO1xuICAgIH0pO1xuXG4gICAgY29uc3QgYnJlYWtwb2ludDogT2JzZXJ2YWJsZTxRZEJyZWFrcG9pbnQ+ID0gY29tYmluZUxhdGVzdChtYXRjaGVzJCkucGlwZShcbiAgICAgIG1hcChcbiAgICAgICAgbWF0Y2hlcyA9PlxuICAgICAgICAgIChPYmplY3Qua2V5cyh0aGlzLmJyZWFrcG9pbnRzKVttYXRjaGVzLmxhc3RJbmRleE9mKHRydWUpXSB8fCBPYmplY3Qua2V5cyh0aGlzLmJyZWFrcG9pbnRzKVswXSkgYXMgUWRCcmVha3BvaW50XG4gICAgICApXG4gICAgKTtcblxuICAgIHJldHVybiBjb25jYXQoYnJlYWtwb2ludC5waXBlKHRha2UoMSkpLCBicmVha3BvaW50LnBpcGUoZGVib3VuY2VUaW1lKDEwMCkpKTtcbiAgfVxuXG4gIGlzVmlld3BvcnRCZWxvdyhicmVha3BvaW50OiBRZEJyZWFrcG9pbnQpOiBPYnNlcnZhYmxlPGJvb2xlYW4+IHtcbiAgICByZXR1cm4gdGhpcy5nZXRNYXRjaGluZ0JyZWFrcG9pbnQoKS5waXBlKFxuICAgICAgbWFwKGN1cnJlbnRCcmVha3BvaW50ID0+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMuYnJlYWtwb2ludHNbY3VycmVudEJyZWFrcG9pbnRdIDwgdGhpcy5icmVha3BvaW50c1ticmVha3BvaW50XTtcbiAgICAgIH0pXG4gICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class QdElementService {
|
|
4
|
+
isOverflown(element) {
|
|
5
|
+
return element.scrollHeight > element.clientHeight || element.scrollWidth > element.clientWidth;
|
|
6
|
+
}
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdElementService, providedIn: 'root' });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdElementService, decorators: [{
|
|
11
|
+
type: Injectable,
|
|
12
|
+
args: [{
|
|
13
|
+
providedIn: 'root'
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL2NvcmUvc2VydmljZXMvZWxlbWVudC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSzNDLE1BQU0sT0FBTyxnQkFBZ0I7SUFDM0IsV0FBVyxDQUFDLE9BQW9CO1FBQzlCLE9BQU8sT0FBTyxDQUFDLFlBQVksR0FBRyxPQUFPLENBQUMsWUFBWSxJQUFJLE9BQU8sQ0FBQyxXQUFXLEdBQUcsT0FBTyxDQUFDLFdBQVcsQ0FBQztJQUNsRyxDQUFDO3VHQUhVLGdCQUFnQjsyR0FBaEIsZ0JBQWdCLGNBRmYsTUFBTTs7MkZBRVAsZ0JBQWdCO2tCQUg1QixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgUWRFbGVtZW50U2VydmljZSB7XG4gIGlzT3ZlcmZsb3duKGVsZW1lbnQ6IEhUTUxFbGVtZW50KTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIGVsZW1lbnQuc2Nyb2xsSGVpZ2h0ID4gZWxlbWVudC5jbGllbnRIZWlnaHQgfHwgZWxlbWVudC5zY3JvbGxXaWR0aCA+IGVsZW1lbnQuY2xpZW50V2lkdGg7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, EMPTY, shareReplay } from 'rxjs';
|
|
3
|
+
import { distinctUntilChanged, filter } from 'rxjs/operators';
|
|
4
|
+
import { isEqual } from 'lodash';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Inspired by Kafka's message broker architecture, the QdEventBrokerService provides a lightweight, event-driven
|
|
8
|
+
* communication layer within the Quadrel framework.
|
|
9
|
+
*
|
|
10
|
+
* #### Usage:
|
|
11
|
+
*
|
|
12
|
+
* **Produce an Event**
|
|
13
|
+
* Use the `produce` method to send an event to a specific topic.
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* eventBrokerService.produce('userLoggedIn', { userId: 123, name: 'John Doe' });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* **Consuming an Event**
|
|
20
|
+
* Subscribe to a topic to receive updates when an event is produced.
|
|
21
|
+
*
|
|
22
|
+
* ```typescript
|
|
23
|
+
* eventBrokerService.consume<{ userId: number; name: string }>('userLoggedIn')
|
|
24
|
+
* .subscribe(event => {
|
|
25
|
+
* console.log('User logged in:', event.payload);
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* **Unsubscribing from a Topic**
|
|
30
|
+
* Calling `unsubscribeFrom(topic)` removes the topic and closes its event stream.
|
|
31
|
+
* This affects all consumers** subscribed to the topic, as no more updates will be sent.
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* eventBrokerService.unsubscribeFrom('userLoggedIn');
|
|
35
|
+
* ```
|
|
36
|
+
* After this method is called, subscribing to the topic will return an empty stream.
|
|
37
|
+
*
|
|
38
|
+
* **Ensuring Topic Existence**
|
|
39
|
+
* The `produce` method automatically creates a topic if it does not exist. However, topics are only removed when
|
|
40
|
+
* explicitly unsubscribed using `unsubscribeFrom()`.
|
|
41
|
+
*
|
|
42
|
+
* **What are Topics?**
|
|
43
|
+
* A **topic** is a named communication channel where events are published and consumed.
|
|
44
|
+
* Topics allow different parts of an application to exchange information **without being directly connected**.
|
|
45
|
+
* This makes the system more flexible and easier to maintain.
|
|
46
|
+
*/
|
|
47
|
+
export class QdEventBrokerService {
|
|
48
|
+
_topics = new Map();
|
|
49
|
+
produce(topic, payload) {
|
|
50
|
+
this.ensureTopicExists(topic);
|
|
51
|
+
this._topics.get(topic).next({ topic, payload });
|
|
52
|
+
}
|
|
53
|
+
consume(topic) {
|
|
54
|
+
if (!this._topics.has(topic)) {
|
|
55
|
+
console.warn(`QD-UI | QdEventBrokerService - Topic "${topic}" does not exist.`);
|
|
56
|
+
return EMPTY;
|
|
57
|
+
}
|
|
58
|
+
return this._topics.get(topic).pipe(filter(event => event.payload != null), distinctUntilChanged((prev, curr) => isEqual(prev, curr)), shareReplay(1));
|
|
59
|
+
}
|
|
60
|
+
unsubscribeFrom(topic) {
|
|
61
|
+
const subject = this._topics.get(topic);
|
|
62
|
+
if (subject && !subject.closed)
|
|
63
|
+
subject.complete();
|
|
64
|
+
this._topics.delete(topic);
|
|
65
|
+
}
|
|
66
|
+
ensureTopicExists(topic) {
|
|
67
|
+
if (!this._topics.has(topic))
|
|
68
|
+
this._topics.set(topic, new BehaviorSubject({ topic, payload: undefined }));
|
|
69
|
+
}
|
|
70
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdEventBrokerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
71
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdEventBrokerService });
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdEventBrokerService, decorators: [{
|
|
74
|
+
type: Injectable
|
|
75
|
+
}] });
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtYnJva2VyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvY29yZS9zZXJ2aWNlcy9ldmVudC1icm9rZXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxlQUFlLEVBQUUsS0FBSyxFQUFjLFdBQVcsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN2RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDOUQsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFFBQVEsQ0FBQzs7QUFFakM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0F3Q0c7QUFFSCxNQUFNLE9BQU8sb0JBQW9CO0lBQ3ZCLE9BQU8sR0FBRyxJQUFJLEdBQUcsRUFBNEQsQ0FBQztJQUV0RixPQUFPLENBQUksS0FBYSxFQUFFLE9BQVU7UUFDbE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uIl19
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { NEVER, Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Service for handling real-time server-sent events.
|
|
6
|
+
*
|
|
7
|
+
* ### Benefits
|
|
8
|
+
*
|
|
9
|
+
* - **Real-Time Interaction**: Enables live updates without user actions or polling.
|
|
10
|
+
* - **Scalable and Flexible**: The system is flexible and easily expandable to handle new events.
|
|
11
|
+
* - **Consistency**: Ensures synchronization between server and client states for a consistent user experience.
|
|
12
|
+
*
|
|
13
|
+
* ### Usage
|
|
14
|
+
*
|
|
15
|
+
* ```ts
|
|
16
|
+
* // Start the connection to the events
|
|
17
|
+
* pushEventsService.connect('http://service-endpint/events');
|
|
18
|
+
*
|
|
19
|
+
* // Subscribe to the event (Side Effect)
|
|
20
|
+
* const subscription = pushEventsService.observe('RESOURCE_UPDATED').subscribe(event => handleEvent(event));
|
|
21
|
+
*
|
|
22
|
+
* // Unsubscribe to prevent memory leaks
|
|
23
|
+
* subscription.unsubscribe();
|
|
24
|
+
*
|
|
25
|
+
* // Disconnect the connection
|
|
26
|
+
* pushEventsService.disconnect();
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export class QdPushEventsService {
|
|
30
|
+
_eventSource;
|
|
31
|
+
_eventSubscriptionSubjects = new Map();
|
|
32
|
+
_listeners = [];
|
|
33
|
+
_heartbeatTimeout;
|
|
34
|
+
_reconnectDelayTime = 10000;
|
|
35
|
+
_heartbeatReconnectDelayTime = 100;
|
|
36
|
+
/**
|
|
37
|
+
* Establishes an EventSource connection to the given URL.
|
|
38
|
+
* Automatically reconnects if heartbeat fails or is delayed.
|
|
39
|
+
* Subscribers are retained across reconnections.
|
|
40
|
+
*
|
|
41
|
+
* @param url The backend URL for the event stream.
|
|
42
|
+
*/
|
|
43
|
+
connect(url) {
|
|
44
|
+
if (this.isConnectedOrConnecting())
|
|
45
|
+
return;
|
|
46
|
+
if (!this._eventSource || this._eventSource.readyState === EventSource.CLOSED)
|
|
47
|
+
this._eventSource = new EventSource(url);
|
|
48
|
+
this._eventSource.onerror = (err) => {
|
|
49
|
+
if (this._eventSource.readyState === EventSource.CLOSED)
|
|
50
|
+
this.reconnect();
|
|
51
|
+
this.logError('SSE connection error:', err);
|
|
52
|
+
};
|
|
53
|
+
this._eventSource.addEventListener('HEARTBEAT', message => {
|
|
54
|
+
if (this._heartbeatTimeout)
|
|
55
|
+
clearTimeout(this._heartbeatTimeout);
|
|
56
|
+
const interval = JSON.parse(message.data).interval;
|
|
57
|
+
this._heartbeatTimeout = setTimeout(() => this.reconnect(), interval + this._heartbeatReconnectDelayTime);
|
|
58
|
+
});
|
|
59
|
+
this._heartbeatTimeout = setTimeout(() => this.reconnect(), this._reconnectDelayTime);
|
|
60
|
+
this.addEventListenersForExistingSubscriptions();
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Closes the EventSource connection and clears all listeners.
|
|
64
|
+
* Subscribers are preserved for reconnection.
|
|
65
|
+
*/
|
|
66
|
+
disconnect() {
|
|
67
|
+
if (!this._eventSource) {
|
|
68
|
+
this.logWarn('No active connection to disconnect.');
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
this.removeAllEventListenersFromEventSource();
|
|
72
|
+
this._eventSource.close();
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns an Observable for the specified event name.
|
|
76
|
+
* If not connected, returns `NEVER` and logs an error.
|
|
77
|
+
* Automatically adds a listener for the event if needed.
|
|
78
|
+
*
|
|
79
|
+
* @param eventName The event type ('RESOURCE_CREATED', 'RESOURCE_UPDATED', 'RESOURCE_DELETED').
|
|
80
|
+
* @returns Observable<MessageEvent> The event stream.
|
|
81
|
+
*/
|
|
82
|
+
observe(eventName) {
|
|
83
|
+
if (!this._eventSource) {
|
|
84
|
+
this.logError('Cannot observe events without a connection. Call connect() first.');
|
|
85
|
+
return NEVER;
|
|
86
|
+
}
|
|
87
|
+
if (!this._eventSubscriptionSubjects.has(eventName)) {
|
|
88
|
+
this._eventSubscriptionSubjects.set(eventName, new Subject());
|
|
89
|
+
this.addEventListenerForEventName(eventName);
|
|
90
|
+
}
|
|
91
|
+
return this._eventSubscriptionSubjects.get(eventName).asObservable();
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Removes all listeners and clears all subscriptions.
|
|
95
|
+
* The EventSource connection remains open.
|
|
96
|
+
*/
|
|
97
|
+
unobserveAll() {
|
|
98
|
+
this.removeAllEventListenersFromEventSource();
|
|
99
|
+
this._eventSubscriptionSubjects.clear();
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Checks if the EventSource is connected or in the process of connecting.
|
|
103
|
+
*/
|
|
104
|
+
isConnectedOrConnecting() {
|
|
105
|
+
return (this._eventSource &&
|
|
106
|
+
(this._eventSource.readyState === EventSource.OPEN || this._eventSource.readyState === EventSource.CONNECTING));
|
|
107
|
+
}
|
|
108
|
+
reconnect() {
|
|
109
|
+
if (!this.isConnectedOrConnecting()) {
|
|
110
|
+
this.disconnect();
|
|
111
|
+
this.connect(this._eventSource.url);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
addEventListenerForEventName(eventName) {
|
|
115
|
+
const callback = (messageEvent) => {
|
|
116
|
+
const subject = this._eventSubscriptionSubjects.get(eventName);
|
|
117
|
+
if (subject)
|
|
118
|
+
subject.next(messageEvent);
|
|
119
|
+
};
|
|
120
|
+
this._eventSource.addEventListener(eventName, callback);
|
|
121
|
+
this._listeners.push([eventName, callback]);
|
|
122
|
+
}
|
|
123
|
+
addEventListenersForExistingSubscriptions() {
|
|
124
|
+
this._eventSubscriptionSubjects.forEach((subject, eventName) => this.addEventListenerToEventSource(eventName, (messageEvent) => subject.next(messageEvent)));
|
|
125
|
+
}
|
|
126
|
+
addEventListenerToEventSource(eventName, callback) {
|
|
127
|
+
this._eventSource.addEventListener(eventName, callback);
|
|
128
|
+
this._listeners.push([eventName, callback]);
|
|
129
|
+
}
|
|
130
|
+
removeAllEventListenersFromEventSource() {
|
|
131
|
+
if (!this._eventSource) {
|
|
132
|
+
this.logWarn('Cannot remove listeners: No active connection.');
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
this._listeners.forEach(([eventName, callback]) => this._eventSource.removeEventListener(eventName, callback));
|
|
136
|
+
this._listeners = [];
|
|
137
|
+
}
|
|
138
|
+
logWarn(message) {
|
|
139
|
+
console.warn(`QD-UI | QdPushEventsService - ${message}`);
|
|
140
|
+
}
|
|
141
|
+
logError(message, err) {
|
|
142
|
+
console.error(`QD-UI | QdPushEventsService - ${message}`, err);
|
|
143
|
+
}
|
|
144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdPushEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
145
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdPushEventsService, providedIn: 'root' });
|
|
146
|
+
}
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdPushEventsService, decorators: [{
|
|
148
|
+
type: Injectable,
|
|
149
|
+
args: [{
|
|
150
|
+
providedIn: 'root'
|
|
151
|
+
}]
|
|
152
|
+
}] });
|
|
153
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVzaC1ldmVudHMuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9jb3JlL3NlcnZpY2VzL3B1c2gtZXZlbnRzLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFN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Bjb25zb2xlLmVycm9yKGBRRC1VSSB8IFFkUHVzaEV2ZW50c1NlcnZpY2UgLSAke21lc3NhZ2V9YCwgZXJyKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class QdScrollingService {
|
|
4
|
+
scrollIntoViewIfNeeded(element, borderDirection = 'top', targetBorderDistance = 0) {
|
|
5
|
+
this.scrollIntoView(element, borderDirection, targetBorderDistance, true);
|
|
6
|
+
}
|
|
7
|
+
scrollIntoView(element, borderDirection = 'top', targetBorderDistance = 0, onlyIfOutsideView = false) {
|
|
8
|
+
const borderDistances = this.getBorderDistances(element);
|
|
9
|
+
if (onlyIfOutsideView && this.isInViewport(borderDistances))
|
|
10
|
+
return;
|
|
11
|
+
switch (borderDirection) {
|
|
12
|
+
case 'top':
|
|
13
|
+
window.scrollBy({ behavior: 'smooth', top: -(targetBorderDistance - borderDistances.top) });
|
|
14
|
+
break;
|
|
15
|
+
case 'left':
|
|
16
|
+
window.scrollBy({ behavior: 'smooth', left: -(targetBorderDistance - borderDistances.left) });
|
|
17
|
+
break;
|
|
18
|
+
case 'right':
|
|
19
|
+
window.scrollBy({ behavior: 'smooth', left: targetBorderDistance - borderDistances.right });
|
|
20
|
+
break;
|
|
21
|
+
case 'bottom':
|
|
22
|
+
window.scrollBy({ behavior: 'smooth', top: targetBorderDistance - borderDistances.bottom });
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
getBorderDistances(element) {
|
|
27
|
+
const boundingClientRect = element.getBoundingClientRect();
|
|
28
|
+
return {
|
|
29
|
+
top: boundingClientRect.top,
|
|
30
|
+
left: boundingClientRect.left,
|
|
31
|
+
right: (window.innerWidth || document.documentElement.clientWidth) - boundingClientRect.right,
|
|
32
|
+
bottom: (window.innerHeight || document.documentElement.clientHeight) - boundingClientRect.bottom
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
isInViewport(borderDistances) {
|
|
36
|
+
return Object.values(borderDistances).every(distance => distance > 0);
|
|
37
|
+
}
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdScrollingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
39
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdScrollingService, providedIn: 'root' });
|
|
40
|
+
}
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdScrollingService, decorators: [{
|
|
42
|
+
type: Injectable,
|
|
43
|
+
args: [{
|
|
44
|
+
providedIn: 'root'
|
|
45
|
+
}]
|
|
46
|
+
}] });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsaW5nLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvY29yZS9zZXJ2aWNlcy9zY3JvbGxpbmcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVEzQyxNQUFNLE9BQU8sa0JBQWtCO0lBQzdCLHNCQUFzQixDQUNwQixPQUFvQixFQUNwQixrQkFBbUMsS0FBSyxFQUN4QyxvQkFBb0IsR0FBRyxDQUFDO1FBRXhCLElBQUksQ0FBQyxjQUFjLENBQUMsT0FBTyxFQUFFLGVBQWUsRUFBRSxvQkFBb0IsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUM1RSxDQUFDO0lBRUQsY0FBYyxDQUNaLE9BQW9CLEVBQ3BCLGtCQUFtQyxLQUFLLEVBQ3hDLG9CQUF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xuICAgIH07XG4gIH1cblxuICBwcml2YXRlIGlzSW5WaWV3cG9ydChib3JkZXJEaXN0YW5jZXM6IEJvcmRlckRpc3RhbmNlcyk6IGJvb2xlYW4ge1xuICAgIHJldHVybiBPYmplY3QudmFsdWVzKGJvcmRlckRpc3RhbmNlcykuZXZlcnkoZGlzdGFuY2UgPT4gZGlzdGFuY2UgPiAwKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// @ts-strict-ignore
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@ngx-translate/core";
|
|
6
|
+
export class QdTranslateService {
|
|
7
|
+
translateService;
|
|
8
|
+
constructor(translateService) {
|
|
9
|
+
this.translateService = translateService;
|
|
10
|
+
}
|
|
11
|
+
translate(translatable) {
|
|
12
|
+
let translation;
|
|
13
|
+
if (translatable.i18n) {
|
|
14
|
+
translation = this.translateService.instant(translatable.i18n);
|
|
15
|
+
}
|
|
16
|
+
else if (translatable.translation) {
|
|
17
|
+
translation = translatable.translation[this.translateService.currentLang || 'de'];
|
|
18
|
+
if (translation === undefined) {
|
|
19
|
+
console.error(`Language "${this.translateService.currentLang}" is not implemented!`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return translation || '';
|
|
23
|
+
}
|
|
24
|
+
get currentLang() {
|
|
25
|
+
return this.translateService.currentLang;
|
|
26
|
+
}
|
|
27
|
+
get onLangChange() {
|
|
28
|
+
return this.translateService.onLangChange;
|
|
29
|
+
}
|
|
30
|
+
get instant() {
|
|
31
|
+
return this.translateService.instant;
|
|
32
|
+
}
|
|
33
|
+
get use() {
|
|
34
|
+
return this.translateService.use;
|
|
35
|
+
}
|
|
36
|
+
get getTranslation() {
|
|
37
|
+
return this.translateService.getTranslation;
|
|
38
|
+
}
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdTranslateService, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
40
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdTranslateService, providedIn: 'root' });
|
|
41
|
+
}
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdTranslateService, decorators: [{
|
|
43
|
+
type: Injectable,
|
|
44
|
+
args: [{
|
|
45
|
+
providedIn: 'root'
|
|
46
|
+
}]
|
|
47
|
+
}], ctorParameters: () => [{ type: i1.TranslateService }] });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvY29yZS9zZXJ2aWNlcy90cmFuc2xhdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQkFBb0I7QUFDcEIsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7O0FBTXZELE1BQU0sT0FBTyxrQkFBa0I7SUFDVDtJQUFwQixZQUFvQixnQkFBa0M7UUFBbEMscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFrQjtJQUFHLENBQUM7SUFFMUQsU0FBUyxDQUFDLFlBQTRCO1FBQ3BDLElBQUksV0FBVyxDQUFDO1FBRWhCLElBQUksWUFBWSxDQUFDLElBQUksRUFBRSxDQUFDO1lBQ3RCLFdBQVcsR0FBRyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsT0FBTyxDQUFDLFlBQVksQ0FB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dGlvbiB8fCAnJztcbiAgfVxuXG4gIGdldCBjdXJyZW50TGFuZygpOiBzdHJpbmcge1xuICAgIHJldHVybiB0aGlzLnRyYW5zbGF0ZVNlcnZpY2UuY3VycmVudExhbmc7XG4gIH1cblxuICBnZXQgb25MYW5nQ2hhbmdlKCk6IFRyYW5zbGF0ZVNlcnZpY2VbJ29uTGFuZ0NoYW5nZSddIHtcbiAgICByZXR1cm4gdGhpcy50cmFuc2xhdGVTZXJ2aWNlLm9uTGFuZ0NoYW5nZTtcbiAgfVxuXG4gIGdldCBpbnN0YW50KCk6IFRyYW5zbGF0ZVNlcnZpY2VbJ2luc3RhbnQnXSB7XG4gICAgcmV0dXJuIHRoaXMudHJhbnNsYXRlU2VydmljZS5pbnN0YW50O1xuICB9XG5cbiAgZ2V0IHVzZSgpOiBUcmFuc2xhdGVTZXJ2aWNlWyd1c2UnXSB7XG4gICAgcmV0dXJuIHRoaXMudHJhbnNsYXRlU2VydmljZS51c2U7XG4gIH1cblxuICBnZXQgZ2V0VHJhbnNsYXRpb24oKTogVHJhbnNsYXRlU2VydmljZVsnZ2V0VHJhbnNsYXRpb24nXSB7XG4gICAgcmV0dXJuIHRoaXMudHJhbnNsYXRlU2VydmljZS5nZXRUcmFuc2xhdGlvbjtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { upperCase } from 'lodash';
|
|
2
|
+
export const constantCase = (str) => upperCase(str).replace(/ /g, '_');
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRDYXNlLnRvb2xzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL2NvcmUvdG9vbHMvY29uc3RhbnRDYXNlLnRvb2xzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxRQUFRLENBQUM7QUFFbkMsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLENBQUMsR0FBVyxFQUFVLEVBQUUsQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLENBQUMsT0FBTyxDQUFDLElBQUksRUFBRSxHQUFHLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHVwcGVyQ2FzZSB9IGZyb20gJ2xvZGFzaCc7XG5cbmV4cG9ydCBjb25zdCBjb25zdGFudENhc2UgPSAoc3RyOiBzdHJpbmcpOiBzdHJpbmcgPT4gdXBwZXJDYXNlKHN0cikucmVwbGFjZSgvIC9nLCAnXycpO1xuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import globalVars from '../../../global-vars.json';
|
|
2
|
+
export const convertPxToRem = (pixel) => `${parseFloat((pixel / globalVars.base.fontsize).toFixed(3))}rem`;
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydFB4VG9SZW0udG9vbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvY29yZS90b29scy9jb252ZXJ0UHhUb1JlbS50b29scy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFVBQVUsTUFBTSwyQkFBMkIsQ0FBQztBQUVuRCxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQUcsQ0FBQyxLQUFhLEVBQVUsRUFBRSxDQUN0RCxHQUFHLFVBQVUsQ0FBQyxDQUFDLEtBQUssR0FBRyxVQUFVLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgZ2xvYmFsVmFycyBmcm9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