@odx/angular 2.16.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/breakpoints/lib/directives/match-breakpoints.directive.d.ts +1 -1
- package/cdk/active-indicator/lib/active-indicator.directive.d.ts +1 -1
- package/cdk/autocomplete-control/lib/autocomplete-control.d.ts +2 -3
- package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +2 -3
- package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +3 -3
- package/cdk/custom-form-control/lib/custom-form-control.d.ts +2 -2
- package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +1 -1
- package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +1 -1
- package/cdk/expandable/lib/directives/expandable-container.directive.d.ts +20 -0
- package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +11 -8
- package/cdk/expandable/lib/directives/index.d.ts +1 -1
- package/cdk/expandable/lib/expandable.module.d.ts +1 -1
- package/cdk/expandable/lib/expandable.tokens.d.ts +2 -1
- package/cdk/expandable/lib/facade/expandable-container.d.ts +6 -3
- package/cdk/expandable/lib/facade/expandable-item.d.ts +6 -3
- package/cdk/option-control/lib/option-control.d.ts +1 -1
- package/cdk/radio-group-control/lib/radio-control.directive.d.ts +1 -1
- package/components/accordion/lib/accordion.component.d.ts +3 -3
- package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +4 -3
- package/components/action-group/action-group.component.d.ts +2 -3
- package/components/area-header/area-header.component.d.ts +1 -1
- package/components/avatar/lib/avatar.component.d.ts +1 -1
- package/components/badge/lib/badge.component.d.ts +2 -3
- package/components/badge/lib/badge.directive.d.ts +4 -3
- package/components/bar/lib/directives/bar-button.directive.d.ts +1 -1
- package/components/button/lib/button.component.d.ts +1 -1
- package/components/button/lib/directives/responsive-button.directive.d.ts +1 -1
- package/components/button-group/lib/button-group.component.d.ts +5 -6
- package/components/calendar/lib/calendar.component.d.ts +1 -1
- package/components/calendar/lib/components/calendar-header/calendar-header.component.d.ts +1 -1
- package/components/calendar/lib/directives/calendar-cell.directive.d.ts +1 -1
- package/components/calendar/lib/directives/calendar-view.directive.d.ts +1 -1
- package/components/card/lib/card.component.d.ts +1 -1
- package/components/checkbox/lib/checkbox.component.d.ts +3 -4
- package/components/chip/lib/components/chip/chip.component.d.ts +2 -3
- package/components/circular-progress/lib/circular-progress.component.d.ts +4 -6
- package/components/datepicker/lib/datepicker.component.d.ts +1 -1
- package/components/dropdown/lib/dropdown.component.d.ts +3 -2
- package/components/dropdown/lib/dropdown.directive.d.ts +4 -4
- package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +1 -1
- package/components/form-field/lib/directives/form-field-error.directive.d.ts +1 -1
- package/components/form-field/lib/form-field.component.d.ts +3 -3
- package/components/icon/lib/icon.component.d.ts +2 -3
- package/components/inline-message/lib/inline-message.component.d.ts +1 -1
- package/components/list/lib/components/expandable-list-item/expandable-list-item.component.d.ts +4 -9
- package/components/list/lib/components/list-item/list-item.component.d.ts +3 -4
- package/components/list/lib/list.component.d.ts +3 -4
- package/components/loading-spinner/lib/loading-spinner.component.d.ts +1 -1
- package/components/loading-spinner/lib/loading-spinner.directive.d.ts +6 -7
- package/components/logo/logo.directive.d.ts +1 -1
- package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +2 -3
- package/components/main-menu/lib/main-menu.component.d.ts +2 -3
- package/components/menu/lib/menu.component.d.ts +2 -3
- package/components/menu/lib/menu.directive.d.ts +1 -1
- package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +2 -1
- package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +1 -1
- package/components/modal/lib/directives/modal-close.directive.d.ts +1 -1
- package/components/modal/lib/modal.component.d.ts +3 -3
- package/components/modal/lib/modal.directive.d.ts +1 -1
- package/components/paginator/lib/paginator.component.d.ts +1 -1
- package/components/progress/lib/progress.component.d.ts +3 -4
- package/components/radio-group/lib/radio-group.component.d.ts +1 -1
- package/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.d.ts +2 -3
- package/components/rail-navigation/lib/rail-navigation.component.d.ts +2 -3
- package/components/rich-list/lib/components/rich-list-item/rich-list-item.component.d.ts +4 -3
- package/components/rich-list/lib/rich-list.component.d.ts +3 -4
- package/components/select/lib/components/select-option/select-option.component.d.ts +2 -3
- package/components/select/lib/directives/select-input-control.directive.d.ts +1 -1
- package/components/select/lib/select.component.d.ts +2 -3
- package/components/spinbox/lib/spinbox.component.d.ts +4 -5
- package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +2 -3
- package/components/tab-bar/lib/tab-bar.component.d.ts +3 -4
- package/components/table/lib/components/check-cell/check-cell.component.d.ts +2 -1
- package/components/table/lib/components/header-title/header-title.component.d.ts +1 -1
- package/components/table/lib/table.component.d.ts +1 -1
- package/components/toast/lib/components/toast-container/toast-container.component.d.ts +2 -3
- package/components/toast/lib/components/toast-item/toast-item.component.d.ts +1 -1
- package/components/tooltip/lib/tooltip.component.d.ts +3 -3
- package/components/tooltip/lib/tooltip.directive.d.ts +3 -4
- package/components/wizard/lib/components/wizard-step/wizard-step.component.d.ts +1 -1
- package/components/wizard/lib/wizard.component.d.ts +5 -5
- package/esm2022/breakpoints/lib/breakpoints.module.mjs +17 -0
- package/esm2022/breakpoints/lib/breakpoints.service.mjs +34 -0
- package/esm2022/breakpoints/lib/directives/match-breakpoints.directive.mjs +47 -0
- package/esm2022/cdk/a11y/lib/a11y.module.mjs +19 -0
- package/esm2022/cdk/a11y/lib/directives/interactive.directive.mjs +48 -0
- package/esm2022/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +26 -0
- package/esm2022/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +40 -0
- package/esm2022/cdk/active-indicator/lib/active-indicator.directive.mjs +127 -0
- package/esm2022/cdk/autocomplete-control/lib/autocomplete-control.mjs +85 -0
- package/esm2022/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.mjs +47 -0
- package/esm2022/cdk/checkbox-control/lib/checkbox-control.directive.mjs +46 -0
- package/esm2022/cdk/connected-overlay/lib/connected-overlay.component.mjs +120 -0
- package/esm2022/cdk/connected-overlay/lib/connected-overlay.service.mjs +25 -0
- package/esm2022/cdk/custom-form-control/lib/control.directive.mjs +19 -0
- package/esm2022/cdk/custom-form-control/lib/custom-form-control.mjs +114 -0
- package/esm2022/cdk/custom-form-control/lib/input-control.directive.mjs +35 -0
- package/esm2022/cdk/dynamic-view/lib/dynamic-view.component.mjs +43 -0
- package/esm2022/cdk/dynamic-view/lib/dynamic-view.directive.mjs +94 -0
- package/esm2022/cdk/dynamic-view/lib/dynamic-view.service.mjs +45 -0
- package/esm2022/cdk/event-plugins/lib/plugins/debounce-event-plugin.mjs +35 -0
- package/esm2022/cdk/event-plugins/lib/plugins/defer-event-plugin.mjs +27 -0
- package/esm2022/cdk/expandable/lib/directives/expandable-container.directive.mjs +59 -0
- package/esm2022/cdk/expandable/lib/directives/expandable-item.directive.mjs +64 -0
- package/esm2022/cdk/expandable/lib/directives/index.mjs +3 -0
- package/esm2022/cdk/expandable/lib/expandable.module.mjs +17 -0
- package/esm2022/cdk/expandable/lib/expandable.tokens.mjs +4 -0
- package/esm2022/cdk/expandable/lib/facade/expandable-container.mjs +2 -0
- package/esm2022/cdk/expandable/lib/facade/expandable-item.mjs +2 -0
- package/esm2022/cdk/option-control/lib/option-control.mjs +47 -0
- package/esm2022/cdk/radio-group-control/lib/radio-control.directive.mjs +39 -0
- package/esm2022/cdk/radio-group-control/lib/radio-group-control.directive.mjs +47 -0
- package/esm2022/cdk/radio-group-control/lib/radio-group-control.module.mjs +19 -0
- package/esm2022/charts-config/lib/charts-theme.directive.mjs +27 -0
- package/esm2022/charts-config/lib/charts-theme.module.mjs +33 -0
- package/esm2022/charts-config/lib/charts-theme.service.mjs +114 -0
- package/esm2022/components/accordion/lib/accordion.component.mjs +22 -0
- package/esm2022/components/accordion/lib/accordion.module.mjs +20 -0
- package/esm2022/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +56 -0
- package/esm2022/components/accordion/lib/directives/accordion-item-title.mjs +14 -0
- package/esm2022/components/action-group/action-group.component.mjs +28 -0
- package/esm2022/components/area-header/area-header.component.mjs +29 -0
- package/esm2022/components/area-header/area-header.module.mjs +47 -0
- package/esm2022/components/area-header/directives/area-header-content.directive.mjs +17 -0
- package/esm2022/components/area-header/directives/area-header-subtitle.directive.mjs +17 -0
- package/esm2022/components/autocomplete/lib/autocomplete.component.mjs +169 -0
- package/esm2022/components/autocomplete/lib/autocomplete.module.mjs +21 -0
- package/esm2022/components/autocomplete/lib/components/option/autocomplete-option.component.mjs +32 -0
- package/esm2022/components/autocomplete/lib/directives/autocomplete-input-control.directive.mjs +31 -0
- package/esm2022/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.mjs +16 -0
- package/esm2022/components/avatar/lib/avatar.component.mjs +35 -0
- package/esm2022/components/badge/lib/badge.component.mjs +46 -0
- package/esm2022/components/badge/lib/badge.directive.mjs +81 -0
- package/esm2022/components/bar/lib/bar.component.mjs +20 -0
- package/esm2022/components/bar/lib/bar.module.mjs +20 -0
- package/esm2022/components/bar/lib/directives/bar-button.directive.mjs +37 -0
- package/esm2022/components/bar/lib/directives/bar-label.directive.mjs +23 -0
- package/esm2022/components/breadcrumbs/lib/breadcrumbs.component.mjs +49 -0
- package/esm2022/components/button/lib/button.component.mjs +40 -0
- package/esm2022/components/button/lib/directives/responsive-button.directive.mjs +24 -0
- package/esm2022/components/button-group/lib/button-group.component.mjs +52 -0
- package/esm2022/components/calendar/lib/calendar.component.mjs +49 -0
- package/esm2022/components/calendar/lib/calendar.service.mjs +36 -0
- package/esm2022/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +64 -0
- package/esm2022/components/calendar/lib/components/calendar-month/calendar-month.component.mjs +58 -0
- package/esm2022/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +56 -0
- package/esm2022/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +65 -0
- package/esm2022/components/calendar/lib/directives/calendar-cell.directive.mjs +92 -0
- package/esm2022/components/calendar/lib/directives/calendar-view.directive.mjs +49 -0
- package/esm2022/components/calendar/lib/pipes/date-label.pipe.mjs +25 -0
- package/esm2022/components/calendar/lib/services/calendar-month.service.mjs +38 -0
- package/esm2022/components/calendar/lib/services/calendar-year.service.mjs +33 -0
- package/esm2022/components/calendar/lib/services/calendar-years.service.mjs +36 -0
- package/esm2022/components/card/lib/card.component.mjs +72 -0
- package/esm2022/components/card/lib/card.module.mjs +51 -0
- package/esm2022/components/card/lib/components/card-footer/card-footer.component.mjs +13 -0
- package/esm2022/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.mjs +13 -0
- package/esm2022/components/card/lib/directives/card-content.directive.mjs +17 -0
- package/esm2022/components/card/lib/directives/card-title.directive.mjs +17 -0
- package/esm2022/components/checkbox/lib/checkbox.component.mjs +59 -0
- package/esm2022/components/checkbox/lib/checkbox.module.mjs +19 -0
- package/esm2022/components/checkbox/lib/checkbox.validator.mjs +28 -0
- package/esm2022/components/chip/lib/components/chip/chip.component.mjs +49 -0
- package/esm2022/components/chip/lib/components/chip-list/chip-list.component.mjs +20 -0
- package/esm2022/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +20 -0
- package/esm2022/components/circular-progress/lib/circular-progress.component.mjs +90 -0
- package/esm2022/components/content-box/lib/content-box.component.mjs +13 -0
- package/esm2022/components/content-box/lib/content-box.module.mjs +19 -0
- package/esm2022/components/content-box/lib/directives/content-box-footer.directive.mjs +17 -0
- package/esm2022/components/content-box/lib/directives/content-box-header.directive.mjs +17 -0
- package/esm2022/components/datepicker/lib/datepicker.component.mjs +121 -0
- package/esm2022/components/datepicker/lib/datepicker.module.mjs +19 -0
- package/esm2022/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +59 -0
- package/esm2022/components/dropdown/lib/dropdown.component.mjs +39 -0
- package/esm2022/components/dropdown/lib/dropdown.directive.mjs +151 -0
- package/esm2022/components/dropdown/lib/dropdown.module.mjs +18 -0
- package/esm2022/components/dropdown/lib/models/close-dropdown-event.mjs +7 -0
- package/esm2022/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +24 -0
- package/esm2022/components/form-field/lib/components/form-group/form-group.component.mjs +33 -0
- package/esm2022/components/form-field/lib/directives/form-field-control.directive.mjs +74 -0
- package/esm2022/components/form-field/lib/directives/form-field-error.directive.mjs +25 -0
- package/esm2022/components/form-field/lib/directives/form-field-hint.directive.mjs +23 -0
- package/esm2022/components/form-field/lib/directives/form-field-label.directive.mjs +23 -0
- package/esm2022/components/form-field/lib/directives/form.directive.mjs +27 -0
- package/esm2022/components/form-field/lib/form-field.component.mjs +64 -0
- package/esm2022/components/form-field/lib/form-field.module.mjs +41 -0
- package/esm2022/components/form-field/lib/form-field.service.mjs +53 -0
- package/esm2022/components/form-field/lib/services/form-field-error.service.mjs +56 -0
- package/esm2022/components/header/lib/directives/header-avatar.directive.mjs +24 -0
- package/esm2022/components/header/lib/directives/header-title.directive.mjs +17 -0
- package/esm2022/components/header/lib/header.component.mjs +21 -0
- package/esm2022/components/header/lib/header.module.mjs +51 -0
- package/esm2022/components/icon/lib/icon.component.mjs +55 -0
- package/esm2022/components/inline-message/lib/inline-message.component.mjs +41 -0
- package/esm2022/components/link/link.directive.mjs +26 -0
- package/esm2022/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +32 -0
- package/esm2022/components/list/lib/components/list-item/list-item.component.mjs +37 -0
- package/esm2022/components/list/lib/list.component.mjs +22 -0
- package/esm2022/components/list/lib/list.module.mjs +19 -0
- package/esm2022/components/loading-spinner/lib/loading-spinner.component.mjs +57 -0
- package/esm2022/components/loading-spinner/lib/loading-spinner.directive.mjs +86 -0
- package/esm2022/components/loading-spinner/lib/loading-spinner.module.mjs +19 -0
- package/esm2022/components/logo/logo.directive.mjs +45 -0
- package/esm2022/components/main-menu/lib/directives/main-menu-button.directive.mjs +31 -0
- package/esm2022/components/main-menu/lib/directives/main-menu-close.directive.mjs +24 -0
- package/esm2022/components/main-menu/lib/directives/main-menu-item.directive.mjs +38 -0
- package/esm2022/components/main-menu/lib/main-menu.component.mjs +77 -0
- package/esm2022/components/main-menu/lib/main-menu.module.mjs +20 -0
- package/esm2022/components/main-menu/lib/main-menu.service.mjs +28 -0
- package/esm2022/components/mainfilter-group/lib/mainfilter-group.component.mjs +20 -0
- package/esm2022/components/menu/lib/directives/menu-item.directive.mjs +36 -0
- package/esm2022/components/menu/lib/menu.component.mjs +44 -0
- package/esm2022/components/menu/lib/menu.directive.mjs +57 -0
- package/esm2022/components/menu/lib/menu.module.mjs +21 -0
- package/esm2022/components/modal/lib/components/basic-modal/basic-modal.component.mjs +40 -0
- package/esm2022/components/modal/lib/components/modal-footer/modal-footer.component.mjs +20 -0
- package/esm2022/components/modal/lib/components/modal-header/modal-header.component.mjs +39 -0
- package/esm2022/components/modal/lib/components/modal-hero/modal-hero.component.mjs +41 -0
- package/esm2022/components/modal/lib/directives/modal-close.directive.mjs +34 -0
- package/esm2022/components/modal/lib/directives/modal-content.directive.mjs +23 -0
- package/esm2022/components/modal/lib/directives/modal-dismiss.directive.mjs +24 -0
- package/esm2022/components/modal/lib/modal.component.mjs +85 -0
- package/esm2022/components/modal/lib/modal.directive.mjs +51 -0
- package/esm2022/components/modal/lib/modal.module.mjs +49 -0
- package/esm2022/components/modal/lib/modal.service.mjs +76 -0
- package/esm2022/components/navigation-back/lib/navigation-back.component.mjs +21 -0
- package/esm2022/components/paginator/lib/paginator.component.mjs +138 -0
- package/esm2022/components/paginator/lib/paginator.module.mjs +17 -0
- package/esm2022/components/progress/lib/progress.component.mjs +49 -0
- package/esm2022/components/radio-group/lib/components/radio-button/radio-button.component.mjs +39 -0
- package/esm2022/components/radio-group/lib/radio-group.component.mjs +48 -0
- package/esm2022/components/radio-group/lib/radio-group.module.mjs +19 -0
- package/esm2022/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +37 -0
- package/esm2022/components/rail-navigation/lib/rail-navigation.component.mjs +50 -0
- package/esm2022/components/rail-navigation/lib/rail-navigation.module.mjs +19 -0
- package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +45 -0
- package/esm2022/components/rich-list/lib/directives/rich-list-item-title.mjs +14 -0
- package/esm2022/components/rich-list/lib/rich-list.component.mjs +22 -0
- package/esm2022/components/rich-list/lib/rich-list.module.mjs +20 -0
- package/esm2022/components/select/lib/components/select-option/select-option.component.mjs +67 -0
- package/esm2022/components/select/lib/directives/select-input-control.directive.mjs +34 -0
- package/esm2022/components/select/lib/pipes/select-search-filter.pipe.mjs +16 -0
- package/esm2022/components/select/lib/select.component.mjs +201 -0
- package/esm2022/components/select/lib/select.module.mjs +21 -0
- package/esm2022/components/slider/lib/slider.directive.mjs +41 -0
- package/esm2022/components/spinbox/lib/spinbox.component.mjs +80 -0
- package/esm2022/components/switch/lib/switch.component.mjs +22 -0
- package/esm2022/components/switch/lib/switch.module.mjs +19 -0
- package/esm2022/components/switch/lib/switch.validator.mjs +28 -0
- package/esm2022/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +74 -0
- package/esm2022/components/tab-bar/lib/tab-bar.component.mjs +115 -0
- package/esm2022/components/tab-bar/lib/tab-bar.module.mjs +19 -0
- package/esm2022/components/table/lib/components/check-cell/check-cell.component.mjs +31 -0
- package/esm2022/components/table/lib/components/header-title/header-title.component.mjs +83 -0
- package/esm2022/components/table/lib/directives/table-cell.directive.mjs +26 -0
- package/esm2022/components/table/lib/directives/table-row.directive.mjs +27 -0
- package/esm2022/components/table/lib/table.component.mjs +86 -0
- package/esm2022/components/table/lib/table.module.mjs +21 -0
- package/esm2022/components/toast/lib/components/toast-container/toast-container.component.mjs +81 -0
- package/esm2022/components/toast/lib/components/toast-item/toast-item.component.mjs +74 -0
- package/esm2022/components/toast/lib/toast.module.mjs +18 -0
- package/esm2022/components/toast/lib/toast.service.mjs +38 -0
- package/esm2022/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +31 -0
- package/esm2022/components/toggle-button-group/lib/toggle-button-group.component.mjs +61 -0
- package/esm2022/components/toggle-button-group/lib/toggle-button-group.module.mjs +19 -0
- package/esm2022/components/tooltip/lib/tooltip.component.mjs +38 -0
- package/esm2022/components/tooltip/lib/tooltip.directive.mjs +119 -0
- package/esm2022/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +72 -0
- package/esm2022/components/wizard/lib/wizard.component.mjs +153 -0
- package/esm2022/components/wizard/lib/wizard.module.mjs +19 -0
- package/esm2022/internal/decorators/css-modifier.mjs +49 -0
- package/esm2022/internal/helpers/index.mjs +6 -0
- package/esm2022/internal/translate/lib/pipes/translate.pipe.mjs +22 -0
- package/esm2022/internal/translate/lib/services/language.service.mjs +21 -0
- package/esm2022/lib/controllers/controller.mjs +39 -0
- package/esm2022/lib/controllers/disabled.controller.mjs +67 -0
- package/esm2022/lib/controllers/readonly.controller.mjs +77 -0
- package/esm2022/lib/core.module.mjs +21 -0
- package/esm2022/lib/directives/click-outside.directive.mjs +72 -0
- package/esm2022/lib/directives/delegate-focus.directive.mjs +40 -0
- package/esm2022/lib/directives/with-disabled-state.directive.mjs +41 -0
- package/esm2022/lib/directives/with-tabindex.directive.mjs +23 -0
- package/esm2022/lib/services/window-ref.mjs +73 -0
- package/esm2022/theming/lib/theming.service.mjs +57 -0
- package/esm2022/utils/lib/decorators/index.mjs +2 -0
- package/esm2022/utils/lib/helpers/angular.mjs +36 -0
- package/esm2022/utils/lib/helpers/coercion.mjs +6 -0
- package/esm2022/utils/lib/helpers/event-manager.mjs +30 -0
- package/esm2022/utils/lib/helpers/index.mjs +19 -0
- package/esm2022/utils/lib/helpers/ng-changes.mjs +14 -0
- package/esm2022/utils/lib/helpers/until-destroyed.mjs +7 -0
- package/fesm2022/odx-angular-breakpoints.mjs +116 -0
- package/fesm2022/odx-angular-breakpoints.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-a11y.mjs +127 -0
- package/fesm2022/odx-angular-cdk-a11y.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-active-indicator.mjs +143 -0
- package/fesm2022/odx-angular-cdk-active-indicator.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-autocomplete-control.mjs +136 -0
- package/fesm2022/odx-angular-cdk-autocomplete-control.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-checkbox-control.mjs +53 -0
- package/fesm2022/odx-angular-cdk-checkbox-control.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-connected-overlay.mjs +222 -0
- package/fesm2022/odx-angular-cdk-connected-overlay.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-custom-form-control.mjs +168 -0
- package/fesm2022/odx-angular-cdk-custom-form-control.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-dynamic-view.mjs +318 -0
- package/fesm2022/odx-angular-cdk-dynamic-view.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-event-plugins.mjs +91 -0
- package/fesm2022/odx-angular-cdk-event-plugins.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-expandable.mjs +143 -0
- package/fesm2022/odx-angular-cdk-expandable.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-option-control.mjs +54 -0
- package/fesm2022/odx-angular-cdk-option-control.mjs.map +1 -0
- package/fesm2022/odx-angular-cdk-radio-group-control.mjs +102 -0
- package/fesm2022/odx-angular-cdk-radio-group-control.mjs.map +1 -0
- package/fesm2022/odx-angular-charts-config.mjs +171 -0
- package/fesm2022/odx-angular-charts-config.mjs.map +1 -0
- package/fesm2022/odx-angular-components-accordion.mjs +104 -0
- package/fesm2022/odx-angular-components-accordion.mjs.map +1 -0
- package/fesm2022/odx-angular-components-action-group.mjs +35 -0
- package/fesm2022/odx-angular-components-action-group.mjs.map +1 -0
- package/fesm2022/odx-angular-components-area-header.mjs +115 -0
- package/fesm2022/odx-angular-components-area-header.mjs.map +1 -0
- package/fesm2022/odx-angular-components-autocomplete.mjs +253 -0
- package/fesm2022/odx-angular-components-autocomplete.mjs.map +1 -0
- package/fesm2022/odx-angular-components-avatar.mjs +52 -0
- package/fesm2022/odx-angular-components-avatar.mjs.map +1 -0
- package/fesm2022/odx-angular-components-badge.mjs +132 -0
- package/fesm2022/odx-angular-components-badge.mjs.map +1 -0
- package/fesm2022/odx-angular-components-bar.mjs +95 -0
- package/fesm2022/odx-angular-components-bar.mjs.map +1 -0
- package/fesm2022/odx-angular-components-breadcrumbs.mjs +56 -0
- package/fesm2022/odx-angular-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/odx-angular-components-button-group.mjs +59 -0
- package/fesm2022/odx-angular-components-button-group.mjs.map +1 -0
- package/fesm2022/odx-angular-components-button.mjs +83 -0
- package/fesm2022/odx-angular-components-button.mjs.map +1 -0
- package/fesm2022/odx-angular-components-calendar.mjs +616 -0
- package/fesm2022/odx-angular-components-calendar.mjs.map +1 -0
- package/fesm2022/odx-angular-components-card.mjs +177 -0
- package/fesm2022/odx-angular-components-card.mjs.map +1 -0
- package/fesm2022/odx-angular-components-checkbox.mjs +106 -0
- package/fesm2022/odx-angular-components-checkbox.mjs.map +1 -0
- package/fesm2022/odx-angular-components-chip.mjs +97 -0
- package/fesm2022/odx-angular-components-chip.mjs.map +1 -0
- package/fesm2022/odx-angular-components-circular-progress.mjs +103 -0
- package/fesm2022/odx-angular-components-circular-progress.mjs.map +1 -0
- package/fesm2022/odx-angular-components-content-box.mjs +64 -0
- package/fesm2022/odx-angular-components-content-box.mjs.map +1 -0
- package/fesm2022/odx-angular-components-datepicker.mjs +254 -0
- package/fesm2022/odx-angular-components-datepicker.mjs.map +1 -0
- package/fesm2022/odx-angular-components-dropdown.mjs +222 -0
- package/fesm2022/odx-angular-components-dropdown.mjs.map +1 -0
- package/fesm2022/odx-angular-components-form-field.mjs +395 -0
- package/fesm2022/odx-angular-components-form-field.mjs.map +1 -0
- package/fesm2022/odx-angular-components-header.mjs +111 -0
- package/fesm2022/odx-angular-components-header.mjs.map +1 -0
- package/fesm2022/odx-angular-components-icon.mjs +72 -0
- package/fesm2022/odx-angular-components-icon.mjs.map +1 -0
- package/fesm2022/odx-angular-components-inline-message.mjs +54 -0
- package/fesm2022/odx-angular-components-inline-message.mjs.map +1 -0
- package/fesm2022/odx-angular-components-link.mjs +33 -0
- package/fesm2022/odx-angular-components-link.mjs.map +1 -0
- package/fesm2022/odx-angular-components-list.mjs +99 -0
- package/fesm2022/odx-angular-components-list.mjs.map +1 -0
- package/fesm2022/odx-angular-components-loading-spinner.mjs +158 -0
- package/fesm2022/odx-angular-components-loading-spinner.mjs.map +1 -0
- package/fesm2022/odx-angular-components-logo.mjs +62 -0
- package/fesm2022/odx-angular-components-logo.mjs.map +1 -0
- package/fesm2022/odx-angular-components-main-menu.mjs +230 -0
- package/fesm2022/odx-angular-components-main-menu.mjs.map +1 -0
- package/fesm2022/odx-angular-components-mainfilter-group.mjs +27 -0
- package/fesm2022/odx-angular-components-mainfilter-group.mjs.map +1 -0
- package/fesm2022/odx-angular-components-menu.mjs +146 -0
- package/fesm2022/odx-angular-components-menu.mjs.map +1 -0
- package/fesm2022/odx-angular-components-modal.mjs +495 -0
- package/fesm2022/odx-angular-components-modal.mjs.map +1 -0
- package/fesm2022/odx-angular-components-navigation-back.mjs +28 -0
- package/fesm2022/odx-angular-components-navigation-back.mjs.map +1 -0
- package/fesm2022/odx-angular-components-paginator.mjs +177 -0
- package/fesm2022/odx-angular-components-paginator.mjs.map +1 -0
- package/fesm2022/odx-angular-components-progress.mjs +56 -0
- package/fesm2022/odx-angular-components-progress.mjs.map +1 -0
- package/fesm2022/odx-angular-components-radio-group.mjs +101 -0
- package/fesm2022/odx-angular-components-radio-group.mjs.map +1 -0
- package/fesm2022/odx-angular-components-rail-navigation.mjs +106 -0
- package/fesm2022/odx-angular-components-rail-navigation.mjs.map +1 -0
- package/fesm2022/odx-angular-components-rich-list.mjs +93 -0
- package/fesm2022/odx-angular-components-rich-list.mjs.map +1 -0
- package/fesm2022/odx-angular-components-select.mjs +323 -0
- package/fesm2022/odx-angular-components-select.mjs.map +1 -0
- package/fesm2022/odx-angular-components-slider.mjs +48 -0
- package/fesm2022/odx-angular-components-slider.mjs.map +1 -0
- package/fesm2022/odx-angular-components-spinbox.mjs +87 -0
- package/fesm2022/odx-angular-components-spinbox.mjs.map +1 -0
- package/fesm2022/odx-angular-components-switch.mjs +69 -0
- package/fesm2022/odx-angular-components-switch.mjs.map +1 -0
- package/fesm2022/odx-angular-components-tab-bar.mjs +201 -0
- package/fesm2022/odx-angular-components-tab-bar.mjs.map +1 -0
- package/fesm2022/odx-angular-components-table.mjs +259 -0
- package/fesm2022/odx-angular-components-table.mjs.map +1 -0
- package/fesm2022/odx-angular-components-toast.mjs +209 -0
- package/fesm2022/odx-angular-components-toast.mjs.map +1 -0
- package/fesm2022/odx-angular-components-toggle-button-group.mjs +105 -0
- package/fesm2022/odx-angular-components-toggle-button-group.mjs.map +1 -0
- package/fesm2022/odx-angular-components-tooltip.mjs +180 -0
- package/fesm2022/odx-angular-components-tooltip.mjs.map +1 -0
- package/fesm2022/odx-angular-components-wizard.mjs +238 -0
- package/fesm2022/odx-angular-components-wizard.mjs.map +1 -0
- package/fesm2022/odx-angular-internal-translate.mjs +78 -0
- package/fesm2022/odx-angular-internal-translate.mjs.map +1 -0
- package/fesm2022/odx-angular-internal.mjs +122 -0
- package/fesm2022/odx-angular-internal.mjs.map +1 -0
- package/fesm2022/odx-angular-theming.mjs +111 -0
- package/fesm2022/odx-angular-theming.mjs.map +1 -0
- package/fesm2022/odx-angular-utils.mjs +398 -0
- package/fesm2022/odx-angular-utils.mjs.map +1 -0
- package/fesm2022/odx-angular.mjs +458 -0
- package/fesm2022/odx-angular.mjs.map +1 -0
- package/internal/helpers/index.d.ts +0 -1
- package/lib/controllers/disabled.controller.d.ts +3 -4
- package/lib/controllers/readonly.controller.d.ts +3 -4
- package/lib/directives/click-outside.directive.d.ts +3 -2
- package/package.json +236 -374
- package/sdk/lib/application-environment.d.ts +1 -1
- package/utils/lib/decorators/index.d.ts +0 -1
- package/utils/lib/helpers/angular.d.ts +1 -2
- package/utils/lib/helpers/coercion.d.ts +2 -0
- package/utils/lib/helpers/index.d.ts +1 -0
- package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +0 -14
- package/esm2020/breakpoints/lib/breakpoints.module.mjs +0 -17
- package/esm2020/breakpoints/lib/breakpoints.service.mjs +0 -34
- package/esm2020/breakpoints/lib/directives/match-breakpoints.directive.mjs +0 -48
- package/esm2020/cdk/a11y/lib/a11y.module.mjs +0 -19
- package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +0 -49
- package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +0 -26
- package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +0 -40
- package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +0 -128
- package/esm2020/cdk/autocomplete-control/lib/autocomplete-control.mjs +0 -90
- package/esm2020/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.mjs +0 -47
- package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +0 -45
- package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +0 -121
- package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +0 -25
- package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +0 -19
- package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +0 -118
- package/esm2020/cdk/custom-form-control/lib/input-control.directive.mjs +0 -35
- package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +0 -43
- package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +0 -94
- package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +0 -45
- package/esm2020/cdk/event-plugins/lib/plugins/debounce-event-plugin.mjs +0 -36
- package/esm2020/cdk/event-plugins/lib/plugins/defer-event-plugin.mjs +0 -27
- package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +0 -47
- package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +0 -56
- package/esm2020/cdk/expandable/lib/directives/index.mjs +0 -3
- package/esm2020/cdk/expandable/lib/expandable.module.mjs +0 -17
- package/esm2020/cdk/expandable/lib/expandable.tokens.mjs +0 -3
- package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +0 -2
- package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +0 -2
- package/esm2020/cdk/option-control/lib/option-control.mjs +0 -47
- package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +0 -39
- package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +0 -47
- package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +0 -19
- package/esm2020/charts-config/lib/charts-theme.directive.mjs +0 -27
- package/esm2020/charts-config/lib/charts-theme.module.mjs +0 -33
- package/esm2020/charts-config/lib/charts-theme.service.mjs +0 -114
- package/esm2020/components/accordion/lib/accordion.component.mjs +0 -24
- package/esm2020/components/accordion/lib/accordion.module.mjs +0 -20
- package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +0 -57
- package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +0 -14
- package/esm2020/components/action-group/action-group.component.mjs +0 -30
- package/esm2020/components/area-header/area-header.component.mjs +0 -30
- package/esm2020/components/area-header/area-header.module.mjs +0 -47
- package/esm2020/components/area-header/directives/area-header-content.directive.mjs +0 -17
- package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +0 -17
- package/esm2020/components/autocomplete/lib/autocomplete.component.mjs +0 -169
- package/esm2020/components/autocomplete/lib/autocomplete.module.mjs +0 -21
- package/esm2020/components/autocomplete/lib/components/option/autocomplete-option.component.mjs +0 -33
- package/esm2020/components/autocomplete/lib/directives/autocomplete-input-control.directive.mjs +0 -32
- package/esm2020/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.mjs +0 -16
- package/esm2020/components/avatar/lib/avatar.component.mjs +0 -36
- package/esm2020/components/badge/lib/badge.component.mjs +0 -48
- package/esm2020/components/badge/lib/badge.directive.mjs +0 -81
- package/esm2020/components/bar/lib/bar.component.mjs +0 -21
- package/esm2020/components/bar/lib/bar.module.mjs +0 -20
- package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +0 -38
- package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +0 -24
- package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +0 -50
- package/esm2020/components/button/lib/button.component.mjs +0 -41
- package/esm2020/components/button/lib/directives/responsive-button.directive.mjs +0 -24
- package/esm2020/components/button-group/lib/button-group.component.mjs +0 -54
- package/esm2020/components/calendar/lib/calendar.component.mjs +0 -50
- package/esm2020/components/calendar/lib/calendar.service.mjs +0 -36
- package/esm2020/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +0 -65
- package/esm2020/components/calendar/lib/components/calendar-month/calendar-month.component.mjs +0 -59
- package/esm2020/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +0 -57
- package/esm2020/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +0 -66
- package/esm2020/components/calendar/lib/directives/calendar-cell.directive.mjs +0 -93
- package/esm2020/components/calendar/lib/directives/calendar-view.directive.mjs +0 -49
- package/esm2020/components/calendar/lib/pipes/date-label.pipe.mjs +0 -25
- package/esm2020/components/calendar/lib/services/calendar-month.service.mjs +0 -38
- package/esm2020/components/calendar/lib/services/calendar-year.service.mjs +0 -33
- package/esm2020/components/calendar/lib/services/calendar-years.service.mjs +0 -36
- package/esm2020/components/card/lib/card.component.mjs +0 -73
- package/esm2020/components/card/lib/card.module.mjs +0 -53
- package/esm2020/components/card/lib/components/card-footer/card-footer.component.mjs +0 -13
- package/esm2020/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.mjs +0 -13
- package/esm2020/components/card/lib/directives/card-content.directive.mjs +0 -17
- package/esm2020/components/card/lib/directives/card-title.directive.mjs +0 -17
- package/esm2020/components/checkbox/lib/checkbox.component.mjs +0 -60
- package/esm2020/components/checkbox/lib/checkbox.module.mjs +0 -19
- package/esm2020/components/checkbox/lib/checkbox.validator.mjs +0 -28
- package/esm2020/components/chip/lib/components/chip/chip.component.mjs +0 -54
- package/esm2020/components/chip/lib/components/chip-list/chip-list.component.mjs +0 -21
- package/esm2020/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +0 -21
- package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +0 -100
- package/esm2020/components/content-box/lib/content-box.component.mjs +0 -13
- package/esm2020/components/content-box/lib/content-box.module.mjs +0 -19
- package/esm2020/components/content-box/lib/directives/content-box-footer.directive.mjs +0 -17
- package/esm2020/components/content-box/lib/directives/content-box-header.directive.mjs +0 -17
- package/esm2020/components/datepicker/lib/datepicker.component.mjs +0 -122
- package/esm2020/components/datepicker/lib/datepicker.module.mjs +0 -19
- package/esm2020/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +0 -60
- package/esm2020/components/dropdown/lib/dropdown.component.mjs +0 -40
- package/esm2020/components/dropdown/lib/dropdown.directive.mjs +0 -165
- package/esm2020/components/dropdown/lib/dropdown.module.mjs +0 -18
- package/esm2020/components/dropdown/lib/models/close-dropdown-event.mjs +0 -7
- package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +0 -24
- package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +0 -34
- package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +0 -75
- package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +0 -25
- package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +0 -23
- package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +0 -24
- package/esm2020/components/form-field/lib/directives/form.directive.mjs +0 -28
- package/esm2020/components/form-field/lib/form-field.component.mjs +0 -65
- package/esm2020/components/form-field/lib/form-field.module.mjs +0 -41
- package/esm2020/components/form-field/lib/form-field.service.mjs +0 -53
- package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +0 -56
- package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +0 -24
- package/esm2020/components/header/lib/directives/header-title.directive.mjs +0 -17
- package/esm2020/components/header/lib/header.component.mjs +0 -22
- package/esm2020/components/header/lib/header.module.mjs +0 -52
- package/esm2020/components/icon/lib/icon.component.mjs +0 -57
- package/esm2020/components/inline-message/lib/inline-message.component.mjs +0 -42
- package/esm2020/components/link/link.directive.mjs +0 -27
- package/esm2020/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +0 -49
- package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +0 -40
- package/esm2020/components/list/lib/list.component.mjs +0 -32
- package/esm2020/components/list/lib/list.module.mjs +0 -19
- package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +0 -58
- package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +0 -98
- package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +0 -19
- package/esm2020/components/logo/logo.directive.mjs +0 -46
- package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +0 -32
- package/esm2020/components/main-menu/lib/directives/main-menu-close.directive.mjs +0 -24
- package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +0 -43
- package/esm2020/components/main-menu/lib/main-menu.component.mjs +0 -77
- package/esm2020/components/main-menu/lib/main-menu.module.mjs +0 -20
- package/esm2020/components/main-menu/lib/main-menu.service.mjs +0 -28
- package/esm2020/components/mainfilter-group/lib/mainfilter-group.component.mjs +0 -21
- package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +0 -37
- package/esm2020/components/menu/lib/menu.component.mjs +0 -46
- package/esm2020/components/menu/lib/menu.directive.mjs +0 -58
- package/esm2020/components/menu/lib/menu.module.mjs +0 -21
- package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +0 -40
- package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +0 -21
- package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +0 -40
- package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +0 -42
- package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +0 -34
- package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +0 -24
- package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +0 -24
- package/esm2020/components/modal/lib/modal.component.mjs +0 -86
- package/esm2020/components/modal/lib/modal.directive.mjs +0 -51
- package/esm2020/components/modal/lib/modal.module.mjs +0 -50
- package/esm2020/components/modal/lib/modal.service.mjs +0 -76
- package/esm2020/components/navigation-back/lib/navigation-back.component.mjs +0 -22
- package/esm2020/components/paginator/lib/paginator.component.mjs +0 -139
- package/esm2020/components/paginator/lib/paginator.module.mjs +0 -17
- package/esm2020/components/progress/lib/progress.component.mjs +0 -51
- package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +0 -40
- package/esm2020/components/radio-group/lib/radio-group.component.mjs +0 -48
- package/esm2020/components/radio-group/lib/radio-group.module.mjs +0 -19
- package/esm2020/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +0 -41
- package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +0 -55
- package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +0 -19
- package/esm2020/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +0 -46
- package/esm2020/components/rich-list/lib/directives/rich-list-item-title.mjs +0 -14
- package/esm2020/components/rich-list/lib/rich-list.component.mjs +0 -25
- package/esm2020/components/rich-list/lib/rich-list.module.mjs +0 -20
- package/esm2020/components/select/lib/components/select-option/select-option.component.mjs +0 -73
- package/esm2020/components/select/lib/directives/select-input-control.directive.mjs +0 -35
- package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +0 -16
- package/esm2020/components/select/lib/select.component.mjs +0 -202
- package/esm2020/components/select/lib/select.module.mjs +0 -21
- package/esm2020/components/slider/lib/slider.directive.mjs +0 -42
- package/esm2020/components/spinbox/lib/spinbox.component.mjs +0 -91
- package/esm2020/components/switch/lib/switch.component.mjs +0 -23
- package/esm2020/components/switch/lib/switch.module.mjs +0 -19
- package/esm2020/components/switch/lib/switch.validator.mjs +0 -28
- package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +0 -79
- package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +0 -115
- package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +0 -19
- package/esm2020/components/table/lib/components/check-cell/check-cell.component.mjs +0 -29
- package/esm2020/components/table/lib/components/header-title/header-title.component.mjs +0 -83
- package/esm2020/components/table/lib/directives/table-cell.directive.mjs +0 -27
- package/esm2020/components/table/lib/directives/table-row.directive.mjs +0 -28
- package/esm2020/components/table/lib/table.component.mjs +0 -86
- package/esm2020/components/table/lib/table.module.mjs +0 -21
- package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +0 -85
- package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +0 -75
- package/esm2020/components/toast/lib/toast.module.mjs +0 -18
- package/esm2020/components/toast/lib/toast.service.mjs +0 -38
- package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +0 -32
- package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +0 -61
- package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +0 -19
- package/esm2020/components/tooltip/lib/tooltip.component.mjs +0 -39
- package/esm2020/components/tooltip/lib/tooltip.directive.mjs +0 -129
- package/esm2020/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +0 -73
- package/esm2020/components/wizard/lib/wizard.component.mjs +0 -155
- package/esm2020/components/wizard/lib/wizard.module.mjs +0 -19
- package/esm2020/internal/decorators/css-modifier.mjs +0 -49
- package/esm2020/internal/helpers/index.mjs +0 -7
- package/esm2020/internal/helpers/with-mutiple-descriptors.mjs +0 -46
- package/esm2020/internal/translate/lib/pipes/translate.pipe.mjs +0 -22
- package/esm2020/internal/translate/lib/services/language.service.mjs +0 -21
- package/esm2020/lib/controllers/controller.mjs +0 -39
- package/esm2020/lib/controllers/disabled.controller.mjs +0 -67
- package/esm2020/lib/controllers/readonly.controller.mjs +0 -78
- package/esm2020/lib/core.module.mjs +0 -21
- package/esm2020/lib/directives/click-outside.directive.mjs +0 -71
- package/esm2020/lib/directives/delegate-focus.directive.mjs +0 -40
- package/esm2020/lib/directives/with-disabled-state.directive.mjs +0 -41
- package/esm2020/lib/directives/with-tabindex.directive.mjs +0 -23
- package/esm2020/lib/services/window-ref.mjs +0 -73
- package/esm2020/theming/lib/theming.service.mjs +0 -57
- package/esm2020/utils/lib/decorators/index.mjs +0 -3
- package/esm2020/utils/lib/decorators/transform.mjs +0 -14
- package/esm2020/utils/lib/helpers/angular.mjs +0 -39
- package/esm2020/utils/lib/helpers/event-manager.mjs +0 -30
- package/esm2020/utils/lib/helpers/index.mjs +0 -18
- package/esm2020/utils/lib/helpers/ng-changes.mjs +0 -14
- package/esm2020/utils/lib/helpers/until-destroyed.mjs +0 -13
- package/fesm2015/odx-angular-animations.mjs +0 -63
- package/fesm2015/odx-angular-animations.mjs.map +0 -1
- package/fesm2015/odx-angular-breakpoints.mjs +0 -111
- package/fesm2015/odx-angular-breakpoints.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-a11y.mjs +0 -131
- package/fesm2015/odx-angular-cdk-a11y.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-active-indicator.mjs +0 -145
- package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-autocomplete-control.mjs +0 -146
- package/fesm2015/odx-angular-cdk-autocomplete-control.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-checkbox-control.mjs +0 -52
- package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-connected-overlay.mjs +0 -228
- package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-custom-form-control.mjs +0 -178
- package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-dynamic-view.mjs +0 -326
- package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-event-plugins.mjs +0 -92
- package/fesm2015/odx-angular-cdk-event-plugins.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-expandable.mjs +0 -121
- package/fesm2015/odx-angular-cdk-expandable.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-option-control.mjs +0 -55
- package/fesm2015/odx-angular-cdk-option-control.mjs.map +0 -1
- package/fesm2015/odx-angular-cdk-radio-group-control.mjs +0 -102
- package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +0 -1
- package/fesm2015/odx-angular-charts-config.mjs +0 -171
- package/fesm2015/odx-angular-charts-config.mjs.map +0 -1
- package/fesm2015/odx-angular-components-accordion.mjs +0 -107
- package/fesm2015/odx-angular-components-accordion.mjs.map +0 -1
- package/fesm2015/odx-angular-components-action-group.mjs +0 -36
- package/fesm2015/odx-angular-components-action-group.mjs.map +0 -1
- package/fesm2015/odx-angular-components-area-header.mjs +0 -115
- package/fesm2015/odx-angular-components-area-header.mjs.map +0 -1
- package/fesm2015/odx-angular-components-autocomplete.mjs +0 -259
- package/fesm2015/odx-angular-components-autocomplete.mjs.map +0 -1
- package/fesm2015/odx-angular-components-avatar.mjs +0 -52
- package/fesm2015/odx-angular-components-avatar.mjs.map +0 -1
- package/fesm2015/odx-angular-components-badge.mjs +0 -134
- package/fesm2015/odx-angular-components-badge.mjs.map +0 -1
- package/fesm2015/odx-angular-components-bar.mjs +0 -95
- package/fesm2015/odx-angular-components-bar.mjs.map +0 -1
- package/fesm2015/odx-angular-components-breadcrumbs.mjs +0 -56
- package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +0 -1
- package/fesm2015/odx-angular-components-button-group.mjs +0 -60
- package/fesm2015/odx-angular-components-button-group.mjs.map +0 -1
- package/fesm2015/odx-angular-components-button.mjs +0 -83
- package/fesm2015/odx-angular-components-button.mjs.map +0 -1
- package/fesm2015/odx-angular-components-calendar.mjs +0 -617
- package/fesm2015/odx-angular-components-calendar.mjs.map +0 -1
- package/fesm2015/odx-angular-components-card.mjs +0 -180
- package/fesm2015/odx-angular-components-card.mjs.map +0 -1
- package/fesm2015/odx-angular-components-checkbox.mjs +0 -106
- package/fesm2015/odx-angular-components-checkbox.mjs.map +0 -1
- package/fesm2015/odx-angular-components-chip.mjs +0 -101
- package/fesm2015/odx-angular-components-chip.mjs.map +0 -1
- package/fesm2015/odx-angular-components-circular-progress.mjs +0 -112
- package/fesm2015/odx-angular-components-circular-progress.mjs.map +0 -1
- package/fesm2015/odx-angular-components-content-box.mjs +0 -64
- package/fesm2015/odx-angular-components-content-box.mjs.map +0 -1
- package/fesm2015/odx-angular-components-datepicker.mjs +0 -256
- package/fesm2015/odx-angular-components-datepicker.mjs.map +0 -1
- package/fesm2015/odx-angular-components-dropdown.mjs +0 -232
- package/fesm2015/odx-angular-components-dropdown.mjs.map +0 -1
- package/fesm2015/odx-angular-components-form-field.mjs +0 -399
- package/fesm2015/odx-angular-components-form-field.mjs.map +0 -1
- package/fesm2015/odx-angular-components-header.mjs +0 -112
- package/fesm2015/odx-angular-components-header.mjs.map +0 -1
- package/fesm2015/odx-angular-components-icon.mjs +0 -73
- package/fesm2015/odx-angular-components-icon.mjs.map +0 -1
- package/fesm2015/odx-angular-components-inline-message.mjs +0 -54
- package/fesm2015/odx-angular-components-inline-message.mjs.map +0 -1
- package/fesm2015/odx-angular-components-link.mjs +0 -33
- package/fesm2015/odx-angular-components-link.mjs.map +0 -1
- package/fesm2015/odx-angular-components-list.mjs +0 -126
- package/fesm2015/odx-angular-components-list.mjs.map +0 -1
- package/fesm2015/odx-angular-components-loading-spinner.mjs +0 -171
- package/fesm2015/odx-angular-components-loading-spinner.mjs.map +0 -1
- package/fesm2015/odx-angular-components-logo.mjs +0 -62
- package/fesm2015/odx-angular-components-logo.mjs.map +0 -1
- package/fesm2015/odx-angular-components-main-menu.mjs +0 -233
- package/fesm2015/odx-angular-components-main-menu.mjs.map +0 -1
- package/fesm2015/odx-angular-components-mainfilter-group.mjs +0 -27
- package/fesm2015/odx-angular-components-mainfilter-group.mjs.map +0 -1
- package/fesm2015/odx-angular-components-menu.mjs +0 -145
- package/fesm2015/odx-angular-components-menu.mjs.map +0 -1
- package/fesm2015/odx-angular-components-modal.mjs +0 -496
- package/fesm2015/odx-angular-components-modal.mjs.map +0 -1
- package/fesm2015/odx-angular-components-navigation-back.mjs +0 -28
- package/fesm2015/odx-angular-components-navigation-back.mjs.map +0 -1
- package/fesm2015/odx-angular-components-paginator.mjs +0 -180
- package/fesm2015/odx-angular-components-paginator.mjs.map +0 -1
- package/fesm2015/odx-angular-components-progress.mjs +0 -57
- package/fesm2015/odx-angular-components-progress.mjs.map +0 -1
- package/fesm2015/odx-angular-components-radio-group.mjs +0 -101
- package/fesm2015/odx-angular-components-radio-group.mjs.map +0 -1
- package/fesm2015/odx-angular-components-rail-navigation.mjs +0 -112
- package/fesm2015/odx-angular-components-rail-navigation.mjs.map +0 -1
- package/fesm2015/odx-angular-components-rich-list.mjs +0 -96
- package/fesm2015/odx-angular-components-rich-list.mjs.map +0 -1
- package/fesm2015/odx-angular-components-select.mjs +0 -329
- package/fesm2015/odx-angular-components-select.mjs.map +0 -1
- package/fesm2015/odx-angular-components-slider.mjs +0 -48
- package/fesm2015/odx-angular-components-slider.mjs.map +0 -1
- package/fesm2015/odx-angular-components-spinbox.mjs +0 -100
- package/fesm2015/odx-angular-components-spinbox.mjs.map +0 -1
- package/fesm2015/odx-angular-components-switch.mjs +0 -69
- package/fesm2015/odx-angular-components-switch.mjs.map +0 -1
- package/fesm2015/odx-angular-components-tab-bar.mjs +0 -209
- package/fesm2015/odx-angular-components-tab-bar.mjs.map +0 -1
- package/fesm2015/odx-angular-components-table.mjs +0 -261
- package/fesm2015/odx-angular-components-table.mjs.map +0 -1
- package/fesm2015/odx-angular-components-toast.mjs +0 -213
- package/fesm2015/odx-angular-components-toast.mjs.map +0 -1
- package/fesm2015/odx-angular-components-toggle-button-group.mjs +0 -107
- package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +0 -1
- package/fesm2015/odx-angular-components-tooltip.mjs +0 -184
- package/fesm2015/odx-angular-components-tooltip.mjs.map +0 -1
- package/fesm2015/odx-angular-components-wizard.mjs +0 -242
- package/fesm2015/odx-angular-components-wizard.mjs.map +0 -1
- package/fesm2015/odx-angular-internal-translate.mjs +0 -82
- package/fesm2015/odx-angular-internal-translate.mjs.map +0 -1
- package/fesm2015/odx-angular-internal.mjs +0 -170
- package/fesm2015/odx-angular-internal.mjs.map +0 -1
- package/fesm2015/odx-angular-sdk.mjs +0 -45
- package/fesm2015/odx-angular-sdk.mjs.map +0 -1
- package/fesm2015/odx-angular-theming.mjs +0 -114
- package/fesm2015/odx-angular-theming.mjs.map +0 -1
- package/fesm2015/odx-angular-utils.mjs +0 -420
- package/fesm2015/odx-angular-utils.mjs.map +0 -1
- package/fesm2015/odx-angular.mjs +0 -464
- package/fesm2015/odx-angular.mjs.map +0 -1
- package/fesm2020/odx-angular-breakpoints.mjs +0 -117
- package/fesm2020/odx-angular-breakpoints.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-a11y.mjs +0 -127
- package/fesm2020/odx-angular-cdk-a11y.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-active-indicator.mjs +0 -143
- package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-autocomplete-control.mjs +0 -140
- package/fesm2020/odx-angular-cdk-autocomplete-control.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-checkbox-control.mjs +0 -52
- package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-connected-overlay.mjs +0 -222
- package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-custom-form-control.mjs +0 -172
- package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-dynamic-view.mjs +0 -318
- package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-event-plugins.mjs +0 -92
- package/fesm2020/odx-angular-cdk-event-plugins.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-expandable.mjs +0 -120
- package/fesm2020/odx-angular-cdk-expandable.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-option-control.mjs +0 -54
- package/fesm2020/odx-angular-cdk-option-control.mjs.map +0 -1
- package/fesm2020/odx-angular-cdk-radio-group-control.mjs +0 -102
- package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +0 -1
- package/fesm2020/odx-angular-charts-config.mjs +0 -171
- package/fesm2020/odx-angular-charts-config.mjs.map +0 -1
- package/fesm2020/odx-angular-components-accordion.mjs +0 -106
- package/fesm2020/odx-angular-components-accordion.mjs.map +0 -1
- package/fesm2020/odx-angular-components-action-group.mjs +0 -36
- package/fesm2020/odx-angular-components-action-group.mjs.map +0 -1
- package/fesm2020/odx-angular-components-area-header.mjs +0 -115
- package/fesm2020/odx-angular-components-area-header.mjs.map +0 -1
- package/fesm2020/odx-angular-components-autocomplete.mjs +0 -252
- package/fesm2020/odx-angular-components-autocomplete.mjs.map +0 -1
- package/fesm2020/odx-angular-components-avatar.mjs +0 -52
- package/fesm2020/odx-angular-components-avatar.mjs.map +0 -1
- package/fesm2020/odx-angular-components-badge.mjs +0 -131
- package/fesm2020/odx-angular-components-badge.mjs.map +0 -1
- package/fesm2020/odx-angular-components-bar.mjs +0 -95
- package/fesm2020/odx-angular-components-bar.mjs.map +0 -1
- package/fesm2020/odx-angular-components-breadcrumbs.mjs +0 -56
- package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +0 -1
- package/fesm2020/odx-angular-components-button-group.mjs +0 -60
- package/fesm2020/odx-angular-components-button-group.mjs.map +0 -1
- package/fesm2020/odx-angular-components-button.mjs +0 -83
- package/fesm2020/odx-angular-components-button.mjs.map +0 -1
- package/fesm2020/odx-angular-components-calendar.mjs +0 -616
- package/fesm2020/odx-angular-components-calendar.mjs.map +0 -1
- package/fesm2020/odx-angular-components-card.mjs +0 -179
- package/fesm2020/odx-angular-components-card.mjs.map +0 -1
- package/fesm2020/odx-angular-components-checkbox.mjs +0 -106
- package/fesm2020/odx-angular-components-checkbox.mjs.map +0 -1
- package/fesm2020/odx-angular-components-chip.mjs +0 -101
- package/fesm2020/odx-angular-components-chip.mjs.map +0 -1
- package/fesm2020/odx-angular-components-circular-progress.mjs +0 -112
- package/fesm2020/odx-angular-components-circular-progress.mjs.map +0 -1
- package/fesm2020/odx-angular-components-content-box.mjs +0 -64
- package/fesm2020/odx-angular-components-content-box.mjs.map +0 -1
- package/fesm2020/odx-angular-components-datepicker.mjs +0 -254
- package/fesm2020/odx-angular-components-datepicker.mjs.map +0 -1
- package/fesm2020/odx-angular-components-dropdown.mjs +0 -235
- package/fesm2020/odx-angular-components-dropdown.mjs.map +0 -1
- package/fesm2020/odx-angular-components-form-field.mjs +0 -395
- package/fesm2020/odx-angular-components-form-field.mjs.map +0 -1
- package/fesm2020/odx-angular-components-header.mjs +0 -112
- package/fesm2020/odx-angular-components-header.mjs.map +0 -1
- package/fesm2020/odx-angular-components-icon.mjs +0 -73
- package/fesm2020/odx-angular-components-icon.mjs.map +0 -1
- package/fesm2020/odx-angular-components-inline-message.mjs +0 -54
- package/fesm2020/odx-angular-components-inline-message.mjs.map +0 -1
- package/fesm2020/odx-angular-components-link.mjs +0 -33
- package/fesm2020/odx-angular-components-link.mjs.map +0 -1
- package/fesm2020/odx-angular-components-list.mjs +0 -125
- package/fesm2020/odx-angular-components-list.mjs.map +0 -1
- package/fesm2020/odx-angular-components-loading-spinner.mjs +0 -169
- package/fesm2020/odx-angular-components-loading-spinner.mjs.map +0 -1
- package/fesm2020/odx-angular-components-logo.mjs +0 -62
- package/fesm2020/odx-angular-components-logo.mjs.map +0 -1
- package/fesm2020/odx-angular-components-main-menu.mjs +0 -232
- package/fesm2020/odx-angular-components-main-menu.mjs.map +0 -1
- package/fesm2020/odx-angular-components-mainfilter-group.mjs +0 -27
- package/fesm2020/odx-angular-components-mainfilter-group.mjs.map +0 -1
- package/fesm2020/odx-angular-components-menu.mjs +0 -147
- package/fesm2020/odx-angular-components-menu.mjs.map +0 -1
- package/fesm2020/odx-angular-components-modal.mjs +0 -496
- package/fesm2020/odx-angular-components-modal.mjs.map +0 -1
- package/fesm2020/odx-angular-components-navigation-back.mjs +0 -28
- package/fesm2020/odx-angular-components-navigation-back.mjs.map +0 -1
- package/fesm2020/odx-angular-components-paginator.mjs +0 -177
- package/fesm2020/odx-angular-components-paginator.mjs.map +0 -1
- package/fesm2020/odx-angular-components-progress.mjs +0 -57
- package/fesm2020/odx-angular-components-progress.mjs.map +0 -1
- package/fesm2020/odx-angular-components-radio-group.mjs +0 -100
- package/fesm2020/odx-angular-components-radio-group.mjs.map +0 -1
- package/fesm2020/odx-angular-components-rail-navigation.mjs +0 -112
- package/fesm2020/odx-angular-components-rail-navigation.mjs.map +0 -1
- package/fesm2020/odx-angular-components-rich-list.mjs +0 -96
- package/fesm2020/odx-angular-components-rich-list.mjs.map +0 -1
- package/fesm2020/odx-angular-components-select.mjs +0 -326
- package/fesm2020/odx-angular-components-select.mjs.map +0 -1
- package/fesm2020/odx-angular-components-slider.mjs +0 -48
- package/fesm2020/odx-angular-components-slider.mjs.map +0 -1
- package/fesm2020/odx-angular-components-spinbox.mjs +0 -97
- package/fesm2020/odx-angular-components-spinbox.mjs.map +0 -1
- package/fesm2020/odx-angular-components-switch.mjs +0 -69
- package/fesm2020/odx-angular-components-switch.mjs.map +0 -1
- package/fesm2020/odx-angular-components-tab-bar.mjs +0 -203
- package/fesm2020/odx-angular-components-tab-bar.mjs.map +0 -1
- package/fesm2020/odx-angular-components-table.mjs +0 -256
- package/fesm2020/odx-angular-components-table.mjs.map +0 -1
- package/fesm2020/odx-angular-components-toast.mjs +0 -212
- package/fesm2020/odx-angular-components-toast.mjs.map +0 -1
- package/fesm2020/odx-angular-components-toggle-button-group.mjs +0 -104
- package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +0 -1
- package/fesm2020/odx-angular-components-tooltip.mjs +0 -189
- package/fesm2020/odx-angular-components-tooltip.mjs.map +0 -1
- package/fesm2020/odx-angular-components-wizard.mjs +0 -239
- package/fesm2020/odx-angular-components-wizard.mjs.map +0 -1
- package/fesm2020/odx-angular-internal-translate.mjs +0 -78
- package/fesm2020/odx-angular-internal-translate.mjs.map +0 -1
- package/fesm2020/odx-angular-internal.mjs +0 -167
- package/fesm2020/odx-angular-internal.mjs.map +0 -1
- package/fesm2020/odx-angular-rxjs.mjs +0 -33
- package/fesm2020/odx-angular-rxjs.mjs.map +0 -1
- package/fesm2020/odx-angular-theming.mjs +0 -111
- package/fesm2020/odx-angular-theming.mjs.map +0 -1
- package/fesm2020/odx-angular-utils.mjs +0 -413
- package/fesm2020/odx-angular-utils.mjs.map +0 -1
- package/fesm2020/odx-angular.mjs +0 -457
- package/fesm2020/odx-angular.mjs.map +0 -1
- package/internal/helpers/with-mutiple-descriptors.d.ts +0 -9
- package/utils/lib/decorators/transform.d.ts +0 -3
- /package/{esm2020 → esm2022}/animations/index.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/lib/config.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/lib/expand.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/lib/fade.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/lib/slide.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/lib/wait-for-child-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/odx-angular-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/breakpoints/index.mjs +0 -0
- /package/{esm2020 → esm2022}/breakpoints/lib/breakpoints.config.mjs +0 -0
- /package/{esm2020 → esm2022}/breakpoints/lib/breakpoints.typings.mjs +0 -0
- /package/{esm2020 → esm2022}/breakpoints/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/breakpoints/lib/helpers/configure-breakpoint.mjs +0 -0
- /package/{esm2020 → esm2022}/breakpoints/lib/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/breakpoints/lib/models/breakpoint.mjs +0 -0
- /package/{esm2020 → esm2022}/breakpoints/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/breakpoints/odx-angular-breakpoints.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/a11y/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/a11y/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/a11y/odx-angular-cdk-a11y.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/active-indicator/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/active-indicator/lib/models/active-indicator-direction.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/active-indicator/lib/models/active-indicator-position.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/active-indicator/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/active-indicator/odx-angular-cdk-active-indicator.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/autocomplete-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/autocomplete-control/lib/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/autocomplete-control/odx-angular-cdk-autocomplete-control.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/checkbox-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/checkbox-control/odx-angular-cdk-checkbox-control.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/connected-overlay/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/connected-overlay/lib/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/connected-overlay/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/connected-overlay/odx-angular-cdk-connected-overlay.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/custom-form-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/custom-form-control/odx-angular-cdk-custom-form-control.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/facade/dynamic-content.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/facade/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/helpers/is-dynamic-view.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/tokens/dynamic-view-context.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/lib/tokens/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/dynamic-view/odx-angular-cdk-dynamic-view.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/event-plugins/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/event-plugins/lib/event-plugins.config.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/event-plugins/lib/models/event-plugin.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/event-plugins/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/event-plugins/lib/plugins/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/event-plugins/odx-angular-cdk-event-plugins.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/expandable/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/expandable/lib/facade/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/expandable/odx-angular-cdk-expandable.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/option-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/option-control/odx-angular-cdk-option-control.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/radio-group-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/radio-group-control/odx-angular-cdk-radio-group-control.mjs +0 -0
- /package/{esm2020 → esm2022}/charts-config/index.mjs +0 -0
- /package/{esm2020 → esm2022}/charts-config/odx-angular-charts-config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/accordion/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/accordion/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/accordion/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/accordion/odx-angular-components-accordion.mjs +0 -0
- /package/{esm2020 → esm2022}/components/action-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/action-group/odx-angular-components-action-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/area-header/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/area-header/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/area-header/models/area-header-size.mjs +0 -0
- /package/{esm2020 → esm2022}/components/area-header/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/area-header/odx-angular-components-area-header.mjs +0 -0
- /package/{esm2020 → esm2022}/components/autocomplete/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/autocomplete/lib/autocomplete.tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/components/autocomplete/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/autocomplete/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/autocomplete/lib/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/autocomplete/odx-angular-components-autocomplete.mjs +0 -0
- /package/{esm2020 → esm2022}/components/avatar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/avatar/lib/models/avatar-size.mjs +0 -0
- /package/{esm2020 → esm2022}/components/avatar/lib/models/avatar-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/avatar/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/avatar/odx-angular-components-avatar.mjs +0 -0
- /package/{esm2020 → esm2022}/components/badge/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/badge/lib/models/badge-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/badge/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/badge/odx-angular-components-badge.mjs +0 -0
- /package/{esm2020 → esm2022}/components/bar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/bar/lib/models/bar-button-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/bar/odx-angular-components-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/components/breadcrumbs/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/lib/models/button-size.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/lib/models/button-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/odx-angular-components-button.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button-group/odx-angular-components-button-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/calendar.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/components/calendar-header/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/components/calendar-month/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/components/calendar-year/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/components/calendar-years/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/models/calendar-view.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/models/date-filter.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/models/date-type.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/models/date-validator.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/utils/check-identical-date.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/utils/get-A11y-label.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/utils/is-date-disabled.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/utils/parse-date.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/utils/validate-max-date.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/utils/validate-min-date.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/utils/validate-next-date-set.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/lib/utils/validate-previous-date-set.mjs +0 -0
- /package/{esm2020 → esm2022}/components/calendar/odx-angular-components-calendar.mjs +0 -0
- /package/{esm2020 → esm2022}/components/card/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/card/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/card/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/card/lib/models/card-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/card/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/card/odx-angular-components-card.mjs +0 -0
- /package/{esm2020 → esm2022}/components/checkbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/checkbox/odx-angular-components-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/components/chip/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/chip/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/chip/lib/models/chip-size.mjs +0 -0
- /package/{esm2020 → esm2022}/components/chip/lib/models/chip-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/chip/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/chip/odx-angular-components-chip.mjs +0 -0
- /package/{esm2020 → esm2022}/components/circular-progress/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/circular-progress/lib/models/circular-progress-size.mjs +0 -0
- /package/{esm2020 → esm2022}/components/circular-progress/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/circular-progress/odx-angular-components-circular-progress.mjs +0 -0
- /package/{esm2020 → esm2022}/components/content-box/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/content-box/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/content-box/odx-angular-components-content-box.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/lib/datepicker.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/lib/models/datepicker-input-date-order.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/lib/models/datepicker-input-pattern.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/lib/utils/get-datepicker-input-pattern.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/lib/utils/get-datepicker-input-value-as-date.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/lib/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/datepicker/odx-angular-components-datepicker.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/lib/helpers/close-current-dropdown.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/lib/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/lib/models/dropdown-options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/odx-angular-components-dropdown.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/lib/form-field.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/lib/models/form-field-error-resolver.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/lib/models/form-field-error.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/lib/models/form-field-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/lib/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/form-field/odx-angular-components-form-field.mjs +0 -0
- /package/{esm2020 → esm2022}/components/header/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/header/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/header/odx-angular-components-header.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon/lib/icon.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon/lib/models/icon-size.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon/odx-angular-components-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/components/inline-message/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/inline-message/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/inline-message/lib/models/inline-message-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/inline-message/odx-angular-components-inline-message.mjs +0 -0
- /package/{esm2020 → esm2022}/components/link/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/link/odx-angular-components-link.mjs +0 -0
- /package/{esm2020 → esm2022}/components/list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/list/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/list/odx-angular-components-list.mjs +0 -0
- /package/{esm2020 → esm2022}/components/loading-spinner/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/loading-spinner/odx-angular-components-loading-spinner.mjs +0 -0
- /package/{esm2020 → esm2022}/components/logo/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/logo/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/logo/models/logo-size.mjs +0 -0
- /package/{esm2020 → esm2022}/components/logo/models/logo-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/logo/odx-angular-components-logo.mjs +0 -0
- /package/{esm2020 → esm2022}/components/main-menu/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/main-menu/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/main-menu/lib/helpers/create-main-menu-links.mjs +0 -0
- /package/{esm2020 → esm2022}/components/main-menu/lib/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/main-menu/lib/main-menu.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/main-menu/lib/main-menu.i18n.mjs +0 -0
- /package/{esm2020 → esm2022}/components/main-menu/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/main-menu/lib/models/main-menu-link.mjs +0 -0
- /package/{esm2020 → esm2022}/components/main-menu/odx-angular-components-main-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/components/mainfilter-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/mainfilter-group/odx-angular-components-mainfilter-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/menu/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/menu/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/menu/odx-angular-components-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/helpers/inject-modal-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/helpers/provide-modal-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/modal.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/models/basic-modal-options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/models/modal-hero-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/models/modal-options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/models/modal-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/models/modal-size.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/models/modal-type.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/lib/models/modal-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/modal/odx-angular-components-modal.mjs +0 -0
- /package/{esm2020 → esm2022}/components/navigation-back/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/navigation-back/odx-angular-components-navigation-back.mjs +0 -0
- /package/{esm2020 → esm2022}/components/paginator/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/paginator/lib/interfaces/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/paginator/lib/interfaces/page-change.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/components/paginator/lib/models/get-range-content.model.mjs +0 -0
- /package/{esm2020 → esm2022}/components/paginator/lib/models/get-summary-content.model.mjs +0 -0
- /package/{esm2020 → esm2022}/components/paginator/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/paginator/lib/paginator.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/paginator/odx-angular-components-paginator.mjs +0 -0
- /package/{esm2020 → esm2022}/components/progress/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/progress/odx-angular-components-progress.mjs +0 -0
- /package/{esm2020 → esm2022}/components/radio-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/radio-group/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/radio-group/odx-angular-components-radio-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/rail-navigation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/rail-navigation/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/rail-navigation/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/rail-navigation/lib/models/rail-navigation-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/rail-navigation/odx-angular-components-rail-navigation.mjs +0 -0
- /package/{esm2020 → esm2022}/components/rich-list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/rich-list/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/rich-list/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/rich-list/odx-angular-components-rich-list.mjs +0 -0
- /package/{esm2020 → esm2022}/components/select/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/select/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/select/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/select/lib/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/select/lib/select.tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/components/select/odx-angular-components-select.mjs +0 -0
- /package/{esm2020 → esm2022}/components/slider/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/slider/odx-angular-components-slider.mjs +0 -0
- /package/{esm2020 → esm2022}/components/spinbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/spinbox/odx-angular-components-spinbox.mjs +0 -0
- /package/{esm2020 → esm2022}/components/switch/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/switch/odx-angular-components-switch.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-bar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-bar/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-bar/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-bar/lib/models/tab-change-event.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-bar/lib/tab-bar.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-bar/odx-angular-components-tab-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/lib/models/body-cell.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/lib/models/header-cell.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/lib/models/sort-status.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/lib/models/sort-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/lib/models/table-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/lib/table.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/table/odx-angular-components-table.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/lib/models/toast-action.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/lib/models/toast-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/lib/models/toast-variant.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/lib/models/toast.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/lib/models/toast.options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/lib/toast.config.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toast/odx-angular-components-toast.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toggle-button-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toggle-button-group/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toggle-button-group/odx-angular-components-toggle-button-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tooltip/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tooltip/lib/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tooltip/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tooltip/lib/models/tooltip-options.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tooltip/lib/models/tooltip-size.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tooltip/lib/models/tooltip-trigger.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tooltip/odx-angular-components-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/components/wizard/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/wizard/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/wizard/odx-angular-components-wizard.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/decorators/css-component.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/decorators/index.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/helpers/camel-to-kebab-case.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/helpers/decorator-property-name.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/helpers/deepmerge.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/helpers/get-css-variables.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/helpers/get-enum-values.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/index.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/odx-angular-internal.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/index.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/lib/helpers/get-language-code.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/lib/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/lib/models/translation.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/lib/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/lib/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/lib/translate.config.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/lib/translate.service.mjs +0 -0
- /package/{esm2020 → esm2022}/internal/translate/odx-angular-internal-translate.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/controllers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/environment.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tokens/identity-matcher.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tokens/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tokens/string-search-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tokens/stringify.mjs +0 -0
- /package/{esm2020 → esm2022}/odx-angular.mjs +0 -0
- /package/{esm2020 → esm2022}/rxjs/index.mjs +0 -0
- /package/{esm2020 → esm2022}/rxjs/lib/delay-until.mjs +0 -0
- /package/{esm2020 → esm2022}/rxjs/lib/form-query-list.mjs +0 -0
- /package/{esm2020 → esm2022}/rxjs/lib/from-element-resize.mjs +0 -0
- /package/{esm2020 → esm2022}/rxjs/lib/from-events.mjs +0 -0
- /package/{esm2020 → esm2022}/rxjs/odx-angular-rxjs.mjs +0 -0
- /package/{esm2020 → esm2022}/sdk/index.mjs +0 -0
- /package/{esm2020 → esm2022}/sdk/lib/application-environment.mjs +0 -0
- /package/{esm2020 → esm2022}/sdk/odx-angular-sdk.mjs +0 -0
- /package/{esm2020 → esm2022}/theming/index.mjs +0 -0
- /package/{esm2020 → esm2022}/theming/lib/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/theming/lib/helpers/prefers-dark-theme.mjs +0 -0
- /package/{esm2020 → esm2022}/theming/lib/helpers/resolve-theme.mjs +0 -0
- /package/{esm2020 → esm2022}/theming/lib/helpers/theme-storage.mjs +0 -0
- /package/{esm2020 → esm2022}/theming/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/theming/lib/models/theme.mjs +0 -0
- /package/{esm2020 → esm2022}/theming/lib/theming.config.mjs +0 -0
- /package/{esm2020 → esm2022}/theming/odx-angular-theming.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/decorators/pure.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/array.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/build-url.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/build-website-url.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/debounce.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/defer-fn.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/dom.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/get-axis.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/get-opposite-side.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/get-side.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/get-unique-id.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/provide-config.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/queue.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/helpers/type-guards.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/types/axis.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/types/get-properties.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/types/position.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/lib/types/side.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/odx-angular-utils.mjs +0 -0
- /package/{fesm2020 → fesm2022}/odx-angular-animations.mjs +0 -0
- /package/{fesm2020 → fesm2022}/odx-angular-animations.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/odx-angular-rxjs.mjs +0 -0
- /package/{fesm2015 → fesm2022}/odx-angular-rxjs.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/odx-angular-sdk.mjs +0 -0
- /package/{fesm2020 → fesm2022}/odx-angular-sdk.mjs.map +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, Input, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { CheckboxComponent } from '@odx/angular/components/checkbox';
|
|
5
|
+
import { untilDestroyed } from '@odx/angular/utils';
|
|
6
|
+
import { tap } from 'rxjs';
|
|
7
|
+
import { TableSortVariant } from '../../models/sort-variant';
|
|
8
|
+
import { TABLE } from '../../table.config';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@angular/common";
|
|
11
|
+
import * as i2 from "@angular/forms";
|
|
12
|
+
export class HeaderTitleComponent {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.table = inject(TABLE);
|
|
15
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
16
|
+
this.takeUntilDestroyed = untilDestroyed();
|
|
17
|
+
this.sortStatus = this.getSortStatus;
|
|
18
|
+
this.test = true;
|
|
19
|
+
this.checkForm = new FormGroup({ check: new FormControl(false) });
|
|
20
|
+
}
|
|
21
|
+
get getSortStatus() {
|
|
22
|
+
return { column: this.item?.name, sortVariant: TableSortVariant.UNSORTED };
|
|
23
|
+
}
|
|
24
|
+
get sortIcon() {
|
|
25
|
+
return this.sortStatus.sortVariant;
|
|
26
|
+
}
|
|
27
|
+
sortColumn() {
|
|
28
|
+
if (!this.item?.sortable)
|
|
29
|
+
return;
|
|
30
|
+
switch (this.sortStatus.sortVariant) {
|
|
31
|
+
case TableSortVariant.DESC:
|
|
32
|
+
case TableSortVariant.UNSORTED:
|
|
33
|
+
this.table.clearSort();
|
|
34
|
+
this.sortStatus = { ...this.sortStatus, sortVariant: TableSortVariant.ASC };
|
|
35
|
+
break;
|
|
36
|
+
case TableSortVariant.ASC:
|
|
37
|
+
this.table.clearSort();
|
|
38
|
+
this.sortStatus = { ...this.sortStatus, sortVariant: TableSortVariant.DESC };
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
this.table.sorted.emit(this.sortStatus);
|
|
42
|
+
}
|
|
43
|
+
clearSortStatus() {
|
|
44
|
+
this.sortStatus = { column: this.item?.name, sortVariant: TableSortVariant.UNSORTED };
|
|
45
|
+
this.check();
|
|
46
|
+
}
|
|
47
|
+
get selected() {
|
|
48
|
+
return this.table.data.filter((d) => d[this.item.name]).length;
|
|
49
|
+
}
|
|
50
|
+
check() {
|
|
51
|
+
this.cdr.markForCheck();
|
|
52
|
+
}
|
|
53
|
+
get checked() {
|
|
54
|
+
const column = this.table.headerData.find((h) => h.check)?.name;
|
|
55
|
+
return this.table.data.every((item) => column && item[column]);
|
|
56
|
+
}
|
|
57
|
+
ngOnInit() {
|
|
58
|
+
this.checkBoxListener();
|
|
59
|
+
}
|
|
60
|
+
checkBoxListener() {
|
|
61
|
+
if (!this.item.check)
|
|
62
|
+
return;
|
|
63
|
+
this.checkForm
|
|
64
|
+
.get('check')
|
|
65
|
+
?.valueChanges.pipe(this.takeUntilDestroyed(), tap((check) => this.table.checked.emit({ column: this.item.name, check: !!check })))
|
|
66
|
+
.subscribe();
|
|
67
|
+
}
|
|
68
|
+
get indeterminate() {
|
|
69
|
+
const column = this.table.headerData.find((h) => h.check)?.name;
|
|
70
|
+
const { length } = this.table.data;
|
|
71
|
+
const unchecked = length - this.table.data.filter((item) => column && item[column]).length;
|
|
72
|
+
return unchecked > 0 && unchecked < length;
|
|
73
|
+
}
|
|
74
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
75
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderTitleComponent, isStandalone: true, selector: "th[odxHeaderTitle]", inputs: { item: "item" }, ngImport: i0, template: "<div *ngIf=\"item?.check; else title\" class=\"odx-table__check\">\n <div [formGroup]=\"checkForm\">\n <odx-checkbox [checked]=\"checked\" [indeterminate]=\"indeterminate\" formControlName=\"check\"></odx-checkbox>\n </div>\n</div>\n<ng-template #title>\n <div class=\"odx-table__header-cell-title\" (click)=\"sortColumn()\" [class.sortable]=\"item.sortable\">\n {{ item.title }}\n <ng-container *ngIf=\"item?.sortable\" [ngSwitch]=\"sortIcon\">\n <svg *ngSwitchCase=\"'unsorted'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\">\n <path d=\"m14,5H2v-2h12v2Zm-4,2H2v2h8v-2Zm-4,4H2v2h4v-2Z\" style=\"fill: var(--blue-700)\" />\n </svg>\n <svg *ngSwitchCase=\"'desc'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\">\n <polygon points=\"11 6 8 3 5 6 7 6 7 13 9 13 9 6 11 6\" style=\"fill: var(--blue-700)\" />\n </svg>\n <svg *ngSwitchCase=\"'asc'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\">\n <polygon points=\"5 10 8 13 11 10 9 10 9 3 7 3 7 10 5 10\" style=\"fill: var(--blue-700)\" />\n </svg>\n </ng-container>\n </div>\n <ng-content select=\"odx-form-field\"></ng-content>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: CheckboxComponent, selector: "odx-checkbox", inputs: ["indeterminate"], outputs: ["indeterminateChange"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
76
|
+
}
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderTitleComponent, decorators: [{
|
|
78
|
+
type: Component,
|
|
79
|
+
args: [{ selector: 'th[odxHeaderTitle]', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, CheckboxComponent, ReactiveFormsModule], template: "<div *ngIf=\"item?.check; else title\" class=\"odx-table__check\">\n <div [formGroup]=\"checkForm\">\n <odx-checkbox [checked]=\"checked\" [indeterminate]=\"indeterminate\" formControlName=\"check\"></odx-checkbox>\n </div>\n</div>\n<ng-template #title>\n <div class=\"odx-table__header-cell-title\" (click)=\"sortColumn()\" [class.sortable]=\"item.sortable\">\n {{ item.title }}\n <ng-container *ngIf=\"item?.sortable\" [ngSwitch]=\"sortIcon\">\n <svg *ngSwitchCase=\"'unsorted'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\">\n <path d=\"m14,5H2v-2h12v2Zm-4,2H2v2h8v-2Zm-4,4H2v2h4v-2Z\" style=\"fill: var(--blue-700)\" />\n </svg>\n <svg *ngSwitchCase=\"'desc'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\">\n <polygon points=\"11 6 8 3 5 6 7 6 7 13 9 13 9 6 11 6\" style=\"fill: var(--blue-700)\" />\n </svg>\n <svg *ngSwitchCase=\"'asc'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\">\n <polygon points=\"5 10 8 13 11 10 9 10 9 3 7 3 7 10 5 10\" style=\"fill: var(--blue-700)\" />\n </svg>\n </ng-container>\n </div>\n <ng-content select=\"odx-form-field\"></ng-content>\n</ng-template>\n" }]
|
|
80
|
+
}], propDecorators: { item: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}] } });
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLXRpdGxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci9jb21wb25lbnRzL3RhYmxlL3NyYy9saWIvY29tcG9uZW50cy9oZWFkZXItdGl0bGUvaGVhZGVyLXRpdGxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci9jb21wb25lbnRzL3RhYmxlL3NyYy9saWIvY29tcG9uZW50cy9oZWFkZXItdGl0bGUvaGVhZGVyLXRpdGxlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQVUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDaEksT0FBTyxFQUFFLFdBQVcsRUFBRSxTQUFTLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUNyRSxPQUFPLEVBQUUsY0FBYyxF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DExIDZcIiBzdHlsZT1cImZpbGw6IHZhcigtLWJsdWUtNzAwKVwiIC8+XG4gICAgICA8L3N2Zz5cbiAgICAgIDxzdmcgKm5nU3dpdGNoQ2FzZT1cIidhc2MnXCIgeG1sbnM9XCJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Z1wiIHZpZXdCb3g9XCIwIDAgMTYgMTZcIj5cbiAgICAgICAgPHBvbHlnb24gcG9pbnRzPVwiNSAxMCA4IDEzIDExIDEwIDkgMTAgOSAzIDcgMyA3IDEwIDUgMTBcIiBzdHlsZT1cImZpbGw6IHZhcigtLWJsdWUtNzAwKVwiIC8+XG4gICAgICA8L3N2Zz5cbiAgICA8L25nLWNvbnRhaW5lcj5cbiAgPC9kaXY+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cIm9keC1mb3JtLWZpZWxkXCI+PC9uZy1jb250ZW50PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import { CSSComponent } from '@odx/angular/internal';
|
|
4
|
+
import { injectElement } from '@odx/angular/utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export let TableCellDirective = class TableCellDirective {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.element = injectElement();
|
|
9
|
+
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableCellDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TableCellDirective, isStandalone: true, selector: "td[odx-table-cell]", host: { properties: { "attr.role": "\"cell\"" } }, ngImport: i0 }); }
|
|
12
|
+
};
|
|
13
|
+
TableCellDirective = __decorate([
|
|
14
|
+
CSSComponent('table__cell')
|
|
15
|
+
], TableCellDirective);
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableCellDirective, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: 'td[odx-table-cell]',
|
|
20
|
+
standalone: true,
|
|
21
|
+
host: {
|
|
22
|
+
'[attr.role]': '"cell"',
|
|
23
|
+
},
|
|
24
|
+
}]
|
|
25
|
+
}] });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY2VsbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY29tcG9uZW50cy90YWJsZS9zcmMvbGliL2RpcmVjdGl2ZXMvdGFibGUtY2VsbC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3JELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7QUFVNUMsV0FBTSxrQkFBa0IsR0FBeEIsTUFBTSxrQkFBa0I7SUFBeEI7UUFDVyxZQUFPLEdBQUcsYUFBYSxFQUFFLENBQUM7S0FDM0M7K0dBRlksa0JBQWtCO21HQUFsQixrQkFBa0I7O0FBQWxCLGtCQUFrQjtJQVI5QixZQUFZLENBQUMsYUFBYSxDQUFDO0dBUWYsa0JBQWtCLENBRTlCOzRGQUZZLGtCQUFrQjtrQkFQOUIsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsb0JBQW9CO29CQUM5QixVQUFVLEVBQUUsSUFBSTtvQkFDaEIsSUFBSSxFQUFFO3dCQUNKLGFBQWEsRUFBRSxRQUFRO3FCQUN4QjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ1NTQ29tcG9uZW50IH0gZnJvbSAnQG9keC9hbmd1bGFyL2ludGVybmFsJztcbmltcG9ydCB7IGluamVjdEVsZW1lbnQgfSBmcm9tICdAb2R4L2FuZ3VsYXIvdXRpbHMnO1xuXG5AQ1NTQ29tcG9uZW50KCd0YWJsZV9fY2VsbCcpXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICd0ZFtvZHgtdGFibGUtY2VsbF0nLFxuICBzdGFuZGFsb25lOiB0cnVlLFxuICBob3N0OiB7XG4gICAgJ1thdHRyLnJvbGVdJzogJ1wiY2VsbFwiJyxcbiAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVGFibGVDZWxsRGlyZWN0aXZlIHtcbiAgcHVibGljIHJlYWRvbmx5IGVsZW1lbnQgPSBpbmplY3RFbGVtZW50KCk7XG59XG4iXX0=
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import { CSSComponent } from '@odx/angular/internal';
|
|
4
|
+
import { injectElement } from '@odx/angular/utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export let TableRowDirective = class TableRowDirective {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.element = injectElement();
|
|
9
|
+
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableRowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TableRowDirective, isStandalone: true, selector: "tr[odx-table-row]", host: { properties: { "attr.role": "\"row\"", "attr.tabindex": "0" } }, ngImport: i0 }); }
|
|
12
|
+
};
|
|
13
|
+
TableRowDirective = __decorate([
|
|
14
|
+
CSSComponent('table__row')
|
|
15
|
+
], TableRowDirective);
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableRowDirective, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: 'tr[odx-table-row]',
|
|
20
|
+
standalone: true,
|
|
21
|
+
host: {
|
|
22
|
+
'[attr.role]': '"row"',
|
|
23
|
+
'[attr.tabindex]': '0',
|
|
24
|
+
},
|
|
25
|
+
}]
|
|
26
|
+
}] });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcm93LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci9jb21wb25lbnRzL3RhYmxlL3NyYy9saWIvZGlyZWN0aXZlcy90YWJsZS1yb3cuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUNyRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7O0FBVzVDLFdBQU0saUJBQWlCLEdBQXZCLE1BQU0saUJBQWlCO0lBQXZCO1FBQ1csWUFBTyxHQUFHLGFBQWEsRUFBRSxDQUFDO0tBQzNDOytHQUZZLGlCQUFpQjttR0FBakIsaUJBQWlCOztBQUFqQixpQkFBaUI7SUFUN0IsWUFBWSxDQUFDLFlBQVksQ0FBQztHQVNkLGlCQUFpQixDQUU3Qjs0RkFGWSxpQkFBaUI7a0JBUjdCLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLG1CQUFtQjtvQkFDN0IsVUFBVSxFQUFFLElBQUk7b0JBQ2hCLElBQUksRUFBRTt3QkFDSixhQUFhLEVBQUUsT0FBTzt3QkFDdEIsaUJBQWlCLEVBQUUsR0FBRztxQkFDdkI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENTU0NvbXBvbmVudCB9IGZyb20gJ0BvZHgvYW5ndWxhci9pbnRlcm5hbCc7XG5pbXBvcnQgeyBpbmplY3RFbGVtZW50IH0gZnJvbSAnQG9keC9hbmd1bGFyL3V0aWxzJztcblxuQENTU0NvbXBvbmVudCgndGFibGVfX3JvdycpXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICd0cltvZHgtdGFibGUtcm93XScsXG4gIHN0YW5kYWxvbmU6IHRydWUsXG4gIGhvc3Q6IHtcbiAgICAnW2F0dHIucm9sZV0nOiAnXCJyb3dcIicsXG4gICAgJ1thdHRyLnRhYmluZGV4XSc6ICcwJyxcbiAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVGFibGVSb3dEaXJlY3RpdmUge1xuICBwdWJsaWMgcmVhZG9ubHkgZWxlbWVudCA9IGluamVjdEVsZW1lbnQoKTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
var TableComponent_1;
|
|
2
|
+
import { __decorate, __metadata } from "tslib";
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, QueryList, ViewChildren, ViewEncapsulation } from '@angular/core';
|
|
5
|
+
import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import { FormFieldModule } from '@odx/angular/components/form-field';
|
|
7
|
+
import { IconComponent } from '@odx/angular/components/icon';
|
|
8
|
+
import { CSSComponent, CSSModifier } from '@odx/angular/internal';
|
|
9
|
+
import { injectElement, untilDestroyed } from '@odx/angular/utils';
|
|
10
|
+
import { debounceTime, tap } from 'rxjs';
|
|
11
|
+
import { HeaderTitleComponent } from './components/header-title/header-title.component';
|
|
12
|
+
import { TABLE } from './table.config';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@angular/common";
|
|
15
|
+
import * as i2 from "@angular/forms";
|
|
16
|
+
import * as i3 from "@odx/angular/components/form-field";
|
|
17
|
+
export let TableComponent = class TableComponent {
|
|
18
|
+
constructor() {
|
|
19
|
+
this.takeUntilDestroyed = untilDestroyed();
|
|
20
|
+
this.element = injectElement();
|
|
21
|
+
this.data = [];
|
|
22
|
+
this.headerData = [];
|
|
23
|
+
this.form = new FormGroup({});
|
|
24
|
+
this.sorted = new EventEmitter();
|
|
25
|
+
this.filtered = new EventEmitter();
|
|
26
|
+
this.checked = new EventEmitter();
|
|
27
|
+
}
|
|
28
|
+
static { TableComponent_1 = this; }
|
|
29
|
+
ngOnInit() {
|
|
30
|
+
this.setHeaderData();
|
|
31
|
+
this.headerData.forEach((item) => item.filter && this.form.addControl(item.name, new FormControl('')));
|
|
32
|
+
this.formListener();
|
|
33
|
+
}
|
|
34
|
+
clearSort() {
|
|
35
|
+
this.headers.forEach((header) => header.clearSortStatus());
|
|
36
|
+
}
|
|
37
|
+
formListener() {
|
|
38
|
+
if (Object.keys(this.form.controls).length === 0)
|
|
39
|
+
return;
|
|
40
|
+
this.form.valueChanges
|
|
41
|
+
.pipe(debounceTime(600), this.takeUntilDestroyed(), tap(() => {
|
|
42
|
+
this.filtered.emit(this.form.value);
|
|
43
|
+
this.headers?.filter((header) => !!header.item.check).forEach((header) => header.check());
|
|
44
|
+
}))
|
|
45
|
+
.subscribe();
|
|
46
|
+
}
|
|
47
|
+
setHeaderData() {
|
|
48
|
+
this.headerData = Object.keys(this.data[0]).map((key) => this.headerData.find((item) => item.name === key) || {
|
|
49
|
+
name: key,
|
|
50
|
+
title: `${key[0].toUpperCase()}${key.slice(1)}`,
|
|
51
|
+
sortable: false,
|
|
52
|
+
filter: false,
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TableComponent, isStandalone: true, selector: "table[odxTable]", inputs: { variant: "variant", data: "data", headerData: "headerData" }, outputs: { sorted: "sorted", filtered: "filtered", checked: "checked" }, host: { properties: { "attr.role": "\"table\"" } }, providers: [{ provide: TABLE, useExisting: TableComponent_1 }], viewQueries: [{ propertyName: "headers", predicate: HeaderTitleComponent, descendants: true }], ngImport: i0, template: "<thead class=\"odx-table__head\" role=\"rowgroup\" [formGroup]=\"form\">\n <tr class=\"odx-table__header-row\" role=\"row\">\n <th *ngFor=\"let item of headerData\" class=\"odx-table__header-cell\" role=\"columnheader\" odxHeaderTitle [item]=\"item\">\n <odx-form-field *ngIf=\"item.filter\">\n <input placeholder=\"Filter\" [formControlName]=\"item.name\" type=\"text\" odxFormFieldControl />\n </odx-form-field>\n </th>\n </tr>\n</thead>\n<tbody class=\"odx-table__body\" role=\"rowgroup\">\n <ng-content select=\"tr\"></ng-content>\n</tbody>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: FormFieldModule }, { kind: "component", type: i3.FormFieldComponent, selector: "odx-form-field", inputs: ["label", "hasWarning", "variant"] }, { kind: "directive", type: i3.FormFieldControlDirective, selector: "[odxFormFieldControl]", exportAs: ["odxFormFieldControl"] }, { kind: "component", type: HeaderTitleComponent, selector: "th[odxHeaderTitle]", inputs: ["item"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
57
|
+
};
|
|
58
|
+
__decorate([
|
|
59
|
+
CSSModifier(),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], TableComponent.prototype, "variant", void 0);
|
|
62
|
+
TableComponent = TableComponent_1 = __decorate([
|
|
63
|
+
CSSComponent('table')
|
|
64
|
+
], TableComponent);
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableComponent, decorators: [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'table[odxTable]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
68
|
+
'[attr.role]': '"table"',
|
|
69
|
+
}, imports: [CommonModule, IconComponent, ReactiveFormsModule, FormFieldModule, HeaderTitleComponent], providers: [{ provide: TABLE, useExisting: TableComponent }], template: "<thead class=\"odx-table__head\" role=\"rowgroup\" [formGroup]=\"form\">\n <tr class=\"odx-table__header-row\" role=\"row\">\n <th *ngFor=\"let item of headerData\" class=\"odx-table__header-cell\" role=\"columnheader\" odxHeaderTitle [item]=\"item\">\n <odx-form-field *ngIf=\"item.filter\">\n <input placeholder=\"Filter\" [formControlName]=\"item.name\" type=\"text\" odxFormFieldControl />\n </odx-form-field>\n </th>\n </tr>\n</thead>\n<tbody class=\"odx-table__body\" role=\"rowgroup\">\n <ng-content select=\"tr\"></ng-content>\n</tbody>\n" }]
|
|
70
|
+
}], propDecorators: { variant: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], data: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], headerData: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], sorted: [{
|
|
77
|
+
type: Output
|
|
78
|
+
}], filtered: [{
|
|
79
|
+
type: Output
|
|
80
|
+
}], checked: [{
|
|
81
|
+
type: Output
|
|
82
|
+
}], headers: [{
|
|
83
|
+
type: ViewChildren,
|
|
84
|
+
args: [HeaderTitleComponent]
|
|
85
|
+
}] } });
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL2NvbXBvbmVudHMvdGFibGUvc3JjL2xpYi90YWJsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY29tcG9uZW50cy90YWJsZS9zcmMvbGliL3RhYmxlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLE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RyPlxuPC90aGVhZD5cbjx0Ym9keSBjbGFzcz1cIm9keC10YWJsZV9fYm9keVwiIHJvbGU9XCJyb3dncm91cFwiPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJ0clwiPjwvbmctY29udGVudD5cbjwvdGJvZHk+XG4iXX0=
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CoreModule } from '@odx/angular';
|
|
3
|
+
import { CheckCellComponent } from './components/check-cell/check-cell.component';
|
|
4
|
+
import { TableCellDirective } from './directives/table-cell.directive';
|
|
5
|
+
import { TableRowDirective } from './directives/table-row.directive';
|
|
6
|
+
import { TableComponent } from './table.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
const modules = [TableComponent, TableRowDirective, TableCellDirective, CheckCellComponent];
|
|
9
|
+
export class TableModule {
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TableModule, imports: [TableComponent, TableRowDirective, TableCellDirective, CheckCellComponent], exports: [CoreModule, TableComponent, TableRowDirective, TableCellDirective, CheckCellComponent] }); }
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableModule, imports: [TableComponent, CheckCellComponent, CoreModule] }); }
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableModule, decorators: [{
|
|
15
|
+
type: NgModule,
|
|
16
|
+
args: [{
|
|
17
|
+
imports: modules,
|
|
18
|
+
exports: [CoreModule, ...modules],
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data: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FFLEdBQUcsT0FBTyxDQUFDO2lCQUNsQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb3JlTW9kdWxlIH0gZnJvbSAnQG9keC9hbmd1bGFyJztcbmltcG9ydCB7IENoZWNrQ2VsbENvbXBvbmVudCB9IGZyb20gJy4vY29tcG9uZW50cy9jaGVjay1jZWxsL2NoZWNrLWNlbGwuY29tcG9uZW50JztcbmltcG9ydCB7IFRhYmxlQ2VsbERpcmVjdGl2ZSB9IGZyb20gJy4vZGlyZWN0aXZlcy90YWJsZS1jZWxsLmRpcmVjdGl2ZSc7XG5pbXBvcnQgeyBUYWJsZVJvd0RpcmVjdGl2ZSB9IGZyb20gJy4vZGlyZWN0aXZlcy90YWJsZS1yb3cuZGlyZWN0aXZlJztcbmltcG9ydCB7IFRhYmxlQ29tcG9uZW50IH0gZnJvbSAnLi90YWJsZS5jb21wb25lbnQnO1xuXG5jb25zdCBtb2R1bGVzID0gW1RhYmxlQ29tcG9uZW50LCBUYWJsZVJvd0RpcmVjdGl2ZSwgVGFibGVDZWxsRGlyZWN0aXZlLCBDaGVja0NlbGxDb21wb25lbnRdO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBtb2R1bGVzLFxuICBleHBvcnRzOiBbQ29yZU1vZHVsZSwgLi4ubW9kdWxlc10sXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
var ToastContainerComponent_1;
|
|
2
|
+
import { __decorate } from "tslib";
|
|
3
|
+
import { group, transition, trigger, useAnimation } from '@angular/animations';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { ChangeDetectionStrategy, Component, inject, Input, numberAttribute, Output, Renderer2, ViewEncapsulation, } from '@angular/core';
|
|
6
|
+
import { WindowRef } from '@odx/angular';
|
|
7
|
+
import { collapse, expand, fadeIn, slideInRight } from '@odx/angular/animations';
|
|
8
|
+
import { ChipComponent } from '@odx/angular/components/chip';
|
|
9
|
+
import { HeaderComponent } from '@odx/angular/components/header';
|
|
10
|
+
import { CSSComponent } from '@odx/angular/internal';
|
|
11
|
+
import { injectElement, px, trackById } from '@odx/angular/utils';
|
|
12
|
+
import { map } from 'rxjs';
|
|
13
|
+
import { ToastService } from '../../toast.service';
|
|
14
|
+
import { ToastItemComponent } from '../toast-item/toast-item.component';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
import * as i1 from "@angular/common";
|
|
17
|
+
const TOAST_ANIMATION_DELAY = '125ms';
|
|
18
|
+
export let ToastContainerComponent = class ToastContainerComponent {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.windowRef = inject(WindowRef);
|
|
21
|
+
this.renderer = inject(Renderer2);
|
|
22
|
+
this.toastService = inject(ToastService);
|
|
23
|
+
this.trackById = trackById;
|
|
24
|
+
this.element = injectElement();
|
|
25
|
+
this.items$ = this.toastService.queue$.pipe(map((refs) => refs.slice(0, this.maxItems)));
|
|
26
|
+
this.hiddenToasts$ = this.toastService.queue$.pipe(map((refs) => Math.max(0, refs.length - this.maxItems)));
|
|
27
|
+
this.maxItems = 3;
|
|
28
|
+
this.dismiss = this.toastService.onRemove$;
|
|
29
|
+
}
|
|
30
|
+
static { ToastContainerComponent_1 = this; }
|
|
31
|
+
static { this.INITIALIZED = false; }
|
|
32
|
+
ngAfterViewInit() {
|
|
33
|
+
if (ToastContainerComponent_1.INITIALIZED) {
|
|
34
|
+
throw new Error('Only one toast container per application allowed');
|
|
35
|
+
}
|
|
36
|
+
ToastContainerComponent_1.INITIALIZED = true;
|
|
37
|
+
const headerElement = this.windowRef.queryByComponent(HeaderComponent);
|
|
38
|
+
if (headerElement) {
|
|
39
|
+
this.renderer.setStyle(this.element.nativeElement, 'top', px(headerElement.offsetHeight));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
ngOnDestroy() {
|
|
43
|
+
ToastContainerComponent_1.INITIALIZED = false;
|
|
44
|
+
}
|
|
45
|
+
onDismiss(itemRef) {
|
|
46
|
+
this.toastService.remove(itemRef);
|
|
47
|
+
}
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
49
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: ToastContainerComponent, isStandalone: true, selector: "odx-toast-container", inputs: { maxItems: ["maxItems", "maxItems", numberAttribute] }, outputs: { dismiss: "dismiss" }, ngImport: i0, template: "<odx-toast\n @slide\n [id]=\"toastRef.id\"\n [title]=\"toastRef.item.title\"\n [description]=\"toastRef.item.description\"\n [actions]=\"toastRef.item.actions ?? []\"\n [variant]=\"toastRef.item.variant\"\n [options]=\"toastRef.options\"\n (dismiss)=\"onDismiss(toastRef)\"\n *ngFor=\"let toastRef of items$ | async; trackBy: trackById\"\n></odx-toast>\n<odx-chip class=\"odx-toast-container__counter\" *ngIf=\"hiddenToasts$ | async as more\">{{ more }} more Notifications</odx-chip>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: ChipComponent, selector: "odx-chip", inputs: ["removable", "size", "variant"], outputs: ["remove"] }, { kind: "component", type: ToastItemComponent, selector: "odx-toast", inputs: ["id", "title", "description", "variant", "actions", "options"], outputs: ["dismiss"] }], animations: [
|
|
50
|
+
trigger('slide', [
|
|
51
|
+
transition(':enter', group([
|
|
52
|
+
useAnimation(expand),
|
|
53
|
+
useAnimation(fadeIn(), { params: { delay: TOAST_ANIMATION_DELAY } }),
|
|
54
|
+
useAnimation(slideInRight, { params: { delay: TOAST_ANIMATION_DELAY } }),
|
|
55
|
+
])),
|
|
56
|
+
transition(':leave', group([useAnimation(collapse)])),
|
|
57
|
+
]),
|
|
58
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
59
|
+
};
|
|
60
|
+
ToastContainerComponent = ToastContainerComponent_1 = __decorate([
|
|
61
|
+
CSSComponent('toast-container')
|
|
62
|
+
], ToastContainerComponent);
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastContainerComponent, decorators: [{
|
|
64
|
+
type: Component,
|
|
65
|
+
args: [{ selector: 'odx-toast-container', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CommonModule, ChipComponent, ToastItemComponent], animations: [
|
|
66
|
+
trigger('slide', [
|
|
67
|
+
transition(':enter', group([
|
|
68
|
+
useAnimation(expand),
|
|
69
|
+
useAnimation(fadeIn(), { params: { delay: TOAST_ANIMATION_DELAY } }),
|
|
70
|
+
useAnimation(slideInRight, { params: { delay: TOAST_ANIMATION_DELAY } }),
|
|
71
|
+
])),
|
|
72
|
+
transition(':leave', group([useAnimation(collapse)])),
|
|
73
|
+
]),
|
|
74
|
+
], template: "<odx-toast\n @slide\n [id]=\"toastRef.id\"\n [title]=\"toastRef.item.title\"\n [description]=\"toastRef.item.description\"\n [actions]=\"toastRef.item.actions ?? []\"\n [variant]=\"toastRef.item.variant\"\n [options]=\"toastRef.options\"\n (dismiss)=\"onDismiss(toastRef)\"\n *ngFor=\"let toastRef of items$ | async; trackBy: trackById\"\n></odx-toast>\n<odx-chip class=\"odx-toast-container__counter\" *ngIf=\"hiddenToasts$ | async as more\">{{ more }} more Notifications</odx-chip>\n" }]
|
|
75
|
+
}], propDecorators: { maxItems: [{
|
|
76
|
+
type: Input,
|
|
77
|
+
args: [{ transform: numberAttribute }]
|
|
78
|
+
}], dismiss: [{
|
|
79
|
+
type: Output
|
|
80
|
+
}] } });
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QtY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci9jb21wb25lbnRzL3RvYXN0L3NyYy9saWIvY29tcG9uZW50cy90b2FzdC1jb250YWluZXIvdG9hc3QtY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci9jb21wb25lbnRzL3RvYXN0L3NyYy9saWIvY29tcG9uZW50cy90b2FzdC1jb250YWluZXIvdG9hc3QtY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsT0FBTyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQy9FLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBRUwsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxNQUFNLEVBQ04sS0FBSyxFQUNMLGVBQWUsRUFFZixNQUFNLEVBQ04sU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNqRixPQUFPLEVBQ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90ZWN0ZWQgb25EaXNtaXNzKGl0ZW1SZWY6IFRvYXN0UmVmKTogdm9pZCB7XG4gICAgdGhpcy50b2FzdFNlcnZpY2UucmVtb3ZlKGl0ZW1SZWYpO1xuICB9XG59XG4iLCI8b2R4LXRvYXN0XG4gIEBzbGlkZVxuICBbaWRdPVwidG9hc3RSZWYuaWRcIlxuICBbdGl0bGVdPVwidG9hc3RSZWYuaXRlbS50aXRsZVwiXG4gIFtkZXNjcmlwdGlvbl09XCJ0b2FzdFJlZi5pdGVtLmRlc2NyaXB0aW9uXCJcbiAgW2FjdGlvbnNdPVwidG9hc3RSZWYuaXRlbS5hY3Rpb25zID8/IFtdXCJcbiAgW3ZhcmlhbnRdPVwidG9hc3RSZWYuaXRlbS52YXJpYW50XCJcbiAgW29wdGlvbnNdPVwidG9hc3RSZWYub3B0aW9uc1wiXG4gIChkaXNtaXNzKT1cIm9uRGlzbWlzcyh0b2FzdFJlZilcIlxuICAqbmdGb3I9XCJsZXQgdG9hc3RSZWYgb2YgaXRlbXMkIHwgYXN5bmM7IHRyYWNrQnk6IHRyYWNrQnlJZFwiXG4+PC9vZHgtdG9hc3Q+XG48b2R4LWNoaXAgY2xhc3M9XCJvZHgtdG9hc3QtY29udGFpbmVyX19jb3VudGVyXCIgKm5nSWY9XCJoaWRkZW5Ub2FzdHMkIHwgYXN5bmMgYXMgbW9yZVwiPnt7IG1vcmUgfX0gbW9yZSBOb3RpZmljYXRpb25zPC9vZHgtY2hpcD5cbiJdfQ==
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
4
|
+
import { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';
|
|
5
|
+
import { ActionGroupComponent } from '@odx/angular/components/action-group';
|
|
6
|
+
import { ButtonComponent } from '@odx/angular/components/button';
|
|
7
|
+
import { IconComponent } from '@odx/angular/components/icon';
|
|
8
|
+
import { CSSComponent, CSSModifier } from '@odx/angular/internal';
|
|
9
|
+
import { injectElement, untilDestroyed } from '@odx/angular/utils';
|
|
10
|
+
import { tap, timer } from 'rxjs';
|
|
11
|
+
import { ToastVariant } from '../../models';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
import * as i1 from "@angular/common";
|
|
14
|
+
export let ToastItemComponent = class ToastItemComponent {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.takeUntilDestroyed = untilDestroyed();
|
|
17
|
+
this.element = injectElement();
|
|
18
|
+
this.variant = ToastVariant.DEFAULT;
|
|
19
|
+
this.dismiss = new EventEmitter();
|
|
20
|
+
}
|
|
21
|
+
get icon() {
|
|
22
|
+
switch (this.variant) {
|
|
23
|
+
case ToastVariant.WARNING:
|
|
24
|
+
return 'warning';
|
|
25
|
+
case ToastVariant.DANGER:
|
|
26
|
+
return 'error';
|
|
27
|
+
case ToastVariant.SUCCESS:
|
|
28
|
+
return 'check';
|
|
29
|
+
default:
|
|
30
|
+
return 'info';
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
ngOnInit() {
|
|
34
|
+
const { duration } = this.options;
|
|
35
|
+
if (duration > 0) {
|
|
36
|
+
timer(duration)
|
|
37
|
+
.pipe(this.takeUntilDestroyed(), tap(() => this.onDismiss()))
|
|
38
|
+
.subscribe();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
onDismiss() {
|
|
42
|
+
this.dismiss.next();
|
|
43
|
+
}
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToastItemComponent, isStandalone: true, selector: "odx-toast", inputs: { id: "id", title: "title", description: "description", variant: "variant", actions: "actions", options: "options" }, outputs: { dismiss: "dismiss" }, host: { properties: { "attr.id": "id" } }, ngImport: i0, template: "<div class=\"odx-toast-item__content\">\n <odx-icon [name]=\"icon\" iconSet=\"core\"></odx-icon>\n <div class=\"odx-toast-item__text-content\">\n <p class=\"odx-toast-item__title\">\n <ng-template [odxDynamicView]=\"title\"> </ng-template>\n </p>\n <p class=\"odx-toast-item__description\" *ngIf=\"description\">\n <ng-template [odxDynamicView]=\"description\"> </ng-template>\n </p>\n </div>\n <button odxButton class=\"odx-toast-item__close\" (click)=\"onDismiss()\" *ngIf=\"options?.dismissable\">\n <odx-icon name=\"close\" iconSet=\"core\"></odx-icon>\n </button>\n</div>\n<odx-action-group class=\"odx-toast-item__buttons\" *ngIf=\"!!actions?.length\">\n <button odxButton (click)=\"action.action()\" *ngFor=\"let action of actions\">\n <odx-icon [name]=\"action.leftIcon\" iconSet=\"core\" alignLeft *ngIf=\"action.leftIcon\"></odx-icon>\n <ng-template [odxDynamicView]=\"action.label\"> </ng-template>\n <odx-icon [name]=\"action.rightIcon\" iconSet=\"core\" alignRight *ngIf=\"action.rightIcon\"></odx-icon>\n </button>\n</odx-action-group>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name", "iconSet"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
46
|
+
};
|
|
47
|
+
__decorate([
|
|
48
|
+
CSSModifier(),
|
|
49
|
+
__metadata("design:type", Object)
|
|
50
|
+
], ToastItemComponent.prototype, "variant", void 0);
|
|
51
|
+
ToastItemComponent = __decorate([
|
|
52
|
+
CSSComponent('toast-item')
|
|
53
|
+
], ToastItemComponent);
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastItemComponent, decorators: [{
|
|
55
|
+
type: Component,
|
|
56
|
+
args: [{ selector: 'odx-toast', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CommonModule, IconComponent, ButtonComponent, DynamicViewDirective, ActionGroupComponent], host: {
|
|
57
|
+
'[attr.id]': 'id',
|
|
58
|
+
}, template: "<div class=\"odx-toast-item__content\">\n <odx-icon [name]=\"icon\" iconSet=\"core\"></odx-icon>\n <div class=\"odx-toast-item__text-content\">\n <p class=\"odx-toast-item__title\">\n <ng-template [odxDynamicView]=\"title\"> </ng-template>\n </p>\n <p class=\"odx-toast-item__description\" *ngIf=\"description\">\n <ng-template [odxDynamicView]=\"description\"> </ng-template>\n </p>\n </div>\n <button odxButton class=\"odx-toast-item__close\" (click)=\"onDismiss()\" *ngIf=\"options?.dismissable\">\n <odx-icon name=\"close\" iconSet=\"core\"></odx-icon>\n </button>\n</div>\n<odx-action-group class=\"odx-toast-item__buttons\" *ngIf=\"!!actions?.length\">\n <button odxButton (click)=\"action.action()\" *ngFor=\"let action of actions\">\n <odx-icon [name]=\"action.leftIcon\" iconSet=\"core\" alignLeft *ngIf=\"action.leftIcon\"></odx-icon>\n <ng-template [odxDynamicView]=\"action.label\"> </ng-template>\n <odx-icon [name]=\"action.rightIcon\" iconSet=\"core\" alignRight *ngIf=\"action.rightIcon\"></odx-icon>\n </button>\n</odx-action-group>\n" }]
|
|
59
|
+
}], propDecorators: { id: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], title: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], description: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], variant: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], actions: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], options: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], dismiss: [{
|
|
72
|
+
type: Output
|
|
73
|
+
}] } });
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QtaXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY29tcG9uZW50cy90b2FzdC9zcmMvbGliL2NvbXBvbmVudHMvdG9hc3QtaXRlbS90b2FzdC1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci9jb21wb25lbnRzL3RvYXN0L3NyYy9saWIvY29tcG9uZW50cy90b2FzdC1pdGVtL3RvYXN0LWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNILE9BQU8sRUFBc0Isb0JBQW9CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUN6RixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUM1RSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDakUsT0FBTyxF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ICpuZ0lmPVwiYWN0aW9uLnJpZ2h0SWNvblwiPjwvb2R4LWljb24+XG4gIDwvYnV0dG9uPlxuPC9vZHgtYWN0aW9uLWdyb3VwPlxuIl19
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CoreModule } from '@odx/angular';
|
|
3
|
+
import { ToastContainerComponent, ToastItemComponent } from './components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
const modules = [ToastContainerComponent, ToastItemComponent];
|
|
6
|
+
export class ToastModule {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ToastModule, imports: [ToastContainerComponent, ToastItemComponent], exports: [CoreModule, ToastContainerComponent, ToastItemComponent] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastModule, imports: [modules, CoreModule] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
imports: modules,
|
|
15
|
+
exports: [CoreModule, ...modules],
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL2NvbXBvbmVudHMvdG9hc3Qvc3JjL2xpYi90b2FzdC5tb2R1bGUudHMi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cG9ydCBjbGFzcyBUb2FzdE1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { deepmerge } from '@odx/angular/internal';
|
|
3
|
+
import { getUniqueId, Queue } from '@odx/angular/utils';
|
|
4
|
+
import { share, Subject } from 'rxjs';
|
|
5
|
+
import { injectToastConfig } from './toast.config';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class ToastService {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.queue = new Queue();
|
|
10
|
+
this.onRemove$$ = new Subject();
|
|
11
|
+
this.defaultOptions = injectToastConfig();
|
|
12
|
+
this.queue$ = this.queue.value$;
|
|
13
|
+
this.onRemove$ = this.onRemove$$.pipe(share());
|
|
14
|
+
}
|
|
15
|
+
add(item, options = {}) {
|
|
16
|
+
return this.queue.add({
|
|
17
|
+
id: item.id ?? getUniqueId('odx-toast'),
|
|
18
|
+
item,
|
|
19
|
+
options: deepmerge(this.defaultOptions, options),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
remove(itemRef) {
|
|
23
|
+
this.queue.remove(itemRef);
|
|
24
|
+
this.onRemove$$.next(itemRef);
|
|
25
|
+
}
|
|
26
|
+
clear() {
|
|
27
|
+
this.queue.clear();
|
|
28
|
+
}
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
30
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastService, providedIn: 'root' }); }
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastService, decorators: [{
|
|
33
|
+
type: Injectable,
|
|
34
|
+
args: [{
|
|
35
|
+
providedIn: 'root',
|
|
36
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