@odx/angular 2.14.2 → 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 +101 -111
  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-components-dropdown.mjs","sources":["../../../../libs/angular/components/dropdown/src/lib/models/close-dropdown-event.ts","../../../../libs/angular/components/dropdown/src/lib/models/dropdown-options.ts","../../../../libs/angular/components/dropdown/src/lib/dropdown.directive.ts","../../../../libs/angular/components/dropdown/src/lib/dropdown.component.ts","../../../../libs/angular/components/dropdown/src/lib/dropdown.component.html","../../../../libs/angular/components/dropdown/src/lib/dropdown.module.ts","../../../../libs/angular/components/dropdown/src/lib/helpers/close-current-dropdown.ts","../../../../libs/angular/components/dropdown/src/odx-angular-components-dropdown.ts"],"sourcesContent":["export class CloseDropdownEvent extends Event {\n public static readonly TYPE = 'odxDropdownClose';\n\n constructor() {\n super(CloseDropdownEvent.TYPE, { bubbles: true });\n }\n}\n","import { ConnectedOverlayOptions } from '@odx/angular/cdk/connected-overlay';\n\nexport type DropdownOptions = Pick<\n ConnectedOverlayOptions,\n 'position' | 'containerClass' | 'enableFallback' | 'matchReferenceWidth' | 'minHeight' | 'offset' | 'showArrow' | 'outerPadding'\n>;\n\nexport const DefaultDropdownOptions: DropdownOptions = {\n position: 'bottom',\n matchReferenceWidth: false,\n enableFallback: true,\n minHeight: 0,\n offset: 6,\n outerPadding: 12,\n};\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { AfterViewInit, ChangeDetectorRef, Directive, EventEmitter, inject, Input, OnChanges, OnDestroy, Output, ViewContainerRef } from '@angular/core';\nimport { ConnectedOverlayOptions, ConnectedOverlayRef, ConnectedOverlayService } from '@odx/angular/cdk/connected-overlay';\nimport { DynamicContent } from '@odx/angular/cdk/dynamic-view';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { EventManager, getInjector, hasChanged, injectElement, NgChanges, Transform } from '@odx/angular/utils';\nimport { DropdownComponent } from './dropdown.component';\nimport { DefaultDropdownOptions, DropdownOptions } from './models';\n\nexport const DEFAULT_DROPDOWN_OPEN_TRIGGERS = ['click', 'keydown.enter'];\nexport const DEFAULT_DROPDOWN_CLOSE_TRIGGERS = ['keyup.esc'];\n\n@CSSComponent('dropdown-host')\n@Directive({\n standalone: true,\n selector: '[odxDropdown]',\n exportAs: 'odxDropdown',\n providers: [EventManager],\n host: {\n '[attr.aria-haspopup]': 'true',\n '[attr.aria-expanded]': 'isOpen',\n },\n})\nexport class DropdownDirective implements AfterViewInit, OnChanges, OnDestroy {\n public static ngAcceptInputType_disabled: BooleanInput;\n public static ngAcceptInputType_loading: BooleanInput;\n\n private readonly changeDetector = inject(ChangeDetectorRef);\n private readonly connectedOverlayService = inject(ConnectedOverlayService);\n private readonly eventManager = inject(EventManager);\n private readonly viewContainer = inject(ViewContainerRef);\n private readonly injector = getInjector();\n private overlayRef: ConnectedOverlayRef | null = null;\n\n public readonly element = injectElement();\n\n public get isOpen(): boolean {\n return this.overlayRef !== null;\n }\n\n @Input('odxDropdown')\n public content?: DynamicContent | null;\n\n @Transform(coerceBooleanProperty)\n @Input('odxDropdownDisabled')\n public disabled = false;\n\n @Transform(coerceBooleanProperty)\n @Input('odxDropdownShowLoader')\n public showLoader = false;\n\n @Transform(coerceBooleanProperty)\n @Input('odxDropdownClickOutsideActive')\n public clickOutsideActive = true;\n\n @Input('odxDropdownOptions')\n public options?: Partial<DropdownOptions> | null;\n\n @Input('odxDropdownReferenceElement')\n public referenceElement?: HTMLElement | null;\n\n @Input('odxDropdownTriggerElement')\n public triggerElement?: HTMLElement | null;\n\n @Input('odxDropdownHost')\n public host?: HTMLElement | ViewContainerRef | null = this.viewContainer;\n\n @Input('odxDropdownOpenTrigger')\n public openTrigger?: string[] | null = DEFAULT_DROPDOWN_OPEN_TRIGGERS;\n\n @Input('odxDropdownCloseTrigger')\n public closeTrigger?: string[] | null = DEFAULT_DROPDOWN_CLOSE_TRIGGERS;\n\n @Output('odxDropdownBeforeOpen')\n public beforeOpen = new EventEmitter<void>();\n\n @Output('odxDropdownAfterOpen')\n public afterOpen = new EventEmitter<void>();\n\n @Output('odxDropdownBeforeClose')\n public beforeClose = new EventEmitter<void>();\n\n @Output('odxDropdownAfterClose')\n public afterClose = new EventEmitter<void>();\n\n public ngAfterViewInit(): void {\n this.eventManager.register(this.openTrigger ?? [], (event) => this.toggle(event), this.triggerElement ?? this.referenceElement);\n this.eventManager.register(this.closeTrigger ?? [], () => this.close(), 'document');\n }\n\n public ngOnDestroy(): void {\n this.close();\n }\n\n public ngOnChanges(changes: NgChanges<DropdownDirective>) {\n if (hasChanged(changes, 'disabled') && this.disabled) {\n this.close();\n }\n if (hasChanged(changes, ['options', 'content', 'showLoader'])) {\n this.overlayRef?.update(this.createOverlayOptions());\n }\n }\n\n public toggle(event?: Event): void {\n if (this.isOpen) {\n this.close(event);\n } else {\n this.open(event);\n }\n }\n\n public open(event?: Event) {\n event?.preventDefault();\n if (this.isOpen || !this.content || this.disabled) return;\n this.overlayRef = this.connectedOverlayService.createOverlay(this.referenceElement ?? this.element.nativeElement, this.createOverlayOptions(), {\n host: this.referenceElement || this.host,\n injector: this.injector,\n });\n this.changeDetector.markForCheck();\n }\n\n public close(event?: Event) {\n event?.preventDefault();\n this.overlayRef?.close();\n this.overlayRef = null;\n this.changeDetector.markForCheck();\n }\n\n private createOverlayOptions(): Partial<ConnectedOverlayOptions> {\n const containerClass = ['odx-dropdown-overlay', this.options?.containerClass].filter(Boolean).join(' ');\n return {\n ...DefaultDropdownOptions,\n ...this.options,\n fallbackAxisSideDirection: 'end',\n containerClass,\n content: DropdownComponent,\n context: { content: this.content },\n hooks: {\n beforeOpen: () => this.beforeOpen.emit(),\n afterOpen: () => this.afterOpen.emit(),\n beforeClose: () => this.beforeClose.emit(),\n afterClose: () => this.afterClose.emit(),\n },\n };\n }\n}\n","import { ChangeDetectionStrategy, Component, HostListener, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { DynamicContent, DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { LoadingSpinnerModule } from '@odx/angular/components/loading-spinner';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { getInjector, injectElement } from '@odx/angular/utils';\nimport { DropdownDirective } from './dropdown.directive';\nimport { CloseDropdownEvent } from './models';\n\n@CSSComponent('dropdown')\n@Component({\n standalone: true,\n selector: 'odx-dropdown',\n imports: [CoreModule, DynamicViewDirective, LoadingSpinnerModule, A11yModule],\n templateUrl: './dropdown.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownComponent {\n protected readonly host = inject(DropdownDirective);\n protected readonly injector = getInjector();\n public readonly element = injectElement();\n\n @Input()\n public content?: DynamicContent | null;\n\n @HostListener(CloseDropdownEvent.TYPE)\n protected onDropdownClose(): void {\n this.host.close();\n }\n}\n","<div\n class=\"odx-dropdown__inner\"\n [odxLoadingSpinner]=\"host.showLoader\"\n [odxClickOutsideActive]=\"host.clickOutsideActive\"\n (odxClickOutside)=\"host.close()\"\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { DropdownDirective } from './dropdown.directive';\n\nconst modules = [DropdownDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class DropdownModule {}\n","import { CloseDropdownEvent } from '../models';\n\nexport function closeCurrentDropdown(target: Element): void {\n target.dispatchEvent(new CloseDropdownEvent());\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAM,MAAO,kBAAmB,SAAQ,KAAK,CAAA;AAG3C,IAAA,WAAA,GAAA;QACE,KAAK,CAAC,kBAAkB,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;KACnD;;AAJsB,kBAAI,CAAA,IAAA,GAAG,kBAAkB;;ACMrC,MAAA,sBAAsB,GAAoB;AACrD,IAAA,QAAQ,EAAE,QAAQ;AAClB,IAAA,mBAAmB,EAAE,KAAK;AAC1B,IAAA,cAAc,EAAE,IAAI;AACpB,IAAA,SAAS,EAAE,CAAC;AACZ,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,YAAY,EAAE,EAAE;;;MCJL,8BAA8B,GAAG,CAAC,OAAO,EAAE,eAAe,EAAE;AAC5D,MAAA,+BAA+B,GAAG,CAAC,WAAW,EAAE;AAahD,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;AAIY,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC3C,QAAA,IAAA,CAAA,uB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AA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAFf,UAAU,CAAA,EAAA,CAAA,CAAA;2FAET,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACPK,SAAU,oBAAoB,CAAC,MAAe,EAAA;AAClD,IAAA,MAAM,CAAC,aAAa,CAAC,IAAI,kBAAkB,EAAE,CAAC,CAAC;AACjD;;ACJA;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-dropdown.mjs","sources":["../../../../libs/angular/components/dropdown/src/lib/models/close-dropdown-event.ts","../../../../libs/angular/components/dropdown/src/lib/models/dropdown-options.ts","../../../../libs/angular/components/dropdown/src/lib/dropdown.directive.ts","../../../../libs/angular/components/dropdown/src/lib/dropdown.component.ts","../../../../libs/angular/components/dropdown/src/lib/dropdown.component.html","../../../../libs/angular/components/dropdown/src/lib/dropdown.module.ts","../../../../libs/angular/components/dropdown/src/lib/helpers/close-current-dropdown.ts","../../../../libs/angular/components/dropdown/src/odx-angular-components-dropdown.ts"],"sourcesContent":["export class CloseDropdownEvent extends Event {\n public static readonly TYPE = 'odxDropdownClose';\n\n constructor() {\n super(CloseDropdownEvent.TYPE, { bubbles: true });\n }\n}\n","import { ConnectedOverlayOptions } from '@odx/angular/cdk/connected-overlay';\n\nexport type DropdownOptions = Pick<\n ConnectedOverlayOptions,\n 'position' | 'containerClass' | 'enableFallback' | 'matchReferenceWidth' | 'minHeight' | 'offset' | 'showArrow' | 'outerPadding'\n>;\n\nexport const DefaultDropdownOptions: DropdownOptions = {\n position: 'bottom',\n matchReferenceWidth: false,\n enableFallback: true,\n minHeight: 0,\n offset: 6,\n outerPadding: 12,\n};\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { AfterViewInit, ChangeDetectorRef, Directive, EventEmitter, inject, Input, OnChanges, OnDestroy, Output, ViewContainerRef } from '@angular/core';\nimport { ConnectedOverlayOptions, ConnectedOverlayRef, ConnectedOverlayService } from '@odx/angular/cdk/connected-overlay';\nimport { DynamicContent } from '@odx/angular/cdk/dynamic-view';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { EventManager, getInjector, hasChanged, injectElement, NgChanges, Transform } from '@odx/angular/utils';\nimport { DropdownComponent } from './dropdown.component';\nimport { DefaultDropdownOptions, DropdownOptions } from './models';\n\nexport const DEFAULT_DROPDOWN_OPEN_TRIGGERS = ['click', 'keydown.enter'];\nexport const DEFAULT_DROPDOWN_CLOSE_TRIGGERS = ['keyup.esc'];\n\n@CSSComponent('dropdown-host')\n@Directive({\n standalone: true,\n selector: '[odxDropdown]',\n exportAs: 'odxDropdown',\n providers: [EventManager],\n host: {\n '[attr.aria-haspopup]': 'true',\n '[attr.aria-expanded]': 'isOpen',\n },\n})\nexport class DropdownDirective implements AfterViewInit, OnChanges, OnDestroy {\n public static ngAcceptInputType_disabled: BooleanInput;\n public static ngAcceptInputType_loading: BooleanInput;\n\n private readonly changeDetector = inject(ChangeDetectorRef);\n private readonly connectedOverlayService = inject(ConnectedOverlayService);\n private readonly eventManager = inject(EventManager);\n private readonly viewContainer = inject(ViewContainerRef);\n private readonly injector = getInjector();\n private overlayRef: ConnectedOverlayRef | null = null;\n\n public readonly element = injectElement();\n\n public get isOpen(): boolean {\n return this.overlayRef !== null;\n }\n\n @Input('odxDropdown')\n public content?: DynamicContent | null;\n\n @Transform(coerceBooleanProperty)\n @Input('odxDropdownDisabled')\n public disabled = false;\n\n @Transform(coerceBooleanProperty)\n @Input('odxDropdownShowLoader')\n public showLoader = false;\n\n @Transform(coerceBooleanProperty)\n @Input('odxDropdownClickOutsideActive')\n public clickOutsideActive = true;\n\n @Input('odxDropdownOptions')\n public options?: Partial<DropdownOptions> | null;\n\n @Input('odxDropdownReferenceElement')\n public referenceElement?: HTMLElement | null;\n\n @Input('odxDropdownTriggerElement')\n public triggerElement?: HTMLElement | null;\n\n @Input('odxDropdownHost')\n public host?: HTMLElement | ViewContainerRef | null = this.viewContainer;\n\n @Input('odxDropdownOpenTrigger')\n public openTrigger?: string[] | null = DEFAULT_DROPDOWN_OPEN_TRIGGERS;\n\n @Input('odxDropdownCloseTrigger')\n public closeTrigger?: string[] | null = DEFAULT_DROPDOWN_CLOSE_TRIGGERS;\n\n @Output('odxDropdownBeforeOpen')\n public beforeOpen = new EventEmitter<void>();\n\n @Output('odxDropdownAfterOpen')\n public afterOpen = new EventEmitter<void>();\n\n @Output('odxDropdownBeforeClose')\n public beforeClose = new EventEmitter<void>();\n\n @Output('odxDropdownAfterClose')\n public afterClose = new EventEmitter<void>();\n\n public ngAfterViewInit(): void {\n this.eventManager.register(this.openTrigger ?? [], (event) => this.toggle(event), this.triggerElement ?? this.referenceElement);\n this.eventManager.register(this.closeTrigger ?? [], () => this.close(), 'document');\n }\n\n public ngOnDestroy(): void {\n this.close();\n }\n\n public ngOnChanges(changes: NgChanges<DropdownDirective>) {\n if (hasChanged(changes, 'disabled') && this.disabled) {\n this.close();\n }\n if (hasChanged(changes, ['options', 'content', 'showLoader'])) {\n this.overlayRef?.update(this.createOverlayOptions());\n }\n }\n\n public toggle(event?: Event): void {\n if (this.isOpen) {\n this.close(event);\n } else {\n this.open(event);\n }\n }\n\n public open(event?: Event) {\n event?.preventDefault();\n if (this.isOpen || !this.content || this.disabled) return;\n this.overlayRef = this.connectedOverlayService.createOverlay(this.referenceElement ?? this.element.nativeElement, this.createOverlayOptions(), {\n host: this.referenceElement || this.host,\n injector: this.injector,\n });\n this.changeDetector.markForCheck();\n }\n\n public close(event?: Event) {\n event?.preventDefault();\n this.overlayRef?.close();\n this.overlayRef = null;\n this.changeDetector.markForCheck();\n }\n\n private createOverlayOptions(): Partial<ConnectedOverlayOptions> {\n const containerClass = ['odx-dropdown-overlay', this.options?.containerClass].filter(Boolean).join(' ');\n return {\n ...DefaultDropdownOptions,\n ...this.options,\n fallbackAxisSideDirection: 'end',\n containerClass,\n content: DropdownComponent,\n context: { content: this.content },\n hooks: {\n beforeOpen: () => this.beforeOpen.emit(),\n afterOpen: () => this.afterOpen.emit(),\n beforeClose: () => this.beforeClose.emit(),\n afterClose: () => this.afterClose.emit(),\n },\n };\n }\n}\n","import { ChangeDetectionStrategy, Component, HostListener, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { DynamicContent, DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { LoadingSpinnerModule } from '@odx/angular/components/loading-spinner';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { getInjector, injectElement } from '@odx/angular/utils';\nimport { DropdownDirective } from './dropdown.directive';\nimport { CloseDropdownEvent } from './models';\n\n@CSSComponent('dropdown')\n@Component({\n standalone: true,\n selector: 'odx-dropdown',\n imports: [CoreModule, DynamicViewDirective, LoadingSpinnerModule, A11yModule],\n templateUrl: './dropdown.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownComponent {\n protected readonly host = inject(DropdownDirective);\n protected readonly injector = getInjector();\n public readonly element = injectElement();\n\n @Input()\n public content?: DynamicContent | null;\n\n @HostListener(CloseDropdownEvent.TYPE)\n protected onDropdownClose(): void {\n this.host.close();\n }\n}\n","<div\n class=\"odx-dropdown__inner\"\n [odxLoadingSpinner]=\"host.showLoader\"\n [odxClickOutsideActive]=\"host.clickOutsideActive\"\n (odxClickOutside)=\"host.close()\"\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { DropdownDirective } from './dropdown.directive';\n\nconst modules = [DropdownDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class DropdownModule {}\n","import { CloseDropdownEvent } from '../models';\n\nexport function closeCurrentDropdown(target: Element): void {\n target.dispatchEvent(new CloseDropdownEvent());\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAM,MAAO,kBAAmB,SAAQ,KAAK,CAAA;AAG3C,IAAA,WAAA,GAAA;QACE,KAAK,CAAC,kBAAkB,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;KACnD;;AAJsB,kBAAI,CAAA,IAAA,GAAG,kBAAkB;;ACMrC,MAAA,sBAAsB,GAAoB;AACrD,IAAA,QAAQ,EAAE,QAAQ;AAClB,IAAA,mBAAmB,EAAE,KAAK;AAC1B,IAAA,cAAc,EAAE,IAAI;AACpB,IAAA,SAAS,EAAE,CAAC;AACZ,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,YAAY,EAAE,EAAE;;;MCJL,8BAA8B,GAAG,CAAC,OAAO,EAAE,eAAe,EAAE;AAC5D,MAAA,+BAA+B,GAAG,CAAC,WAAW,EAAE;AAahD,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;AAIY,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC3C,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAC1D,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AACpC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;QACzC,IAAQ,CAAA,QAAA,GAAG,WAAW,EAAE,CAAC;QAClC,IAAU,CAAA,UAAA,GAA+B,IAAI,CAAC;QAE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AAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACPK,SAAU,oBAAoB,CAAC,MAAe,EAAA;AAClD,IAAA,MAAM,CAAC,aAAa,CAAC,IAAI,kBAAkB,EAAE,CAAC,CAAC;AACjD;;ACJA;;AAEG;;;;"}
@@ -57,9 +57,9 @@ class FormFieldService extends Controller {
57
57
  return control.statusChanges.pipe(startWith(control.status), map((status) => status === 'DISABLED'), distinctUntilChanged());
58
58
  }
59
59
  }
60
- FormFieldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
61
- FormFieldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldService });
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldService, decorators: [{
60
+ FormFieldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
61
+ FormFieldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldService });
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldService, decorators: [{
63
63
  type: Injectable
64
64
  }] });
