@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,94 @@
|
|
|
1
|
+
import { Directive, inject, Injector, Input, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { hasChanged, isComponent } from '@odx/angular/utils';
|
|
3
|
+
import { DynamicViewService } from './dynamic-view.service';
|
|
4
|
+
import { createProjectableNodes, isDynamicTextContent, isDynamicView } from './helpers';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class DynamicViewDirective {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.dynamicViewService = inject(DynamicViewService);
|
|
9
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
10
|
+
this.template = inject(TemplateRef);
|
|
11
|
+
this.viewRef = null;
|
|
12
|
+
this.contentViewRef = null;
|
|
13
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
14
|
+
this.content = null;
|
|
15
|
+
}
|
|
16
|
+
ngOnInit() {
|
|
17
|
+
this.render();
|
|
18
|
+
}
|
|
19
|
+
ngOnChanges(changes) {
|
|
20
|
+
if (hasChanged(changes, 'injector')) {
|
|
21
|
+
this.render();
|
|
22
|
+
}
|
|
23
|
+
if (hasChanged(changes, 'content')) {
|
|
24
|
+
const hasChangedTextContent = isDynamicTextContent(changes.content?.previousValue) && isDynamicTextContent(changes.content?.currentValue);
|
|
25
|
+
this.render(!hasChangedTextContent);
|
|
26
|
+
}
|
|
27
|
+
if (hasChanged(changes, 'context')) {
|
|
28
|
+
this.viewRef?.update(changes.context?.currentValue ?? {});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
ngOnDestroy() {
|
|
32
|
+
this.destroy();
|
|
33
|
+
}
|
|
34
|
+
getView() {
|
|
35
|
+
return this.viewRef;
|
|
36
|
+
}
|
|
37
|
+
render(reRender = true) {
|
|
38
|
+
if (!this.content) {
|
|
39
|
+
this.destroy();
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (!reRender && this.viewRef) {
|
|
43
|
+
this.viewRef?.update({ content: this.content });
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
this.viewRef?.destroy();
|
|
47
|
+
if (isDynamicView(this.content)) {
|
|
48
|
+
this.viewRef = this.content;
|
|
49
|
+
const hostView = this.viewRef.getView();
|
|
50
|
+
if (hostView) {
|
|
51
|
+
this.viewContainer.insert(hostView);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
let projectableNodes = [];
|
|
56
|
+
if (isComponent(this.content)) {
|
|
57
|
+
this.contentViewRef = this.dynamicViewService.createView(this.template, { injector: this.injector });
|
|
58
|
+
const rootNodes = this.contentViewRef.getView().rootNodes;
|
|
59
|
+
projectableNodes = createProjectableNodes(this.content, rootNodes);
|
|
60
|
+
}
|
|
61
|
+
this.viewRef = this.dynamicViewService.createView(this.content, {
|
|
62
|
+
context: this.context ?? undefined,
|
|
63
|
+
injector: this.injector ?? this.viewContainer.injector,
|
|
64
|
+
projectableNodes,
|
|
65
|
+
host: this.viewContainer,
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
destroy() {
|
|
70
|
+
this.contentViewRef?.destroy();
|
|
71
|
+
this.viewRef?.destroy();
|
|
72
|
+
this.contentViewRef = null;
|
|
73
|
+
this.viewRef = null;
|
|
74
|
+
}
|
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicViewDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
76
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DynamicViewDirective, isStandalone: true, selector: "ng-template[odxDynamicView]", inputs: { content: ["odxDynamicView", "content"], injector: ["odxDynamicViewInjector", "injector"], context: ["odxDynamicViewContext", "context"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
77
|
+
}
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicViewDirective, decorators: [{
|
|
79
|
+
type: Directive,
|
|
80
|
+
args: [{
|
|
81
|
+
selector: 'ng-template[odxDynamicView]',
|
|
82
|
+
standalone: true,
|
|
83
|
+
}]
|
|
84
|
+
}], propDecorators: { content: [{
|
|
85
|
+
type: Input,
|
|
86
|
+
args: ['odxDynamicView']
|
|
87
|
+
}], injector: [{
|
|
88
|
+
type: Input,
|
|
89
|
+
args: ['odxDynamicViewInjector']
|
|
90
|
+
}], context: [{
|
|
91
|
+
type: Input,
|
|
92
|
+
args: ['odxDynamicViewContext']
|
|
93
|
+
}] } });
|
|
94
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy12aWV3LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci9jZGsvZHluYW1pYy12aWV3L3NyYy9saWIvZHluYW1pYy12aWV3LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFtQixNQUFNLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBZ0MsV0FBVyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pKLE9BQU8sRUFBRSxVQUFVLEVBQUUsV0FBVyxFQUFhLE1BQU0sb0JBQW9CLENBQUM7QUFDeEUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFNUQsT0FBTyxFQUFFLHNCQUFzQixFQUFFLG9CQUFvQixFQUFFLGFBQWEsRUFBRSxNQUFNLFdBQVcsQ0FBQzs7QUFNeEYsTUFBTSxPQUFPLG9CQUFvQjtJQUpqQztRQUttQix1QkFBa0IsR0FBRyxNQUFNLENBQUMsa0JBQ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XMuY29udGVudDtcbiAgICAgIGNvbnN0IGhvc3RWaWV3ID0gdGhpcy52aWV3UmVmLmdldFZpZXcoKTtcbiAgICAgIGlmIChob3N0Vmlldykge1xuICAgICAgICB0aGlzLnZpZXdDb250YWluZXIuaW5zZXJ0KGhvc3RWaWV3KTtcbiAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgbGV0IHByb2plY3RhYmxlTm9kZXM6IE5vZGVbXVtdID0gW107XG4gICAgICBpZiAoaXNDb21wb25lbnQodGhpcy5jb250ZW50KSkge1xuICAgICAgICB0aGlzLmNvbnRlbnRWaWV3UmVmID0gdGhpcy5keW5hbWljVmlld1NlcnZpY2UuY3JlYXRlVmlldyh0aGlzLnRlbXBsYXRlLCB7IGluamVjdG9yOiB0aGlzLmluamVjdG9yIH0pO1xuICAgICAgICBjb25zdCByb290Tm9kZXMgPSAodGhpcy5jb250ZW50Vmlld1JlZi5nZXRWaWV3KCkgYXMgRW1iZWRkZWRWaWV3UmVmPHVua25vd24+KS5yb290Tm9kZXM7XG4gICAgICAgIHByb2plY3RhYmxlTm9kZXMgPSBjcmVhdGVQcm9qZWN0YWJsZU5vZGVzKHRoaXMuY29udGVudCwgcm9vdE5vZGVzKTtcbiAgICAgIH1cbiAgICAgIHRoaXMudmlld1JlZiA9IHRoaXMuZHluYW1pY1ZpZXdTZXJ2aWNlLmNyZWF0ZVZpZXcodGhpcy5jb250ZW50LCB7XG4gICAgICAgIGNvbnRleHQ6IHRoaXMuY29udGV4dCA/PyB1bmRlZmluZWQsXG4gICAgICAgIGluamVjdG9yOiB0aGlzLmluamVjdG9yID8/IHRoaXMudmlld0NvbnRhaW5lci5pbmplY3RvcixcbiAgICAgICAgcHJvamVjdGFibGVOb2RlcyxcbiAgICAgICAgaG9zdDogdGhpcy52aWV3Q29udGFpbmVyLFxuICAgICAgfSk7XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBkZXN0cm95KCkge1xuICAgIHRoaXMuY29udGVudFZpZXdSZWY/LmRlc3Ryb3koKTtcbiAgICB0aGlzLnZpZXdSZWY/LmRlc3Ryb3koKTtcbiAgICB0aGlzLmNvbnRlbnRWaWV3UmVmID0gbnVsbDtcbiAgICB0aGlzLnZpZXdSZWYgPSBudWxsO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { inject, Injectable, Injector } from '@angular/core';
|
|
2
|
+
import { isComponent, isTemplateRef } from '@odx/angular/utils';
|
|
3
|
+
import { DynamicViewComponent } from './dynamic-view.component';
|
|
4
|
+
import { isDynamicTextContent } from './helpers';
|
|
5
|
+
import { DynamicComponentRef } from './models';
|
|
6
|
+
import { DynamicTemplateRef } from './models/dynamic-template-ref';
|
|
7
|
+
import { DYNAMIC_VIEW_CONTEXT, getDynamicViewDefaultHost } from './tokens';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class DynamicViewService {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.injector = inject(Injector);
|
|
12
|
+
this.defaultHost = getDynamicViewDefaultHost();
|
|
13
|
+
}
|
|
14
|
+
createView(content, options = {}) {
|
|
15
|
+
const viewOptions = {
|
|
16
|
+
...options,
|
|
17
|
+
host: options.host ?? this.defaultHost,
|
|
18
|
+
injector: Injector.create({
|
|
19
|
+
providers: [{ provide: DYNAMIC_VIEW_CONTEXT, useValue: options.context }, options.providers ?? []],
|
|
20
|
+
parent: options.injector ?? this.injector,
|
|
21
|
+
}),
|
|
22
|
+
};
|
|
23
|
+
if (isTemplateRef(content)) {
|
|
24
|
+
return new DynamicTemplateRef({ ...viewOptions, template: content });
|
|
25
|
+
}
|
|
26
|
+
if (isComponent(content)) {
|
|
27
|
+
return new DynamicComponentRef({ ...viewOptions, context: options.context, component: content });
|
|
28
|
+
}
|
|
29
|
+
if (isDynamicTextContent(content)) {
|
|
30
|
+
return new DynamicComponentRef({
|
|
31
|
+
...viewOptions,
|
|
32
|
+
component: DynamicViewComponent,
|
|
33
|
+
context: { content },
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
throw new Error('Content type is not supported');
|
|
37
|
+
}
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
39
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicViewService, providedIn: 'root' }); }
|
|
40
|
+
}
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicViewService, decorators: [{
|
|
42
|
+
type: Injectable,
|
|
43
|
+
args: [{ providedIn: 'root' }]
|
|
44
|
+
}] });
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy12aWV3LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL2R5bmFtaWMtdmlldy9zcmMvbGliL2R5bmFtaWMtdmlldy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RCxPQUFPLEVBQUUsV0FBVyxFQUFFLGFBQWEsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBRWhFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUNqRCxPQUFPLEVBQUUsbUJBQW1CLEVBQXNCLE1BQU0sVUFBVSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxrQkFBa0IsR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bnRlbnQgfSk7XG4gICAgfVxuICAgIGlmIChpc0NvbXBvbmVudChjb250ZW50KSkge1xuICAgICAgcmV0dXJuIG5ldyBEeW5hbWljQ29tcG9uZW50UmVmKHsgLi4udmlld09wdGlvbnMsIGNvbnRleHQ6IG9wdGlvbnMuY29udGV4dCwgY29tcG9uZW50OiBjb250ZW50IH0pO1xuICAgIH1cbiAgICBpZiAoaXNEeW5hbWljVGV4dENvbnRlbnQoY29udGVudCkpIHtcbiAgICAgIHJldHVybiBuZXcgRHluYW1pY0NvbXBvbmVudFJlZih7XG4gICAgICAgIC4uLnZpZXdPcHRpb25zLFxuICAgICAgICBjb21wb25lbnQ6IER5bmFtaWNWaWV3Q29tcG9uZW50LFxuICAgICAgICBjb250ZXh0OiB7IGNvbnRlbnQgfSxcbiAgICAgIH0pIGFzIG5ldmVyO1xuICAgIH1cbiAgICB0aHJvdyBuZXcgRXJyb3IoJ0NvbnRlbnQgdHlwZSBpcyBub3Qgc3VwcG9ydGVkJyk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
3
|
+
import { Injectable, numberAttribute } from '@angular/core';
|
|
4
|
+
import { debounce } from '@odx/angular/utils';
|
|
5
|
+
import { EventPlugin } from '../models';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
const DEFAULT_DELAY = 250;
|
|
8
|
+
export class DebounceEventPlugin extends EventPlugin {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.modifier = /debounce/;
|
|
12
|
+
}
|
|
13
|
+
addEventListener(element, eventName, originalHandler) {
|
|
14
|
+
const [name, , delay] = eventName.split('.');
|
|
15
|
+
const handler = this.createHandler(originalHandler, numberAttribute(delay, DEFAULT_DELAY));
|
|
16
|
+
return this.runOutsideAngular(() => this.manager.addEventListener(element, name, handler));
|
|
17
|
+
}
|
|
18
|
+
createHandler(originalHandler, delay) {
|
|
19
|
+
const innerHandler = (event) => this.getZone().runGuarded(() => originalHandler(event));
|
|
20
|
+
return debounce(innerHandler, delay);
|
|
21
|
+
}
|
|
22
|
+
runOutsideAngular(addListener) {
|
|
23
|
+
let listener = null;
|
|
24
|
+
this.getZone().runOutsideAngular(() => {
|
|
25
|
+
listener = addListener();
|
|
26
|
+
});
|
|
27
|
+
return this.teardown(listener);
|
|
28
|
+
}
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DebounceEventPlugin, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
30
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DebounceEventPlugin }); }
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DebounceEventPlugin, decorators: [{
|
|
33
|
+
type: Injectable
|
|
34
|
+
}] });
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UtZXZlbnQtcGx1Z2luLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL2Nkay9ldmVudC1wbHVnaW5zL3NyYy9saWIvcGx1Z2lucy9kZWJvdW5jZS1ldmVudC1wbHVnaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMEJBQTBCO0FBQzFCLGlEQUFpRDtBQUNqRCxPQUFPLEVBQUUsVUFBVSxFQUFFLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM1RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDOUMsT0FBTyxFQUFFLFdBQVcsRUFBRSx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gbnVtYmVyQXR0cmlidXRlKGRlbGF5LCBERUZBVUxUX0RFTEFZKSk7XG5cbiAgICByZXR1cm4gdGhpcy5ydW5PdXRzaWRlQW5ndWxhcigoKSA9PiB0aGlzLm1hbmFnZXIuYWRkRXZlbnRMaXN0ZW5lcihlbGVtZW50LCBuYW1lLCBoYW5kbGVyKSk7XG4gIH1cblxuICBwcml2YXRlIGNyZWF0ZUhhbmRsZXIob3JpZ2luYWxIYW5kbGVyOiBFdmVudExpc3RlbmVyLCBkZWxheTogbnVtYmVyKTogKGV2ZW50OiBFdmVudCkgPT4gdm9pZCB7XG4gICAgY29uc3QgaW5uZXJIYW5kbGVyID0gKGV2ZW50OiBFdmVudCk6IHZvaWQgPT4gdGhpcy5nZXRab25lKCkucnVuR3VhcmRlZCgoKSA9PiBvcmlnaW5hbEhhbmRsZXIoZXZlbnQpKTtcblxuICAgIHJldHVybiBkZWJvdW5jZShpbm5lckhhbmRsZXIsIGRlbGF5KTtcbiAgfVxuXG4gIHByaXZhdGUgcnVuT3V0c2lkZUFuZ3VsYXIoYWRkTGlzdGVuZXI6ICgpID0+IEZ1bmN0aW9uKTogKCkgPT4gdm9pZCB7XG4gICAgbGV0IGxpc3RlbmVyOiBGdW5jdGlvbiB8IG51bGwgPSBudWxsO1xuICAgIHRoaXMuZ2V0Wm9uZSgpLnJ1bk91dHNpZGVBbmd1bGFyKCgpID0+IHtcbiAgICAgIGxpc3RlbmVyID0gYWRkTGlzdGVuZXIoKTtcbiAgICB9KTtcblxuICAgIHJldHVybiB0aGlzLnRlYXJkb3duKGxpc3RlbmVyKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
3
|
+
import { Injectable } from '@angular/core';
|
|
4
|
+
import { EventPlugin } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class DeferEventPlugin extends EventPlugin {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.modifier = /defer/;
|
|
10
|
+
}
|
|
11
|
+
addEventListener(element, eventName, originalHandler) {
|
|
12
|
+
const [name] = eventName.split('.');
|
|
13
|
+
const handler = this.createHandler(originalHandler);
|
|
14
|
+
return this.getZone().runOutsideAngular(() => this.manager.addEventListener(element, name, handler));
|
|
15
|
+
}
|
|
16
|
+
createHandler(originalHandler) {
|
|
17
|
+
return (event) => {
|
|
18
|
+
setTimeout(() => this.getZone().runGuarded(() => originalHandler(event)), 0);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DeferEventPlugin, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
22
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DeferEventPlugin }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DeferEventPlugin, decorators: [{
|
|
25
|
+
type: Injectable
|
|
26
|
+
}] });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmZXItZXZlbnQtcGx1Z2luLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL2Nkay9ldmVudC1wbHVnaW5zL3NyYy9saWIvcGx1Z2lucy9kZWZlci1ldmVudC1wbHVnaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMEJBQTBCO0FBQzFCLGlEQUFpRDtBQUNqRCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxXQUFXLEVBQUUsT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nJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBFdmVudFBsdWdpbiB9IGZyb20gJy4uL21vZGVscyc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBEZWZlckV2ZW50UGx1Z2luIGV4dGVuZHMgRXZlbnRQbHVnaW4ge1xuICBwdWJsaWMgcmVhZG9ubHkgbW9kaWZpZXIgPSAvZGVmZXIvO1xuXG4gIHB1YmxpYyBhZGRFdmVudExpc3RlbmVyKGVsZW1lbnQ6IEhUTUxFbGVtZW50LCBldmVudE5hbWU6IHN0cmluZywgb3JpZ2luYWxIYW5kbGVyOiBFdmVudExpc3RlbmVyKTogRnVuY3Rpb24ge1xuICAgIGNvbnN0IFtuYW1lXSA9IGV2ZW50TmFtZS5zcGxpdCgnLicpO1xuICAgIGNvbnN0IGhhbmRsZXIgPSB0aGlzLmNyZWF0ZUhhbmRsZXIob3JpZ2luYWxIYW5kbGVyKTtcblxuICAgIHJldHVybiB0aGlzLmdldFpvbmUoKS5ydW5PdXRzaWRlQW5ndWxhcigoKSA9PiB0aGlzLm1hbmFnZXIuYWRkRXZlbnRMaXN0ZW5lcihlbGVtZW50LCBuYW1lLCBoYW5kbGVyKSk7XG4gIH1cblxuICBwcml2YXRlIGNyZWF0ZUhhbmRsZXIob3JpZ2luYWxIYW5kbGVyOiBFdmVudExpc3RlbmVyKTogKGV2ZW50OiBFdmVudCkgPT4gdm9pZCB7XG4gICAgcmV0dXJuIChldmVudDogRXZlbnQpOiB2b2lkID0+IHtcbiAgICAgIHNldFRpbWVvdXQoKCkgPT4gdGhpcy5nZXRab25lKCkucnVuR3VhcmRlZCgoKSA9PiBvcmlnaW5hbEhhbmRsZXIoZXZlbnQpKSwgMCk7XG4gICAgfTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { booleanAttribute, Directive, inject, Input } from '@angular/core';
|
|
2
|
+
import { ODX_EXPANDABLE_CONTAINER, ODX_EXPANDABLE_ITEM } from '../expandable.tokens';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ExpandableContainerDirective {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.expandedItems = new Set();
|
|
7
|
+
this.parentItem = inject(ODX_EXPANDABLE_ITEM, { optional: true, skipSelf: true });
|
|
8
|
+
this.parentContainer = inject(ODX_EXPANDABLE_CONTAINER, { optional: true, skipSelf: true });
|
|
9
|
+
this.multiple = this.parentContainer?.multiple ?? false;
|
|
10
|
+
}
|
|
11
|
+
ngOnInit() {
|
|
12
|
+
this.parentItem?.addChild(this);
|
|
13
|
+
}
|
|
14
|
+
ngOnDestroy() {
|
|
15
|
+
this.parentItem?.removeChild(this);
|
|
16
|
+
}
|
|
17
|
+
collapseAll() {
|
|
18
|
+
this.expandedItems.forEach((item) => item.collapse());
|
|
19
|
+
}
|
|
20
|
+
collapse(item) {
|
|
21
|
+
this.expandedItems.delete(item);
|
|
22
|
+
}
|
|
23
|
+
expand(item) {
|
|
24
|
+
if (!this.multiple) {
|
|
25
|
+
this.collapseAll();
|
|
26
|
+
}
|
|
27
|
+
this.expandedItems.add(item);
|
|
28
|
+
}
|
|
29
|
+
toggle(item, forceState) {
|
|
30
|
+
const shouldExpand = forceState ?? !this.isExpanded(item);
|
|
31
|
+
if (shouldExpand) {
|
|
32
|
+
this.expand(item);
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
this.collapse(item);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
isExpanded(item) {
|
|
39
|
+
return this.expandedItems.has(item);
|
|
40
|
+
}
|
|
41
|
+
hasExpandedItem() {
|
|
42
|
+
return this.expandedItems.size > 0;
|
|
43
|
+
}
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExpandableContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
45
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "16.2.12", type: ExpandableContainerDirective, isStandalone: true, selector: "[odxExpandableContainer]", inputs: { multiple: ["multiple", "multiple", booleanAttribute] }, providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: ExpandableContainerDirective }], exportAs: ["odxExpandableContainer"], ngImport: i0 }); }
|
|
46
|
+
}
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExpandableContainerDirective, decorators: [{
|
|
48
|
+
type: Directive,
|
|
49
|
+
args: [{
|
|
50
|
+
standalone: true,
|
|
51
|
+
selector: '[odxExpandableContainer]',
|
|
52
|
+
exportAs: 'odxExpandableContainer',
|
|
53
|
+
providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: ExpandableContainerDirective }],
|
|
54
|
+
}]
|
|
55
|
+
}], propDecorators: { multiple: [{
|
|
56
|
+
type: Input,
|
|
57
|
+
args: [{ transform: booleanAttribute }]
|
|
58
|
+
}] } });
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kYWJsZS1jb250YWluZXIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL2Nkay9leHBhbmRhYmxlL3NyYy9saWIvZGlyZWN0aXZlcy9leHBhbmRhYmxlLWNvbnRhaW5lci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFxQixNQUFNLGVBQWUsQ0FBQztBQUM5RixPQUFPLEVBQUUsd0JBQXdCLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFTckYsTUFBTSxPQUFPLDRCQU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GFuZChpdGVtKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5jb2xsYXBzZShpdGVtKTtcbiAgICB9XG4gIH1cblxuICBwdWJsaWMgaXNFeHBhbmRlZChpdGVtOiBFeHBhbmRhYmxlSXRlbSk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmV4cGFuZGVkSXRlbXMuaGFzKGl0ZW0pO1xuICB9XG5cbiAgcHVibGljIGhhc0V4cGFuZGVkSXRlbSgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5leHBhbmRlZEl0ZW1zLnNpemUgPiAwO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { booleanAttribute, ChangeDetectorRef, Directive, inject, Input } from '@angular/core';
|
|
2
|
+
import { getUniqueId } from '@odx/angular/utils';
|
|
3
|
+
import { ODX_EXPANDABLE_CONTAINER, ODX_EXPANDABLE_ITEM } from '../expandable.tokens';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class ExpandableItemDirective {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.changeDetectorRef = inject(ChangeDetectorRef);
|
|
8
|
+
this.childContainers = new Set();
|
|
9
|
+
this.container = inject(ODX_EXPANDABLE_CONTAINER, { optional: true, skipSelf: true });
|
|
10
|
+
this._expanded = false;
|
|
11
|
+
this.id = getUniqueId('odx-expandable-item');
|
|
12
|
+
}
|
|
13
|
+
set expanded(value) {
|
|
14
|
+
if (this._expanded === value)
|
|
15
|
+
return;
|
|
16
|
+
this._expanded = value;
|
|
17
|
+
if (this._expanded) {
|
|
18
|
+
this.container?.expand(this);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
this.closeAllChildren();
|
|
22
|
+
this.container?.collapse(this);
|
|
23
|
+
}
|
|
24
|
+
this.changeDetectorRef.markForCheck();
|
|
25
|
+
}
|
|
26
|
+
get expanded() {
|
|
27
|
+
return this.container?.isExpanded(this) ?? this._expanded;
|
|
28
|
+
}
|
|
29
|
+
toggle(forceState) {
|
|
30
|
+
this.expanded = forceState ?? !this.expanded;
|
|
31
|
+
}
|
|
32
|
+
expand() {
|
|
33
|
+
this.toggle(true);
|
|
34
|
+
}
|
|
35
|
+
collapse() {
|
|
36
|
+
this.toggle(false);
|
|
37
|
+
}
|
|
38
|
+
addChild(container) {
|
|
39
|
+
this.childContainers.add(container);
|
|
40
|
+
}
|
|
41
|
+
removeChild(container) {
|
|
42
|
+
this.childContainers.delete(container);
|
|
43
|
+
}
|
|
44
|
+
closeAllChildren() {
|
|
45
|
+
this.childContainers.forEach((container) => container.collapseAll());
|
|
46
|
+
}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExpandableItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
48
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "16.2.12", type: ExpandableItemDirective, isStandalone: true, selector: "[odxExpandableItem]", inputs: { id: "id", expanded: ["expanded", "expanded", booleanAttribute] }, providers: [{ provide: ODX_EXPANDABLE_ITEM, useExisting: ExpandableItemDirective }], exportAs: ["odxExpandableItem"], ngImport: i0 }); }
|
|
49
|
+
}
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExpandableItemDirective, decorators: [{
|
|
51
|
+
type: Directive,
|
|
52
|
+
args: [{
|
|
53
|
+
standalone: true,
|
|
54
|
+
selector: '[odxExpandableItem]',
|
|
55
|
+
exportAs: 'odxExpandableItem',
|
|
56
|
+
providers: [{ provide: ODX_EXPANDABLE_ITEM, useExisting: ExpandableItemDirective }],
|
|
57
|
+
}]
|
|
58
|
+
}], propDecorators: { id: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}], expanded: [{
|
|
61
|
+
type: Input,
|
|
62
|
+
args: [{ transform: booleanAttribute }]
|
|
63
|
+
}] } });
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5jbG9zZUFsbENoaWxkcmVuKCk7XG4gICAgICB0aGlzLmNvbnRhaW5lcj8uY29sbGFwc2UodGhpcyk7XG4gICAgfVxuICAgIHRoaXMuY2hhbmdlRGV0ZWN0b3JSZWYubWFya0ZvckNoZWNrKCk7XG4gIH1cbiAgcHVibGljIGdldCBleHBhbmRlZCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5jb250YWluZXI/LmlzRXhwYW5kZWQodGhpcykgPz8gdGhpcy5fZXhwYW5kZWQ7XG4gIH1cblxuICBwdWJsaWMgdG9nZ2xlKGZvcmNlU3RhdGU/OiBib29sZWFuKTogdm9pZCB7XG4gICAgdGhpcy5leHBhbmRlZCA9IGZvcmNlU3RhdGUgPz8gIXRoaXMuZXhwYW5kZWQ7XG4gIH1cblxuICBwdWJsaWMgZXhwYW5kKCk6IHZvaWQge1xuICAgIHRoaXMudG9nZ2xlKHRydWUpO1xuICB9XG5cbiAgcHVibGljIGNvbGxhcHNlKCk6IHZvaWQge1xuICAgIHRoaXMudG9nZ2xlKGZhbHNlKTtcbiAgfVxuXG4gIHB1YmxpYyBhZGRDaGlsZChjb250YWluZXI6IEV4cGFuZGFibGVDb250YWluZXIpOiB2b2lkIHtcbiAgICB0aGlzLmNoaWxkQ29udGFpbmVycy5hZGQoY29udGFpbmVyKTtcbiAgfVxuXG4gIHB1YmxpYyByZW1vdmVDaGlsZChjb250YWluZXI6IEV4cGFuZGFibGVDb250YWluZXIpOiB2b2lkIHtcbiAgICB0aGlzLmNoaWxkQ29udGFpbmVycy5kZWxldGUoY29udGFpbmVyKTtcbiAgfVxuXG4gIHByaXZhdGUgY2xvc2VBbGxDaGlsZHJlbigpOiB2b2lkIHtcbiAgICB0aGlzLmNoaWxkQ29udGFpbmVycy5mb3JFYWNoKChjb250YWluZXIpID0+IGNvbnRhaW5lci5jb2xsYXBzZUFsbCgpKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './expandable-container.directive';
|
|
2
|
+
export * from './expandable-item.directive';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL2V4cGFuZGFibGUvc3JjL2xpYi9kaXJlY3RpdmVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZXhwYW5kYWJsZS1jb250YWluZXIuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vZXhwYW5kYWJsZS1pdGVtLmRpcmVjdGl2ZSc7XG4iXX0=
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { ExpandableContainerDirective, ExpandableItemDirective } from './directives';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
const modules = [ExpandableContainerDirective, ExpandableItemDirective];
|
|
5
|
+
export class ExpandableModule {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExpandableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ExpandableModule, imports: [ExpandableContainerDirective, ExpandableItemDirective], exports: [ExpandableContainerDirective, ExpandableItemDirective] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExpandableModule }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExpandableModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: modules,
|
|
14
|
+
exports: modules,
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kYWJsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL2V4cGFuZGFibGUvc3JjL2xpYi9leHBhbmRhYmxlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGNBQWMsQ0FBQzs7QUFFckYsTUFBTSxPQUFPLEdBQUcsQ0FBQyw0QkFBNEIsRUFBRSx1QkFBdUIsQ0FBQyxDQUFDO0FBTXhFLE1BQU0sT0FBTyxnQkFBZ0I7K0dBQWhCLGdCQUFnQjtnSEFBaEIsZ0JBQWdCLFlBTlosNEJBQTRCLEVBQUUsdUJBQXVCLGFBQXJELDRCQUE0QixFQUFFLHVCQUF1QjtnSEFNekQsZ0JBQWdCOzs0RkFBaEIsZ0JBQWdCO2tCQUo1QixRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRSxPQUFPO29CQUNoQixPQUFPLEVBQUUsT0FBTztpQkFDakIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgRXhwYW5kYWJsZUNvbnRhaW5lckRpcmVjdGl2ZSwgRXhwYW5kYWJsZUl0ZW1EaXJlY3RpdmUgfSBmcm9tICcuL2RpcmVjdGl2ZXMnO1xuXG5jb25zdCBtb2R1bGVzID0gW0V4cGFuZGFibGVDb250YWluZXJEaXJlY3RpdmUsIEV4cGFuZGFibGVJdGVtRGlyZWN0aXZlXTtcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogbW9kdWxlcyxcbiAgZXhwb3J0czogbW9kdWxlcyxcbn0pXG5leHBvcnQgY2xhc3MgRXhwYW5kYWJsZU1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export const ODX_EXPANDABLE_CONTAINER = new InjectionToken('@odx/angular/cdk/expandable::ExpandableContainer');
|
|
3
|
+
export const ODX_EXPANDABLE_ITEM = new InjectionToken('@odx/angular/cdk/expandable::ExpandableItem');
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kYWJsZS50b2tlbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL2V4cGFuZGFibGUvc3JjL2xpYi9leHBhbmRhYmxlLnRva2Vucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRy9DLE1BQU0sQ0FBQyxNQUFNLHdCQUF3QixHQUFHLElBQUksY0FBYyxDQUFzQixrREFBa0QsQ0FBQyxDQUFDO0FBQ3BJLE1BQU0sQ0FBQyxNQUFNLG1CQUFtQixHQUFHLElBQUksY0FBYyxDQUFpQiw2Q0FBNkMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEV4cGFuZGFibGVDb250YWluZXIsIEV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4gIGlzRXhwYW5kZWQoaXRlbTogRXhwYW5kYWJsZUl0ZW0pOiBib29sZWFuO1xuICBoYXNFeHBhbmRlZEl0ZW0oKTogYm9vbGVhbjtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kYWJsZS1pdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL2Nkay9leHBhbmRhYmxlL3NyYy9saWIvZmFjYWRlL2V4cGFuZGFibGUtaXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRXhwYW5kYWJsZUNvbnRhaW5lciB9IGZyb20gJy4vZXhwYW5kYWJsZS1jb250YWluZXInO1xuXG5leHBvcnQgaW50ZXJmYWNlIEV4cGFuZGFibGVJdGVtIHtcbiAgaWQ6IHN0cmluZztcbiAgZXhwYW5kZWQ6IGJvb2xlYW47XG5cbiAgY29sbGFwc2UoKTogdm9pZDtcbiAgZXhwYW5kKCk6IHZvaWQ7XG4gIHRvZ2dsZSgpOiB2b2lkO1xuICBhZGRDaGlsZChjb250YWluZXI6IEV4cGFuZGFibGVDb250YWluZXIpOiB2b2lkO1xuICByZW1vdmVDaGlsZChjb250YWluZXI6IEV4cGFuZGFibGVDb250YWluZXIpOiB2b2lkO1xufVxuIl19
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Directive, HostListener, inject, Input } from '@angular/core';
|
|
2
|
+
import { injectElement, untilDestroyed } from '@odx/angular/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class OptionControl {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.takeUntilDestroyed = untilDestroyed();
|
|
7
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
8
|
+
this.isActive = false;
|
|
9
|
+
this.value = null;
|
|
10
|
+
this.element = injectElement();
|
|
11
|
+
}
|
|
12
|
+
setActiveStyles() {
|
|
13
|
+
this.isActive = true;
|
|
14
|
+
}
|
|
15
|
+
setInactiveStyles() {
|
|
16
|
+
this.isActive = false;
|
|
17
|
+
}
|
|
18
|
+
getLabel() {
|
|
19
|
+
return this.element.nativeElement.textContent?.trim() ?? '';
|
|
20
|
+
}
|
|
21
|
+
select(event) {
|
|
22
|
+
event.stopPropagation();
|
|
23
|
+
event.preventDefault();
|
|
24
|
+
this.selectOption();
|
|
25
|
+
}
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OptionControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: OptionControl, isStandalone: true, inputs: { value: "value" }, host: { attributes: { "role": "option" }, listeners: { "click": "select($event)" }, properties: { "class.odx-option": "true", "class.is-active": "isActive", "attr.aria-selected": "isSelected", "class.is-selected": "isSelected" } }, ngImport: i0 }); }
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OptionControl, decorators: [{
|
|
30
|
+
type: Directive,
|
|
31
|
+
args: [{
|
|
32
|
+
standalone: true,
|
|
33
|
+
host: {
|
|
34
|
+
role: 'option',
|
|
35
|
+
'[class.odx-option]': 'true',
|
|
36
|
+
'[class.is-active]': 'isActive',
|
|
37
|
+
'[attr.aria-selected]': 'isSelected',
|
|
38
|
+
'[class.is-selected]': 'isSelected',
|
|
39
|
+
},
|
|
40
|
+
}]
|
|
41
|
+
}], propDecorators: { value: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], select: [{
|
|
44
|
+
type: HostListener,
|
|
45
|
+
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F0aW9uKCk7XG4gICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcblxuICAgIHRoaXMuc2VsZWN0T3B0aW9uKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Directive, inject, Input } from '@angular/core';
|
|
2
|
+
import { detectControllerChanges, DisabledController, ReadonlyController } from '@odx/angular';
|
|
3
|
+
import { booleanToAttributeString } from '@odx/angular/utils';
|
|
4
|
+
import { RADIO_GROUP_CONTROL } from './radio-group-control.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class RadioControlDirective {
|
|
7
|
+
get ariaChecked() {
|
|
8
|
+
return booleanToAttributeString(this.isActive);
|
|
9
|
+
}
|
|
10
|
+
get isActive() {
|
|
11
|
+
return this.radioGroupControl.value === this.value;
|
|
12
|
+
}
|
|
13
|
+
constructor() {
|
|
14
|
+
this.disabledController = DisabledController.inject();
|
|
15
|
+
this.readonlyController = ReadonlyController.inject();
|
|
16
|
+
this.radioGroupControl = inject(RADIO_GROUP_CONTROL, { skipSelf: true });
|
|
17
|
+
this.value = null;
|
|
18
|
+
detectControllerChanges(this.radioGroupControl).subscribe();
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RadioControlDirective, isStandalone: true, selector: "[odxRadioControl]", inputs: { value: "value" }, host: { properties: { "class.is-active": "isActive", "class.is-disabled": "disabledController?.disabled", "class.is-readonly": "readonlyController?.readonly", "class.has-error": "radioGroupControl.hasError" } }, providers: [DisabledController.connect(), ReadonlyController.connect()], ngImport: i0 }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioControlDirective, decorators: [{
|
|
24
|
+
type: Directive,
|
|
25
|
+
args: [{
|
|
26
|
+
standalone: true,
|
|
27
|
+
selector: '[odxRadioControl]',
|
|
28
|
+
host: {
|
|
29
|
+
'[class.is-active]': 'isActive',
|
|
30
|
+
'[class.is-disabled]': 'disabledController?.disabled',
|
|
31
|
+
'[class.is-readonly]': 'readonlyController?.readonly',
|
|
32
|
+
'[class.has-error]': 'radioGroupControl.hasError',
|
|
33
|
+
},
|
|
34
|
+
providers: [DisabledController.connect(), ReadonlyController.connect()],
|
|
35
|
+
}]
|
|
36
|
+
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}] } });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tY29udHJvbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL3JhZGlvLWdyb3VwLWNvbnRyb2wvc3JjL2xpYi9yYWRpby1jb250cm9sLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLGtCQUFrQixFQUFFLGtCQUFrQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQy9GLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQzlELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDOztBQWF0RSxNQUFNLE9BQU8scUJBQXFCO0lBUWhDLElBQVcsV0FBVztRQUNwQixPQUFPLHdCQUF3QixDQUFDLElBQUksQ0FBQyxRQ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uICBwcm90ZWN0ZWQgcmVhZG9ubHkgcmVhZG9ubHlDb250cm9sbGVyID0gUmVhZG9ubHlDb250cm9sbGVyLmluamVjdCgpO1xuICBwcm90ZWN0ZWQgcmVhZG9ubHkgcmFkaW9Hcm91cENvbnRyb2wgPSBpbmplY3QoUkFESU9fR1JPVVBfQ09OVFJPTCwgeyBza2lwU2VsZjogdHJ1ZSB9KTtcblxuICBASW5wdXQoKVxuICBwdWJsaWMgdmFsdWU6IFQgfCBudWxsID0gbnVsbDtcblxuICBwdWJsaWMgZ2V0IGFyaWFDaGVja2VkKCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIGJvb2xlYW5Ub0F0dHJpYnV0ZVN0cmluZyh0aGlzLmlzQWN0aXZlKTtcbiAgfVxuXG4gIHB1YmxpYyBnZXQgaXNBY3RpdmUoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMucmFkaW9Hcm91cENvbnRyb2wudmFsdWUgPT09IHRoaXMudmFsdWU7XG4gIH1cblxuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBkZXRlY3RDb250cm9sbGVyQ2hhbmdlcyh0aGlzLnJhZGlvR3JvdXBDb250cm9sKS5zdWJzY3JpYmUoKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Directive, forwardRef, HostListener, InjectionToken } from '@angular/core';
|
|
2
|
+
import { DisabledController, ReadonlyController } from '@odx/angular';
|
|
3
|
+
import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
|
|
4
|
+
import { injectElement } from '@odx/angular/utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export const RADIO_GROUP_CONTROL = new InjectionToken('@odx/angular/cdk/radio-group-control::RadioGroupControl');
|
|
7
|
+
export class RadioGroupControlDirective extends CustomFormControl {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(null);
|
|
10
|
+
this.hostElement = injectElement();
|
|
11
|
+
}
|
|
12
|
+
onFocusOut(event) {
|
|
13
|
+
if (event.target !== this.hostElement.nativeElement) {
|
|
14
|
+
this.onTouched();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioGroupControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RadioGroupControlDirective, isStandalone: true, selector: "[odxRadioGroupControl]", host: { listeners: { "focusout": "onFocusOut($event)" } }, providers: [
|
|
19
|
+
{
|
|
20
|
+
provide: RADIO_GROUP_CONTROL,
|
|
21
|
+
useExisting: forwardRef(() => RadioGroupControlDirective),
|
|
22
|
+
multi: false,
|
|
23
|
+
},
|
|
24
|
+
DisabledController.connect(),
|
|
25
|
+
ReadonlyController.connect(),
|
|
26
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioGroupControlDirective, decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{
|
|
31
|
+
standalone: true,
|
|
32
|
+
selector: '[odxRadioGroupControl]',
|
|
33
|
+
providers: [
|
|
34
|
+
{
|
|
35
|
+
provide: RADIO_GROUP_CONTROL,
|
|
36
|
+
useExisting: forwardRef(() => RadioGroupControlDirective),
|
|
37
|
+
multi: false,
|
|
38
|
+
},
|
|
39
|
+
DisabledController.connect(),
|
|
40
|
+
ReadonlyController.connect(),
|
|
41
|
+
],
|
|
42
|
+
}]
|
|
43
|
+
}], ctorParameters: function () { return []; }, propDecorators: { onFocusOut: [{
|
|
44
|
+
type: HostListener,
|
|
45
|
+
args: ['focusout', ['$event']]
|
|
46
|
+
}] } });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFka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
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CoreModule } from '@odx/angular';
|
|
3
|
+
import { RadioControlDirective } from './radio-control.directive';
|
|
4
|
+
import { RadioGroupControlDirective } from './radio-group-control.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
const modules = [RadioGroupControlDirective, RadioControlDirective];
|
|
7
|
+
export class RadioGroupControlModule {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioGroupControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: RadioGroupControlModule, imports: [RadioGroupControlDirective, RadioControlDirective], exports: [CoreModule, RadioGroupControlDirective, RadioControlDirective] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioGroupControlModule, imports: [CoreModule] }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioGroupControlModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
imports: modules,
|
|
16
|
+
exports: [CoreModule, ...modules],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tZ3JvdXAtY29udHJvbC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL3JhZGlvLWdyb3VwLWNvbnRyb2wvc3JjL2xpYi9yYWRpby1ncm91cC1jb250cm9sLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdz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