@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,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLW9wdGlvbnMuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL3NlYXJjaC9tb2RlbC9zZWFyY2gtb3B0aW9ucy5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFFkVG9vbHRpcENvbnRlbnQgfSBmcm9tICcuLi8uLi9jb3JlL3Rvb2x0aXAvbW9kZWwvdG9vbHRpcC1jb250ZW50LmludGVyZmFjZSc7XG5cbi8qKlxuICogQGRlc2NyaXB0aW9uIENvbmZpZ3VyYXRpb24gTW9kZWwgZm9yIFFkU2VhcmNoLlxuICovXG5leHBvcnQgaW50ZXJmYWNlIFFkU2VhcmNoT3B0aW9ucyB7XG4gIC8qKlxuICAgKiBAZGVzY3JpcHRpb24gRGVmaW5lcyB0aGUgdmFsdWUgb2YgdGhlIHNlYXJjaCBpbnB1dCBmaWVsZC4gQSBkZWZhdWx0IHZhbHVlIGNhbiBiZSBzZXQgaGVyZSwgd2hpY2ggdGhlbiBhcHBlYXJzIGluIHRoZSBzZWFyY2ggZmllbGQuXG4gICAqICpcbiAgICogKiBAZGVmYXVsdCAnJ1xuICAgKi9cbiAgcGhyYXNlPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBAZGVzY3JpcHRpb24gVGhpcyBwcm9wZXJ0eSBpcyB1c2VkIHRvIGRpc3BsY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gIHBocmFzZTogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBAZGVzY3JpcHRpb24gVGhpcyBwcm9wZXJ0eSByZWZsZWN0cyB0aGUgUHJlU2VsZWN0IHZhbHVlLlxuICAgKi9cbiAgcHJlU2VsZWN0OiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLXN0b3JlLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zZWFyY2gvbW9kZWwvc2VhcmNoLXN0b3JlLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBRZFNlYXJjaFN0b3JlIHtcbiAgcWRVaVNlYXJjaDogUWRTZWFyY2hTdG9yZURhdGE7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgUWRTZWFyY2hTdG9yZURhdGEge1xuICBbc2VhcmNoSWQ6IHN0cmluZ106IFFkU2VhcmNoU3RhdGU7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgUWRTZWFyY2hTdGF0ZSB7XG4gIHBocmFzZTogc3RyaW5nO1xuICBwcmVTZWxlY3Q6IHN0cmluZztcbn1cbiJdfQ==
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Component, Input, Optional, Self, SkipSelf, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { filter, take } from 'rxjs/operators';
|
|
3
|
+
import { v4 as uuid } from 'uuid';
|
|
4
|
+
import isEqual from 'lodash/isEqual';
|
|
5
|
+
import { BehaviorSubject, delay, firstValueFrom, from, merge, ReplaySubject, Subject, switchMap, takeUntil } from 'rxjs';
|
|
6
|
+
import { QdSearchRouterConnectorService } from './services/search-router-connector.service';
|
|
7
|
+
import { QdSearchStoreService } from './services/search-store.service';
|
|
8
|
+
import { QdSearchService } from './services/search.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "./services/search-store.service";
|
|
11
|
+
import * as i2 from "./services/search-router-connector.service";
|
|
12
|
+
import * as i3 from "./services/search.service";
|
|
13
|
+
import * as i4 from "@angular/common";
|
|
14
|
+
import * as i5 from "../button/icon-button/icon-button.component";
|
|
15
|
+
import * as i6 from "../forms/dropdown/dropdown.component";
|
|
16
|
+
import * as i7 from "../forms/input/input.component";
|
|
17
|
+
import * as i8 from "../icon/icon/icon.component";
|
|
18
|
+
import * as i9 from "../core/tooltip/tooltip-on-tap-hover/tooltip-on-click.directive";
|
|
19
|
+
import * as i10 from "@ngx-translate/core";
|
|
20
|
+
/**
|
|
21
|
+
* **QdSearchComponent** is a flexible search field with many configuration options.
|
|
22
|
+
*
|
|
23
|
+
* #### **Features**
|
|
24
|
+
*
|
|
25
|
+
* - **Search Field**: Text input with configurable placeholder, clear ("x") button, autofocus, and optional initial value.
|
|
26
|
+
* - **PreSelect Dropdown**: Optional dropdown for category or mode selection, with disabling, and customizable labels.
|
|
27
|
+
* - **Additional Info**: Optionally displays an info icon with tooltip for user guidance.
|
|
28
|
+
* - **Router Integration**: Supports synchronizing search state with URL query parameters.
|
|
29
|
+
*
|
|
30
|
+
* #### **Usage**
|
|
31
|
+
*
|
|
32
|
+
* ```html
|
|
33
|
+
* <qd-search [configData]="searchConfig"></qd-search>
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* searchConfig: QdSearchOptions = {
|
|
38
|
+
* phrase: 'Initial search',
|
|
39
|
+
* clearable: true,
|
|
40
|
+
* preSelect: {
|
|
41
|
+
* optionsList: [
|
|
42
|
+
* { i18n: 'All', value: 'all' },
|
|
43
|
+
* { i18n: 'Open', value: 'open' },
|
|
44
|
+
* { i18n: 'Closed', value: 'closed' }
|
|
45
|
+
* ]
|
|
46
|
+
* },
|
|
47
|
+
* placeholder: { i18n: 'Search by keyword' },
|
|
48
|
+
* emptyAfterSearch: true,
|
|
49
|
+
* connectWithRouter: true
|
|
50
|
+
* };
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export class QdSearchComponent {
|
|
54
|
+
searchStoreService;
|
|
55
|
+
searchRouterConnectorService;
|
|
56
|
+
cd;
|
|
57
|
+
/**
|
|
58
|
+
* The configuration of the search.
|
|
59
|
+
*/
|
|
60
|
+
set configData(configData) {
|
|
61
|
+
this._configDataSubject.next(QdSearchService.getDefaultOptions(configData));
|
|
62
|
+
this.cd.detectChanges();
|
|
63
|
+
}
|
|
64
|
+
get configData() {
|
|
65
|
+
return this._configDataSubject.value;
|
|
66
|
+
}
|
|
67
|
+
searchId;
|
|
68
|
+
searchService;
|
|
69
|
+
_configDataSubject = new BehaviorSubject({});
|
|
70
|
+
_search = '';
|
|
71
|
+
_preSelect = '';
|
|
72
|
+
_destroyed$ = new Subject();
|
|
73
|
+
_searchConnectedWithRouterSubject = new ReplaySubject();
|
|
74
|
+
_searchConnectedWithRouter$ = this._searchConnectedWithRouterSubject.asObservable();
|
|
75
|
+
get inputConfig() {
|
|
76
|
+
return {
|
|
77
|
+
inputType: 'text',
|
|
78
|
+
clearable: (this.configData?.clearable ?? false) && this._search.length > 0,
|
|
79
|
+
hasAutofocus: !!this.configData?.hasAutofocus,
|
|
80
|
+
placeholder: this.configData?.placeholder,
|
|
81
|
+
viewonly: false
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
get hasConfig() {
|
|
85
|
+
return !!this.configData;
|
|
86
|
+
}
|
|
87
|
+
get dropdownConfig() {
|
|
88
|
+
return {
|
|
89
|
+
options: this.configData.preSelect?.optionsList
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
get search() {
|
|
93
|
+
return this._search;
|
|
94
|
+
}
|
|
95
|
+
set search(search) {
|
|
96
|
+
this.searchStoreService.updatePhrase(this.searchId, search);
|
|
97
|
+
this._search = search;
|
|
98
|
+
this.cd.detectChanges();
|
|
99
|
+
}
|
|
100
|
+
get preSelect() {
|
|
101
|
+
return this._preSelect;
|
|
102
|
+
}
|
|
103
|
+
set preSelect(preSelect) {
|
|
104
|
+
this.searchStoreService.updatePreSelect(this.searchId, preSelect);
|
|
105
|
+
this._preSelect = preSelect;
|
|
106
|
+
this.cd.detectChanges();
|
|
107
|
+
}
|
|
108
|
+
get hasAdditionalInfo() {
|
|
109
|
+
return QdSearchService.hasAdditionalInfo(this.configData);
|
|
110
|
+
}
|
|
111
|
+
get preSelectedEnabled() {
|
|
112
|
+
const preSelect = this.configData?.preSelect;
|
|
113
|
+
return !!preSelect?.optionsList?.length && !preSelect.disabled;
|
|
114
|
+
}
|
|
115
|
+
constructor(searchStoreService, searchRouterConnectorService, selfSearchService, parentSearchService, cd) {
|
|
116
|
+
this.searchStoreService = searchStoreService;
|
|
117
|
+
this.searchRouterConnectorService = searchRouterConnectorService;
|
|
118
|
+
this.cd = cd;
|
|
119
|
+
this.searchService = parentSearchService ?? selfSearchService;
|
|
120
|
+
}
|
|
121
|
+
async ngOnInit() {
|
|
122
|
+
await this.waitForConfigData();
|
|
123
|
+
this.searchId = this.configData?.uid || uuid();
|
|
124
|
+
this.searchStoreService
|
|
125
|
+
.selectSearchDataById$(this.searchId)
|
|
126
|
+
.pipe(take(1))
|
|
127
|
+
.subscribe(searchDataFromStore => {
|
|
128
|
+
if (searchDataFromStore) {
|
|
129
|
+
this._search = searchDataFromStore.phrase;
|
|
130
|
+
this._preSelect = searchDataFromStore.preSelect;
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
this._search = this.configData?.phrase || '';
|
|
134
|
+
this._preSelect = QdSearchService.getDefaultPreSelectString(this.configData);
|
|
135
|
+
this.searchStoreService.initSearchState(this.searchId, this._search, this._preSelect);
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
this.searchRouterConnectorService
|
|
139
|
+
.connectSearchWithRouter(this)
|
|
140
|
+
.pipe(takeUntil(this._destroyed$))
|
|
141
|
+
.subscribe(() => this._searchConnectedWithRouterSubject.next());
|
|
142
|
+
}
|
|
143
|
+
waitForConfigData() {
|
|
144
|
+
return firstValueFrom(this._configDataSubject.pipe(filter(configData => !!configData)));
|
|
145
|
+
}
|
|
146
|
+
ngOnChanges(changes) {
|
|
147
|
+
if (changes['configData'] && !changes['configData'].firstChange) {
|
|
148
|
+
if (this.hasPhraseChanged(changes)) {
|
|
149
|
+
this.search = this.configData.phrase || '';
|
|
150
|
+
}
|
|
151
|
+
if (this.hasPreselectOptionsListChanged(changes)) {
|
|
152
|
+
this.preSelect = QdSearchService.getDefaultPreSelectString(this.configData);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
ngOnDestroy() {
|
|
157
|
+
this.searchRouterConnectorService.disconnectSearchFromRouter(this);
|
|
158
|
+
this._destroyed$.next();
|
|
159
|
+
this._destroyed$.complete();
|
|
160
|
+
}
|
|
161
|
+
handleDelete() {
|
|
162
|
+
this.handleClear();
|
|
163
|
+
this.searchService.setSearchValues(this.search, this.preSelect);
|
|
164
|
+
this.searchService.emitSearchQueryString();
|
|
165
|
+
this.searchService.emitSearchPostBody();
|
|
166
|
+
}
|
|
167
|
+
startSearch() {
|
|
168
|
+
if (this.search !== '' || this.isEmptySearchEmitted()) {
|
|
169
|
+
this.searchService.setSearchValues(this.search, this.preSelect);
|
|
170
|
+
this.searchService.emitSearchQueryString();
|
|
171
|
+
this.searchService.emitSearchPostBody();
|
|
172
|
+
}
|
|
173
|
+
if (this.configData?.emptyAfterSearch)
|
|
174
|
+
this.handleClear();
|
|
175
|
+
}
|
|
176
|
+
hasConfigData() {
|
|
177
|
+
return this.configData !== undefined;
|
|
178
|
+
}
|
|
179
|
+
getSearchChanges$() {
|
|
180
|
+
return from(this.waitForConfigData()).pipe(switchMap(() => this._searchConnectedWithRouter$), delay(1), switchMap(() => merge(this.searchStoreService.selectSearchDataById$(this.searchId).pipe(take(1), delay(1)), this.searchService.searchPostBody$)));
|
|
181
|
+
}
|
|
182
|
+
hasPhraseChanged(changes) {
|
|
183
|
+
return !isEqual(changes['configData'].previousValue?.phrase, changes['configData'].currentValue?.phrase);
|
|
184
|
+
}
|
|
185
|
+
hasPreselectOptionsListChanged(changes) {
|
|
186
|
+
return !isEqual(changes['configData'].previousValue?.preSelect?.optionsList, changes['configData'].currentValue?.preSelect?.optionsList);
|
|
187
|
+
}
|
|
188
|
+
handleClear() {
|
|
189
|
+
this.search = '';
|
|
190
|
+
}
|
|
191
|
+
isEmptySearchEmitted() {
|
|
192
|
+
return this.configData.emitEmptySearch ?? !!this.configData.clearable;
|
|
193
|
+
}
|
|
194
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchComponent, deps: [{ token: i1.QdSearchStoreService }, { token: i2.QdSearchRouterConnectorService }, { token: i3.QdSearchService, self: true }, { token: i3.QdSearchService, optional: true, skipSelf: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
195
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdSearchComponent, selector: "qd-search", inputs: { configData: "configData" }, host: { properties: { "class.hidden": "!hasConfig" }, classAttribute: "qd-search" }, providers: [QdSearchService, QdSearchRouterConnectorService], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"hasConfig\">\n <div class=\"search-field\">\n <qd-dropdown\n *ngIf=\"preSelectedEnabled\"\n class=\"preselect\"\n [(value)]=\"preSelect\"\n [config]=\"dropdownConfig\"\n ></qd-dropdown>\n\n <qd-input\n class=\"search-input\"\n [(value)]=\"search\"\n [config]=\"inputConfig\"\n (keydown.enter)=\"startSearch()\"\n (clickClear)=\"handleDelete()\"\n data-test-id=\"search-input\"\n ></qd-input>\n <button\n type=\"button\"\n qdIconButton\n qdStopPropagation\n data-test-id=\"search-button\"\n class=\"search-button\"\n (click)=\"startSearch()\"\n [attr.aria-label]=\"'i18n.qd.container.toolbar.search' | translate\"\n >\n <qd-icon [icon]=\"'magnifier'\"></qd-icon>\n </button>\n </div>\n\n <qd-icon\n *ngIf=\"hasAdditionalInfo\"\n icon=\"circleInfo\"\n class=\"additional-info\"\n qdTooltipOnClick\n [qdTooltipContent]=\"configData.additionalInfo.content\"\n ></qd-icon>\n</ng-container>\n", styles: [".qd-search{position:relative;display:flex;height:2.25rem}.qd-search.hidden{display:none}.qd-search .search-field{position:relative;display:flex;flex-wrap:nowrap}@media (max-width: 959.98px){.qd-search .search-field,.qd-search .search-field .search-input{width:100%}}.qd-search .preselect{display:flex;height:2.25rem}.qd-search .preselect .qd-dropdown__wrapper{height:2.25rem;margin-bottom:0}.qd-search .preselect .qd-dropdown__wrapper .qd-dropdown__box{background:#e5e5e5;color:#171717;font-size:.8125rem}.qd-search .search-input{display:flex;overflow:hidden;width:16.25rem;margin:0}.qd-search .search-input .qd-form-label,.qd-search .search-input .qd-form-hint{display:none;margin:0}.qd-search .search-input .qd-input-input{padding-right:1.25rem;margin:0!important}.qd-search .search-input .qd-input-input .qd-input-clearable-icon{margin-right:1.75rem!important}.qd-search .search-button{position:absolute;top:0;right:0;width:1.875rem;height:2.25rem;padding:0!important;padding-right:.375rem!important;padding-left:.375rem!important;margin:0!important;background:none}.qd-search .search-button:hover,.qd-search .search-button:focus,.qd-search .search-button:active{background:none}.qd-search .search-button .qd-icon{color:#979797!important;font-size:1.125rem!important;line-height:2.25rem;transform:translate(-.125rem,.0625rem)}.qd-search .search-button .qd-icon:hover,.qd-search .search-button .qd-icon:focus,.qd-search .search-button .qd-icon:active{color:#171717!important}.qd-search .additional-info{align-self:center;padding:0 .375rem 0 0;margin-right:-.375rem;margin-left:.5rem;color:#069;cursor:pointer;font-size:1.3125rem;line-height:2.25rem}.qd-search .additional-info:hover,.qd-search .additional-info:focus,.qd-search .additional-info:active{color:#14516f}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.QdIconButtonComponent, selector: "button[qdIconButton], a[qdIconButton], button[qd-icon-button]", inputs: ["color", "data-test-id"] }, { kind: "component", type: i6.QdDropdownComponent, selector: "qd-dropdown", inputs: ["value", "id", "formControlName", "config", "data-test-id", "qdPopoverMaxHeight", "dense"], outputs: ["valueChange", "enterClick", "clickHint", "clickReadonly", "clickViewonly"] }, { kind: "component", type: i7.QdInputComponent, selector: "qd-input", inputs: ["formControlName", "value", "config", "isError", "data-test-id"], outputs: ["valueChange", "enterClick", "clickClear", "clickHint", "clickReadonly", "clickViewonly"] }, { kind: "component", type: i8.QdIconComponent, selector: "qd-icon", inputs: ["icon"] }, { kind: "directive", type: i9.QdTooltipOnClickDirective, selector: "[qdTooltipOnClick]", inputs: ["qdTooltipContent"] }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None });
|
|
196
|
+
}
|
|
197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchComponent, decorators: [{
|
|
198
|
+
type: Component,
|
|
199
|
+
args: [{ selector: 'qd-search', encapsulation: ViewEncapsulation.None, host: { class: 'qd-search', '[class.hidden]': '!hasConfig' }, providers: [QdSearchService, QdSearchRouterConnectorService], template: "<ng-container *ngIf=\"hasConfig\">\n <div class=\"search-field\">\n <qd-dropdown\n *ngIf=\"preSelectedEnabled\"\n class=\"preselect\"\n [(value)]=\"preSelect\"\n [config]=\"dropdownConfig\"\n ></qd-dropdown>\n\n <qd-input\n class=\"search-input\"\n [(value)]=\"search\"\n [config]=\"inputConfig\"\n (keydown.enter)=\"startSearch()\"\n (clickClear)=\"handleDelete()\"\n data-test-id=\"search-input\"\n ></qd-input>\n <button\n type=\"button\"\n qdIconButton\n qdStopPropagation\n data-test-id=\"search-button\"\n class=\"search-button\"\n (click)=\"startSearch()\"\n [attr.aria-label]=\"'i18n.qd.container.toolbar.search' | translate\"\n >\n <qd-icon [icon]=\"'magnifier'\"></qd-icon>\n </button>\n </div>\n\n <qd-icon\n *ngIf=\"hasAdditionalInfo\"\n icon=\"circleInfo\"\n class=\"additional-info\"\n qdTooltipOnClick\n [qdTooltipContent]=\"configData.additionalInfo.content\"\n ></qd-icon>\n</ng-container>\n", styles: [".qd-search{position:relative;display:flex;height:2.25rem}.qd-search.hidden{display:none}.qd-search .search-field{position:relative;display:flex;flex-wrap:nowrap}@media (max-width: 959.98px){.qd-search .search-field,.qd-search .search-field .search-input{width:100%}}.qd-search .preselect{display:flex;height:2.25rem}.qd-search .preselect .qd-dropdown__wrapper{height:2.25rem;margin-bottom:0}.qd-search .preselect .qd-dropdown__wrapper .qd-dropdown__box{background:#e5e5e5;color:#171717;font-size:.8125rem}.qd-search .search-input{display:flex;overflow:hidden;width:16.25rem;margin:0}.qd-search .search-input .qd-form-label,.qd-search .search-input .qd-form-hint{display:none;margin:0}.qd-search .search-input .qd-input-input{padding-right:1.25rem;margin:0!important}.qd-search .search-input .qd-input-input .qd-input-clearable-icon{margin-right:1.75rem!important}.qd-search .search-button{position:absolute;top:0;right:0;width:1.875rem;height:2.25rem;padding:0!important;padding-right:.375rem!important;padding-left:.375rem!important;margin:0!important;background:none}.qd-search .search-button:hover,.qd-search .search-button:focus,.qd-search .search-button:active{background:none}.qd-search .search-button .qd-icon{color:#979797!important;font-size:1.125rem!important;line-height:2.25rem;transform:translate(-.125rem,.0625rem)}.qd-search .search-button .qd-icon:hover,.qd-search .search-button .qd-icon:focus,.qd-search .search-button .qd-icon:active{color:#171717!important}.qd-search .additional-info{align-self:center;padding:0 .375rem 0 0;margin-right:-.375rem;margin-left:.5rem;color:#069;cursor:pointer;font-size:1.3125rem;line-height:2.25rem}.qd-search .additional-info:hover,.qd-search .additional-info:focus,.qd-search .additional-info:active{color:#14516f}\n"] }]
|
|
200
|
+
}], ctorParameters: () => [{ type: i1.QdSearchStoreService }, { type: i2.QdSearchRouterConnectorService }, { type: i3.QdSearchService, decorators: [{
|
|
201
|
+
type: Self
|
|
202
|
+
}] }, { type: i3.QdSearchService, decorators: [{
|
|
203
|
+
type: Optional
|
|
204
|
+
}, {
|
|
205
|
+
type: SkipSelf
|
|
206
|
+
}] }, { type: i0.ChangeDetectorRef }], propDecorators: { configData: [{
|
|
207
|
+
type: Input
|
|
208
|
+
}] } });
|
|
209
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxpQkFBaUIsRUFDakIsU0FBUyxFQUNULEtBQUssRUFJTCxRQUFRLEVBQ1IsSUFBSSxFQUVKLFFBQVEsRUFDUixpQkFBaUIsRUFDbEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE1BQU0sRUFBRSxJQUFJLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM5QyxPQUFPLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUVsQyxPQUFPLE9BQU8sTUFBTSxnQkFBZ0IsQ0FBQztBQUNyQyxPQUFPLEVBQ0wsZUFBZSxFQUNmLEtBQUssRUFDTCxjQUFjLEVBQ2QsSUFBSSxFQUNKLEtBQUssRUFFTCxhQUFhLEVBQ2IsT0FBTyxFQUNQLFNBQVMsRUFDVCxTQ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WNvbiBbaWNvbl09XCInbWFnbmlmaWVyJ1wiPjwvcWQtaWNvbj5cbiAgICA8L2J1dHRvbj5cbiAgPC9kaXY+XG5cbiAgPHFkLWljb25cbiAgICAqbmdJZj1cImhhc0FkZGl0aW9uYWxJbmZvXCJcbiAgICBpY29uPVwiY2lyY2xlSW5mb1wiXG4gICAgY2xhc3M9XCJhZGRpdGlvbmFsLWluZm9cIlxuICAgIHFkVG9vbHRpcE9uQ2xpY2tcbiAgICBbcWRUb29sdGlwQ29udGVudF09XCJjb25maWdEYXRhLmFkZGl0aW9uYWxJbmZvLmNvbnRlbnRcIlxuICA+PC9xZC1pY29uPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { StoreModule } from '@ngrx/store';
|
|
4
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
5
|
+
import { searchReducer } from '../search/store/search.reducer';
|
|
6
|
+
import { QdButtonModule } from '../button/button.module';
|
|
7
|
+
import { QdFormModule } from '../forms/qd-form.module';
|
|
8
|
+
import { QdIconModule } from '../icon/icon.module';
|
|
9
|
+
import { QdTooltipModule } from '../core/tooltip/tooltip.module';
|
|
10
|
+
import { QdSearchComponent } from './search.component';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@ngrx/store";
|
|
13
|
+
export { QdSearchComponent };
|
|
14
|
+
export class QdSearchModule {
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: QdSearchModule, declarations: [QdSearchComponent], imports: [CommonModule,
|
|
17
|
+
TranslateModule, i1.StoreFeatureModule, QdButtonModule,
|
|
18
|
+
QdFormModule,
|
|
19
|
+
QdIconModule,
|
|
20
|
+
QdTooltipModule], exports: [QdSearchComponent] });
|
|
21
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchModule, imports: [CommonModule,
|
|
22
|
+
TranslateModule,
|
|
23
|
+
StoreModule.forFeature('qdUiSearch', searchReducer),
|
|
24
|
+
QdButtonModule,
|
|
25
|
+
QdFormModule,
|
|
26
|
+
QdIconModule,
|
|
27
|
+
QdTooltipModule] });
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchModule, decorators: [{
|
|
30
|
+
type: NgModule,
|
|
31
|
+
args: [{
|
|
32
|
+
imports: [
|
|
33
|
+
CommonModule,
|
|
34
|
+
TranslateModule,
|
|
35
|
+
StoreModule.forFeature('qdUiSearch', searchReducer),
|
|
36
|
+
QdButtonModule,
|
|
37
|
+
QdFormModule,
|
|
38
|
+
QdIconModule,
|
|
39
|
+
QdTooltipModule
|
|
40
|
+
],
|
|
41
|
+
declarations: [QdSearchComponent],
|
|
42
|
+
exports: [QdSearchComponent]
|
|
43
|
+
}]
|
|
44
|
+
}] });
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zZWFyY2gvc2VhcmNoLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsV0FBVyxF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vcnQgeyBRZFNlYXJjaENvbXBvbmVudCwgUWRTZWFyY2hPcHRpb25zLCBRZFNlYXJjaFBvc3RCb2R5RGF0YSB9O1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFRyYW5zbGF0ZU1vZHVsZSxcbiAgICBTdG9yZU1vZHVsZS5mb3JGZWF0dXJlKCdxZFVpU2VhcmNoJywgc2VhcmNoUmVkdWNlciksXG4gICAgUWRCdXR0b25Nb2R1bGUsXG4gICAgUWRGb3JtTW9kdWxlLFxuICAgIFFkSWNvbk1vZHVsZSxcbiAgICBRZFRvb2x0aXBNb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbUWRTZWFyY2hDb21wb25lbnRdLFxuICBleHBvcnRzOiBbUWRTZWFyY2hDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIFFkU2VhcmNoTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Injectable, Optional } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Router } from '@angular/router';
|
|
3
|
+
import { of, ReplaySubject, switchMap, take } from 'rxjs';
|
|
4
|
+
import { filter, map } from 'rxjs/operators';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/router";
|
|
7
|
+
export const PHRASE_PRESELECT_SEPARATOR = '|';
|
|
8
|
+
export class QdSearchRouterConnectorService {
|
|
9
|
+
router;
|
|
10
|
+
activatedRoute;
|
|
11
|
+
_connectedSearch;
|
|
12
|
+
_activatedRouteSubscription;
|
|
13
|
+
_searchUrlParameterSubscription;
|
|
14
|
+
_navigationEnded$;
|
|
15
|
+
_activatedRouteCheckedSubject = new ReplaySubject(1);
|
|
16
|
+
_activatedRouteChecked$ = this._activatedRouteCheckedSubject.asObservable();
|
|
17
|
+
constructor(router, activatedRoute) {
|
|
18
|
+
this.router = router;
|
|
19
|
+
this.activatedRoute = activatedRoute;
|
|
20
|
+
if (!this.router || !this.activatedRoute)
|
|
21
|
+
return;
|
|
22
|
+
const navigationPending$ = new ReplaySubject(1);
|
|
23
|
+
this._navigationEnded$ = navigationPending$.pipe(filter(navigationPending => !navigationPending));
|
|
24
|
+
if (this.router.navigated)
|
|
25
|
+
navigationPending$.next(false);
|
|
26
|
+
this.router.events.subscribe(event => {
|
|
27
|
+
switch (event.constructor) {
|
|
28
|
+
case NavigationStart:
|
|
29
|
+
navigationPending$.next(true);
|
|
30
|
+
break;
|
|
31
|
+
case NavigationEnd:
|
|
32
|
+
case NavigationCancel:
|
|
33
|
+
case NavigationError:
|
|
34
|
+
navigationPending$.next(false);
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
connectSearchWithRouter(searchComponent) {
|
|
40
|
+
if (searchComponent.configData?.connectWithRouter !== true || !this.router || !this.activatedRoute) {
|
|
41
|
+
return of(false);
|
|
42
|
+
}
|
|
43
|
+
if (this._connectedSearch) {
|
|
44
|
+
console.error('QdUi | QdSearchComponent | More than one search with enabled connectWithRouter config is not allowed! ' +
|
|
45
|
+
'Please set connectWithRouter to false except for one search.');
|
|
46
|
+
return of(false);
|
|
47
|
+
}
|
|
48
|
+
this._connectedSearch = searchComponent;
|
|
49
|
+
this.setSearchPhraseFromUrl();
|
|
50
|
+
this.setUrlOnSearch();
|
|
51
|
+
return this._activatedRouteChecked$;
|
|
52
|
+
}
|
|
53
|
+
setSearchPhraseFromUrl() {
|
|
54
|
+
this._activatedRouteSubscription = this._navigationEnded$
|
|
55
|
+
.pipe(switchMap(() => this.activatedRoute.queryParams), take(1))
|
|
56
|
+
.subscribe((queryParams) => {
|
|
57
|
+
if (typeof queryParams.search === 'string') {
|
|
58
|
+
const [phrase, preSelect] = queryParams.search.split(this.getNotEscapedSplitRegExp()).map(this.unescape);
|
|
59
|
+
if (this._connectedSearch) {
|
|
60
|
+
this._connectedSearch.search = phrase;
|
|
61
|
+
this._connectedSearch.preSelect = preSelect || '';
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
this._activatedRouteCheckedSubject.next(true);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
getNotEscapedSplitRegExp() {
|
|
68
|
+
return new RegExp('(?<!\\\\)\\' + PHRASE_PRESELECT_SEPARATOR);
|
|
69
|
+
}
|
|
70
|
+
setUrlOnSearch() {
|
|
71
|
+
this._searchUrlParameterSubscription = this._connectedSearch?.searchService.searchPostBody$
|
|
72
|
+
.pipe(switchMap(searchData => this._navigationEnded$.pipe(take(1), map(() => searchData))))
|
|
73
|
+
.subscribe(({ phrase, preSelect }) => {
|
|
74
|
+
this.router.navigate([], {
|
|
75
|
+
relativeTo: this.activatedRoute,
|
|
76
|
+
queryParams: {
|
|
77
|
+
search: this.escape(phrase) + (preSelect ? PHRASE_PRESELECT_SEPARATOR + this.escape(preSelect) : '')
|
|
78
|
+
},
|
|
79
|
+
queryParamsHandling: 'merge',
|
|
80
|
+
replaceUrl: true
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
escape(string) {
|
|
85
|
+
if (!string)
|
|
86
|
+
return '';
|
|
87
|
+
return string.replace(new RegExp(`(\\${PHRASE_PRESELECT_SEPARATOR})`, 'g'), '\\$1');
|
|
88
|
+
}
|
|
89
|
+
unescape(escapedString) {
|
|
90
|
+
return escapedString.replace(new RegExp(`\\\\(${PHRASE_PRESELECT_SEPARATOR})`, 'g'), '$1');
|
|
91
|
+
}
|
|
92
|
+
disconnectSearchFromRouter(searchComponent) {
|
|
93
|
+
if (this._connectedSearch !== searchComponent)
|
|
94
|
+
return;
|
|
95
|
+
this._connectedSearch = null;
|
|
96
|
+
this._activatedRouteSubscription?.unsubscribe();
|
|
97
|
+
this._searchUrlParameterSubscription?.unsubscribe();
|
|
98
|
+
}
|
|
99
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchRouterConnectorService, deps: [{ token: i1.Router, optional: true }, { token: i1.ActivatedRoute, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
100
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchRouterConnectorService });
|
|
101
|
+
}
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchRouterConnectorService, decorators: [{
|
|
103
|
+
type: Injectable
|
|
104
|
+
}], ctorParameters: () => [{ type: i1.Router, decorators: [{
|
|
105
|
+
type: Optional
|
|
106
|
+
}] }, { type: i1.ActivatedRoute, decorators: [{
|
|
107
|
+
type: Optional
|
|
108
|
+
}] }] });
|
|
109
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLXJvdXRlci1jb25uZWN0b3Iuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9zZWFyY2gvc2VydmljZXMvc2VhcmNoLXJvdXRlci1jb25uZWN0b3Iuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNyRCxPQUFPLEVBQ0wsY0FBYyxFQUNkLGdCQUFnQixFQUNoQixhQUFhLEVBQ2IsZUFBZSxFQUNmLGVBQWUsRUFDZixNQUFNLEVBQ1AsTUFBTSxpQkFBaUIsQ0FBQztBQUN6QixPQUFPLEVBQWMsRUFBRSxFQUFFLGFBQWEsRUFBZ0IsU0FBUyxFQUFFLElBQUksRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNwRixPQUFPLEVBQUUsTUFB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{ Store } from '@ngrx/store';
|
|
4
|
+
import { QdSearchActions } from '../store/search.actions';
|
|
5
|
+
import { QdSearchSelector } from '../store/search.selector';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@ngrx/store";
|
|
8
|
+
export class QdSearchStoreService {
|
|
9
|
+
store;
|
|
10
|
+
constructor(store) {
|
|
11
|
+
this.store = store;
|
|
12
|
+
}
|
|
13
|
+
initSearchState(searchId, phrase, preSelect) {
|
|
14
|
+
this.store.dispatch(QdSearchActions.initSearchState({ searchId, phrase, preSelect }));
|
|
15
|
+
}
|
|
16
|
+
updatePhrase(searchId, phrase) {
|
|
17
|
+
this.store.dispatch(QdSearchActions.updatePhrase({ searchId, phrase }));
|
|
18
|
+
}
|
|
19
|
+
updatePreSelect(searchId, preSelect) {
|
|
20
|
+
this.store.dispatch(QdSearchActions.updatePreSelect({ searchId, preSelect }));
|
|
21
|
+
}
|
|
22
|
+
selectSearchDataById$(searchId) {
|
|
23
|
+
return this.store.select(QdSearchSelector.selectSearchDataById, { searchId });
|
|
24
|
+
}
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchStoreService, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchStoreService, providedIn: 'root' });
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchStoreService, decorators: [{
|
|
29
|
+
type: Injectable,
|
|
30
|
+
args: [{
|
|
31
|
+
providedIn: 'root'
|
|
32
|
+
}]
|
|
33
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLXN0b3J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pIHt9XG5cbiAgaW5pdFNlYXJjaFN0YXRlKHNlYXJjaElkLCBwaHJhc2UsIHByZVNlbGVjdCk6IHZvaWQge1xuICAgIHRoaXMuc3RvcmUuZGlzcGF0Y2goUWRTZWFyY2hBY3Rpb25zLmluaXRTZWFyY2hTdGF0ZSh7IHNlYXJjaElkLCBwaHJhc2UsIHByZVNlbGVjdCB9KSk7XG4gIH1cblxuICB1cGRhdGVQaHJhc2Uoc2VhcmNoSWQsIHBocmFzZSk6IHZvaWQge1xuICAgIHRoaXMuc3RvcmUuZGlzcGF0Y2goUWRTZWFyY2hBY3Rpb25zLnVwZGF0ZVBocmFzZSh7IHNlYXJjaElkLCBwaHJhc2UgfSkpO1xuICB9XG5cbiAgdXBkYXRlUHJlU2VsZWN0KHNlYXJjaElkLCBwcmVTZWxlY3QpOiB2b2lkIHtcbiAgICB0aGlzLnN0b3JlLmRpc3BhdGNoKFFkU2VhcmNoQWN0aW9ucy51cGRhdGVQcmVTZWxlY3QoeyBzZWFyY2hJZCwgcHJlU2VsZWN0IH0pKTtcbiAgfVxuXG4gIHNlbGVjdFNlYXJjaERhdGFCeUlkJChzZWFyY2hJZCk6IE9ic2VydmFibGU8UWRTZWFyY2hTdGF0ZT4ge1xuICAgIHJldHVybiB0aGlzLnN0b3JlLnNlbGVjdChRZFNlYXJjaFNlbGVjdG9yLnNlbGVjdFNlYXJjaERhdGFCeUlkLCB7IHNlYXJjaElkIH0pO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// @ts-strict-ignore
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class QdSearchService {
|
|
6
|
+
search = '';
|
|
7
|
+
preSelect = '';
|
|
8
|
+
_searchQueryString$ = new Subject();
|
|
9
|
+
_searchPostBody$ = new Subject();
|
|
10
|
+
get searchQueryString$() {
|
|
11
|
+
return this._searchQueryString$;
|
|
12
|
+
}
|
|
13
|
+
get searchPostBody$() {
|
|
14
|
+
return this._searchPostBody$;
|
|
15
|
+
}
|
|
16
|
+
trimAndReplaceEmptySearchString(searchString) {
|
|
17
|
+
return this.replaceEmptyString(this.trimString(searchString));
|
|
18
|
+
}
|
|
19
|
+
replaceEmptyString(searchString) {
|
|
20
|
+
return searchString.replace(/\s/g, '+');
|
|
21
|
+
}
|
|
22
|
+
trimString(searchString) {
|
|
23
|
+
return searchString.replace(/\s\s+/g, ' ');
|
|
24
|
+
}
|
|
25
|
+
static getDefaultPreSelectString(searchOptions) {
|
|
26
|
+
if (!searchOptions?.preSelect?.optionsList)
|
|
27
|
+
return '';
|
|
28
|
+
for (const option of searchOptions.preSelect.optionsList) {
|
|
29
|
+
if (option?.active)
|
|
30
|
+
return option.value;
|
|
31
|
+
}
|
|
32
|
+
return '';
|
|
33
|
+
}
|
|
34
|
+
static getDefaultOptions(searchOptions) {
|
|
35
|
+
const result = searchOptions;
|
|
36
|
+
if (searchOptions !== undefined && searchOptions.preSelect !== undefined) {
|
|
37
|
+
result.preSelect.disabled = !!searchOptions.preSelect.disabled || false;
|
|
38
|
+
}
|
|
39
|
+
if (searchOptions !== undefined &&
|
|
40
|
+
searchOptions.preSelect !== undefined &&
|
|
41
|
+
searchOptions.preSelect.globalSearch !== undefined) {
|
|
42
|
+
result.preSelect.globalSearch.disabled = !!searchOptions.preSelect.globalSearch.disabled;
|
|
43
|
+
}
|
|
44
|
+
return result;
|
|
45
|
+
}
|
|
46
|
+
static hasAdditionalInfo(configData) {
|
|
47
|
+
if (configData?.additionalInfo === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return configData.additionalInfo?.disabled !== true;
|
|
50
|
+
}
|
|
51
|
+
setSearchValues(search, preSelected) {
|
|
52
|
+
this.search = search;
|
|
53
|
+
this.preSelect = preSelected;
|
|
54
|
+
}
|
|
55
|
+
getSearch() {
|
|
56
|
+
return this.search;
|
|
57
|
+
}
|
|
58
|
+
getQueryString() {
|
|
59
|
+
const params = new URLSearchParams();
|
|
60
|
+
let paramString = '';
|
|
61
|
+
if (this.search !== '') {
|
|
62
|
+
paramString = 'phrase' + '$' + this.trimAndReplaceEmptySearchString(this.search);
|
|
63
|
+
}
|
|
64
|
+
if (this.search !== '' && this.preSelect !== '') {
|
|
65
|
+
paramString =
|
|
66
|
+
'phrase' +
|
|
67
|
+
'$' +
|
|
68
|
+
this.trimAndReplaceEmptySearchString(this.search) +
|
|
69
|
+
'&' +
|
|
70
|
+
'preSelect' +
|
|
71
|
+
'$' +
|
|
72
|
+
this.trimAndReplaceEmptySearchString(this.preSelect);
|
|
73
|
+
}
|
|
74
|
+
params.set('search', paramString);
|
|
75
|
+
return params.toString();
|
|
76
|
+
}
|
|
77
|
+
getPostBody() {
|
|
78
|
+
const postBodyObject = {
|
|
79
|
+
phrase: '',
|
|
80
|
+
preSelect: ''
|
|
81
|
+
};
|
|
82
|
+
if (this.search !== '') {
|
|
83
|
+
postBodyObject.phrase = this.trimString(this.search);
|
|
84
|
+
}
|
|
85
|
+
if (this.search !== '' && this.preSelect !== '') {
|
|
86
|
+
postBodyObject.phrase = this.trimString(this.search);
|
|
87
|
+
postBodyObject.preSelect = this.trimString(this.preSelect);
|
|
88
|
+
}
|
|
89
|
+
return postBodyObject;
|
|
90
|
+
}
|
|
91
|
+
getPreSelectString() {
|
|
92
|
+
return this.preSelect;
|
|
93
|
+
}
|
|
94
|
+
emitSearchQueryString() {
|
|
95
|
+
this._searchQueryString$.next(this.getQueryString());
|
|
96
|
+
}
|
|
97
|
+
emitSearchPostBody() {
|
|
98
|
+
this._searchPostBody$.next(this.getPostBody());
|
|
99
|
+
}
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
101
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchService });
|
|
102
|
+
}
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdSearchService, decorators: [{
|
|
104
|
+
type: Injectable
|
|
105
|
+
}] });
|
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3FkLXVpL3NyYy9saWIvc2VhcmNoL3NlcnZpY2VzL3NlYXJjaC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG9CQUFvQjtBQUNwQixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7O0FBSzNDLE1BQU0sT0FBTyxlQUFlO0lBQzFCLE1BQU0sR0FBbUMsRUFBRSxDQUFDO0lBQzVDLFNBQVMsR0FBc0MsRUFBRSxDQUFDO0lBRTFDLG1CQUFtQixHQUFHLElBQUksT0FBTyxFQUFVLENBQUM7SUFDNUMsZ0JBQWdCLEdBQUcsSUFBSSxPQUFPLEVBQXdCLENBQUM7SUFFL0QsSUFBSSxrQkFBa0I7UUFDcEIsT0FBTyxJQUFJLENBQUMsbUJBQW1CLENBQUM7SUFDbEMsQ0FBQztJQUVELElBQUksZUFBZTtRQUNqQixPQUFPLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQztJQUMvQixDQUFDO0lBRU8sK0JBQStCLENBQUMsWUFBb0I7UUFDMUQsT0FBTyxJQUFJLENBQUMsa0JBQWtCLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxZQUFZLENBQUMsQ0FBQyxDQUFDO0lBQ2hFLENBQUM7SUFFTyxrQkFBa0IsQ0FBQyxZQUFvQjtRQ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