@odx/angular 5.7.4 → 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 +17 -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 +41 -93
- 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 -9
- package/components/calendar/lib/directives/calendar-view.directive.d.ts +41 -9
- package/components/calendar/lib/pipes/date-label.pipe.d.ts +12 -21
- 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 +2 -2
- 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 -12
- 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 +9 -3
- package/esm2022/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +9 -3
- package/esm2022/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +9 -3
- package/esm2022/components/calendar/lib/daterange.service.mjs +17 -1
- package/esm2022/components/calendar/lib/directives/calendar-cell.directive.mjs +27 -2
- package/esm2022/components/calendar/lib/directives/calendar-view.directive.mjs +39 -1
- package/esm2022/components/calendar/lib/pipes/date-label.pipe.mjs +27 -9
- 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 +11 -8
- 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/lib/helpers/fast-equals.mjs +3 -0
- package/esm2022/internal/lib/helpers/index.mjs +2 -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 +73 -5
- package/esm2022/localization/lib/localization.logger.mjs +3 -0
- package/esm2022/localization/lib/localization.service.mjs +59 -29
- 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 +270 -33
- 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-internal.mjs +4 -1
- package/fesm2022/odx-angular-internal.mjs.map +1 -1
- package/fesm2022/odx-angular-localization.mjs +269 -32
- 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/fast-equals.d.ts +1 -0
- package/internal/lib/helpers/index.d.ts +1 -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 -2
- package/localization/lib/localization.logger.d.ts +3 -0
- package/localization/lib/localization.service.d.ts +42 -7
- package/package.json +8 -7
- 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,9 +1,24 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a button group component.
|
|
4
|
+
*/
|
|
2
5
|
export declare class ButtonGroupComponent {
|
|
3
6
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies whether the buttons in the button group should be aligned to the right.
|
|
9
|
+
*/
|
|
4
10
|
alignRight: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Specifies whether the button group should be displayed as a block element.
|
|
13
|
+
*/
|
|
5
14
|
block: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies whether the buttons should be displayed vertically.
|
|
17
|
+
*/
|
|
6
18
|
vertical: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Indicates whether the button group should be displayed in reverse order.
|
|
21
|
+
*/
|
|
7
22
|
reverse: boolean;
|
|
8
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
9
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "odx-button-group", never, { "alignRight": { "alias": "alignRight"; "required": false; }; "block": { "alias": "block"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; }, {}, never, ["button[odxButton], a[odxButton]"], true, never>;
|
|
@@ -4,18 +4,66 @@ import { CalendarService } from './calendar.service';
|
|
|
4
4
|
import { DaterangeService } from './daterange.service';
|
|
5
5
|
import { CalendarView, DateFilter, DateRange, DateType, DateTypeRange } from './models';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* A component for selecting a date or date range. It provides a calendar interface for selecting dates and date ranges,
|
|
9
|
+
* and supports various configuration options for customizing the appearance and behavior of the calendar.
|
|
10
|
+
*/
|
|
7
11
|
export declare class CalendarComponent implements OnChanges {
|
|
8
12
|
private readonly config;
|
|
9
13
|
protected readonly calendar: CalendarService;
|
|
10
14
|
protected readonly daterange: DaterangeService;
|
|
11
15
|
protected readonly CalendarView: typeof CalendarView;
|
|
12
16
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
17
|
+
/**
|
|
18
|
+
* Represents the selected date in the calendar component.
|
|
19
|
+
* It can be of type `DateType` or `null` if no date is selected.
|
|
20
|
+
*
|
|
21
|
+
* @type {DateType | null}
|
|
22
|
+
*/
|
|
13
23
|
selectedDate: DateType | null;
|
|
24
|
+
/**
|
|
25
|
+
* Represents the selected date range in the calendar component.
|
|
26
|
+
* It can be of type `DateTypeRange` or `null` if no date range is selected.
|
|
27
|
+
*
|
|
28
|
+
* @type {DateTypeRange | null}
|
|
29
|
+
*/
|
|
14
30
|
selectedDateRange?: DateTypeRange | null;
|
|
15
31
|
minDate?: Date | null;
|
|
32
|
+
/**
|
|
33
|
+
* The maximum selectable date for the calendar component.
|
|
34
|
+
* If set to null, there is no maximum date restriction.
|
|
35
|
+
*
|
|
36
|
+
* @type {Date | null}
|
|
37
|
+
*/
|
|
16
38
|
maxDate?: Date | null;
|
|
39
|
+
/**
|
|
40
|
+
* The filter function used to determine which dates are selectable in the calendar.
|
|
41
|
+
* If set to `null`, all dates will be selectable.
|
|
42
|
+
*
|
|
43
|
+
* @type {DateFilter | null}
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* // Filter out weekends
|
|
48
|
+
* const filterFn: DateFilter = (date) => date.getDay() !== 0 && date.getDay() !== 6;
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
17
51
|
filterFn?: DateFilter | null;
|
|
52
|
+
/**
|
|
53
|
+
* Emits an event whenever the selected date changes.
|
|
54
|
+
* The event payload is either a Date object representing the selected date or null
|
|
55
|
+
* if no date is selected.
|
|
56
|
+
*
|
|
57
|
+
* @emits {Date | null}
|
|
58
|
+
*/
|
|
18
59
|
selectedDateChange: EventEmitter<Date | null>;
|
|
60
|
+
/**
|
|
61
|
+
* Emits an event whenever the selected date range changes.
|
|
62
|
+
* The event payload is either a DateRange object representing the selected date range
|
|
63
|
+
* or null if no date range is selected.
|
|
64
|
+
*
|
|
65
|
+
* @emits {DateRange | null}
|
|
66
|
+
*/
|
|
19
67
|
selectedDateRangeChange: EventEmitter<DateRange | null>;
|
|
20
68
|
constructor();
|
|
21
69
|
ngOnChanges(changes: NgChanges<CalendarComponent>): void;
|
|
@@ -1,81 +1,65 @@
|
|
|
1
|
-
import { Locale } from 'date-fns';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
1
|
import { CalendarSelectionMode } from './models/selection-mode';
|
|
4
2
|
export interface CalendarConfig {
|
|
5
3
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @default
|
|
8
|
-
*/
|
|
9
|
-
monthYearLabel: string;
|
|
10
|
-
/**
|
|
11
|
-
* Pattern by which month label is transformed
|
|
12
|
-
* @default 'LLL'
|
|
13
|
-
*/
|
|
14
|
-
monthLabel: string;
|
|
15
|
-
/**
|
|
16
|
-
* Pattern by which week label is transformed
|
|
17
|
-
* @default 'EEEEE'
|
|
18
|
-
*/
|
|
19
|
-
weekLabel: string;
|
|
20
|
-
/**
|
|
21
|
-
* Pattern by which day label is transformed
|
|
22
|
-
* @default 'd'
|
|
23
|
-
*/
|
|
24
|
-
dayLabel: string;
|
|
25
|
-
/**
|
|
26
|
-
* Pattern by which Year label is transformed
|
|
27
|
-
* @default 'yyyy'
|
|
28
|
-
*/
|
|
29
|
-
yearLabel: string;
|
|
30
|
-
/**
|
|
31
|
-
* Pattern by which A11y day label is transformed
|
|
32
|
-
* @default 'MMMM dd, yyyy'
|
|
4
|
+
* Displays the adjacent days in month calendar view.
|
|
5
|
+
* @default true
|
|
33
6
|
*/
|
|
34
|
-
|
|
7
|
+
displayAdjacentDays: boolean;
|
|
35
8
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @default
|
|
9
|
+
* Switches between single selection and a daterange selection.
|
|
10
|
+
* @default CalendarSelectionMode.Date
|
|
38
11
|
*/
|
|
39
|
-
|
|
12
|
+
selectionMode: CalendarSelectionMode;
|
|
40
13
|
/**
|
|
41
|
-
*
|
|
42
|
-
* @
|
|
14
|
+
* Configuration for the year view.
|
|
15
|
+
* @typedef {Object} YearViewConfig
|
|
16
|
+
* @property {number} itemsPerRow - Number of items to display per row in the year view.
|
|
17
|
+
* @default 3
|
|
43
18
|
*/
|
|
44
|
-
yearA11yLabel: string;
|
|
45
19
|
/**
|
|
46
|
-
*
|
|
47
|
-
* @
|
|
20
|
+
* Configuration options for the calendar's year view.
|
|
21
|
+
* @type {YearViewConfig}
|
|
48
22
|
*/
|
|
49
|
-
|
|
23
|
+
yearView: {
|
|
24
|
+
itemsPerRow: number;
|
|
25
|
+
};
|
|
50
26
|
/**
|
|
51
|
-
*
|
|
52
|
-
* @
|
|
27
|
+
* Configuration for the years view.
|
|
28
|
+
* @typedef {Object} YearsViewConfig
|
|
29
|
+
* @property {number} itemsPerRow - Number of items to display per row in the years view.
|
|
30
|
+
* @property {number} [padding=100] - The number of year items before and after the current year
|
|
31
|
+
* @default
|
|
32
|
+
* itemsPerRow: 3,
|
|
33
|
+
* padding: 100
|
|
53
34
|
*/
|
|
54
|
-
locale: BehaviorSubject<Locale>;
|
|
55
35
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @
|
|
36
|
+
* Configuration options for the calendar's years view.
|
|
37
|
+
* @type {YearsViewConfig}
|
|
58
38
|
*/
|
|
59
|
-
selectionMode: CalendarSelectionMode;
|
|
60
|
-
yearView: {
|
|
61
|
-
itemsPerRow: number;
|
|
62
|
-
};
|
|
63
39
|
yearsView: {
|
|
64
40
|
itemsPerRow: number;
|
|
65
41
|
padding: number;
|
|
66
42
|
};
|
|
67
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Tools for customizing configuration for the calendar component
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* @Component({
|
|
50
|
+
* ...
|
|
51
|
+
* providers: [provideCalendarConfig({ selectionMode: CalendarSelectionMode.DateRange, locale: new BehaviorSubject<Locale>(deDE)})]
|
|
52
|
+
* })
|
|
53
|
+
* export class MyDateRangepickerComponent {}
|
|
54
|
+
* ````
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* constructor(@Inject(CalendarConfig) private readonly calendarConfig: CalendarConfig) {}
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
68
61
|
export declare const CalendarConfig: import("@angular/core").InjectionToken<Partial<{
|
|
69
|
-
monthYearLabel: string;
|
|
70
|
-
monthLabel: string;
|
|
71
|
-
weekLabel: string;
|
|
72
|
-
dayLabel: string;
|
|
73
|
-
yearLabel: string;
|
|
74
|
-
dayA11yLabel: string;
|
|
75
|
-
monthA11yLabel: string;
|
|
76
|
-
yearA11yLabel: string;
|
|
77
62
|
displayAdjacentDays: boolean;
|
|
78
|
-
locale: BehaviorSubject<Locale>;
|
|
79
63
|
selectionMode: CalendarSelectionMode;
|
|
80
64
|
yearView: {
|
|
81
65
|
itemsPerRow: number;
|
|
@@ -85,16 +69,7 @@ export declare const CalendarConfig: import("@angular/core").InjectionToken<Part
|
|
|
85
69
|
padding: number;
|
|
86
70
|
};
|
|
87
71
|
}>>, CalendarDefaultConfig: {
|
|
88
|
-
monthYearLabel: string;
|
|
89
|
-
monthLabel: string;
|
|
90
|
-
weekLabel: string;
|
|
91
|
-
dayLabel: string;
|
|
92
|
-
yearLabel: string;
|
|
93
|
-
dayA11yLabel: string;
|
|
94
|
-
monthA11yLabel: string;
|
|
95
|
-
yearA11yLabel: string;
|
|
96
72
|
displayAdjacentDays: boolean;
|
|
97
|
-
locale: BehaviorSubject<Locale>;
|
|
98
73
|
selectionMode: CalendarSelectionMode;
|
|
99
74
|
yearView: {
|
|
100
75
|
itemsPerRow: number;
|
|
@@ -104,16 +79,7 @@ export declare const CalendarConfig: import("@angular/core").InjectionToken<Part
|
|
|
104
79
|
padding: number;
|
|
105
80
|
};
|
|
106
81
|
}, injectCalendarConfig: () => {
|
|
107
|
-
monthYearLabel: string;
|
|
108
|
-
monthLabel: string;
|
|
109
|
-
weekLabel: string;
|
|
110
|
-
dayLabel: string;
|
|
111
|
-
yearLabel: string;
|
|
112
|
-
dayA11yLabel: string;
|
|
113
|
-
monthA11yLabel: string;
|
|
114
|
-
yearA11yLabel: string;
|
|
115
82
|
displayAdjacentDays: boolean;
|
|
116
|
-
locale: BehaviorSubject<Locale>;
|
|
117
83
|
selectionMode: CalendarSelectionMode;
|
|
118
84
|
yearView: {
|
|
119
85
|
itemsPerRow: number;
|
|
@@ -123,16 +89,7 @@ export declare const CalendarConfig: import("@angular/core").InjectionToken<Part
|
|
|
123
89
|
padding: number;
|
|
124
90
|
};
|
|
125
91
|
}, provideCalendarConfig: <D extends import("@odx/angular/utils").ConfigDependencies<unknown> = import("@odx/angular/utils").ConfigDependencies<Partial<{
|
|
126
|
-
monthYearLabel: string;
|
|
127
|
-
monthLabel: string;
|
|
128
|
-
weekLabel: string;
|
|
129
|
-
dayLabel: string;
|
|
130
|
-
yearLabel: string;
|
|
131
|
-
dayA11yLabel: string;
|
|
132
|
-
monthA11yLabel: string;
|
|
133
|
-
yearA11yLabel: string;
|
|
134
92
|
displayAdjacentDays: boolean;
|
|
135
|
-
locale: BehaviorSubject<Locale>;
|
|
136
93
|
selectionMode: CalendarSelectionMode;
|
|
137
94
|
yearView: {
|
|
138
95
|
itemsPerRow: number;
|
|
@@ -142,16 +99,7 @@ export declare const CalendarConfig: import("@angular/core").InjectionToken<Part
|
|
|
142
99
|
padding: number;
|
|
143
100
|
};
|
|
144
101
|
}>>>(config: import("@odx/angular/utils").ConfigProvider<Partial<{
|
|
145
|
-
monthYearLabel: string;
|
|
146
|
-
monthLabel: string;
|
|
147
|
-
weekLabel: string;
|
|
148
|
-
dayLabel: string;
|
|
149
|
-
yearLabel: string;
|
|
150
|
-
dayA11yLabel: string;
|
|
151
|
-
monthA11yLabel: string;
|
|
152
|
-
yearA11yLabel: string;
|
|
153
102
|
displayAdjacentDays: boolean;
|
|
154
|
-
locale: BehaviorSubject<Locale>;
|
|
155
103
|
selectionMode: CalendarSelectionMode;
|
|
156
104
|
yearView: {
|
|
157
105
|
itemsPerRow: number;
|
|
@@ -1,20 +1,68 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { CalendarView, DateSelectEvent, DateSelectOptions, DateType } from './models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Manages the state and functionality related to a calendar, such as tracking the active date,
|
|
6
|
+
* hovered date, current calendar view, and handling date selections. It provides observable streams
|
|
7
|
+
* that components can subscribe to in order to react to changes in the calendar's state.
|
|
8
|
+
*/
|
|
4
9
|
export declare class CalendarService {
|
|
5
10
|
private readonly activeDate$$;
|
|
6
11
|
private readonly hoveredDate$$;
|
|
7
12
|
private readonly calendarView$$;
|
|
8
13
|
private readonly dateSelectEvents$$;
|
|
14
|
+
/**
|
|
15
|
+
* Emits the currently selected date to external subscribers, particularly useful for two-way binding.
|
|
16
|
+
*/
|
|
9
17
|
readonly outputDate$: EventEmitter<Date | null>;
|
|
18
|
+
/**
|
|
19
|
+
* An observable of the current calendar view state, allowing subscribers to adjust UI components
|
|
20
|
+
* based on the view (e.g., month, year, multi-year).
|
|
21
|
+
*/
|
|
10
22
|
readonly calendarView$: import("rxjs").Observable<CalendarView>;
|
|
23
|
+
/**
|
|
24
|
+
* Streams date select events which include the selected date and any associated options.
|
|
25
|
+
*/
|
|
11
26
|
readonly dateSelectEvents$: import("rxjs").Observable<DateSelectEvent>;
|
|
27
|
+
/**
|
|
28
|
+
* Streams the last selected date, enabling components to update based on the latest date selection.
|
|
29
|
+
*/
|
|
12
30
|
readonly selectedDate$: import("rxjs").Observable<Date | null>;
|
|
31
|
+
/**
|
|
32
|
+
* Streams the active date which reflects the date that is being focused, either through UI interactions
|
|
33
|
+
* like clicking or using arrow keys.
|
|
34
|
+
*/
|
|
13
35
|
readonly activeDate$: import("rxjs").Observable<Date>;
|
|
36
|
+
/**
|
|
37
|
+
* Combines streams of active and hovered dates to provide a merged view of preview dates.
|
|
38
|
+
*/
|
|
14
39
|
readonly previewDate$: import("rxjs").Observable<Date>;
|
|
40
|
+
/**
|
|
41
|
+
* Updates the active date state with a new date, parsed from various input types.
|
|
42
|
+
*
|
|
43
|
+
* @param {DateType | null} value - The new date or null to clear the active date.
|
|
44
|
+
*/
|
|
15
45
|
setActiveDate(value: DateType | null): void;
|
|
46
|
+
/**
|
|
47
|
+
* Sets a date as hovered, which can be used to preview date ranges or effects in the UI.
|
|
48
|
+
*
|
|
49
|
+
* @param {DateType | null} value - The date being hovered or null to clear the hovered state.
|
|
50
|
+
*/
|
|
16
51
|
setHoveredDate(value: DateType | null): void;
|
|
52
|
+
/**
|
|
53
|
+
* Selects a date and updates relevant states and options. Can emit the selected date externally
|
|
54
|
+
* if specified in the options.
|
|
55
|
+
*
|
|
56
|
+
* @param {DateType | null} value - The date to select.
|
|
57
|
+
* @param {DateSelectOptions} [options] - Optional settings for the date selection, such as whether
|
|
58
|
+
* to emit the date change externally.
|
|
59
|
+
*/
|
|
17
60
|
selectDate(value: DateType | null, options?: DateSelectOptions): void;
|
|
61
|
+
/**
|
|
62
|
+
* Changes the calendar view to the specified view, updating the internal state and notifying subscribers.
|
|
63
|
+
*
|
|
64
|
+
* @param {CalendarView} view - The new view to set for the calendar.
|
|
65
|
+
*/
|
|
18
66
|
changeView(view: CalendarView): void;
|
|
19
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
|
|
20
68
|
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
|
|
@@ -2,16 +2,40 @@ import { EventEmitter, OnChanges } from '@angular/core';
|
|
|
2
2
|
import { NgChanges } from '@odx/angular/utils';
|
|
3
3
|
import { CalendarView } from '../../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Represents the header component of the calendar.
|
|
7
|
+
*/
|
|
5
8
|
export declare class CalendarHeaderComponent implements OnChanges {
|
|
6
9
|
protected isPreviousDisabled: boolean;
|
|
7
10
|
protected isNextDisabled: boolean;
|
|
8
11
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
12
|
+
/**
|
|
13
|
+
* The active date of the calendar.
|
|
14
|
+
*/
|
|
9
15
|
activeDate: Date;
|
|
16
|
+
/**
|
|
17
|
+
* The current view of the calendar.
|
|
18
|
+
*/
|
|
10
19
|
calendarView: CalendarView;
|
|
20
|
+
/**
|
|
21
|
+
* The minimum selectable date in the calendar.
|
|
22
|
+
*/
|
|
11
23
|
minDate?: Date | null;
|
|
24
|
+
/**
|
|
25
|
+
* The maximum selectable date in the calendar.
|
|
26
|
+
*/
|
|
12
27
|
maxDate?: Date | null;
|
|
28
|
+
/**
|
|
29
|
+
* Event emitted when the previous button is clicked.
|
|
30
|
+
*/
|
|
13
31
|
previous: EventEmitter<MouseEvent>;
|
|
32
|
+
/**
|
|
33
|
+
* Event emitted when the next button is clicked.
|
|
34
|
+
*/
|
|
14
35
|
next: EventEmitter<MouseEvent>;
|
|
36
|
+
/**
|
|
37
|
+
* Event emitted when the view is changed.
|
|
38
|
+
*/
|
|
15
39
|
changeView: EventEmitter<void>;
|
|
16
40
|
ngOnChanges(changes: NgChanges<CalendarHeaderComponent>): void;
|
|
17
41
|
protected previousClicked(event: MouseEvent): void;
|
|
@@ -2,6 +2,12 @@ import { CalendarViewDirective } from '../../directives';
|
|
|
2
2
|
import { CalendarView } from '../../models';
|
|
3
3
|
import { CalendarMonthService } from '../../services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Represents a calendar month component.
|
|
7
|
+
* This component extends the `CalendarViewDirective` class and provides functionality for managing the calendar month.
|
|
8
|
+
*
|
|
9
|
+
* @see {CalendarViewDirective}
|
|
10
|
+
*/
|
|
5
11
|
export declare class CalendarMonthComponent extends CalendarViewDirective {
|
|
6
12
|
protected readonly calendarMonth: CalendarMonthService;
|
|
7
13
|
protected readonly nextView = CalendarView.Years;
|
|
@@ -2,6 +2,12 @@ import { CalendarViewDirective } from '../../directives';
|
|
|
2
2
|
import { CalendarView } from '../../models';
|
|
3
3
|
import { CalendarYearService } from '../../services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Represents a component for displaying a calendar year view.
|
|
7
|
+
* Extends the `CalendarViewDirective` class.
|
|
8
|
+
*
|
|
9
|
+
* @see {CalendarViewDirective}
|
|
10
|
+
*/
|
|
5
11
|
export declare class CalendarYearComponent extends CalendarViewDirective {
|
|
6
12
|
protected readonly calendarYear: CalendarYearService;
|
|
7
13
|
protected readonly nextView = CalendarView.Month;
|
|
@@ -3,6 +3,12 @@ import { CalendarViewDirective } from '../../directives';
|
|
|
3
3
|
import { CalendarView } from '../../models';
|
|
4
4
|
import { CalendarYearsService } from '../../services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Represents the component for displaying the years view in a calendar.
|
|
8
|
+
* Extends the `CalendarViewDirective` class and implements the `AfterViewInit` interface.
|
|
9
|
+
*
|
|
10
|
+
* @see {CalendarViewDirective}
|
|
11
|
+
*/
|
|
6
12
|
export declare class CalendarYearsComponent extends CalendarViewDirective implements AfterViewInit {
|
|
7
13
|
private readonly document;
|
|
8
14
|
protected readonly calendarYears: CalendarYearsService;
|
|
@@ -3,11 +3,27 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { DateRange, DateTypeRange } from './models';
|
|
4
4
|
import { DateRangeState } from './models/date-range';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Service for managing date range selection.
|
|
8
|
+
*/
|
|
6
9
|
export declare class DaterangeService {
|
|
7
10
|
private readonly calendar;
|
|
8
11
|
private readonly dateRangeState$$;
|
|
12
|
+
/**
|
|
13
|
+
* An event emitter for outputting the selected date range.
|
|
14
|
+
* @emits {DateRange | null} outputDateRange$ - The selected date range or null if no range is selected.
|
|
15
|
+
*/
|
|
9
16
|
readonly outputDateRange$: EventEmitter<DateRange | null>;
|
|
17
|
+
/**
|
|
18
|
+
* An observable that emits the current date range state.
|
|
19
|
+
* The date range state represents the current selection state and the selected date range.
|
|
20
|
+
* @emits {DateRangeState} dateRangeState$ - The current date range state.
|
|
21
|
+
*/
|
|
10
22
|
readonly dateRangeState$: Observable<DateRangeState>;
|
|
23
|
+
/**
|
|
24
|
+
* Sets the selected date range.
|
|
25
|
+
* @param {DateTypeRange} value - The selected date range.
|
|
26
|
+
*/
|
|
11
27
|
setDateRange(value: DateTypeRange): void;
|
|
12
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaterangeService, never>;
|
|
13
29
|
static ɵprov: i0.ɵɵInjectableDeclaration<DaterangeService>;
|
|
@@ -3,22 +3,16 @@ import { NgChanges } from '@odx/angular/utils';
|
|
|
3
3
|
import { CalendarSelectionMode, CalendarView, DateRangeState } from '../models';
|
|
4
4
|
import { DateLabelPipe } from '../pipes';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Represents a directive for a cell in the calendar view.
|
|
8
|
+
*/
|
|
6
9
|
export declare class CalendarCellDirective implements OnChanges, OnInit, OnDestroy {
|
|
7
10
|
private readonly disabledController;
|
|
8
11
|
private readonly eventManager;
|
|
9
12
|
private readonly calendarService;
|
|
10
13
|
private registeredEventId;
|
|
11
14
|
protected readonly config: {
|
|
12
|
-
monthYearLabel: string;
|
|
13
|
-
monthLabel: string;
|
|
14
|
-
weekLabel: string;
|
|
15
|
-
dayLabel: string;
|
|
16
|
-
yearLabel: string;
|
|
17
|
-
dayA11yLabel: string;
|
|
18
|
-
monthA11yLabel: string;
|
|
19
|
-
yearA11yLabel: string;
|
|
20
15
|
displayAdjacentDays: boolean;
|
|
21
|
-
locale: import("rxjs").BehaviorSubject<import("date-fns").Locale>;
|
|
22
16
|
selectionMode: CalendarSelectionMode;
|
|
23
17
|
yearView: {
|
|
24
18
|
itemsPerRow: number;
|
|
@@ -43,11 +37,45 @@ export declare class CalendarCellDirective implements OnChanges, OnInit, OnDestr
|
|
|
43
37
|
protected isPreviewRangeStart: boolean;
|
|
44
38
|
protected isPreviewRangeEnd: boolean;
|
|
45
39
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
40
|
+
/**
|
|
41
|
+
* Represents the date associated with a calendar cell.
|
|
42
|
+
* The date is used to determine the date displayed in the cell.
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
*/
|
|
46
46
|
date: Date;
|
|
47
|
+
/**
|
|
48
|
+
* Represents the calendar view of the cell.
|
|
49
|
+
* The calendar view determines how the cell is displayed in the calendar.
|
|
50
|
+
*
|
|
51
|
+
* @type {CalendarView}
|
|
52
|
+
*/
|
|
47
53
|
calendarView: CalendarView;
|
|
54
|
+
/**
|
|
55
|
+
* Represents the active date in the calendar view.
|
|
56
|
+
*
|
|
57
|
+
* @type {Date | null}
|
|
58
|
+
*/
|
|
48
59
|
activeDate: Date | null;
|
|
60
|
+
/**
|
|
61
|
+
* Represents the selected date in the calendar view.
|
|
62
|
+
*
|
|
63
|
+
* @type {Date | null}
|
|
64
|
+
*/
|
|
49
65
|
selectedDate?: Date | null;
|
|
66
|
+
/**
|
|
67
|
+
* Represents the selected date range in the calendar view.
|
|
68
|
+
*
|
|
69
|
+
* @type {DateRangeState | null}
|
|
70
|
+
*/
|
|
50
71
|
selectedDateRange?: DateRangeState | null;
|
|
72
|
+
/**
|
|
73
|
+
* Represents the preview date for the calendar view.
|
|
74
|
+
* This property represents the date that is currently being previewed in the calendar view.
|
|
75
|
+
* It can be set to a specific date or null if no date is being previewed.
|
|
76
|
+
*
|
|
77
|
+
* @type {Date | null}
|
|
78
|
+
*/
|
|
51
79
|
previewDate?: Date | null;
|
|
52
80
|
ngOnChanges(changes: NgChanges<CalendarCellDirective>): void;
|
|
53
81
|
ngOnInit(): void;
|
|
@@ -2,20 +2,14 @@ import { trackByIndex } from '@odx/angular/utils';
|
|
|
2
2
|
import { CalendarService } from '../calendar.service';
|
|
3
3
|
import { CalendarView, DateFilter, DateRangeState } from '../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Represents an abstract directive for a calendar view.
|
|
7
|
+
*/
|
|
5
8
|
export declare abstract class CalendarViewDirective {
|
|
6
9
|
protected readonly takeUntilDestroyed: <T>() => import("rxjs").MonoTypeOperatorFunction<T>;
|
|
7
10
|
protected readonly calendar: CalendarService;
|
|
8
11
|
protected readonly config: {
|
|
9
|
-
monthYearLabel: string;
|
|
10
|
-
monthLabel: string;
|
|
11
|
-
weekLabel: string;
|
|
12
|
-
dayLabel: string;
|
|
13
|
-
yearLabel: string;
|
|
14
|
-
dayA11yLabel: string;
|
|
15
|
-
monthA11yLabel: string;
|
|
16
|
-
yearA11yLabel: string;
|
|
17
12
|
displayAdjacentDays: boolean;
|
|
18
|
-
locale: import("rxjs").BehaviorSubject<import("date-fns").Locale>;
|
|
19
13
|
selectionMode: import("../models").CalendarSelectionMode;
|
|
20
14
|
yearView: {
|
|
21
15
|
itemsPerRow: number;
|
|
@@ -29,12 +23,50 @@ export declare abstract class CalendarViewDirective {
|
|
|
29
23
|
protected abstract readonly currentView: CalendarView;
|
|
30
24
|
protected abstract readonly nextView: CalendarView;
|
|
31
25
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
26
|
+
/**
|
|
27
|
+
* The active date for the calendar view.
|
|
28
|
+
*/
|
|
32
29
|
activeDate: Date;
|
|
30
|
+
/**
|
|
31
|
+
* The selected date in the calendar view.
|
|
32
|
+
* @type {Date | null}
|
|
33
|
+
*/
|
|
33
34
|
selectedDate?: Date | null;
|
|
35
|
+
/**
|
|
36
|
+
* The selected date range in the calendar view.
|
|
37
|
+
* @type {DateRangeState | null}
|
|
38
|
+
*/
|
|
34
39
|
selectedDateRange?: DateRangeState | null;
|
|
40
|
+
/**
|
|
41
|
+
* The preview date for the calendar view.
|
|
42
|
+
* This property represents the date that is currently being previewed in the calendar view.
|
|
43
|
+
* It can be set to a specific date or null if no date is being previewed.
|
|
44
|
+
*/
|
|
35
45
|
previewDate?: Date | null;
|
|
46
|
+
/**
|
|
47
|
+
* The minimum selectable date in the calendar view.
|
|
48
|
+
* If set, dates before this minimum date will be disabled for selection.
|
|
49
|
+
*/
|
|
36
50
|
minDate?: Date | null;
|
|
51
|
+
/**
|
|
52
|
+
* The maximum selectable date in the calendar view.
|
|
53
|
+
* If set, dates after this maximum date will be disabled for selection.
|
|
54
|
+
*/
|
|
37
55
|
maxDate?: Date | null;
|
|
56
|
+
/**
|
|
57
|
+
* The filter function used to determine if a date should be displayed in the calendar view.
|
|
58
|
+
* If set to `null`, no filtering will be applied.
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
* The filter function should accept a `Date` object as its parameter and return a boolean value.
|
|
62
|
+
* If the function returns `true`, the date will be displayed; if it returns `false`, the date will be hidden.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* // Filter out weekends
|
|
67
|
+
* const filterFn: DateFilter = (date) => date.getDay() !== 0 && date.getDay() !== 6;
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
38
70
|
filterFn?: DateFilter | null;
|
|
39
71
|
protected isDateDisabled(value: Date): boolean;
|
|
40
72
|
protected changeView(): void;
|
|
@@ -1,27 +1,18 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Transforms a given date into a formatted string based on the provided date format string.
|
|
5
|
+
* The transformation utilizes the `format` function from date-fns library and considers the locale
|
|
6
|
+
* from the global calendar configuration to ensure the date is represented in a locale-appropriate format.
|
|
7
|
+
*/
|
|
3
8
|
export declare class DateLabelPipe implements PipeTransform {
|
|
4
|
-
readonly
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
monthA11yLabel: string;
|
|
12
|
-
yearA11yLabel: string;
|
|
13
|
-
displayAdjacentDays: boolean;
|
|
14
|
-
locale: import("rxjs").BehaviorSubject<import("date-fns").Locale>;
|
|
15
|
-
selectionMode: import("@odx/angular/components/calendar").CalendarSelectionMode;
|
|
16
|
-
yearView: {
|
|
17
|
-
itemsPerRow: number;
|
|
18
|
-
};
|
|
19
|
-
yearsView: {
|
|
20
|
-
itemsPerRow: number;
|
|
21
|
-
padding: number;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
transform(value: Date | null, dateFormat: string): string;
|
|
9
|
+
private readonly localizationService;
|
|
10
|
+
private readonly windowRef;
|
|
11
|
+
private readonly cdr;
|
|
12
|
+
private lastValue;
|
|
13
|
+
private lastFormatOptions;
|
|
14
|
+
private formattedValue;
|
|
15
|
+
transform(value: Date | null, formatOptions: Intl.DateTimeFormatOptions): string;
|
|
25
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateLabelPipe, never>;
|
|
26
17
|
static ɵpipe: i0.ɵɵPipeDeclaration<DateLabelPipe, "odxDateLabel", true>;
|
|
27
18
|
}
|