@odx/angular 1.0.0-rc.4 → 1.0.0-rc.6

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 (326) hide show
  1. package/animations/index.d.ts +1 -0
  2. package/animations/lib/wait-for-child-animations.d.ts +1 -0
  3. package/cdk/active-indicator/README.md +3 -0
  4. package/cdk/active-indicator/index.d.ts +2 -0
  5. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +24 -0
  6. package/cdk/active-indicator/lib/models/active-indicator-direction.d.ts +5 -0
  7. package/cdk/active-indicator/lib/models/active-indicator-position.d.ts +6 -0
  8. package/cdk/active-indicator/lib/models/index.d.ts +2 -0
  9. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +2 -3
  10. package/cdk/custom-form-control/lib/custom-form-control.d.ts +7 -14
  11. package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +1 -0
  12. package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +1 -0
  13. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +1 -0
  14. package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +1 -0
  15. package/cdk/dynamic-view/lib/models/dynamic-view-options.d.ts +6 -3
  16. package/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.d.ts +3 -0
  17. package/cdk/dynamic-view/lib/tokens/index.d.ts +1 -0
  18. package/components/checkbox/index.d.ts +2 -0
  19. package/components/checkbox/lib/checkbox.module.d.ts +9 -0
  20. package/components/checkbox/lib/checkbox.validator.d.ts +6 -0
  21. package/components/form-field/lib/components/form-group/form-group.component.d.ts +0 -1
  22. package/components/form-field/lib/directives/form-field-control.directive.d.ts +3 -4
  23. package/components/form-field/lib/form-field.config.d.ts +0 -5
  24. package/components/list/README.md +3 -0
  25. package/components/list/index.d.ts +3 -0
  26. package/components/list/lib/components/index.d.ts +1 -0
  27. package/components/list/lib/components/list-item.component.d.ts +14 -0
  28. package/components/list/lib/list.component.d.ts +5 -0
  29. package/components/list/lib/list.module.d.ts +9 -0
  30. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +1 -1
  31. package/components/modal/lib/modal.component.d.ts +2 -2
  32. package/components/modal/lib/modal.service.d.ts +0 -2
  33. package/components/modal/lib/models/index.d.ts +1 -0
  34. package/components/modal/lib/models/modal-options.d.ts +2 -0
  35. package/components/modal/lib/models/modal-variant.d.ts +5 -0
  36. package/components/rail-navigation/README.md +3 -0
  37. package/components/rail-navigation/index.d.ts +3 -0
  38. package/components/rail-navigation/lib/components/rail-navigation-item.component.d.ts +15 -0
  39. package/components/rail-navigation/lib/rail-navigation.component.d.ts +14 -0
  40. package/components/rail-navigation/lib/rail-navigation.module.d.ts +9 -0
  41. package/components/slider/README.md +3 -0
  42. package/components/slider/index.d.ts +1 -0
  43. package/components/slider/lib/slider.directive.d.ts +13 -0
  44. package/components/switch/index.d.ts +2 -0
  45. package/components/switch/lib/switch.module.d.ts +9 -0
  46. package/components/switch/lib/switch.validator.d.ts +6 -0
  47. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +5 -1
  48. package/esm2020/animations/index.mjs +2 -1
  49. package/esm2020/animations/lib/expand.mjs +4 -4
  50. package/esm2020/animations/lib/wait-for-child-animations.mjs +3 -0
  51. package/esm2020/cdk/active-indicator/index.mjs +3 -0
  52. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +127 -0
  53. package/esm2020/cdk/active-indicator/lib/models/active-indicator-direction.mjs +5 -0
  54. package/esm2020/cdk/active-indicator/lib/models/active-indicator-position.mjs +6 -0
  55. package/esm2020/cdk/active-indicator/lib/models/index.mjs +3 -0
  56. package/esm2020/cdk/active-indicator/odx-angular-cdk-active-indicator.mjs +5 -0
  57. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +11 -13
  58. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +4 -4
  59. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +20 -47
  60. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +4 -4
  61. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +5 -5
  62. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +11 -9
  63. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +1 -1
  64. package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +12 -5
  65. package/esm2020/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +9 -5
  66. package/esm2020/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +1 -1
  67. package/esm2020/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +10 -0
  68. package/esm2020/cdk/dynamic-view/lib/tokens/index.mjs +2 -1
  69. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +4 -4
  70. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +4 -4
  71. package/esm2020/cdk/expandable/lib/expandable.module.mjs +5 -5
  72. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +5 -5
  73. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +4 -4
  74. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +5 -5
  75. package/esm2020/components/accordion/lib/accordion.component.mjs +4 -4
  76. package/esm2020/components/accordion/lib/accordion.module.mjs +5 -5
  77. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +4 -4
  78. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +4 -4
  79. package/esm2020/components/action-group/action-group.component.mjs +4 -4
  80. package/esm2020/components/area-header/area-header.component.mjs +5 -5
  81. package/esm2020/components/area-header/area-header.module.mjs +5 -5
  82. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -4
  83. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -4
  84. package/esm2020/components/avatar/lib/avatar.component.mjs +4 -4
  85. package/esm2020/components/badge/lib/badge.component.mjs +6 -6
  86. package/esm2020/components/badge/lib/badge.directive.mjs +7 -7
  87. package/esm2020/components/button/lib/button.component.mjs +5 -5
  88. package/esm2020/components/button-group/lib/button-group.component.mjs +4 -4
  89. package/esm2020/components/checkbox/index.mjs +3 -1
  90. package/esm2020/components/checkbox/lib/checkbox.component.mjs +5 -5
  91. package/esm2020/components/checkbox/lib/checkbox.module.mjs +19 -0
  92. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +28 -0
  93. package/esm2020/components/chip/lib/chip.component.mjs +4 -4
  94. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +4 -4
  95. package/esm2020/components/content-box/lib/content-box.component.mjs +4 -4
  96. package/esm2020/components/content-box/lib/content-box.module.mjs +5 -5
  97. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -4
  98. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -4
  99. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +4 -4
  100. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +11 -13
  101. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +20 -13
  102. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +4 -4
  103. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +4 -4
  104. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +4 -4
  105. package/esm2020/components/form-field/lib/directives/form.directive.mjs +4 -4
  106. package/esm2020/components/form-field/lib/form-field.component.mjs +4 -4
  107. package/esm2020/components/form-field/lib/form-field.config.mjs +1 -2
  108. package/esm2020/components/form-field/lib/form-field.module.mjs +5 -5
  109. package/esm2020/components/form-field/lib/form-field.service.mjs +4 -4
  110. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +4 -4
  111. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +4 -4
  112. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -4
  113. package/esm2020/components/header/lib/header.component.mjs +4 -4
  114. package/esm2020/components/header/lib/header.module.mjs +5 -5
  115. package/esm2020/components/icon/lib/icon.component.mjs +4 -4
  116. package/esm2020/components/link/link.directive.mjs +4 -4
  117. package/esm2020/components/list/index.mjs +4 -0
  118. package/esm2020/components/list/lib/components/index.mjs +2 -0
  119. package/esm2020/components/list/lib/components/list-item.component.mjs +46 -0
  120. package/esm2020/components/list/lib/list.component.mjs +13 -0
  121. package/esm2020/components/list/lib/list.module.mjs +19 -0
  122. package/esm2020/components/list/odx-angular-components-list.mjs +5 -0
  123. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +4 -4
  124. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +7 -7
  125. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +5 -5
  126. package/esm2020/components/loading-spinner/lib/loading-spinner.service.mjs +4 -4
  127. package/esm2020/components/logo/logo.directive.mjs +4 -4
  128. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +4 -4
  129. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +4 -4
  130. package/esm2020/components/main-menu/lib/main-menu.component.mjs +4 -4
  131. package/esm2020/components/main-menu/lib/main-menu.module.mjs +5 -5
  132. package/esm2020/components/main-menu/lib/main-menu.service.mjs +4 -4
  133. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +4 -4
  134. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +4 -4
  135. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +4 -4
  136. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +4 -4
  137. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +4 -4
  138. package/esm2020/components/modal/lib/modal.component.mjs +23 -14
  139. package/esm2020/components/modal/lib/modal.config.mjs +3 -1
  140. package/esm2020/components/modal/lib/modal.directive.mjs +4 -4
  141. package/esm2020/components/modal/lib/modal.module.mjs +5 -5
  142. package/esm2020/components/modal/lib/modal.service.mjs +8 -21
  143. package/esm2020/components/modal/lib/models/index.mjs +2 -1
  144. package/esm2020/components/modal/lib/models/modal-options.mjs +1 -1
  145. package/esm2020/components/modal/lib/models/modal-variant.mjs +5 -0
  146. package/esm2020/components/modal/lib/services/open-modal-manager.service.mjs +4 -4
  147. package/esm2020/components/progress/lib/progress.component.mjs +4 -4
  148. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +5 -5
  149. package/esm2020/components/radio-group/lib/radio-group.component.mjs +4 -4
  150. package/esm2020/components/radio-group/lib/radio-group.module.mjs +5 -5
  151. package/esm2020/components/rail-navigation/index.mjs +4 -0
  152. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +43 -0
  153. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +47 -0
  154. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +19 -0
  155. package/esm2020/components/rail-navigation/odx-angular-components-rail-navigation.mjs +5 -0
  156. package/esm2020/components/slider/index.mjs +2 -0
  157. package/esm2020/components/slider/lib/slider.directive.mjs +45 -0
  158. package/esm2020/components/slider/odx-angular-components-slider.mjs +5 -0
  159. package/esm2020/components/switch/index.mjs +3 -1
  160. package/esm2020/components/switch/lib/switch.component.mjs +5 -5
  161. package/esm2020/components/switch/lib/switch.module.mjs +19 -0
  162. package/esm2020/components/switch/lib/switch.validator.mjs +28 -0
  163. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +5 -5
  164. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +20 -11
  165. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +5 -5
  166. package/esm2020/lib/controllers/controller.mjs +10 -9
  167. package/esm2020/lib/controllers/disabled.controller.mjs +7 -6
  168. package/esm2020/lib/controllers/readonly.controller.mjs +7 -6
  169. package/esm2020/lib/core.module.mjs +5 -5
  170. package/esm2020/lib/directives/click-outside.directive.mjs +4 -4
  171. package/esm2020/lib/services/window-ref.mjs +4 -4
  172. package/esm2020/rxjs/index.mjs +2 -2
  173. package/esm2020/rxjs/lib/from-element-resize.mjs +14 -0
  174. package/esm2020/utils/lib/helpers/angular.mjs +5 -2
  175. package/esm2020/utils/lib/helpers/dom.mjs +24 -1
  176. package/fesm2015/odx-angular-animations.mjs +7 -5
  177. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  178. package/fesm2015/odx-angular-cdk-active-indicator.mjs +142 -0
  179. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -0
  180. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +10 -12
  181. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  182. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +24 -51
  183. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  184. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +46 -25
  185. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  186. package/fesm2015/odx-angular-cdk-expandable.mjs +10 -10
  187. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -1
  188. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +11 -11
  189. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  190. package/fesm2015/odx-angular-components-accordion.mjs +13 -13
  191. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -1
  192. package/fesm2015/odx-angular-components-action-group.mjs +3 -3
  193. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  194. package/fesm2015/odx-angular-components-area-header.mjs +14 -14
  195. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  196. package/fesm2015/odx-angular-components-avatar.mjs +3 -3
  197. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  198. package/fesm2015/odx-angular-components-badge.mjs +10 -10
  199. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  200. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  201. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -1
  202. package/fesm2015/odx-angular-components-button.mjs +4 -5
  203. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  204. package/fesm2015/odx-angular-components-checkbox.mjs +47 -7
  205. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  206. package/fesm2015/odx-angular-components-chip.mjs +3 -3
  207. package/fesm2015/odx-angular-components-chip.mjs.map +1 -1
  208. package/fesm2015/odx-angular-components-circular-progress.mjs +3 -3
  209. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -1
  210. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  211. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  212. package/fesm2015/odx-angular-components-form-field.mjs +52 -51
  213. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  214. package/fesm2015/odx-angular-components-header.mjs +13 -13
  215. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  216. package/fesm2015/odx-angular-components-icon.mjs +3 -3
  217. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  218. package/fesm2015/odx-angular-components-link.mjs +3 -3
  219. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  220. package/fesm2015/odx-angular-components-list.mjs +79 -0
  221. package/fesm2015/odx-angular-components-list.mjs.map +1 -0
  222. package/fesm2015/odx-angular-components-loading-spinner.mjs +16 -16
  223. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -1
  224. package/fesm2015/odx-angular-components-logo.mjs +3 -3
  225. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  226. package/fesm2015/odx-angular-components-main-menu.mjs +16 -16
  227. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  228. package/fesm2015/odx-angular-components-modal.mjs +61 -58
  229. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  230. package/fesm2015/odx-angular-components-progress.mjs +3 -3
  231. package/fesm2015/odx-angular-components-progress.mjs.map +1 -1
  232. package/fesm2015/odx-angular-components-radio-group.mjs +11 -11
  233. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  234. package/fesm2015/odx-angular-components-rail-navigation.mjs +103 -0
  235. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -0
  236. package/fesm2015/odx-angular-components-slider.mjs +51 -0
  237. package/fesm2015/odx-angular-components-slider.mjs.map +1 -0
  238. package/fesm2015/odx-angular-components-switch.mjs +47 -7
  239. package/fesm2015/odx-angular-components-switch.mjs.map +1 -1
  240. package/fesm2015/odx-angular-components-toggle-button-group.mjs +26 -18
  241. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -1
  242. package/fesm2015/odx-angular-rxjs.mjs +15 -6
  243. package/fesm2015/odx-angular-rxjs.mjs.map +1 -1
  244. package/fesm2015/odx-angular-utils.mjs +28 -2
  245. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  246. package/fesm2015/odx-angular.mjs +32 -28
  247. package/fesm2015/odx-angular.mjs.map +1 -1
  248. package/fesm2020/odx-angular-animations.mjs +7 -5
  249. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  250. package/fesm2020/odx-angular-cdk-active-indicator.mjs +142 -0
  251. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -0
  252. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +10 -12
  253. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  254. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +22 -49
  255. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  256. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +42 -22
  257. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  258. package/fesm2020/odx-angular-cdk-expandable.mjs +10 -10
  259. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -1
  260. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +11 -11
  261. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  262. package/fesm2020/odx-angular-components-accordion.mjs +13 -13
  263. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -1
  264. package/fesm2020/odx-angular-components-action-group.mjs +3 -3
  265. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  266. package/fesm2020/odx-angular-components-area-header.mjs +14 -14
  267. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  268. package/fesm2020/odx-angular-components-avatar.mjs +3 -3
  269. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  270. package/fesm2020/odx-angular-components-badge.mjs +10 -10
  271. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  272. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  273. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -1
  274. package/fesm2020/odx-angular-components-button.mjs +4 -4
  275. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  276. package/fesm2020/odx-angular-components-checkbox.mjs +47 -7
  277. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  278. package/fesm2020/odx-angular-components-chip.mjs +3 -3
  279. package/fesm2020/odx-angular-components-chip.mjs.map +1 -1
  280. package/fesm2020/odx-angular-components-circular-progress.mjs +3 -3
  281. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -1
  282. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  283. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  284. package/fesm2020/odx-angular-components-form-field.mjs +52 -51
  285. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  286. package/fesm2020/odx-angular-components-header.mjs +13 -13
  287. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  288. package/fesm2020/odx-angular-components-icon.mjs +3 -3
  289. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  290. package/fesm2020/odx-angular-components-link.mjs +3 -3
  291. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  292. package/fesm2020/odx-angular-components-list.mjs +78 -0
  293. package/fesm2020/odx-angular-components-list.mjs.map +1 -0
  294. package/fesm2020/odx-angular-components-loading-spinner.mjs +16 -16
  295. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -1
  296. package/fesm2020/odx-angular-components-logo.mjs +3 -3
  297. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  298. package/fesm2020/odx-angular-components-main-menu.mjs +16 -16
  299. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  300. package/fesm2020/odx-angular-components-modal.mjs +61 -58
  301. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  302. package/fesm2020/odx-angular-components-progress.mjs +3 -3
  303. package/fesm2020/odx-angular-components-progress.mjs.map +1 -1
  304. package/fesm2020/odx-angular-components-radio-group.mjs +11 -11
  305. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  306. package/fesm2020/odx-angular-components-rail-navigation.mjs +102 -0
  307. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -0
  308. package/fesm2020/odx-angular-components-slider.mjs +51 -0
  309. package/fesm2020/odx-angular-components-slider.mjs.map +1 -0
  310. package/fesm2020/odx-angular-components-switch.mjs +47 -7
  311. package/fesm2020/odx-angular-components-switch.mjs.map +1 -1
  312. package/fesm2020/odx-angular-components-toggle-button-group.mjs +26 -18
  313. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -1
  314. package/fesm2020/odx-angular-rxjs.mjs +15 -6
  315. package/fesm2020/odx-angular-rxjs.mjs.map +1 -1
  316. package/fesm2020/odx-angular-utils.mjs +28 -2
  317. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  318. package/fesm2020/odx-angular.mjs +32 -28
  319. package/fesm2020/odx-angular.mjs.map +1 -1
  320. package/package.json +34 -2
  321. package/rxjs/index.d.ts +1 -1
  322. package/rxjs/lib/from-element-resize.d.ts +2 -0
  323. package/utils/lib/helpers/angular.d.ts +2 -1
  324. package/utils/lib/helpers/dom.d.ts +5 -1
  325. package/esm2020/rxjs/lib/mark-for-check.mjs +0 -5
  326. package/rxjs/lib/mark-for-check.d.ts +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-content-box.mjs","sources":["../../../../libs/angular/components/content-box/src/lib/content-box.component.ts","../../../../libs/angular/components/content-box/src/lib/content-box.component.html","../../../../libs/angular/components/content-box/src/lib/directives/content-box-footer-directive.ts","../../../../libs/angular/components/content-box/src/lib/directives/content-box-header-directive.ts","../../../../libs/angular/components/content-box/src/lib/content-box.module.ts","../../../../libs/angular/components/content-box/src/odx-angular-components-content-box.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-content-box',\n standalone: true,\n templateUrl: './content-box.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.odx-content-box]': 'true',\n },\n})\nexport class ContentBoxComponent {}\n","<ng-content select=\"odx-area-header, odx-content-box-header\"></ng-content>\n<div class=\"odx-content-box__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"odx-content-box-footer\"></ng-content>\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'odx-content-box-footer',\n standalone: true,\n host: {\n '[class.odx-content-box__footer]': 'true',\n },\n})\nexport class ContentBoxFooterDirective {}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'odx-content-box-header',\n standalone: true,\n host: {\n '[class.odx-content-box__header]': 'true',\n },\n})\nexport class ContentBoxHeaderDirective {}\n","import { NgModule } from '@angular/core';\nimport { ContentBoxComponent } from './content-box.component';\nimport { ContentBoxFooterDirective } from './directives/content-box-footer-directive';\nimport { ContentBoxHeaderDirective } from './directives/content-box-header-directive';\n\nconst modules = [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class ContentBoxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAYa,mBAAmB,CAAA;;gHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA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libs/angular/components/content-box/src/lib/content-box.component.ts","../../../../libs/angular/components/content-box/src/lib/content-box.component.html","../../../../libs/angular/components/content-box/src/lib/directives/content-box-footer-directive.ts","../../../../libs/angular/components/content-box/src/lib/directives/content-box-header-directive.ts","../../../../libs/angular/components/content-box/src/lib/content-box.module.ts","../../../../libs/angular/components/content-box/src/odx-angular-components-content-box.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-content-box',\n standalone: true,\n templateUrl: './content-box.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.odx-content-box]': 'true',\n },\n})\nexport class ContentBoxComponent {}\n","<ng-content select=\"odx-area-header, odx-content-box-header\"></ng-content>\n<div class=\"odx-content-box__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"odx-content-box-footer\"></ng-content>\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'odx-content-box-footer',\n standalone: true,\n host: {\n '[class.odx-content-box__footer]': 'true',\n },\n})\nexport class ContentBoxFooterDirective {}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'odx-content-box-header',\n standalone: true,\n host: {\n '[class.odx-content-box__header]': 'true',\n },\n})\nexport class ContentBoxHeaderDirective {}\n","import { NgModule } from '@angular/core';\nimport { ContentBoxComponent } from './content-box.component';\nimport { ContentBoxFooterDirective } from './directives/content-box-footer-directive';\nimport { ContentBoxHeaderDirective } from './directives/content-box-header-directive';\n\nconst modules = [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class ContentBoxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAYa,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA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2
  import { Injectable, Directive, inject, TemplateRef, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren, ContentChild, NgModule } from '@angular/core';