65
65
 
@@ -108,9 +108,9 @@ class FormFieldErrorService {
108
108
  return { key, message: getMessage(context) };
109
109
  }
110
110
  }
111
- FormFieldErrorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
112
- FormFieldErrorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorService });
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorService, decorators: [{
111
+ FormFieldErrorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
112
+ FormFieldErrorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldErrorService });
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldErrorService, decorators: [{
114
114
  type: Injectable
115
115
  }] });
116
116
 
@@ -122,12 +122,12 @@ let FormDirective = class FormDirective {
122
122
  this.reset$ = fromEvent(this.element.nativeElement, 'reset').pipe(this.takeUntilDestroyed(), share());
123
123
  }
124
124
  };
125
- FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
126
- FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: FormDirective, isStandalone: true, selector: "form[odxForm]", ngImport: i0 });
125
+ FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
126
+ FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormDirective, isStandalone: true, selector: "form[odxForm]", ngImport: i0 });
127
127
  FormDirective = __decorate([
128
128
  CSSComponent('form')
129
129
  ], FormDirective);
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormDirective, decorators: [{
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormDirective, decorators: [{
131
131
  type: Directive,
132
132
  args: [{
133
133
  standalone: true,
@@ -183,13 +183,13 @@ let FormFieldControlDirective = class FormFieldControlDirective {
183
183
  return merge(this.onFormSubmit$, this.onFormReset$).pipe(switchMap(({ type }) => (type === 'submit' ? merge(statusChanges, valueChanges).pipe(startWith(true)) : NEVER)));
184
184
  }
185
185
  };
186
- FormFieldControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
187
- FormFieldControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldControlDirective, isStandalone: true, selector: "[odxFormFieldControl]", exportAs: ["odxFormFieldControl"], ngImport: i0 });
186
+ FormFieldControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
187
+ FormFieldControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldControlDirective, isStandalone: true, selector: "[odxFormFieldControl]", exportAs: ["odxFormFieldControl"], ngImport: i0 });
188
188
  FormFieldControlDirective = __decorate([
189
189
  CSSComponent('form-field-control'),
190
190
  __metadata("design:paramtypes", [])
191
191
  ], FormFieldControlDirective);
192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldControlDirective, decorators: [{
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldControlDirective, decorators: [{
193
193
  type: Directive,
194
194
  args: [{
195
195
  standalone: true,
@@ -207,9 +207,9 @@ class FormFieldErrorDirective {
207
207
  this.formFieldErrorService.registerCustomError(this.key, this.template);
208
208
  }
209
209
  }
210
- FormFieldErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
211
- FormFieldErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldErrorDirective, isStandalone: true, selector: "[odxFormFieldError]", inputs: { key: ["odxFormFieldError", "key"] }, ngImport: i0 });
212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorDirective, decorators: [{
210
+ FormFieldErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
211
+ FormFieldErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldErrorDirective, isStandalone: true, selector: "[odxFormFieldError]", inputs: { key: ["odxFormFieldError", "key"] }, ngImport: i0 });
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldErrorDirective, decorators: [{
213
213
  type: Directive,
214
214
  args: [{
215
215
  standalone: true,
@@ -226,9 +226,9 @@ class FormFieldHintDirective {
226
226
  reactiveAttributeBinding(inject(FormFieldService).controlHintId$, 'id');
227
227
  }
228
228
  }
229
- FormFieldHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
230
- FormFieldHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldHintDirective, isStandalone: true, selector: "odx-form-field-hint", host: { properties: { "class.odx-form-field__hint": "true" } }, ngImport: i0 });
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldHintDirective, decorators: [{
229
+ FormFieldHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
230
+ FormFieldHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldHintDirective, isStandalone: true, selector: "odx-form-field-hint", host: { properties: { "class.odx-form-field__hint": "true" } }, ngImport: i0 });
231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldHintDirective, decorators: [{
232
232
  type: Directive,
233
233
  args: [{
234
234
  standalone: true,
@@ -244,12 +244,12 @@ let FormFieldLabelDirective = class FormFieldLabelDirective {
244
244
  this.element = injectElement();
245
245
  }
246
246
  };
247
- FormFieldLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
248
- FormFieldLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldLabelDirective, isStandalone: true, selector: "odx-form-field-label", ngImport: i0 });
247
+ FormFieldLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
248
+ FormFieldLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldLabelDirective, isStandalone: true, selector: "odx-form-field-label", ngImport: i0 });
249
249
  FormFieldLabelDirective = __decorate([
250
250
  CSSComponent('form-field-label')
251
251
  ], FormFieldLabelDirective);
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldLabelDirective, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldLabelDirective, decorators: [{
253
253
  type: Directive,
254
254
  args: [{
255
255
  standalone: true,
@@ -263,9 +263,9 @@ class FormFieldInfoComponent {
263
263
  this.error = null;
264
264
  }
265
265
  }
266
- FormFieldInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
267
- FormFieldInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldInfoComponent, isStandalone: true, selector: "odx-form-field-info", inputs: { error: "error" }, host: { properties: { "class.odx-form-field__info": "true" } }, ngImport: i0, template: "<span class=\"odx-form-field-error\" [attr.id]=\"formFieldService.controlErrorId$ | async\" *ngIf=\"error; else hint\">\n <ng-template [odxDynamicView]=\"error.message\" [odxDynamicViewContext]=\"error.context\"></ng-template>\n</span>\n<ng-template #hint>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], encapsulation: i0.ViewEncapsulation.None });
268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldInfoComponent, decorators: [{
266
+ FormFieldInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
267
+ FormFieldInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldInfoComponent, isStandalone: true, selector: "odx-form-field-info", inputs: { error: "error" }, host: { properties: { "class.odx-form-field__info": "true" } }, ngImport: i0, template: "<span class=\"odx-form-field-error\" [attr.id]=\"formFieldService.controlErrorId$ | async\" *ngIf=\"error; else hint\">\n <ng-template [odxDynamicView]=\"error.message\" [odxDynamicViewContext]=\"error.context\"></ng-template>\n</span>\n<ng-template #hint>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], encapsulation: i0.ViewEncapsulation.None });
268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldInfoComponent, decorators: [{
269
269
  type: Component,
270
270
  args: [{ standalone: true, selector: 'odx-form-field-info', encapsulation: ViewEncapsulation.None, imports: [CoreModule, DynamicViewDirective, FormFieldHintDirective], host: {
271
271
  '[class.odx-form-field__info]': 'true',
@@ -283,12 +283,12 @@ let FormGroupComponent = class FormGroupComponent {
283
283
  this.error$ = this.formFieldErrorServices.changes.pipe(startWith(this.formFieldErrorServices), switchMap((services) => combineLatest(services.map((service) => service.error$))), map((errors) => errors.find((error) => error !== null) ?? null));
284
284
  }
285
285
  };
286
- FormGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
287
- FormGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FormGroupComponent, isStandalone: true, selector: "odx-form-group", providers: [FormFieldService], queries: [{ propertyName: "formFieldErrorServices", predicate: FormFieldErrorService }], ngImport: i0, template: "<div class=\"odx-form-group__content\" odxLayout=\"grid\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: FormFieldInfoComponent, selector: "odx-form-field-info", inputs: ["error"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
286
+ FormGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
287
+ FormGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormGroupComponent, isStandalone: true, selector: "odx-form-group", providers: [FormFieldService], queries: [{ propertyName: "formFieldErrorServices", predicate: FormFieldErrorService }], ngImport: i0, template: "<div class=\"odx-form-group__content\" odxLayout=\"grid\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: FormFieldInfoComponent, selector: "odx-form-field-info", inputs: ["error"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
288
288
  FormGroupComponent = __decorate([
289
289
  CSSComponent('form-group')
290
290
  ], FormGroupComponent);
291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormGroupComponent, decorators: [{
291
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormGroupComponent, decorators: [{
292
292
  type: Component,
293
293
  args: [{ standalone: true, selector: 'odx-form-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CoreModule, FormFieldInfoComponent], providers: [FormFieldService], template: "<div class=\"odx-form-group__content\" odxLayout=\"grid\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n" }]
294
294
  }], propDecorators: { formFieldErrorServices: [{
@@ -328,8 +328,8 @@ let FormFieldComponent = class FormFieldComponent {
328
328
  reactiveClassBinding(hasWarning$, 'has-warning');
329
329
  }
330
330
  };
331
- FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
332
- FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldComponent, isStandalone: true, selector: "odx-form-field", inputs: { label: "label", hasWarning: "hasWarning", variant: "variant" }, providers: [FormFieldService, FormFieldErrorService, DisabledController.connect(), ReadonlyController.connect()], queries: [{ propertyName: "labelDirective", first: true, predicate: FormFieldLabelDirective, descendants: true }], ngImport: i0, template: "<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <ng-container *ngIf=\"label; else labelTemplate\">\n <odx-form-field-label>{{ label }}</odx-form-field-label>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-container>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-template>\n</label>\n<div class=\"odx-form-field__inner\">\n <div class=\"odx-form-field__control\">\n <div class=\"odx-form-field__prefix\">\n <ng-content select=\"[odxFormFieldPrefix]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"odx-form-field__suffix\">\n <ng-content select=\"[odxFormFieldSuffix]\"></ng-content>\n </div>\n </div>\n <odx-form-field-info [error]=\"formFieldErrorService.error$ | async\" *ngIf=\"!formGroup\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n </odx-form-field-info>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: FormFieldInfoComponent, selector: "odx-form-field-info", inputs: ["error"] }, { kind: "directive", type: FormFieldLabelDirective, selector: "odx-form-field-label" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
331
+ FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
332
+ FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldComponent, isStandalone: true, selector: "odx-form-field", inputs: { label: "label", hasWarning: "hasWarning", variant: "variant" }, providers: [FormFieldService, FormFieldErrorService, DisabledController.connect(), ReadonlyController.connect()], queries: [{ propertyName: "labelDirective", first: true, predicate: FormFieldLabelDirective, descendants: true }], ngImport: i0, template: "<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <ng-container *ngIf=\"label; else labelTemplate\">\n <odx-form-field-label>{{ label }}</odx-form-field-label>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-container>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-template>\n</label>\n<div class=\"odx-form-field__inner\">\n <div class=\"odx-form-field__control\">\n <div class=\"odx-form-field__prefix\">\n <ng-content select=\"[odxFormFieldPrefix]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"odx-form-field__suffix\">\n <ng-content select=\"[odxFormFieldSuffix]\"></ng-content>\n </div>\n </div>\n <odx-form-field-info [error]=\"formFieldErrorService.error$ | async\" *ngIf=\"!formGroup\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n </odx-form-field-info>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: FormFieldInfoComponent, selector: "odx-form-field-info", inputs: ["error"] }, { kind: "directive", type: FormFieldLabelDirective, selector: "odx-form-field-label" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
333
333
  __decorate([
334
334
  CSSModifier(),
335
335
  __metadata("design:type", Object)
@@ -338,7 +338,7 @@ FormFieldComponent = __decorate([
338
338
  CSSComponent('form-field'),
339
339
  __metadata("design:paramtypes", [])
340
340
  ], FormFieldComponent);
341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldComponent, decorators: [{
341
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldComponent, decorators: [{
342
342
  type: Component,
343
343
  args: [{ standalone: true, selector: 'odx-form-field', imports: [CoreModule, FormFieldInfoComponent, FormFieldLabelDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [FormFieldService, FormFieldErrorService, DisabledController.connect(), ReadonlyController.connect()], template: "<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <ng-container *ngIf=\"label; else labelTemplate\">\n <odx-form-field-label>{{ label }}</odx-form-field-label>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-container>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-template>\n</label>\n<div class=\"odx-form-field__inner\">\n <div class=\"odx-form-field__control\">\n <div class=\"odx-form-field__prefix\">\n <ng-content select=\"[odxFormFieldPrefix]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"odx-form-field__suffix\">\n <ng-content select=\"[odxFormFieldSuffix]\"></ng-content>\n </div>\n </div>\n <odx-form-field-info [error]=\"formFieldErrorService.error$ | async\" *ngIf=\"!formGroup\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n </odx-form-field-info>\n</div>\n" }]
344
344
  }], ctorParameters: function () { return []; }, propDecorators: { labelDirective: [{
@@ -363,8 +363,8 @@ const modules = [
363
363
  ];
364
364
  class FormFieldModule {
365
365
  }
366
- FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
367
- FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
366
+ FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
367
+ FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
368
368
  FormGroupComponent,
369
369
  FormDirective,
370
370
  FormFieldControlDirective,
@@ -377,9 +377,9 @@ FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
377
377
  FormFieldErrorDirective,
378
378
  FormFieldHintDirective,
379
379
  FormFieldLabelDirective] });
380
- FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
380
+ FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
381
381
  FormGroupComponent, CoreModule] });
382
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldModule, decorators: [{
382
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, decorators: [{
383
383
  type: NgModule,
384
384
  args: [{
385
385
  imports: modules,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-form-field.mjs","sources":["../../../../libs/angular/components/form-field/src/lib/form-field.config.ts","../../../../libs/angular/components/form-field/src/lib/form-field.service.ts","../../../../libs/angular/components/form-field/src/lib/services/form-field-error.service.ts","../../../../libs/angular/components/form-field/src/lib/directives/form.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-control.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-error.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-hint.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-label.directive.ts","../../../../libs/angular/components/form-field/src/lib/components/form-field-info/form-field-info.component.ts","../../../../libs/angular/components/form-field/src/lib/components/form-field-info/form-field-info.component.html","../../../../libs/angular/components/form-field/src/lib/components/form-group/form-group.component.ts","../../../../libs/angular/components/form-field/src/lib/components/form-group/form-group.component.html","../../../../libs/angular/components/form-field/src/lib/models/form-field-variant.ts","../../../../libs/angular/components/form-field/src/lib/form-field.component.ts","../../../../libs/angular/components/form-field/src/lib/form-field.component.html","../../../../libs/angular/components/form-field/src/lib/form-field.module.ts","../../../../libs/angular/components/form-field/src/odx-angular-components-form-field.ts"],"sourcesContent":["import { createConfigTokens } from '@odx/angular/utils';\nimport { FormFieldErrorResolvers } from './models';\n\nexport interface FormFieldConfig {\n /**\n * Object of error resolvers used to resolve error messages globally\n * @default {}\n */\n errors: FormFieldErrorResolvers;\n /**\n * Detect form field control changes on `blur` and/or `change`\n * @default ['blur']\n */\n updateOn: Array<'blur' | 'change'>;\n ignoreErrors: string[];\n}\n\nexport const { FormFieldDefaultConfig, FormFieldConfig, injectFormFieldConfig, provideFormFieldConfig } = createConfigTokens(\n 'FormField',\n '@odx/angular/components/form-field',\n {\n errors: {},\n ignoreErrors: [],\n updateOn: ['blur'],\n } as FormFieldConfig\n);\n","import { ElementRef, Injectable, OnDestroy } from '@angular/core';\nimport { AbstractControl, Validators } from '@angular/forms';\nimport { Controller, DisabledController, ReadonlyController } from '@odx/angular';\nimport { getUniqueId } from '@odx/angular/utils';\nimport { BehaviorSubject, distinctUntilChanged, EMPTY, map, merge, Observable, of, shareReplay, startWith, switchMap, tap } from 'rxjs';\n\ninterface FieldControl {\n control: AbstractControl;\n nativeElement: HTMLElement;\n}\n\n@Injectable()\nexport class FormFieldService extends Controller implements OnDestroy {\n private readonly disabledController = DisabledController.inject();\n private readonly readonlyController = ReadonlyController.inject();\n private readonly control$$ = new BehaviorSubject<FieldControl | null>(null);\n\n public readonly control$ = this.control$$.pipe(shareReplay({ refCount: true }));\n public readonly controlId$ = this.control$.pipe(\n map((control) => (control ? control.nativeElement.id || getUniqueId('odx-form-field') : null)),\n shareReplay({ refCount: true })\n );\n public readonly controlHintId$ = this.controlId$.pipe(\n map((id) => (id ? `${id}-hint` : null)),\n shareReplay({ refCount: true })\n );\n public readonly controlErrorId$ = this.controlId$.pipe(\n map((id) => (id ? `${id}-error` : null)),\n shareReplay({ refCount: true })\n );\n public readonly isDisabled$ = this.control$.pipe(\n switchMap((control) => (control ? merge(this.updateControlDisabledState(control), this.getControlDisabledState(control)) : of(false))),\n distinctUntilChanged(),\n shareReplay({ refCount: true })\n );\n public readonly isRequired$ = this.control$.pipe(\n map((control) => (control ? control.nativeElement.hasAttribute('required') || control.control.hasValidator(Validators.required) : false)),\n shareReplay({ refCount: true })\n );\n public readonly isReadonly$ = this.control$.pipe(\n switchMap((control) => (control && this.readonlyController ? this.readonlyController.isReadonly$ : of(false)))\n );\n\n public override ngOnDestroy(): void {\n this.control$$.complete();\n super.ngOnDestroy();\n }\n\n public registerControl(control: AbstractControl, { nativeElement }: ElementRef<HTMLElement>): void {\n this.control$$.next({ control, nativeElement });\n }\n\n public removeControl(): void {\n this.control$$.next(null);\n }\n\n private updateControlDisabledState({ control }: FieldControl): Observable<boolean> {\n if (this.disabledController) {\n return this.disabledController.isDisabled$.pipe(\n tap((state) => {\n if (state) {\n control.disable();\n } else {\n control.enable();\n }\n })\n );\n }\n return EMPTY;\n }\n\n private getControlDisabledState({ control }: FieldControl): Observable<boolean> {\n return control.statusChanges.pipe(\n startWith(control.status),\n map((status) => status === 'DISABLED'),\n distinctUntilChanged()\n );\n }\n}\n","import { Injectable, OnDestroy, TemplateRef } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\nimport { isTemplateRef } from '@odx/angular/utils';\nimport { BehaviorSubject, combineLatest, distinctUntilChanged, map, shareReplay } from 'rxjs';\nimport { injectFormFieldConfig } from '../form-field.config';\nimport { FormFieldError } from '../models';\n\nconst DEFAULT_CUSTOM_FORM_FIELD_ERROR = '@odx/angular/form-field/default-error';\nconst DEFAULT_ERROR_RESOLVER = () => '';\n\ninterface NgFormFieldError {\n key: string;\n context: unknown;\n}\n\ntype CustomFormFieldErrors = Record<string, TemplateRef<unknown>>;\n\n@Injectable()\nexport class FormFieldErrorService implements OnDestroy {\n private readonly config = injectFormFieldConfig();\n private readonly fieldError$$ = new BehaviorSubject<NgFormFieldError | null>(null);\n private readonly customErrors$$ = new BehaviorSubject<CustomFormFieldErrors>({});\n\n public readonly error$ = combineLatest([this.fieldError$$, this.customErrors$$]).pipe(\n map(([error, customErrors]) => this.resolveError(error, customErrors)),\n distinctUntilChanged(),\n shareReplay({ refCount: true })\n );\n public readonly hasError$ = this.error$.pipe(map((error) => error !== null));\n\n public get hasError(): boolean {\n return this.fieldError$$.getValue() !== null;\n }\n\n public ngOnDestroy(): void {\n this.fieldError$$.next(null);\n this.customErrors$$.next({});\n this.fieldError$$.complete();\n this.customErrors$$.complete();\n }\n\n public setError(errors?: ValidationErrors | null): void {\n this.fieldError$$.next(this.getFirstError(errors ?? {}));\n }\n\n public registerCustomError(key: string | undefined, template: TemplateRef<unknown>): void {\n this.customErrors$$.next({ ...this.customErrors$$.getValue(), [key || DEFAULT_CUSTOM_FORM_FIELD_ERROR]: template });\n }\n\n private getFirstError(errors: ValidationErrors): NgFormFieldError | null {\n const [key, context] = Object.entries(errors ?? {}).find(([errorKey]) => !this.config.ignoreErrors.includes(errorKey)) ?? [];\n\n return key ? { key, context } : null;\n }\n\n private resolveError(error: NgFormFieldError | null, customErrors: CustomFormFieldErrors): FormFieldError | null {\n if (!error) return null;\n const { key, context } = error;\n const message = customErrors[key] ?? customErrors[DEFAULT_CUSTOM_FORM_FIELD_ERROR];\n if (isTemplateRef(message)) {\n return {\n key,\n message,\n context: { $implicit: context },\n };\n }\n\n const getMessage = this.config.errors[key] ?? DEFAULT_ERROR_RESOLVER;\n return { key, message: getMessage(context) };\n }\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\nimport { fromEvent, share } from 'rxjs';\n\n@CSSComponent('form')\n@Directive({\n standalone: true,\n selector: 'form[odxForm]',\n})\nexport class FormDirective {\n private readonly takeUntilDestroyed = untilDestroyed();\n\n public readonly element = injectElement<HTMLFormElement>();\n public readonly submit$ = fromEvent<Event>(this.element.nativeElement, 'submit').pipe(this.takeUntilDestroyed(), share());\n public readonly reset$ = fromEvent<Event>(this.element.nativeElement, 'reset').pipe(this.takeUntilDestroyed(), share());\n}\n","import { Directive, inject, OnDestroy, OnInit } from '@angular/core';\nimport { AbstractControl, FormControl, NgControl } from '@angular/forms';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { booleanToOptionalAttributeString, injectElement, reactiveAttributeBinding, untilDestroyed } from '@odx/angular/utils';\nimport { EMPTY, fromEvent, map, merge, NEVER, Observable, of, startWith, switchMap, tap } from 'rxjs';\nimport { injectFormFieldConfig } from '../form-field.config';\nimport { FormFieldService } from '../form-field.service';\nimport { FormFieldErrorService } from '../services';\nimport { FormDirective } from './form.directive';\n\n@CSSComponent('form-field-control')\n@Directive({\n standalone: true,\n selector: '[odxFormFieldControl]',\n exportAs: 'odxFormFieldControl',\n})\nexport class FormFieldControlDirective implements OnInit, OnDestroy {\n private readonly config = injectFormFieldConfig();\n private readonly ngControl = inject(NgControl, { optional: true, self: true });\n private readonly form = inject(FormDirective, { optional: true, skipSelf: true });\n private readonly onFormReset$ = this.form?.reset$ ?? EMPTY;\n private readonly onFormSubmit$ = this.form?.submit$ ?? EMPTY;\n private readonly formFieldService = inject(FormFieldService);\n private readonly formFieldErrorService = inject(FormFieldErrorService);\n private readonly takeUntilDestroyed = untilDestroyed();\n public readonly element = injectElement();\n\n constructor() {\n reactiveAttributeBinding(this.formFieldService.controlId$, 'id');\n reactiveAttributeBinding(this.formFieldService.controlHintId$, 'aria-describedby');\n reactiveAttributeBinding(this.formFieldService.isReadonly$, 'readonly');\n reactiveAttributeBinding(this.formFieldService.isDisabled$.pipe(map(booleanToOptionalAttributeString)), 'aria-disabled');\n reactiveAttributeBinding(this.formFieldService.isReadonly$.pipe(map(booleanToOptionalAttributeString)), 'aria-readonly');\n reactiveAttributeBinding(this.formFieldService.isRequired$.pipe(map(booleanToOptionalAttributeString)), 'aria-required');\n reactiveAttributeBinding(this.formFieldErrorService.hasError$.pipe(map(booleanToOptionalAttributeString)), 'aria-invalid');\n reactiveAttributeBinding(\n this.formFieldErrorService.hasError$.pipe(switchMap((hasError) => (hasError ? this.formFieldService.controlErrorId$ : of(null)))),\n 'aria-errormessage'\n );\n }\n\n public ngOnInit() {\n const control = this.ngControl?.control;\n this.formFieldService.registerControl(control ?? new FormControl(), this.element);\n if (!control) return;\n\n const controlChanges$ = merge(this.registerOnBlur(control), this.registerOnChange(control), this.registerOnSubmit(control));\n const changes$ = merge(\n this.onFormReset$.pipe(tap(() => this.formFieldErrorService?.setError(null))),\n controlChanges$.pipe(tap(() => this.formFieldErrorService?.setError(control.errors)))\n );\n changes$.pipe(this.takeUntilDestroyed()).subscribe();\n }\n\n public ngOnDestroy(): void {\n this.formFieldService.removeControl();\n }\n\n private registerOnBlur({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('blur')) {\n return fromEvent(this.element.nativeElement, 'focusout').pipe(switchMap(() => valueChanges.pipe(startWith(true))));\n }\n return EMPTY;\n }\n\n private registerOnChange({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('change')) {\n return valueChanges;\n }\n return EMPTY;\n }\n\n private registerOnSubmit({ statusChanges, valueChanges }: AbstractControl): Observable<unknown> {\n return merge(this.onFormSubmit$, this.onFormReset$).pipe(\n switchMap(({ type }) => (type === 'submit' ? merge(statusChanges, valueChanges).pipe(startWith(true)) : NEVER))\n );\n }\n}\n","import { Directive, inject, Input, OnInit, TemplateRef } from '@angular/core';\nimport { FormFieldErrorService } from '../services';\n\n@Directive({\n standalone: true,\n selector: '[odxFormFieldError]',\n})\nexport class FormFieldErrorDirective implements OnInit {\n private readonly formFieldErrorService = inject(FormFieldErrorService, { skipSelf: true });\n private readonly template = inject(TemplateRef, { self: true });\n\n @Input('odxFormFieldError')\n public key?: string;\n\n public ngOnInit() {\n this.formFieldErrorService.registerCustomError(this.key, this.template);\n }\n}\n","import { Directive, inject } from '@angular/core';\nimport { reactiveAttributeBinding } from '@odx/angular/utils';\nimport { FormFieldService } from '../form-field.service';\n\n@Directive({\n standalone: true,\n selector: 'odx-form-field-hint',\n host: {\n '[class.odx-form-field__hint]': 'true',\n },\n})\nexport class FormFieldHintDirective {\n protected readonly formFieldService = inject(FormFieldService, { skipSelf: true });\n\n constructor() {\n reactiveAttributeBinding(inject(FormFieldService).controlHintId$, 'id');\n }\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('form-field-label')\n@Directive({\n standalone: true,\n selector: 'odx-form-field-label',\n})\nexport class FormFieldLabelDirective {\n public readonly element = injectElement();\n}\n","import { Component, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { FormFieldHintDirective } from '../../directives';\nimport { FormFieldService } from '../../form-field.service';\nimport { FormFieldError } from '../../models';\n\n@Component({\n standalone: true,\n selector: 'odx-form-field-info',\n templateUrl: './form-field-info.component.html',\n encapsulation: ViewEncapsulation.None,\n imports: [CoreModule, DynamicViewDirective, FormFieldHintDirective],\n host: {\n '[class.odx-form-field__info]': 'true',\n },\n})\nexport class FormFieldInfoComponent {\n protected readonly formFieldService = inject(FormFieldService);\n\n @Input()\n public error: FormFieldError | null = null;\n}\n","<span class=\"odx-form-field-error\" [attr.id]=\"formFieldService.controlErrorId$ | async\" *ngIf=\"error; else hint\">\n <ng-template [odxDynamicView]=\"error.message\" [odxDynamicViewContext]=\"error.context\"></ng-template>\n</span>\n<ng-template #hint>\n <ng-content></ng-content>\n</ng-template>\n","import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, QueryList, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { combineLatest, map, Observable, startWith, switchMap } from 'rxjs';\nimport { FormFieldService } from '../../form-field.service';\nimport { FormFieldError } from '../../models';\nimport { FormFieldErrorService } from '../../services';\nimport { FormFieldInfoComponent } from '../form-field-info/form-field-info.component';\n\n@CSSComponent('form-group')\n@Component({\n standalone: true,\n selector: 'odx-form-group',\n templateUrl: './form-group.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CoreModule, FormFieldInfoComponent],\n providers: [FormFieldService],\n})\nexport class FormGroupComponent implements AfterContentInit {\n public readonly element = injectElement();\n public error$: Observable<FormFieldError | null> | null = null;\n\n @ContentChildren(FormFieldErrorService, { descendants: false })\n public formFieldErrorServices!: QueryList<FormFieldErrorService>;\n\n public ngAfterContentInit() {\n this.error$ = this.formFieldErrorServices.changes.pipe(\n startWith<QueryList<FormFieldErrorService>>(this.formFieldErrorServices),\n switchMap((services) => combineLatest(services.map((service) => service.error$))),\n map((errors) => errors.find((error) => error !== null) ?? null)\n );\n }\n}\n","<div class=\"odx-form-group__content\" odxLayout=\"grid\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n","export type FormFieldVariant = (typeof FormFieldVariant)[keyof typeof FormFieldVariant];\n\nexport const FormFieldVariant = {\n FULL: 'full',\n SIMPLE: 'simple',\n HORIZONTAL: 'horizontal',\n} as const;\n","import { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, ContentChild, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, DisabledController, ReadonlyController } from '@odx/angular';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, reactiveClassBinding } from '@odx/angular/utils';\nimport { BehaviorSubject, combineLatest, map } from 'rxjs';\nimport { FormFieldInfoComponent, FormGroupComponent } from './components';\nimport { FormFieldLabelDirective } from './directives';\nimport { FormFieldService } from './form-field.service';\nimport { FormFieldVariant } from './models';\nimport { FormFieldErrorService } from './services';\n\n@CSSComponent('form-field')\n@Component({\n standalone: true,\n selector: 'odx-form-field',\n imports: [CoreModule, FormFieldInfoComponent, FormFieldLabelDirective],\n templateUrl: './form-field.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [FormFieldService, FormFieldErrorService, DisabledController.connect(), ReadonlyController.connect()],\n})\nexport class FormFieldComponent {\n public static ngAcceptInputType_warnings: string | string[] | null;\n\n protected readonly hasWarning$$ = new BehaviorSubject(false);\n\n protected readonly formGroup = inject(FormGroupComponent, { optional: true, host: true });\n protected readonly formFieldService = inject(FormFieldService, { self: true });\n protected readonly formFieldErrorService = inject(FormFieldErrorService, { self: true });\n public readonly element = injectElement();\n\n @ContentChild(FormFieldLabelDirective)\n public labelDirective?: FormFieldLabelDirective;\n\n @Input()\n public label?: string | null = null;\n\n @Input()\n public set hasWarning(value: unknown) {\n this.hasWarning$$.next(coerceBooleanProperty(value));\n }\n public get hasWarning(): boolean {\n return this.hasWarning$$.getValue();\n }\n\n @CSSModifier()\n @Input()\n public variant: FormFieldVariant | null = FormFieldVariant.FULL;\n\n public get hasLabel(): boolean {\n return !!(this.labelDirective || this.label);\n }\n\n constructor() {\n const hasWarning$ = combineLatest([this.formFieldErrorService.error$, this.hasWarning$$]).pipe(map(([hasError, hasWarning]) => hasError && hasWarning));\n reactiveClassBinding(this.formFieldService.isRequired$, 'odx-form-field--required');\n reactiveClassBinding(this.formFieldService.isDisabled$, 'is-disabled');\n reactiveClassBinding(this.formFieldService.isReadonly$, 'is-readonly');\n reactiveClassBinding(this.formFieldErrorService.hasError$, 'has-error');\n reactiveClassBinding(hasWarning$, 'has-warning');\n }\n}\n","<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <ng-container *ngIf=\"label; else labelTemplate\">\n <odx-form-field-label>{{ label }}</odx-form-field-label>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-container>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-template>\n</label>\n<div class=\"odx-form-field__inner\">\n <div class=\"odx-form-field__control\">\n <div class=\"odx-form-field__prefix\">\n <ng-content select=\"[odxFormFieldPrefix]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"odx-form-field__suffix\">\n <ng-content select=\"[odxFormFieldSuffix]\"></ng-content>\n </div>\n </div>\n <odx-form-field-info [error]=\"formFieldErrorService.error$ | async\" *ngIf=\"!formGroup\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n </odx-form-field-info>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { FormGroupComponent } from './components';\nimport { FormDirective, FormFieldControlDirective, FormFieldErrorDirective, FormFieldHintDirective, FormFieldLabelDirective } from './directives';\nimport { FormFieldComponent } from './form-field.component';\n\nconst modules = [\n FormFieldComponent,\n FormGroupComponent,\n FormDirective,\n FormFieldControlDirective,\n FormFieldErrorDirective,\n FormFieldHintDirective,\n FormFieldLabelDirective,\n];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class FormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAiBa,MAAA,EAAE,sBAAsB,EAAE,eAAe,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,GAAG,kBAAkB,CAC1H,WAAW,EACX,oCAAoC,EACpC;AACE,IAAA,MAAM,EAAE,EAAE;AACV,IAAA,YAAY,EAAE,EAAE;IAChB,QAAQ,EAAE,CAAC,MAAM,CAAC;AACA,CAAA;;ACZhB,MAAO,gBAAiB,SAAQ,UAAU,CAAA;AADhD,IAAA,WAAA,GAAA;;AAEmB,QAAA,IAAA,CAAA,kBAAk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AA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAb1B,kBAAkB;AAClB,QAAA,kBAAkB,EAUR,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;;;ACnBD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-form-field.mjs","sources":["../../../../libs/angular/components/form-field/src/lib/form-field.config.ts","../../../../libs/angular/components/form-field/src/lib/form-field.service.ts","../../../../libs/angular/components/form-field/src/lib/services/form-field-error.service.ts","../../../../libs/angular/components/form-field/src/lib/directives/form.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-control.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-error.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-hint.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-label.directive.ts","../../../../libs/angular/components/form-field/src/lib/components/form-field-info/form-field-info.component.ts","../../../../libs/angular/components/form-field/src/lib/components/form-field-info/form-field-info.component.html","../../../../libs/angular/components/form-field/src/lib/components/form-group/form-group.component.ts","../../../../libs/angular/components/form-field/src/lib/components/form-group/form-group.component.html","../../../../libs/angular/components/form-field/src/lib/models/form-field-variant.ts","../../../../libs/angular/components/form-field/src/lib/form-field.component.ts","../../../../libs/angular/components/form-field/src/lib/form-field.component.html","../../../../libs/angular/components/form-field/src/lib/form-field.module.ts","../../../../libs/angular/components/form-field/src/odx-angular-components-form-field.ts"],"sourcesContent":["import { createConfigTokens } from '@odx/angular/utils';\nimport { FormFieldErrorResolvers } from './models';\n\nexport interface FormFieldConfig {\n /**\n * Object of error resolvers used to resolve error messages globally\n * @default {}\n */\n errors: FormFieldErrorResolvers;\n /**\n * Detect form field control changes on `blur` and/or `change`\n * @default ['blur']\n */\n updateOn: Array<'blur' | 'change'>;\n ignoreErrors: string[];\n}\n\nexport const { FormFieldDefaultConfig, FormFieldConfig, injectFormFieldConfig, provideFormFieldConfig } = createConfigTokens(\n 'FormField',\n '@odx/angular/components/form-field',\n {\n errors: {},\n ignoreErrors: [],\n updateOn: ['blur'],\n } as FormFieldConfig\n);\n","import { ElementRef, Injectable, OnDestroy } from '@angular/core';\nimport { AbstractControl, Validators } from '@angular/forms';\nimport { Controller, DisabledController, ReadonlyController } from '@odx/angular';\nimport { getUniqueId } from '@odx/angular/utils';\nimport { BehaviorSubject, distinctUntilChanged, EMPTY, map, merge, Observable, of, shareReplay, startWith, switchMap, tap } from 'rxjs';\n\ninterface FieldControl {\n control: AbstractControl;\n nativeElement: HTMLElement;\n}\n\n@Injectable()\nexport class FormFieldService extends Controller implements OnDestroy {\n private readonly disabledController = DisabledController.inject();\n private readonly readonlyController = ReadonlyController.inject();\n private readonly control$$ = new BehaviorSubject<FieldControl | null>(null);\n\n public readonly control$ = this.control$$.pipe(shareReplay({ refCount: true }));\n public readonly controlId$ = this.control$.pipe(\n map((control) => (control ? control.nativeElement.id || getUniqueId('odx-form-field') : null)),\n shareReplay({ refCount: true })\n );\n public readonly controlHintId$ = this.controlId$.pipe(\n map((id) => (id ? `${id}-hint` : null)),\n shareReplay({ refCount: true })\n );\n public readonly controlErrorId$ = this.controlId$.pipe(\n map((id) => (id ? `${id}-error` : null)),\n shareReplay({ refCount: true })\n );\n public readonly isDisabled$ = this.control$.pipe(\n switchMap((control) => (control ? merge(this.updateControlDisabledState(control), this.getControlDisabledState(control)) : of(false))),\n distinctUntilChanged(),\n shareReplay({ refCount: true })\n );\n public readonly isRequired$ = this.control$.pipe(\n map((control) => (control ? control.nativeElement.hasAttribute('required') || control.control.hasValidator(Validators.required) : false)),\n shareReplay({ refCount: true })\n );\n public readonly isReadonly$ = this.control$.pipe(\n switchMap((control) => (control && this.readonlyController ? this.readonlyController.isReadonly$ : of(false)))\n );\n\n public override ngOnDestroy(): void {\n this.control$$.complete();\n super.ngOnDestroy();\n }\n\n public registerControl(control: AbstractControl, { nativeElement }: ElementRef<HTMLElement>): void {\n this.control$$.next({ control, nativeElement });\n }\n\n public removeControl(): void {\n this.control$$.next(null);\n }\n\n private updateControlDisabledState({ control }: FieldControl): Observable<boolean> {\n if (this.disabledController) {\n return this.disabledController.isDisabled$.pipe(\n tap((state) => {\n if (state) {\n control.disable();\n } else {\n control.enable();\n }\n })\n );\n }\n return EMPTY;\n }\n\n private getControlDisabledState({ control }: FieldControl): Observable<boolean> {\n return control.statusChanges.pipe(\n startWith(control.status),\n map((status) => status === 'DISABLED'),\n distinctUntilChanged()\n );\n }\n}\n","import { Injectable, OnDestroy, TemplateRef } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\nimport { isTemplateRef } from '@odx/angular/utils';\nimport { BehaviorSubject, combineLatest, distinctUntilChanged, map, shareReplay } from 'rxjs';\nimport { injectFormFieldConfig } from '../form-field.config';\nimport { FormFieldError } from '../models';\n\nconst DEFAULT_CUSTOM_FORM_FIELD_ERROR = '@odx/angular/form-field/default-error';\nconst DEFAULT_ERROR_RESOLVER = () => '';\n\ninterface NgFormFieldError {\n key: string;\n context: unknown;\n}\n\ntype CustomFormFieldErrors = Record<string, TemplateRef<unknown>>;\n\n@Injectable()\nexport class FormFieldErrorService implements OnDestroy {\n private readonly config = injectFormFieldConfig();\n private readonly fieldError$$ = new BehaviorSubject<NgFormFieldError | null>(null);\n private readonly customErrors$$ = new BehaviorSubject<CustomFormFieldErrors>({});\n\n public readonly error$ = combineLatest([this.fieldError$$, this.customErrors$$]).pipe(\n map(([error, customErrors]) => this.resolveError(error, customErrors)),\n distinctUntilChanged(),\n shareReplay({ refCount: true })\n );\n public readonly hasError$ = this.error$.pipe(map((error) => error !== null));\n\n public get hasError(): boolean {\n return this.fieldError$$.getValue() !== null;\n }\n\n public ngOnDestroy(): void {\n this.fieldError$$.next(null);\n this.customErrors$$.next({});\n this.fieldError$$.complete();\n this.customErrors$$.complete();\n }\n\n public setError(errors?: ValidationErrors | null): void {\n this.fieldError$$.next(this.getFirstError(errors ?? {}));\n }\n\n public registerCustomError(key: string | undefined, template: TemplateRef<unknown>): void {\n this.customErrors$$.next({ ...this.customErrors$$.getValue(), [key || DEFAULT_CUSTOM_FORM_FIELD_ERROR]: template });\n }\n\n private getFirstError(errors: ValidationErrors): NgFormFieldError | null {\n const [key, context] = Object.entries(errors ?? {}).find(([errorKey]) => !this.config.ignoreErrors.includes(errorKey)) ?? [];\n\n return key ? { key, context } : null;\n }\n\n private resolveError(error: NgFormFieldError | null, customErrors: CustomFormFieldErrors): FormFieldError | null {\n if (!error) return null;\n const { key, context } = error;\n const message = customErrors[key] ?? customErrors[DEFAULT_CUSTOM_FORM_FIELD_ERROR];\n if (isTemplateRef(message)) {\n return {\n key,\n message,\n context: { $implicit: context },\n };\n }\n\n const getMessage = this.config.errors[key] ?? DEFAULT_ERROR_RESOLVER;\n return { key, message: getMessage(context) };\n }\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\nimport { fromEvent, share } from 'rxjs';\n\n@CSSComponent('form')\n@Directive({\n standalone: true,\n selector: 'form[odxForm]',\n})\nexport class FormDirective {\n private readonly takeUntilDestroyed = untilDestroyed();\n\n public readonly element = injectElement<HTMLFormElement>();\n public readonly submit$ = fromEvent<Event>(this.element.nativeElement, 'submit').pipe(this.takeUntilDestroyed(), share());\n public readonly reset$ = fromEvent<Event>(this.element.nativeElement, 'reset').pipe(this.takeUntilDestroyed(), share());\n}\n","import { Directive, inject, OnDestroy, OnInit } from '@angular/core';\nimport { AbstractControl, FormControl, NgControl } from '@angular/forms';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { booleanToOptionalAttributeString, injectElement, reactiveAttributeBinding, untilDestroyed } from '@odx/angular/utils';\nimport { EMPTY, fromEvent, map, merge, NEVER, Observable, of, startWith, switchMap, tap } from 'rxjs';\nimport { injectFormFieldConfig } from '../form-field.config';\nimport { FormFieldService } from '../form-field.service';\nimport { FormFieldErrorService } from '../services';\nimport { FormDirective } from './form.directive';\n\n@CSSComponent('form-field-control')\n@Directive({\n standalone: true,\n selector: '[odxFormFieldControl]',\n exportAs: 'odxFormFieldControl',\n})\nexport class FormFieldControlDirective implements OnInit, OnDestroy {\n private readonly config = injectFormFieldConfig();\n private readonly ngControl = inject(NgControl, { optional: true, self: true });\n private readonly form = inject(FormDirective, { optional: true, skipSelf: true });\n private readonly onFormReset$ = this.form?.reset$ ?? EMPTY;\n private readonly onFormSubmit$ = this.form?.submit$ ?? EMPTY;\n private readonly formFieldService = inject(FormFieldService);\n private readonly formFieldErrorService = inject(FormFieldErrorService);\n private readonly takeUntilDestroyed = untilDestroyed();\n public readonly element = injectElement();\n\n constructor() {\n reactiveAttributeBinding(this.formFieldService.controlId$, 'id');\n reactiveAttributeBinding(this.formFieldService.controlHintId$, 'aria-describedby');\n reactiveAttributeBinding(this.formFieldService.isReadonly$, 'readonly');\n reactiveAttributeBinding(this.formFieldService.isDisabled$.pipe(map(booleanToOptionalAttributeString)), 'aria-disabled');\n reactiveAttributeBinding(this.formFieldService.isReadonly$.pipe(map(booleanToOptionalAttributeString)), 'aria-readonly');\n reactiveAttributeBinding(this.formFieldService.isRequired$.pipe(map(booleanToOptionalAttributeString)), 'aria-required');\n reactiveAttributeBinding(this.formFieldErrorService.hasError$.pipe(map(booleanToOptionalAttributeString)), 'aria-invalid');\n reactiveAttributeBinding(\n this.formFieldErrorService.hasError$.pipe(switchMap((hasError) => (hasError ? this.formFieldService.controlErrorId$ : of(null)))),\n 'aria-errormessage'\n );\n }\n\n public ngOnInit() {\n const control = this.ngControl?.control;\n this.formFieldService.registerControl(control ?? new FormControl(), this.element);\n if (!control) return;\n\n const controlChanges$ = merge(this.registerOnBlur(control), this.registerOnChange(control), this.registerOnSubmit(control));\n const changes$ = merge(\n this.onFormReset$.pipe(tap(() => this.formFieldErrorService?.setError(null))),\n controlChanges$.pipe(tap(() => this.formFieldErrorService?.setError(control.errors)))\n );\n changes$.pipe(this.takeUntilDestroyed()).subscribe();\n }\n\n public ngOnDestroy(): void {\n this.formFieldService.removeControl();\n }\n\n private registerOnBlur({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('blur')) {\n return fromEvent(this.element.nativeElement, 'focusout').pipe(switchMap(() => valueChanges.pipe(startWith(true))));\n }\n return EMPTY;\n }\n\n private registerOnChange({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('change')) {\n return valueChanges;\n }\n return EMPTY;\n }\n\n private registerOnSubmit({ statusChanges, valueChanges }: AbstractControl): Observable<unknown> {\n return merge(this.onFormSubmit$, this.onFormReset$).pipe(\n switchMap(({ type }) => (type === 'submit' ? merge(statusChanges, valueChanges).pipe(startWith(true)) : NEVER))\n );\n }\n}\n","import { Directive, inject, Input, OnInit, TemplateRef } from '@angular/core';\nimport { FormFieldErrorService } from '../services';\n\n@Directive({\n standalone: true,\n selector: '[odxFormFieldError]',\n})\nexport class FormFieldErrorDirective implements OnInit {\n private readonly formFieldErrorService = inject(FormFieldErrorService, { skipSelf: true });\n private readonly template = inject(TemplateRef, { self: true });\n\n @Input('odxFormFieldError')\n public key?: string;\n\n public ngOnInit() {\n this.formFieldErrorService.registerCustomError(this.key, this.template);\n }\n}\n","import { Directive, inject } from '@angular/core';\nimport { reactiveAttributeBinding } from '@odx/angular/utils';\nimport { FormFieldService } from '../form-field.service';\n\n@Directive({\n standalone: true,\n selector: 'odx-form-field-hint',\n host: {\n '[class.odx-form-field__hint]': 'true',\n },\n})\nexport class FormFieldHintDirective {\n protected readonly formFieldService = inject(FormFieldService, { skipSelf: true });\n\n constructor() {\n reactiveAttributeBinding(inject(FormFieldService).controlHintId$, 'id');\n }\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('form-field-label')\n@Directive({\n standalone: true,\n selector: 'odx-form-field-label',\n})\nexport class FormFieldLabelDirective {\n public readonly element = injectElement();\n}\n","import { Component, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { FormFieldHintDirective } from '../../directives';\nimport { FormFieldService } from '../../form-field.service';\nimport { FormFieldError } from '../../models';\n\n@Component({\n standalone: true,\n selector: 'odx-form-field-info',\n templateUrl: './form-field-info.component.html',\n encapsulation: ViewEncapsulation.None,\n imports: [CoreModule, DynamicViewDirective, FormFieldHintDirective],\n host: {\n '[class.odx-form-field__info]': 'true',\n },\n})\nexport class FormFieldInfoComponent {\n protected readonly formFieldService = inject(FormFieldService);\n\n @Input()\n public error: FormFieldError | null = null;\n}\n","<span class=\"odx-form-field-error\" [attr.id]=\"formFieldService.controlErrorId$ | async\" *ngIf=\"error; else hint\">\n <ng-template [odxDynamicView]=\"error.message\" [odxDynamicViewContext]=\"error.context\"></ng-template>\n</span>\n<ng-template #hint>\n <ng-content></ng-content>\n</ng-template>\n","import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, QueryList, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { combineLatest, map, Observable, startWith, switchMap } from 'rxjs';\nimport { FormFieldService } from '../../form-field.service';\nimport { FormFieldError } from '../../models';\nimport { FormFieldErrorService } from '../../services';\nimport { FormFieldInfoComponent } from '../form-field-info/form-field-info.component';\n\n@CSSComponent('form-group')\n@Component({\n standalone: true,\n selector: 'odx-form-group',\n templateUrl: './form-group.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CoreModule, FormFieldInfoComponent],\n providers: [FormFieldService],\n})\nexport class FormGroupComponent implements AfterContentInit {\n public readonly element = injectElement();\n public error$: Observable<FormFieldError | null> | null = null;\n\n @ContentChildren(FormFieldErrorService, { descendants: false })\n public formFieldErrorServices!: QueryList<FormFieldErrorService>;\n\n public ngAfterContentInit() {\n this.error$ = this.formFieldErrorServices.changes.pipe(\n startWith<QueryList<FormFieldErrorService>>(this.formFieldErrorServices),\n switchMap((services) => combineLatest(services.map((service) => service.error$))),\n map((errors) => errors.find((error) => error !== null) ?? null)\n );\n }\n}\n","<div class=\"odx-form-group__content\" odxLayout=\"grid\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n","export type FormFieldVariant = (typeof FormFieldVariant)[keyof typeof FormFieldVariant];\n\nexport const FormFieldVariant = {\n FULL: 'full',\n SIMPLE: 'simple',\n HORIZONTAL: 'horizontal',\n} as const;\n","import { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, ContentChild, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, DisabledController, ReadonlyController } from '@odx/angular';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, reactiveClassBinding } from '@odx/angular/utils';\nimport { BehaviorSubject, combineLatest, map } from 'rxjs';\nimport { FormFieldInfoComponent, FormGroupComponent } from './components';\nimport { FormFieldLabelDirective } from './directives';\nimport { FormFieldService } from './form-field.service';\nimport { FormFieldVariant } from './models';\nimport { FormFieldErrorService } from './services';\n\n@CSSComponent('form-field')\n@Component({\n standalone: true,\n selector: 'odx-form-field',\n imports: [CoreModule, FormFieldInfoComponent, FormFieldLabelDirective],\n templateUrl: './form-field.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [FormFieldService, FormFieldErrorService, DisabledController.connect(), ReadonlyController.connect()],\n})\nexport class FormFieldComponent {\n public static ngAcceptInputType_warnings: string | string[] | null;\n\n protected readonly hasWarning$$ = new BehaviorSubject(false);\n\n protected readonly formGroup = inject(FormGroupComponent, { optional: true, host: true });\n protected readonly formFieldService = inject(FormFieldService, { self: true });\n protected readonly formFieldErrorService = inject(FormFieldErrorService, { self: true });\n public readonly element = injectElement();\n\n @ContentChild(FormFieldLabelDirective)\n public labelDirective?: FormFieldLabelDirective;\n\n @Input()\n public label?: string | null = null;\n\n @Input()\n public set hasWarning(value: unknown) {\n this.hasWarning$$.next(coerceBooleanProperty(value));\n }\n public get hasWarning(): boolean {\n return this.hasWarning$$.getValue();\n }\n\n @CSSModifier()\n @Input()\n public variant: FormFieldVariant | null = FormFieldVariant.FULL;\n\n public get hasLabel(): boolean {\n return !!(this.labelDirective || this.label);\n }\n\n constructor() {\n const hasWarning$ = combineLatest([this.formFieldErrorService.error$, this.hasWarning$$]).pipe(map(([hasError, hasWarning]) => hasError && hasWarning));\n reactiveClassBinding(this.formFieldService.isRequired$, 'odx-form-field--required');\n reactiveClassBinding(this.formFieldService.isDisabled$, 'is-disabled');\n reactiveClassBinding(this.formFieldService.isReadonly$, 'is-readonly');\n reactiveClassBinding(this.formFieldErrorService.hasError$, 'has-error');\n reactiveClassBinding(hasWarning$, 'has-warning');\n }\n}\n","<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <ng-container *ngIf=\"label; else labelTemplate\">\n <odx-form-field-label>{{ label }}</odx-form-field-label>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-container>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\n <span class=\"odx-form-field__label-is-required\" *ngIf=\"formFieldService.isRequired$ | async\">*</span>\n </ng-template>\n</label>\n<div class=\"odx-form-field__inner\">\n <div class=\"odx-form-field__control\">\n <div class=\"odx-form-field__prefix\">\n <ng-content select=\"[odxFormFieldPrefix]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"odx-form-field__suffix\">\n <ng-content select=\"[odxFormFieldSuffix]\"></ng-content>\n </div>\n </div>\n <odx-form-field-info [error]=\"formFieldErrorService.error$ | async\" *ngIf=\"!formGroup\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n </odx-form-field-info>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { FormGroupComponent } from './components';\nimport { FormDirective, FormFieldControlDirective, FormFieldErrorDirective, FormFieldHintDirective, FormFieldLabelDirective } from './directives';\nimport { FormFieldComponent } from './form-field.component';\n\nconst modules = [\n FormFieldComponent,\n FormGroupComponent,\n FormDirective,\n FormFieldControlDirective,\n FormFieldErrorDirective,\n FormFieldHintDirective,\n FormFieldLabelDirective,\n];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class FormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAiBa,MAAA,EAAE,sBAAsB,EAAE,eAAe,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,GAAG,kBAAkB,CAC1H,WAAW,EACX,oCAAoC,EACpC;AACE,IAAA,MAAM,EAAE,EAAE;AACV,IAAA,YAAY,EAAE,EAAE;IAChB,QAAQ,EAAE,CAAC,MAAM,CAAC;AACA,CAAA;;ACZhB,MAAO,gBAAiB,SAAQ,UAAU,CAAA;AADhD,IAAA,WAAA,GAAA;;AAEmB,QAAA,IAAA,CAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC;AACjD,QAAA,IAAA,CAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC;AACjD,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,eAAe,CAAsB,IAAI,CAAC,CAAC;AAE5D,QA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A,EAAA,CAAA,CAAA;4FAET,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;;;ACnBD;;AAEG;;;;"}
@@ -19,9 +19,9 @@ class HeaderAvatarDirective {
19
19
  this.button.variant = ButtonVariant.GHOST;
20
20
  }
21
21
  }
22
- HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
23
- HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxButton][odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
22
+ HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
23
+ HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxButton][odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
25
25
  type: Directive,
26
26
  args: [{
27
27
  standalone: true,
@@ -34,9 +34,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
34
34
 
35
35
  class HeaderTitleDirective {
36
36
  }
37
- HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
- HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleDirective, decorators: [{
37
+ HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
+ HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTitleDirective, decorators: [{
40
40
  type: Directive,
41
41
  args: [{
42
42
  selector: 'odx-header-title',
@@ -52,12 +52,12 @@ let HeaderComponent = class HeaderComponent {
52
52
  this.element = injectElement();
53
53
  }
54
54
  };
55
- HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
- HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: HeaderComponent, isStandalone: true, selector: "odx-header", ngImport: i0, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-header-title\"></ng-content>\n<ng-content select=\"odx-action-group, odx-auth\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n", dependencies: [{ kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
55
+ HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HeaderComponent, isStandalone: true, selector: "odx-header", ngImport: i0, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-header-title\"></ng-content>\n<ng-content select=\"odx-action-group, odx-auth\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n", dependencies: [{ kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
57
57
  HeaderComponent = __decorate([
58
58
  CSSComponent('header')
59
59
  ], HeaderComponent);
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderComponent, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderComponent, decorators: [{
61
61
  type: Component,
62
62
  args: [{ standalone: true, selector: 'odx-header', imports: [LogoDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-header-title\"></ng-content>\n<ng-content select=\"odx-action-group, odx-auth\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n" }]
63
63
  }] });
@@ -74,8 +74,8 @@ const modules = [
74
74
  ];
75
75
  class HeaderModule {
76
76
  }
77
- HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
- HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
77
+ HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
+ HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
79
79
  HeaderTitleDirective,
80
80
  HeaderAvatarDirective,
81
81
  MainMenuModule,
@@ -90,13 +90,13 @@ HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
90
90
  IconComponent,
91
91
  ButtonComponent,
92
92
  AvatarComponent] });
93
- HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
93
+ HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
94
94
  MainMenuModule,
95
95
  ActionGroupComponent,
96
96
  IconComponent,
97
97
  ButtonComponent,
98
98
  AvatarComponent, CoreModule, MainMenuModule] });
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderModule, decorators: [{
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderModule, decorators: [{
100
100
  type: NgModule,
101
101
  args: [{
102
102
  imports: modules,