@odx/angular 2.14.3 → 2.14.4

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.
Files changed (450) hide show
  1. package/CHANGELOG.md +95 -112
  2. package/esm2020/breakpoints/lib/breakpoints.module.mjs +5 -5
  3. package/esm2020/breakpoints/lib/breakpoints.service.mjs +4 -4
  4. package/esm2020/breakpoints/lib/directives/match-breakpoints.directive.mjs +4 -4
  5. package/esm2020/cdk/a11y/lib/a11y.module.mjs +5 -5
  6. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +4 -4
  7. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +4 -4
  8. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +4 -4
  9. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +4 -4
  10. package/esm2020/cdk/autocomplete-control/lib/autocomplete-control.mjs +4 -4
  11. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +4 -4
  12. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +4 -4
  13. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +4 -4
  14. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +4 -4
  15. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +4 -4
  16. package/esm2020/cdk/custom-form-control/lib/input-control.directive.mjs +4 -4
  17. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +4 -4
  18. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +4 -4
  19. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +4 -4
  20. package/esm2020/cdk/event-plugins/lib/plugins/debounce-event-plugin.mjs +4 -4
  21. package/esm2020/cdk/event-plugins/lib/plugins/defer-event-plugin.mjs +4 -4
  22. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +4 -4
  23. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +4 -4
  24. package/esm2020/cdk/expandable/lib/expandable.module.mjs +5 -5
  25. package/esm2020/cdk/option-control/lib/option-control.mjs +4 -4
  26. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +4 -4
  27. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +4 -4
  28. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +5 -5
  29. package/esm2020/charts-config/lib/charts-theme.directive.mjs +4 -4
  30. package/esm2020/charts-config/lib/charts-theme.module.mjs +5 -5
  31. package/esm2020/charts-config/lib/charts-theme.service.mjs +4 -4
  32. package/esm2020/components/accordion/lib/accordion.component.mjs +4 -4
  33. package/esm2020/components/accordion/lib/accordion.module.mjs +5 -5
  34. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +4 -4
  35. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +4 -4
  36. package/esm2020/components/action-group/action-group.component.mjs +4 -4
  37. package/esm2020/components/area-header/area-header.component.mjs +4 -4
  38. package/esm2020/components/area-header/area-header.module.mjs +5 -5
  39. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -4
  40. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -4
  41. package/esm2020/components/autocomplete/lib/autocomplete.component.mjs +4 -4
  42. package/esm2020/components/autocomplete/lib/autocomplete.module.mjs +5 -5
  43. package/esm2020/components/autocomplete/lib/components/option/autocomplete-option.component.mjs +4 -4
  44. package/esm2020/components/autocomplete/lib/directives/autocomplete-input-control.directive.mjs +4 -4
  45. package/esm2020/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.mjs +4 -4
  46. package/esm2020/components/avatar/lib/avatar.component.mjs +4 -4
  47. package/esm2020/components/badge/lib/badge.component.mjs +4 -4
  48. package/esm2020/components/badge/lib/badge.directive.mjs +4 -4
  49. package/esm2020/components/bar/lib/bar.component.mjs +4 -4
  50. package/esm2020/components/bar/lib/bar.module.mjs +5 -5
  51. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +4 -4
  52. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +4 -4
  53. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +4 -4
  54. package/esm2020/components/button/lib/button.component.mjs +4 -4
  55. package/esm2020/components/button/lib/directives/responsive-button.directive.mjs +4 -4
  56. package/esm2020/components/button-group/lib/button-group.component.mjs +4 -4
  57. package/esm2020/components/calendar/lib/calendar.component.mjs +4 -4
  58. package/esm2020/components/calendar/lib/calendar.service.mjs +4 -4
  59. package/esm2020/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +4 -4
  60. package/esm2020/components/calendar/lib/components/calendar-month/calendar-month.component.mjs +4 -4
  61. package/esm2020/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +4 -4
  62. package/esm2020/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +4 -4
  63. package/esm2020/components/calendar/lib/directives/calendar-cell.directive.mjs +4 -4
  64. package/esm2020/components/calendar/lib/directives/calendar-view.directive.mjs +4 -4
  65. package/esm2020/components/calendar/lib/pipes/date-label.pipe.mjs +4 -4
  66. package/esm2020/components/calendar/lib/services/calendar-month.service.mjs +4 -4
  67. package/esm2020/components/calendar/lib/services/calendar-year.service.mjs +4 -4
  68. package/esm2020/components/calendar/lib/services/calendar-years.service.mjs +4 -4
  69. package/esm2020/components/card/lib/card.component.mjs +4 -4
  70. package/esm2020/components/card/lib/card.module.mjs +5 -5
  71. package/esm2020/components/card/lib/components/card-footer/card-footer.component.mjs +4 -4
  72. package/esm2020/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.mjs +4 -4
  73. package/esm2020/components/card/lib/directives/card-content.directive.mjs +4 -4
  74. package/esm2020/components/card/lib/directives/card-title.directive.mjs +4 -4
  75. package/esm2020/components/checkbox/lib/checkbox.component.mjs +4 -4
  76. package/esm2020/components/checkbox/lib/checkbox.module.mjs +5 -5
  77. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +4 -4
  78. package/esm2020/components/chip/lib/components/chip/chip.component.mjs +4 -4
  79. package/esm2020/components/chip/lib/components/chip-list/chip-list.component.mjs +4 -4
  80. package/esm2020/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +4 -4
  81. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +4 -4
  82. package/esm2020/components/content-box/lib/content-box.component.mjs +4 -4
  83. package/esm2020/components/content-box/lib/content-box.module.mjs +5 -5
  84. package/esm2020/components/content-box/lib/directives/content-box-footer.directive.mjs +4 -4
  85. package/esm2020/components/content-box/lib/directives/content-box-header.directive.mjs +4 -4
  86. package/esm2020/components/datepicker/lib/datepicker.component.mjs +4 -4
  87. package/esm2020/components/datepicker/lib/datepicker.module.mjs +5 -5
  88. package/esm2020/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +4 -4
  89. package/esm2020/components/dropdown/lib/dropdown.component.mjs +4 -4
  90. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +4 -4
  91. package/esm2020/components/dropdown/lib/dropdown.module.mjs +5 -5
  92. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +4 -4
  93. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +4 -4
  94. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +4 -4
  95. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +4 -4
  96. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +4 -4
  97. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +4 -4
  98. package/esm2020/components/form-field/lib/directives/form.directive.mjs +4 -4
  99. package/esm2020/components/form-field/lib/form-field.component.mjs +4 -4
  100. package/esm2020/components/form-field/lib/form-field.module.mjs +5 -5
  101. package/esm2020/components/form-field/lib/form-field.service.mjs +4 -4
  102. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +4 -4
  103. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +4 -4
  104. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -4
  105. package/esm2020/components/header/lib/header.component.mjs +4 -4
  106. package/esm2020/components/header/lib/header.module.mjs +5 -5
  107. package/esm2020/components/icon/lib/icon.component.mjs +4 -4
  108. package/esm2020/components/inline-message/lib/inline-message.component.mjs +4 -4
  109. package/esm2020/components/link/link.directive.mjs +4 -4
  110. package/esm2020/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +4 -4
  111. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +4 -4
  112. package/esm2020/components/list/lib/list.component.mjs +4 -4
  113. package/esm2020/components/list/lib/list.module.mjs +5 -5
  114. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +4 -4
  115. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +4 -4
  116. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +5 -5
  117. package/esm2020/components/logo/logo.directive.mjs +4 -4
  118. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +4 -4
  119. package/esm2020/components/main-menu/lib/directives/main-menu-close.directive.mjs +4 -4
  120. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +4 -4
  121. package/esm2020/components/main-menu/lib/main-menu.component.mjs +4 -4
  122. package/esm2020/components/main-menu/lib/main-menu.module.mjs +5 -5
  123. package/esm2020/components/main-menu/lib/main-menu.service.mjs +4 -4
  124. package/esm2020/components/mainfilter-group/lib/mainfilter-group.component.mjs +4 -4
  125. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +4 -4
  126. package/esm2020/components/menu/lib/menu.component.mjs +4 -4
  127. package/esm2020/components/menu/lib/menu.directive.mjs +4 -4
  128. package/esm2020/components/menu/lib/menu.module.mjs +5 -5
  129. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +4 -4
  130. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +4 -4
  131. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +4 -4
  132. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +4 -4
  133. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +4 -4
  134. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +4 -4
  135. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +4 -4
  136. package/esm2020/components/modal/lib/modal.component.mjs +4 -4
  137. package/esm2020/components/modal/lib/modal.directive.mjs +4 -4
  138. package/esm2020/components/modal/lib/modal.module.mjs +5 -5
  139. package/esm2020/components/modal/lib/modal.service.mjs +4 -4
  140. package/esm2020/components/navigation-back/lib/navigation-back.component.mjs +4 -4
  141. package/esm2020/components/paginator/lib/paginator.component.mjs +4 -4
  142. package/esm2020/components/paginator/lib/paginator.module.mjs +5 -5
  143. package/esm2020/components/progress/lib/progress.component.mjs +4 -4
  144. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +4 -4
  145. package/esm2020/components/radio-group/lib/radio-group.component.mjs +4 -4
  146. package/esm2020/components/radio-group/lib/radio-group.module.mjs +5 -5
  147. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +4 -4
  148. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +4 -4
  149. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +5 -5
  150. package/esm2020/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +4 -4
  151. package/esm2020/components/rich-list/lib/directives/rich-list-item-title.mjs +4 -4
  152. package/esm2020/components/rich-list/lib/rich-list.component.mjs +4 -4
  153. package/esm2020/components/rich-list/lib/rich-list.module.mjs +5 -5
  154. package/esm2020/components/select/lib/components/select-option/select-option.component.mjs +4 -4
  155. package/esm2020/components/select/lib/directives/select-input-control.directive.mjs +4 -4
  156. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +4 -4
  157. package/esm2020/components/select/lib/select.component.mjs +4 -4
  158. package/esm2020/components/select/lib/select.module.mjs +5 -5
  159. package/esm2020/components/slider/lib/slider.directive.mjs +4 -4
  160. package/esm2020/components/spinbox/lib/spinbox.component.mjs +4 -4
  161. package/esm2020/components/switch/lib/switch.component.mjs +4 -4
  162. package/esm2020/components/switch/lib/switch.module.mjs +5 -5
  163. package/esm2020/components/switch/lib/switch.validator.mjs +4 -4
  164. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +4 -4
  165. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +4 -4
  166. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +5 -5
  167. package/esm2020/components/table/lib/components/check-cell/check-cell.component.mjs +4 -4
  168. package/esm2020/components/table/lib/components/header-title/header-title.component.mjs +4 -4
  169. package/esm2020/components/table/lib/directives/table-cell.directive.mjs +4 -4
  170. package/esm2020/components/table/lib/directives/table-row.directive.mjs +4 -4
  171. package/esm2020/components/table/lib/table.component.mjs +4 -4
  172. package/esm2020/components/table/lib/table.module.mjs +5 -5
  173. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +4 -4
  174. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +4 -4
  175. package/esm2020/components/toast/lib/toast.module.mjs +5 -5
  176. package/esm2020/components/toast/lib/toast.service.mjs +4 -4
  177. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +4 -4
  178. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +4 -4
  179. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +5 -5
  180. package/esm2020/components/tooltip/lib/tooltip.component.mjs +4 -4
  181. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +4 -4
  182. package/esm2020/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +4 -4
  183. package/esm2020/components/wizard/lib/wizard.component.mjs +4 -4
  184. package/esm2020/components/wizard/lib/wizard.module.mjs +5 -5
  185. package/esm2020/internal/translate/lib/pipes/translate.pipe.mjs +4 -4
  186. package/esm2020/internal/translate/lib/services/language.service.mjs +4 -4
  187. package/esm2020/lib/controllers/controller.mjs +4 -4
  188. package/esm2020/lib/controllers/disabled.controller.mjs +4 -4
  189. package/esm2020/lib/controllers/readonly.controller.mjs +4 -4
  190. package/esm2020/lib/core.module.mjs +5 -5
  191. package/esm2020/lib/directives/click-outside.directive.mjs +4 -4
  192. package/esm2020/lib/directives/delegate-focus.directive.mjs +4 -4
  193. package/esm2020/lib/directives/with-disabled-state.directive.mjs +4 -4
  194. package/esm2020/lib/directives/with-tabindex.directive.mjs +4 -4
  195. package/esm2020/lib/services/window-ref.mjs +4 -4
  196. package/esm2020/theming/lib/theming.service.mjs +4 -4
  197. package/esm2020/utils/lib/helpers/event-manager.mjs +4 -4
  198. package/fesm2015/odx-angular-breakpoints.mjs +10 -10
  199. package/fesm2015/odx-angular-breakpoints.mjs.map +1 -1
  200. package/fesm2015/odx-angular-cdk-a11y.mjs +13 -13
  201. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -1
  202. package/fesm2015/odx-angular-cdk-active-indicator.mjs +3 -3
  203. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -1
  204. package/fesm2015/odx-angular-cdk-autocomplete-control.mjs +3 -3
  205. package/fesm2015/odx-angular-cdk-autocomplete-control.mjs.map +1 -1
  206. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +3 -3
  207. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  208. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +6 -6
  209. package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  210. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +9 -9
  211. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  212. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +9 -9
  213. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  214. package/fesm2015/odx-angular-cdk-event-plugins.mjs +6 -6
  215. package/fesm2015/odx-angular-cdk-event-plugins.mjs.map +1 -1
  216. package/fesm2015/odx-angular-cdk-expandable.mjs +10 -10
  217. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -1
  218. package/fesm2015/odx-angular-cdk-option-control.mjs +3 -3
  219. package/fesm2015/odx-angular-cdk-option-control.mjs.map +1 -1
  220. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +10 -10
  221. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  222. package/fesm2015/odx-angular-charts-config.mjs +10 -10
  223. package/fesm2015/odx-angular-charts-config.mjs.map +1 -1
  224. package/fesm2015/odx-angular-components-accordion.mjs +13 -13
  225. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -1
  226. package/fesm2015/odx-angular-components-action-group.mjs +3 -3
  227. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  228. package/fesm2015/odx-angular-components-area-header.mjs +13 -13
  229. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  230. package/fesm2015/odx-angular-components-autocomplete.mjs +16 -16
  231. package/fesm2015/odx-angular-components-autocomplete.mjs.map +1 -1
  232. package/fesm2015/odx-angular-components-avatar.mjs +3 -3
  233. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  234. package/fesm2015/odx-angular-components-badge.mjs +6 -6
  235. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  236. package/fesm2015/odx-angular-components-bar.mjs +13 -13
  237. package/fesm2015/odx-angular-components-bar.mjs.map +1 -1
  238. package/fesm2015/odx-angular-components-breadcrumbs.mjs +3 -3
  239. package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +1 -1
  240. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  241. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -1
  242. package/fesm2015/odx-angular-components-button.mjs +6 -6
  243. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  244. package/fesm2015/odx-angular-components-calendar.mjs +36 -36
  245. package/fesm2015/odx-angular-components-calendar.mjs.map +1 -1
  246. package/fesm2015/odx-angular-components-card.mjs +19 -19
  247. package/fesm2015/odx-angular-components-card.mjs.map +1 -1
  248. package/fesm2015/odx-angular-components-checkbox.mjs +10 -10
  249. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  250. package/fesm2015/odx-angular-components-chip.mjs +9 -9
  251. package/fesm2015/odx-angular-components-chip.mjs.map +1 -1
  252. package/fesm2015/odx-angular-components-circular-progress.mjs +3 -3
  253. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -1
  254. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  255. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  256. package/fesm2015/odx-angular-components-datepicker.mjs +10 -10
  257. package/fesm2015/odx-angular-components-datepicker.mjs.map +1 -1
  258. package/fesm2015/odx-angular-components-dropdown.mjs +10 -10
  259. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -1
  260. package/fesm2015/odx-angular-components-form-field.mjs +34 -34
  261. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  262. package/fesm2015/odx-angular-components-header.mjs +13 -13
  263. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  264. package/fesm2015/odx-angular-components-icon.mjs +3 -3
  265. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  266. package/fesm2015/odx-angular-components-inline-message.mjs +3 -3
  267. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -1
  268. package/fesm2015/odx-angular-components-link.mjs +3 -3
  269. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  270. package/fesm2015/odx-angular-components-list.mjs +13 -13
  271. package/fesm2015/odx-angular-components-list.mjs.map +1 -1
  272. package/fesm2015/odx-angular-components-loading-spinner.mjs +10 -10
  273. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -1
  274. package/fesm2015/odx-angular-components-logo.mjs +3 -3
  275. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  276. package/fesm2015/odx-angular-components-main-menu.mjs +19 -19
  277. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  278. package/fesm2015/odx-angular-components-mainfilter-group.mjs +3 -3
  279. package/fesm2015/odx-angular-components-mainfilter-group.mjs.map +1 -1
  280. package/fesm2015/odx-angular-components-menu.mjs +13 -13
  281. package/fesm2015/odx-angular-components-menu.mjs.map +1 -1
  282. package/fesm2015/odx-angular-components-modal.mjs +34 -34
  283. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  284. package/fesm2015/odx-angular-components-navigation-back.mjs +3 -3
  285. package/fesm2015/odx-angular-components-navigation-back.mjs.map +1 -1
  286. package/fesm2015/odx-angular-components-paginator.mjs +7 -7
  287. package/fesm2015/odx-angular-components-paginator.mjs.map +1 -1
  288. package/fesm2015/odx-angular-components-progress.mjs +3 -3
  289. package/fesm2015/odx-angular-components-progress.mjs.map +1 -1
  290. package/fesm2015/odx-angular-components-radio-group.mjs +10 -10
  291. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  292. package/fesm2015/odx-angular-components-rail-navigation.mjs +10 -10
  293. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -1
  294. package/fesm2015/odx-angular-components-rich-list.mjs +13 -13
  295. package/fesm2015/odx-angular-components-rich-list.mjs.map +1 -1
  296. package/fesm2015/odx-angular-components-select.mjs +16 -16
  297. package/fesm2015/odx-angular-components-select.mjs.map +1 -1
  298. package/fesm2015/odx-angular-components-slider.mjs +3 -3
  299. package/fesm2015/odx-angular-components-slider.mjs.map +1 -1
  300. package/fesm2015/odx-angular-components-spinbox.mjs +3 -3
  301. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -1
  302. package/fesm2015/odx-angular-components-switch.mjs +10 -10
  303. package/fesm2015/odx-angular-components-switch.mjs.map +1 -1
  304. package/fesm2015/odx-angular-components-tab-bar.mjs +10 -10
  305. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -1
  306. package/fesm2015/odx-angular-components-table.mjs +19 -19
  307. package/fesm2015/odx-angular-components-table.mjs.map +1 -1
  308. package/fesm2015/odx-angular-components-toast.mjs +13 -13
  309. package/fesm2015/odx-angular-components-toast.mjs.map +1 -1
  310. package/fesm2015/odx-angular-components-toggle-button-group.mjs +10 -10
  311. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -1
  312. package/fesm2015/odx-angular-components-tooltip.mjs +6 -6
  313. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -1
  314. package/fesm2015/odx-angular-components-wizard.mjs +10 -10
  315. package/fesm2015/odx-angular-components-wizard.mjs.map +1 -1
  316. package/fesm2015/odx-angular-internal-translate.mjs +6 -6
  317. package/fesm2015/odx-angular-internal-translate.mjs.map +1 -1
  318. package/fesm2015/odx-angular-theming.mjs +3 -3
  319. package/fesm2015/odx-angular-theming.mjs.map +1 -1
  320. package/fesm2015/odx-angular-utils.mjs +3 -3
  321. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  322. package/fesm2015/odx-angular.mjs +28 -28
  323. package/fesm2015/odx-angular.mjs.map +1 -1
  324. package/fesm2020/odx-angular-breakpoints.mjs +10 -10
  325. package/fesm2020/odx-angular-breakpoints.mjs.map +1 -1
  326. package/fesm2020/odx-angular-cdk-a11y.mjs +13 -13
  327. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -1
  328. package/fesm2020/odx-angular-cdk-active-indicator.mjs +3 -3
  329. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -1
  330. package/fesm2020/odx-angular-cdk-autocomplete-control.mjs +3 -3
  331. package/fesm2020/odx-angular-cdk-autocomplete-control.mjs.map +1 -1
  332. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +3 -3
  333. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  334. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +6 -6
  335. package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  336. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +9 -9
  337. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  338. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +9 -9
  339. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  340. package/fesm2020/odx-angular-cdk-event-plugins.mjs +6 -6
  341. package/fesm2020/odx-angular-cdk-event-plugins.mjs.map +1 -1
  342. package/fesm2020/odx-angular-cdk-expandable.mjs +10 -10
  343. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -1
  344. package/fesm2020/odx-angular-cdk-option-control.mjs +3 -3
  345. package/fesm2020/odx-angular-cdk-option-control.mjs.map +1 -1
  346. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +10 -10
  347. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  348. package/fesm2020/odx-angular-charts-config.mjs +10 -10
  349. package/fesm2020/odx-angular-charts-config.mjs.map +1 -1
  350. package/fesm2020/odx-angular-components-accordion.mjs +13 -13
  351. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -1
  352. package/fesm2020/odx-angular-components-action-group.mjs +3 -3
  353. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  354. package/fesm2020/odx-angular-components-area-header.mjs +13 -13
  355. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  356. package/fesm2020/odx-angular-components-autocomplete.mjs +16 -16
  357. package/fesm2020/odx-angular-components-autocomplete.mjs.map +1 -1
  358. package/fesm2020/odx-angular-components-avatar.mjs +3 -3
  359. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  360. package/fesm2020/odx-angular-components-badge.mjs +6 -6
  361. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  362. package/fesm2020/odx-angular-components-bar.mjs +13 -13
  363. package/fesm2020/odx-angular-components-bar.mjs.map +1 -1
  364. package/fesm2020/odx-angular-components-breadcrumbs.mjs +3 -3
  365. package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +1 -1
  366. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  367. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -1
  368. package/fesm2020/odx-angular-components-button.mjs +6 -6
  369. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  370. package/fesm2020/odx-angular-components-calendar.mjs +36 -36
  371. package/fesm2020/odx-angular-components-calendar.mjs.map +1 -1
  372. package/fesm2020/odx-angular-components-card.mjs +19 -19
  373. package/fesm2020/odx-angular-components-card.mjs.map +1 -1
  374. package/fesm2020/odx-angular-components-checkbox.mjs +10 -10
  375. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  376. package/fesm2020/odx-angular-components-chip.mjs +9 -9
  377. package/fesm2020/odx-angular-components-chip.mjs.map +1 -1
  378. package/fesm2020/odx-angular-components-circular-progress.mjs +3 -3
  379. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -1
  380. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  381. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  382. package/fesm2020/odx-angular-components-datepicker.mjs +10 -10
  383. package/fesm2020/odx-angular-components-datepicker.mjs.map +1 -1
  384. package/fesm2020/odx-angular-components-dropdown.mjs +10 -10
  385. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -1
  386. package/fesm2020/odx-angular-components-form-field.mjs +34 -34
  387. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  388. package/fesm2020/odx-angular-components-header.mjs +13 -13
  389. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  390. package/fesm2020/odx-angular-components-icon.mjs +3 -3
  391. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  392. package/fesm2020/odx-angular-components-inline-message.mjs +3 -3
  393. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -1
  394. package/fesm2020/odx-angular-components-link.mjs +3 -3
  395. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  396. package/fesm2020/odx-angular-components-list.mjs +13 -13
  397. package/fesm2020/odx-angular-components-list.mjs.map +1 -1
  398. package/fesm2020/odx-angular-components-loading-spinner.mjs +10 -10
  399. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -1
  400. package/fesm2020/odx-angular-components-logo.mjs +3 -3
  401. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  402. package/fesm2020/odx-angular-components-main-menu.mjs +19 -19
  403. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  404. package/fesm2020/odx-angular-components-mainfilter-group.mjs +3 -3
  405. package/fesm2020/odx-angular-components-mainfilter-group.mjs.map +1 -1
  406. package/fesm2020/odx-angular-components-menu.mjs +13 -13
  407. package/fesm2020/odx-angular-components-menu.mjs.map +1 -1
  408. package/fesm2020/odx-angular-components-modal.mjs +34 -34
  409. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  410. package/fesm2020/odx-angular-components-navigation-back.mjs +3 -3
  411. package/fesm2020/odx-angular-components-navigation-back.mjs.map +1 -1
  412. package/fesm2020/odx-angular-components-paginator.mjs +7 -7
  413. package/fesm2020/odx-angular-components-paginator.mjs.map +1 -1
  414. package/fesm2020/odx-angular-components-progress.mjs +3 -3
  415. package/fesm2020/odx-angular-components-progress.mjs.map +1 -1
  416. package/fesm2020/odx-angular-components-radio-group.mjs +10 -10
  417. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  418. package/fesm2020/odx-angular-components-rail-navigation.mjs +10 -10
  419. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -1
  420. package/fesm2020/odx-angular-components-rich-list.mjs +13 -13
  421. package/fesm2020/odx-angular-components-rich-list.mjs.map +1 -1
  422. package/fesm2020/odx-angular-components-select.mjs +16 -16
  423. package/fesm2020/odx-angular-components-select.mjs.map +1 -1
  424. package/fesm2020/odx-angular-components-slider.mjs +3 -3
  425. package/fesm2020/odx-angular-components-slider.mjs.map +1 -1
  426. package/fesm2020/odx-angular-components-spinbox.mjs +3 -3
  427. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -1
  428. package/fesm2020/odx-angular-components-switch.mjs +10 -10
  429. package/fesm2020/odx-angular-components-switch.mjs.map +1 -1
  430. package/fesm2020/odx-angular-components-tab-bar.mjs +10 -10
  431. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -1
  432. package/fesm2020/odx-angular-components-table.mjs +19 -19
  433. package/fesm2020/odx-angular-components-table.mjs.map +1 -1
  434. package/fesm2020/odx-angular-components-toast.mjs +13 -13
  435. package/fesm2020/odx-angular-components-toast.mjs.map +1 -1
  436. package/fesm2020/odx-angular-components-toggle-button-group.mjs +10 -10
  437. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -1
  438. package/fesm2020/odx-angular-components-tooltip.mjs +6 -6
  439. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -1
  440. package/fesm2020/odx-angular-components-wizard.mjs +10 -10
  441. package/fesm2020/odx-angular-components-wizard.mjs.map +1 -1
  442. package/fesm2020/odx-angular-internal-translate.mjs +6 -6
  443. package/fesm2020/odx-angular-internal-translate.mjs.map +1 -1
  444. package/fesm2020/odx-angular-theming.mjs +3 -3
  445. package/fesm2020/odx-angular-theming.mjs.map +1 -1
  446. package/fesm2020/odx-angular-utils.mjs +3 -3
  447. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  448. package/fesm2020/odx-angular.mjs +28 -28
  449. package/fesm2020/odx-angular.mjs.map +1 -1
  450. package/package.json +6 -8
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-event-plugins.mjs","sources":["../../../../libs/angular/cdk/event-plugins/src/lib/models/event-plugin.ts","../../../../libs/angular/cdk/event-plugins/src/lib/plugins/debounce-event-plugin.ts","../../../../libs/angular/cdk/event-plugins/src/lib/plugins/defer-event-plugin.ts","../../../../libs/angular/cdk/event-plugins/src/lib/event-plugins.config.ts","../../../../libs/angular/cdk/event-plugins/src/odx-angular-cdk-event-plugins.ts"],"sourcesContent":["/* istanbul ignore file */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { NgZone } from '@angular/core';\nimport { EventManager } from '@angular/platform-browser';\nimport { isFunction } from '@odx/angular/utils';\n\ntype EventManagerArg = ConstructorParameters<typeof EventManager>[0][0];\n\ntype EventManagerPlugin = {\n [K in keyof EventManagerArg]: EventManagerArg[K];\n};\n\nexport abstract class EventPlugin implements EventManagerPlugin {\n protected abstract readonly modifier: RegExp;\n\n public manager!: EventManager;\n\n public abstract addEventListener(element: HTMLElement, eventName: string, handler: EventListener): Function;\n\n public addGlobalEventListener(): Function {\n return () => void 0;\n }\n\n public supports(eventName: string): boolean {\n return this.modifier.test(eventName);\n }\n\n protected getZone(): NgZone {\n return this.manager.getZone();\n }\n\n protected teardown(listener: Function | null): () => void {\n return () => (isFunction(listener) ? listener() : void 0);\n }\n}\n","/* istanbul ignore file */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { coerceNumberProperty } from '@angular/cdk/coercion';\nimport { Injectable } from '@angular/core';\nimport { debounce } from '@odx/angular/utils';\nimport { EventPlugin } from '../models';\n\nconst DEFAULT_DELAY = 250;\n\n@Injectable()\nexport class DebounceEventPlugin extends EventPlugin {\n public readonly modifier = /debounce/;\n\n public addEventListener(element: HTMLElement, eventName: string, originalHandler: EventListener): Function {\n const [name, , delay] = eventName.split('.');\n const handler = this.createHandler(originalHandler, coerceNumberProperty(delay || DEFAULT_DELAY));\n\n return this.runOutsideAngular(() => this.manager.addEventListener(element, name, handler));\n }\n\n private createHandler(originalHandler: EventListener, delay: number): (event: Event) => void {\n const innerHandler = (event: Event): void => this.getZone().runGuarded(() => originalHandler(event));\n\n return debounce(innerHandler, delay);\n }\n\n private runOutsideAngular(addListener: () => Function): () => void {\n let listener: Function | null = null;\n this.getZone().runOutsideAngular(() => {\n listener = addListener();\n });\n\n return this.teardown(listener);\n }\n}\n","/* istanbul ignore file */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { Injectable } from '@angular/core';\nimport { EventPlugin } from '../models';\n\n@Injectable()\nexport class DeferEventPlugin extends EventPlugin {\n public readonly modifier = /defer/;\n\n public addEventListener(element: HTMLElement, eventName: string, originalHandler: EventListener): Function {\n const [name] = eventName.split('.');\n const handler = this.createHandler(originalHandler);\n\n return this.getZone().runOutsideAngular(() => this.manager.addEventListener(element, name, handler));\n }\n\n private createHandler(originalHandler: EventListener): (event: Event) => void {\n return (event: Event): void => {\n setTimeout(() => this.getZone().runGuarded(() => originalHandler(event)), 0);\n };\n }\n}\n","import { makeEnvironmentProviders, EnvironmentProviders, Provider } from '@angular/core';\nimport { EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';\nimport { DebounceEventPlugin, DeferEventPlugin } from './plugins';\n\nconst PLUGINS = [DebounceEventPlugin, DeferEventPlugin];\n\nexport const EVENT_PLUGINS: Provider[] = PLUGINS.map((useClass) => ({\n provide: EVENT_MANAGER_PLUGINS,\n useClass,\n multi: true,\n}));\n\nexport function provideEventPlugins(): EnvironmentProviders {\n return makeEnvironmentProviders(EVENT_PLUGINS);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAYsB,WAAW,CAAA;IAOxB,sBAAsB,GAAA;AAC3B,QAAA,OAAO,MAAM,KAAK,CAAC,CAAC;KACrB;AAEM,IAAA,QAAQ,CAAC,SAAiB,EAAA;QAC/B,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KACtC;IAES,OAAO,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;KAC/B;AAES,IAAA,QAAQ,CAAC,QAAyB,EAAA;AAC1C,QAAA,OAAO,OAAO,UAAU,CAAC,QAAQ,CAAC,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC;KAC3D;AACF;;AClCD;AACA;AAMA,MAAM,aAAa,GAAG,GAAG,CAAC;AAGpB,MAAO,mBAAoB,SAAQ,WAAW,CAAA;AADpD,IAAA,WAAA,GAAA;;QAEkB,IAAQ,CAAA,QAAA,GAAG,UAAU,CAAC;AAuBvC,KAAA;AArBQ,IAAA,gBAAgB,CAAC,OAAoB,EAAE,SAAiB,EAAE,eAA8B,EAAA;AAC7F,QAAA,MAAM,CA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A8B,EAAA;QAC7F,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACpC,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;QAEpD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;KACtG;AAEO,IAAA,aAAa,CAAC,eAA8B,EAAA;QAClD,OAAO,CAAC,KAAY,KAAU;YAC5B,UAAU,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,MAAM,eAAe,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC/E,SAAC,CAAC;KACH;;6GAdU,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;iHAAhB,gBAAgB,EAAA,CAAA,CAAA;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,UAAU;;;ACDX,MAAM,OAAO,GAAG,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC;AAEjD,MAAM,aAAa,GAAe,OAAO,CAAC,GAAG,CAAC,CAAC,QAAQ,MAAM;AAClE,IAAA,OAAO,EAAE,qBAAqB;IAC9B,QAAQ;AACR,IAAA,KAAK,EAAE,IAAI;AACZ,CAAA,CAAC,EAAE;SAEY,mBAAmB,GAAA;AACjC,IAAA,OAAO,wBAAwB,CAAC,aAAa,CAAC,CAAC;AACjD;;ACdA;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-event-plugins.mjs","sources":["../../../../libs/angular/cdk/event-plugins/src/lib/models/event-plugin.ts","../../../../libs/angular/cdk/event-plugins/src/lib/plugins/debounce-event-plugin.ts","../../../../libs/angular/cdk/event-plugins/src/lib/plugins/defer-event-plugin.ts","../../../../libs/angular/cdk/event-plugins/src/lib/event-plugins.config.ts","../../../../libs/angular/cdk/event-plugins/src/odx-angular-cdk-event-plugins.ts"],"sourcesContent":["/* istanbul ignore file */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { NgZone } from '@angular/core';\nimport { EventManager } from '@angular/platform-browser';\nimport { isFunction } from '@odx/angular/utils';\n\ntype EventManagerArg = ConstructorParameters<typeof EventManager>[0][0];\n\ntype EventManagerPlugin = {\n [K in keyof EventManagerArg]: EventManagerArg[K];\n};\n\nexport abstract class EventPlugin implements EventManagerPlugin {\n protected abstract readonly modifier: RegExp;\n\n public manager!: EventManager;\n\n public abstract addEventListener(element: HTMLElement, eventName: string, handler: EventListener): Function;\n\n public addGlobalEventListener(): Function {\n return () => void 0;\n }\n\n public supports(eventName: string): boolean {\n return this.modifier.test(eventName);\n }\n\n protected getZone(): NgZone {\n return this.manager.getZone();\n }\n\n protected teardown(listener: Function | null): () => void {\n return () => (isFunction(listener) ? listener() : void 0);\n }\n}\n","/* istanbul ignore file */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { coerceNumberProperty } from '@angular/cdk/coercion';\nimport { Injectable } from '@angular/core';\nimport { debounce } from '@odx/angular/utils';\nimport { EventPlugin } from '../models';\n\nconst DEFAULT_DELAY = 250;\n\n@Injectable()\nexport class DebounceEventPlugin extends EventPlugin {\n public readonly modifier = /debounce/;\n\n public addEventListener(element: HTMLElement, eventName: string, originalHandler: EventListener): Function {\n const [name, , delay] = eventName.split('.');\n const handler = this.createHandler(originalHandler, coerceNumberProperty(delay || DEFAULT_DELAY));\n\n return this.runOutsideAngular(() => this.manager.addEventListener(element, name, handler));\n }\n\n private createHandler(originalHandler: EventListener, delay: number): (event: Event) => void {\n const innerHandler = (event: Event): void => this.getZone().runGuarded(() => originalHandler(event));\n\n return debounce(innerHandler, delay);\n }\n\n private runOutsideAngular(addListener: () => Function): () => void {\n let listener: Function | null = null;\n this.getZone().runOutsideAngular(() => {\n listener = addListener();\n });\n\n return this.teardown(listener);\n }\n}\n","/* istanbul ignore file */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { Injectable } from '@angular/core';\nimport { EventPlugin } from '../models';\n\n@Injectable()\nexport class DeferEventPlugin extends EventPlugin {\n public readonly modifier = /defer/;\n\n public addEventListener(element: HTMLElement, eventName: string, originalHandler: EventListener): Function {\n const [name] = eventName.split('.');\n const handler = this.createHandler(originalHandler);\n\n return this.getZone().runOutsideAngular(() => this.manager.addEventListener(element, name, handler));\n }\n\n private createHandler(originalHandler: EventListener): (event: Event) => void {\n return (event: Event): void => {\n setTimeout(() => this.getZone().runGuarded(() => originalHandler(event)), 0);\n };\n }\n}\n","import { makeEnvironmentProviders, EnvironmentProviders, Provider } from '@angular/core';\nimport { EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';\nimport { DebounceEventPlugin, DeferEventPlugin } from './plugins';\n\nconst PLUGINS = [DebounceEventPlugin, DeferEventPlugin];\n\nexport const EVENT_PLUGINS: Provider[] = PLUGINS.map((useClass) => ({\n provide: EVENT_MANAGER_PLUGINS,\n useClass,\n multi: true,\n}));\n\nexport function provideEventPlugins(): EnvironmentProviders {\n return makeEnvironmentProviders(EVENT_PLUGINS);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAYsB,WAAW,CAAA;IAOxB,sBAAsB,GAAA;AAC3B,QAAA,OAAO,MAAM,KAAK,CAAC,CAAC;KACrB;AAEM,IAAA,QAAQ,CAAC,SAAiB,EAAA;QAC/B,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KACtC;IAES,OAAO,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;KAC/B;AAES,IAAA,QAAQ,CAAC,QAAyB,EAAA;AAC1C,QAAA,OAAO,OAAO,UAAU,CAAC,QAAQ,CAAC,GAAG,QAAQ,EAAE,GAA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AE,IAAI;AACZ,CAAA,CAAC,EAAE;SAEY,mBAAmB,GAAA;AACjC,IAAA,OAAO,wBAAwB,CAAC,aAAa,CAAC,CAAC;AACjD;;ACdA;;AAEG;;;;"}
@@ -36,9 +36,9 @@ class ExpandableItemDirective {
36
36
  this.toggle(false);
37
37
  }
38
38
  }
39
- ExpandableItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExpandableItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
40
- ExpandableItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ExpandableItemDirective, isStandalone: true, selector: "[odxExpandableItem]", inputs: { expanded: "expanded" }, ngImport: i0 });
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExpandableItemDirective, decorators: [{
39
+ ExpandableItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandableItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
40
+ ExpandableItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ExpandableItemDirective, isStandalone: true, selector: "[odxExpandableItem]", inputs: { expanded: "expanded" }, ngImport: i0 });
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandableItemDirective, decorators: [{
42
42
  type: Directive,
43
43
  args: [{
44
44
  standalone: true,
@@ -71,8 +71,8 @@ class ExpandableContainerDirective {
71
71
  return Object.values(this.openItems).length > 0;
72
72
  }
73
73
  }
74
- ExpandableContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExpandableContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
75
- ExpandableContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ExpandableContainerDirective, isStandalone: true, selector: "[odxExpandableContainer]", inputs: { multiple: "multiple" }, providers: [
74
+ ExpandableContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandableContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
75
+ ExpandableContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ExpandableContainerDirective, isStandalone: true, selector: "[odxExpandableContainer]", inputs: { multiple: "multiple" }, providers: [
76
76
  {
77
77
  provide: ODX_EXPANDABLE_CONTAINER,
78
78
  useExisting: ExpandableContainerDirective,
@@ -82,7 +82,7 @@ __decorate([
82
82
  Transform(coerceBooleanProperty),
83
83
  __metadata("design:type", Object)
84
84
  ], ExpandableContainerDirective.prototype, "multiple", void 0);
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExpandableContainerDirective, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandableContainerDirective, decorators: [{
86
86
  type: Directive,
87
87
  args: [{
88
88
  standalone: true,
@@ -101,10 +101,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
101
101
  const modules = [ExpandableContainerDirective, ExpandableItemDirective];
102
102
  class ExpandableModule {
103
103
  }
104
- ExpandableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExpandableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
105
- ExpandableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ExpandableModule, imports: [ExpandableContainerDirective, ExpandableItemDirective], exports: [ExpandableContainerDirective, ExpandableItemDirective] });
106
- ExpandableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExpandableModule });
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExpandableModule, decorators: [{
104
+ ExpandableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
105
+ ExpandableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ExpandableModule, imports: [ExpandableContainerDirective, ExpandableItemDirective], exports: [ExpandableContainerDirective, ExpandableItemDirective] });
106
+ ExpandableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandableModule });
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandableModule, decorators: [{
108
108
  type: NgModule,
109
109
  args: [{
110
110
  imports: modules,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-expandable.mjs","sources":["../../../../libs/angular/cdk/expandable/src/lib/expandable.tokens.ts","../../../../libs/angular/cdk/expandable/src/lib/directives/expandable-item.directive.ts","../../../../libs/angular/cdk/expandable/src/lib/directives/extandable-container.directive.ts","../../../../libs/angular/cdk/expandable/src/lib/expandable.module.ts","../../../../libs/angular/cdk/expandable/src/odx-angular-cdk-expandable.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ExpandableContainer } from './facade';\n\nexport const ODX_EXPANDABLE_CONTAINER = new InjectionToken<ExpandableContainer>('@odx/angular/cdk/expandable::ExpandableContainer');\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectorRef, Directive, inject, Input } from '@angular/core';\nimport { getUniqueId } from '@odx/angular/utils';\nimport { ODX_EXPANDABLE_CONTAINER } from '../expandable.tokens';\nimport { ExpandableItem } from '../facade';\n\n@Directive({\n standalone: true,\n selector: '[odxExpandableItem]',\n})\nexport class ExpandableItemDirective implements ExpandableItem {\n public static ngAcceptInputType_expanded: BooleanInput;\n\n private readonly container = inject(ODX_EXPANDABLE_CONTAINER, { optional: true, skipSelf: true });\n private readonly changeDetectorRef = inject(ChangeDetectorRef);\n private _expanded = false;\n\n public readonly id = getUniqueId('odx-expandable-item');\n\n @Input()\n public set expanded(value: boolean) {\n this._expanded = coerceBooleanProperty(value);\n if (this._expanded) {\n this.container?.open(this);\n } else {\n this.container?.close(this);\n }\n this.changeDetectorRef.markForCheck();\n }\n public get expanded(): boolean {\n return this._expanded;\n }\n\n public toggle(forceState?: boolean): void {\n this.expanded = forceState ?? !this.expanded;\n }\n\n public open(): void {\n this.toggle(true);\n }\n\n public close(): void {\n this.toggle(false);\n }\n}\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Directive, Input } from '@angular/core';\nimport { Transform } from '@odx/angular/utils';\nimport { ODX_EXPANDABLE_CONTAINER } from '../expandable.tokens';\nimport { ExpandableContainer, ExpandableItem } from '../facade';\n\n@Directive({\n standalone: true,\n selector: '[odxExpandableContainer]',\n providers: [\n {\n provide: ODX_EXPANDABLE_CONTAINER,\n useExisting: ExpandableContainerDirective,\n },\n ],\n})\nexport class ExpandableContainerDirective implements ExpandableContainer {\n public static ngAcceptInputType_multiple: BooleanInput;\n\n private openItems: Record<string, ExpandableItem> = {};\n\n @Transform(coerceBooleanProperty)\n @Input()\n public multiple = false;\n\n public close(item: ExpandableItem): void {\n delete this.openItems[item.id];\n }\n\n public closeAll(): void {\n for (const item of Object.values(this.openItems)) {\n item.close();\n }\n }\n\n public open(item: ExpandableItem): void {\n if (!this.multiple) {\n this.closeAll();\n }\n this.openItems[item.id] = item;\n }\n\n public hasExpandedItem(): boolean {\n return Object.values(this.openItems).length > 0;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ExpandableContainerDirective, ExpandableItemDirective } from './directives';\n\nconst modules = [ExpandableContainerDirective, ExpandableItemDirective];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class ExpandableModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAGa,wBAAwB,GAAG,IAAI,cAAc,CAAsB,kDAAkD;;MCOrH,uBAAuB,CAAA;AAJpC,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,wBAAwB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;AACjF,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;QACvD,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;AAEV,QAAA,IAAA,CAAA,EAAE,GAAG,WAAW,CAAC,qBAAqB,CAAC,CAAC;AA2BzD,KAAA;IAzBC,IACW,QAAQ,CAAC,KAAc,EAAA;AAChC,QAAA,IAAI,CAAC,SAAS,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;QAC9C,IAAI,IAAI,CAAC,SAAS,EAAE;AAClB,YAAA,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5B,SAAA;AAAM,aAAA;AACL,YAAA,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;AAC7B,SAAA;AACD,QAAA,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;KACvC;AACD,IAAA,IAAW,QAAQ,GAAA;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;AAEM,IAAA,MAAM,CAAC,UAAoB,EAAA;QAChC,IAAI,CAAC,QAAQ,GAAG,UAAU,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;KAC9C;IAEM,IAAI,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;KACnB;IAEM,KAAK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AAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANZ,4BAA4B,EAAE,uBAAuB,CAArD,EAAA,OAAA,EAAA,CAAA,4BAA4B,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;8GAMzD,gBAAgB,EAAA,CAAA,CAAA;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;AACjB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-expandable.mjs","sources":["../../../../libs/angular/cdk/expandable/src/lib/expandable.tokens.ts","../../../../libs/angular/cdk/expandable/src/lib/directives/expandable-item.directive.ts","../../../../libs/angular/cdk/expandable/src/lib/directives/extandable-container.directive.ts","../../../../libs/angular/cdk/expandable/src/lib/expandable.module.ts","../../../../libs/angular/cdk/expandable/src/odx-angular-cdk-expandable.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ExpandableContainer } from './facade';\n\nexport const ODX_EXPANDABLE_CONTAINER = new InjectionToken<ExpandableContainer>('@odx/angular/cdk/expandable::ExpandableContainer');\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectorRef, Directive, inject, Input } from '@angular/core';\nimport { getUniqueId } from '@odx/angular/utils';\nimport { ODX_EXPANDABLE_CONTAINER } from '../expandable.tokens';\nimport { ExpandableItem } from '../facade';\n\n@Directive({\n standalone: true,\n selector: '[odxExpandableItem]',\n})\nexport class ExpandableItemDirective implements ExpandableItem {\n public static ngAcceptInputType_expanded: BooleanInput;\n\n private readonly container = inject(ODX_EXPANDABLE_CONTAINER, { optional: true, skipSelf: true });\n private readonly changeDetectorRef = inject(ChangeDetectorRef);\n private _expanded = false;\n\n public readonly id = getUniqueId('odx-expandable-item');\n\n @Input()\n public set expanded(value: boolean) {\n this._expanded = coerceBooleanProperty(value);\n if (this._expanded) {\n this.container?.open(this);\n } else {\n this.container?.close(this);\n }\n this.changeDetectorRef.markForCheck();\n }\n public get expanded(): boolean {\n return this._expanded;\n }\n\n public toggle(forceState?: boolean): void {\n this.expanded = forceState ?? !this.expanded;\n }\n\n public open(): void {\n this.toggle(true);\n }\n\n public close(): void {\n this.toggle(false);\n }\n}\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Directive, Input } from '@angular/core';\nimport { Transform } from '@odx/angular/utils';\nimport { ODX_EXPANDABLE_CONTAINER } from '../expandable.tokens';\nimport { ExpandableContainer, ExpandableItem } from '../facade';\n\n@Directive({\n standalone: true,\n selector: '[odxExpandableContainer]',\n providers: [\n {\n provide: ODX_EXPANDABLE_CONTAINER,\n useExisting: ExpandableContainerDirective,\n },\n ],\n})\nexport class ExpandableContainerDirective implements ExpandableContainer {\n public static ngAcceptInputType_multiple: BooleanInput;\n\n private openItems: Record<string, ExpandableItem> = {};\n\n @Transform(coerceBooleanProperty)\n @Input()\n public multiple = false;\n\n public close(item: ExpandableItem): void {\n delete this.openItems[item.id];\n }\n\n public closeAll(): void {\n for (const item of Object.values(this.openItems)) {\n item.close();\n }\n }\n\n public open(item: ExpandableItem): void {\n if (!this.multiple) {\n this.closeAll();\n }\n this.openItems[item.id] = item;\n }\n\n public hasExpandedItem(): boolean {\n return Object.values(this.openItems).length > 0;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ExpandableContainerDirective, ExpandableItemDirective } from './directives';\n\nconst modules = [ExpandableContainerDirective, ExpandableItemDirective];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class ExpandableModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAGa,wBAAwB,GAAG,IAAI,cAA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AA,OAAA,EAAA,CAAA,4BAA4B,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;+GAMzD,gBAAgB,EAAA,CAAA,CAAA;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;AACjB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
@@ -25,9 +25,9 @@ class OptionControl {
25
25
  this.selectOption();
26
26
  }
27
27
  }
28
- OptionControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OptionControl, deps: [], target: i0.ɵɵFactoryTarget.Directive });
29
- OptionControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", 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 });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OptionControl, decorators: [{
28
+ OptionControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OptionControl, deps: [], target: i0.ɵɵFactoryTarget.Directive });
29
+ OptionControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OptionControl, decorators: [{
31
31
  type: Directive,
32
32
  args: [{
33
33
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-option-control.mjs","sources":["../../../../libs/angular/cdk/option-control/src/lib/option-control.ts","../../../../libs/angular/cdk/option-control/src/odx-angular-cdk-option-control.ts"],"sourcesContent":["import { Highlightable } from '@angular/cdk/a11y';\nimport { ChangeDetectorRef, Directive, ElementRef, HostListener, inject, Input } from '@angular/core';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\n\n@Directive({\n standalone: true,\n host: {\n role: 'option',\n '[class.odx-option]': 'true',\n '[class.is-active]': 'isActive',\n '[attr.aria-selected]': 'isSelected',\n '[class.is-selected]': 'isSelected',\n },\n})\nexport abstract class OptionControl<T> implements Highlightable {\n protected readonly takeUntilDestroyed = untilDestroyed();\n protected readonly cdr = inject(ChangeDetectorRef);\n\n protected isActive = false;\n\n @Input()\n public value: T | null = null;\n\n public readonly element: ElementRef<HTMLElement> = injectElement();\n\n public setActiveStyles(): void {\n this.isActive = true;\n }\n\n public setInactiveStyles(): void {\n this.isActive = false;\n }\n\n public getLabel(): string {\n return this.element.nativeElement.textContent?.trim() ?? '';\n }\n\n protected abstract selectOption(): void;\n\n @HostListener('click', ['$event'])\n protected select(event: Event): void {\n event.stopPropagation();\n event.preventDefault();\n\n this.selectOption();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAcsB,aAAa,CAAA;AAVnC,IAAA,WAAA,GAAA;QAWqB,IAAkB,CAAA,kBAAA,GAAG,cAAc,EAAE,CAAC;AACtC,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;QAEzC,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;QAGpB,IAAK,CAAA,KAAA,GAAa,IAAI,CAAC;QAEd,IAAO,CAAA,OAAA,GAA4B,aAAa,EAAE,CAAC;AAuBpE,KAAA;IArBQ,eAAe,GAAA;AACpB,QAAA,IAAI,CAAC,QAAQ,GAAG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I,MAAM,EAAA,CAAA;sBADf,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,CAAA;;;ACvCnC;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-option-control.mjs","sources":["../../../../libs/angular/cdk/option-control/src/lib/option-control.ts","../../../../libs/angular/cdk/option-control/src/odx-angular-cdk-option-control.ts"],"sourcesContent":["import { Highlightable } from '@angular/cdk/a11y';\nimport { ChangeDetectorRef, Directive, ElementRef, HostListener, inject, Input } from '@angular/core';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\n\n@Directive({\n standalone: true,\n host: {\n role: 'option',\n '[class.odx-option]': 'true',\n '[class.is-active]': 'isActive',\n '[attr.aria-selected]': 'isSelected',\n '[class.is-selected]': 'isSelected',\n },\n})\nexport abstract class OptionControl<T> implements Highlightable {\n protected readonly takeUntilDestroyed = untilDestroyed();\n protected readonly cdr = inject(ChangeDetectorRef);\n\n protected isActive = false;\n\n @Input()\n public value: T | null = null;\n\n public readonly element: ElementRef<HTMLElement> = injectElement();\n\n public setActiveStyles(): void {\n this.isActive = true;\n }\n\n public setInactiveStyles(): void {\n this.isActive = false;\n }\n\n public getLabel(): string {\n return this.element.nativeElement.textContent?.trim() ?? '';\n }\n\n protected abstract selectOption(): void;\n\n @HostListener('click', ['$event'])\n protected select(event: Event): void {\n event.stopPropagation();\n event.preventDefault();\n\n this.selectOption();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAcsB,aAAa,CAAA;AAVnC,IAAA,WAAA,GAAA;QAWqB,IAAkB,CAAA,kBAAA,GAAG,cAAc,EAAE,CAAC;AACtC,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;QAEzC,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;QAGpB,IAAK,CAAA,KAAA,GAAa,IAAI,CAAC;QAEd,IAAO,CAAA,OAAA,GAA4B,aAAa,EAA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Y;AACpC,qBAAA;AACF,iBAAA,CAAA;8BAQQ,KAAK,EAAA,CAAA;sBADX,KAAK;gBAoBI,MAAM,EAAA,CAAA;sBADf,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,CAAA;;;ACvCnC;;AAEG;;;;"}
@@ -16,8 +16,8 @@ class RadioGroupControlDirective extends CustomFormControl {
16
16
  }
17
17
  }
18
18
  }
19
- RadioGroupControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioGroupControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
20
- RadioGroupControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: RadioGroupControlDirective, isStandalone: true, selector: "[odxRadioGroupControl]", host: { listeners: { "focusout": "onFocusOut($event)" } }, providers: [
19
+ RadioGroupControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioGroupControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
20
+ RadioGroupControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RadioGroupControlDirective, isStandalone: true, selector: "[odxRadioGroupControl]", host: { listeners: { "focusout": "onFocusOut($event)" } }, providers: [
21
21
  {
22
22
  provide: RADIO_GROUP_CONTROL,
23
23
  useExisting: forwardRef(() => RadioGroupControlDirective),
@@ -26,7 +26,7 @@ RadioGroupControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0
26
26
  DisabledController.connect(),
27
27
  ReadonlyController.connect(),
28
28
  ], usesInheritance: true, ngImport: i0 });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioGroupControlDirective, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioGroupControlDirective, decorators: [{
30
30
  type: Directive,
31
31
  args: [{
32
32
  standalone: true,
@@ -61,9 +61,9 @@ class RadioControlDirective {
61
61
  detectControllerChanges(this.radioGroupControl).subscribe();
62
62
  }
63
63
  }
64
- RadioControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
65
- RadioControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", 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 });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioControlDirective, decorators: [{
64
+ RadioControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
65
+ RadioControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 });
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioControlDirective, decorators: [{
67
67
  type: Directive,
68
68
  args: [{
69
69
  standalone: true,
@@ -83,10 +83,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
83
83
  const modules = [RadioGroupControlDirective, RadioControlDirective];
84
84
  class RadioGroupControlModule {
85
85
  }
86
- RadioGroupControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioGroupControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
87
- RadioGroupControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RadioGroupControlModule, imports: [RadioGroupControlDirective, RadioControlDirective], exports: [CoreModule, RadioGroupControlDirective, RadioControlDirective] });
88
- RadioGroupControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioGroupControlModule, imports: [CoreModule] });
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioGroupControlModule, decorators: [{
86
+ RadioGroupControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioGroupControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
87
+ RadioGroupControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: RadioGroupControlModule, imports: [RadioGroupControlDirective, RadioControlDirective], exports: [CoreModule, RadioGroupControlDirective, RadioControlDirective] });
88
+ RadioGroupControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioGroupControlModule, imports: [CoreModule] });
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RadioGroupControlModule, decorators: [{
90
90
  type: NgModule,
91
91
  args: [{
92
92
  imports: modules,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-radio-group-control.mjs","sources":["../../../../libs/angular/cdk/radio-group-control/src/lib/radio-group-control.directive.ts","../../../../libs/angular/cdk/radio-group-control/src/lib/radio-control.directive.ts","../../../../libs/angular/cdk/radio-group-control/src/lib/radio-group-control.module.ts","../../../../libs/angular/cdk/radio-group-control/src/odx-angular-cdk-radio-group-control.ts"],"sourcesContent":["import { Directive, forwardRef, HostListener, InjectionToken } from '@angular/core';\nimport { DisabledController, ReadonlyController } from '@odx/angular';\nimport { CustomFormControl } from '@odx/angular/cdk/custom-form-control';\nimport { injectElement } from '@odx/angular/utils';\n\nexport const RADIO_GROUP_CONTROL = new InjectionToken<RadioGroupControlDirective>('@odx/angular/cdk/radio-group-control::RadioGroupControl');\n\n@Directive({\n standalone: true,\n selector: '[odxRadioGroupControl]',\n providers: [\n {\n provide: RADIO_GROUP_CONTROL,\n useExisting: forwardRef(() => RadioGroupControlDirective),\n multi: false,\n },\n DisabledController.connect(),\n ReadonlyController.connect(),\n ],\n})\nexport class RadioGroupControlDirective<T = unknown> extends CustomFormControl<T | null> {\n private readonly hostElement = injectElement();\n\n constructor() {\n super(null);\n }\n\n @HostListener('focusout', ['$event'])\n public onFocusOut(event: FocusEvent): void {\n if (event.target !== this.hostElement.nativeElement) {\n this.onTouched();\n }\n }\n}\n","import { Directive, inject, Input } from '@angular/core';\nimport { detectControllerChanges, DisabledController, ReadonlyController } from '@odx/angular';\nimport { booleanToAttributeString } from '@odx/angular/utils';\nimport { RADIO_GROUP_CONTROL } from './radio-group-control.directive';\n\n@Directive({\n standalone: true,\n selector: '[odxRadioControl]',\n host: {\n '[class.is-active]': 'isActive',\n '[class.is-disabled]': 'disabledController?.disabled',\n '[class.is-readonly]': 'readonlyController?.readonly',\n '[class.has-error]': 'radioGroupControl.hasError',\n },\n providers: [DisabledController.connect(), ReadonlyController.connect()],\n})\nexport class RadioControlDirective<T = unknown> {\n protected readonly disabledController = DisabledController.inject();\n protected readonly readonlyController = ReadonlyController.inject();\n protected readonly radioGroupControl = inject(RADIO_GROUP_CONTROL, { skipSelf: true });\n\n @Input()\n public value: T | null = null;\n\n public get ariaChecked(): string {\n return booleanToAttributeString(this.isActive);\n }\n\n public get isActive(): boolean {\n return this.radioGroupControl.value === this.value;\n }\n\n constructor() {\n detectControllerChanges(this.radioGroupControl).subscribe();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { RadioControlDirective } from './radio-control.directive';\nimport { RadioGroupControlDirective } from './radio-group-control.directive';\n\nconst modules = [RadioGroupControlDirective, RadioControlDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class RadioGroupControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAKa,mBAAmB,GAAG,IAAI,cAAc,CAA6B,yDAAyD,EAAE;AAevI,MAAO,0BAAwC,SAAQ,iBAA2B,CAAA;AAGtF,IAAA,WAAA,GAAA;QACE,KAAK,CAAC,IAAI,CAAC,CAAC;QAHG,IAAW,CAAA,WAAA,GAAG,aAAa,EAAE,CAAC;KAI9C;AAGM,IAAA,UAAU,CAAC,KAAiB,EAAA;QACjC,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE;YACnD,IAAI,CAAC,SAAS,EAAE,CAAC;AAClB,SAAA;KACF;;uHAZU,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,EAV1B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,SAAA,EAAA;AACT,QAAA;AACE,YAAA,OAAO,EAAE,mBAAmB;AAC5B,YAAA,WAAW,EAAE,UAAU,CAAC,MAAM,0BAA0B,CAAC;AACzD,Y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AAA,EAAA,CAAA,CAAA;qHAAvB,uBAAuB,EAAA,OAAA,EAAA,CANnB,0BAA0B,EAAE,qBAAqB,aAItD,UAAU,EAJL,0BAA0B,EAAE,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAMrD,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAFxB,UAAU,CAAA,EAAA,CAAA,CAAA;2FAET,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-radio-group-control.mjs","sources":["../../../../libs/angular/cdk/radio-group-control/src/lib/radio-group-control.directive.ts","../../../../libs/angular/cdk/radio-group-control/src/lib/radio-control.directive.ts","../../../../libs/angular/cdk/radio-group-control/src/lib/radio-group-control.module.ts","../../../../libs/angular/cdk/radio-group-control/src/odx-angular-cdk-radio-group-control.ts"],"sourcesContent":["import { Directive, forwardRef, HostListener, InjectionToken } from '@angular/core';\nimport { DisabledController, ReadonlyController } from '@odx/angular';\nimport { CustomFormControl } from '@odx/angular/cdk/custom-form-control';\nimport { injectElement } from '@odx/angular/utils';\n\nexport const RADIO_GROUP_CONTROL = new InjectionToken<RadioGroupControlDirective>('@odx/angular/cdk/radio-group-control::RadioGroupControl');\n\n@Directive({\n standalone: true,\n selector: '[odxRadioGroupControl]',\n providers: [\n {\n provide: RADIO_GROUP_CONTROL,\n useExisting: forwardRef(() => RadioGroupControlDirective),\n multi: false,\n },\n DisabledController.connect(),\n ReadonlyController.connect(),\n ],\n})\nexport class RadioGroupControlDirective<T = unknown> extends CustomFormControl<T | null> {\n private readonly hostElement = injectElement();\n\n constructor() {\n super(null);\n }\n\n @HostListener('focusout', ['$event'])\n public onFocusOut(event: FocusEvent): void {\n if (event.target !== this.hostElement.nativeElement) {\n this.onTouched();\n }\n }\n}\n","import { Directive, inject, Input } from '@angular/core';\nimport { detectControllerChanges, DisabledController, ReadonlyController } from '@odx/angular';\nimport { booleanToAttributeString } from '@odx/angular/utils';\nimport { RADIO_GROUP_CONTROL } from './radio-group-control.directive';\n\n@Directive({\n standalone: true,\n selector: '[odxRadioControl]',\n host: {\n '[class.is-active]': 'isActive',\n '[class.is-disabled]': 'disabledController?.disabled',\n '[class.is-readonly]': 'readonlyController?.readonly',\n '[class.has-error]': 'radioGroupControl.hasError',\n },\n providers: [DisabledController.connect(), ReadonlyController.connect()],\n})\nexport class RadioControlDirective<T = unknown> {\n protected readonly disabledController = DisabledController.inject();\n protected readonly readonlyController = ReadonlyController.inject();\n protected readonly radioGroupControl = inject(RADIO_GROUP_CONTROL, { skipSelf: true });\n\n @Input()\n public value: T | null = null;\n\n public get ariaChecked(): string {\n return booleanToAttributeString(this.isActive);\n }\n\n public get isActive(): boolean {\n return this.radioGroupControl.value === this.value;\n }\n\n constructor() {\n detectControllerChanges(this.radioGroupControl).subscribe();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { RadioControlDirective } from './radio-control.directive';\nimport { RadioGroupControlDirective } from './radio-group-control.directive';\n\nconst modules = [RadioGroupControlDirective, RadioControlDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class RadioGroupControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAKa,mBAAmB,GAAG,IAAI,cAAc,CAA6B,yDAAyD,EAAE;AAevI,MAAO,0BAAwC,SAAQ,iBAA2B,CAAA;AAGtF,IAAA,WAAA,GAAA;QACE,KAAK,CAAC,IAAI,CAAC,CAAC;QAHG,I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,CAAA;;;ACVD;;AAEG;;;;"}
@@ -107,9 +107,9 @@ class ChartsThemeService {
107
107
  });
108
108
  }
109
109
  }
110
- ChartsThemeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartsThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
111
- ChartsThemeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartsThemeService, providedIn: 'root' });
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartsThemeService, decorators: [{
110
+ ChartsThemeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartsThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
111
+ ChartsThemeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartsThemeService, providedIn: 'root' });
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartsThemeService, decorators: [{
113
113
  type: Injectable,
114
114
  args: [{ providedIn: 'root' }]
115
115
  }] });
@@ -125,9 +125,9 @@ class ChartThemeDirective extends BaseChartDirective {
125
125
  .subscribe(() => this.chartsThemeService.setTheme(this.chart?.config));
126
126
  }
127
127
  }
128
- ChartThemeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartThemeDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
129
- ChartThemeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ChartThemeDirective, isStandalone: true, selector: "canvas[odxChart]", usesInheritance: true, ngImport: i0 });
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartThemeDirective, decorators: [{
128
+ ChartThemeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartThemeDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
129
+ ChartThemeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ChartThemeDirective, isStandalone: true, selector: "canvas[odxChart]", usesInheritance: true, ngImport: i0 });
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartThemeDirective, decorators: [{
131
131
  type: Directive,
132
132
  args: [{
133
133
  selector: 'canvas[odxChart]',
@@ -137,9 +137,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
137
137
 
138
138
  class ChartThemeModule {
139
139
  }
140
- ChartThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
141
- ChartThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ChartThemeModule, imports: [NgChartsModule, ChartThemeDirective], exports: [NgChartsModule, ChartThemeDirective] });
142
- ChartThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartThemeModule, providers: [
140
+ ChartThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
141
+ ChartThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ChartThemeModule, imports: [NgChartsModule, ChartThemeDirective], exports: [NgChartsModule, ChartThemeDirective] });
142
+ ChartThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartThemeModule, providers: [
143
143
  {
144
144
  provide: NgChartsConfiguration,
145
145
  useFactory: (service) => ({ defaults: service.getOverrides, generateColors: false }),
@@ -147,7 +147,7 @@ ChartThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
147
147
  },
148
148
  BaseChartDirective,
149
149
  ], imports: [NgChartsModule, NgChartsModule] });
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartThemeModule, decorators: [{
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartThemeModule, decorators: [{
151
151
  type: NgModule,
152
152
  args: [{
153
153
  imports: [NgChartsModule, ChartThemeDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-charts-config.mjs","sources":["../../../../libs/angular/charts-config/src/lib/charts-theme.service.ts","../../../../libs/angular/charts-config/src/lib/charts-theme.directive.ts","../../../../libs/angular/charts-config/src/lib/charts-theme.module.ts","../../../../libs/angular/charts-config/src/odx-angular-charts-config.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { DOCUMENT } from '@angular/common';\nimport { inject, Injectable } from '@angular/core';\nimport { WindowRef } from '@odx/angular';\nimport { Theme, ThemingService } from '@odx/angular/theming';\nimport { createMutationObserver } from '@odx/angular/utils';\nimport { ChartConfiguration, ChartType, Color } from 'chart.js';\nimport { ThemeService } from 'ng2-charts';\nimport { distinctUntilChanged, Observable } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class ChartsThemeService {\n private readonly coreChartThemeService = inject(ThemeService);\n private readonly document = inject(DOCUMENT);\n private readonly windowRef = inject(WindowRef);\n private readonly themingService = inject(ThemingService);\n\n public getOverrides = {\n borderColor: this.windowRef.getCSSVariable('gray-200'),\n backgroundColor: 'rgba(0,0,0,0)',\n color: this.windowRef.getCSSVariable('blue-700'),\n font: {\n family: 'Pangea',\n size: 13.333,\n },\n plugins: {\n colors: { enabled: false },\n tooltip: {\n backgroundColor: this.windowRef.getCSSVariable('blue-800'),\n cornerRadius: 3,\n },\n },\n datasets: {\n line: {\n backgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}66`,\n borderColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n pointBackgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n pointBorderColor: '#fff',\n },\n bar: {\n backgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}99`,\n borderColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n },\n doughnut: {\n backgroundColor: (context: any) => `${this.seriesColors[context.dataIndex]}`,\n borderColor: this.windowRef.getCSSVariable('gray-200'),\n },\n polarArea: {\n backgroundColor: (context: any) => `${this.seriesColors[context.dataIndex]}99`,\n borderColor: (context: any) => `${this.seriesColors[context.dataIndex]}`,\n },\n get pie(): Record<string, ((context: any) => Color) | Color> {\n return this.doughnut;\n },\n get bubble(): Record<string, ((context: any) => Color) | Color> {\n return this.doughnut;\n },\n get scatter(): Record<string, ((context: any) => Color) | Color> {\n return this.doughnut;\n },\n get area(): Record<string, ((context: any) => Color) | Color> {\n return this.polarArea;\n },\n get radar(): Record<string, ((context: any) => Color) | Color> {\n return this.line;\n },\n },\n };\n\n public seriesColors = Object.values(this.windowRef.getCSSColorStyles('charts-series'));\n public observeThemeChanging$: Observable<MutationRecord | Theme> = this.document.body.className.includes('sb-')\n ? this.buildBodyObserver().pipe(distinctUntilChanged())\n : this.themingService.theme$;\n\n public setTheme(chartConf: ChartConfiguration) {\n const type: ChartType = (chartConf && chartConf['type']) || 'bar';\n this.coreChartThemeService.setColorschemesOptions(this.themeColorsOverrides(type));\n }\n\n private themeColorsOverrides(type?: ChartType): ChartConfiguration['options'] {\n const scales =\n type === 'pie' || type === 'doughnut'\n ? undefined\n : {\n x: {\n ticks: { color: this.windowRef.getCSSVariable('blue-700') },\n grid: { color: this.windowRef.getCSSVariable('gray-200') },\n },\n y: {\n ticks: { color: this.windowRef.getCSSVariable('blue-700') },\n grid: { color: this.windowRef.getCSSVariable('gray-200') },\n },\n };\n return {\n color: this.windowRef.getCSSVariable('blue-700'),\n scales,\n plugins: {\n colors: {\n forceOverride: true,\n },\n legend: {},\n },\n };\n }\n\n private buildBodyObserver(): Observable<MutationRecord> {\n return new Observable((observer) => {\n const mutation: MutationObserver = createMutationObserver(observer, (mutations) => mutations.some(({ type }) => type === 'attributes'));\n mutation.observe(this.document.body, { attributes: true });\n return () => mutation.disconnect();\n });\n }\n}\n","import { Directive, ElementRef, inject, NgZone } from '@angular/core';\nimport { untilDestroyed } from '@odx/angular/utils';\nimport { BaseChartDirective, ThemeService } from 'ng2-charts';\nimport { ChartsThemeService } from './charts-theme.service';\n\n@Directive({\n selector: 'canvas[odxChart]',\n standalone: true,\n})\nexport class ChartThemeDirective extends BaseChartDirective {\n private readonly chartsThemeService = inject(ChartsThemeService);\n private readonly takeUntilDestroyed = untilDestroyed();\n\n constructor(element: ElementRef, ngzone: NgZone, themeService: ThemeService) {\n super(element, ngzone, themeService);\n this.chartsThemeService.observeThemeChanging$\n .pipe(this.takeUntilDestroyed())\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .subscribe(() => this.chartsThemeService.setTheme(this.chart?.config as any));\n }\n}\n","import { NgModule } from '@angular/core';\nimport { BaseChartDirective, NgChartsConfiguration, NgChartsModule } from 'ng2-charts';\nimport { ChartThemeDirective } from './charts-theme.directive';\nimport { ChartsThemeService } from './charts-theme.service';\n\n@NgModule({\n imports: [NgChartsModule, ChartThemeDirective],\n providers: [\n {\n provide: NgChartsConfiguration,\n useFactory: (service: ChartsThemeService) => ({ defaults: service.getOverrides, generateColors: false }),\n deps: [ChartsThemeService],\n },\n BaseChartDirective,\n ],\n exports: [NgChartsModule, ChartThemeDirective],\n})\nex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AA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAXjB,cAAc,EAAE,mBAAmB,CASnC,EAAA,OAAA,EAAA,CAAA,cAAc,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAElC,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAVhB,SAAA,EAAA;AACT,QAAA;AACE,YAAA,OAAO,EAAE,qBAAqB;AAC9B,YAAA,UAAU,EAAE,CAAC,OAA2B,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC;YACxG,IAAI,EAAE,CAAC,kBAAkB,CAAC;AAC3B,SAAA;QACD,kBAAkB;KACnB,EARS,OAAA,EAAA,CAAA,cAAc,EASd,cAAc,CAAA,EAAA,CAAA,CAAA;2FAEb,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAZ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,mBAAmB,CAAC;AAC9C,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,qBAAqB;AAC9B,4BAAA,UAAU,EAAE,CAAC,OAA2B,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC;4BACxG,IAAI,EAAE,CAAC,kBAAkB,CAAC;AAC3B,yBAAA;wBACD,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,mBAAmB,CAAC;AAC/C,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-charts-config.mjs","sources":["../../../../libs/angular/charts-config/src/lib/charts-theme.service.ts","../../../../libs/angular/charts-config/src/lib/charts-theme.directive.ts","../../../../libs/angular/charts-config/src/lib/charts-theme.module.ts","../../../../libs/angular/charts-config/src/odx-angular-charts-config.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { DOCUMENT } from '@angular/common';\nimport { inject, Injectable } from '@angular/core';\nimport { WindowRef } from '@odx/angular';\nimport { Theme, ThemingService } from '@odx/angular/theming';\nimport { createMutationObserver } from '@odx/angular/utils';\nimport { ChartConfiguration, ChartType, Color } from 'chart.js';\nimport { ThemeService } from 'ng2-charts';\nimport { distinctUntilChanged, Observable } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class ChartsThemeService {\n private readonly coreChartThemeService = inject(ThemeService);\n private readonly document = inject(DOCUMENT);\n private readonly windowRef = inject(WindowRef);\n private readonly themingService = inject(ThemingService);\n\n public getOverrides = {\n borderColor: this.windowRef.getCSSVariable('gray-200'),\n backgroundColor: 'rgba(0,0,0,0)',\n color: this.windowRef.getCSSVariable('blue-700'),\n font: {\n family: 'Pangea',\n size: 13.333,\n },\n plugins: {\n colors: { enabled: false },\n tooltip: {\n backgroundColor: this.windowRef.getCSSVariable('blue-800'),\n cornerRadius: 3,\n },\n },\n datasets: {\n line: {\n backgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}66`,\n borderColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n pointBackgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n pointBorderColor: '#fff',\n },\n bar: {\n backgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}99`,\n borderColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n },\n doughnut: {\n backgroundColor: (context: any) => `${this.seriesColors[context.dataIndex]}`,\n borderColor: this.windowRef.getCSSVariable('gray-200'),\n },\n polarArea: {\n backgroundColor: (context: any) => `${this.seriesColors[context.dataIndex]}99`,\n borderColor: (context: any) => `${this.seriesColors[context.dataIndex]}`,\n },\n get pie(): Record<string, ((context: any) => Color) | Color> {\n return this.doughnut;\n },\n get bubble(): Record<string, ((context: any) => Color) | Color> {\n return this.doughnut;\n },\n get scatter(): Record<string, ((context: any) => Color) | Color> {\n return this.doughnut;\n },\n get area(): Record<string, ((context: any) => Color) | Color> {\n return this.polarArea;\n },\n get radar(): Record<string, ((context: any) => Color) | Color> {\n return this.line;\n },\n },\n };\n\n public seriesColors = Object.values(this.windowRef.getCSSColorStyles('charts-series'));\n public observeThemeChanging$: Observable<MutationRecord | Theme> = this.document.body.className.includes('sb-')\n ? this.buildBodyObserver().pipe(distinctUntilChanged())\n : this.themingService.theme$;\n\n public setTheme(chartConf: ChartConfiguration) {\n const type: ChartType = (chartConf && chartConf['type']) || 'bar';\n this.coreChartThemeService.setColorschemesOptions(this.themeColorsOverrides(type));\n }\n\n private themeColorsOverrides(type?: ChartType): ChartConfiguration['options'] {\n const scales =\n type === 'pie' || type === 'doughnut'\n ? undefined\n : {\n x: {\n ticks: { color: this.windowRef.getCSSVariable('blue-700') },\n grid: { color: this.windowRef.getCSSVariable('gray-200') },\n },\n y: {\n ticks: { color: this.windowRef.getCSSVariable('blue-700') },\n grid: { color: this.windowRef.getCSSVariable('gray-200') },\n },\n };\n return {\n color: this.windowRef.getCSSVariable('blue-700'),\n scales,\n plugins: {\n colors: {\n forceOverride: true,\n },\n legend: {},\n },\n };\n }\n\n private buildBodyObserver(): Observable<MutationRecord> {\n return new Observable((observer) => {\n const mutation: MutationObserver = createMutationObserver(observer, (mutations) => mutations.some(({ type }) => type === 'attributes'));\n mutation.observe(this.document.body, { attributes: true });\n return () => mutation.disconnect();\n });\n }\n}\n","import { Directive, ElementRef, inject, NgZone } from '@angular/core';\nimport { untilDestroyed } from '@odx/angular/utils';\nimport { BaseChartDirective, ThemeService } from 'ng2-charts';\nimport { ChartsThemeService } from './charts-theme.service';\n\n@Directive({\n selector: 'canvas[odxChart]',\n standalone: true,\n})\nexport class ChartThemeDirective extends BaseChartDirective {\n private readonly chartsThemeService = inject(ChartsThemeService);\n private readonly takeUntilDestroyed = untilDestroyed();\n\n constructor(element: ElementRef, ngzone: NgZone, themeService: ThemeService) {\n super(element, ngzone, themeService);\n this.chartsThemeService.observeThemeChanging$\n .pipe(this.takeUntilDestroyed())\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .subscribe(() => this.chartsThemeService.setTheme(this.chart?.config as any));\n }\n}\n","import { NgModule } from '@angular/core';\nimport { BaseChartDirective, NgChartsConfiguration, NgChartsModule } from 'ng2-charts';\nimport { ChartThemeDirective } from './charts-theme.directive';\nimport { ChartsThemeService } from './charts-theme.service';\n\n@NgModule({\n imports: [NgChartsModule, ChartThemeDirective],\n providers: [\n {\n provide: NgChartsConfiguration,\n useFactory: (service: ChartsThemeService) => ({ defaults: service.getOverrides, generateColors: false }),\n deps: [ChartsThemeService],\n },\n BaseChartDirective,\n ],\n exports: [NgChartsModule, ChartThemeDirective],\n})\nexport class ChartThemeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;MAWa,kBAAkB,CAAA;AAD/B,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,qBAAqB,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AAC7C,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC5B,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAElD,QAAA,IAAA,CAAA,YAAY,GAAG;YACpB,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,UAAU,CAAC;AACtD,YAAA,eAAe,EAAE,eAAe;YAChC,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,UAAU,CAAC;AAChD,YAAA,IAAI,EAAE;AACJ,gBAAA,MAAM,EAAE,QAAQ;AAChB,gBAAA,IAA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AA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,mBAAmB,CAAC;AAC9C,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,qBAAqB;AAC9B,4BAAA,UAAU,EAAE,CAAC,OAA2B,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC;4BACxG,IAAI,EAAE,CAAC,kBAAkB,CAAC;AAC3B,yBAAA;wBACD,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,mBAAmB,CAAC;AAC/C,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
@@ -19,12 +19,12 @@ let AccordionComponent = AccordionComponent_1 = class AccordionComponent extends
19
19
  this.element = injectElement();
20
20
  }
21
21
  };
22
- AccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccordionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
23
- AccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AccordionComponent, isStandalone: true, selector: "odx-accordion", providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: forwardRef(() => AccordionComponent_1) }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"odx-accordion-item\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
22
+ AccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AccordionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
23
+ AccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AccordionComponent, isStandalone: true, selector: "odx-accordion", providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: forwardRef(() => AccordionComponent_1) }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"odx-accordion-item\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
24
24
  AccordionComponent = AccordionComponent_1 = __decorate([
25
25
  CSSComponent('accordion')
26
26
  ], AccordionComponent);
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccordionComponent, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AccordionComponent, decorators: [{
28
28
  type: Component,
29
29
  args: [{ selector: 'odx-accordion', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: forwardRef(() => AccordionComponent) }], template: "<ng-content select=\"odx-accordion-item\"></ng-content>\n" }]
30
30
  }] });
@@ -53,12 +53,12 @@ let AccordionItemComponent = class AccordionItemComponent extends ExpandableItem
53
53
  this.expandedChange.emit(this.expanded);
54
54
  }