3
3
  import { Controller, DisabledController, ReadonlyController, CoreModule } from '@odx/angular';
4
4
  import { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';
5
+ import { __decorate, __metadata } from 'tslib';
5
6
  import { Validators, NgControl, FormControl } from '@angular/forms';
7
+ import { CSSComponent } from '@odx/angular/internal';
6
8
  import { createModuleConfigTokens, isTemplateRef, isFunction, untilDestroyed, injectElement, reactiveAttributeBinding, booleanToOptionalAttributeString, reactiveClassBinding, provideModuleConfig } from '@odx/angular/utils';
7
9
  import { BehaviorSubject, shareReplay, map, switchMap, merge, of, distinctUntilChanged, tap, EMPTY, startWith, combineLatest, fromEvent, share, NEVER } from 'rxjs';
8
- import { __decorate, __metadata } from 'tslib';
9
- import { CSSComponent } from '@odx/angular/internal';
10
10
  import * as i1 from '@angular/common';
11
11
 
12
12
  const { FormFieldDefaultModuleConfig, FormFieldModuleConfig, injectFormFieldModuleConfig } = createModuleConfigTokens('FormField', '@odx/angular/components/form-field', {
13
13
  errors: {},
14
- blurPredicate: ({ tagName }) => ['input', 'select', 'textarea'].includes(tagName.toLowerCase()),
15
14
  updateOn: ['blur'],
16
15
  });
17
16
 
@@ -57,9 +56,9 @@ class FormFieldService extends Controller {
57
56
  }
58
57
  }
