@odx/angular 6.0.0 → 6.0.1
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 +7 -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/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 +17 -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/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/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/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 +39 -1
- 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/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 +18 -1
- 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/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 +47 -6
- 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 +56 -2
- 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 +70 -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/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/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/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/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 +38 -0
- 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 +188 -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 +17 -0
- 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 +11 -0
- 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 +122 -7
- 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 +97 -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 +61 -0
- 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 +52 -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-localization.mjs +247 -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/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/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
package/CHANGELOG.md
CHANGED
|
@@ -1,2 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animation for smoothly expanding an element from height 0 to its natural height.
|
|
3
|
+
* It transitions the element's height, padding, margin, and opacity from a collapsed state to an expanded state,
|
|
4
|
+
* making the element smoothly grow into view.
|
|
5
|
+
*
|
|
6
|
+
* The `expand` animation uses `DEFAULT_ANIMATION_PARAMS` for its default parameters, which can be overridden
|
|
7
|
+
* when using the animation.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // Example usage in an Angular component
|
|
12
|
+
* import { expand, collapse } from '@odx/angular/animations';
|
|
13
|
+
*
|
|
14
|
+
* @Component({
|
|
15
|
+
* selector: 'my-expandable-component',
|
|
16
|
+
* templateUrl: './expandable-component.html',
|
|
17
|
+
* animations: [
|
|
18
|
+
* trigger('expandCollapse', [
|
|
19
|
+
* transition('collapsed => expanded', useAnimation(expand)),
|
|
20
|
+
* transition('expanded => collapsed', useAnimation(collapse)),
|
|
21
|
+
* ])
|
|
22
|
+
* ]
|
|
23
|
+
* })
|
|
24
|
+
* export class ExpandableComponent {
|
|
25
|
+
* state = 'collapsed';
|
|
26
|
+
*
|
|
27
|
+
* toggle(): void {
|
|
28
|
+
* this.state = this.state === 'collapsed' ? 'expanded' : 'collapsed';
|
|
29
|
+
* }
|
|
30
|
+
* }
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* The animation smoothly transitions various properties (height, padding, margin, and opacity) and is controlled
|
|
34
|
+
* through parameters defined in `DEFAULT_ANIMATION_PARAMS` or those provided during usage.
|
|
35
|
+
*/
|
|
1
36
|
export declare const expand: import("@angular/animations").AnimationReferenceMetadata;
|
|
37
|
+
/**
|
|
38
|
+
* Animation for smoothly collapsing an element from its natural height to height 0.
|
|
39
|
+
* It transitions the element's height, padding, margin, and opacity from an expanded state to a collapsed state,
|
|
40
|
+
* making the element smoothly shrink out of view.
|
|
41
|
+
*
|
|
42
|
+
* The `collapse` animation also uses `DEFAULT_ANIMATION_PARAMS` for its default parameters, which can be overridden
|
|
43
|
+
* when using the animation. It's designed to be used in conjunction with the `expand` animation for creating
|
|
44
|
+
* expandable/collapsible elements.
|
|
45
|
+
*/
|
|
2
46
|
export declare const collapse: import("@angular/animations").AnimationReferenceMetadata;
|
package/animations/lib/fade.d.ts
CHANGED
|
@@ -1,2 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates a fadeIn animation with customizable opacity target.
|
|
3
|
+
* This animation gradually changes the element's opacity from 0 to a specified value, creating a "fade in" visual effect.
|
|
4
|
+
*
|
|
5
|
+
* @param {number} to - The final opacity value of the element at the end of the animation. Defaults to 1 (fully opaque).
|
|
6
|
+
* @returns {AnimationReferenceMetadata} An Angular animation object that can be used with Angular's animation system.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* // Example usage in an Angular component with a fadeIn animation
|
|
11
|
+
* import { fadeIn } from '@odx/angular/animations';
|
|
12
|
+
* import { trigger, transition, useAnimation } from '@angular/animations';
|
|
13
|
+
*
|
|
14
|
+
* @Component({
|
|
15
|
+
* selector: 'app-fade-in-example',
|
|
16
|
+
* template: `
|
|
17
|
+
* <div @fadeInAnimation *ngIf="isVisible">Fade In Content</div>
|
|
18
|
+
* <button (click)="showContent()">Show Content</button>`,
|
|
19
|
+
* animations: [
|
|
20
|
+
* trigger('fadeInAnimation', [
|
|
21
|
+
* transition(':enter', useAnimation(fadeIn(), { params: { duration: '500ms' } }))
|
|
22
|
+
* ])
|
|
23
|
+
* ]
|
|
24
|
+
* })
|
|
25
|
+
* export class FadeInExampleComponent {
|
|
26
|
+
* isVisible = false;
|
|
27
|
+
*
|
|
28
|
+
* showContent(): void {
|
|
29
|
+
* this.isVisible = true;
|
|
30
|
+
* }
|
|
31
|
+
* }
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* This example demonstrates how to apply the fadeIn animation to an element, making it smoothly appear on the screen.
|
|
35
|
+
*/
|
|
1
36
|
export declare const fadeIn: (to?: number) => import("@angular/animations").AnimationReferenceMetadata;
|
|
37
|
+
/**
|
|
38
|
+
* Generates a fadeOut animation with customizable opacity target.
|
|
39
|
+
* This animation gradually changes the element's opacity from its current value to a specified value, creating a "fade out" visual effect.
|
|
40
|
+
*
|
|
41
|
+
* @param {number} to - The target opacity value of the element at the end of the animation. Defaults to 0 (fully transparent).
|
|
42
|
+
* @returns {AnimationReferenceMetadata} An Angular animation object that can be used with Angular's animation system.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* // Example usage in an Angular component with a fadeOut animation
|
|
47
|
+
* import { fadeOut } from '@odx/angular/animations';
|
|
48
|
+
* import { trigger, transition, useAnimation } from '@angular/animations';
|
|
49
|
+
*
|
|
50
|
+
* @Component({
|
|
51
|
+
* selector: 'app-fade-out-example',
|
|
52
|
+
* template: `
|
|
53
|
+
* <div @fadeOutAnimation *ngIf="isVisible">Fade Out Content</div>
|
|
54
|
+
* <button (click)="hideContent()">Hide Content</button>`,
|
|
55
|
+
* animations: [
|
|
56
|
+
* trigger('fadeOutAnimation', [
|
|
57
|
+
* transition(':leave', useAnimation(fadeOut(), { params: { duration: '500ms' } }))
|
|
58
|
+
* ])
|
|
59
|
+
* ]
|
|
60
|
+
* })
|
|
61
|
+
* export class FadeOutExampleComponent {
|
|
62
|
+
* isVisible = true;
|
|
63
|
+
*
|
|
64
|
+
* hideContent(): void {
|
|
65
|
+
* this.isVisible = false;
|
|
66
|
+
* }
|
|
67
|
+
* }
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* This example demonstrates how to apply the fadeOut animation to an element, making it smoothly disappear from the screen.
|
|
71
|
+
*/
|
|
2
72
|
export declare const fadeOut: (to?: number) => import("@angular/animations").AnimationReferenceMetadata;
|
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
import { AnimationReferenceMetadata } from '@angular/animations';
|
|
2
|
+
/**
|
|
3
|
+
* Utility functions for creating slide-in and slide-out animations in specific directions.
|
|
4
|
+
* These include slideInX, slideInY, slideInDown, slideInUp, slideInLeft, slideInRight,
|
|
5
|
+
* slideOutX, slideOutY, slideOutDown, slideOutUp, slideOutLeft, and slideOutRight.
|
|
6
|
+
* Each function is configured for a specific slide direction and distance, making it easy to apply
|
|
7
|
+
* consistent slide animations across your application.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // Using slideInLeft and slideOutRight in a component
|
|
12
|
+
* animations: [
|
|
13
|
+
* trigger('slideInOut', [
|
|
14
|
+
* transition(':enter', [useAnimation(slideInLeft)]),
|
|
15
|
+
* transition(':leave', [useAnimation(slideOutRight)])
|
|
16
|
+
* ])
|
|
17
|
+
* ]
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* Note: The 'from' and 'to' parameters for slideIn and slideOut functions respectively
|
|
21
|
+
* can be customized for different slide distances.
|
|
22
|
+
*/
|
|
2
23
|
export declare const slideInX: (from: string) => AnimationReferenceMetadata;
|
|
3
24
|
export declare const slideInY: (from: string) => AnimationReferenceMetadata;
|
|
4
25
|
export declare const slideInDown: AnimationReferenceMetadata;
|
|
@@ -1 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility animation that waits for animations on child components to complete.
|
|
3
|
+
* This animation should be used within parent components that have child components with their
|
|
4
|
+
* own animations. It ensures that the parent's enter and leave animations are only triggered
|
|
5
|
+
* after all child animations have completed, creating a seamless animation sequence.
|
|
6
|
+
*
|
|
7
|
+
* This utility uses Angular's animation functions `query` and `animateChild` to find and animate
|
|
8
|
+
* child elements marked with Angular's animation triggers. The `{ optional: true }` parameter
|
|
9
|
+
* ensures that the animation gracefully handles cases where no child animations are defined.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* // Using waitForChildAnimations in a parent component with children that have animations
|
|
14
|
+
* import { trigger, transition, style, animate, query, animateChild } from '@angular/animations';
|
|
15
|
+
* import { waitForChildAnimations } from '@odx/angular/animations';
|
|
16
|
+
*
|
|
17
|
+
* @Component({
|
|
18
|
+
* selector: 'app-parent',
|
|
19
|
+
* templateUrl: './parent.component.html',
|
|
20
|
+
* animations: [
|
|
21
|
+
* trigger('parentAnimation', [
|
|
22
|
+
* // Define parent animations here
|
|
23
|
+
* transition(':enter', [style({ opacity: 0 }), animate('0.5s ease-in', style({ opacity: 1 }))]),
|
|
24
|
+
* transition(':leave', [animate('0.5s ease-out', style({ opacity: 0 }))]),
|
|
25
|
+
* // Use waitForChildAnimations for coordinating with child animations
|
|
26
|
+
* waitForChildAnimations
|
|
27
|
+
* ])
|
|
28
|
+
* ]
|
|
29
|
+
* })
|
|
30
|
+
* export class ParentComponent {
|
|
31
|
+
* // Component logic here
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* Note: The `waitForChildAnimations` utility is added to the parent component's animation triggers,
|
|
36
|
+
* ensuring that any child component animations are completed before continuing with the parent's
|
|
37
|
+
* own animations.
|
|
38
|
+
*/
|
|
1
39
|
export declare const waitForChildAnimations: import("@angular/animations").AnimationTransitionMetadata;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines default responsive breakpoints for the application. These breakpoints are used to
|
|
3
|
+
* apply responsive styles and behaviors across various device sizes. Each breakpoint is
|
|
4
|
+
* configured with a name, a minimum width, and a maximum width, defining the range of device
|
|
5
|
+
* sizes it targets.
|
|
6
|
+
*
|
|
7
|
+
* @constant
|
|
8
|
+
* @type {Record<string, string>}
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* // Accessing a breakpoint value
|
|
13
|
+
* console.log(DEFAULT_BREAKPOINTS['=phone']); // Outputs: "(min-width: 480px) and (max-width: 767px)"
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
1
16
|
export declare const DEFAULT_BREAKPOINTS: {
|
|
2
17
|
readonly "<desktop": string;
|
|
3
18
|
readonly "=desktop": string;
|
|
@@ -18,4 +33,27 @@ export declare const DEFAULT_BREAKPOINTS: {
|
|
|
18
33
|
export interface BreakpointsConfig {
|
|
19
34
|
breakpoints: Partial<OdxAngular.Breakpoints>;
|
|
20
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Provides Angular dependency injection tokens for accessing and configuring breakpoints
|
|
38
|
+
* within the application. This enables a type-safe and modular way to manage responsive
|
|
39
|
+
* design breakpoints across the app.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* // Providing custom breakpoints in an Angular module
|
|
44
|
+
* import { NgModule } from '@angular/core';
|
|
45
|
+
* import { provideBreakpointsConfig } from '@odx/angular/breakpoints';
|
|
46
|
+
*
|
|
47
|
+
* @NgModule({
|
|
48
|
+
* providers: [
|
|
49
|
+
* provideBreakpointsConfig({
|
|
50
|
+
* breakpoints: {
|
|
51
|
+
* ...configureBreakpoint('custom-tablet', 640, 1024),
|
|
52
|
+
* },
|
|
53
|
+
* }),
|
|
54
|
+
* ],
|
|
55
|
+
* })
|
|
56
|
+
* export class CustomModule {}
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
21
59
|
export declare const BreakpointsConfig: import("@angular/core").InjectionToken<Partial<BreakpointsConfig>>, BreakpointsDefaultConfig: BreakpointsConfig, injectBreakpointsConfig: () => BreakpointsConfig, provideBreakpointsConfig: <D extends import("@odx/angular/utils").ConfigDependencies<unknown> = import("@odx/angular/utils").ConfigDependencies<Partial<BreakpointsConfig>>>(config: import("@odx/angular/utils").ConfigProvider<Partial<BreakpointsConfig>, D>) => import("@angular/core").FactoryProvider | import("@angular/core").ValueProvider;
|
|
@@ -1,10 +1,53 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { BreakpointName } from './models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Service to observe and react to changes in viewport size based on predefined breakpoints.
|
|
6
|
+
* Utilizes Angular CDK's BreakpointObserver for listening to media query changes and integrates
|
|
7
|
+
* it with the application's custom breakpoints configuration.
|
|
8
|
+
*
|
|
9
|
+
* @Injectable({ providedIn: 'root' })
|
|
10
|
+
*/
|
|
4
11
|
export declare class BreakpointsService {
|
|
5
12
|
private readonly breakpointObserver;
|
|
6
13
|
private readonly config;
|
|
14
|
+
/**
|
|
15
|
+
* Observes the specified breakpoints and returns an Observable that emits true if any
|
|
16
|
+
* of the specified breakpoints match the current viewport size, and false otherwise.
|
|
17
|
+
*
|
|
18
|
+
* @param {BreakpointName[]} breakpoints - An array of breakpoints to observe.
|
|
19
|
+
* @returns {Observable<boolean>} - An Observable that emits true if the viewport matches the specified breakpoints.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* // Component that uses BreakpointsService to apply dynamic styles based on breakpoints
|
|
24
|
+
* @Component({
|
|
25
|
+
* selector: 'app-responsive-component',
|
|
26
|
+
* templateUrl: './responsive-component.component.html',
|
|
27
|
+
* })
|
|
28
|
+
* export class ResponsiveComponent {
|
|
29
|
+
* isMobile$: Observable<boolean>;
|
|
30
|
+
*
|
|
31
|
+
* constructor(private breakpointsService: BreakpointsService) {
|
|
32
|
+
* this.isMobile$ = this.breakpointsService.observe(['phone', 'tablet']);
|
|
33
|
+
* }
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
7
37
|
observe(breakpoints: BreakpointName[]): Observable<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* Checks if any of the specified breakpoints match the current viewport size.
|
|
40
|
+
*
|
|
41
|
+
* @param {BreakpointName[]} breakpoints - An array of breakpoints to check.
|
|
42
|
+
* @returns {boolean} - Returns true if the viewport matches the specified breakpoints, false otherwise.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* // Checking if the current viewport matches the 'desktop' breakpoint
|
|
47
|
+
* const isDesktop = this.breakpointsService.matches(['desktop']);
|
|
48
|
+
* console.log(`Is desktop view? ${isDesktop}`);
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
8
51
|
matches(breakpoints: BreakpointName[]): boolean;
|
|
9
52
|
private getMediaQueries;
|
|
10
53
|
private createBreakpointObserver;
|
|
@@ -1,13 +1,49 @@
|
|
|
1
1
|
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { BreakpointName } from '../models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* A structural directive that conditionally includes an Angular template based on whether the viewport matches
|
|
6
|
+
* specified breakpoints. It leverages the BreakpointsService to observe changes in viewport size and apply
|
|
7
|
+
* the appropriate template.
|
|
8
|
+
*
|
|
9
|
+
* @Directive
|
|
10
|
+
* @param {BreakpointsService} breakpointsService - Injects BreakpointsService to observe breakpoint changes.
|
|
11
|
+
* @param {TemplateRef} template - Injects the Angular template to render when breakpoints match.
|
|
12
|
+
* @param {ViewContainerRef} viewContainer - Injects the container where the template will be rendered.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```html
|
|
16
|
+
* // Usage in a component template to conditionally display content based on breakpoints
|
|
17
|
+
* // Assume 'mobile' and 'tablet' are defined breakpoints
|
|
18
|
+
* <ng-template [odxMatchBreakpoints]="['mobile', 'tablet']">
|
|
19
|
+
* Content to display on mobile and tablet sizes.
|
|
20
|
+
* </ng-template>
|
|
21
|
+
* <ng-template [odxMatchBreakpoints]="['desktop']" [odxMatchBreakpointsElse]="elseTemplate">
|
|
22
|
+
* Content to display on desktop size.
|
|
23
|
+
* </ng-template>
|
|
24
|
+
* <ng-template #elseTemplate>
|
|
25
|
+
* Content to display when not on desktop size.
|
|
26
|
+
* </ng-template>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
4
29
|
export declare class MatchBreakpointsDirective implements OnInit {
|
|
5
30
|
private readonly breakpoints$$;
|
|
6
31
|
private readonly breakpointsService;
|
|
7
32
|
private readonly takeUntilDestroyed;
|
|
8
33
|
private readonly template;
|
|
9
34
|
private readonly viewContainer;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the breakpoints to observe. The directive's content is displayed if the current viewport matches
|
|
37
|
+
* any of the specified breakpoints.
|
|
38
|
+
*
|
|
39
|
+
* @param {BreakpointName | BreakpointName[]} value - The breakpoint(s) to match against the current viewport size.
|
|
40
|
+
*/
|
|
10
41
|
set breakpoints(value: BreakpointName | BreakpointName[] | null | undefined);
|
|
42
|
+
/**
|
|
43
|
+
* Optionally specifies a template to render when the viewport does not match the specified breakpoints.
|
|
44
|
+
*
|
|
45
|
+
* @param {TemplateRef<unknown>} elseTemplate - The template to render when the viewport does not match the breakpoints.
|
|
46
|
+
*/
|
|
11
47
|
elseTemplate?: TemplateRef<unknown> | null;
|
|
12
48
|
ngOnInit(): void;
|
|
13
49
|
private render;
|
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
type BreakpointOperators = '<' | '=' | '>';
|
|
2
2
|
type BreakpointConfig<T extends string> = Record<`${BreakpointOperators}${T}`, string>;
|
|
3
|
+
/**
|
|
4
|
+
* Generates a configuration object containing CSS media query strings for a named breakpoint.
|
|
5
|
+
* The function creates media queries for three scenarios: below (`<`), exactly (`=`), and above (`>`) the specified breakpoint.
|
|
6
|
+
*
|
|
7
|
+
* @template T - The string literal type representing the name of the breakpoint.
|
|
8
|
+
* @param {T} name - The name of the breakpoint (e.g., 'md' for medium).
|
|
9
|
+
* @param {number} min - The minimum width (inclusive) where the breakpoint starts.
|
|
10
|
+
* @param {number} max - The maximum width (exclusive) where the breakpoint ends.
|
|
11
|
+
* @returns {BreakpointConfig<T>} An object containing media query strings for targeting screen sizes relative to the breakpoint.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* // Define a medium (md) breakpoint
|
|
16
|
+
* const mdBreakpoint = configureBreakpoint('md', 768, 1024);
|
|
17
|
+
* console.log(mdBreakpoint['<md']); // Outputs: "(max-width: 767px)"
|
|
18
|
+
* console.log(mdBreakpoint['=md']); // Outputs: "(min-width: 768px) and (max-width: 1023px)"
|
|
19
|
+
* console.log(mdBreakpoint['>md']); // Outputs: "(min-width: 768px)"
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
3
22
|
export declare function configureBreakpoint<T extends string>(name: T, min: number, max: number): BreakpointConfig<T>;
|
|
4
23
|
export {};
|
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@odx/angular";
|
|
4
|
+
/**
|
|
5
|
+
* Directive that makes an element interactive, responding to click, Enter key, and Space key events.
|
|
6
|
+
* It automatically handles the disabled state through `DisabledController`, inhibiting interactions when disabled.
|
|
7
|
+
* This directive can be useful for creating custom buttons or interactive elements that are not natively interactive,
|
|
8
|
+
* such as divs or custom components.
|
|
9
|
+
*
|
|
10
|
+
* @Directive
|
|
11
|
+
* @CSSComponent cdk-interactive - A CSS Component class that can be targeted for styling interactive elements.
|
|
12
|
+
* @selector '[odxCdkInteractive]' - Applies this directive to any element with the 'odxCdkInteractive' attribute.
|
|
13
|
+
* @hostDirectives {WithDisabledState, WithTabIndex} - Applies disabled state and tab index handling.
|
|
14
|
+
* @host role='button' - Assigns a role of 'button' to the host element for accessibility.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* Applying the directive to a div element to make it interactive:
|
|
18
|
+
* ```html
|
|
19
|
+
* <div odxCdkInteractive (odxCdkInteractive)="onInteract($event)">
|
|
20
|
+
* Click or press Enter/Space to interact
|
|
21
|
+
* </div>
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* Using the directive on a custom Angular component
|
|
26
|
+
* ```html
|
|
27
|
+
* <app-custom-button odxCdkInteractive (odxCdkInteractive)="onCustomButtonInteract($event)">
|
|
28
|
+
* </app-custom-button>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
4
31
|
export declare class InteractiveDirective {
|
|
5
32
|
private readonly disabledController;
|
|
6
33
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
34
|
+
/**
|
|
35
|
+
* Emits an event when the element is interacted with via click, Enter key, or Space key.
|
|
36
|
+
*
|
|
37
|
+
* @emits {MouseEvent | KeyboardEvent} - The event that triggered the interaction.
|
|
38
|
+
*/
|
|
7
39
|
interact: EventEmitter<MouseEvent | KeyboardEvent>;
|
|
8
40
|
protected handleEvents(event: MouseEvent | KeyboardEvent): void;
|
|
9
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveDirective, never>;
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { FocusableOption } from '@angular/cdk/a11y';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Directive to make an element focusable as part of a list, integrating with Angular CDK's FocusKeyManager.
|
|
5
|
+
* It listens to the disabled state controlled by `DisabledController` to manage focus correctly based on
|
|
6
|
+
* the enabled state of the element.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* In a component template, apply this directive to list items that should be focusable and managed by a FocusKeyManager:
|
|
10
|
+
* ```html
|
|
11
|
+
* <li odxListFocusManagerOption *ngFor="let item of items">
|
|
12
|
+
* {{ item }}
|
|
13
|
+
* </li>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
3
16
|
export declare class ListFocusManagerOptionDirective implements FocusableOption {
|
|
4
17
|
private readonly disabledController;
|
|
5
18
|
private readonly element;
|
|
19
|
+
/**
|
|
20
|
+
* Reflects the disabled state of the element, managed by `DisabledController`.
|
|
21
|
+
* If disabled, the element is not focusable.
|
|
22
|
+
*
|
|
23
|
+
* @returns {boolean} True if the directive's host element is disabled.
|
|
24
|
+
*/
|
|
6
25
|
get disabled(): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Focuses the host element. If the element is disabled, it will not be focused.
|
|
28
|
+
*/
|
|
7
29
|
focus(): void;
|
|
8
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListFocusManagerOptionDirective, never>;
|
|
9
31
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ListFocusManagerOptionDirective, "[odxListFocusManagerOption]", never, {}, {}, never, never, true, never>;
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
import { AfterContentInit, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { ListFocusManagerOptionDirective } from './list-focus-manager-option.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Directive that sets up keyboard navigation for a list or a group of focusable elements.
|
|
6
|
+
* Utilizes `FocusKeyManager` from Angular CDK to manage focus among items.
|
|
7
|
+
* It automatically skips disabled items and wraps around when navigating past the first or last item.
|
|
8
|
+
* Handles keydown events to navigate through the focusable options.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* In a component template, use this directive on a container element and `odxListFocusManagerOption`
|
|
12
|
+
* on each focusable list item:
|
|
13
|
+
* ```html
|
|
14
|
+
* <ul odxListFocusManager>
|
|
15
|
+
* <li odxListFocusManagerOption *ngFor="let item of items">
|
|
16
|
+
* {{ item }}
|
|
17
|
+
* </li>
|
|
18
|
+
* </ul>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
4
21
|
export declare class ListFocusManagerDirective implements AfterContentInit, OnDestroy {
|
|
5
22
|
private keyManager;
|
|
6
23
|
protected options: QueryList<ListFocusManagerOptionDirective>;
|
|
@@ -3,16 +3,79 @@ import { NgChanges } from '@odx/angular/utils';
|
|
|
3
3
|
import { ActiveIndicatorPosition } from './models';
|
|
4
4
|
import { ActiveIndicatorDirection } from './models/active-indicator-direction';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* `ActiveIndicatorDirective` is designed to adjust an indicator's position and size dynamically to highlight
|
|
8
|
+
* the active element within a container. It's useful for tabs, menus, or any list where an active state is visually represented.
|
|
9
|
+
* The directive can be customized to align the indicator based on the active element's position and supports
|
|
10
|
+
* both horizontal and vertical orientations.
|
|
11
|
+
*
|
|
12
|
+
* To use this directive, apply it to the element you want to use as an active indicator.
|
|
13
|
+
* Then, bind the active element using the `odxActiveIndicator` input. Optionally, specify
|
|
14
|
+
* the container element with `odxActiveIndicatorParent` if the container is not the immediate parent of the indicator.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```html
|
|
18
|
+
* <div class="tabs-container" #tabsContainer>
|
|
19
|
+
* <div class="tab" *ngFor="let tab of tabs" [class.active]="tab.isActive" #tabElement>{{ tab.label }}</div>
|
|
20
|
+
* <div class="indicator" [odxActiveIndicator]="activeTabElement" [odxActiveIndicatorParent]="tabsContainer"></div>
|
|
21
|
+
* </div>
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ```ts
|
|
25
|
+
* @Component({
|
|
26
|
+
* selector: 'app-tabs',
|
|
27
|
+
* templateUrl: './tabs.component.html',
|
|
28
|
+
* imports: [ActiveIndicatorDirective, NgForOf],
|
|
29
|
+
* })
|
|
30
|
+
* export class TabsComponent {
|
|
31
|
+
* tabs = [{ label: 'Tab 1', isActive: true }, { label: 'Tab 2', isActive: false }];
|
|
32
|
+
* @ViewChildren('tabElement') tabElements?: QueryList<ElementRef>;
|
|
33
|
+
* @ViewChild('tabsContainer') tabsContainer!: ElementRef;
|
|
34
|
+
*
|
|
35
|
+
* get activeTabElement(): HTMLElement {
|
|
36
|
+
* const activeTab = this.tabElements?.find((tab) => tab.nativeElement.classList.contains('active'));
|
|
37
|
+
* return activeTab ? activeTab.nativeElement : null;
|
|
38
|
+
* }
|
|
39
|
+
* }
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
6
42
|
export declare class ActiveIndicatorDirective implements OnChanges, AfterViewInit {
|
|
7
43
|
private readonly takeUntilDestroyed;
|
|
8
44
|
private readonly parentElement$$;
|
|
9
45
|
private readonly onResize$;
|
|
10
46
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
47
|
+
/**
|
|
48
|
+
* Indicates whether the element is active or not.
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
*/
|
|
11
52
|
isActive: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The currently active element to which the indicator should align.
|
|
55
|
+
* It dynamically updates the indicator's position and size based on this element.
|
|
56
|
+
*
|
|
57
|
+
* @type {HTMLElement | null}
|
|
58
|
+
*/
|
|
12
59
|
activeElement?: HTMLElement | null;
|
|
60
|
+
/**
|
|
61
|
+
* The parent container element of the active elements.
|
|
62
|
+
* If not set, the indicator's immediate parent element is used.
|
|
63
|
+
*
|
|
64
|
+
* @type {HTMLElement | null}
|
|
65
|
+
*/
|
|
13
66
|
set parent(value: HTMLElement | null);
|
|
14
67
|
get parent(): HTMLElement | null;
|
|
68
|
+
/**
|
|
69
|
+
* The direction in which the indicator should move.
|
|
70
|
+
*
|
|
71
|
+
* @type {ActiveIndicatorDirection}
|
|
72
|
+
*/
|
|
15
73
|
direction: ActiveIndicatorDirection;
|
|
74
|
+
/**
|
|
75
|
+
* The position of the indicator relative to the active element.
|
|
76
|
+
*
|
|
77
|
+
* @type {ActiveIndicatorPosition}
|
|
78
|
+
*/
|
|
16
79
|
position: ActiveIndicatorPosition;
|
|
17
80
|
ngAfterViewInit(): void;
|
|
18
81
|
ngOnChanges(changes: NgChanges<ActiveIndicatorDirective>): void;
|
|
@@ -6,6 +6,21 @@ import { OptionControl } from '@odx/angular/cdk/option-control';
|
|
|
6
6
|
import { DropdownDirective } from '@odx/angular/components/dropdown';
|
|
7
7
|
import { FormFieldComponent } from '@odx/angular/components/form-field';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* `AutocompleteControl` is a base directive to enhance an input field with autocomplete functionality,
|
|
11
|
+
* providing keyboard navigation and selection for options displayed in a dropdown. It's designed to be extended
|
|
12
|
+
* for specific implementations.
|
|
13
|
+
* Extends `CustomFormControl` to provide form control behavior and state management.
|
|
14
|
+
*
|
|
15
|
+
* @see {CustomFormControl}
|
|
16
|
+
*
|
|
17
|
+
* This directive manages the open/close state of the dropdown, the loading state indication, and the interaction between
|
|
18
|
+
* the autocomplete input and the dropdown options. It utilizes `ActiveDescendantKeyManager` for keyboard navigation among options.
|
|
19
|
+
*
|
|
20
|
+
* Extend this directive to create a fully functional autocomplete control tailored to your data type and UI requirements.
|
|
21
|
+
*
|
|
22
|
+
* @template T - The type of the items displayed in the autocomplete dropdown.
|
|
23
|
+
*/
|
|
9
24
|
export declare abstract class AutocompleteControl<T> extends CustomFormControl<T | null> implements AfterViewInit {
|
|
10
25
|
protected abstract readonly options?: QueryList<OptionControl<T>>;
|
|
11
26
|
protected readonly changeDetector: ChangeDetectorRef;
|
|
@@ -20,10 +35,48 @@ export declare abstract class AutocompleteControl<T> extends CustomFormControl<T
|
|
|
20
35
|
get hasOptions(): boolean;
|
|
21
36
|
get isOpen(): boolean;
|
|
22
37
|
isLoading: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* A function that converts an item of type T to a string representation.
|
|
40
|
+
* Used by the AutocompleteControl component to display the selected item.
|
|
41
|
+
*
|
|
42
|
+
* @type {StringifyFn<T>}
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* // Define a stringify function for a custom type Person
|
|
47
|
+
* const stringifyPerson: StringifyFn<Person> = (person) => `${person.firstName} ${person.lastName}`;
|
|
48
|
+
*
|
|
49
|
+
* // Assign the stringify function to the AutocompleteControl
|
|
50
|
+
* autocompleteControl.stringify = stringifyPerson;
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
23
53
|
stringify?: StringifyFn<T>;
|
|
54
|
+
/**
|
|
55
|
+
* Emits the selected option when an option is selected from the dropdown.
|
|
56
|
+
*
|
|
57
|
+
* @emits {T} - The selected option.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* autocompleteControl.optionSelected.subscribe((selectedOption) => {
|
|
62
|
+
* console.log('Selected option:', selectedOption);
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
24
66
|
optionSelected: EventEmitter<T>;
|
|
25
67
|
constructor();
|
|
26
68
|
ngAfterViewInit(): void;
|
|
69
|
+
/**
|
|
70
|
+
* Scrolls the specified option element into view.
|
|
71
|
+
* @param {OptionControl<T>} option - The option control containing the element to scroll into view.
|
|
72
|
+
* @returns {void}
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```ts
|
|
76
|
+
* const optionControl: OptionControl<string> = { element: myOptionElement };
|
|
77
|
+
* scrollOptionIntoView(optionControl);
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
27
80
|
scrollOptionIntoView({ element }: OptionControl<T>): void;
|
|
28
81
|
protected abstract handleQueryListOption(options: QueryList<OptionControl<T>>): void;
|
|
29
82
|
protected abstract handleSearchFieldChanges(): void;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* `CheckBoxControl` is a directive that extends `CustomFormControl` to create a custom checkbox control. It integrates seamlessly with Angular forms and provides additional events and bindings for enhanced functionality.
|
|
6
|
+
*/
|
|
4
7
|
export declare class CheckBoxControl extends CustomFormControl<boolean> {
|
|
5
8
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
6
9
|
set checked(value: boolean);
|