55
55
  };
56
- AccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccordionItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
57
- AccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AccordionItemComponent, isStandalone: true, selector: "odx-accordion-item", inputs: { title: "title" }, outputs: { expandedChange: "expandedChange" }, host: { properties: { "class.is-disabled": "isDisabled", "class.odx-accordion-item--expanded": "isExpanded", "attr.id": "id", "attr.title": "null" } }, providers: [DisabledController.connect()], usesInheritance: true, ngImport: i0, template: "<div\n role=\"button\"\n class=\"odx-accordion-item__panel\"\n [attr.id]=\"titleId\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"slotId\"\n (odxCdkInteractive)=\"toggle()\"\n>\n <div *ngIf=\"title; else titleTpl\">\n {{ title }}\n </div>\n <ng-template #titleTpl>\n <ng-content select=\"odx-accordion-item-title\"></ng-content>\n </ng-template>\n <odx-icon class=\"odx-accordion-item__icon\" name=\"chevron-down\" iconSet=\"core\"></odx-icon>\n</div>\n<div\n class=\"odx-accordion-item__slot\"\n [attr.id]=\"slotId\"\n [attr.aria-labelledby]=\"titleId\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n *ngIf=\"isExpanded\"\n>\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.InteractiveDirective, selector: "[odxCdkInteractive]", outputs: ["odxCdkInteractive"] }, { kind: "ngmodule", type: CoreModule }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name", "iconSet"] }], animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
56
+ AccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AccordionItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
57
+ AccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AccordionItemComponent, isStandalone: true, selector: "odx-accordion-item", inputs: { title: "title" }, outputs: { expandedChange: "expandedChange" }, host: { properties: { "class.is-disabled": "isDisabled", "class.odx-accordion-item--expanded": "isExpanded", "attr.id": "id", "attr.title": "null" } }, providers: [DisabledController.connect()], usesInheritance: true, ngImport: i0, template: "<div\n role=\"button\"\n class=\"odx-accordion-item__panel\"\n [attr.id]=\"titleId\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"slotId\"\n (odxCdkInteractive)=\"toggle()\"\n>\n <div *ngIf=\"title; else titleTpl\">\n {{ title }}\n </div>\n <ng-template #titleTpl>\n <ng-content select=\"odx-accordion-item-title\"></ng-content>\n </ng-template>\n <odx-icon class=\"odx-accordion-item__icon\" name=\"chevron-down\" iconSet=\"core\"></odx-icon>\n</div>\n<div\n class=\"odx-accordion-item__slot\"\n [attr.id]=\"slotId\"\n [attr.aria-labelledby]=\"titleId\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n *ngIf=\"isExpanded\"\n>\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.InteractiveDirective, selector: "[odxCdkInteractive]", outputs: ["odxCdkInteractive"] }, { kind: "ngmodule", type: CoreModule }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name", "iconSet"] }], animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
58
58
  AccordionItemComponent = __decorate([
59
59
  CSSComponent('accordion-item')
60
60
  ], AccordionItemComponent);
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccordionItemComponent, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AccordionItemComponent, decorators: [{
62
62
  type: Component,
63
63
  args: [{ selector: 'odx-accordion-item', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [A11yModule, CoreModule, IconComponent], providers: [DisabledController.connect()], host: {
64
64
  '[class.is-disabled]': 'isDisabled',
@@ -74,9 +74,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
74
74
 
75
75
  class AccordionItemTitleDirective {
76
76
  }
77
- AccordionItemTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccordionItemTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
- AccordionItemTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: AccordionItemTitleDirective, isStandalone: true, selector: "odx-accordion-item-title", ngImport: i0 });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccordionItemTitleDirective, decorators: [{
77
+ AccordionItemTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AccordionItemTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
+ AccordionItemTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AccordionItemTitleDirective, isStandalone: true, selector: "odx-accordion-item-title", ngImport: i0 });
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AccordionItemTitleDirective, decorators: [{
80
80
  type: Directive,
81
81
  args: [{
82
82
  standalone: true,
@@ -87,10 +87,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
87
87
  const modules = [AccordionComponent, AccordionItemComponent, AccordionItemTitleDirective];
88
88
  class AccordionModule {
89
89
  }
90
- AccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
91
- AccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AccordionModule, imports: [AccordionComponent, AccordionItemComponent, AccordionItemTitleDirective], exports: [CoreModule, AccordionComponent, AccordionItemComponent, AccordionItemTitleDirective] });
92
- AccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccordionModule, imports: [AccordionComponent, AccordionItemComponent, CoreModule] });
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccordionModule, decorators: [{
90
+ AccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
91
+ AccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AccordionModule, imports: [AccordionComponent, AccordionItemComponent, AccordionItemTitleDirective], exports: [CoreModule, AccordionComponent, AccordionItemComponent, AccordionItemTitleDirective] });
92
+ AccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AccordionModule, imports: [AccordionComponent, AccordionItemComponent, CoreModule] });
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AccordionModule, decorators: [{
94
94
  type: NgModule,
95
95
  args: [{
96
96
  imports: modules,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-accordion.mjs","sources":["../../../../libs/angular/components/accordion/src/lib/accordion.component.ts","../../../../libs/angular/components/accordion/src/lib/accordion.component.html","../../../../libs/angular/components/accordion/src/lib/components/accordion-item/accordion-item.component.ts","../../../../libs/angular/components/accordion/src/lib/components/accordion-item/accordion-item.component.html","../../../../libs/angular/components/accordion/src/lib/directives/accordion-item-title.ts","../../../../libs/angular/components/accordion/src/lib/accordion.module.ts","../../../../libs/angular/components/accordion/src/odx-angular-components-accordion.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, ViewEncapsulation } from '@angular/core';\nimport { ExpandableContainerDirective, ODX_EXPANDABLE_CONTAINER } from '@odx/angular/cdk/expandable';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('accordion')\n@Component({\n selector: 'odx-accordion',\n templateUrl: './accordion.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: forwardRef(() => AccordionComponent) }],\n})\nexport class AccordionComponent extends ExpandableContainerDirective {\n public readonly element = injectElement();\n}\n","<ng-content select=\"odx-accordion-item\"></ng-content>\n","import { transition, trigger, useAnimation } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, DisabledController } from '@odx/angular';\nimport { collapse, expand } from '@odx/angular/animations';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { ExpandableItemDirective } from '@odx/angular/cdk/expandable';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { getUniqueId, injectElement } from '@odx/angular/utils';\n\n@CSSComponent('accordion-item')\n@Component({\n selector: 'odx-accordion-item',\n templateUrl: './accordion-item.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [A11yModule, CoreModule, IconComponent],\n providers: [DisabledController.connect()],\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[class.odx-accordion-item--expanded]': 'isExpanded',\n '[attr.id]': 'id',\n '[attr.title]': 'null',\n },\n animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])],\n})\nexport class AccordionItemComponent extends ExpandableItemDirective {\n private readonly disabledController = DisabledController.inject();\n public readonly element = injectElement();\n public override readonly id = getUniqueId('odx-accordion-item');\n\n @Input()\n public title?: string | null;\n\n @Output()\n public expandedChange: EventEmitter<boolean> = new EventEmitter();\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n\n public get isExpanded(): boolean {\n return !this.isDisabled && this.expanded;\n }\n\n public get titleId(): string {\n return `${this.id}-title`;\n }\n\n public get slotId(): string {\n return `${this.id}-slot`;\n }\n\n public onAnimationEnd(): void {\n this.expandedChange.emit(this.expanded);\n }\n}\n","<div\n role=\"button\"\n class=\"odx-accordion-item__panel\"\n [attr.id]=\"titleId\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"slotId\"\n (odxCdkInteractive)=\"toggle()\"\n>\n <div *ngIf=\"title; else titleTpl\">\n {{ title }}\n </div>\n <ng-template #titleTpl>\n <ng-content select=\"odx-accordion-item-title\"></ng-content>\n </ng-template>\n <odx-icon class=\"odx-accordion-item__icon\" name=\"chevron-down\" iconSet=\"core\"></odx-icon>\n</div>\n<div\n class=\"odx-accordion-item__slot\"\n [attr.id]=\"slotId\"\n [attr.aria-labelledby]=\"titleId\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n *ngIf=\"isExpanded\"\n>\n <ng-content></ng-content>\n</div>\n","import { Directive } from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'odx-accordion-item-title',\n})\nexport class AccordionItemTitleDirective {}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { AccordionComponent } from './accordion.component';\nimport { AccordionItemComponent } from './components';\nimport { AccordionItemTitleDirective } from './directives';\n\nconst modules = [AccordionComponent, AccordionItemComponent, AccordionItemTitleDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class AccordionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAcO,IAAM,kBAAkB,GAAA,oBAAA,GAAxB,MAAM,kBAAmB,SAAQ,4BAA4B,CAAA;AAA7D,IAAA,WAAA,GAAA;;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAA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B,EAAE,sBAAsB,EAAE,2BAA2B,CAAA,EAAA,CAAA,CAAA;AAM3E,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EANX,OAAA,EAAA,CAAA,kBAAkB,EAAE,sBAAsB,EAI/C,UAAU,CAAA,EAAA,CAAA,CAAA;2FAET,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-accordion.mjs","sources":["../../../../libs/angular/components/accordion/src/lib/accordion.component.ts","../../../../libs/angular/components/accordion/src/lib/accordion.component.html","../../../../libs/angular/components/accordion/src/lib/components/accordion-item/accordion-item.component.ts","../../../../libs/angular/components/accordion/src/lib/components/accordion-item/accordion-item.component.html","../../../../libs/angular/components/accordion/src/lib/directives/accordion-item-title.ts","../../../../libs/angular/components/accordion/src/lib/accordion.module.ts","../../../../libs/angular/components/accordion/src/odx-angular-components-accordion.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, forwardRef, ViewEncapsulation } from '@angular/core';\nimport { ExpandableContainerDirective, ODX_EXPANDABLE_CONTAINER } from '@odx/angular/cdk/expandable';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('accordion')\n@Component({\n selector: 'odx-accordion',\n templateUrl: './accordion.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: forwardRef(() => AccordionComponent) }],\n})\nexport class AccordionComponent extends ExpandableContainerDirective {\n public readonly element = injectElement();\n}\n","<ng-content select=\"odx-accordion-item\"></ng-content>\n","import { transition, trigger, useAnimation } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, DisabledController } from '@odx/angular';\nimport { collapse, expand } from '@odx/angular/animations';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { ExpandableItemDirective } from '@odx/angular/cdk/expandable';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { getUniqueId, injectElement } from '@odx/angular/utils';\n\n@CSSComponent('accordion-item')\n@Component({\n selector: 'odx-accordion-item',\n templateUrl: './accordion-item.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [A11yModule, CoreModule, IconComponent],\n providers: [DisabledController.connect()],\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[class.odx-accordion-item--expanded]': 'isExpanded',\n '[attr.id]': 'id',\n '[attr.title]': 'null',\n },\n animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])],\n})\nexport class AccordionItemComponent extends ExpandableItemDirective {\n private readonly disabledController = DisabledController.inject();\n public readonly element = injectElement();\n public override readonly id = getUniqueId('odx-accordion-item');\n\n @Input()\n public title?: string | null;\n\n @Output()\n public expandedChange: EventEmitter<boolean> = new EventEmitter();\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n\n public get isExpanded(): boolean {\n return !this.isDisabled && this.expanded;\n }\n\n public get titleId(): string {\n return `${this.id}-title`;\n }\n\n public get slotId(): string {\n return `${this.id}-slot`;\n }\n\n public onAnimationEnd(): void {\n this.expandedChange.emit(this.expanded);\n }\n}\n","<div\n role=\"button\"\n class=\"odx-accordion-item__panel\"\n [attr.id]=\"titleId\"\n [attr.aria-expanded]=\"isExpanded\"\n [attr.aria-controls]=\"slotId\"\n (odxCdkInteractive)=\"toggle()\"\n>\n <div *ngIf=\"title; else titleTpl\">\n {{ title }}\n </div>\n <ng-template #titleTpl>\n <ng-content select=\"odx-accordion-item-title\"></ng-content>\n </ng-template>\n <odx-icon class=\"odx-accordion-item__icon\" name=\"chevron-down\" iconSet=\"core\"></odx-icon>\n</div>\n<div\n class=\"odx-accordion-item__slot\"\n [attr.id]=\"slotId\"\n [attr.aria-labelledby]=\"titleId\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n *ngIf=\"isExpanded\"\n>\n <ng-content></ng-content>\n</div>\n","import { Directive } from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'odx-accordion-item-title',\n})\nexport class AccordionItemTitleDirective {}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { AccordionComponent } from './accordion.component';\nimport { AccordionItemComponent } from './components';\nimport { AccordionItemTitleDirective } from './directives';\n\nconst modules = [AccordionComponent, AccordionItemComponent, AccordionItemTitleDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class AccordionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAcO,IAAM,kBAAkB,GAAA,oBAAA,GAAxB,MAAM,kBAAmB,SAAQ,4BAA4B,CAAA;AAA7D,IAAA,WAAA,GAAA;;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAC3C,KAAA;;gHAFY,kBAAkB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,4DAFlB,CAAC,EAAE,OAAO,EAAE,wBAAwB,EAAE,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,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
@@ -11,8 +11,8 @@ let ActionGroupComponent = class ActionGroupComponent {
11
11
  this.reverse = false;
12
12
  }
13
13
  };
14
- ActionGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ActionGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
15
- ActionGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ActionGroupComponent, isStandalone: true, selector: "odx-action-group", inputs: { reverse: "reverse" }, ngImport: i0, template: "<ng-content select=\"[odxButton], ng-template\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
14
+ ActionGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
15
+ ActionGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ActionGroupComponent, isStandalone: true, selector: "odx-action-group", inputs: { reverse: "reverse" }, ngImport: i0, template: "<ng-content select=\"[odxButton], ng-template\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
16
16
  __decorate([
17
17
  CSSModifier(),
18
18
  Transform(coerceBooleanProperty),
@@ -21,7 +21,7 @@ __decorate([
21
21
  ActionGroupComponent = __decorate([
22
22
  CSSComponent('action-group')
23
23
  ], ActionGroupComponent);
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ActionGroupComponent, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionGroupComponent, decorators: [{
25
25
  type: Component,
26
26
  args: [{ selector: 'odx-action-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<ng-content select=\"[odxButton], ng-template\"></ng-content>\n" }]
27
27
  }], propDecorators: { reverse: [{
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-action-group.mjs","sources":["../../../../libs/angular/components/action-group/src/action-group.component.ts","../../../../libs/angular/components/action-group/src/action-group.component.html","../../../../libs/angular/components/action-group/src/odx-angular-components-action-group.ts"],"sourcesContent":["import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\n\n@CSSComponent('action-group')\n@Component({\n selector: 'odx-action-group',\n templateUrl: './action-group.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class ActionGroupComponent {\n public static ngAcceptInputType_reverse: BooleanInput;\n\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public reverse = false;\n}\n","<ng-content select=\"[odxButton], ng-template\"></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAaa,IAAA,oBAAoB,GAA1B,MAAM,oBAAoB,CAAA;AAA1B,IAAA,WAAA,GAAA;QAGW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;QAKnC,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;AACxB,KAAA;;iHATY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,4GCbjC,iEACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;ADiBE,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;IACb,SAAS,CAAC,qBAAqB,CAAC;;AAEV,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,SAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AARZ,oBAAoB,GAAA,UAAA,CAAA;IARhC,YAAY,CAAC,cAAc,CAAC;AAQhB,CAAA,EAAA,oBAAoB,CAShC,CAAA;2FATY,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;+BACE,kBAAkB,EAAA,aAAA,EAEb,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EAAA,QAAA,EAAA,iEAAA,EAAA,CAAA;8BAUT,OAAO,EAAA,CAAA;sBADb,KAAK;;;AEpBR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-action-group.mjs","sources":["../../../../libs/angular/components/action-group/src/action-group.component.ts","../../../../libs/angular/components/action-group/src/action-group.component.html","../../../../libs/angular/components/action-group/src/odx-angular-components-action-group.ts"],"sourcesContent":["import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\n\n@CSSComponent('action-group')\n@Component({\n selector: 'odx-action-group',\n templateUrl: './action-group.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class ActionGroupComponent {\n public static ngAcceptInputType_reverse: BooleanInput;\n\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public reverse = false;\n}\n","<ng-content select=\"[odxButton], ng-template\"></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAaa,IAAA,oBAAoB,GAA1B,MAAM,oBAAoB,CAAA;AAA1B,IAAA,WAAA,GAAA;QAGW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;QAKnC,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;AACxB,KAAA;;kHATY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,oBAAoB,4GCbjC,iEACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;ADiBE,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;IACb,SAAS,CAAC,qBAAqB,CAAC;;AAEV,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,SAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AARZ,oBAAoB,GAAA,UAAA,CAAA;IARhC,YAAY,CAAC,cAAc,CAAC;AAQhB,CAAA,EAAA,oBAAoB,CAShC,CAAA;4FATY,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;+BACE,kBAAkB,EAAA,aAAA,EAEb,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EAAA,QAAA,EAAA,iEAAA,EAAA,CAAA;8BAUT,OAAO,EAAA,CAAA;sBADb,KAAK;;;AEpBR;;AAEG;;;;"}