59
58
  FormFieldService.ID = 0;
60
- FormFieldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
61
- FormFieldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldService });
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldService, decorators: [{
59
+ FormFieldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
60
+ FormFieldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldService });
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldService, decorators: [{
63
62
  type: Injectable
64
63
  }] });
65
64
 
@@ -108,9 +107,9 @@ class FormFieldErrorService {
108
107
  return isFunction(getMessage) ? { message: getMessage(context) } : null;
109
108
  }
110
109
  }
111
- FormFieldErrorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
112
- FormFieldErrorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldErrorService });
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldErrorService, decorators: [{
110
+ FormFieldErrorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
111
+ FormFieldErrorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldErrorService });
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldErrorService, decorators: [{
114
113
  type: Injectable
115
114
  }] });
116
115
 
@@ -122,12 +121,12 @@ let FormDirective = class FormDirective {
122
121
  this.reset$ = fromEvent(this.element.nativeElement, 'reset').pipe(this.takeUntilDestroyed(), share());
123
122
  }
124
123
  };
125
- FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
126
- FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: FormDirective, isStandalone: true, selector: "form[odxForm]", ngImport: i0 });
124
+ FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
125
+ FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: FormDirective, isStandalone: true, selector: "form[odxForm]", ngImport: i0 });
127
126
  FormDirective = __decorate([
128
127
  CSSComponent('form')
129
128
  ], FormDirective);
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormDirective, decorators: [{
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormDirective, decorators: [{
131
130
  type: Directive,
132
131
  args: [{
133
132
  standalone: true,
@@ -135,18 +134,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
135
134
  }]
136
135
  }] });
