@odx/angular 6.1.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -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/directives/index.d.ts +2 -0
- package/components/modal/lib/directives/prevent-form-method-dialog.directive.d.ts +9 -0
- package/components/modal/lib/directives/prevent-method-dialog.directive.d.ts +9 -0
- package/components/modal/lib/modal.component.d.ts +11 -3
- package/components/modal/lib/modal.module.d.ts +5 -3
- 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/directives/index.mjs +3 -1
- package/esm2022/components/modal/lib/directives/prevent-form-method-dialog.directive.mjs +23 -0
- package/esm2022/components/modal/lib/directives/prevent-method-dialog.directive.mjs +23 -0
- package/esm2022/components/modal/lib/modal.component.mjs +36 -17
- package/esm2022/components/modal/lib/modal.module.mjs +10 -4
- package/esm2022/components/modal/lib/modal.service.mjs +4 -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 +110 -25
- 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
|
@@ -13,12 +13,16 @@ export declare class FooterComponent {
|
|
|
13
13
|
/**
|
|
14
14
|
* The description of the footer component.
|
|
15
15
|
* It can be of type DynamicTextContent or null.
|
|
16
|
-
*
|
|
16
|
+
*
|
|
17
|
+
* @type {DynamicTextContent}
|
|
18
|
+
* @default null
|
|
17
19
|
*/
|
|
18
20
|
description?: DynamicTextContent | null;
|
|
19
21
|
/**
|
|
20
22
|
* The variant of the footer component.
|
|
21
|
-
*
|
|
23
|
+
*
|
|
24
|
+
* @type {FooterVariant}
|
|
25
|
+
* @default FooterVariant.LIGHT
|
|
22
26
|
*/
|
|
23
27
|
variant: FooterVariant;
|
|
24
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
@@ -5,8 +5,7 @@ import { FooterLink } from '../models';
|
|
|
5
5
|
* It leverages the footer links configuration injected from `injectFooterLinksConfig` and optionally includes
|
|
6
6
|
* dynamic links if provided. All links are filtered to include only those with a non-empty URL.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
9
|
-
* @returns {Observable<FooterLink[]>} An Observable that emits an array of `FooterLink` objects. Each `FooterLink`
|
|
8
|
+
* @returns {Observable<FooterLink[]>} - An Observable that emits an array of `FooterLink` objects. Each `FooterLink`
|
|
10
9
|
* contains a `name` and a `url`. The observable emits updates if the set of dynamic links changes.
|
|
11
10
|
*/
|
|
12
11
|
export declare function createFooterLinks$(): Observable<FooterLink[]>;
|
|
@@ -14,7 +14,8 @@ export declare class FormFieldInfoComponent {
|
|
|
14
14
|
* the form field error state including the message to be displayed, the key identifier of the error, and
|
|
15
15
|
* any contextual data that might be necessary for error resolution.
|
|
16
16
|
*
|
|
17
|
-
* @
|
|
17
|
+
* @type {FormFieldError}
|
|
18
|
+
* @default null
|
|
18
19
|
*/
|
|
19
20
|
error: FormFieldError | null;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldInfoComponent, never>;
|
|
@@ -14,13 +14,18 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
export declare class FormGroupComponent implements AfterContentInit {
|
|
15
15
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
16
16
|
/**
|
|
17
|
-
* An observable that emits the current error state of the form group. It is calculated by combining
|
|
18
|
-
* of all child form fields and selecting the most relevant error to display.
|
|
17
|
+
* An observable that emits the current error state of the form group. It is calculated by combining
|
|
18
|
+
* the error states of all child form fields and selecting the most relevant error to display.
|
|
19
|
+
*
|
|
20
|
+
* @type {Observable<FormFieldError | null> | null}
|
|
21
|
+
* @default null
|
|
19
22
|
*/
|
|
20
23
|
error$: Observable<FormFieldError | null> | null;
|
|
21
24
|
/**
|
|
22
25
|
* A QueryList containing all instances of FormFieldErrorService used by child components of this form group. This list
|
|
23
26
|
* is used to subscribe to error changes in all child components and dynamically update the group's error state.
|
|
27
|
+
*
|
|
28
|
+
* @type {QueryList<FormFieldErrorService>}
|
|
24
29
|
*/
|
|
25
30
|
formFieldErrorServices: QueryList<FormFieldErrorService>;
|
|
26
31
|
ngAfterContentInit(): void;
|
|
@@ -9,11 +9,15 @@ export declare class FormDirective {
|
|
|
9
9
|
/**
|
|
10
10
|
* An Observable that emits events every time the form is submitted. This stream is shared among multiple subscribers,
|
|
11
11
|
* which means the form's submit event is processed as it occurs and is multicasted to all subscribers.
|
|
12
|
+
*
|
|
13
|
+
* @emits {Event} The submit event emitted by the form element.
|
|
12
14
|
*/
|
|
13
15
|
readonly submit$: import("rxjs").Observable<Event>;
|
|
14
16
|
/**
|
|
15
17
|
* An Observable that emits events every time the form is reset. Similar to `submit$`, this stream is also shared
|
|
16
18
|
* among multiple subscribers, allowing components to react to form resets reactively and concurrently.
|
|
19
|
+
*
|
|
20
|
+
* @emits {Event} The reset event emitted by the form element.
|
|
17
21
|
*/
|
|
18
22
|
readonly reset$: import("rxjs").Observable<Event>;
|
|
19
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormDirective, never>;
|
|
@@ -17,27 +17,42 @@ export declare class FormFieldComponent {
|
|
|
17
17
|
readonly element: ElementRef<HTMLElement>;
|
|
18
18
|
/**
|
|
19
19
|
* The label directive associated with the form field component.
|
|
20
|
-
*
|
|
20
|
+
*
|
|
21
|
+
* @type {FormFieldLabelDirective | undefined}
|
|
21
22
|
*/
|
|
22
23
|
labelDirective?: FormFieldLabelDirective;
|
|
23
24
|
/**
|
|
24
25
|
* The control element of the form field component.
|
|
26
|
+
*
|
|
27
|
+
* @type {ElementRef<HTMLDivElement>}
|
|
25
28
|
*/
|
|
26
29
|
controlElement: ElementRef<HTMLDivElement>;
|
|
27
30
|
/**
|
|
28
31
|
* The label of the form field component.
|
|
32
|
+
*
|
|
33
|
+
* @type {string | null}
|
|
34
|
+
* @default null
|
|
29
35
|
*/
|
|
30
36
|
label?: string | null;
|
|
31
37
|
/**
|
|
32
38
|
* Indicates whether the form field should have a warning.
|
|
39
|
+
*
|
|
40
|
+
* @type {boolean}
|
|
33
41
|
*/
|
|
34
42
|
set hasWarning(value: boolean);
|
|
35
43
|
get hasWarning(): boolean;
|
|
36
44
|
/**
|
|
37
45
|
* The variant of the form field.
|
|
38
|
-
*
|
|
46
|
+
*
|
|
47
|
+
* @type {FormFieldVariant}
|
|
48
|
+
* @default FormFieldVariant.FULL
|
|
39
49
|
*/
|
|
40
50
|
variant: FormFieldVariant | null;
|
|
51
|
+
/**
|
|
52
|
+
* Indicates whether the form field has a label.
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
*/
|
|
41
56
|
get hasLabel(): boolean;
|
|
42
57
|
constructor();
|
|
43
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
@@ -26,35 +26,56 @@ export declare class FormFieldService extends Controller implements OnDestroy {
|
|
|
26
26
|
/**
|
|
27
27
|
* Observable that emits the currently registered control object, which includes
|
|
28
28
|
* both the control instance and the associated native HTML element.
|
|
29
|
+
*
|
|
30
|
+
* @emits {FieldControl | null}
|
|
29
31
|
*/
|
|
30
32
|
readonly control$: Observable<FieldControl | null>;
|
|
31
33
|
/**
|
|
32
|
-
* Observable that emits the ID of the current control's HTML element. Generates a unique ID
|
|
34
|
+
* Observable that emits the ID of the current control's HTML element. Generates a unique ID
|
|
35
|
+
* if not already assigned.
|
|
36
|
+
*
|
|
37
|
+
* @emits {string | null}
|
|
33
38
|
*/
|
|
34
39
|
readonly controlId$: Observable<string | null>;
|
|
35
40
|
/**
|
|
36
|
-
* Observable that emits the hint ID associated with the control, which is typically used for accessibility
|
|
41
|
+
* Observable that emits the hint ID associated with the control, which is typically used for accessibility
|
|
42
|
+
* purposes.
|
|
43
|
+
*
|
|
44
|
+
* @emits {string | null}
|
|
37
45
|
*/
|
|
38
46
|
readonly controlHintId$: Observable<string | null>;
|
|
39
47
|
/**
|
|
40
|
-
* Observable that emits the error message ID associated with the control,
|
|
48
|
+
* Observable that emits the error message ID associated with the control,
|
|
49
|
+
* used for linking form errors for accessibility.
|
|
50
|
+
*
|
|
51
|
+
* @emits {string | null}
|
|
41
52
|
*/
|
|
42
53
|
readonly controlErrorId$: Observable<string | null>;
|
|
43
54
|
/**
|
|
44
|
-
* Observable that emits a boolean indicating whether the control is disabled,
|
|
55
|
+
* Observable that emits a boolean indicating whether the control is disabled,
|
|
56
|
+
* combining both internal state and controller state.
|
|
57
|
+
*
|
|
58
|
+
* @emits {boolean}
|
|
45
59
|
*/
|
|
46
60
|
readonly isDisabled$: Observable<boolean>;
|
|
47
61
|
/**
|
|
48
|
-
* Observable that emits a boolean indicating whether the control is required,
|
|
62
|
+
* Observable that emits a boolean indicating whether the control is required,
|
|
63
|
+
* based on the presence of the required attribute or validator.
|
|
64
|
+
*
|
|
65
|
+
* @emits {boolean}
|
|
49
66
|
*/
|
|
50
67
|
readonly isRequired$: Observable<boolean>;
|
|
51
68
|
/**
|
|
52
|
-
* Observable that emits a boolean indicating whether the control is readonly,
|
|
69
|
+
* Observable that emits a boolean indicating whether the control is readonly,
|
|
70
|
+
* based on the presence of the readonly attribute.
|
|
71
|
+
*
|
|
72
|
+
* @emits {boolean}
|
|
53
73
|
*/
|
|
54
74
|
readonly isReadonly$: Observable<boolean>;
|
|
55
75
|
ngOnDestroy(): void;
|
|
56
76
|
/**
|
|
57
77
|
* Registers a control along with its native element to the service.
|
|
78
|
+
*
|
|
58
79
|
* @param {AbstractControl} control - The Angular form control.
|
|
59
80
|
* @param {ElementRef<HTMLElement>} nativeElement - The native element associated with the form control.
|
|
60
81
|
*/
|
|
@@ -14,26 +14,34 @@ export declare class FormFieldErrorService implements OnDestroy {
|
|
|
14
14
|
/**
|
|
15
15
|
* An Observable that emits the resolved form field error based on current validations and custom errors.
|
|
16
16
|
* It outputs either a `FormFieldError` object with a message and context or `null` if no errors are found.
|
|
17
|
+
*
|
|
18
|
+
* @emits {FormFieldError | null}
|
|
17
19
|
*/
|
|
18
20
|
readonly error$: import("rxjs").Observable<FormFieldError | null>;
|
|
19
21
|
/**
|
|
20
22
|
* An Observable that emits a boolean indicating whether there are any active errors.
|
|
23
|
+
*
|
|
24
|
+
* @emits {boolean}
|
|
21
25
|
*/
|
|
22
26
|
readonly hasError$: import("rxjs").Observable<boolean>;
|
|
23
27
|
/**
|
|
24
28
|
* Gets a boolean indicating whether the current field has any errors.
|
|
29
|
+
*
|
|
30
|
+
* @returns {boolean}
|
|
25
31
|
*/
|
|
26
32
|
get hasError(): boolean;
|
|
27
33
|
ngOnDestroy(): void;
|
|
28
34
|
/**
|
|
29
35
|
* Sets the first relevant error from the ValidationErrors object if any error matches the non-ignored error list.
|
|
30
|
-
*
|
|
36
|
+
*
|
|
37
|
+
* @param {ValidationErrors | null} errors ValidationErrors object containing potential errors from a form control.
|
|
31
38
|
*/
|
|
32
39
|
setError(errors?: ValidationErrors | null): void;
|
|
33
40
|
/**
|
|
34
41
|
* Registers a custom error template for a specific error key.
|
|
35
|
-
*
|
|
36
|
-
* @param
|
|
42
|
+
*
|
|
43
|
+
* @param {string | undefined} key The error key to register the custom template under. If omitted, a default key is used.
|
|
44
|
+
* @param {TemplateRef<unknown>} template A TemplateRef instance containing the Angular template to display for this error.
|
|
37
45
|
*/
|
|
38
46
|
registerCustomError(key: string | undefined, template: TemplateRef<unknown>): void;
|
|
39
47
|
private getFirstError;
|
|
@@ -6,6 +6,9 @@ export declare class HeaderNavigationComponent {
|
|
|
6
6
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
7
7
|
/**
|
|
8
8
|
* Indicates whether the header navigation should be centered.
|
|
9
|
+
*
|
|
10
|
+
* @type {boolean}
|
|
11
|
+
* @default false
|
|
9
12
|
*/
|
|
10
13
|
centered: boolean;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderNavigationComponent, never>;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* The identifier is expected to follow the format "iconSet::iconName". If the "iconName" part is
|
|
4
4
|
* missing, the function assumes the icon belongs to the 'core' set.
|
|
5
5
|
*
|
|
6
|
-
* @param value The combined identifier string in the format "iconSet::iconName".
|
|
7
|
-
* @returns A tuple containing the icon set and icon name as two separate strings. Defaults to 'core'
|
|
6
|
+
* @param {string} value The combined identifier string in the format "iconSet::iconName".
|
|
7
|
+
* @returns {[iconSet: string, iconName: string]} A tuple containing the icon set and icon name as two separate strings. Defaults to 'core'
|
|
8
8
|
* if the iconName is omitted in the input.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
@@ -11,24 +11,36 @@ export declare class IconComponent {
|
|
|
11
11
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
12
12
|
/**
|
|
13
13
|
* Determines whether the icon should be displayed inline with text or other elements.
|
|
14
|
+
*
|
|
15
|
+
* @type {boolean}
|
|
16
|
+
* @default false
|
|
14
17
|
*/
|
|
15
18
|
inline: boolean;
|
|
16
19
|
/**
|
|
17
20
|
* Specifies the size of the icon, which can be adjusted using predefined sizes from the IconSize enum.
|
|
18
|
-
*
|
|
21
|
+
*
|
|
22
|
+
* @type {IconSize}
|
|
23
|
+
* @default IconSize.MEDIUM
|
|
19
24
|
*/
|
|
20
25
|
size: IconSize;
|
|
21
26
|
/**
|
|
22
27
|
* The name of the icon to be displayed, which corresponds to specific icons within a given icon set.
|
|
28
|
+
*
|
|
29
|
+
* @type {string | null}
|
|
30
|
+
* @default null
|
|
23
31
|
*/
|
|
24
32
|
name: string | null;
|
|
25
33
|
/**
|
|
26
34
|
* Specifies the icon set that the icon belongs to. The default set can be injected from the icon configuration.
|
|
35
|
+
*
|
|
36
|
+
* @type {string | null}
|
|
27
37
|
*/
|
|
28
38
|
iconSet: string | null;
|
|
29
39
|
/**
|
|
30
40
|
* Allows for setting both the icon set and icon name via a single identifier, typically formatted as 'set::name'.
|
|
31
41
|
* Unpacking this identifier sets both `name` and `iconSet` properties.
|
|
42
|
+
*
|
|
43
|
+
* @param {string | null | undefined} value - The identifier to unpack.
|
|
32
44
|
*/
|
|
33
45
|
set identifier(value: string | null | undefined);
|
|
34
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
@@ -10,11 +10,15 @@ export declare class InlineMessageComponent {
|
|
|
10
10
|
/**
|
|
11
11
|
* Determines the type of message to display, which influences the icon and styling.
|
|
12
12
|
* Default is `InlineMessageVariant.DEFAULT`, which is typically styled as an informational message.
|
|
13
|
-
*
|
|
13
|
+
*
|
|
14
|
+
* @type {InlineMessageVariant}
|
|
15
|
+
* @default InlineMessageVariant.DEFAULT
|
|
14
16
|
*/
|
|
15
17
|
variant?: InlineMessageVariant | null;
|
|
16
18
|
/**
|
|
17
19
|
* Getter for the icon name based on the current variant.
|
|
20
|
+
*
|
|
21
|
+
* @returns {string} The icon name to display.
|
|
18
22
|
*/
|
|
19
23
|
get icon(): string;
|
|
20
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<InlineMessageComponent, never>;
|
package/components/list/lib/components/expandable-list-item/expandable-list-item.component.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as i1 from "@odx/angular/cdk/expandable";
|
|
|
5
5
|
* Represents a component that serves as an expandable list item within an application.
|
|
6
6
|
* It uses animations for expanding and collapsing content, and it integrates seamlessly
|
|
7
7
|
* with other components such as buttons and icons for interactive elements.
|
|
8
|
+
*
|
|
8
9
|
* @see {ExpandableItemDirective}
|
|
9
10
|
*/
|
|
10
11
|
export declare class ExpandableListItemComponent {
|
|
@@ -13,20 +13,29 @@ export declare class ListItemComponent implements OnChanges {
|
|
|
13
13
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
14
14
|
/**
|
|
15
15
|
* Marks the list item as potentially harmful or attention-needing, affecting its style and appearance.
|
|
16
|
+
*
|
|
16
17
|
* @deprecated Use `variant` instead.
|
|
17
18
|
*/
|
|
18
19
|
danger: boolean;
|
|
19
20
|
/**
|
|
20
21
|
* Specifies the visual variant of the list item.
|
|
21
|
-
*
|
|
22
|
+
*
|
|
23
|
+
* @type {ListItemVariant}
|
|
24
|
+
* @default ListItemVariant.DEFAULT
|
|
22
25
|
*/
|
|
23
26
|
variant: ListItemVariant;
|
|
24
27
|
/**
|
|
25
28
|
* Marks the list item as disabled, preventing user interaction and changing its appearance.
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @default false
|
|
26
32
|
*/
|
|
27
33
|
muted: boolean;
|
|
28
34
|
/**
|
|
29
35
|
* Marks the list item as selected, changing its appearance to indicate its state.
|
|
36
|
+
*
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @default false
|
|
30
39
|
*/
|
|
31
40
|
selected: boolean;
|
|
32
41
|
ngOnChanges(changes: NgChanges<ListItemComponent>): void;
|
|
@@ -3,6 +3,7 @@ import * as i1 from "@odx/angular/cdk/expandable";
|
|
|
3
3
|
/**
|
|
4
4
|
* Represents a list component that can optionally act as an expandable container. This component can be used
|
|
5
5
|
* to display a list of items where each item might be individually expandable.
|
|
6
|
+
*
|
|
6
7
|
* @see {ExpandableContainerDirective}
|
|
7
8
|
*/
|
|
8
9
|
export declare class ListComponent {
|
|
@@ -13,6 +13,9 @@ export declare class LoadingSpinnerComponent implements OnInit {
|
|
|
13
13
|
* Indicates whether the color of the loading spinner should be automatically determined.
|
|
14
14
|
* If set to true, the color will be based on the theme of the parent container.
|
|
15
15
|
* If set to false, the color will be the default color specified in the component's styles.
|
|
16
|
+
*
|
|
17
|
+
* @type {boolean}
|
|
18
|
+
* @default false
|
|
16
19
|
*/
|
|
17
20
|
autoColor: boolean;
|
|
18
21
|
ngOnInit(): void;
|
|
@@ -16,17 +16,24 @@ export declare class LoadingSpinnerDirective {
|
|
|
16
16
|
/**
|
|
17
17
|
* Whether the spinner should automatically adjust its color based on the background.
|
|
18
18
|
* Allows the user to specify if the spinner should use automatic color adjustment.
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @default false
|
|
19
22
|
*/
|
|
20
23
|
autoColor: boolean;
|
|
21
24
|
/**
|
|
22
25
|
* Controls whether the spinner is visible or not.
|
|
23
26
|
* Manages the loading state, showing or hiding the spinner accordingly.
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
24
29
|
*/
|
|
25
30
|
set isLoading(value: boolean);
|
|
26
31
|
get isLoading(): boolean;
|
|
27
32
|
/**
|
|
28
33
|
* Sets the minimum height for the host element when the spinner is active, to avoid layout shifts.
|
|
29
34
|
* Specifies the minimum height for the spinner's parent element.
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
30
37
|
*/
|
|
31
38
|
set minHeight(value: number);
|
|
32
39
|
/**
|
|
@@ -11,7 +11,6 @@ export declare class ModalHeaderComponent implements AfterContentInit {
|
|
|
11
11
|
* The area header component associated with the modal header.
|
|
12
12
|
*
|
|
13
13
|
* @type {AreaHeaderComponent | undefined}
|
|
14
|
-
* @remarks This component is optional.
|
|
15
14
|
*/
|
|
16
15
|
areaHeaderComponent?: AreaHeaderComponent;
|
|
17
16
|
constructor();
|
|
@@ -7,6 +7,8 @@ export declare class ModalHeroComponent {
|
|
|
7
7
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
8
8
|
/**
|
|
9
9
|
* The modal reference of the modal hero component.
|
|
10
|
+
*
|
|
11
|
+
* @type {ModalRef}
|
|
10
12
|
*/
|
|
11
13
|
readonly modalRef: import("../../models").ModalRef<unknown, unknown>;
|
|
12
14
|
/**
|
|
@@ -19,6 +21,7 @@ export declare class ModalHeroComponent {
|
|
|
19
21
|
* The icon set of the modal hero component.
|
|
20
22
|
*
|
|
21
23
|
* @type {string}
|
|
24
|
+
* @default 'core'
|
|
22
25
|
*/
|
|
23
26
|
iconSet: string;
|
|
24
27
|
/**
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Directive that prevents the default form method behavior on submit buttons inside an HTML Dialog form.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PreventFormMethodDialogDirective {
|
|
6
|
+
protected onClick(event: Event): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreventFormMethodDialogDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PreventFormMethodDialogDirective, "[formmethod=dialog]", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Directive that prevents the default form submission behavior inside an HTML Dialog form.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PreventMethodDialogDirective {
|
|
6
|
+
protected onFormSubmit(event: Event): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreventMethodDialogDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PreventMethodDialogDirective, "form[method=dialog]", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AnimationEvent } from '@angular/animations';
|
|
1
2
|
import { Injector, OnChanges } from '@angular/core';
|
|
2
3
|
import { DynamicContent, DynamicTextContent } from '@odx/angular/cdk/dynamic-view';
|
|
3
4
|
import { NgChanges } from '@odx/angular/utils';
|
|
@@ -12,7 +13,7 @@ export declare class ModalComponent implements OnChanges {
|
|
|
12
13
|
protected readonly context: {
|
|
13
14
|
$implicit: import("@odx/angular/components/modal").ModalRef<unknown, unknown>;
|
|
14
15
|
};
|
|
15
|
-
readonly element: import("@angular/core").ElementRef<
|
|
16
|
+
readonly element: import("@angular/core").ElementRef<HTMLDialogElement>;
|
|
16
17
|
/**
|
|
17
18
|
* Size of the modal as a CSS modifier based on modal options.
|
|
18
19
|
*
|
|
@@ -29,6 +30,7 @@ export declare class ModalComponent implements OnChanges {
|
|
|
29
30
|
* Boolean that indicates if the content is a component type rather than a template.
|
|
30
31
|
*
|
|
31
32
|
* @type {boolean}
|
|
33
|
+
* @default false
|
|
32
34
|
*/
|
|
33
35
|
withComponent: boolean;
|
|
34
36
|
/**
|
|
@@ -40,7 +42,13 @@ export declare class ModalComponent implements OnChanges {
|
|
|
40
42
|
content: Exclude<DynamicContent, DynamicTextContent>;
|
|
41
43
|
constructor();
|
|
42
44
|
ngOnChanges(changes: NgChanges<ModalComponent>): void;
|
|
43
|
-
protected
|
|
45
|
+
protected animationStart(event: AnimationEvent): void;
|
|
46
|
+
protected animationDone(event: AnimationEvent): void;
|
|
47
|
+
/**
|
|
48
|
+
* Prevents the default behavior of the specified event and dismisses the modal if it is dismissable.
|
|
49
|
+
* 'Cancel' event is called by HTML Dialog on ESC key press.
|
|
50
|
+
*/
|
|
51
|
+
protected cancelPrevent(event: Event): void;
|
|
44
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "odx-modal", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "dialog[odx-dialog-modal]", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
54
|
}
|
|
@@ -9,10 +9,12 @@ import * as i7 from "./modal.directive";
|
|
|
9
9
|
import * as i8 from "./directives/modal-close.directive";
|
|
10
10
|
import * as i9 from "./directives/modal-content.directive";
|
|
11
11
|
import * as i10 from "./directives/modal-dismiss.directive";
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
12
|
+
import * as i11 from "./directives/prevent-method-dialog.directive";
|
|
13
|
+
import * as i12 from "./directives/prevent-form-method-dialog.directive";
|
|
14
|
+
import * as i13 from "@odx/angular";
|
|
15
|
+
import * as i14 from "@odx/angular/components/area-header";
|
|
14
16
|
export declare class ModalModule {
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ModalModule, never, [typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.ModalComponent, typeof i4.ModalHeaderComponent, typeof i5.ModalHeroComponent, typeof i6.ModalFooterComponent, typeof i7.ModalDirective, typeof i8.ModalCloseDirective, typeof i9.ModalContentDirective, typeof i10.ModalDismissDirective], [typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ModalModule, never, [typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.ModalComponent, typeof i4.ModalHeaderComponent, typeof i5.ModalHeroComponent, typeof i6.ModalFooterComponent, typeof i7.ModalDirective, typeof i8.ModalCloseDirective, typeof i9.ModalContentDirective, typeof i10.ModalDismissDirective, typeof i11.PreventMethodDialogDirective, typeof i12.PreventFormMethodDialogDirective], [typeof i13.CoreModule, typeof i14.AreaHeaderModule, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.ModalComponent, typeof i4.ModalHeaderComponent, typeof i5.ModalHeroComponent, typeof i6.ModalFooterComponent, typeof i7.ModalDirective, typeof i8.ModalCloseDirective, typeof i9.ModalContentDirective, typeof i10.ModalDismissDirective, typeof i11.PreventMethodDialogDirective, typeof i12.PreventFormMethodDialogDirective]>;
|
|
17
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<ModalModule>;
|
|
18
20
|
}
|
|
@@ -47,15 +47,17 @@ export declare class ModalService {
|
|
|
47
47
|
*
|
|
48
48
|
* @template Data The type of data passed to the modal.
|
|
49
49
|
* @template Result The type of result returned by the modal.
|
|
50
|
-
* @param id The ID of the modal.
|
|
51
|
-
* @returns The modal reference if found, otherwise null.
|
|
50
|
+
* @param {ModalOptions['id']} id The ID of the modal.
|
|
51
|
+
* @returns {ModalRef<Data, Result> | null} - The modal reference if found, otherwise null.
|
|
52
52
|
*/
|
|
53
53
|
getModalById<Data = unknown, Result = unknown>(id: ModalOptions['id']): ModalRef<Data, Result> | null;
|
|
54
54
|
/**
|
|
55
55
|
* Creates a modal with the specified options.
|
|
56
|
-
* @
|
|
57
|
-
* @
|
|
58
|
-
* @
|
|
56
|
+
* @template Data - The type of data passed to the modal for use in its content.
|
|
57
|
+
* @template Result - The type of result expected when the modal is closed.
|
|
58
|
+
* @param {Data} modal - The basic modal options.
|
|
59
|
+
* @param {Partial<ModalOptions<Data>> | undefined} options - Additional modal options.
|
|
60
|
+
* @returns {ModalRef<Data, Result>} The reference to the created modal.
|
|
59
61
|
*/
|
|
60
62
|
create<Data extends BasicModalOptions, Result = GetModalActionData<Data>>(modal: Data, options?: Partial<ModalOptions<Data>>): ModalRef<Data, Result>;
|
|
61
63
|
/**
|
|
@@ -6,6 +6,9 @@ import { ModalOptions } from './modal-options';
|
|
|
6
6
|
* This class extends the `Controller` base class from `@odx/angular`, adding modal-specific functionalities like
|
|
7
7
|
* handling closures and dismissals.
|
|
8
8
|
*
|
|
9
|
+
* @template Data - The type of data passed to the modal.
|
|
10
|
+
* @template Result - The type of the result emitted when the modal is closed.
|
|
11
|
+
*
|
|
9
12
|
* @see {Controller}
|
|
10
13
|
*/
|
|
11
14
|
export declare class ModalRef<Data = unknown, Result = unknown> extends Controller {
|
|
@@ -20,14 +23,25 @@ export declare class ModalRef<Data = unknown, Result = unknown> extends Controll
|
|
|
20
23
|
readonly onDestroy$: import("rxjs").Observable<void>;
|
|
21
24
|
/** A method that returns whether the modal is currently active. */
|
|
22
25
|
readonly isActive: () => boolean;
|
|
23
|
-
/** Gets the unique identifier for the modal instance.
|
|
26
|
+
/** Gets the unique identifier for the modal instance.
|
|
27
|
+
*
|
|
28
|
+
* @returns {string} The unique identifier for the modal instance.
|
|
29
|
+
*/
|
|
24
30
|
get id(): string;
|
|
25
|
-
/** Gets the ARIA label ID for the modal title, based on the modal's ID.
|
|
31
|
+
/** Gets the ARIA label ID for the modal title, based on the modal's ID.
|
|
32
|
+
*
|
|
33
|
+
* @returns {string} The ARIA label ID for the modal title.
|
|
34
|
+
*/
|
|
26
35
|
get modalTitleId(): string;
|
|
27
|
-
/** Gets the data passed to the modal. This is useful for modal initialization.
|
|
36
|
+
/** Gets the data passed to the modal. This is useful for modal initialization.
|
|
37
|
+
*
|
|
38
|
+
* @returns {Data} The data passed to the modal.
|
|
39
|
+
*/
|
|
28
40
|
get data(): Data;
|
|
29
41
|
/** Gets the current options for the modal. These options include configurations.
|
|
30
|
-
*
|
|
42
|
+
*
|
|
43
|
+
* @template Data - The type of data passed to the modal.
|
|
44
|
+
* @returns {ModalOptions<Data>} The current options for the modal.
|
|
31
45
|
*/
|
|
32
46
|
get options(): ModalOptions<Data>;
|
|
33
47
|
constructor(internalOptions: ModalOptions<Data>, isActive: (modalRef: ModalRef<Data, Result>) => boolean);
|
package/components/notification/lib/components/notification-item/notification-item.component.d.ts
CHANGED
|
@@ -6,8 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* A component for displaying notifications.
|
|
7
7
|
* Supports customization through dynamic transformation of notification data.
|
|
8
8
|
* Utilizes the OnPush change detection strategy for better performance in large applications.
|
|
9
|
-
*
|
|
10
|
-
* @component
|
|
11
9
|
*/
|
|
12
10
|
export declare class NotificationItemComponent {
|
|
13
11
|
private readonly transformNotification;
|
|
@@ -18,18 +16,20 @@ export declare class NotificationItemComponent {
|
|
|
18
16
|
* Input property to set the notification. On setting, it transforms the notification for display.
|
|
19
17
|
* This transformation can be a custom logic provided through dependency injection.
|
|
20
18
|
*
|
|
21
|
-
* @param value
|
|
19
|
+
* @param {NotificationRef} value - The notification object to be displayed.
|
|
22
20
|
*/
|
|
23
21
|
set notification(value: NotificationRef);
|
|
24
22
|
/**
|
|
25
23
|
* Getter for the notification property.
|
|
26
24
|
*
|
|
27
|
-
* @returns NotificationRef - The current notification reference stored in the component.
|
|
25
|
+
* @returns {NotificationRef} - The current notification reference stored in the component.
|
|
28
26
|
*/
|
|
29
27
|
get notification(): NotificationRef;
|
|
30
28
|
/**
|
|
31
29
|
* An event emitter for dismissing the notification.
|
|
32
30
|
* It emits the notification reference that was dismissed.
|
|
31
|
+
*
|
|
32
|
+
* @emits {NotificationRef} - The notification reference that was dismissed.
|
|
33
33
|
*/
|
|
34
34
|
dismiss: EventEmitter<NotificationRef>;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationItemComponent, never>;
|
|
@@ -23,17 +23,20 @@ export declare class NotificationCenterDirective implements OnInit, AfterViewIni
|
|
|
23
23
|
private readonly badgeValue$;
|
|
24
24
|
/**
|
|
25
25
|
* Sets the tag for filtering notifications. Only notifications with this tag will be shown in the notification center.
|
|
26
|
-
*
|
|
26
|
+
*
|
|
27
|
+
* @param {string | null} value - The tag value to filter notifications. If null, all notifications are shown.
|
|
27
28
|
*/
|
|
28
29
|
set tag(value: string | null);
|
|
29
30
|
/**
|
|
30
31
|
* Sets the title of the notification center. The title can be dynamic and change based on the application state.
|
|
31
|
-
*
|
|
32
|
+
*
|
|
33
|
+
* @param {DynamicTextContent | null} value - The title content, which can be a string or an Observable returning a string. Allows for dynamic titles.
|
|
32
34
|
*/
|
|
33
35
|
set title(value: DynamicTextContent | null);
|
|
34
36
|
/**
|
|
35
37
|
* Sets the sorting function used to order notifications within the notification center.
|
|
36
|
-
*
|
|
38
|
+
*
|
|
39
|
+
* @param {NotificationSortFn} value - A function that compares two notifications and returns the sort order.
|
|
37
40
|
*
|
|
38
41
|
* @example
|
|
39
42
|
* ```ts
|