@odx/angular 6.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/animations/lib/expand.d.ts +44 -0
- package/animations/lib/fade.d.ts +70 -0
- package/animations/lib/slide.d.ts +21 -0
- package/animations/lib/wait-for-child-animations.d.ts +38 -0
- package/breakpoints/lib/breakpoints.config.d.ts +38 -0
- package/breakpoints/lib/breakpoints.service.d.ts +43 -0
- package/breakpoints/lib/directives/match-breakpoints.directive.d.ts +36 -0
- package/breakpoints/lib/helpers/configure-breakpoint.d.ts +19 -0
- package/cdk/a11y/lib/directives/interactive.directive.d.ts +32 -0
- package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +22 -0
- package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +17 -0
- package/cdk/active-indicator/lib/active-indicator.directive.d.ts +63 -0
- package/cdk/autocomplete-control/lib/autocomplete-control.d.ts +53 -0
- package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +3 -0
- package/cdk/connected-overlay/lib/connected-overlay.service.d.ts +44 -0
- package/cdk/connected-overlay/lib/helpers/compute-overlay-position.d.ts +10 -0
- package/cdk/connected-overlay/lib/models/connected-overlay-ref.d.ts +49 -0
- package/cdk/custom-form-control/lib/custom-form-control.d.ts +108 -0
- package/cdk/custom-form-control/lib/input-control.directive.d.ts +75 -0
- package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +25 -0
- package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +30 -0
- package/cdk/dynamic-view/lib/helpers/create-projectable-nodes.d.ts +22 -0
- package/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.d.ts +22 -0
- package/cdk/dynamic-view/lib/helpers/is-dynamic-view.d.ts +22 -0
- package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +39 -0
- package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +36 -0
- package/cdk/dynamic-view/lib/tokens/dynamic-view-context.d.ts +4 -0
- package/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.d.ts +10 -0
- package/cdk/event-plugins/lib/event-plugins.config.d.ts +35 -0
- package/cdk/event-plugins/lib/models/event-plugin.d.ts +57 -0
- package/cdk/event-plugins/lib/plugins/debounce-event-plugin.d.ts +32 -0
- package/cdk/event-plugins/lib/plugins/defer-event-plugin.d.ts +24 -0
- package/cdk/expandable/lib/directives/expandable-container.directive.d.ts +41 -0
- package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +47 -0
- package/cdk/option-control/lib/option-control.d.ts +47 -0
- package/cdk/radio-group-control/lib/radio-control.directive.d.ts +8 -0
- package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +11 -0
- package/components/accordion/lib/accordion.component.d.ts +8 -0
- package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +37 -1
- package/components/accordion/lib/directives/accordion-item-title.d.ts +3 -0
- package/components/action-group/action-group.component.d.ts +6 -0
- package/components/area-header/area-header.component.d.ts +8 -0
- package/components/area-header/directives/area-header-content.directive.d.ts +3 -0
- package/components/area-header/directives/area-header-subtitle.directive.d.ts +3 -0
- package/components/autocomplete/lib/autocomplete.component.d.ts +18 -0
- package/components/avatar/lib/avatar.component.d.ts +8 -0
- package/components/badge/lib/badge.component.d.ts +10 -0
- package/components/badge/lib/badge.directive.d.ts +15 -0
- package/components/bar/lib/bar.component.d.ts +7 -0
- package/components/bar/lib/directives/bar-button.directive.d.ts +3 -0
- package/components/bar/lib/directives/bar-label.directive.d.ts +3 -0
- package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +3 -0
- package/components/button/lib/button.component.d.ts +10 -0
- package/components/button-group/lib/button-group.component.d.ts +15 -0
- package/components/calendar/lib/calendar.component.d.ts +48 -0
- package/components/calendar/lib/calendar.config.d.ts +17 -0
- package/components/calendar/lib/calendar.service.d.ts +48 -0
- package/components/calendar/lib/components/calendar-header/calendar-header.component.d.ts +24 -0
- package/components/calendar/lib/components/calendar-month/calendar-month.component.d.ts +6 -0
- package/components/calendar/lib/components/calendar-year/calendar-year.component.d.ts +6 -0
- package/components/calendar/lib/components/calendar-years/calendar-years.component.d.ts +6 -0
- package/components/calendar/lib/daterange.service.d.ts +16 -0
- package/components/calendar/lib/directives/calendar-cell.directive.d.ts +37 -0
- package/components/calendar/lib/directives/calendar-view.directive.d.ts +41 -0
- package/components/calendar/lib/pipes/date-label.pipe.d.ts +5 -0
- package/components/calendar/lib/services/calendar-month.service.d.ts +1 -0
- package/components/calendar/lib/services/calendar-year.service.d.ts +1 -0
- package/components/calendar/lib/services/calendar-years.service.d.ts +1 -0
- package/components/calendar/lib/utils/check-cell-in-range.d.ts +1 -0
- package/components/calendar/lib/utils/check-identical-date.d.ts +1 -0
- package/components/calendar/lib/utils/get-A11y-label.d.ts +1 -0
- package/components/calendar/lib/utils/is-date-disabled.d.ts +1 -0
- package/components/calendar/lib/utils/parse-date.d.ts +1 -0
- package/components/calendar/lib/utils/validate-daterange.d.ts +1 -0
- package/components/calendar/lib/utils/validate-max-date.d.ts +1 -0
- package/components/calendar/lib/utils/validate-min-date.d.ts +1 -0
- package/components/calendar/lib/utils/validate-next-date-set.d.ts +1 -0
- package/components/calendar/lib/utils/validate-previous-date-set.d.ts +1 -0
- package/components/checkbox/lib/checkbox.component.d.ts +32 -0
- package/components/checkbox/lib/checkbox.validator.d.ts +23 -0
- package/components/chip/lib/components/chip/chip.component.d.ts +14 -0
- package/components/chip/lib/components/chip-list/chip-list.component.d.ts +3 -0
- package/components/chip/lib/components/chip-list-row/chip-list-row.component.d.ts +3 -0
- package/components/circular-progress/lib/circular-progress.component.d.ts +20 -0
- package/components/content-box/lib/content-box.component.d.ts +3 -0
- package/components/content-box/lib/directives/content-box-footer.directive.d.ts +3 -0
- package/components/content-box/lib/directives/content-box-header.directive.d.ts +3 -0
- package/components/datepicker/lib/datepicker.component.d.ts +47 -0
- package/components/datepicker/lib/datepicker.config.d.ts +19 -0
- package/components/datepicker/lib/directives/datepicker-input-control.directive.d.ts +30 -0
- package/components/datepicker/lib/utils/get-datepicker-input-pattern.d.ts +2 -0
- package/components/datepicker/lib/utils/get-datepicker-input-value-as-date.d.ts +1 -0
- package/components/daterangepicker/lib/daterangepicker.component.d.ts +89 -0
- package/components/daterangepicker/lib/daterangepicker.config.d.ts +19 -0
- package/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.d.ts +30 -0
- package/components/daterangepicker/lib/range.validator.d.ts +15 -0
- package/components/daterangepicker/lib/required.validator.d.ts +6 -0
- package/components/daterangepicker/lib/utils/get-daterangepicker-input-pattern.d.ts +2 -0
- package/components/daterangepicker/lib/utils/get-daterangepicker-input-value-as-date.d.ts +1 -0
- package/components/dropdown/lib/dropdown.component.d.ts +16 -0
- package/components/dropdown/lib/dropdown.directive.d.ts +67 -0
- package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +5 -0
- package/components/error-page/lib/error-page.component.d.ts +7 -0
- package/components/error-page/lib/error-page.config.d.ts +18 -0
- package/components/footer/lib/footer.component.d.ts +9 -6
- package/components/footer/lib/footer.config.d.ts +2 -0
- package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +13 -0
- package/components/form-field/lib/components/form-group/form-group.component.d.ts +16 -0
- package/components/form-field/lib/directives/form-field-control.directive.d.ts +5 -0
- package/components/form-field/lib/directives/form-field-error.directive.d.ts +6 -0
- package/components/form-field/lib/directives/form-field-hint.directive.d.ts +3 -0
- package/components/form-field/lib/directives/form-field-label.directive.d.ts +3 -0
- package/components/form-field/lib/directives/form.directive.d.ts +13 -0
- package/components/form-field/lib/form-field.component.d.ts +20 -0
- package/components/form-field/lib/form-field.service.d.ts +42 -0
- package/components/form-field/lib/services/form-field-error.service.d.ts +24 -0
- package/components/header/lib/directives/header-avatar.directive.d.ts +4 -0
- package/components/header/lib/directives/header-title.directive.d.ts +3 -0
- package/components/header/lib/header.component.d.ts +3 -0
- package/components/header-navigation/lib/directives/header-navigation-link.directive.d.ts +3 -0
- package/components/header-navigation/lib/header-navigation.component.d.ts +6 -0
- package/components/icon/lib/helpers/unpack-icon-identifier.d.ts +14 -0
- package/components/icon/lib/icon.component.d.ts +24 -0
- package/components/icon/lib/icon.config.d.ts +26 -0
- package/components/inline-message/lib/inline-message.component.d.ts +13 -0
- package/components/link/link.directive.d.ts +3 -0
- package/components/list/lib/components/expandable-list-item/expandable-list-item.component.d.ts +6 -0
- package/components/list/lib/components/list-item/list-item.component.d.ts +17 -1
- package/components/list/lib/list.component.d.ts +5 -0
- package/components/loading-spinner/lib/loading-spinner.component.d.ts +8 -0
- package/components/loading-spinner/lib/loading-spinner.directive.d.ts +22 -0
- package/components/logo/logo.directive.d.ts +15 -0
- package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +5 -1
- package/components/main-menu/lib/directives/main-menu-close.directive.d.ts +3 -0
- package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +16 -0
- package/components/main-menu/lib/helpers/create-main-menu-links.d.ts +1 -0
- package/components/main-menu/lib/main-menu.component.d.ts +42 -0
- package/components/main-menu/lib/main-menu.config.d.ts +31 -0
- package/components/main-menu/lib/main-menu.service.d.ts +28 -0
- package/components/mainfilter-group/lib/mainfilter-group.component.d.ts +4 -0
- package/components/menu/lib/directives/menu-item.directive.d.ts +6 -0
- package/components/menu/lib/menu.component.d.ts +13 -1
- package/components/menu/lib/menu.directive.d.ts +31 -0
- package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +14 -0
- package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +3 -0
- package/components/modal/lib/components/modal-header/modal-header.component.d.ts +9 -0
- package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +21 -0
- package/components/modal/lib/directives/modal-close.directive.d.ts +25 -1
- package/components/modal/lib/directives/modal-content.directive.d.ts +3 -0
- package/components/modal/lib/directives/modal-dismiss.directive.d.ts +18 -1
- package/components/modal/lib/helpers/inject-modal-ref.d.ts +21 -0
- package/components/modal/lib/helpers/provide-modal-ref.d.ts +9 -0
- package/components/modal/lib/modal.component.d.ts +25 -0
- package/components/modal/lib/modal.config.d.ts +33 -0
- package/components/modal/lib/modal.directive.d.ts +29 -0
- package/components/modal/lib/modal.service.d.ts +54 -0
- package/components/modal/lib/models/modal-ref.d.ts +34 -0
- package/components/navigation-back/lib/navigation-back.component.d.ts +3 -0
- package/components/notification/lib/components/notification-center/notification-center.component.d.ts +0 -2
- package/components/notification/lib/directives/notification-center.directive.d.ts +18 -4
- package/components/notification/lib/helpers/get-notifications-by-tag.d.ts +1 -0
- package/components/notification/lib/helpers/sort-notifications.d.ts +1 -0
- package/components/notification/lib/helpers/to-notification-collection.d.ts +1 -0
- package/components/notification/lib/models/notification-feature.d.ts +15 -0
- package/components/notification/lib/notification.config.d.ts +54 -0
- package/components/notification/lib/notification.logger.d.ts +1 -0
- package/components/notification/lib/notification.service.d.ts +55 -0
- package/components/notification/lib/notification.tokens.d.ts +3 -0
- package/components/notification/lib/services/notification-center.service.d.ts +9 -0
- package/components/paginator/lib/paginator.component.d.ts +89 -0
- package/components/paginator/lib/paginator.config.d.ts +24 -2
- package/components/progress/lib/progress.component.d.ts +15 -0
- package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +18 -1
- package/components/radio-group/lib/radio-group.component.d.ts +11 -0
- package/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.d.ts +19 -0
- package/components/rail-navigation/lib/rail-navigation.component.d.ts +26 -0
- package/components/rich-list/lib/components/rich-list-content/rich-list-content.component.d.ts +4 -0
- package/components/rich-list/lib/components/rich-list-header/rich-list-header.component.d.ts +4 -0
- package/components/rich-list/lib/components/rich-list-item/rich-list-item.component.d.ts +9 -1
- package/components/rich-list/lib/rich-list.component.d.ts +9 -2
- package/components/select/lib/components/select-option/select-option.component.d.ts +39 -2
- package/components/select/lib/directives/select-input-control.directive.d.ts +11 -0
- package/components/select/lib/pipes/select-search-filter.pipe.d.ts +10 -0
- package/components/select/lib/select.component.d.ts +59 -0
- package/components/slider/lib/slider.directive.d.ts +19 -0
- package/components/spinbox/lib/spinbox.component.d.ts +16 -0
- package/components/switch/lib/switch.component.d.ts +10 -0
- package/components/switch/lib/switch.validator.d.ts +12 -0
- package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +28 -0
- package/components/tab-bar/lib/tab-bar.component.d.ts +69 -0
- package/components/table/lib/components/check-cell/check-cell.component.d.ts +18 -0
- package/components/table/lib/components/header-title/header-title.component.d.ts +33 -1
- package/components/table/lib/directives/table-cell.directive.d.ts +4 -0
- package/components/table/lib/directives/table-row.directive.d.ts +4 -0
- package/components/table/lib/table.component.d.ts +36 -0
- package/components/timepicker/lib/timepicker.component.d.ts +11 -2
- package/components/timepicker/lib/utils/generate-time-stamps.d.ts +2 -1
- package/components/timepicker/lib/utils/ngx-mask-helper.d.ts +2 -2
- package/components/toast/lib/components/toast-item/toast-item.component.d.ts +5 -4
- package/components/toast/lib/models/toast.d.ts +4 -2
- package/components/toast/lib/toast.config.d.ts +26 -0
- package/components/toast/lib/toast.service.d.ts +35 -0
- package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +11 -0
- package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +12 -0
- package/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.d.ts +7 -0
- package/components/tooltip/lib/tooltip.component.d.ts +20 -0
- package/components/tooltip/lib/tooltip.directive.d.ts +35 -0
- package/components/wizard/lib/components/wizard-step/wizard-step.component.d.ts +34 -0
- package/components/wizard/lib/wizard.component.d.ts +20 -0
- package/esm2022/animations/lib/expand.mjs +45 -1
- package/esm2022/animations/lib/fade.mjs +71 -1
- package/esm2022/animations/lib/slide.mjs +22 -1
- package/esm2022/animations/lib/wait-for-child-animations.mjs +39 -1
- package/esm2022/breakpoints/lib/breakpoints.config.mjs +39 -1
- package/esm2022/breakpoints/lib/breakpoints.service.mjs +44 -1
- package/esm2022/breakpoints/lib/directives/match-breakpoints.directive.mjs +37 -1
- package/esm2022/breakpoints/lib/helpers/configure-breakpoint.mjs +20 -1
- package/esm2022/cdk/a11y/lib/directives/interactive.directive.mjs +33 -1
- package/esm2022/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +23 -1
- package/esm2022/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +18 -1
- package/esm2022/cdk/active-indicator/lib/active-indicator.directive.mjs +64 -1
- package/esm2022/cdk/autocomplete-control/lib/autocomplete-control.mjs +40 -2
- package/esm2022/cdk/checkbox-control/lib/checkbox-control.directive.mjs +4 -1
- package/esm2022/cdk/connected-overlay/lib/connected-overlay.service.mjs +45 -1
- package/esm2022/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +11 -1
- package/esm2022/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +50 -1
- package/esm2022/cdk/custom-form-control/lib/custom-form-control.mjs +109 -3
- package/esm2022/cdk/custom-form-control/lib/input-control.directive.mjs +76 -1
- package/esm2022/cdk/dynamic-view/lib/dynamic-view.directive.mjs +18 -1
- package/esm2022/cdk/dynamic-view/lib/dynamic-view.service.mjs +31 -1
- package/esm2022/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +23 -1
- package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +23 -1
- package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-view.mjs +23 -1
- package/esm2022/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +40 -1
- package/esm2022/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +37 -1
- package/esm2022/cdk/dynamic-view/lib/tokens/dynamic-view-context.mjs +5 -1
- package/esm2022/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +11 -1
- package/esm2022/cdk/event-plugins/lib/event-plugins.config.mjs +36 -1
- package/esm2022/cdk/event-plugins/lib/models/event-plugin.mjs +45 -1
- package/esm2022/cdk/event-plugins/lib/plugins/debounce-event-plugin.mjs +33 -1
- package/esm2022/cdk/event-plugins/lib/plugins/defer-event-plugin.mjs +25 -1
- package/esm2022/cdk/expandable/lib/directives/expandable-container.directive.mjs +42 -1
- package/esm2022/cdk/expandable/lib/directives/expandable-item.directive.mjs +48 -1
- package/esm2022/cdk/option-control/lib/option-control.mjs +48 -1
- package/esm2022/cdk/radio-group-control/lib/radio-control.directive.mjs +9 -1
- package/esm2022/cdk/radio-group-control/lib/radio-group-control.directive.mjs +12 -1
- package/esm2022/components/accordion/lib/accordion.component.mjs +9 -1
- package/esm2022/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +31 -1
- package/esm2022/components/accordion/lib/directives/accordion-item-title.mjs +4 -1
- package/esm2022/components/action-group/action-group.component.mjs +7 -1
- package/esm2022/components/area-header/area-header.component.mjs +9 -1
- package/esm2022/components/area-header/directives/area-header-content.directive.mjs +4 -1
- package/esm2022/components/area-header/directives/area-header-subtitle.directive.mjs +4 -1
- package/esm2022/components/autocomplete/lib/autocomplete.component.mjs +29 -5
- package/esm2022/components/avatar/lib/avatar.component.mjs +9 -1
- package/esm2022/components/badge/lib/badge.component.mjs +11 -1
- package/esm2022/components/badge/lib/badge.directive.mjs +16 -1
- package/esm2022/components/bar/lib/bar.component.mjs +8 -1
- package/esm2022/components/bar/lib/directives/bar-button.directive.mjs +4 -1
- package/esm2022/components/bar/lib/directives/bar-label.directive.mjs +4 -1
- package/esm2022/components/breadcrumbs/lib/breadcrumbs.component.mjs +4 -1
- package/esm2022/components/button/lib/button.component.mjs +11 -1
- package/esm2022/components/button-group/lib/button-group.component.mjs +16 -1
- package/esm2022/components/calendar/lib/calendar.component.mjs +35 -1
- package/esm2022/components/calendar/lib/calendar.config.mjs +18 -1
- package/esm2022/components/calendar/lib/calendar.service.mjs +49 -1
- package/esm2022/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +19 -1
- package/esm2022/components/calendar/lib/components/calendar-month/calendar-month.component.mjs +7 -1
- package/esm2022/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +7 -1
- package/esm2022/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +7 -1
- package/esm2022/components/calendar/lib/daterange.service.mjs +17 -1
- package/esm2022/components/calendar/lib/directives/calendar-cell.directive.mjs +26 -1
- package/esm2022/components/calendar/lib/directives/calendar-view.directive.mjs +39 -1
- package/esm2022/components/calendar/lib/pipes/date-label.pipe.mjs +6 -1
- package/esm2022/components/calendar/lib/services/calendar-month.service.mjs +2 -1
- package/esm2022/components/calendar/lib/services/calendar-year.service.mjs +2 -1
- package/esm2022/components/calendar/lib/services/calendar-years.service.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/check-cell-in-range.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/check-identical-date.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/get-A11y-label.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/is-date-disabled.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/parse-date.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/validate-daterange.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/validate-max-date.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/validate-min-date.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/validate-next-date-set.mjs +2 -1
- package/esm2022/components/calendar/lib/utils/validate-previous-date-set.mjs +2 -1
- package/esm2022/components/checkbox/lib/checkbox.component.mjs +33 -1
- package/esm2022/components/checkbox/lib/checkbox.validator.mjs +24 -1
- package/esm2022/components/chip/lib/components/chip/chip.component.mjs +15 -1
- package/esm2022/components/chip/lib/components/chip-list/chip-list.component.mjs +4 -1
- package/esm2022/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +4 -1
- package/esm2022/components/circular-progress/lib/circular-progress.component.mjs +21 -1
- package/esm2022/components/content-box/lib/content-box.component.mjs +4 -1
- package/esm2022/components/content-box/lib/directives/content-box-footer.directive.mjs +4 -1
- package/esm2022/components/content-box/lib/directives/content-box-header.directive.mjs +4 -1
- package/esm2022/components/datepicker/lib/datepicker.component.mjs +33 -1
- package/esm2022/components/datepicker/lib/datepicker.config.mjs +20 -1
- package/esm2022/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +31 -1
- package/esm2022/components/datepicker/lib/utils/get-datepicker-input-pattern.mjs +3 -1
- package/esm2022/components/datepicker/lib/utils/get-datepicker-input-value-as-date.mjs +2 -1
- package/esm2022/components/daterangepicker/lib/daterangepicker.component.mjs +65 -1
- package/esm2022/components/daterangepicker/lib/daterangepicker.config.mjs +20 -1
- package/esm2022/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.mjs +31 -1
- package/esm2022/components/daterangepicker/lib/range.validator.mjs +16 -1
- package/esm2022/components/daterangepicker/lib/required.validator.mjs +15 -1
- package/esm2022/components/daterangepicker/lib/utils/get-daterangepicker-input-pattern.mjs +3 -1
- package/esm2022/components/daterangepicker/lib/utils/get-daterangepicker-input-value-as-date.mjs +2 -1
- package/esm2022/components/dropdown/lib/dropdown.component.mjs +8 -1
- package/esm2022/components/dropdown/lib/dropdown.directive.mjs +55 -1
- package/esm2022/components/dropdown/lib/helpers/close-current-dropdown.mjs +6 -1
- package/esm2022/components/error-page/lib/error-page.component.mjs +8 -1
- package/esm2022/components/error-page/lib/error-page.config.mjs +9 -1
- package/esm2022/components/footer/lib/footer.component.mjs +10 -7
- package/esm2022/components/footer/lib/footer.config.mjs +3 -1
- package/esm2022/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +14 -1
- package/esm2022/components/form-field/lib/components/form-group/form-group.component.mjs +13 -1
- package/esm2022/components/form-field/lib/directives/form-field-control.directive.mjs +6 -1
- package/esm2022/components/form-field/lib/directives/form-field-error.directive.mjs +4 -1
- package/esm2022/components/form-field/lib/directives/form-field-hint.directive.mjs +4 -1
- package/esm2022/components/form-field/lib/directives/form-field-label.directive.mjs +4 -1
- package/esm2022/components/form-field/lib/directives/form.directive.mjs +14 -1
- package/esm2022/components/form-field/lib/form-field.component.mjs +14 -1
- package/esm2022/components/form-field/lib/form-field.service.mjs +43 -1
- package/esm2022/components/form-field/lib/services/form-field-error.service.mjs +25 -1
- package/esm2022/components/header/lib/directives/header-avatar.directive.mjs +5 -1
- package/esm2022/components/header/lib/directives/header-title.directive.mjs +4 -1
- package/esm2022/components/header/lib/header.component.mjs +4 -1
- package/esm2022/components/header-navigation/lib/directives/header-navigation-link.directive.mjs +4 -1
- package/esm2022/components/header-navigation/lib/header-navigation.component.mjs +4 -1
- package/esm2022/components/icon/lib/helpers/unpack-icon-identifier.mjs +15 -1
- package/esm2022/components/icon/lib/icon.component.mjs +25 -1
- package/esm2022/components/icon/lib/icon.config.mjs +20 -1
- package/esm2022/components/inline-message/lib/inline-message.component.mjs +14 -1
- package/esm2022/components/link/link.directive.mjs +4 -1
- package/esm2022/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +7 -1
- package/esm2022/components/list/lib/components/list-item/list-item.component.mjs +18 -2
- package/esm2022/components/list/lib/list.component.mjs +6 -1
- package/esm2022/components/loading-spinner/lib/loading-spinner.component.mjs +10 -2
- package/esm2022/components/loading-spinner/lib/loading-spinner.directive.mjs +23 -1
- package/esm2022/components/logo/logo.directive.mjs +16 -1
- package/esm2022/components/main-menu/lib/directives/main-menu-button.directive.mjs +5 -1
- package/esm2022/components/main-menu/lib/directives/main-menu-close.directive.mjs +4 -1
- package/esm2022/components/main-menu/lib/directives/main-menu-item.directive.mjs +17 -1
- package/esm2022/components/main-menu/lib/helpers/create-main-menu-links.mjs +2 -1
- package/esm2022/components/main-menu/lib/main-menu.component.mjs +37 -1
- package/esm2022/components/main-menu/lib/main-menu.config.mjs +32 -1
- package/esm2022/components/main-menu/lib/main-menu.service.mjs +29 -1
- package/esm2022/components/mainfilter-group/lib/mainfilter-group.component.mjs +5 -1
- package/esm2022/components/menu/lib/directives/menu-item.directive.mjs +7 -1
- package/esm2022/components/menu/lib/menu.component.mjs +13 -1
- package/esm2022/components/menu/lib/menu.directive.mjs +19 -1
- package/esm2022/components/modal/lib/components/basic-modal/basic-modal.component.mjs +15 -1
- package/esm2022/components/modal/lib/components/modal-footer/modal-footer.component.mjs +4 -1
- package/esm2022/components/modal/lib/components/modal-header/modal-header.component.mjs +4 -1
- package/esm2022/components/modal/lib/components/modal-hero/modal-hero.component.mjs +12 -1
- package/esm2022/components/modal/lib/directives/modal-close.directive.mjs +25 -1
- package/esm2022/components/modal/lib/directives/modal-content.directive.mjs +4 -1
- package/esm2022/components/modal/lib/directives/modal-dismiss.directive.mjs +18 -1
- package/esm2022/components/modal/lib/helpers/inject-modal-ref.mjs +22 -1
- package/esm2022/components/modal/lib/helpers/provide-modal-ref.mjs +10 -1
- package/esm2022/components/modal/lib/modal.component.mjs +21 -2
- package/esm2022/components/modal/lib/modal.config.mjs +34 -1
- package/esm2022/components/modal/lib/modal.directive.mjs +25 -1
- package/esm2022/components/modal/lib/modal.service.mjs +39 -1
- package/esm2022/components/modal/lib/models/modal-ref.mjs +34 -1
- package/esm2022/components/navigation-back/lib/navigation-back.component.mjs +4 -1
- package/esm2022/components/notification/lib/components/notification-center/notification-center.component.mjs +1 -3
- package/esm2022/components/notification/lib/directives/notification-center.directive.mjs +19 -5
- package/esm2022/components/notification/lib/helpers/get-notifications-by-tag.mjs +2 -1
- package/esm2022/components/notification/lib/helpers/sort-notifications.mjs +2 -1
- package/esm2022/components/notification/lib/helpers/to-notification-collection.mjs +2 -1
- package/esm2022/components/notification/lib/models/notification-feature.mjs +16 -1
- package/esm2022/components/notification/lib/notification.config.mjs +45 -1
- package/esm2022/components/notification/lib/notification.logger.mjs +2 -1
- package/esm2022/components/notification/lib/notification.service.mjs +56 -1
- package/esm2022/components/notification/lib/notification.tokens.mjs +4 -1
- package/esm2022/components/notification/lib/services/notification-center.service.mjs +10 -1
- package/esm2022/components/paginator/lib/paginator.component.mjs +90 -1
- package/esm2022/components/paginator/lib/paginator.config.mjs +29 -1
- package/esm2022/components/progress/lib/progress.component.mjs +16 -1
- package/esm2022/components/radio-group/lib/components/radio-button/radio-button.component.mjs +20 -3
- package/esm2022/components/radio-group/lib/radio-group.component.mjs +13 -2
- package/esm2022/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +17 -1
- package/esm2022/components/rail-navigation/lib/rail-navigation.component.mjs +27 -1
- package/esm2022/components/rich-list/lib/components/rich-list-content/rich-list-content.component.mjs +5 -1
- package/esm2022/components/rich-list/lib/components/rich-list-header/rich-list-header.component.mjs +5 -1
- package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +10 -2
- package/esm2022/components/rich-list/lib/rich-list.component.mjs +10 -3
- package/esm2022/components/select/lib/components/select-option/select-option.component.mjs +49 -7
- package/esm2022/components/select/lib/directives/select-input-control.directive.mjs +12 -2
- package/esm2022/components/select/lib/pipes/select-search-filter.pipe.mjs +11 -1
- package/esm2022/components/select/lib/select.component.mjs +59 -5
- package/esm2022/components/slider/lib/slider.directive.mjs +20 -1
- package/esm2022/components/spinbox/lib/spinbox.component.mjs +17 -1
- package/esm2022/components/switch/lib/switch.component.mjs +11 -1
- package/esm2022/components/switch/lib/switch.validator.mjs +13 -1
- package/esm2022/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +29 -1
- package/esm2022/components/tab-bar/lib/tab-bar.component.mjs +71 -1
- package/esm2022/components/table/lib/components/check-cell/check-cell.component.mjs +19 -1
- package/esm2022/components/table/lib/components/header-title/header-title.component.mjs +30 -2
- package/esm2022/components/table/lib/directives/table-cell.directive.mjs +5 -1
- package/esm2022/components/table/lib/directives/table-row.directive.mjs +5 -1
- package/esm2022/components/table/lib/table.component.mjs +30 -1
- package/esm2022/components/timepicker/lib/timepicker.component.mjs +15 -6
- package/esm2022/components/timepicker/lib/utils/generate-time-stamps.mjs +5 -3
- package/esm2022/components/timepicker/lib/utils/ngx-mask-helper.mjs +3 -3
- package/esm2022/components/toast/lib/components/toast-container/toast-container.component.mjs +3 -3
- package/esm2022/components/toast/lib/components/toast-item/toast-item.component.mjs +5 -3
- package/esm2022/components/toast/lib/models/toast.mjs +1 -1
- package/esm2022/components/toast/lib/toast.config.mjs +27 -1
- package/esm2022/components/toast/lib/toast.service.mjs +36 -1
- package/esm2022/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +12 -1
- package/esm2022/components/toggle-button-group/lib/toggle-button-group.component.mjs +14 -2
- package/esm2022/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.mjs +8 -1
- package/esm2022/components/tooltip/lib/tooltip.component.mjs +18 -1
- package/esm2022/components/tooltip/lib/tooltip.directive.mjs +36 -1
- package/esm2022/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +35 -1
- package/esm2022/components/wizard/lib/wizard.component.mjs +21 -1
- package/esm2022/internal/lib/helpers/decorator-property-name.mjs +9 -1
- package/esm2022/internal/translate/lib/translate.config.mjs +32 -1
- package/esm2022/internal/translate/lib/translate.service.mjs +30 -1
- package/esm2022/lib/controllers/controller.mjs +26 -1
- package/esm2022/lib/controllers/disabled.controller.mjs +60 -1
- package/esm2022/lib/controllers/readonly.controller.mjs +57 -1
- package/esm2022/lib/directives/click-outside.directive.mjs +30 -1
- package/esm2022/lib/directives/delegate-focus.directive.mjs +15 -1
- package/esm2022/lib/services/window-ref.mjs +67 -1
- package/esm2022/lib/tokens/identity-matcher.mjs +25 -1
- package/esm2022/lib/tokens/string-search-handler.mjs +25 -1
- package/esm2022/lib/tokens/stringify.mjs +26 -1
- package/esm2022/localization/lib/features/with-http-language-header.mjs +54 -1
- package/esm2022/localization/lib/features/with-http-language-query-param.mjs +52 -1
- package/esm2022/localization/lib/loaders/browser-language-loader.mjs +33 -1
- package/esm2022/localization/lib/localization.config.mjs +71 -1
- package/esm2022/localization/lib/localization.service.mjs +42 -3
- package/esm2022/localization/lib/models/localization-feature.mjs +8 -1
- package/esm2022/rxjs/index.mjs +2 -2
- package/esm2022/rxjs/lib/delay-until.mjs +23 -1
- package/esm2022/rxjs/lib/from-element-mutation.mjs +22 -1
- package/esm2022/rxjs/lib/from-element-resize.mjs +25 -1
- package/esm2022/rxjs/lib/from-events.mjs +25 -1
- package/esm2022/rxjs/lib/from-query-list.mjs +24 -0
- package/esm2022/sdk/lib/application-environment.mjs +51 -1
- package/esm2022/theming/lib/helpers/prefers-dark-theme.mjs +19 -1
- package/esm2022/theming/lib/helpers/resolve-theme.mjs +26 -1
- package/esm2022/theming/lib/helpers/theme-storage.mjs +43 -1
- package/esm2022/theming/lib/theming.config.mjs +34 -1
- package/esm2022/theming/lib/theming.service.mjs +32 -1
- package/esm2022/utils/lib/decorators/pure.mjs +52 -1
- package/esm2022/utils/lib/helpers/angular.mjs +37 -1
- package/esm2022/utils/lib/helpers/array.mjs +5 -1
- package/esm2022/utils/lib/helpers/build-url.mjs +21 -1
- package/esm2022/utils/lib/helpers/build-website-url.mjs +3 -2
- package/esm2022/utils/lib/helpers/cache-storage-client.mjs +52 -1
- package/esm2022/utils/lib/helpers/coercion.mjs +18 -1
- package/esm2022/utils/lib/helpers/debounce.mjs +28 -1
- package/esm2022/utils/lib/helpers/defer-fn.mjs +21 -1
- package/esm2022/utils/lib/helpers/dom.mjs +71 -1
- package/esm2022/utils/lib/helpers/get-axis.mjs +21 -1
- package/esm2022/utils/lib/helpers/get-language-code.mjs +18 -1
- package/esm2022/utils/lib/helpers/get-opposite-side.mjs +22 -1
- package/esm2022/utils/lib/helpers/get-side.mjs +18 -1
- package/esm2022/utils/lib/helpers/get-unique-id.mjs +34 -1
- package/esm2022/utils/lib/helpers/match-url.mjs +41 -1
- package/esm2022/utils/lib/helpers/ng-changes.mjs +30 -1
- package/esm2022/utils/lib/helpers/provide-config.mjs +57 -1
- package/esm2022/utils/lib/helpers/queue.mjs +84 -1
- package/esm2022/utils/lib/helpers/type-guards.mjs +58 -1
- package/esm2022/utils/lib/helpers/until-destroyed.mjs +39 -1
- package/fesm2022/odx-angular-animations.mjs +173 -0
- package/fesm2022/odx-angular-animations.mjs.map +1 -1
- package/fesm2022/odx-angular-breakpoints.mjs +136 -0
- package/fesm2022/odx-angular-breakpoints.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-a11y.mjs +71 -0
- package/fesm2022/odx-angular-cdk-a11y.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-active-indicator.mjs +63 -0
- package/fesm2022/odx-angular-cdk-active-indicator.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-autocomplete-control.mjs +39 -1
- package/fesm2022/odx-angular-cdk-autocomplete-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-checkbox-control.mjs +3 -0
- package/fesm2022/odx-angular-cdk-checkbox-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-connected-overlay.mjs +103 -0
- package/fesm2022/odx-angular-cdk-connected-overlay.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-custom-form-control.mjs +183 -2
- package/fesm2022/odx-angular-cdk-custom-form-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-dynamic-view.mjs +202 -0
- package/fesm2022/odx-angular-cdk-dynamic-view.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-event-plugins.mjs +135 -0
- package/fesm2022/odx-angular-cdk-event-plugins.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-expandable.mjs +88 -0
- package/fesm2022/odx-angular-cdk-expandable.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-option-control.mjs +47 -0
- package/fesm2022/odx-angular-cdk-option-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-radio-group-control.mjs +19 -0
- package/fesm2022/odx-angular-cdk-radio-group-control.mjs.map +1 -1
- package/fesm2022/odx-angular-components-accordion.mjs +41 -0
- package/fesm2022/odx-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/odx-angular-components-action-group.mjs +6 -0
- package/fesm2022/odx-angular-components-action-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-area-header.mjs +14 -0
- package/fesm2022/odx-angular-components-area-header.mjs.map +1 -1
- package/fesm2022/odx-angular-components-autocomplete.mjs +28 -4
- package/fesm2022/odx-angular-components-autocomplete.mjs.map +1 -1
- package/fesm2022/odx-angular-components-avatar.mjs +8 -0
- package/fesm2022/odx-angular-components-avatar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-badge.mjs +25 -0
- package/fesm2022/odx-angular-components-badge.mjs.map +1 -1
- package/fesm2022/odx-angular-components-bar.mjs +13 -0
- package/fesm2022/odx-angular-components-bar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-breadcrumbs.mjs +3 -0
- package/fesm2022/odx-angular-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/odx-angular-components-button-group.mjs +15 -0
- package/fesm2022/odx-angular-components-button-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-button.mjs +10 -0
- package/fesm2022/odx-angular-components-button.mjs.map +1 -1
- package/fesm2022/odx-angular-components-calendar.mjs +232 -0
- package/fesm2022/odx-angular-components-calendar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-checkbox.mjs +55 -0
- package/fesm2022/odx-angular-components-checkbox.mjs.map +1 -1
- package/fesm2022/odx-angular-components-chip.mjs +20 -0
- package/fesm2022/odx-angular-components-chip.mjs.map +1 -1
- package/fesm2022/odx-angular-components-circular-progress.mjs +20 -0
- package/fesm2022/odx-angular-components-circular-progress.mjs.map +1 -1
- package/fesm2022/odx-angular-components-content-box.mjs +9 -0
- package/fesm2022/odx-angular-components-content-box.mjs.map +1 -1
- package/fesm2022/odx-angular-components-datepicker.mjs +84 -0
- package/fesm2022/odx-angular-components-datepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-daterangepicker.mjs +145 -0
- package/fesm2022/odx-angular-components-daterangepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-dropdown.mjs +66 -0
- package/fesm2022/odx-angular-components-dropdown.mjs.map +1 -1
- package/fesm2022/odx-angular-components-error-page.mjs +15 -0
- package/fesm2022/odx-angular-components-error-page.mjs.map +1 -1
- package/fesm2022/odx-angular-components-footer.mjs +11 -6
- package/fesm2022/odx-angular-components-footer.mjs.map +1 -1
- package/fesm2022/odx-angular-components-form-field.mjs +131 -0
- package/fesm2022/odx-angular-components-form-field.mjs.map +1 -1
- package/fesm2022/odx-angular-components-header-navigation.mjs +6 -0
- package/fesm2022/odx-angular-components-header-navigation.mjs.map +1 -1
- package/fesm2022/odx-angular-components-header.mjs +10 -0
- package/fesm2022/odx-angular-components-header.mjs.map +1 -1
- package/fesm2022/odx-angular-components-icon.mjs +57 -0
- package/fesm2022/odx-angular-components-icon.mjs.map +1 -1
- package/fesm2022/odx-angular-components-inline-message.mjs +13 -0
- package/fesm2022/odx-angular-components-inline-message.mjs.map +1 -1
- package/fesm2022/odx-angular-components-link.mjs +3 -0
- package/fesm2022/odx-angular-components-link.mjs.map +1 -1
- package/fesm2022/odx-angular-components-list.mjs +28 -1
- package/fesm2022/odx-angular-components-list.mjs.map +1 -1
- package/fesm2022/odx-angular-components-loading-spinner.mjs +30 -0
- package/fesm2022/odx-angular-components-loading-spinner.mjs.map +1 -1
- package/fesm2022/odx-angular-components-logo.mjs +15 -0
- package/fesm2022/odx-angular-components-logo.mjs.map +1 -1
- package/fesm2022/odx-angular-components-main-menu.mjs +119 -0
- package/fesm2022/odx-angular-components-main-menu.mjs.map +1 -1
- package/fesm2022/odx-angular-components-mainfilter-group.mjs +4 -0
- package/fesm2022/odx-angular-components-mainfilter-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-menu.mjs +36 -0
- package/fesm2022/odx-angular-components-menu.mjs.map +1 -1
- package/fesm2022/odx-angular-components-modal.mjs +252 -0
- package/fesm2022/odx-angular-components-modal.mjs.map +1 -1
- package/fesm2022/odx-angular-components-navigation-back.mjs +3 -0
- package/fesm2022/odx-angular-components-navigation-back.mjs.map +1 -1
- package/fesm2022/odx-angular-components-notification.mjs +148 -6
- package/fesm2022/odx-angular-components-notification.mjs.map +1 -1
- package/fesm2022/odx-angular-components-paginator.mjs +117 -0
- package/fesm2022/odx-angular-components-paginator.mjs.map +1 -1
- package/fesm2022/odx-angular-components-progress.mjs +15 -0
- package/fesm2022/odx-angular-components-progress.mjs.map +1 -1
- package/fesm2022/odx-angular-components-radio-group.mjs +30 -2
- package/fesm2022/odx-angular-components-radio-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-rail-navigation.mjs +42 -0
- package/fesm2022/odx-angular-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/odx-angular-components-rich-list.mjs +26 -3
- package/fesm2022/odx-angular-components-rich-list.mjs.map +1 -1
- package/fesm2022/odx-angular-components-select.mjs +126 -11
- package/fesm2022/odx-angular-components-select.mjs.map +1 -1
- package/fesm2022/odx-angular-components-slider.mjs +19 -0
- package/fesm2022/odx-angular-components-slider.mjs.map +1 -1
- package/fesm2022/odx-angular-components-spinbox.mjs +16 -0
- package/fesm2022/odx-angular-components-spinbox.mjs.map +1 -1
- package/fesm2022/odx-angular-components-switch.mjs +22 -0
- package/fesm2022/odx-angular-components-switch.mjs.map +1 -1
- package/fesm2022/odx-angular-components-tab-bar.mjs +98 -0
- package/fesm2022/odx-angular-components-tab-bar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-table.mjs +84 -1
- package/fesm2022/odx-angular-components-table.mjs.map +1 -1
- package/fesm2022/odx-angular-components-timepicker.mjs +20 -9
- package/fesm2022/odx-angular-components-timepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-toast.mjs +67 -4
- package/fesm2022/odx-angular-components-toast.mjs.map +1 -1
- package/fesm2022/odx-angular-components-toggle-button-group.mjs +23 -0
- package/fesm2022/odx-angular-components-toggle-button-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-tooltip.mjs +59 -0
- package/fesm2022/odx-angular-components-tooltip.mjs.map +1 -1
- package/fesm2022/odx-angular-components-wizard.mjs +54 -0
- package/fesm2022/odx-angular-components-wizard.mjs.map +1 -1
- package/fesm2022/odx-angular-internal-translate.mjs +60 -0
- package/fesm2022/odx-angular-internal-translate.mjs.map +1 -1
- package/fesm2022/odx-angular-internal.mjs +8 -0
- package/fesm2022/odx-angular-internal.mjs.map +1 -1
- package/fesm2022/odx-angular-localization.mjs +254 -2
- package/fesm2022/odx-angular-localization.mjs.map +1 -1
- package/fesm2022/odx-angular-rxjs.mjs +115 -5
- package/fesm2022/odx-angular-rxjs.mjs.map +1 -1
- package/fesm2022/odx-angular-sdk.mjs +50 -0
- package/fesm2022/odx-angular-sdk.mjs.map +1 -1
- package/fesm2022/odx-angular-theming.mjs +149 -0
- package/fesm2022/odx-angular-theming.mjs.map +1 -1
- package/fesm2022/odx-angular-utils.mjs +709 -1
- package/fesm2022/odx-angular-utils.mjs.map +1 -1
- package/fesm2022/odx-angular.mjs +322 -0
- package/fesm2022/odx-angular.mjs.map +1 -1
- package/internal/lib/helpers/decorator-property-name.d.ts +8 -0
- package/internal/translate/lib/translate.config.d.ts +31 -0
- package/internal/translate/lib/translate.service.d.ts +29 -0
- package/lib/controllers/controller.d.ts +25 -0
- package/lib/controllers/disabled.controller.d.ts +59 -0
- package/lib/controllers/readonly.controller.d.ts +56 -0
- package/lib/directives/click-outside.directive.d.ts +29 -0
- package/lib/directives/delegate-focus.directive.d.ts +14 -0
- package/lib/services/window-ref.d.ts +66 -0
- package/lib/tokens/identity-matcher.d.ts +41 -0
- package/lib/tokens/string-search-handler.d.ts +39 -0
- package/lib/tokens/stringify.d.ts +42 -0
- package/localization/lib/features/with-http-language-header.d.ts +63 -0
- package/localization/lib/features/with-http-language-query-param.d.ts +61 -0
- package/localization/lib/loaders/browser-language-loader.d.ts +32 -0
- package/localization/lib/localization.config.d.ts +81 -0
- package/localization/lib/localization.service.d.ts +39 -0
- package/localization/lib/models/localization-feature.d.ts +7 -0
- package/package.json +1 -1
- package/rxjs/index.d.ts +1 -1
- package/rxjs/lib/delay-until.d.ts +22 -0
- package/rxjs/lib/from-element-mutation.d.ts +21 -0
- package/rxjs/lib/from-element-resize.d.ts +24 -0
- package/rxjs/lib/from-events.d.ts +24 -0
- package/rxjs/lib/from-query-list.d.ts +22 -0
- package/sdk/lib/application-environment.d.ts +59 -0
- package/theming/lib/helpers/prefers-dark-theme.d.ts +18 -0
- package/theming/lib/helpers/resolve-theme.d.ts +25 -0
- package/theming/lib/helpers/theme-storage.d.ts +42 -0
- package/theming/lib/theming.config.d.ts +46 -0
- package/theming/lib/theming.service.d.ts +31 -0
- package/utils/lib/decorators/pure.d.ts +51 -0
- package/utils/lib/helpers/angular.d.ts +36 -0
- package/utils/lib/helpers/array.d.ts +4 -0
- package/utils/lib/helpers/build-url.d.ts +20 -0
- package/utils/lib/helpers/build-website-url.d.ts +2 -1
- package/utils/lib/helpers/cache-storage-client.d.ts +51 -0
- package/utils/lib/helpers/coercion.d.ts +17 -0
- package/utils/lib/helpers/debounce.d.ts +27 -0
- package/utils/lib/helpers/defer-fn.d.ts +20 -0
- package/utils/lib/helpers/dom.d.ts +70 -0
- package/utils/lib/helpers/get-axis.d.ts +20 -0
- package/utils/lib/helpers/get-language-code.d.ts +17 -0
- package/utils/lib/helpers/get-opposite-side.d.ts +21 -0
- package/utils/lib/helpers/get-side.d.ts +17 -0
- package/utils/lib/helpers/get-unique-id.d.ts +33 -0
- package/utils/lib/helpers/match-url.d.ts +40 -0
- package/utils/lib/helpers/ng-changes.d.ts +52 -0
- package/utils/lib/helpers/provide-config.d.ts +56 -0
- package/utils/lib/helpers/queue.d.ts +83 -0
- package/utils/lib/helpers/type-guards.d.ts +57 -0
- package/utils/lib/helpers/until-destroyed.d.ts +38 -0
- package/esm2022/rxjs/lib/form-query-list.mjs +0 -5
- package/rxjs/lib/form-query-list.d.ts +0 -3
|
@@ -1,2 +1,22 @@
|
|
|
1
1
|
import { Axis, Position } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Determines the axis associated with a given position. The function first extracts the side from the position,
|
|
4
|
+
* then evaluates whether that side corresponds to the X-axis (left or right) or the Y-axis (top or bottom).
|
|
5
|
+
*
|
|
6
|
+
* @param {Position} position - The position string, which includes a side (top, bottom, left, right) and possibly an alignment.
|
|
7
|
+
* @returns {Axis} The axis (X or Y) associated with the given position's side.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // Determining the axis for different positions
|
|
12
|
+
* console.log(getAxis('top-left')); // Outputs: 'Y'
|
|
13
|
+
* console.log(getAxis('right')); // Outputs: 'X'
|
|
14
|
+
*
|
|
15
|
+
* // Using getAxis in UI element positioning logic
|
|
16
|
+
* const elementPosition = 'bottom';
|
|
17
|
+
* const axis = getAxis(elementPosition);
|
|
18
|
+
* // Assuming a function that adjusts UI elements based on the axis
|
|
19
|
+
* adjustElementAlongAxis(axis);
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
2
22
|
export declare function getAxis(position: Position): Axis;
|
|
@@ -1 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extracts the language code from a language string that may include both a language and a region code.
|
|
3
|
+
* The function supports language strings formatted with either a hyphen (`-`) or an underscore (`_`) as the separator.
|
|
4
|
+
*
|
|
5
|
+
* @param {string} language - The complete language string, potentially including both language and region codes.
|
|
6
|
+
* @returns {string} The extracted language code, converted to lower case.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* // Extracting language code from a language-region string
|
|
11
|
+
* console.log(getLanguageCode('en-US')); // Outputs: 'en'
|
|
12
|
+
* console.log(getLanguageCode('zh_CN')); // Outputs: 'zh'
|
|
13
|
+
*
|
|
14
|
+
* // Handling language codes without region codes
|
|
15
|
+
* console.log(getLanguageCode('fr')); // Outputs: 'fr'
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
1
18
|
export declare function getLanguageCode(language: string): string;
|
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
import { Position, Side } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Determines the opposite side for a given position. This function is useful for scenarios
|
|
4
|
+
* where you need to dynamically calculate the positioning or alignment opposite to the current one,
|
|
5
|
+
* such as inverting tooltips, popovers, or any UI elements that adjust based on available viewport space.
|
|
6
|
+
*
|
|
7
|
+
* @param {Position} position - The position string, which includes a side and possibly an alignment.
|
|
8
|
+
* @returns {Side} The opposite side relative to the provided position's side.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* // Getting the opposite side of a given position
|
|
13
|
+
* console.log(getOppositeSide('top-left')); // Outputs: 'bottom'
|
|
14
|
+
* console.log(getOppositeSide('right')); // Outputs: 'left'
|
|
15
|
+
*
|
|
16
|
+
* // Using getOppositeSide to adjust UI elements
|
|
17
|
+
* const currentSide = 'left';
|
|
18
|
+
* const newPosition = getOppositeSide(currentSide);
|
|
19
|
+
* // Assuming an element's position or orientation needs to be dynamically updated
|
|
20
|
+
* updateElementPosition(newPosition);
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
2
23
|
export declare function getOppositeSide(position: Position): Side;
|
|
@@ -1,2 +1,19 @@
|
|
|
1
1
|
import { Position, Side } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Extracts the side part from a position string. The position format generally combines
|
|
4
|
+
* a side (e.g., "top", "bottom", "left", "right") with an optional alignment
|
|
5
|
+
* (e.g., "left", "center", "right" for vertical positions or "top", "middle", "bottom" for horizontal positions).
|
|
6
|
+
*
|
|
7
|
+
* @param {Position} position - The position string from which to extract the side.
|
|
8
|
+
* @returns {Side} The side part of the position, indicating the general placement direction.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* // Extracting the side from a position with alignment
|
|
13
|
+
* console.log(getSide('top-left')); // Outputs: 'top'
|
|
14
|
+
*
|
|
15
|
+
* // Extracting the side from a simple position
|
|
16
|
+
* console.log(getSide('bottom')); // Outputs: 'bottom'
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
2
19
|
export declare function getSide(position: Position): Side;
|
|
@@ -1,2 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates a unique identifier for a given key. If the key has previously been used,
|
|
3
|
+
* the function increments a counter associated with that key to ensure uniqueness.
|
|
4
|
+
* The generated ID is in the format of `${key}-${counter}`.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} key - The key for which to generate a unique identifier.
|
|
7
|
+
* @returns {string} A unique identifier string based on the provided key.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const id1 = getUniqueId('component');
|
|
12
|
+
* console.log(id1); // Outputs: "component-1"
|
|
13
|
+
*
|
|
14
|
+
* const id2 = getUniqueId('component');
|
|
15
|
+
* console.log(id2); // Outputs: "component-2"
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
1
18
|
export declare function getUniqueId(key: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* Clears the cache used by `getUniqueId` to generate unique identifiers. This function
|
|
21
|
+
* resets all counters associated with each key, effectively restarting the generation
|
|
22
|
+
* of unique IDs from their initial state.
|
|
23
|
+
*
|
|
24
|
+
* This can be useful in scenarios such as testing or when starting a new session that
|
|
25
|
+
* requires resetting the state of unique ID generation.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* getUniqueId('component'); // Returns "component-1"
|
|
30
|
+
* getUniqueId('component'); // Returns "component-2"
|
|
31
|
+
* clearUniqueIdCache();
|
|
32
|
+
* getUniqueId('component'); // Returns "component-1" after cache reset
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
2
35
|
export declare function clearUniqueIdCache(): void;
|
|
@@ -1,2 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if a given value is a valid URL matcher, which can be either a string or a regular expression.
|
|
3
|
+
* This function serves as a type guard to facilitate URL matching operations by verifying the type of the filter.
|
|
4
|
+
*
|
|
5
|
+
* @param {unknown} value - The value to check for being a valid URL matcher.
|
|
6
|
+
* @returns {value is string | RegExp} `true` if the value is a string or RegExp, indicating it can be used for URL matching; otherwise, `false`.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* // Checking a string URL matcher
|
|
11
|
+
* console.log(isUrlMatcher('https://example.com')); // true
|
|
12
|
+
*
|
|
13
|
+
* // Checking a RegExp URL matcher
|
|
14
|
+
* console.log(isUrlMatcher(/https:\/\/example\.com/)); // true
|
|
15
|
+
*
|
|
16
|
+
* // Checking a non-matcher value
|
|
17
|
+
* console.log(isUrlMatcher(123)); // false
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
1
20
|
export declare function isUrlMatcher(value: unknown): value is string | RegExp;
|
|
21
|
+
/**
|
|
22
|
+
* Determines if a given URL matches a specified filter, which can be either a string or a regular expression.
|
|
23
|
+
* For string filters, the function checks if the URL starts with the filter value. For RegExp filters,
|
|
24
|
+
* it checks if the URL matches the regular expression pattern.
|
|
25
|
+
*
|
|
26
|
+
* @param {string} url - The URL to be checked against the filter.
|
|
27
|
+
* @param {string | RegExp} filter - The filter used to match the URL, which can be a prefix string or a RegExp pattern.
|
|
28
|
+
* @returns {boolean} `true` if the URL matches the filter; otherwise, `false`.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* // Matching a URL with a string filter
|
|
33
|
+
* console.log(matchUrl('https://example.com/page', 'https://example.com')); // true
|
|
34
|
+
*
|
|
35
|
+
* // Matching a URL with a RegExp filter
|
|
36
|
+
* console.log(matchUrl('https://example.com/page', /example\.com\/page/)); // true
|
|
37
|
+
*
|
|
38
|
+
* // A non-matching example
|
|
39
|
+
* console.log(matchUrl('https://example.com/page', 'https://another.com')); // false
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
2
42
|
export declare function matchUrl(url: string, filter: string | RegExp): boolean;
|
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
import { GetProperties } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a typed version of Angular's `SimpleChanges` object, describing the changes to each
|
|
4
|
+
* property of a component or directive. This utility enhances type safety when working with Angular's
|
|
5
|
+
* change detection mechanism by providing specific property types.
|
|
6
|
+
*
|
|
7
|
+
* @template C - The component or directive class.
|
|
8
|
+
* @template Properties - The properties of the component or directive, inferred from `C` by default.
|
|
9
|
+
* @type {Object} - A mapping from property names to change information for each property.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* interface MyComponent {
|
|
14
|
+
* name: string;
|
|
15
|
+
* age: number;
|
|
16
|
+
* }
|
|
17
|
+
*
|
|
18
|
+
* function ngOnChanges(changes: NgChanges<MyComponent>) {
|
|
19
|
+
* if (changes.name) {
|
|
20
|
+
* console.log('Name changed from', changes.name.previousValue, 'to', changes.name.currentValue);
|
|
21
|
+
* }
|
|
22
|
+
* }
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
2
25
|
export type NgChanges<C, Properties = GetProperties<C>> = {
|
|
3
26
|
[Key in keyof Properties]: {
|
|
4
27
|
previousValue: Properties[Key];
|
|
@@ -7,4 +30,33 @@ export type NgChanges<C, Properties = GetProperties<C>> = {
|
|
|
7
30
|
isFirstChange(): boolean;
|
|
8
31
|
};
|
|
9
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* Checks if the specified property or properties have changed in the current change detection cycle.
|
|
35
|
+
* Optionally ignores changes that occur during the first change detection cycle (e.g., initialization).
|
|
36
|
+
*
|
|
37
|
+
* @template U - The component or directive class.
|
|
38
|
+
* @template T - The type representing the changes, typically `NgChanges<U>`.
|
|
39
|
+
* @template K - The key or keys representing the properties to check for changes.
|
|
40
|
+
* @param {T} changes - The `NgChanges` object containing information about all changes.
|
|
41
|
+
* @param {K | K[]} keyOrKeys - The property name(s) to check for changes.
|
|
42
|
+
* @param {boolean} [ignoreFirstChange=true] - Whether to ignore changes that occur during the first change detection cycle.
|
|
43
|
+
* @returns {boolean} `true` if the specified property or properties have changed, otherwise `false`.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* // Example usage within an Angular component's `ngOnChanges` method
|
|
48
|
+
* ngOnChanges(changes: NgChanges<MyComponent>): void {
|
|
49
|
+
* if (hasChanged(changes, 'name')) {
|
|
50
|
+
* console.log('Name has changed');
|
|
51
|
+
* }
|
|
52
|
+
* }
|
|
53
|
+
*
|
|
54
|
+
* // Checking multiple properties for changes
|
|
55
|
+
* ngOnChanges(changes: NgChanges<MyComponent>): void {
|
|
56
|
+
* if (hasChanged(changes, ['name', 'age'], false)) {
|
|
57
|
+
* console.log('Name or age has changed (including first change)');
|
|
58
|
+
* }
|
|
59
|
+
* }
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
10
62
|
export declare function hasChanged<U extends Record<string, unknown>, T extends NgChanges<U>, K extends keyof T>(changes: T, keyOrKeys: K | K[], ignoreFirstChange?: boolean): boolean;
|
|
@@ -8,6 +8,62 @@ interface ConfigFactoryProvider<T, D extends ConfigDependencies> {
|
|
|
8
8
|
export type ConfigDependencies<T = unknown> = ReadonlyArray<Type<T> | InjectionToken<T>>;
|
|
9
9
|
export type ConfigProvider<T = unknown, D extends ConfigDependencies = []> = ConfigFactoryProvider<T, D> | T;
|
|
10
10
|
export type ConfigTransformFn<T = unknown> = (config: Partial<T>) => Partial<T>;
|
|
11
|
+
/**
|
|
12
|
+
* Provides a configuration object or a factory for creating the configuration object, optionally applying a transformation function.
|
|
13
|
+
* This utility simplifies the process of defining and injecting configuration objects throughout an Angular application.
|
|
14
|
+
*
|
|
15
|
+
* @template T - The type of the configuration object.
|
|
16
|
+
* @template D - The dependencies required by the configuration factory, if any.
|
|
17
|
+
* @param {InjectionToken<T> | string} token - The injection token or string token associated with the configuration.
|
|
18
|
+
* @param {ConfigProvider<T, D>} config - The configuration object or a factory provider that produces the configuration.
|
|
19
|
+
* @param {ConfigTransformFn<T>} [transform=() => ({}))] - An optional transformation function to apply to the configuration object.
|
|
20
|
+
* @returns {FactoryProvider | ValueProvider} - An Angular provider object for the given configuration.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* // Define a simple configuration object
|
|
25
|
+
* const appConfig = { apiEndpoint: 'https://api.example.com' };
|
|
26
|
+
*
|
|
27
|
+
* // Provide the configuration with an optional transformation function
|
|
28
|
+
* provideConfig(appConfigToken, appConfig, (config) => ({
|
|
29
|
+
* ...config,
|
|
30
|
+
* apiEndpoint: `${config.apiEndpoint}/v2`,
|
|
31
|
+
* }));
|
|
32
|
+
*
|
|
33
|
+
* // Using a factory provider for dynamic configuration
|
|
34
|
+
* provideConfig(appConfigToken, {
|
|
35
|
+
* useFactory: (envService) => ({ apiEndpoint: envService.getApiEndpoint() }),
|
|
36
|
+
* deps: [EnvironmentService],
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
11
40
|
export declare function provideConfig<T extends object, D extends ConfigDependencies = ConfigDependencies>(token: InjectionToken<T> | string, config: ConfigProvider<T, D>, transform?: ConfigTransformFn<T>): FactoryProvider | ValueProvider;
|
|
41
|
+
/**
|
|
42
|
+
* Generates a set of configuration-related tokens and utility functions for managing configuration in an Angular application.
|
|
43
|
+
* This function creates a standardized way to define, provide, and inject configurations, including defaults and transformations.
|
|
44
|
+
*
|
|
45
|
+
* @template T - The type of the configuration object.
|
|
46
|
+
* @template N - The name of the configuration, used to generate token names and utility functions.
|
|
47
|
+
* @param {N} name - The name of the configuration.
|
|
48
|
+
* @param {string} prefix - A prefix for the injection token to ensure uniqueness across the application.
|
|
49
|
+
* @param {T} defaultValue - The default value for the configuration.
|
|
50
|
+
* @param {ConfigTransformFn<T>} [transform] - An optional transformation function to be applied to the configuration.
|
|
51
|
+
* @returns An object containing the generated injection token, default configuration, and utility functions for the configuration.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```ts
|
|
55
|
+
* // Create configuration tokens and utilities for "appConfig" with a default value and optional transform function
|
|
56
|
+
* const { appConfigConfig, provideAppConfigConfig } = createConfigTokens('appConfig', 'myPrefix', { debug: false }, (config) => ({
|
|
57
|
+
* ...config,
|
|
58
|
+
* debug: true, // Enable debug mode by default
|
|
59
|
+
* }));
|
|
60
|
+
*
|
|
61
|
+
* // Later, in a module or component, provide the customized configuration
|
|
62
|
+
* @NgModule({
|
|
63
|
+
* providers: [provideAppConfigConfig({ apiEndpoint: 'https://api.example.com' })]
|
|
64
|
+
* })
|
|
65
|
+
* class AppModule {}
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
12
68
|
export declare function createConfigTokens<T, N extends string>(name: N, prefix: string, defaultValue: T, transform?: ConfigTransformFn<T>): Record<`${N}Config`, InjectionToken<Partial<T>>> & Record<`${N}DefaultConfig`, T> & Record<`inject${N}Config`, () => T> & Record<`provide${N}Config`, <D extends ConfigDependencies<unknown> = ConfigDependencies<Partial<T>>>(config: ConfigProvider<Partial<T>, D>) => FactoryProvider | ValueProvider>;
|
|
13
69
|
export {};
|
|
@@ -3,26 +3,109 @@ type QueueItemId = string | number;
|
|
|
3
3
|
type QueueItem<T> = T & {
|
|
4
4
|
id: QueueItemId;
|
|
5
5
|
};
|
|
6
|
+
/**
|
|
7
|
+
* A class representing a queue structure with advanced functionalities including adding, removing,
|
|
8
|
+
* updating items, and observing changes through RxJS observables. It supports generic queue item types,
|
|
9
|
+
* allowing for flexible usage across different contexts.
|
|
10
|
+
*
|
|
11
|
+
* @template T - The type of items stored in the queue. Each item must extend an object containing a unique `id`.
|
|
12
|
+
*/
|
|
6
13
|
export declare class Queue<T> {
|
|
7
14
|
private readonly queue;
|
|
8
15
|
private readonly events$$;
|
|
9
16
|
private values;
|
|
10
17
|
private firstItem;
|
|
11
18
|
private lastItem;
|
|
19
|
+
/**
|
|
20
|
+
* An observable that emits when an item is added to the queue.
|
|
21
|
+
* @type {Observable<T>}
|
|
22
|
+
*/
|
|
12
23
|
readonly onAdd$: Observable<T>;
|
|
24
|
+
/**
|
|
25
|
+
* An observable that emits when an item in the queue is updated.
|
|
26
|
+
* @type {Observable<T>}
|
|
27
|
+
*/
|
|
13
28
|
readonly onUpdate$: Observable<T>;
|
|
29
|
+
/**
|
|
30
|
+
* An observable that emits when an item is removed from the queue.
|
|
31
|
+
* @type {Observable<T>}
|
|
32
|
+
*/
|
|
14
33
|
readonly onRemove$: Observable<T>;
|
|
34
|
+
/**
|
|
35
|
+
* An observable representing the current state of the queue as an array of items.
|
|
36
|
+
* @type {Observable<QueueItem<T>[]>}
|
|
37
|
+
*/
|
|
15
38
|
readonly value$: Observable<QueueItem<T>[]>;
|
|
39
|
+
/**
|
|
40
|
+
* An observable that emits the current size of the queue.
|
|
41
|
+
* @type {Observable<number>}
|
|
42
|
+
*/
|
|
16
43
|
readonly size$: Observable<number>;
|
|
44
|
+
/**
|
|
45
|
+
* Gets the size of the queue.
|
|
46
|
+
* @returns The number of elements in the queue.
|
|
47
|
+
*/
|
|
17
48
|
get size(): number;
|
|
49
|
+
/**
|
|
50
|
+
* Checks if the specified item is the first item in the queue.
|
|
51
|
+
* @param {QueueItem<T>} item - The item to check.
|
|
52
|
+
* @returns {boolean} - Returns `true` if the item is the first item in the queue, `false` otherwise.
|
|
53
|
+
*/
|
|
18
54
|
isFirst({ id }: QueueItem<T>): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Checks if the specified item is the last item in the queue.
|
|
57
|
+
* @param {QueueItem<T>} item - The item to check.
|
|
58
|
+
* @returns {boolean} - Returns true if the item is the last item, otherwise returns false.
|
|
59
|
+
*/
|
|
19
60
|
isLast({ id }: QueueItem<T>): boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Retrieves a queue item from the queue based on the provided item or item ID.
|
|
63
|
+
* @param itemOrId - The queue item or item ID to retrieve.
|
|
64
|
+
* @returns The queue item if found, or `null` if not found.
|
|
65
|
+
*/
|
|
20
66
|
get(itemOrId: QueueItem<T> | QueueItemId): QueueItem<T> | null;
|
|
67
|
+
/**
|
|
68
|
+
* Adds an item to the queue, optionally emitting an event.
|
|
69
|
+
*
|
|
70
|
+
* @param {QueueItem<T>} item - The item to add.
|
|
71
|
+
* @param {boolean} [emitEvent=true] - Whether to emit an event for this action.
|
|
72
|
+
* @returns {QueueItem<T>} The item added to the queue.
|
|
73
|
+
*/
|
|
21
74
|
add(item: QueueItem<T>, emitEvent?: boolean): QueueItem<T>;
|
|
75
|
+
/**
|
|
76
|
+
* Adds multiple items to the queue.
|
|
77
|
+
*
|
|
78
|
+
* @param items - An array of items to be added to the queue.
|
|
79
|
+
* @param emitEvent - (Optional) A boolean indicating whether to emit an event after adding the items. Default is true.
|
|
80
|
+
* @returns An array of added items.
|
|
81
|
+
*/
|
|
22
82
|
addMany(items: Array<QueueItem<T>>, emitEvent?: boolean): Array<QueueItem<T>>;
|
|
83
|
+
/**
|
|
84
|
+
* Removes an item from the queue.
|
|
85
|
+
*
|
|
86
|
+
* @param itemOrId - The item or ID of the item to be removed.
|
|
87
|
+
* @param emitEvent - Whether to emit an event after removing the item. Default is `true`.
|
|
88
|
+
* @returns The removed item, or `null` if the item was not found.
|
|
89
|
+
*/
|
|
23
90
|
remove(itemOrId: QueueItem<T> | QueueItemId, emitEvent?: boolean): QueueItem<T> | null;
|
|
91
|
+
/**
|
|
92
|
+
* Removes multiple items from the queue based on the provided item or item IDs.
|
|
93
|
+
* @param itemOrIds - An array of QueueItem or QueueItemId objects representing the items to be removed.
|
|
94
|
+
* @param emitEvent - A boolean indicating whether to emit an event after removing the items. Default is true.
|
|
95
|
+
* @returns An array of removed QueueItem objects or null values.
|
|
96
|
+
*/
|
|
24
97
|
removeMany(itemOrIds: Array<QueueItem<T> | QueueItemId>, emitEvent?: boolean): Array<QueueItem<T> | null>;
|
|
98
|
+
/**
|
|
99
|
+
* Clears the queue by removing all items.
|
|
100
|
+
*
|
|
101
|
+
* @param emitEvent - Whether to emit an event after clearing the queue. Default is true.
|
|
102
|
+
*/
|
|
25
103
|
clear(emitEvent?: boolean): void;
|
|
104
|
+
/**
|
|
105
|
+
* Returns an array representation of the queue.
|
|
106
|
+
*
|
|
107
|
+
* @returns An array containing all the items in the queue.
|
|
108
|
+
*/
|
|
26
109
|
toArray(): QueueItem<T>[];
|
|
27
110
|
private notify;
|
|
28
111
|
private createEventObserver;
|
|
@@ -1,10 +1,67 @@
|
|
|
1
1
|
import { TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Checks if the given value is a `ViewContainerRef`.
|
|
4
|
+
*
|
|
5
|
+
* @param {unknown} value - The value to check.
|
|
6
|
+
* @returns {value is ViewContainerRef} `true` if the value is a `ViewContainerRef`, otherwise `false`.
|
|
7
|
+
*/
|
|
2
8
|
export declare function isViewContainer(value: unknown): value is ViewContainerRef;
|
|
9
|
+
/**
|
|
10
|
+
* Checks if the given value is a `TemplateRef`.
|
|
11
|
+
*
|
|
12
|
+
* @template T - The embedded view type.
|
|
13
|
+
* @param {unknown} value - The value to check.
|
|
14
|
+
* @returns {value is TemplateRef<T>} `true` if the value is a `TemplateRef`, otherwise `false`.
|
|
15
|
+
*/
|
|
3
16
|
export declare function isTemplateRef<T = unknown>(value: unknown): value is TemplateRef<T>;
|
|
17
|
+
/**
|
|
18
|
+
* Checks if the given value is an Angular component class.
|
|
19
|
+
*
|
|
20
|
+
* @template T - The component class type.
|
|
21
|
+
* @param {unknown} value - The value to check.
|
|
22
|
+
* @returns {value is Type<T>} `true` if the value is a component class, otherwise `false`.
|
|
23
|
+
*/
|
|
4
24
|
export declare function isComponent<T = unknown>(value: unknown): value is Type<T>;
|
|
25
|
+
/**
|
|
26
|
+
* Checks if the given value is a string.
|
|
27
|
+
*
|
|
28
|
+
* @param {unknown} value - The value to check.
|
|
29
|
+
* @returns {value is string} `true` if the value is a string, otherwise `false`.
|
|
30
|
+
*/
|
|
5
31
|
export declare function isString(value: unknown): value is string;
|
|
32
|
+
/**
|
|
33
|
+
* Checks if the given value is a non-empty string.
|
|
34
|
+
*
|
|
35
|
+
* @param {unknown} value - The value to check.
|
|
36
|
+
* @returns {value is string} `true` if the value is a non-empty string, otherwise `false`.
|
|
37
|
+
*/
|
|
6
38
|
export declare function isNonEmptyString(value: unknown): value is string;
|
|
39
|
+
/**
|
|
40
|
+
* Checks if the given value is a boolean.
|
|
41
|
+
*
|
|
42
|
+
* @param {unknown} value - The value to check.
|
|
43
|
+
* @returns {value is boolean} `true` if the value is a boolean, otherwise `false`.
|
|
44
|
+
*/
|
|
7
45
|
export declare function isBoolean(value: unknown): value is boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Checks if the given value is a function.
|
|
48
|
+
*
|
|
49
|
+
* @param {unknown} value - The value to check.
|
|
50
|
+
* @returns {value is CallableFunction} `true` if the value is a function, otherwise `false`.
|
|
51
|
+
*/
|
|
8
52
|
export declare function isFunction(value: unknown): value is CallableFunction;
|
|
53
|
+
/**
|
|
54
|
+
* Checks if the given value is present (not null or undefined).
|
|
55
|
+
*
|
|
56
|
+
* @template T - The value type.
|
|
57
|
+
* @param {T | null | undefined} value - The value to check.
|
|
58
|
+
* @returns {value is NonNullable<T>} `true` if the value is present, otherwise `false`.
|
|
59
|
+
*/
|
|
9
60
|
export declare function isPresent<T>(value: T | null | undefined): value is NonNullable<T>;
|
|
61
|
+
/**
|
|
62
|
+
* Checks if the given value is a number.
|
|
63
|
+
*
|
|
64
|
+
* @param {unknown} value - The value to check.
|
|
65
|
+
* @returns {value is number} `true` if the value is a number, otherwise `false`.
|
|
66
|
+
*/
|
|
10
67
|
export declare function isNumber(value: unknown): value is number;
|
|
@@ -1,2 +1,40 @@
|
|
|
1
1
|
import { MonoTypeOperatorFunction } from 'rxjs';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a MonoTypeOperatorFunction that automatically unsubscribes from observables when the host component or service is destroyed.
|
|
4
|
+
* It uses Angular's `DestroyRef` to detect when the component or service is destroyed and triggers the unsubscription at that point.
|
|
5
|
+
* This utility function helps in managing subscriptions and prevents memory leaks by ensuring observables are unsubscribed when no longer needed.
|
|
6
|
+
*
|
|
7
|
+
* @returns A function that returns a `MonoTypeOperatorFunction<T>`, which can be used in an RxJS pipe to automatically unsubscribe
|
|
8
|
+
* based on the component's or service's lifecycle.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* // In an Angular component or service
|
|
13
|
+
* import { Component } from '@angular/core';
|
|
14
|
+
* import { Observable } from 'rxjs';
|
|
15
|
+
* import { untilDestroyed } from './path/to/untilDestroyed';
|
|
16
|
+
*
|
|
17
|
+
* @Component({
|
|
18
|
+
* selector: 'app-example',
|
|
19
|
+
* template: `<div>Example Component</div>`,
|
|
20
|
+
* })
|
|
21
|
+
* export class ExampleComponent {
|
|
22
|
+
* private readonly takeUntilDestroyed = untilDestroyed();
|
|
23
|
+
*
|
|
24
|
+
* constructor() {
|
|
25
|
+
* const exampleObservable$ = new Observable(observer => {
|
|
26
|
+
* // Observable logic here
|
|
27
|
+
* });
|
|
28
|
+
*
|
|
29
|
+
* exampleObservable$.pipe(
|
|
30
|
+
* this.takeUntilDestroyed(),
|
|
31
|
+
* ).subscribe(data => {
|
|
32
|
+
* // Subscription logic here
|
|
33
|
+
* });
|
|
34
|
+
* }
|
|
35
|
+
*
|
|
36
|
+
* // No need to manually implement ngOnDestroy to unsubscribe
|
|
37
|
+
* }
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
2
40
|
export declare function untilDestroyed(): <T>() => MonoTypeOperatorFunction<T>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { startWith } from 'rxjs';
|
|
2
|
-
export function fromQueryList(queryList) {
|
|
3
|
-
return queryList.changes.pipe(startWith(queryList));
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1xdWVyeS1saXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3J4anMvc3JjL2xpYi9mb3JtLXF1ZXJ5LWxpc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFjLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUU3QyxNQUFNLFVBQVUsYUFBYSxDQUFJLFNBQXVCO0lBQ3RELE9BQU8sU0FBUyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUM7QUFDdEQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFF1ZXJ5TGlzdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgT2JzZXJ2YWJsZSwgc3RhcnRXaXRoIH0gZnJvbSAncnhqcyc7XG5cbmV4cG9ydCBmdW5jdGlvbiBmcm9tUXVlcnlMaXN0PFQ+KHF1ZXJ5TGlzdDogUXVlcnlMaXN0PFQ+KTogT2JzZXJ2YWJsZTxRdWVyeUxpc3Q8VD4+IHtcbiAgcmV0dXJuIHF1ZXJ5TGlzdC5jaGFuZ2VzLnBpcGUoc3RhcnRXaXRoKHF1ZXJ5TGlzdCkpO1xufVxuIl19
|