137
136
 
138
- class FormFieldControlDirective {
137
+ let FormFieldControlDirective = class FormFieldControlDirective {
139
138
  constructor() {
140
139
  this.config = injectFormFieldModuleConfig();
141
- this.element = injectElement();
142
140
  this.ngControl = inject(NgControl, { optional: true, self: true });
143
141
  this.form = inject(FormDirective, { optional: true, skipSelf: true });
144
142
  this.onFormReset$ = this.form?.reset$ ?? EMPTY;
145
143
  this.onFormSubmit$ = this.form?.submit$ ?? EMPTY;
146
144
  this.formFieldService = inject(FormFieldService);
147
145
  this.formFieldErrorService = inject(FormFieldErrorService);
148
- this.isInput = this.config.blurPredicate(this.element.nativeElement);
149
146
  this.takeUntilDestroyed = untilDestroyed();
147
+ this.element = injectElement();
150
148
  reactiveAttributeBinding(this.formFieldService.controlId$, 'id');
151
149
  reactiveAttributeBinding(this.formFieldService.controlHintId$, 'aria-describedby');
152
150
  reactiveAttributeBinding(this.formFieldService.isReadonly$, 'readonly');
@@ -165,17 +163,17 @@ class FormFieldControlDirective {
165
163
  const changes$ = merge(this.onFormReset$.pipe(tap(() => this.formFieldErrorService?.setError(null))), controlChanges$.pipe(tap(() => this.formFieldErrorService?.setError(control.errors))));
166
164
  changes$.pipe(this.takeUntilDestroyed()).subscribe();
167
165
  }
166
+ ngOnDestroy() {
167
+ this.formFieldService.removeControl();
168
+ }
168
169
  registerOnBlur({ valueChanges }) {
169
- if (this.config.updateOn.includes('blur') && this.isInput) {
170
+ if (this.config.updateOn.includes('blur')) {
170
171
  return fromEvent(this.element.nativeElement, 'focusout').pipe(switchMap(() => valueChanges.pipe(startWith(true))));
171
172
  }
172
173
  return EMPTY;
173
174
  }
174
- ngOnDestroy() {
175
- this.formFieldService.removeControl();
176
- }
177
175
  registerOnChange({ valueChanges }) {
178
- if (this.config.updateOn.includes('change') && this.isInput) {
176
+ if (this.config.updateOn.includes('change')) {
179
177
  return valueChanges;
180
178
  }
181
179
  return EMPTY;
@@ -183,14 +181,19 @@ class FormFieldControlDirective {
183
181
  registerOnSubmit({ statusChanges, valueChanges }) {
184
182
  return merge(this.onFormSubmit$, this.onFormReset$).pipe(switchMap(({ type }) => (type === 'submit' ? merge(statusChanges, valueChanges).pipe(startWith(true)) : NEVER)));
185
183
  }
186
- }
187
- FormFieldControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
188
- FormFieldControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: FormFieldControlDirective, isStandalone: true, selector: "[odxFormFieldControl]", ngImport: i0 });
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldControlDirective, decorators: [{
184
+ };
185
+ FormFieldControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
186
+ FormFieldControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: FormFieldControlDirective, isStandalone: true, selector: "[odxFormFieldControl]", exportAs: ["odxFormFieldControl"], ngImport: i0 });
187
+ FormFieldControlDirective = __decorate([
188
+ CSSComponent('form-field-control'),
189
+ __metadata("design:paramtypes", [])
190
+ ], FormFieldControlDirective);
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldControlDirective, decorators: [{
190
192
  type: Directive,
191
193
  args: [{
192
194
  standalone: true,
193
195
  selector: '[odxFormFieldControl]',
196
+ exportAs: 'odxFormFieldControl',
194
197
  }]
195
198
  }], ctorParameters: function () { return []; } });
196
199
 
@@ -203,9 +206,9 @@ class FormFieldErrorDirective {
203
206
  this.formFieldErrorService.registerCustomError(this.key, this.template);
204
207
  }
205
208
  }
