@odx/angular 6.1.0 → 6.1.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 +9 -0
- package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +19 -1
- package/cdk/connected-overlay/lib/models/connected-overlay-ref.d.ts +1 -1
- package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +9 -1
- package/cdk/expandable/lib/directives/expandable-container.directive.d.ts +9 -5
- package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +4 -1
- package/cdk/option-control/lib/option-control.d.ts +2 -0
- package/cdk/radio-group-control/lib/radio-control.directive.d.ts +18 -0
- package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +3 -1
- package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +9 -5
- package/components/action-group/action-group.component.d.ts +3 -0
- package/components/area-header/area-header.component.d.ts +2 -1
- package/components/autocomplete/lib/autocomplete.component.d.ts +17 -4
- package/components/autocomplete/lib/components/option/autocomplete-option.component.d.ts +8 -0
- package/components/autocomplete/lib/directives/autocomplete-input-control.directive.d.ts +4 -0
- package/components/avatar/lib/avatar.component.d.ts +6 -2
- package/components/badge/lib/badge.component.d.ts +12 -1
- package/components/badge/lib/badge.directive.d.ts +18 -3
- package/components/bar/lib/directives/bar-button.directive.d.ts +6 -0
- package/components/button/lib/button.component.d.ts +9 -1
- package/components/button-group/lib/button-group.component.d.ts +12 -0
- package/components/calendar/lib/calendar.component.d.ts +11 -0
- package/components/calendar/lib/calendar.config.d.ts +6 -0
- package/components/calendar/lib/calendar.service.d.ts +13 -1
- package/components/calendar/lib/components/calendar-header/calendar-header.component.d.ts +16 -0
- package/components/calendar/lib/daterange.service.d.ts +3 -0
- package/components/calendar/lib/directives/calendar-cell.directive.d.ts +4 -0
- package/components/calendar/lib/directives/calendar-view.directive.d.ts +18 -0
- package/components/calendar/lib/pipes/date-label.pipe.d.ts +4 -0
- package/components/card/lib/card.component.d.ts +26 -2
- package/components/card/lib/components/card-footer/card-footer.component.d.ts +3 -0
- package/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.d.ts +3 -0
- package/components/card/lib/directives/card-content.directive.d.ts +3 -0
- package/components/card/lib/directives/card-title.directive.d.ts +3 -0
- package/components/checkbox/lib/checkbox.component.d.ts +9 -2
- package/components/chip/lib/components/chip/chip.component.d.ts +15 -3
- package/components/circular-progress/lib/circular-progress.component.d.ts +15 -2
- package/components/datepicker/lib/datepicker.component.d.ts +28 -1
- package/components/datepicker/lib/directives/datepicker-input-control.directive.d.ts +7 -1
- package/components/daterangepicker/lib/daterangepicker.component.d.ts +4 -0
- package/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.d.ts +3 -1
- package/components/daterangepicker/lib/required.validator.d.ts +8 -0
- package/components/dropdown/lib/dropdown.component.d.ts +6 -4
- package/components/dropdown/lib/dropdown.directive.d.ts +38 -3
- package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +2 -1
- package/components/error-page/lib/error-page.component.d.ts +2 -0
- package/components/footer/lib/footer.component.d.ts +6 -2
- package/components/footer/lib/helpers/create-footer-links.d.ts +1 -2
- package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +2 -1
- package/components/form-field/lib/components/form-group/form-group.component.d.ts +7 -2
- package/components/form-field/lib/directives/form-field-error.directive.d.ts +2 -0
- package/components/form-field/lib/directives/form.directive.d.ts +4 -0
- package/components/form-field/lib/form-field.component.d.ts +17 -2
- package/components/form-field/lib/form-field.service.d.ts +27 -6
- package/components/form-field/lib/services/form-field-error.service.d.ts +11 -3
- package/components/header-navigation/lib/header-navigation.component.d.ts +3 -0
- package/components/icon/lib/helpers/unpack-icon-identifier.d.ts +2 -2
- package/components/icon/lib/icon.component.d.ts +13 -1
- package/components/inline-message/lib/inline-message.component.d.ts +5 -1
- package/components/list/lib/components/expandable-list-item/expandable-list-item.component.d.ts +1 -0
- package/components/list/lib/components/list-item/list-item.component.d.ts +10 -1
- package/components/list/lib/list.component.d.ts +1 -0
- package/components/loading-spinner/lib/loading-spinner.component.d.ts +3 -0
- package/components/loading-spinner/lib/loading-spinner.directive.d.ts +7 -0
- package/components/modal/lib/components/modal-header/modal-header.component.d.ts +0 -1
- package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +3 -0
- package/components/modal/lib/modal.component.d.ts +1 -0
- package/components/modal/lib/modal.service.d.ts +7 -5
- package/components/modal/lib/models/modal-ref.d.ts +18 -4
- package/components/notification/lib/components/notification-item/notification-item.component.d.ts +4 -4
- package/components/notification/lib/directives/notification-center.directive.d.ts +6 -3
- package/components/notification/lib/features/with-browser-notifications.d.ts +1 -1
- package/components/notification/lib/features/with-load-notifications.d.ts +2 -1
- package/components/notification/lib/features/with-notification-transformer.d.ts +2 -2
- package/components/notification/lib/features/with-peristent-notifications.d.ts +6 -8
- package/components/notification/lib/features/with-save-notifications.d.ts +1 -1
- package/components/paginator/lib/paginator.component.d.ts +50 -0
- package/components/progress/lib/progress.component.d.ts +6 -1
- package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +7 -0
- package/components/radio-group/lib/radio-group.component.d.ts +6 -0
- package/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.d.ts +9 -0
- package/components/rail-navigation/lib/rail-navigation.component.d.ts +10 -2
- package/components/rich-list/lib/components/rich-list-item/rich-list-item.component.d.ts +8 -10
- package/components/rich-list/lib/rich-list.component.d.ts +3 -0
- package/components/select/lib/components/select-option/select-option.component.d.ts +1 -0
- package/components/select/lib/directives/select-input-control.directive.d.ts +4 -1
- package/components/select/lib/select.component.d.ts +7 -1
- package/components/slider/lib/slider.directive.d.ts +7 -4
- package/components/spinbox/lib/spinbox.component.d.ts +9 -0
- package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +4 -1
- package/components/table/lib/components/check-cell/check-cell.component.d.ts +4 -1
- package/components/table/lib/components/header-title/header-title.component.d.ts +12 -1
- package/components/table/lib/table.component.d.ts +18 -1
- package/components/timepicker/lib/components/timepicker-option.component.d.ts +9 -1
- package/components/timepicker/lib/directives/timepicker-input-control.directive.d.ts +2 -0
- package/components/timepicker/lib/timepicker.component.d.ts +18 -3
- package/components/timepicker/lib/timepicker.service.d.ts +0 -7
- package/components/toast/lib/components/toast-container/toast-container.component.d.ts +19 -0
- package/components/toast/lib/components/toast-item/toast-item.component.d.ts +57 -1
- package/components/toast/lib/toast.service.d.ts +12 -0
- package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +3 -0
- package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +2 -0
- package/components/tooltip/lib/tooltip.component.d.ts +7 -1
- package/components/tooltip/lib/tooltip.directive.d.ts +15 -2
- package/components/wizard/lib/components/wizard-step/wizard-step.component.d.ts +17 -0
- package/components/wizard/lib/wizard.component.d.ts +13 -1
- package/esm2022/cdk/checkbox-control/lib/checkbox-control.directive.mjs +20 -2
- package/esm2022/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +2 -2
- package/esm2022/cdk/dynamic-view/lib/dynamic-view.directive.mjs +4 -1
- package/esm2022/cdk/expandable/lib/directives/expandable-container.directive.mjs +10 -6
- package/esm2022/cdk/expandable/lib/directives/expandable-item.directive.mjs +5 -2
- package/esm2022/cdk/option-control/lib/option-control.mjs +3 -1
- package/esm2022/cdk/radio-group-control/lib/radio-control.directive.mjs +19 -1
- package/esm2022/cdk/radio-group-control/lib/radio-group-control.directive.mjs +3 -1
- package/esm2022/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +9 -4
- package/esm2022/components/action-group/action-group.component.mjs +4 -1
- package/esm2022/components/area-header/area-header.component.mjs +3 -2
- package/esm2022/components/autocomplete/lib/autocomplete.component.mjs +8 -5
- package/esm2022/components/autocomplete/lib/components/option/autocomplete-option.component.mjs +9 -1
- package/esm2022/components/autocomplete/lib/directives/autocomplete-input-control.directive.mjs +5 -1
- package/esm2022/components/avatar/lib/avatar.component.mjs +7 -3
- package/esm2022/components/badge/lib/badge.component.mjs +7 -2
- package/esm2022/components/badge/lib/badge.directive.mjs +19 -4
- package/esm2022/components/bar/lib/directives/bar-button.directive.mjs +7 -1
- package/esm2022/components/button/lib/button.component.mjs +10 -2
- package/esm2022/components/button-group/lib/button-group.component.mjs +13 -1
- package/esm2022/components/calendar/lib/calendar.component.mjs +12 -1
- package/esm2022/components/calendar/lib/calendar.config.mjs +1 -1
- package/esm2022/components/calendar/lib/calendar.service.mjs +14 -2
- package/esm2022/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +13 -1
- package/esm2022/components/calendar/lib/daterange.service.mjs +4 -1
- package/esm2022/components/calendar/lib/directives/calendar-cell.directive.mjs +5 -1
- package/esm2022/components/calendar/lib/directives/calendar-view.directive.mjs +17 -1
- package/esm2022/components/calendar/lib/pipes/date-label.pipe.mjs +5 -1
- package/esm2022/components/card/lib/card.component.mjs +25 -1
- package/esm2022/components/card/lib/components/card-footer/card-footer.component.mjs +4 -1
- package/esm2022/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.mjs +4 -1
- package/esm2022/components/card/lib/directives/card-content.directive.mjs +4 -1
- package/esm2022/components/card/lib/directives/card-title.directive.mjs +4 -1
- package/esm2022/components/checkbox/lib/checkbox.component.mjs +10 -3
- package/esm2022/components/chip/lib/components/chip/chip.component.mjs +15 -3
- package/esm2022/components/circular-progress/lib/circular-progress.component.mjs +16 -3
- package/esm2022/components/datepicker/lib/datepicker.component.mjs +29 -2
- package/esm2022/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +8 -2
- package/esm2022/components/daterangepicker/lib/daterangepicker.component.mjs +5 -1
- package/esm2022/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.mjs +4 -2
- package/esm2022/components/daterangepicker/lib/required.validator.mjs +9 -9
- package/esm2022/components/dropdown/lib/dropdown.component.mjs +1 -5
- package/esm2022/components/dropdown/lib/dropdown.directive.mjs +31 -4
- package/esm2022/components/dropdown/lib/helpers/close-current-dropdown.mjs +3 -2
- package/esm2022/components/error-page/lib/error-page.component.mjs +3 -1
- package/esm2022/components/footer/lib/footer.component.mjs +7 -3
- package/esm2022/components/footer/lib/helpers/create-footer-links.mjs +2 -3
- package/esm2022/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +3 -2
- package/esm2022/components/form-field/lib/components/form-group/form-group.component.mjs +6 -3
- package/esm2022/components/form-field/lib/directives/form-field-error.directive.mjs +1 -1
- package/esm2022/components/form-field/lib/directives/form.directive.mjs +5 -1
- package/esm2022/components/form-field/lib/form-field.component.mjs +14 -2
- package/esm2022/components/form-field/lib/form-field.service.mjs +28 -7
- package/esm2022/components/form-field/lib/services/form-field-error.service.mjs +12 -4
- package/esm2022/components/header-navigation/lib/header-navigation.component.mjs +1 -1
- package/esm2022/components/icon/lib/helpers/unpack-icon-identifier.mjs +3 -3
- package/esm2022/components/icon/lib/icon.component.mjs +14 -2
- package/esm2022/components/inline-message/lib/inline-message.component.mjs +6 -2
- package/esm2022/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +2 -1
- package/esm2022/components/list/lib/components/list-item/list-item.component.mjs +11 -2
- package/esm2022/components/list/lib/list.component.mjs +2 -1
- package/esm2022/components/loading-spinner/lib/loading-spinner.component.mjs +4 -1
- package/esm2022/components/loading-spinner/lib/loading-spinner.directive.mjs +8 -1
- package/esm2022/components/modal/lib/components/modal-header/modal-header.component.mjs +1 -1
- package/esm2022/components/modal/lib/components/modal-hero/modal-hero.component.mjs +4 -1
- package/esm2022/components/modal/lib/modal.component.mjs +2 -1
- package/esm2022/components/modal/lib/modal.service.mjs +3 -3
- package/esm2022/components/modal/lib/models/modal-ref.mjs +19 -5
- package/esm2022/components/notification/lib/components/notification-item/notification-item.component.mjs +5 -5
- package/esm2022/components/notification/lib/directives/notification-center.directive.mjs +7 -4
- package/esm2022/components/notification/lib/features/with-browser-notifications.mjs +4 -5
- package/esm2022/components/notification/lib/features/with-load-notifications.mjs +3 -3
- package/esm2022/components/notification/lib/features/with-notification-transformer.mjs +3 -3
- package/esm2022/components/notification/lib/features/with-peristent-notifications.mjs +7 -9
- package/esm2022/components/notification/lib/features/with-save-notifications.mjs +3 -4
- package/esm2022/components/paginator/lib/paginator.component.mjs +51 -1
- package/esm2022/components/progress/lib/progress.component.mjs +7 -2
- package/esm2022/components/radio-group/lib/components/radio-button/radio-button.component.mjs +3 -1
- package/esm2022/components/radio-group/lib/radio-group.component.mjs +7 -1
- package/esm2022/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +7 -1
- package/esm2022/components/rail-navigation/lib/rail-navigation.component.mjs +11 -3
- package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +4 -6
- package/esm2022/components/rich-list/lib/rich-list.component.mjs +4 -1
- package/esm2022/components/select/lib/components/select-option/select-option.component.mjs +2 -1
- package/esm2022/components/select/lib/directives/select-input-control.directive.mjs +4 -1
- package/esm2022/components/select/lib/select.component.mjs +8 -2
- package/esm2022/components/slider/lib/slider.directive.mjs +7 -4
- package/esm2022/components/spinbox/lib/spinbox.component.mjs +10 -1
- package/esm2022/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +5 -2
- package/esm2022/components/table/lib/components/check-cell/check-cell.component.mjs +5 -2
- package/esm2022/components/table/lib/components/header-title/header-title.component.mjs +11 -1
- package/esm2022/components/table/lib/table.component.mjs +15 -1
- package/esm2022/components/timepicker/lib/components/timepicker-option.component.mjs +10 -2
- package/esm2022/components/timepicker/lib/directives/timepicker-input-control.directive.mjs +3 -1
- package/esm2022/components/timepicker/lib/timepicker.component.mjs +14 -4
- package/esm2022/components/timepicker/lib/timepicker.service.mjs +1 -8
- package/esm2022/components/toast/lib/components/toast-container/toast-container.component.mjs +20 -1
- package/esm2022/components/toast/lib/components/toast-item/toast-item.component.mjs +24 -1
- package/esm2022/components/toast/lib/toast.service.mjs +13 -1
- package/esm2022/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +4 -1
- package/esm2022/components/toggle-button-group/lib/toggle-button-group.component.mjs +3 -1
- package/esm2022/components/tooltip/lib/tooltip.component.mjs +6 -2
- package/esm2022/components/tooltip/lib/tooltip.directive.mjs +16 -3
- package/esm2022/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +18 -1
- package/esm2022/components/wizard/lib/wizard.component.mjs +22 -4
- package/esm2022/lib/controllers/disabled.controller.mjs +9 -1
- package/esm2022/lib/controllers/readonly.controller.mjs +3 -1
- package/esm2022/lib/directives/click-outside.directive.mjs +2 -1
- package/esm2022/lib/services/window-ref.mjs +22 -4
- package/esm2022/theming/lib/helpers/prefers-dark-theme.mjs +1 -1
- package/esm2022/theming/lib/theming.service.mjs +3 -1
- package/esm2022/utils/lib/helpers/queue.mjs +24 -14
- package/fesm2022/odx-angular-cdk-checkbox-control.mjs +19 -1
- package/fesm2022/odx-angular-cdk-checkbox-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-connected-overlay.mjs +1 -1
- package/fesm2022/odx-angular-cdk-connected-overlay.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-dynamic-view.mjs +3 -0
- package/fesm2022/odx-angular-cdk-dynamic-view.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-expandable.mjs +13 -6
- package/fesm2022/odx-angular-cdk-expandable.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-option-control.mjs +2 -0
- package/fesm2022/odx-angular-cdk-option-control.mjs.map +1 -1
- package/fesm2022/odx-angular-cdk-radio-group-control.mjs +20 -0
- package/fesm2022/odx-angular-cdk-radio-group-control.mjs.map +1 -1
- package/fesm2022/odx-angular-components-accordion.mjs +8 -3
- package/fesm2022/odx-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/odx-angular-components-action-group.mjs +3 -0
- package/fesm2022/odx-angular-components-action-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-area-header.mjs +2 -1
- package/fesm2022/odx-angular-components-area-header.mjs.map +1 -1
- package/fesm2022/odx-angular-components-autocomplete.mjs +19 -4
- package/fesm2022/odx-angular-components-autocomplete.mjs.map +1 -1
- package/fesm2022/odx-angular-components-avatar.mjs +6 -2
- package/fesm2022/odx-angular-components-avatar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-badge.mjs +24 -4
- package/fesm2022/odx-angular-components-badge.mjs.map +1 -1
- package/fesm2022/odx-angular-components-bar.mjs +6 -0
- package/fesm2022/odx-angular-components-bar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-button-group.mjs +12 -0
- package/fesm2022/odx-angular-components-button-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-button.mjs +9 -1
- package/fesm2022/odx-angular-components-button.mjs.map +1 -1
- package/fesm2022/odx-angular-components-calendar.mjs +63 -1
- package/fesm2022/odx-angular-components-calendar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-card.mjs +36 -0
- package/fesm2022/odx-angular-components-card.mjs.map +1 -1
- package/fesm2022/odx-angular-components-checkbox.mjs +9 -2
- package/fesm2022/odx-angular-components-checkbox.mjs.map +1 -1
- package/fesm2022/odx-angular-components-chip.mjs +14 -2
- package/fesm2022/odx-angular-components-chip.mjs.map +1 -1
- package/fesm2022/odx-angular-components-circular-progress.mjs +15 -2
- package/fesm2022/odx-angular-components-circular-progress.mjs.map +1 -1
- package/fesm2022/odx-angular-components-datepicker.mjs +35 -2
- package/fesm2022/odx-angular-components-datepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-daterangepicker.mjs +15 -9
- package/fesm2022/odx-angular-components-daterangepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-dropdown.mjs +32 -8
- package/fesm2022/odx-angular-components-dropdown.mjs.map +1 -1
- package/fesm2022/odx-angular-components-error-page.mjs +2 -0
- package/fesm2022/odx-angular-components-error-page.mjs.map +1 -1
- package/fesm2022/odx-angular-components-footer.mjs +7 -4
- package/fesm2022/odx-angular-components-footer.mjs.map +1 -1
- package/fesm2022/odx-angular-components-form-field.mjs +62 -13
- package/fesm2022/odx-angular-components-form-field.mjs.map +1 -1
- package/fesm2022/odx-angular-components-header-navigation.mjs.map +1 -1
- package/fesm2022/odx-angular-components-icon.mjs +15 -3
- package/fesm2022/odx-angular-components-icon.mjs.map +1 -1
- package/fesm2022/odx-angular-components-inline-message.mjs +5 -1
- package/fesm2022/odx-angular-components-inline-message.mjs.map +1 -1
- package/fesm2022/odx-angular-components-list.mjs +12 -1
- package/fesm2022/odx-angular-components-list.mjs.map +1 -1
- package/fesm2022/odx-angular-components-loading-spinner.mjs +10 -0
- package/fesm2022/odx-angular-components-loading-spinner.mjs.map +1 -1
- package/fesm2022/odx-angular-components-modal.mjs +24 -6
- package/fesm2022/odx-angular-components-modal.mjs.map +1 -1
- package/fesm2022/odx-angular-components-notification.mjs +25 -26
- package/fesm2022/odx-angular-components-notification.mjs.map +1 -1
- package/fesm2022/odx-angular-components-paginator.mjs +50 -0
- package/fesm2022/odx-angular-components-paginator.mjs.map +1 -1
- package/fesm2022/odx-angular-components-progress.mjs +6 -1
- package/fesm2022/odx-angular-components-progress.mjs.map +1 -1
- package/fesm2022/odx-angular-components-radio-group.mjs +8 -0
- package/fesm2022/odx-angular-components-radio-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-rail-navigation.mjs +16 -2
- package/fesm2022/odx-angular-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/odx-angular-components-rich-list.mjs +6 -5
- package/fesm2022/odx-angular-components-rich-list.mjs.map +1 -1
- package/fesm2022/odx-angular-components-select.mjs +11 -1
- package/fesm2022/odx-angular-components-select.mjs.map +1 -1
- package/fesm2022/odx-angular-components-slider.mjs +6 -3
- package/fesm2022/odx-angular-components-slider.mjs.map +1 -1
- package/fesm2022/odx-angular-components-spinbox.mjs +9 -0
- package/fesm2022/odx-angular-components-spinbox.mjs.map +1 -1
- package/fesm2022/odx-angular-components-tab-bar.mjs +4 -1
- package/fesm2022/odx-angular-components-tab-bar.mjs.map +1 -1
- package/fesm2022/odx-angular-components-table.mjs +28 -1
- package/fesm2022/odx-angular-components-table.mjs.map +1 -1
- package/fesm2022/odx-angular-components-timepicker.mjs +24 -11
- package/fesm2022/odx-angular-components-timepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-toast.mjs +54 -0
- package/fesm2022/odx-angular-components-toast.mjs.map +1 -1
- package/fesm2022/odx-angular-components-toggle-button-group.mjs +5 -0
- package/fesm2022/odx-angular-components-toggle-button-group.mjs.map +1 -1
- package/fesm2022/odx-angular-components-tooltip.mjs +20 -3
- package/fesm2022/odx-angular-components-tooltip.mjs.map +1 -1
- package/fesm2022/odx-angular-components-wizard.mjs +38 -3
- package/fesm2022/odx-angular-components-wizard.mjs.map +1 -1
- package/fesm2022/odx-angular-theming.mjs +2 -0
- package/fesm2022/odx-angular-theming.mjs.map +1 -1
- package/fesm2022/odx-angular-utils.mjs +23 -13
- package/fesm2022/odx-angular-utils.mjs.map +1 -1
- package/fesm2022/odx-angular.mjs +32 -3
- package/fesm2022/odx-angular.mjs.map +1 -1
- package/lib/controllers/disabled.controller.d.ts +8 -0
- package/lib/controllers/readonly.controller.d.ts +2 -0
- package/lib/directives/click-outside.directive.d.ts +1 -0
- package/lib/services/window-ref.d.ts +21 -3
- package/package.json +1 -1
- package/theming/lib/theming.service.d.ts +2 -0
- package/utils/lib/helpers/queue.d.ts +23 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @odx/angular
|
|
2
2
|
|
|
3
|
+
## 6.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 57427f6: Updating JSDOC
|
|
8
|
+
- aac8347: JSDOC input descriptions fixed
|
|
9
|
+
- 288bb39: Responsive attribute for wizard component
|
|
10
|
+
- b5fed33: Fixed: Select/Multiselect component, it was not possible for developers to preselect options which are disabled
|
|
11
|
+
|
|
3
12
|
## 6.1.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -2,14 +2,32 @@ 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
4
|
/**
|
|
5
|
-
* `CheckBoxControl` is a directive that extends `CustomFormControl` to create a custom checkbox control.
|
|
5
|
+
* `CheckBoxControl` is a directive that extends `CustomFormControl` to create a custom checkbox control.
|
|
6
|
+
* It integrates seamlessly with Angular forms and provides additional events and bindings for enhanced
|
|
7
|
+
* functionality.
|
|
6
8
|
*/
|
|
7
9
|
export declare class CheckBoxControl extends CustomFormControl<boolean> {
|
|
8
10
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
9
11
|
set checked(value: boolean);
|
|
10
12
|
get checked(): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The value of the checkbox control.
|
|
15
|
+
*
|
|
16
|
+
* @type {string | null}
|
|
17
|
+
* @default null
|
|
18
|
+
*/
|
|
11
19
|
controlValue: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* A boolean value when the checked state of the checkbox changes.
|
|
22
|
+
*
|
|
23
|
+
* @emits {boolean} - The new checked state of the checkbox.
|
|
24
|
+
*/
|
|
12
25
|
checkedChange: EventEmitter<boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* Aria attribute that represents the checked state of the checkbox.
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
*/
|
|
13
31
|
get ariaChecked(): string;
|
|
14
32
|
constructor();
|
|
15
33
|
onChanged(event: Event): void;
|
|
@@ -49,7 +49,7 @@ export declare class ConnectedOverlayRef {
|
|
|
49
49
|
/**
|
|
50
50
|
* Updates the connected overlay with new options.
|
|
51
51
|
*
|
|
52
|
-
* @param options - The new options to be applied to the connected overlay.
|
|
52
|
+
* @param options {Partial<ConnectedOverlayOptions>} - The new options to be applied to the connected overlay.
|
|
53
53
|
*/
|
|
54
54
|
update(options: Partial<ConnectedOverlayOptions>): void;
|
|
55
55
|
/**
|
|
@@ -18,16 +18,24 @@ export declare class DynamicViewDirective<T extends DynamicContent<unknown> = Dy
|
|
|
18
18
|
/**
|
|
19
19
|
* The content to be dynamically rendered. This can be a component, template reference, or text content.
|
|
20
20
|
* The content is wrapped in a `DynamicViewRef`, providing additional control over the dynamically rendered view.
|
|
21
|
+
*
|
|
22
|
+
* @type {T | DynamicViewRef<T> | null}
|
|
23
|
+
* @default null
|
|
21
24
|
*/
|
|
22
25
|
content?: T | DynamicViewRef<T> | null;
|
|
23
26
|
/**
|
|
24
|
-
* An optional injector to be used for dynamically created components.
|
|
27
|
+
* An optional injector to be used for dynamically created components.
|
|
28
|
+
* This allows for custom dependency injection
|
|
25
29
|
* into dynamically rendered components.
|
|
30
|
+
*
|
|
31
|
+
* @type {Injector | undefined}
|
|
26
32
|
*/
|
|
27
33
|
injector?: Injector;
|
|
28
34
|
/**
|
|
29
35
|
* An optional context providing function for dynamically created views. This function returns the context
|
|
30
36
|
* object to be passed to the dynamically rendered content, allowing for dynamic interaction with the content.
|
|
37
|
+
*
|
|
38
|
+
* @type {GetDynamicViewContext<T> | undefined}
|
|
31
39
|
*/
|
|
32
40
|
context?: GetDynamicViewContext<T>;
|
|
33
41
|
ngOnInit(): void;
|
|
@@ -15,6 +15,9 @@ export declare class ExpandableContainerDirective implements ExpandableContainer
|
|
|
15
15
|
private readonly parentContainer;
|
|
16
16
|
/**
|
|
17
17
|
* Determines whether multiple items can be expanded within the container.
|
|
18
|
+
*
|
|
19
|
+
* @type {boolean}
|
|
20
|
+
* @default false
|
|
18
21
|
*/
|
|
19
22
|
multiple: boolean;
|
|
20
23
|
ngOnInit(): void;
|
|
@@ -26,13 +29,13 @@ export declare class ExpandableContainerDirective implements ExpandableContainer
|
|
|
26
29
|
/**
|
|
27
30
|
* Collapses the specified item.
|
|
28
31
|
*
|
|
29
|
-
* @param item - The item to collapse.
|
|
32
|
+
* @param {ExpandableItem} item - The item to collapse.
|
|
30
33
|
*/
|
|
31
34
|
collapse(item: ExpandableItem): void;
|
|
32
35
|
/**
|
|
33
36
|
* Expands the specified item.
|
|
34
37
|
* If `multiple` is set to `false`, it collapses all other items before expanding the specified item.
|
|
35
|
-
* @param item - The item to expand.
|
|
38
|
+
* @param {ExpandableItem} item - The item to expand.
|
|
36
39
|
*/
|
|
37
40
|
expand(item: ExpandableItem): void;
|
|
38
41
|
/**
|
|
@@ -40,18 +43,19 @@ export declare class ExpandableContainerDirective implements ExpandableContainer
|
|
|
40
43
|
* If `forceState` is provided, it will set the expansion state to the specified value.
|
|
41
44
|
* If `forceState` is not provided, it will toggle the expansion state of the item.
|
|
42
45
|
*
|
|
43
|
-
* @param item - The item to toggle the expansion state for.
|
|
44
|
-
* @param forceState - Optional. The desired expansion state to set for the item.
|
|
46
|
+
* @param {ExpandableItem} item - The item to toggle the expansion state for.
|
|
47
|
+
* @param {boolean} forceState - Optional. The desired expansion state to set for the item.
|
|
45
48
|
*/
|
|
46
49
|
toggle(item: ExpandableItem, forceState?: boolean): void;
|
|
47
50
|
/**
|
|
48
51
|
* Checks if the specified item is expanded.
|
|
49
|
-
* @param item - The item to check.
|
|
52
|
+
* @param {ExpandableItem} item - The item to check.
|
|
50
53
|
* @returns `true` if the item is expanded, `false` otherwise.
|
|
51
54
|
*/
|
|
52
55
|
isExpanded(item: ExpandableItem): boolean;
|
|
53
56
|
/**
|
|
54
57
|
* Checks if there is any expanded item.
|
|
58
|
+
*
|
|
55
59
|
* @returns {boolean} True if there is at least one expanded item, false otherwise.
|
|
56
60
|
*/
|
|
57
61
|
hasExpandedItem(): boolean;
|
|
@@ -10,7 +10,10 @@ export declare class ExpandableItemDirective implements ExpandableItem {
|
|
|
10
10
|
private readonly childContainers;
|
|
11
11
|
private readonly container;
|
|
12
12
|
private _expanded;
|
|
13
|
-
/** Unique identifier for the expandable item.
|
|
13
|
+
/** Unique identifier for the expandable item.
|
|
14
|
+
*
|
|
15
|
+
* @type {string}
|
|
16
|
+
*/
|
|
14
17
|
id: string;
|
|
15
18
|
/**
|
|
16
19
|
* Controls the expanded state of the item.
|
|
@@ -5,6 +5,8 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* `OptionControl` is an abstract directive that serves as a base class for implementing selectable options in a dropdown
|
|
6
6
|
* list or a similar component. It integrates with CDK's `Highlightable` interface to provide keyboard navigation support.
|
|
7
7
|
*
|
|
8
|
+
* @param {T} - The type of the value.
|
|
9
|
+
*
|
|
8
10
|
* This base class handles the visual feedback for active and selected states and provides a structure for defining
|
|
9
11
|
* how an option is selected.
|
|
10
12
|
*
|
|
@@ -7,13 +7,31 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* This directive integrates with Angular Forms through `DisabledController` and `ReadonlyController` directives,
|
|
8
8
|
* enabling form control states like disabled and readonly. It automatically updates its classes
|
|
9
9
|
* to reflect these states and the active (checked) state.
|
|
10
|
+
*
|
|
11
|
+
* @template T - The type of the value.
|
|
10
12
|
*/
|
|
11
13
|
export declare class RadioControlDirective<T = unknown> {
|
|
12
14
|
protected readonly disabledController: DisabledController | null;
|
|
13
15
|
protected readonly readonlyController: ReadonlyController | null;
|
|
14
16
|
protected readonly radioGroupControl: import("./radio-group-control.directive").RadioGroupControlDirective<unknown>;
|
|
17
|
+
/**
|
|
18
|
+
* The value of the radio control.
|
|
19
|
+
*
|
|
20
|
+
* @type {T | null}
|
|
21
|
+
* @default null
|
|
22
|
+
*/
|
|
15
23
|
value: T | null;
|
|
24
|
+
/**
|
|
25
|
+
* The `aria-checked` attribute value.
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
*/
|
|
16
29
|
get ariaChecked(): string;
|
|
30
|
+
/**
|
|
31
|
+
* Gets a value indicating whether the radio control is active.
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
*/
|
|
17
35
|
get isActive(): boolean;
|
|
18
36
|
constructor();
|
|
19
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioControlDirective<any>, never>;
|
|
@@ -12,11 +12,13 @@ export declare const RADIO_GROUP_CONTROL: InjectionToken<RadioGroupControlDirect
|
|
|
12
12
|
*
|
|
13
13
|
* It uses Angular's dependency injection to provide itself as `RADIO_GROUP_CONTROL` token,
|
|
14
14
|
* allowing child radio buttons to communicate with the radio group directive.
|
|
15
|
+
*
|
|
16
|
+
* @template T - The type of the value.
|
|
15
17
|
*/
|
|
16
18
|
export declare class RadioGroupControlDirective<T = unknown> extends CustomFormControl<T | null> {
|
|
17
19
|
private readonly hostElement;
|
|
18
20
|
constructor();
|
|
19
|
-
onFocusOut(event: FocusEvent): void;
|
|
21
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupControlDirective<any>, never>;
|
|
21
23
|
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioGroupControlDirective<any>, "[odxRadioGroupControl]", never, {}, {}, never, never, true, never>;
|
|
22
24
|
}
|
|
@@ -17,35 +17,39 @@ export declare class AccordionItemComponent {
|
|
|
17
17
|
/**
|
|
18
18
|
* The title of the accordion item.
|
|
19
19
|
*
|
|
20
|
-
* @
|
|
21
|
-
* This property is optional and can be a string or null.
|
|
20
|
+
* @type {string | null}
|
|
22
21
|
*/
|
|
23
22
|
title?: string | null;
|
|
24
23
|
/**
|
|
25
24
|
* Event emitter for the expanded state change of the accordion item.
|
|
26
|
-
*
|
|
25
|
+
*
|
|
26
|
+
* @emits {boolean} The expanded state of the accordion item.
|
|
27
27
|
*/
|
|
28
28
|
expandedChange: EventEmitter<boolean>;
|
|
29
29
|
/**
|
|
30
30
|
* Gets a value indicating whether the accordion item is disabled.
|
|
31
|
+
*
|
|
31
32
|
* @returns {boolean} True if the accordion item is disabled, false otherwise.
|
|
32
33
|
*/
|
|
33
34
|
get isDisabled(): boolean;
|
|
34
35
|
/**
|
|
35
36
|
* Gets a value indicating whether the accordion item is expanded.
|
|
37
|
+
*
|
|
36
38
|
* @returns {boolean} True if the accordion item is expanded, false otherwise.
|
|
37
39
|
*/
|
|
38
40
|
get isExpanded(): boolean;
|
|
39
41
|
/**
|
|
40
42
|
* Gets the ID of the title element for accessibility purposes.
|
|
41
43
|
* The ID is generated by appending "-title" to the ID of the expandable item.
|
|
42
|
-
*
|
|
44
|
+
*
|
|
45
|
+
* @returns {string} The ID of the title element.
|
|
43
46
|
*/
|
|
44
47
|
get titleId(): string;
|
|
45
48
|
/**
|
|
46
49
|
* Gets the slot ID for the accordion item.
|
|
47
50
|
* The slot ID is generated by appending "-slot" to the ID of the expandable item.
|
|
48
|
-
*
|
|
51
|
+
*
|
|
52
|
+
* @returns {string} The slot ID.
|
|
49
53
|
*/
|
|
50
54
|
get slotId(): string;
|
|
51
55
|
protected onAnimationEnd(): void;
|
|
@@ -6,6 +6,9 @@ export declare class ActionGroupComponent {
|
|
|
6
6
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
7
7
|
/**
|
|
8
8
|
* Indicates whether the action group should be displayed in reverse order.
|
|
9
|
+
*
|
|
10
|
+
* @type {boolean}
|
|
11
|
+
* @default false
|
|
9
12
|
*/
|
|
10
13
|
reverse: boolean;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionGroupComponent, never>;
|
|
@@ -8,7 +8,8 @@ export declare class AreaHeaderComponent {
|
|
|
8
8
|
/**
|
|
9
9
|
* The size of the area header.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @type {AreaHeaderSize}
|
|
12
|
+
* @default AreaHeaderSize.LARGE
|
|
12
13
|
*/
|
|
13
14
|
size: AreaHeaderSize;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AreaHeaderComponent, never>;
|
|
@@ -12,24 +12,37 @@ import * as i1 from "@odx/angular";
|
|
|
12
12
|
*
|
|
13
13
|
* @see {AutocompleteControl}
|
|
14
14
|
*
|
|
15
|
-
* @template T The type of the value handled by the autocomplete.
|
|
15
|
+
* @template T - The type of the value handled by the autocomplete.
|
|
16
16
|
*/
|
|
17
17
|
export declare class AutocompleteComponent<T = unknown> extends AutocompleteControl<T | null> implements AfterViewInit {
|
|
18
18
|
private readonly defaultActiveOptionIndex;
|
|
19
19
|
private patchValueFlag;
|
|
20
20
|
protected readonly clickOutsideDirective: ClickOutsideDirective;
|
|
21
|
+
/**
|
|
22
|
+
* The list of autocomplete options.
|
|
23
|
+
*
|
|
24
|
+
* @type {QueryList<AutocompleteOptionComponent<T>> | undefined}
|
|
25
|
+
*/
|
|
21
26
|
options?: QueryList<AutocompleteOptionComponent<T>>;
|
|
27
|
+
/**
|
|
28
|
+
* The search field input control.
|
|
29
|
+
*
|
|
30
|
+
* @type {AutocompleteInputControlDirective | undefined}
|
|
31
|
+
*/
|
|
22
32
|
searchField?: AutocompleteInputControlDirective;
|
|
23
33
|
readonly dropdownOpenTriggers: never[];
|
|
24
34
|
ngAfterViewInit(): void;
|
|
25
35
|
/**
|
|
26
|
-
* Selects an option, updates the value, updates the search field display,
|
|
36
|
+
* Selects an option, updates the value, updates the search field display,
|
|
37
|
+
* emits the selected value, and closes the dropdown.
|
|
27
38
|
*
|
|
28
|
-
* @param option The option component to select. If the option is undefined or its value is undefined,
|
|
39
|
+
* @param {AutocompleteOptionComponent<T> | null} option - The option component to select. If the option is undefined or its value is undefined,
|
|
40
|
+
* no action is taken.
|
|
29
41
|
*/
|
|
30
42
|
selectOption(option?: AutocompleteOptionComponent<T> | null): void;
|
|
31
43
|
/**
|
|
32
|
-
* Resets the search field to its initial state and updates the value of the autocomplete
|
|
44
|
+
* Resets the search field to its initial state and updates the value of the autocomplete
|
|
45
|
+
* to an empty string or initial value.
|
|
33
46
|
*/
|
|
34
47
|
resetSearchField(): void;
|
|
35
48
|
protected handleQueryListOption(options: QueryList<AutocompleteOptionComponent<T>>): void;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { OptionControl } from '@odx/angular/cdk/option-control';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Represents an option component for the autocomplete control.
|
|
5
|
+
*
|
|
6
|
+
* @template T - The type of the option value.
|
|
7
|
+
*/
|
|
3
8
|
export declare class AutocompleteOptionComponent<T> extends OptionControl<T> {
|
|
4
9
|
protected readonly autocompleteControl: import("@odx/angular/components/autocomplete").AutocompleteComponent<unknown>;
|
|
10
|
+
/**
|
|
11
|
+
* Sets the active styles for the option component.
|
|
12
|
+
*/
|
|
5
13
|
setActiveStyles(): void;
|
|
6
14
|
protected selectOption(): void;
|
|
7
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteOptionComponent<any>, never>;
|
|
@@ -2,6 +2,10 @@ import { ReadonlyController } from '@odx/angular';
|
|
|
2
2
|
import { InputControlDirective } from '@odx/angular/cdk/custom-form-control';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@odx/angular";
|
|
5
|
+
/**
|
|
6
|
+
* Directive for controlling the input in an autocomplete component.
|
|
7
|
+
* Extends the base InputControlDirective class.
|
|
8
|
+
*/
|
|
5
9
|
export declare class AutocompleteInputControlDirective extends InputControlDirective {
|
|
6
10
|
protected readonly readonlyController: ReadonlyController | null;
|
|
7
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteInputControlDirective, never>;
|
|
@@ -4,12 +4,16 @@ export declare class AvatarComponent {
|
|
|
4
4
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
5
5
|
/**
|
|
6
6
|
* The size of the avatar.
|
|
7
|
-
*
|
|
7
|
+
*
|
|
8
|
+
* @type {AvatarSize}
|
|
9
|
+
* @default AvatarSize.SMALL
|
|
8
10
|
*/
|
|
9
11
|
size?: AvatarSize | null;
|
|
10
12
|
/**
|
|
11
13
|
* The variant of the avatar.
|
|
12
|
-
*
|
|
14
|
+
*
|
|
15
|
+
* @type {AvatarVariant}
|
|
16
|
+
* @default AvatarVariant.CIRCLE
|
|
13
17
|
*/
|
|
14
18
|
variant?: AvatarVariant | null;
|
|
15
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
@@ -8,13 +8,24 @@ export declare class BadgeComponent {
|
|
|
8
8
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
9
9
|
/**
|
|
10
10
|
* Indicates whether the badge should have a contrast effect.
|
|
11
|
+
*
|
|
12
|
+
* @type {boolean}
|
|
13
|
+
* @default false
|
|
11
14
|
*/
|
|
12
15
|
contrast: boolean;
|
|
13
16
|
/**
|
|
14
17
|
* The variant of the badge.
|
|
15
|
-
*
|
|
18
|
+
*
|
|
19
|
+
* @type {BadgeVariant}
|
|
20
|
+
* @default BadgeVariant.HIGHLIGHT
|
|
16
21
|
*/
|
|
17
22
|
variant: BadgeVariant;
|
|
23
|
+
/**
|
|
24
|
+
* The value of the badge component.
|
|
25
|
+
* It can be of type `DynamicTextContent` or `null`.
|
|
26
|
+
*
|
|
27
|
+
* @type {DynamicTextContent | null}
|
|
28
|
+
*/
|
|
18
29
|
value?: DynamicTextContent | null;
|
|
19
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
20
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "odx-badge", never, { "contrast": { "alias": "contrast"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -11,22 +11,37 @@ export declare class BadgeDirective implements BadgeComponent, OnChanges, OnDest
|
|
|
11
11
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
12
12
|
/**
|
|
13
13
|
* The value of the badge directive.
|
|
14
|
-
*
|
|
14
|
+
*
|
|
15
|
+
* @type {DynamicTextContent}
|
|
16
|
+
* @default null
|
|
15
17
|
*/
|
|
16
18
|
value?: DynamicTextContent | null;
|
|
17
19
|
/**
|
|
18
20
|
* Indicates whether the badge should have a contrast effect.
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @default false
|
|
19
24
|
*/
|
|
20
25
|
contrast: boolean;
|
|
21
26
|
/**
|
|
22
27
|
* The position of the badge.
|
|
23
|
-
*
|
|
28
|
+
*
|
|
29
|
+
* @type {Position}
|
|
30
|
+
* @default Position.BOTTOM_END
|
|
24
31
|
*/
|
|
25
32
|
position: Position;
|
|
33
|
+
/**
|
|
34
|
+
* The offset of the badge.
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @default 0
|
|
38
|
+
*/
|
|
26
39
|
offset: number;
|
|
27
40
|
/**
|
|
28
41
|
* The variant of the badge.
|
|
29
|
-
*
|
|
42
|
+
*
|
|
43
|
+
* @type {BadgeVariant}
|
|
44
|
+
* @default BadgeVariant.HIGHLIGHT
|
|
30
45
|
*/
|
|
31
46
|
variant: BadgeVariant;
|
|
32
47
|
ngOnChanges(): void;
|
|
@@ -7,6 +7,12 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class BarButtonDirective {
|
|
8
8
|
protected readonly disabledController: DisabledController | null;
|
|
9
9
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
10
|
+
/**
|
|
11
|
+
* The variant of the bar button.
|
|
12
|
+
*
|
|
13
|
+
* @type {BarButtonVariant}
|
|
14
|
+
* @default BarButtonVariant.DEFAULT
|
|
15
|
+
*/
|
|
10
16
|
variant?: BarButtonVariant | null;
|
|
11
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarButtonDirective, never>;
|
|
12
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BarButtonDirective, "button[odxBarButton]", never, { "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -12,9 +12,17 @@ export declare class ButtonComponent {
|
|
|
12
12
|
readonly type: string | null;
|
|
13
13
|
/**
|
|
14
14
|
* The variant of the button.
|
|
15
|
-
*
|
|
15
|
+
*
|
|
16
|
+
* @type {ButtonVariant}
|
|
17
|
+
* @default ButtonVariant.SECONDARY
|
|
16
18
|
*/
|
|
17
19
|
variant?: ButtonVariant | null;
|
|
20
|
+
/**
|
|
21
|
+
* The size of the button.
|
|
22
|
+
*
|
|
23
|
+
* @type {ButtonSize}
|
|
24
|
+
* @default ButtonSize.MEDIUM
|
|
25
|
+
*/
|
|
18
26
|
size?: ButtonSize | null;
|
|
19
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
20
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[odxButton], a[odxButton]", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["odx-icon:not([alignRight])", "*", "odx-icon[alignRight]"], true, [{ directive: typeof i1.WithDisabledState; inputs: {}; outputs: {}; }]>;
|
|
@@ -6,18 +6,30 @@ export declare class ButtonGroupComponent {
|
|
|
6
6
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
7
7
|
/**
|
|
8
8
|
* Specifies whether the buttons in the button group should be aligned to the right.
|
|
9
|
+
*
|
|
10
|
+
* @type {boolean}
|
|
11
|
+
* @default false
|
|
9
12
|
*/
|
|
10
13
|
alignRight: boolean;
|
|
11
14
|
/**
|
|
12
15
|
* Specifies whether the button group should be displayed as a block element.
|
|
16
|
+
*
|
|
17
|
+
* @type {boolean}
|
|
18
|
+
* @default false
|
|
13
19
|
*/
|
|
14
20
|
block: boolean;
|
|
15
21
|
/**
|
|
16
22
|
* Specifies whether the buttons should be displayed vertically.
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @default false
|
|
17
26
|
*/
|
|
18
27
|
vertical: boolean;
|
|
19
28
|
/**
|
|
20
29
|
* Indicates whether the button group should be displayed in reverse order.
|
|
30
|
+
*
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @default false
|
|
21
33
|
*/
|
|
22
34
|
reverse: boolean;
|
|
23
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
@@ -19,6 +19,7 @@ export declare class CalendarComponent implements OnChanges {
|
|
|
19
19
|
* It can be of type `DateType` or `null` if no date is selected.
|
|
20
20
|
*
|
|
21
21
|
* @type {DateType | null}
|
|
22
|
+
* @default null
|
|
22
23
|
*/
|
|
23
24
|
selectedDate: DateType | null;
|
|
24
25
|
/**
|
|
@@ -26,14 +27,23 @@ export declare class CalendarComponent implements OnChanges {
|
|
|
26
27
|
* It can be of type `DateTypeRange` or `null` if no date range is selected.
|
|
27
28
|
*
|
|
28
29
|
* @type {DateTypeRange | null}
|
|
30
|
+
* @default null
|
|
29
31
|
*/
|
|
30
32
|
selectedDateRange?: DateTypeRange | null;
|
|
33
|
+
/**
|
|
34
|
+
* The minimum selectable date for the calendar component.
|
|
35
|
+
* If set to null, there is no minimum date restriction.
|
|
36
|
+
*
|
|
37
|
+
* @type {Date | null}
|
|
38
|
+
* @default null
|
|
39
|
+
*/
|
|
31
40
|
minDate?: Date | null;
|
|
32
41
|
/**
|
|
33
42
|
* The maximum selectable date for the calendar component.
|
|
34
43
|
* If set to null, there is no maximum date restriction.
|
|
35
44
|
*
|
|
36
45
|
* @type {Date | null}
|
|
46
|
+
* @default null
|
|
37
47
|
*/
|
|
38
48
|
maxDate?: Date | null;
|
|
39
49
|
/**
|
|
@@ -41,6 +51,7 @@ export declare class CalendarComponent implements OnChanges {
|
|
|
41
51
|
* If set to `null`, all dates will be selectable.
|
|
42
52
|
*
|
|
43
53
|
* @type {DateFilter | null}
|
|
54
|
+
* @default null
|
|
44
55
|
*
|
|
45
56
|
* @example
|
|
46
57
|
* ```ts
|
|
@@ -2,22 +2,26 @@ import { CalendarSelectionMode } from './models/selection-mode';
|
|
|
2
2
|
export interface CalendarConfig {
|
|
3
3
|
/**
|
|
4
4
|
* Displays the adjacent days in month calendar view.
|
|
5
|
+
*
|
|
5
6
|
* @default true
|
|
6
7
|
*/
|
|
7
8
|
displayAdjacentDays: boolean;
|
|
8
9
|
/**
|
|
9
10
|
* Switches between single selection and a daterange selection.
|
|
11
|
+
*
|
|
10
12
|
* @default CalendarSelectionMode.Date
|
|
11
13
|
*/
|
|
12
14
|
selectionMode: CalendarSelectionMode;
|
|
13
15
|
/**
|
|
14
16
|
* Configuration for the year view.
|
|
17
|
+
*
|
|
15
18
|
* @typedef {Object} YearViewConfig
|
|
16
19
|
* @property {number} itemsPerRow - Number of items to display per row in the year view.
|
|
17
20
|
* @default 3
|
|
18
21
|
*/
|
|
19
22
|
/**
|
|
20
23
|
* Configuration options for the calendar's year view.
|
|
24
|
+
*
|
|
21
25
|
* @type {YearViewConfig}
|
|
22
26
|
*/
|
|
23
27
|
yearView: {
|
|
@@ -25,6 +29,7 @@ export interface CalendarConfig {
|
|
|
25
29
|
};
|
|
26
30
|
/**
|
|
27
31
|
* Configuration for the years view.
|
|
32
|
+
*
|
|
28
33
|
* @typedef {Object} YearsViewConfig
|
|
29
34
|
* @property {number} itemsPerRow - Number of items to display per row in the years view.
|
|
30
35
|
* @property {number} [padding=100] - The number of year items before and after the current year
|
|
@@ -34,6 +39,7 @@ export interface CalendarConfig {
|
|
|
34
39
|
*/
|
|
35
40
|
/**
|
|
36
41
|
* Configuration options for the calendar's years view.
|
|
42
|
+
*
|
|
37
43
|
* @type {YearsViewConfig}
|
|
38
44
|
*/
|
|
39
45
|
yearsView: {
|
|
@@ -12,29 +12,41 @@ export declare class CalendarService {
|
|
|
12
12
|
private readonly calendarView$$;
|
|
13
13
|
private readonly dateSelectEvents$$;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Currently selected date to external subscribers, particularly useful for two-way binding.
|
|
16
|
+
*
|
|
17
|
+
* @emits {Date | null} The currently selected date or null if no date is selected.
|
|
16
18
|
*/
|
|
17
19
|
readonly outputDate$: EventEmitter<Date | null>;
|
|
18
20
|
/**
|
|
19
21
|
* An observable of the current calendar view state, allowing subscribers to adjust UI components
|
|
20
22
|
* based on the view (e.g., month, year, multi-year).
|
|
23
|
+
*
|
|
24
|
+
* @emits {CalendarView} The current calendar view state.
|
|
21
25
|
*/
|
|
22
26
|
readonly calendarView$: import("rxjs").Observable<CalendarView>;
|
|
23
27
|
/**
|
|
24
28
|
* Streams date select events which include the selected date and any associated options.
|
|
29
|
+
*
|
|
30
|
+
* @emits {DateSelectEvent} The date selection event, including the selected date and options.
|
|
25
31
|
*/
|
|
26
32
|
readonly dateSelectEvents$: import("rxjs").Observable<DateSelectEvent>;
|
|
27
33
|
/**
|
|
28
34
|
* Streams the last selected date, enabling components to update based on the latest date selection.
|
|
35
|
+
*
|
|
36
|
+
* @emits {Date | null} The last selected date or null if no date has been selected.
|
|
29
37
|
*/
|
|
30
38
|
readonly selectedDate$: import("rxjs").Observable<Date | null>;
|
|
31
39
|
/**
|
|
32
40
|
* Streams the active date which reflects the date that is being focused, either through UI interactions
|
|
33
41
|
* like clicking or using arrow keys.
|
|
42
|
+
*
|
|
43
|
+
* @emits {Date | null} The active date or null if no date is active.
|
|
34
44
|
*/
|
|
35
45
|
readonly activeDate$: import("rxjs").Observable<Date>;
|
|
36
46
|
/**
|
|
37
47
|
* Combines streams of active and hovered dates to provide a merged view of preview dates.
|
|
48
|
+
*
|
|
49
|
+
* @emits {Date | null} The preview date or null if no date is being previewed.
|
|
38
50
|
*/
|
|
39
51
|
readonly previewDate$: import("rxjs").Observable<Date>;
|
|
40
52
|
/**
|