206
- FormFieldErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
207
- FormFieldErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: FormFieldErrorDirective, isStandalone: true, selector: "[odxFormFieldError]", inputs: { key: ["odxFormFieldError", "key"] }, ngImport: i0 });
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldErrorDirective, decorators: [{
209
+ FormFieldErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
210
+ FormFieldErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: FormFieldErrorDirective, isStandalone: true, selector: "[odxFormFieldError]", inputs: { key: ["odxFormFieldError", "key"] }, ngImport: i0 });
211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldErrorDirective, decorators: [{
209
212
  type: Directive,
210
213
  args: [{
211
214
  standalone: true,
@@ -222,9 +225,9 @@ class FormFieldHintDirective {
222
225
  reactiveAttributeBinding(inject(FormFieldService).controlHintId$, 'id');
223
226
  }
224
227
  }
225
- FormFieldHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
226
- FormFieldHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: FormFieldHintDirective, isStandalone: true, selector: "odx-form-field-hint", host: { properties: { "class.odx-form-field__hint": "true" } }, ngImport: i0 });
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldHintDirective, decorators: [{
228
+ FormFieldHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
229
+ FormFieldHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: FormFieldHintDirective, isStandalone: true, selector: "odx-form-field-hint", host: { properties: { "class.odx-form-field__hint": "true" } }, ngImport: i0 });
230
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldHintDirective, decorators: [{
228
231
  type: Directive,
229
232
  args: [{
230
233
  standalone: true,
@@ -240,12 +243,12 @@ let FormFieldLabelDirective = class FormFieldLabelDirective {
240
243
  this.element = injectElement();
241
244
  }
242
245
  };
243
- FormFieldLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
244
- FormFieldLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: FormFieldLabelDirective, isStandalone: true, selector: "odx-form-field-label", ngImport: i0 });
246
+ FormFieldLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
247
+ FormFieldLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: FormFieldLabelDirective, isStandalone: true, selector: "odx-form-field-label", ngImport: i0 });
245
248
  FormFieldLabelDirective = __decorate([
246
249
  CSSComponent('form-field-label')
247
250
  ], FormFieldLabelDirective);
248
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldLabelDirective, decorators: [{
251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldLabelDirective, decorators: [{
249
252
  type: Directive,
250
253
  args: [{
251
254
  standalone: true,
@@ -259,9 +262,9 @@ class FormFieldInfoComponent {
259
262
  this.error = null;
260
263
  }
261
264
  }
262
- FormFieldInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
263
- FormFieldInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.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 });
264
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldInfoComponent, decorators: [{
265
+ FormFieldInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
266
+ FormFieldInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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 });
267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldInfoComponent, decorators: [{
265
268
  type: Component,
266
269
  args: [{ standalone: true, selector: 'odx-form-field-info', encapsulation: ViewEncapsulation.None, imports: [CoreModule, DynamicViewDirective, FormFieldHintDirective], host: {
267
270
  '[class.odx-form-field__info]': 'true',
@@ -274,22 +277,20 @@ let FormGroupComponent = class FormGroupComponent {
274
277
  constructor() {
275
278
  this.element = injectElement();
276
279
  this.error$ = null;
277
- reactiveClassBinding(inject(FormFieldService).isReadonly$, 'is-readonly');
278
280
  }
279
281
  ngAfterContentInit() {
280
282
  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));
281
283
  }
282
284
  };
283
- FormGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
284
- FormGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: FormGroupComponent, isStandalone: true, selector: "odx-form-group", providers: [FormFieldService, DisabledController.connect(), ReadonlyController.connect()], queries: [{ propertyName: "formFieldErrorServices", predicate: FormFieldErrorService }], ngImport: i0, template: "<div class=\"odx-form-group__content\" odxLayout=\"grid auto vertical-end\">\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 });
285
+ FormGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
286
+ FormGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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 auto vertical-end\">\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 });
285
287
  FormGroupComponent = __decorate([
286
- CSSComponent('form-group'),
287
- __metadata("design:paramtypes", [])
288
+ CSSComponent('form-group')
288
289
  ], FormGroupComponent);
289
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormGroupComponent, decorators: [{
290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormGroupComponent, decorators: [{
290
291
  type: Component,
291
- args: [{ standalone: true, selector: 'odx-form-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CoreModule, FormFieldInfoComponent], providers: [FormFieldService, DisabledController.connect(), ReadonlyController.connect()], template: "<div class=\"odx-form-group__content\" odxLayout=\"grid auto vertical-end\">\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" }]
292
- }], ctorParameters: function () { return []; }, propDecorators: { formFieldErrorServices: [{
292
+ 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 auto vertical-end\">\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" }]
293
+ }], propDecorators: { formFieldErrorServices: [{
293
294
  type: ContentChildren,
294
295
  args: [FormFieldErrorService, { descendants: false }]
295
296
  }] } });
@@ -313,13 +314,13 @@ let FormFieldComponent = class FormFieldComponent {
313
314
  return !this.formGroup;
314
315
  }
315
316
  };
316
- FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
317
- FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: FormFieldComponent, isStandalone: true, selector: "odx-form-field", inputs: { label: "label" }, 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 <odx-form-field-label *ngIf=\"label; else labelTemplate\">\n {{ label }}\n </odx-form-field-label>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\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 });
317
+ FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
318
+ FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: FormFieldComponent, isStandalone: true, selector: "odx-form-field", inputs: { label: "label" }, 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 <odx-form-field-label *ngIf=\"label; else labelTemplate\">\n {{ label }}\n </odx-form-field-label>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\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 });
318
319
  FormFieldComponent = __decorate([
319
320
  CSSComponent('form-field'),
320
321
  __metadata("design:paramtypes", [])
321
322
  ], FormFieldComponent);
322
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldComponent, decorators: [{
323
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldComponent, decorators: [{
323
324
  type: Component,
324
325
  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 <odx-form-field-label *ngIf=\"label; else labelTemplate\">\n {{ label }}\n </odx-form-field-label>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\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" }]
325
326
  }], ctorParameters: function () { return []; }, propDecorators: { labelDirective: [{
@@ -346,8 +347,8 @@ class FormFieldModule {
346
347
  };
347
348
  }
348
349
  }
349
- FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
350
- FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
350
+ FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
351
+ FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
351
352
  FormGroupComponent,
352
353
  FormDirective,
353
354
  FormFieldControlDirective,
@@ -360,9 +361,9 @@ FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
360
361
  FormFieldErrorDirective,
361
362
  FormFieldHintDirective,
362
363
  FormFieldLabelDirective] });
363
- FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
364
+ FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
364
365
  FormGroupComponent, CoreModule] });
365
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: FormFieldModule, decorators: [{
366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormFieldModule, decorators: [{
366
367
  type: NgModule,
367
368
  args: [{
368
369
  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/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 { createModuleConfigTokens } from '@odx/angular/utils';\nimport { FormFieldErrorResolvers } from './models';\n\nexport interface FormFieldModuleConfig {\n /**\n * Object of error resolvers used to resolve error messages globally\n * @default {}\n */\n errors: FormFieldErrorResolvers;\n /**\n * Detect if native control element supports the `blur` event\n * @default ({ tagName }: Element) => ['input', 'select', 'textarea'].includes(tagName.toLowerCase())\n * */\n blurPredicate: (element: Element) => boolean;\n /**\n * Detect form field control changes on `blur` and/or `change`\n * @default ['blur']\n */\n updateOn: Array<'blur' | 'change'>;\n}\n\nexport const { FormFieldDefaultModuleConfig, FormFieldModuleConfig, injectFormFieldModuleConfig } = createModuleConfigTokens(\n 'FormField',\n '@odx/angular/components/form-field',\n {\n errors: {},\n blurPredicate: ({ tagName }: Element) => ['input', 'select', 'textarea'].includes(tagName.toLowerCase()),\n updateOn: ['blur'],\n } as FormFieldModuleConfig\n);\n","import { ElementRef, Injectable, OnDestroy } from '@angular/core';\nimport { AbstractControl, Validators } from '@angular/forms';\nimport { Controller, DisabledController, ReadonlyController } from '@odx/angular';\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 static ID = 0;\n\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 || `odx-form-field-${FormFieldService.ID++}` : 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 { isFunction, isTemplateRef } from '@odx/angular/utils';\nimport { BehaviorSubject, combineLatest, distinctUntilChanged, map, shareReplay } from 'rxjs';\nimport { injectFormFieldModuleConfig } from '../form-field.config';\nimport { FormFieldError } from '../models';\n\nconst DEFAULT_CUSTOM_FORM_FIELD_ERROR = '@odx/angular/form-field/default-error';\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 = injectFormFieldModuleConfig();\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 if (!errors) {\n this.fieldError$$.next(null);\n } else {\n const [key, context] = Object.entries(errors)[0];\n this.fieldError$$.next({ key, context });\n }\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 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 message,\n context: { $implicit: context },\n };\n }\n\n const getMessage = this.config.errors[key] ?? null;\n return isFunction(getMessage) ? { message: getMessage(context) } : null;\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 { booleanToOptionalAttributeString, injectElement, reactiveAttributeBinding, untilDestroyed } from '@odx/angular/utils';\nimport { EMPTY, fromEvent, map, merge, NEVER, Observable, of, startWith, switchMap, tap } from 'rxjs';\nimport { injectFormFieldModuleConfig } from '../form-field.config';\nimport { FormFieldService } from '../form-field.service';\nimport { FormFieldErrorService } from '../services';\nimport { FormDirective } from './form.directive';\n\n@Directive({\n standalone: true,\n selector: '[odxFormFieldControl]',\n})\nexport class FormFieldControlDirective implements OnInit, OnDestroy {\n private readonly config = injectFormFieldModuleConfig();\n private readonly element = injectElement();\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 isInput = this.config.blurPredicate(this.element.nativeElement);\n private readonly takeUntilDestroyed = untilDestroyed();\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 private registerOnBlur({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('blur') && this.isInput) {\n return fromEvent(this.element.nativeElement, 'focusout').pipe(switchMap(() => valueChanges.pipe(startWith(true))));\n }\n return EMPTY;\n }\n\n public ngOnDestroy(): void {\n this.formFieldService.removeControl();\n }\n\n private registerOnChange({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('change') && this.isInput) {\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, inject, QueryList, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, DisabledController, ReadonlyController } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, reactiveClassBinding } 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, DisabledController.connect(), ReadonlyController.connect()],\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 constructor() {\n reactiveClassBinding(inject(FormFieldService).isReadonly$, 'is-readonly');\n }\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 auto vertical-end\">\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","import { ChangeDetectionStrategy, Component, ContentChild, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, DisabledController, ReadonlyController } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, reactiveClassBinding } from '@odx/angular/utils';\nimport { FormFieldInfoComponent, FormGroupComponent } from './components';\nimport { FormFieldLabelDirective } from './directives';\nimport { FormFieldService } from './form-field.service';\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 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 public get hasLabel(): boolean {\n return !!(this.labelDirective || this.label);\n }\n\n public get isStandalone(): boolean {\n return !this.formGroup;\n }\n\n constructor() {\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 }\n}\n","<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <odx-form-field-label *ngIf=\"label; else labelTemplate\">\n {{ label }}\n </odx-form-field-label>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\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 { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { ModuleConfigDependencies, ModuleConfigProvider, provideModuleConfig } from '@odx/angular/utils';\nimport { FormGroupComponent } from './components';\nimport { FormDirective, FormFieldControlDirective, FormFieldErrorDirective, FormFieldHintDirective, FormFieldLabelDirective } from './directives';\nimport { FormFieldComponent } from './form-field.component';\nimport { FormFieldModuleConfig } from './form-field.config';\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 public static forRoot<D extends ModuleConfigDependencies>(\n config: ModuleConfigProvider<Partial<FormFieldModuleConfig>, D>\n ): ModuleWithProviders<FormFieldModule> {\n return {\n ngModule: FormFieldModule,\n providers: [provideModuleConfig(FormFieldModuleConfig, config)],\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAqBO,MAAM,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,GAAG,wBAAwB,CAC1H,WAAW,EACX,oCAAoC,EACpC;AACE,IAAA,MAAM,EAAE,EAAE;IACV,aAAa,EAAE,CAAC,EAAE,OAAO,EAAW,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;IACxG,QAAQ,EAAE,CAAC,MAAM,CAAC;AACM,CAAA,CAC3B;;AClBK,MAAO,gBAAiB,SAAQ,UAAU,CAAA;AADhD,IAAA,WAAA,GAAA;;AAImB,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,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAChE,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAC7C,GAAG,CAAC,CAAC,OAAO,MAAM,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC,EAAE,IAAI,CAAA,eAAA,EAAkB,gBAAgB,CAAC,EAAE,EAAE,CAAE,CAAA,GAAG,IAAI,CAAC,CAAC,EAC1G,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAChC,CAAC;AACc,QAA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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;;;ACrBD;;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/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 { createModuleConfigTokens } from '@odx/angular/utils';\nimport { FormFieldErrorResolvers } from './models';\n\nexport interface FormFieldModuleConfig {\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}\n\nexport const { FormFieldDefaultModuleConfig, FormFieldModuleConfig, injectFormFieldModuleConfig } = createModuleConfigTokens(\n 'FormField',\n '@odx/angular/components/form-field',\n {\n errors: {},\n updateOn: ['blur'],\n } as FormFieldModuleConfig\n);\n","import { ElementRef, Injectable, OnDestroy } from '@angular/core';\nimport { AbstractControl, Validators } from '@angular/forms';\nimport { Controller, DisabledController, ReadonlyController } from '@odx/angular';\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 static ID = 0;\n\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 || `odx-form-field-${FormFieldService.ID++}` : 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 { isFunction, isTemplateRef } from '@odx/angular/utils';\nimport { BehaviorSubject, combineLatest, distinctUntilChanged, map, shareReplay } from 'rxjs';\nimport { injectFormFieldModuleConfig } from '../form-field.config';\nimport { FormFieldError } from '../models';\n\nconst DEFAULT_CUSTOM_FORM_FIELD_ERROR = '@odx/angular/form-field/default-error';\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 = injectFormFieldModuleConfig();\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 if (!errors) {\n this.fieldError$$.next(null);\n } else {\n const [key, context] = Object.entries(errors)[0];\n this.fieldError$$.next({ key, context });\n }\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 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 message,\n context: { $implicit: context },\n };\n }\n\n const getMessage = this.config.errors[key] ?? null;\n return isFunction(getMessage) ? { message: getMessage(context) } : null;\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 { injectFormFieldModuleConfig } 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 = injectFormFieldModuleConfig();\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 auto vertical-end\">\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","import { ChangeDetectionStrategy, Component, ContentChild, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, DisabledController, ReadonlyController } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, reactiveClassBinding } from '@odx/angular/utils';\nimport { FormFieldInfoComponent, FormGroupComponent } from './components';\nimport { FormFieldLabelDirective } from './directives';\nimport { FormFieldService } from './form-field.service';\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 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 public get hasLabel(): boolean {\n return !!(this.labelDirective || this.label);\n }\n\n public get isStandalone(): boolean {\n return !this.formGroup;\n }\n\n constructor() {\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 }\n}\n","<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <odx-form-field-label *ngIf=\"label; else labelTemplate\">\n {{ label }}\n </odx-form-field-label>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\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 { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { ModuleConfigDependencies, ModuleConfigProvider, provideModuleConfig } from '@odx/angular/utils';\nimport { FormGroupComponent } from './components';\nimport { FormDirective, FormFieldControlDirective, FormFieldErrorDirective, FormFieldHintDirective, FormFieldLabelDirective } from './directives';\nimport { FormFieldComponent } from './form-field.component';\nimport { FormFieldModuleConfig } from './form-field.config';\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 public static forRoot<D extends ModuleConfigDependencies>(\n config: ModuleConfigProvider<Partial<FormFieldModuleConfig>, D>\n ): ModuleWithProviders<FormFieldModule> {\n return {\n ngModule: FormFieldModule,\n providers: [provideModuleConfig(FormFieldModuleConfig, config)],\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from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ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18
- HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
17
+ HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18
+ HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
20
20
  type: Directive,
21
21
  args: [{
22
22
  standalone: true,
@@ -29,9 +29,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
29
29
 
30
30
  class HeaderTitleDirective {
31
31
  }
32
- HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
- HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.9", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderTitleDirective, decorators: [{
32
+ HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
+ HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderTitleDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: 'odx-header-title',
@@ -47,12 +47,12 @@ let HeaderComponent = class HeaderComponent {
47
47
  this.element = injectElement();
48
48
  }
49
49
  };
50
- HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
51
- HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: HeaderComponent, isStandalone: true, selector: "odx-header", ngImport: i0, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
50
+ HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
51
+ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: HeaderComponent, isStandalone: true, selector: "odx-header", ngImport: i0, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
52
52
  HeaderComponent = __decorate([
53
53
  CSSComponent('header')
54
54
  ], HeaderComponent);
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderComponent, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderComponent, decorators: [{
56
56
  type: Component,
57
57
  args: [{ standalone: true, selector: 'odx-header', imports: [CommonModule, LogoDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n" }]
58
58
  }] });
@@ -70,8 +70,8 @@ const modules = [
70
70
  ];
71
71
  class HeaderModule {
72
72
  }
73
- HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
- HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
73
+ HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
+ HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
75
75
  HeaderTitleDirective,
76
76
  HeaderAvatarDirective,
77
77
  MainMenuModule,
@@ -88,13 +88,13 @@ HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
88
88
  ButtonComponent,
89
89
  AvatarComponent,
90
90
  LogoDirective] });
91
- HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
91
+ HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
92
92
  MainMenuModule,
93
93
  ActionGroupComponent,
94
94
  IconComponent,
95
95
  ButtonComponent,
96
96
  AvatarComponent, CoreModule, MainMenuModule] });
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderModule, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderModule, decorators: [{
98
98
  type: NgModule,
99
99
  args: [{
100
100
  imports: modules,