@odx/angular 1.0.0-rc.1 → 1.0.0-rc.11

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 (926) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +43 -0
  3. package/animations/index.d.ts +4 -2
  4. package/animations/lib/expand.d.ts +2 -0
  5. package/animations/lib/wait-for-child-animations.d.ts +1 -0
  6. package/cdk/a11y/README.md +3 -0
  7. package/cdk/a11y/index.d.ts +2 -0
  8. package/cdk/a11y/lib/a11y.module.d.ts +11 -0
  9. package/cdk/a11y/lib/directives/index.d.ts +3 -0
  10. package/cdk/a11y/lib/directives/interactive.directive.d.ts +11 -0
  11. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +11 -0
  12. package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +12 -0
  13. package/cdk/active-indicator/README.md +3 -0
  14. package/cdk/active-indicator/index.d.ts +2 -0
  15. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +25 -0
  16. package/cdk/active-indicator/lib/models/active-indicator-direction.d.ts +5 -0
  17. package/cdk/active-indicator/lib/models/active-indicator-position.d.ts +6 -0
  18. package/cdk/active-indicator/lib/models/index.d.ts +2 -0
  19. package/cdk/checkbox-control/README.md +3 -0
  20. package/cdk/checkbox-control/index.d.ts +1 -0
  21. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +15 -0
  22. package/cdk/connected-overlay/README.md +3 -0
  23. package/cdk/connected-overlay/index.d.ts +3 -0
  24. package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +28 -0
  25. package/cdk/connected-overlay/lib/connected-overlay.service.d.ts +10 -0
  26. package/cdk/connected-overlay/lib/helpers/compute-overlay-position.d.ts +3 -0
  27. package/cdk/connected-overlay/lib/helpers/index.d.ts +1 -0
  28. package/cdk/connected-overlay/lib/models/connected-overlay-options.d.ts +25 -0
  29. package/cdk/connected-overlay/lib/models/connected-overlay-ref.d.ts +12 -0
  30. package/cdk/connected-overlay/lib/models/index.d.ts +2 -0
  31. package/cdk/custom-form-control/README.md +3 -0
  32. package/cdk/custom-form-control/index.d.ts +2 -0
  33. package/{lib/directives → cdk/custom-form-control/lib}/control.directive.d.ts +2 -4
  34. package/cdk/custom-form-control/lib/custom-form-control.d.ts +32 -0
  35. package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +4 -4
  36. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +4 -2
  37. package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +1 -0
  38. package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +1 -1
  39. package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +2 -1
  40. package/cdk/dynamic-view/lib/facade/index.d.ts +0 -1
  41. package/cdk/dynamic-view/lib/helpers/create-projectable-nodes.d.ts +2 -0
  42. package/cdk/dynamic-view/lib/helpers/index.d.ts +1 -2
  43. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +6 -3
  44. package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +2 -1
  45. package/cdk/dynamic-view/lib/models/dynamic-view-options.d.ts +7 -3
  46. package/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.d.ts +3 -0
  47. package/cdk/dynamic-view/lib/tokens/index.d.ts +1 -0
  48. package/cdk/expandable/README.md +3 -0
  49. package/cdk/expandable/index.d.ts +4 -0
  50. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +18 -0
  51. package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +13 -0
  52. package/cdk/expandable/lib/directives/index.d.ts +2 -0
  53. package/cdk/expandable/lib/expandable.module.d.ts +8 -0
  54. package/cdk/expandable/lib/expandable.tokens.d.ts +3 -0
  55. package/cdk/expandable/lib/facade/expandable-container.d.ts +6 -0
  56. package/cdk/expandable/lib/facade/expandable-item.d.ts +7 -0
  57. package/cdk/expandable/lib/facade/index.d.ts +2 -0
  58. package/cdk/radio-group-control/README.md +3 -0
  59. package/cdk/radio-group-control/index.d.ts +3 -0
  60. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +13 -0
  61. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +10 -0
  62. package/cdk/radio-group-control/lib/radio-group-control.module.d.ts +9 -0
  63. package/components/accordion/README.md +3 -0
  64. package/components/accordion/index.d.ts +4 -0
  65. package/components/accordion/lib/accordion.component.d.ts +7 -0
  66. package/components/accordion/lib/accordion.module.d.ts +10 -0
  67. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +16 -0
  68. package/components/accordion/lib/components/index.d.ts +1 -0
  69. package/components/accordion/lib/directives/accordion-item-title.d.ts +5 -0
  70. package/components/accordion/lib/directives/index.d.ts +1 -0
  71. package/components/action-group/action-group.component.d.ts +2 -4
  72. package/components/area-header/area-header.component.d.ts +2 -4
  73. package/components/area-header/area-header.module.d.ts +2 -1
  74. package/components/area-header/directives/area-header-content.directive.d.ts +1 -1
  75. package/components/area-header/directives/area-header-subtitle.directive.d.ts +1 -1
  76. package/components/avatar/lib/avatar.component.d.ts +4 -5
  77. package/components/avatar/lib/models/avatar-variant.d.ts +5 -0
  78. package/components/avatar/lib/models/index.d.ts +1 -0
  79. package/components/badge/lib/badge.component.d.ts +8 -20
  80. package/components/badge/lib/badge.directive.d.ts +17 -14
  81. package/components/badge/lib/models/index.d.ts +0 -1
  82. package/components/bar/README.md +3 -0
  83. package/components/bar/index.d.ts +5 -0
  84. package/components/bar/lib/bar.component.d.ts +6 -0
  85. package/components/bar/lib/bar.module.d.ts +10 -0
  86. package/components/bar/lib/directives/bar-button.directive.d.ts +10 -0
  87. package/components/bar/lib/directives/bar-label.directive.d.ts +6 -0
  88. package/components/bar/lib/models/bar-button-variant.d.ts +5 -0
  89. package/components/breadcrumbs/README.md +3 -0
  90. package/components/breadcrumbs/index.d.ts +1 -0
  91. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +17 -0
  92. package/components/button/lib/button.component.d.ts +6 -15
  93. package/components/button/lib/models/button-size.d.ts +5 -0
  94. package/components/button/lib/models/index.d.ts +1 -0
  95. package/components/button-group/README.md +3 -0
  96. package/components/button-group/index.d.ts +1 -0
  97. package/components/button-group/lib/button-group.component.d.ts +15 -0
  98. package/components/checkbox/index.d.ts +2 -0
  99. package/components/checkbox/lib/checkbox.component.d.ts +6 -12
  100. package/components/checkbox/lib/checkbox.module.d.ts +9 -0
  101. package/components/checkbox/lib/checkbox.validator.d.ts +6 -0
  102. package/components/chip/README.md +3 -0
  103. package/components/chip/index.d.ts +2 -0
  104. package/components/chip/lib/chip.component.d.ts +15 -0
  105. package/components/chip/lib/models/chip-size.d.ts +5 -0
  106. package/components/chip/lib/models/chip-variant.d.ts +7 -0
  107. package/components/chip/lib/models/index.d.ts +2 -0
  108. package/components/circular-progress/README.md +3 -0
  109. package/components/circular-progress/index.d.ts +2 -0
  110. package/components/circular-progress/lib/circular-progress.component.d.ts +29 -0
  111. package/components/circular-progress/lib/models/circular-progress-size.d.ts +7 -0
  112. package/components/circular-progress/lib/models/index.d.ts +1 -0
  113. package/components/content-box/lib/content-box.component.d.ts +1 -1
  114. package/components/content-box/lib/directives/content-box-footer-directive.d.ts +1 -1
  115. package/components/content-box/lib/directives/content-box-header-directive.d.ts +1 -1
  116. package/components/dropdown/README.md +3 -0
  117. package/components/dropdown/index.d.ts +5 -0
  118. package/components/dropdown/lib/dropdown.component.d.ts +12 -0
  119. package/components/dropdown/lib/dropdown.directive.d.ts +42 -0
  120. package/components/dropdown/lib/dropdown.module.d.ts +8 -0
  121. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +1 -0
  122. package/components/dropdown/lib/helpers/index.d.ts +1 -0
  123. package/components/dropdown/lib/models/close-dropdown-event.d.ts +4 -0
  124. package/components/dropdown/lib/models/dropdown-options.d.ts +3 -0
  125. package/components/dropdown/lib/models/index.d.ts +2 -0
  126. package/components/form-field/README.md +3 -0
  127. package/components/form-field/index.d.ts +6 -0
  128. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +9 -0
  129. package/components/form-field/lib/components/form-group/form-group.component.d.ts +13 -0
  130. package/components/form-field/lib/components/index.d.ts +2 -0
  131. package/components/form-field/lib/directives/form-field-control.directive.d.ts +21 -0
  132. package/components/form-field/lib/directives/form-field-error.directive.d.ts +10 -0
  133. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +8 -0
  134. package/components/form-field/lib/directives/form-field-label.directive.d.ts +6 -0
  135. package/components/form-field/lib/directives/form.directive.d.ts +9 -0
  136. package/components/form-field/lib/directives/index.d.ts +5 -0
  137. package/components/form-field/lib/form-field.component.d.ts +19 -0
  138. package/components/form-field/lib/form-field.config.d.ts +14 -0
  139. package/components/form-field/lib/form-field.module.d.ts +18 -0
  140. package/components/form-field/lib/form-field.service.d.ts +30 -0
  141. package/components/form-field/lib/models/form-field-error-resolver.d.ts +27 -0
  142. package/components/form-field/lib/models/form-field-error.d.ts +7 -0
  143. package/components/form-field/lib/models/index.d.ts +2 -0
  144. package/components/form-field/lib/services/form-field-error.service.d.ts +18 -0
  145. package/components/form-field/lib/services/index.d.ts +1 -0
  146. package/components/header/lib/directives/header-avatar.directive.d.ts +5 -2
  147. package/components/header/lib/directives/header-title.directive.d.ts +1 -1
  148. package/components/header/lib/header.component.d.ts +2 -4
  149. package/components/header/lib/header.module.d.ts +2 -2
  150. package/components/icon/lib/icon.component.d.ts +9 -5
  151. package/components/icon/lib/models/icon-size.d.ts +2 -1
  152. package/components/inline-message/README.md +3 -0
  153. package/components/inline-message/index.d.ts +2 -0
  154. package/components/inline-message/lib/inline-message.component.d.ts +9 -0
  155. package/components/inline-message/lib/models/index.d.ts +1 -0
  156. package/components/inline-message/lib/models/inline-message-variant.d.ts +7 -0
  157. package/components/launch-tile/README.md +3 -0
  158. package/components/launch-tile/index.d.ts +3 -0
  159. package/components/launch-tile/lib/components/index.d.ts +2 -0
  160. package/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.d.ts +5 -0
  161. package/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.d.ts +5 -0
  162. package/components/launch-tile/lib/launch-tile.component.d.ts +13 -0
  163. package/components/launch-tile/lib/launch-tile.module.d.ts +14 -0
  164. package/components/link/link.directive.d.ts +3 -7
  165. package/components/list/README.md +3 -0
  166. package/components/list/index.d.ts +3 -0
  167. package/components/list/lib/components/index.d.ts +1 -0
  168. package/components/list/lib/components/list-item/list-item.component.d.ts +12 -0
  169. package/components/list/lib/list.component.d.ts +6 -0
  170. package/components/list/lib/list.module.d.ts +9 -0
  171. package/components/loading-spinner/README.md +3 -0
  172. package/components/loading-spinner/index.d.ts +3 -0
  173. package/components/loading-spinner/lib/loading-spinner.component.d.ts +15 -0
  174. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +25 -0
  175. package/components/loading-spinner/lib/loading-spinner.module.d.ts +9 -0
  176. package/components/logo/logo.directive.d.ts +2 -4
  177. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +2 -5
  178. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +8 -6
  179. package/components/main-menu/lib/main-menu.component.d.ts +5 -5
  180. package/components/main-menu/lib/main-menu.module.d.ts +6 -6
  181. package/components/menu/README.md +3 -0
  182. package/components/menu/index.d.ts +4 -0
  183. package/components/menu/lib/directives/index.d.ts +1 -0
  184. package/components/menu/lib/directives/menu-item.directive.d.ts +9 -0
  185. package/components/menu/lib/menu.component.d.ts +11 -0
  186. package/components/menu/lib/menu.directive.d.ts +15 -0
  187. package/components/menu/lib/menu.module.d.ts +10 -0
  188. package/components/modal/README.md +3 -0
  189. package/components/modal/index.d.ts +8 -0
  190. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +10 -0
  191. package/components/modal/lib/components/index.d.ts +4 -0
  192. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +6 -0
  193. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +12 -0
  194. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +11 -0
  195. package/components/modal/lib/directives/index.d.ts +3 -0
  196. package/components/modal/lib/directives/modal-close.directive.d.ts +8 -0
  197. package/components/modal/lib/directives/modal-content.directive.d.ts +6 -0
  198. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +7 -0
  199. package/components/modal/lib/helpers/index.d.ts +2 -0
  200. package/components/modal/lib/helpers/inject-modal-ref.d.ts +2 -0
  201. package/components/modal/lib/helpers/provide-modal-ref.d.ts +3 -0
  202. package/components/modal/lib/modal.component.d.ts +21 -0
  203. package/components/modal/lib/modal.config.d.ts +3 -0
  204. package/components/modal/lib/modal.directive.d.ts +18 -0
  205. package/components/modal/lib/modal.module.d.ts +22 -0
  206. package/components/modal/lib/modal.service.d.ts +23 -0
  207. package/components/modal/lib/models/basic-modal-options.d.ts +17 -0
  208. package/components/modal/lib/models/index.d.ts +7 -0
  209. package/components/modal/lib/models/modal-hero-variant.d.ts +7 -0
  210. package/components/modal/lib/models/modal-options.d.ts +15 -0
  211. package/components/modal/lib/models/modal-ref.d.ts +20 -0
  212. package/components/modal/lib/models/modal-size.d.ts +6 -0
  213. package/components/modal/lib/models/modal-type.d.ts +8 -0
  214. package/components/modal/lib/models/modal-variant.d.ts +5 -0
  215. package/components/progress/README.md +3 -0
  216. package/components/progress/index.d.ts +1 -0
  217. package/components/progress/lib/progress.component.d.ts +14 -0
  218. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +4 -11
  219. package/components/radio-group/lib/radio-group.component.d.ts +4 -6
  220. package/components/radio-group/lib/radio-group.module.d.ts +4 -4
  221. package/components/rail-navigation/README.md +3 -0
  222. package/components/rail-navigation/index.d.ts +3 -0
  223. package/components/rail-navigation/lib/components/rail-navigation-item.component.d.ts +13 -0
  224. package/components/rail-navigation/lib/rail-navigation.component.d.ts +14 -0
  225. package/components/rail-navigation/lib/rail-navigation.module.d.ts +9 -0
  226. package/components/select/README.md +3 -0
  227. package/components/select/index.d.ts +7 -0
  228. package/components/select/lib/abstract/index.d.ts +2 -0
  229. package/components/select/lib/abstract/select-control-option.d.ts +7 -0
  230. package/components/select/lib/abstract/select-control.d.ts +11 -0
  231. package/components/select/lib/components/index.d.ts +1 -0
  232. package/components/select/lib/components/option/option.component.d.ts +22 -0
  233. package/components/select/lib/directives/index.d.ts +1 -0
  234. package/components/select/lib/directives/select-search-field.directive.d.ts +13 -0
  235. package/components/select/lib/pipes/index.d.ts +1 -0
  236. package/components/select/lib/pipes/select-search-filter.pipe.d.ts +13 -0
  237. package/components/select/lib/select.component.d.ts +50 -0
  238. package/components/select/lib/select.module.d.ts +11 -0
  239. package/components/select/lib/select.tokens.d.ts +3 -0
  240. package/components/slider/README.md +3 -0
  241. package/components/slider/index.d.ts +1 -0
  242. package/components/slider/lib/slider.directive.d.ts +12 -0
  243. package/components/spinbox/README.md +3 -0
  244. package/components/spinbox/index.d.ts +1 -0
  245. package/components/spinbox/lib/spinbox.component.d.ts +25 -0
  246. package/components/switch/README.md +3 -0
  247. package/components/switch/index.d.ts +3 -0
  248. package/components/switch/lib/switch.component.d.ts +7 -0
  249. package/components/switch/lib/switch.module.d.ts +9 -0
  250. package/components/switch/lib/switch.validator.d.ts +6 -0
  251. package/components/tab-bar/README.md +3 -0
  252. package/components/tab-bar/index.d.ts +4 -0
  253. package/components/tab-bar/lib/components/index.d.ts +1 -0
  254. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +20 -0
  255. package/components/tab-bar/lib/models/index.d.ts +1 -0
  256. package/components/tab-bar/lib/models/tab-change-event.d.ts +5 -0
  257. package/components/tab-bar/lib/tab-bar.component.d.ts +31 -0
  258. package/components/tab-bar/lib/tab-bar.config.d.ts +3 -0
  259. package/components/tab-bar/lib/tab-bar.module.d.ts +9 -0
  260. package/components/toast/README.md +3 -0
  261. package/components/toast/index.d.ts +5 -0
  262. package/components/toast/lib/components/index.d.ts +2 -0
  263. package/components/toast/lib/components/toast-container/toast-container.component.d.ts +23 -0
  264. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +20 -0
  265. package/components/toast/lib/models/index.d.ts +5 -0
  266. package/components/toast/lib/models/toast-action.d.ts +7 -0
  267. package/components/toast/lib/models/toast-ref.d.ts +7 -0
  268. package/components/toast/lib/models/toast-variant.d.ts +7 -0
  269. package/components/toast/lib/models/toast.d.ts +10 -0
  270. package/components/toast/lib/models/toast.options.d.ts +4 -0
  271. package/components/toast/lib/toast.config.d.ts +3 -0
  272. package/components/toast/lib/toast.module.d.ts +13 -0
  273. package/components/toast/lib/toast.service.d.ts +16 -0
  274. package/components/toggle-button-group/README.md +3 -0
  275. package/components/toggle-button-group/index.d.ts +3 -0
  276. package/components/toggle-button-group/lib/components/index.d.ts +1 -0
  277. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +7 -0
  278. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +11 -0
  279. package/components/toggle-button-group/lib/toggle-button-group.module.d.ts +9 -0
  280. package/components/tooltip/README.md +3 -0
  281. package/components/tooltip/index.d.ts +3 -0
  282. package/components/tooltip/lib/helpers/index.d.ts +1 -0
  283. package/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.d.ts +2 -0
  284. package/components/tooltip/lib/models/index.d.ts +3 -0
  285. package/components/tooltip/lib/models/tooltip-options.d.ts +10 -0
  286. package/components/tooltip/lib/models/tooltip-size.d.ts +7 -0
  287. package/components/tooltip/lib/models/tooltip-trigger.d.ts +1 -0
  288. package/components/tooltip/lib/tooltip.component.d.ts +12 -0
  289. package/components/tooltip/lib/tooltip.directive.d.ts +33 -0
  290. package/esm2020/animations/index.mjs +5 -3
  291. package/esm2020/animations/lib/config.mjs +8 -0
  292. package/esm2020/animations/lib/expand.mjs +14 -0
  293. package/esm2020/animations/lib/fade.mjs +9 -0
  294. package/esm2020/animations/lib/slide.mjs +34 -0
  295. package/esm2020/animations/lib/wait-for-child-animations.mjs +3 -0
  296. package/esm2020/cdk/a11y/index.mjs +3 -0
  297. package/esm2020/cdk/a11y/lib/a11y.module.mjs +19 -0
  298. package/esm2020/cdk/a11y/lib/directives/index.mjs +4 -0
  299. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +49 -0
  300. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +28 -0
  301. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +40 -0
  302. package/esm2020/cdk/a11y/odx-angular-cdk-a11y.mjs +5 -0
  303. package/esm2020/cdk/active-indicator/index.mjs +3 -0
  304. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +128 -0
  305. package/esm2020/cdk/active-indicator/lib/models/active-indicator-direction.mjs +5 -0
  306. package/esm2020/cdk/active-indicator/lib/models/active-indicator-position.mjs +6 -0
  307. package/esm2020/cdk/active-indicator/lib/models/index.mjs +3 -0
  308. package/esm2020/cdk/active-indicator/odx-angular-cdk-active-indicator.mjs +5 -0
  309. package/esm2020/cdk/checkbox-control/index.mjs +2 -0
  310. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +41 -0
  311. package/esm2020/cdk/checkbox-control/odx-angular-cdk-checkbox-control.mjs +5 -0
  312. package/esm2020/cdk/connected-overlay/index.mjs +4 -0
  313. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +116 -0
  314. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +25 -0
  315. package/esm2020/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +55 -0
  316. package/esm2020/cdk/connected-overlay/lib/helpers/index.mjs +2 -0
  317. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +12 -0
  318. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +15 -0
  319. package/esm2020/cdk/connected-overlay/lib/models/index.mjs +3 -0
  320. package/esm2020/cdk/connected-overlay/odx-angular-cdk-connected-overlay.mjs +5 -0
  321. package/esm2020/cdk/custom-form-control/index.mjs +3 -0
  322. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +19 -0
  323. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +94 -0
  324. package/esm2020/cdk/custom-form-control/odx-angular-cdk-custom-form-control.mjs +5 -0
  325. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +23 -14
  326. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +31 -16
  327. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +11 -9
  328. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-content.mjs +1 -1
  329. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +1 -1
  330. package/esm2020/cdk/dynamic-view/lib/facade/index.mjs +1 -2
  331. package/esm2020/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +9 -0
  332. package/esm2020/cdk/dynamic-view/lib/helpers/index.mjs +2 -3
  333. package/esm2020/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +2 -2
  334. package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +32 -12
  335. package/esm2020/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +17 -7
  336. package/esm2020/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +1 -1
  337. package/esm2020/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +10 -0
  338. package/esm2020/cdk/dynamic-view/lib/tokens/index.mjs +2 -1
  339. package/esm2020/cdk/expandable/index.mjs +5 -0
  340. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +47 -0
  341. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +41 -0
  342. package/esm2020/cdk/expandable/lib/directives/index.mjs +3 -0
  343. package/esm2020/cdk/expandable/lib/expandable.module.mjs +17 -0
  344. package/esm2020/cdk/expandable/lib/expandable.tokens.mjs +3 -0
  345. package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +2 -0
  346. package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +2 -0
  347. package/esm2020/cdk/expandable/lib/facade/index.mjs +3 -0
  348. package/esm2020/cdk/expandable/odx-angular-cdk-expandable.mjs +5 -0
  349. package/esm2020/cdk/radio-group-control/index.mjs +4 -0
  350. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +39 -0
  351. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +43 -0
  352. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +19 -0
  353. package/esm2020/cdk/radio-group-control/odx-angular-cdk-radio-group-control.mjs +5 -0
  354. package/esm2020/components/accordion/index.mjs +5 -0
  355. package/esm2020/components/accordion/lib/accordion.component.mjs +24 -0
  356. package/esm2020/components/accordion/lib/accordion.module.mjs +20 -0
  357. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +56 -0
  358. package/esm2020/components/accordion/lib/components/index.mjs +2 -0
  359. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +14 -0
  360. package/esm2020/components/accordion/lib/directives/index.mjs +2 -0
  361. package/esm2020/components/accordion/odx-angular-components-accordion.mjs +5 -0
  362. package/esm2020/components/action-group/action-group.component.mjs +15 -18
  363. package/esm2020/components/area-header/area-header.component.mjs +11 -11
  364. package/esm2020/components/area-header/area-header.module.mjs +9 -8
  365. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -5
  366. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -5
  367. package/esm2020/components/avatar/lib/avatar.component.mjs +19 -11
  368. package/esm2020/components/avatar/lib/models/avatar-variant.mjs +5 -0
  369. package/esm2020/components/avatar/lib/models/index.mjs +2 -1
  370. package/esm2020/components/badge/lib/badge.component.mjs +20 -70
  371. package/esm2020/components/badge/lib/badge.directive.mjs +52 -27
  372. package/esm2020/components/badge/lib/models/index.mjs +1 -2
  373. package/esm2020/components/bar/index.mjs +6 -0
  374. package/esm2020/components/bar/lib/bar.component.mjs +21 -0
  375. package/esm2020/components/bar/lib/bar.module.mjs +20 -0
  376. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +39 -0
  377. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +24 -0
  378. package/esm2020/components/bar/lib/models/bar-button-variant.mjs +5 -0
  379. package/esm2020/components/bar/odx-angular-components-bar.mjs +5 -0
  380. package/esm2020/components/breadcrumbs/index.mjs +2 -0
  381. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +50 -0
  382. package/esm2020/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +5 -0
  383. package/esm2020/components/button/lib/button.component.mjs +24 -35
  384. package/esm2020/components/button/lib/models/button-size.mjs +5 -0
  385. package/esm2020/components/button/lib/models/index.mjs +2 -1
  386. package/esm2020/components/button-group/index.mjs +2 -0
  387. package/esm2020/components/button-group/lib/button-group.component.mjs +54 -0
  388. package/esm2020/components/button-group/odx-angular-components-button-group.mjs +5 -0
  389. package/esm2020/components/checkbox/index.mjs +3 -1
  390. package/esm2020/components/checkbox/lib/checkbox.component.mjs +16 -32
  391. package/esm2020/components/checkbox/lib/checkbox.module.mjs +19 -0
  392. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +28 -0
  393. package/esm2020/components/chip/index.mjs +3 -0
  394. package/esm2020/components/chip/lib/chip.component.mjs +54 -0
  395. package/esm2020/components/chip/lib/models/chip-size.mjs +5 -0
  396. package/esm2020/components/chip/lib/models/chip-variant.mjs +7 -0
  397. package/esm2020/components/chip/lib/models/index.mjs +3 -0
  398. package/esm2020/components/chip/odx-angular-components-chip.mjs +5 -0
  399. package/esm2020/components/circular-progress/index.mjs +3 -0
  400. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +98 -0
  401. package/esm2020/components/circular-progress/lib/models/circular-progress-size.mjs +7 -0
  402. package/esm2020/components/circular-progress/lib/models/index.mjs +2 -0
  403. package/esm2020/components/circular-progress/odx-angular-components-circular-progress.mjs +5 -0
  404. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  405. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  406. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -5
  407. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -5
  408. package/esm2020/components/dropdown/index.mjs +6 -0
  409. package/esm2020/components/dropdown/lib/dropdown.component.mjs +40 -0
  410. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +157 -0
  411. package/esm2020/components/dropdown/lib/dropdown.module.mjs +18 -0
  412. package/esm2020/components/dropdown/lib/helpers/close-current-dropdown.mjs +5 -0
  413. package/esm2020/components/dropdown/lib/helpers/index.mjs +2 -0
  414. package/esm2020/components/dropdown/lib/models/close-dropdown-event.mjs +7 -0
  415. package/esm2020/components/dropdown/lib/models/dropdown-options.mjs +8 -0
  416. package/esm2020/components/dropdown/lib/models/index.mjs +3 -0
  417. package/esm2020/components/dropdown/odx-angular-components-dropdown.mjs +5 -0
  418. package/esm2020/components/form-field/index.mjs +7 -0
  419. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +24 -0
  420. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +34 -0
  421. package/esm2020/components/form-field/lib/components/index.mjs +3 -0
  422. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +75 -0
  423. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +25 -0
  424. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +23 -0
  425. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +24 -0
  426. package/esm2020/components/form-field/lib/directives/form.directive.mjs +28 -0
  427. package/esm2020/components/form-field/lib/directives/index.mjs +6 -0
  428. package/esm2020/components/form-field/lib/form-field.component.mjs +48 -0
  429. package/esm2020/components/form-field/lib/form-field.config.mjs +6 -0
  430. package/esm2020/components/form-field/lib/form-field.module.mjs +49 -0
  431. package/esm2020/components/form-field/lib/form-field.service.mjs +53 -0
  432. package/esm2020/components/form-field/lib/models/form-field-error-resolver.mjs +2 -0
  433. package/esm2020/components/form-field/lib/models/form-field-error.mjs +2 -0
  434. package/esm2020/components/form-field/lib/models/index.mjs +3 -0
  435. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +56 -0
  436. package/esm2020/components/form-field/lib/services/index.mjs +2 -0
  437. package/esm2020/components/form-field/odx-angular-components-form-field.mjs +5 -0
  438. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +13 -6
  439. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -5
  440. package/esm2020/components/header/lib/header.component.mjs +12 -13
  441. package/esm2020/components/header/lib/header.module.mjs +10 -14
  442. package/esm2020/components/icon/lib/icon.component.mjs +36 -12
  443. package/esm2020/components/icon/lib/models/icon-size.mjs +2 -1
  444. package/esm2020/components/inline-message/index.mjs +3 -0
  445. package/esm2020/components/inline-message/lib/inline-message.component.mjs +43 -0
  446. package/esm2020/components/inline-message/lib/models/index.mjs +2 -0
  447. package/esm2020/components/inline-message/lib/models/inline-message-variant.mjs +7 -0
  448. package/esm2020/components/inline-message/odx-angular-components-inline-message.mjs +5 -0
  449. package/esm2020/components/launch-tile/index.mjs +4 -0
  450. package/esm2020/components/launch-tile/lib/components/index.mjs +3 -0
  451. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +13 -0
  452. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +13 -0
  453. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +51 -0
  454. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +23 -0
  455. package/esm2020/components/launch-tile/odx-angular-components-launch-tile.mjs +5 -0
  456. package/esm2020/components/link/link.directive.mjs +14 -25
  457. package/esm2020/components/list/index.mjs +4 -0
  458. package/esm2020/components/list/lib/components/index.mjs +2 -0
  459. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +40 -0
  460. package/esm2020/components/list/lib/list.component.mjs +21 -0
  461. package/esm2020/components/list/lib/list.module.mjs +19 -0
  462. package/esm2020/components/list/odx-angular-components-list.mjs +5 -0
  463. package/esm2020/components/loading-spinner/index.mjs +4 -0
  464. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +58 -0
  465. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +91 -0
  466. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +19 -0
  467. package/esm2020/components/loading-spinner/odx-angular-components-loading-spinner.mjs +5 -0
  468. package/esm2020/components/logo/logo.directive.mjs +10 -11
  469. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +12 -13
  470. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +25 -20
  471. package/esm2020/components/main-menu/lib/main-menu.component.mjs +26 -26
  472. package/esm2020/components/main-menu/lib/main-menu.module.mjs +7 -7
  473. package/esm2020/components/main-menu/lib/main-menu.service.mjs +5 -5
  474. package/esm2020/components/menu/index.mjs +5 -0
  475. package/esm2020/components/menu/lib/directives/index.mjs +2 -0
  476. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +39 -0
  477. package/esm2020/components/menu/lib/menu.component.mjs +46 -0
  478. package/esm2020/components/menu/lib/menu.directive.mjs +51 -0
  479. package/esm2020/components/menu/lib/menu.module.mjs +20 -0
  480. package/esm2020/components/menu/odx-angular-components-menu.mjs +5 -0
  481. package/esm2020/components/modal/index.mjs +9 -0
  482. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +42 -0
  483. package/esm2020/components/modal/lib/components/index.mjs +5 -0
  484. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +21 -0
  485. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +40 -0
  486. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +39 -0
  487. package/esm2020/components/modal/lib/directives/index.mjs +4 -0
  488. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +34 -0
  489. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +24 -0
  490. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +24 -0
  491. package/esm2020/components/modal/lib/helpers/index.mjs +3 -0
  492. package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +6 -0
  493. package/esm2020/components/modal/lib/helpers/provide-modal-ref.mjs +5 -0
  494. package/esm2020/components/modal/lib/modal.component.mjs +86 -0
  495. package/esm2020/components/modal/lib/modal.config.mjs +10 -0
  496. package/esm2020/components/modal/lib/modal.directive.mjs +51 -0
  497. package/esm2020/components/modal/lib/modal.module.mjs +58 -0
  498. package/esm2020/components/modal/lib/modal.service.mjs +77 -0
  499. package/esm2020/components/modal/lib/models/basic-modal-options.mjs +2 -0
  500. package/esm2020/components/modal/lib/models/index.mjs +8 -0
  501. package/esm2020/components/modal/lib/models/modal-hero-variant.mjs +7 -0
  502. package/esm2020/components/modal/lib/models/modal-options.mjs +2 -0
  503. package/esm2020/components/modal/lib/models/modal-ref.mjs +48 -0
  504. package/esm2020/components/modal/lib/models/modal-size.mjs +6 -0
  505. package/esm2020/components/modal/lib/models/modal-type.mjs +2 -0
  506. package/esm2020/components/modal/lib/models/modal-variant.mjs +5 -0
  507. package/esm2020/components/modal/odx-angular-components-modal.mjs +5 -0
  508. package/esm2020/components/progress/index.mjs +2 -0
  509. package/esm2020/components/progress/lib/progress.component.mjs +51 -0
  510. package/esm2020/components/progress/odx-angular-components-progress.mjs +5 -0
  511. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +20 -40
  512. package/esm2020/components/radio-group/lib/radio-group.component.mjs +33 -16
  513. package/esm2020/components/radio-group/lib/radio-group.module.mjs +7 -7
  514. package/esm2020/components/rail-navigation/index.mjs +4 -0
  515. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +38 -0
  516. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +47 -0
  517. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +19 -0
  518. package/esm2020/components/rail-navigation/odx-angular-components-rail-navigation.mjs +5 -0
  519. package/esm2020/components/select/index.mjs +8 -0
  520. package/esm2020/components/select/lib/abstract/index.mjs +3 -0
  521. package/esm2020/components/select/lib/abstract/select-control-option.mjs +2 -0
  522. package/esm2020/components/select/lib/abstract/select-control.mjs +2 -0
  523. package/esm2020/components/select/lib/components/index.mjs +2 -0
  524. package/esm2020/components/select/lib/components/option/option.component.mjs +77 -0
  525. package/esm2020/components/select/lib/directives/index.mjs +2 -0
  526. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +47 -0
  527. package/esm2020/components/select/lib/pipes/index.mjs +2 -0
  528. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +51 -0
  529. package/esm2020/components/select/lib/select.component.mjs +187 -0
  530. package/esm2020/components/select/lib/select.module.mjs +21 -0
  531. package/esm2020/components/select/lib/select.tokens.mjs +3 -0
  532. package/esm2020/components/select/odx-angular-components-select.mjs +5 -0
  533. package/esm2020/components/slider/index.mjs +2 -0
  534. package/esm2020/components/slider/lib/slider.directive.mjs +42 -0
  535. package/esm2020/components/slider/odx-angular-components-slider.mjs +5 -0
  536. package/esm2020/components/spinbox/index.mjs +2 -0
  537. package/esm2020/components/spinbox/lib/spinbox.component.mjs +91 -0
  538. package/esm2020/components/spinbox/odx-angular-components-spinbox.mjs +5 -0
  539. package/esm2020/components/switch/index.mjs +4 -0
  540. package/esm2020/components/switch/lib/switch.component.mjs +23 -0
  541. package/esm2020/components/switch/lib/switch.module.mjs +19 -0
  542. package/esm2020/components/switch/lib/switch.validator.mjs +28 -0
  543. package/esm2020/components/switch/odx-angular-components-switch.mjs +5 -0
  544. package/esm2020/components/tab-bar/index.mjs +5 -0
  545. package/esm2020/components/tab-bar/lib/components/index.mjs +2 -0
  546. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +70 -0
  547. package/esm2020/components/tab-bar/lib/models/index.mjs +2 -0
  548. package/esm2020/components/tab-bar/lib/models/tab-change-event.mjs +2 -0
  549. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +115 -0
  550. package/esm2020/components/tab-bar/lib/tab-bar.config.mjs +3 -0
  551. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +19 -0
  552. package/esm2020/components/tab-bar/odx-angular-components-tab-bar.mjs +5 -0
  553. package/esm2020/components/toast/index.mjs +6 -0
  554. package/esm2020/components/toast/lib/components/index.mjs +3 -0
  555. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +87 -0
  556. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +74 -0
  557. package/esm2020/components/toast/lib/models/index.mjs +6 -0
  558. package/esm2020/components/toast/lib/models/toast-action.mjs +2 -0
  559. package/esm2020/components/toast/lib/models/toast-ref.mjs +2 -0
  560. package/esm2020/components/toast/lib/models/toast-variant.mjs +7 -0
  561. package/esm2020/components/toast/lib/models/toast.mjs +2 -0
  562. package/esm2020/components/toast/lib/models/toast.options.mjs +2 -0
  563. package/esm2020/components/toast/lib/toast.config.mjs +6 -0
  564. package/esm2020/components/toast/lib/toast.module.mjs +26 -0
  565. package/esm2020/components/toast/lib/toast.service.mjs +38 -0
  566. package/esm2020/components/toast/odx-angular-components-toast.mjs +5 -0
  567. package/esm2020/components/toggle-button-group/index.mjs +4 -0
  568. package/esm2020/components/toggle-button-group/lib/components/index.mjs +2 -0
  569. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +26 -0
  570. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +50 -0
  571. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +19 -0
  572. package/esm2020/components/toggle-button-group/odx-angular-components-toggle-button-group.mjs +5 -0
  573. package/esm2020/components/tooltip/index.mjs +4 -0
  574. package/esm2020/components/tooltip/lib/helpers/index.mjs +2 -0
  575. package/esm2020/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.mjs +9 -0
  576. package/esm2020/components/tooltip/lib/models/index.mjs +4 -0
  577. package/esm2020/components/tooltip/lib/models/tooltip-options.mjs +10 -0
  578. package/esm2020/components/tooltip/lib/models/tooltip-size.mjs +7 -0
  579. package/esm2020/components/tooltip/lib/models/tooltip-trigger.mjs +2 -0
  580. package/esm2020/components/tooltip/lib/tooltip.component.mjs +39 -0
  581. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +132 -0
  582. package/esm2020/components/tooltip/odx-angular-components-tooltip.mjs +5 -0
  583. package/esm2020/index.mjs +2 -2
  584. package/esm2020/internal/decorators/css-component.mjs +5 -7
  585. package/esm2020/internal/decorators/css-modifier.mjs +17 -11
  586. package/esm2020/internal/helpers/camel-to-kebab-case.mjs +12 -0
  587. package/esm2020/internal/helpers/index.mjs +2 -4
  588. package/esm2020/internal/helpers/with-mutiple-descriptors.mjs +18 -11
  589. package/esm2020/internal/index.mjs +1 -4
  590. package/esm2020/lib/controllers/controller.mjs +39 -0
  591. package/esm2020/lib/controllers/disabled.controller.mjs +32 -46
  592. package/esm2020/lib/controllers/index.mjs +3 -1
  593. package/esm2020/lib/controllers/readonly.controller.mjs +69 -0
  594. package/esm2020/lib/core.module.mjs +11 -10
  595. package/esm2020/lib/directives/click-outside.directive.mjs +59 -0
  596. package/esm2020/lib/directives/index.mjs +5 -3
  597. package/esm2020/lib/directives/let.directive.mjs +36 -0
  598. package/esm2020/lib/directives/with-disabled-state.directive.mjs +41 -0
  599. package/esm2020/lib/directives/with-tabindex.directive.mjs +23 -0
  600. package/esm2020/lib/services/index.mjs +1 -2
  601. package/esm2020/lib/services/window-ref.mjs +11 -7
  602. package/esm2020/lib/tokens/identity-matcher.mjs +7 -0
  603. package/esm2020/lib/tokens/index.mjs +4 -0
  604. package/esm2020/lib/tokens/string-search-handler.mjs +9 -0
  605. package/esm2020/lib/tokens/stringify.mjs +8 -0
  606. package/esm2020/rxjs/index.mjs +4 -1
  607. package/esm2020/rxjs/lib/delay-until.mjs +5 -0
  608. package/esm2020/rxjs/lib/form-query-list.mjs +5 -0
  609. package/esm2020/rxjs/lib/from-element-resize.mjs +14 -0
  610. package/esm2020/utils/index.mjs +2 -1
  611. package/esm2020/utils/lib/decorators/index.mjs +2 -1
  612. package/esm2020/utils/lib/decorators/pure.mjs +37 -0
  613. package/esm2020/utils/lib/decorators/transform.mjs +2 -2
  614. package/esm2020/utils/lib/helpers/angular.mjs +33 -0
  615. package/esm2020/utils/lib/helpers/defer-fn.mjs +4 -0
  616. package/esm2020/utils/lib/helpers/dom.mjs +52 -0
  617. package/esm2020/utils/lib/helpers/event-manager.mjs +30 -0
  618. package/esm2020/utils/lib/helpers/get-axis.mjs +14 -0
  619. package/esm2020/utils/lib/helpers/get-opposite-side.mjs +15 -0
  620. package/esm2020/utils/lib/helpers/get-side.mjs +4 -0
  621. package/esm2020/utils/lib/helpers/get-unique-id.mjs +7 -0
  622. package/esm2020/utils/lib/helpers/index.mjs +13 -1
  623. package/esm2020/utils/lib/helpers/ng-changes.mjs +1 -1
  624. package/esm2020/utils/lib/helpers/provide-module-config.mjs +21 -0
  625. package/esm2020/utils/lib/helpers/queue.mjs +49 -0
  626. package/esm2020/utils/lib/helpers/type-guards.mjs +29 -0
  627. package/esm2020/utils/lib/helpers/until-destroyed.mjs +13 -0
  628. package/esm2020/utils/lib/types/axis.mjs +5 -0
  629. package/esm2020/utils/lib/types/get-properties.mjs +2 -0
  630. package/esm2020/utils/lib/types/index.mjs +5 -0
  631. package/esm2020/utils/lib/types/position.mjs +15 -0
  632. package/esm2020/utils/lib/types/side.mjs +7 -0
  633. package/fesm2015/odx-angular-animations.mjs +17 -3
  634. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  635. package/fesm2015/odx-angular-cdk-a11y.mjs +132 -0
  636. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -0
  637. package/fesm2015/odx-angular-cdk-active-indicator.mjs +145 -0
  638. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -0
  639. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +48 -0
  640. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -0
  641. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +222 -0
  642. package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +1 -0
  643. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +123 -0
  644. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -0
  645. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +126 -78
  646. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  647. package/fesm2015/odx-angular-cdk-expandable.mjs +108 -0
  648. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -0
  649. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +99 -0
  650. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -0
  651. package/fesm2015/odx-angular-components-accordion.mjs +106 -0
  652. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -0
  653. package/fesm2015/odx-angular-components-action-group.mjs +14 -17
  654. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  655. package/fesm2015/odx-angular-components-area-header.mjs +24 -25
  656. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  657. package/fesm2015/odx-angular-components-avatar.mjs +23 -10
  658. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  659. package/fesm2015/odx-angular-components-badge.mjs +67 -104
  660. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  661. package/fesm2015/odx-angular-components-bar.mjs +96 -0
  662. package/fesm2015/odx-angular-components-bar.mjs.map +1 -0
  663. package/fesm2015/odx-angular-components-breadcrumbs.mjs +56 -0
  664. package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +1 -0
  665. package/fesm2015/odx-angular-components-button-group.mjs +60 -0
  666. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -0
  667. package/fesm2015/odx-angular-components-button.mjs +28 -39
  668. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  669. package/fesm2015/odx-angular-components-checkbox.mjs +56 -31
  670. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  671. package/fesm2015/odx-angular-components-chip.mjs +71 -0
  672. package/fesm2015/odx-angular-components-chip.mjs.map +1 -0
  673. package/fesm2015/odx-angular-components-circular-progress.mjs +110 -0
  674. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -0
  675. package/fesm2015/odx-angular-components-content-box.mjs +13 -15
  676. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  677. package/fesm2015/odx-angular-components-dropdown.mjs +223 -0
  678. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -0
  679. package/fesm2015/odx-angular-components-form-field.mjs +383 -0
  680. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -0
  681. package/fesm2015/odx-angular-components-header.mjs +34 -33
  682. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  683. package/fesm2015/odx-angular-components-icon.mjs +36 -11
  684. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  685. package/fesm2015/odx-angular-components-inline-message.mjs +55 -0
  686. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -0
  687. package/fesm2015/odx-angular-components-launch-tile.mjs +95 -0
  688. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -0
  689. package/fesm2015/odx-angular-components-link.mjs +13 -25
  690. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  691. package/fesm2015/odx-angular-components-list.mjs +76 -0
  692. package/fesm2015/odx-angular-components-list.mjs.map +1 -0
  693. package/fesm2015/odx-angular-components-loading-spinner.mjs +163 -0
  694. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -0
  695. package/fesm2015/odx-angular-components-logo.mjs +9 -10
  696. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  697. package/fesm2015/odx-angular-components-main-menu.mjs +62 -61
  698. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  699. package/fesm2015/odx-angular-components-menu.mjs +138 -0
  700. package/fesm2015/odx-angular-components-menu.mjs.map +1 -0
  701. package/fesm2015/odx-angular-components-modal.mjs +495 -0
  702. package/fesm2015/odx-angular-components-modal.mjs.map +1 -0
  703. package/fesm2015/odx-angular-components-progress.mjs +57 -0
  704. package/fesm2015/odx-angular-components-progress.mjs.map +1 -0
  705. package/fesm2015/odx-angular-components-radio-group.mjs +65 -69
  706. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  707. package/fesm2015/odx-angular-components-rail-navigation.mjs +97 -0
  708. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -0
  709. package/fesm2015/odx-angular-components-select.mjs +372 -0
  710. package/fesm2015/odx-angular-components-select.mjs.map +1 -0
  711. package/fesm2015/odx-angular-components-slider.mjs +48 -0
  712. package/fesm2015/odx-angular-components-slider.mjs.map +1 -0
  713. package/fesm2015/odx-angular-components-spinbox.mjs +100 -0
  714. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -0
  715. package/fesm2015/odx-angular-components-switch.mjs +69 -0
  716. package/fesm2015/odx-angular-components-switch.mjs.map +1 -0
  717. package/fesm2015/odx-angular-components-tab-bar.mjs +200 -0
  718. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -0
  719. package/fesm2015/odx-angular-components-toast.mjs +221 -0
  720. package/fesm2015/odx-angular-components-toast.mjs.map +1 -0
  721. package/fesm2015/odx-angular-components-toggle-button-group.mjs +87 -0
  722. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -0
  723. package/fesm2015/odx-angular-components-tooltip.mjs +187 -0
  724. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -0
  725. package/fesm2015/odx-angular-internal.mjs +66 -120
  726. package/fesm2015/odx-angular-internal.mjs.map +1 -1
  727. package/fesm2015/odx-angular-rxjs.mjs +23 -2
  728. package/fesm2015/odx-angular-rxjs.mjs.map +1 -1
  729. package/fesm2015/odx-angular-utils.mjs +330 -2
  730. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  731. package/fesm2015/odx-angular.mjs +296 -228
  732. package/fesm2015/odx-angular.mjs.map +1 -1
  733. package/fesm2020/odx-angular-animations.mjs +17 -6
  734. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  735. package/fesm2020/odx-angular-cdk-a11y.mjs +128 -0
  736. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -0
  737. package/fesm2020/odx-angular-cdk-active-indicator.mjs +143 -0
  738. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -0
  739. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +48 -0
  740. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -0
  741. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +218 -0
  742. package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +1 -0
  743. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +117 -0
  744. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -0
  745. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +115 -57
  746. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  747. package/fesm2020/odx-angular-cdk-expandable.mjs +107 -0
  748. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -0
  749. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +99 -0
  750. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -0
  751. package/fesm2020/odx-angular-components-accordion.mjs +105 -0
  752. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -0
  753. package/fesm2020/odx-angular-components-action-group.mjs +14 -17
  754. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  755. package/fesm2020/odx-angular-components-area-header.mjs +24 -25
  756. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  757. package/fesm2020/odx-angular-components-avatar.mjs +23 -10
  758. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  759. package/fesm2020/odx-angular-components-badge.mjs +64 -97
  760. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  761. package/fesm2020/odx-angular-components-bar.mjs +96 -0
  762. package/fesm2020/odx-angular-components-bar.mjs.map +1 -0
  763. package/fesm2020/odx-angular-components-breadcrumbs.mjs +56 -0
  764. package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +1 -0
  765. package/fesm2020/odx-angular-components-button-group.mjs +60 -0
  766. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -0
  767. package/fesm2020/odx-angular-components-button.mjs +28 -34
  768. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  769. package/fesm2020/odx-angular-components-checkbox.mjs +56 -31
  770. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  771. package/fesm2020/odx-angular-components-chip.mjs +71 -0
  772. package/fesm2020/odx-angular-components-chip.mjs.map +1 -0
  773. package/fesm2020/odx-angular-components-circular-progress.mjs +110 -0
  774. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -0
  775. package/fesm2020/odx-angular-components-content-box.mjs +13 -15
  776. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  777. package/fesm2020/odx-angular-components-dropdown.mjs +226 -0
  778. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -0
  779. package/fesm2020/odx-angular-components-form-field.mjs +380 -0
  780. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -0
  781. package/fesm2020/odx-angular-components-header.mjs +34 -33
  782. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  783. package/fesm2020/odx-angular-components-icon.mjs +36 -11
  784. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  785. package/fesm2020/odx-angular-components-inline-message.mjs +55 -0
  786. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -0
  787. package/fesm2020/odx-angular-components-launch-tile.mjs +94 -0
  788. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -0
  789. package/fesm2020/odx-angular-components-link.mjs +13 -24
  790. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  791. package/fesm2020/odx-angular-components-list.mjs +76 -0
  792. package/fesm2020/odx-angular-components-list.mjs.map +1 -0
  793. package/fesm2020/odx-angular-components-loading-spinner.mjs +162 -0
  794. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -0
  795. package/fesm2020/odx-angular-components-logo.mjs +9 -10
  796. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  797. package/fesm2020/odx-angular-components-main-menu.mjs +62 -60
  798. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  799. package/fesm2020/odx-angular-components-menu.mjs +140 -0
  800. package/fesm2020/odx-angular-components-menu.mjs.map +1 -0
  801. package/fesm2020/odx-angular-components-modal.mjs +497 -0
  802. package/fesm2020/odx-angular-components-modal.mjs.map +1 -0
  803. package/fesm2020/odx-angular-components-progress.mjs +57 -0
  804. package/fesm2020/odx-angular-components-progress.mjs.map +1 -0
  805. package/fesm2020/odx-angular-components-radio-group.mjs +65 -68
  806. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  807. package/fesm2020/odx-angular-components-rail-navigation.mjs +97 -0
  808. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -0
  809. package/fesm2020/odx-angular-components-select.mjs +359 -0
  810. package/fesm2020/odx-angular-components-select.mjs.map +1 -0
  811. package/fesm2020/odx-angular-components-slider.mjs +48 -0
  812. package/fesm2020/odx-angular-components-slider.mjs.map +1 -0
  813. package/fesm2020/odx-angular-components-spinbox.mjs +97 -0
  814. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -0
  815. package/fesm2020/odx-angular-components-switch.mjs +69 -0
  816. package/fesm2020/odx-angular-components-switch.mjs.map +1 -0
  817. package/fesm2020/odx-angular-components-tab-bar.mjs +195 -0
  818. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -0
  819. package/fesm2020/odx-angular-components-toast.mjs +220 -0
  820. package/fesm2020/odx-angular-components-toast.mjs.map +1 -0
  821. package/fesm2020/odx-angular-components-toggle-button-group.mjs +87 -0
  822. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -0
  823. package/fesm2020/odx-angular-components-tooltip.mjs +192 -0
  824. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -0
  825. package/fesm2020/odx-angular-internal.mjs +64 -118
  826. package/fesm2020/odx-angular-internal.mjs.map +1 -1
  827. package/fesm2020/odx-angular-rxjs.mjs +23 -2
  828. package/fesm2020/odx-angular-rxjs.mjs.map +1 -1
  829. package/fesm2020/odx-angular-utils.mjs +323 -2
  830. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  831. package/fesm2020/odx-angular.mjs +292 -224
  832. package/fesm2020/odx-angular.mjs.map +1 -1
  833. package/index.d.ts +1 -1
  834. package/internal/decorators/css-component.d.ts +2 -2
  835. package/internal/helpers/camel-to-kebab-case.d.ts +2 -0
  836. package/internal/helpers/index.d.ts +1 -3
  837. package/internal/helpers/with-mutiple-descriptors.d.ts +1 -1
  838. package/internal/index.d.ts +0 -3
  839. package/{internal/abstract → lib/controllers}/controller.d.ts +3 -3
  840. package/lib/controllers/disabled.controller.d.ts +8 -11
  841. package/lib/controllers/index.d.ts +2 -0
  842. package/lib/controllers/readonly.controller.d.ts +20 -0
  843. package/lib/core.module.d.ts +5 -4
  844. package/lib/directives/click-outside.directive.d.ts +18 -0
  845. package/lib/directives/index.d.ts +4 -2
  846. package/lib/directives/let.directive.d.ts +17 -0
  847. package/lib/directives/with-disabled-state.directive.d.ts +13 -0
  848. package/lib/directives/with-tabindex.directive.d.ts +7 -0
  849. package/lib/services/index.d.ts +0 -1
  850. package/lib/services/window-ref.d.ts +2 -0
  851. package/lib/tokens/identity-matcher.d.ts +3 -0
  852. package/lib/tokens/index.d.ts +3 -0
  853. package/lib/tokens/string-search-handler.d.ts +3 -0
  854. package/lib/tokens/stringify.d.ts +3 -0
  855. package/package.json +265 -13
  856. package/rxjs/index.d.ts +3 -0
  857. package/rxjs/lib/delay-until.d.ts +2 -0
  858. package/rxjs/lib/form-query-list.d.ts +3 -0
  859. package/rxjs/lib/from-element-resize.d.ts +2 -0
  860. package/utils/index.d.ts +1 -0
  861. package/utils/lib/decorators/index.d.ts +1 -0
  862. package/utils/lib/decorators/pure.d.ts +1 -0
  863. package/utils/lib/decorators/transform.d.ts +1 -1
  864. package/utils/lib/helpers/angular.d.ts +6 -0
  865. package/utils/lib/helpers/defer-fn.d.ts +1 -0
  866. package/utils/lib/helpers/dom.d.ts +10 -0
  867. package/utils/lib/helpers/event-manager.d.ts +12 -0
  868. package/utils/lib/helpers/get-axis.d.ts +2 -0
  869. package/utils/lib/helpers/get-opposite-side.d.ts +2 -0
  870. package/utils/lib/helpers/get-side.d.ts +2 -0
  871. package/utils/lib/helpers/get-unique-id.d.ts +1 -0
  872. package/utils/lib/helpers/index.d.ts +12 -0
  873. package/utils/lib/helpers/ng-changes.d.ts +1 -1
  874. package/utils/lib/helpers/provide-module-config.d.ts +12 -0
  875. package/utils/lib/helpers/queue.d.ts +22 -0
  876. package/{internal → utils/lib}/helpers/type-guards.d.ts +2 -1
  877. package/utils/lib/helpers/until-destroyed.d.ts +2 -0
  878. package/utils/lib/types/axis.d.ts +5 -0
  879. package/{internal → utils/lib}/types/get-properties.d.ts +1 -1
  880. package/utils/lib/types/index.d.ts +4 -0
  881. package/utils/lib/types/position.d.ts +15 -0
  882. package/utils/lib/types/side.d.ts +7 -0
  883. package/cdk/dynamic-view/lib/facade/animated-component.d.ts +0 -4
  884. package/cdk/dynamic-view/lib/helpers/is-animated-component.d.ts +0 -3
  885. package/cdk/dynamic-view/lib/helpers/wait-for-animations.d.ts +0 -3
  886. package/components/badge/lib/badge.config.d.ts +0 -3
  887. package/components/badge/lib/facade/badge-host.d.ts +0 -3
  888. package/components/badge/lib/facade/index.d.ts +0 -1
  889. package/components/badge/lib/models/badge-position.d.ts +0 -5
  890. package/esm2020/animations/config.mjs +0 -8
  891. package/esm2020/animations/fade.mjs +0 -12
  892. package/esm2020/animations/slide.mjs +0 -34
  893. package/esm2020/cdk/dynamic-view/lib/facade/animated-component.mjs +0 -2
  894. package/esm2020/cdk/dynamic-view/lib/helpers/is-animated-component.mjs +0 -5
  895. package/esm2020/cdk/dynamic-view/lib/helpers/wait-for-animations.mjs +0 -9
  896. package/esm2020/components/badge/lib/badge.config.mjs +0 -3
  897. package/esm2020/components/badge/lib/facade/badge-host.mjs +0 -2
  898. package/esm2020/components/badge/lib/facade/index.mjs +0 -2
  899. package/esm2020/components/badge/lib/models/badge-position.mjs +0 -5
  900. package/esm2020/internal/abstract/controller.mjs +0 -29
  901. package/esm2020/internal/abstract/index.mjs +0 -2
  902. package/esm2020/internal/helpers/dom.mjs +0 -7
  903. package/esm2020/internal/helpers/type-guards.mjs +0 -27
  904. package/esm2020/internal/helpers/watch.mjs +0 -8
  905. package/esm2020/internal/providers/index.mjs +0 -2
  906. package/esm2020/internal/providers/watched-controller-provider.mjs +0 -9
  907. package/esm2020/internal/types/get-properties.mjs +0 -2
  908. package/esm2020/internal/types/index.mjs +0 -2
  909. package/esm2020/lib/controls/custom-form-control.mjs +0 -133
  910. package/esm2020/lib/controls/index.mjs +0 -2
  911. package/esm2020/lib/directives/control.directive.mjs +0 -18
  912. package/esm2020/lib/directives/monitor-focus.directive.mjs +0 -34
  913. package/esm2020/lib/services/destroy.service.mjs +0 -18
  914. package/internal/abstract/index.d.ts +0 -1
  915. package/internal/helpers/dom.d.ts +0 -2
  916. package/internal/helpers/watch.d.ts +0 -4
  917. package/internal/providers/index.d.ts +0 -1
  918. package/internal/providers/watched-controller-provider.d.ts +0 -5
  919. package/internal/types/index.d.ts +0 -1
  920. package/lib/controls/custom-form-control.d.ts +0 -40
  921. package/lib/controls/index.d.ts +0 -1
  922. package/lib/directives/monitor-focus.directive.d.ts +0 -12
  923. package/lib/services/destroy.service.d.ts +0 -9
  924. /package/animations/{config.d.ts → lib/config.d.ts} +0 -0
  925. /package/animations/{fade.d.ts → lib/fade.d.ts} +0 -0
  926. /package/animations/{slide.d.ts → lib/slide.d.ts} +0 -0
@@ -0,0 +1,380 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Directive, inject, TemplateRef, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren, ContentChild, NgModule } from '@angular/core';
3
+ import * as i1$1 from '@odx/angular';
4
+ import { Controller, DisabledController, ReadonlyController, CoreModule, WithDisabledState } from '@odx/angular';
5
+ import { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';
6
+ import { __decorate, __metadata } from 'tslib';
7
+ import { Validators, NgControl, FormControl } from '@angular/forms';
8
+ import { CSSComponent } from '@odx/angular/internal';
9
+ import { createModuleConfigTokens, isTemplateRef, isFunction, untilDestroyed, injectElement, reactiveAttributeBinding, booleanToOptionalAttributeString, reactiveClassBinding, provideModuleConfig } from '@odx/angular/utils';
10
+ import { BehaviorSubject, shareReplay, map, switchMap, merge, of, distinctUntilChanged, tap, EMPTY, startWith, combineLatest, fromEvent, share, NEVER } from 'rxjs';
11
+ import * as i1 from '@angular/common';
12
+
13
+ const { FormFieldDefaultModuleConfig, FormFieldModuleConfig, injectFormFieldModuleConfig } = createModuleConfigTokens('FormField', '@odx/angular/components/form-field', {
14
+ errors: {},
15
+ updateOn: ['blur'],
16
+ });
17
+
18
+ class FormFieldService extends Controller {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.disabledController = DisabledController.inject();
22
+ this.readonlyController = ReadonlyController.inject();
23
+ this.control$$ = new BehaviorSubject(null);
24
+ this.control$ = this.control$$.pipe(shareReplay({ refCount: true }));
25
+ this.controlId$ = this.control$.pipe(map((control) => (control ? control.nativeElement.id || `odx-form-field-${FormFieldService.ID++}` : null)), shareReplay({ refCount: true }));
26
+ this.controlHintId$ = this.controlId$.pipe(map((id) => (id ? `${id}-hint` : null)), shareReplay({ refCount: true }));
27
+ this.controlErrorId$ = this.controlId$.pipe(map((id) => (id ? `${id}-error` : null)), shareReplay({ refCount: true }));
28
+ this.isDisabled$ = this.control$.pipe(switchMap((control) => (control ? merge(this.updateControlDisabledState(control), this.getControlDisabledState(control)) : of(false))), distinctUntilChanged(), shareReplay({ refCount: true }));
29
+ this.isRequired$ = this.control$.pipe(map((control) => (control ? control.nativeElement.hasAttribute('required') || control.control.hasValidator(Validators.required) : false)), shareReplay({ refCount: true }));
30
+ this.isReadonly$ = this.control$.pipe(switchMap((control) => (control && this.readonlyController ? this.readonlyController.isReadonly$ : of(false))));
31
+ }
32
+ ngOnDestroy() {
33
+ this.control$$.complete();
34
+ super.ngOnDestroy();
35
+ }
36
+ registerControl(control, { nativeElement }) {
37
+ this.control$$.next({ control, nativeElement });
38
+ }
39
+ removeControl() {
40
+ this.control$$.next(null);
41
+ }
42
+ updateControlDisabledState({ control }) {
43
+ if (this.disabledController) {
44
+ return this.disabledController.isDisabled$.pipe(tap((state) => {
45
+ if (state) {
46
+ control.disable();
47
+ }
48
+ else {
49
+ control.enable();
50
+ }
51
+ }));
52
+ }
53
+ return EMPTY;
54
+ }
55
+ getControlDisabledState({ control }) {
56
+ return control.statusChanges.pipe(startWith(control.status), map((status) => status === 'DISABLED'), distinctUntilChanged());
57
+ }
58
+ }
59
+ FormFieldService.ID = 0;
60
+ FormFieldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
61
+ FormFieldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldService });
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldService, decorators: [{
63
+ type: Injectable
64
+ }] });
65
+
66
+ const DEFAULT_CUSTOM_FORM_FIELD_ERROR = '@odx/angular/form-field/default-error';
67
+ class FormFieldErrorService {
68
+ constructor() {
69
+ this.config = injectFormFieldModuleConfig();
70
+ this.fieldError$$ = new BehaviorSubject(null);
71
+ this.customErrors$$ = new BehaviorSubject({});
72
+ this.error$ = combineLatest([this.fieldError$$, this.customErrors$$]).pipe(map(([error, customErrors]) => this.resolveError(error, customErrors)), distinctUntilChanged(), shareReplay({ refCount: true }));
73
+ this.hasError$ = this.error$.pipe(map((error) => error !== null));
74
+ }
75
+ get hasError() {
76
+ return this.fieldError$$.getValue() !== null;
77
+ }
78
+ ngOnDestroy() {
79
+ this.fieldError$$.next(null);
80
+ this.customErrors$$.next({});
81
+ this.fieldError$$.complete();
82
+ this.customErrors$$.complete();
83
+ }
84
+ setError(errors) {
85
+ if (!errors) {
86
+ this.fieldError$$.next(null);
87
+ }
88
+ else {
89
+ const [key, context] = Object.entries(errors)[0];
90
+ this.fieldError$$.next({ key, context });
91
+ }
92
+ }
93
+ registerCustomError(key, template) {
94
+ this.customErrors$$.next({ ...this.customErrors$$.getValue(), [key || DEFAULT_CUSTOM_FORM_FIELD_ERROR]: template });
95
+ }
96
+ resolveError(error, customErrors) {
97
+ if (!error)
98
+ return null;
99
+ const { key, context } = error;
100
+ const message = customErrors[key] ?? customErrors[DEFAULT_CUSTOM_FORM_FIELD_ERROR];
101
+ if (isTemplateRef(message)) {
102
+ return {
103
+ message,
104
+ context: { $implicit: context },
105
+ };
106
+ }
107
+ const getMessage = this.config.errors[key] ?? null;
108
+ return isFunction(getMessage) ? { message: getMessage(context) } : null;
109
+ }
110
+ }
111
+ FormFieldErrorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
112
+ FormFieldErrorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldErrorService });
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldErrorService, decorators: [{
114
+ type: Injectable
115
+ }] });
116
+
117
+ let FormDirective = class FormDirective {
118
+ constructor() {
119
+ this.takeUntilDestroyed = untilDestroyed();
120
+ this.element = injectElement();
121
+ this.submit$ = fromEvent(this.element.nativeElement, 'submit').pipe(this.takeUntilDestroyed(), share());
122
+ this.reset$ = fromEvent(this.element.nativeElement, 'reset').pipe(this.takeUntilDestroyed(), share());
123
+ }
124
+ };
125
+ FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
126
+ FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: FormDirective, isStandalone: true, selector: "form[odxForm]", ngImport: i0 });
127
+ FormDirective = __decorate([
128
+ CSSComponent('form')
129
+ ], FormDirective);
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormDirective, decorators: [{
131
+ type: Directive,
132
+ args: [{
133
+ standalone: true,
134
+ selector: 'form[odxForm]',
135
+ }]
136
+ }] });
137
+
138
+ let FormFieldControlDirective = class FormFieldControlDirective {
139
+ constructor() {
140
+ this.config = injectFormFieldModuleConfig();
141
+ this.ngControl = inject(NgControl, { optional: true, self: true });
142
+ this.form = inject(FormDirective, { optional: true, skipSelf: true });
143
+ this.onFormReset$ = this.form?.reset$ ?? EMPTY;
144
+ this.onFormSubmit$ = this.form?.submit$ ?? EMPTY;
145
+ this.formFieldService = inject(FormFieldService);
146
+ this.formFieldErrorService = inject(FormFieldErrorService);
147
+ this.takeUntilDestroyed = untilDestroyed();
148
+ this.element = injectElement();
149
+ reactiveAttributeBinding(this.formFieldService.controlId$, 'id');
150
+ reactiveAttributeBinding(this.formFieldService.controlHintId$, 'aria-describedby');
151
+ reactiveAttributeBinding(this.formFieldService.isReadonly$, 'readonly');
152
+ reactiveAttributeBinding(this.formFieldService.isDisabled$.pipe(map(booleanToOptionalAttributeString)), 'aria-disabled');
153
+ reactiveAttributeBinding(this.formFieldService.isReadonly$.pipe(map(booleanToOptionalAttributeString)), 'aria-readonly');
154
+ reactiveAttributeBinding(this.formFieldService.isRequired$.pipe(map(booleanToOptionalAttributeString)), 'aria-required');
155
+ reactiveAttributeBinding(this.formFieldErrorService.hasError$.pipe(map(booleanToOptionalAttributeString)), 'aria-invalid');
156
+ reactiveAttributeBinding(this.formFieldErrorService.hasError$.pipe(switchMap((hasError) => (hasError ? this.formFieldService.controlErrorId$ : of(null)))), 'aria-errormessage');
157
+ }
158
+ ngOnInit() {
159
+ const control = this.ngControl?.control;
160
+ this.formFieldService.registerControl(control ?? new FormControl(), this.element);
161
+ if (!control)
162
+ return;
163
+ const controlChanges$ = merge(this.registerOnBlur(control), this.registerOnChange(control), this.registerOnSubmit(control));
164
+ const changes$ = merge(this.onFormReset$.pipe(tap(() => this.formFieldErrorService?.setError(null))), controlChanges$.pipe(tap(() => this.formFieldErrorService?.setError(control.errors))));
165
+ changes$.pipe(this.takeUntilDestroyed()).subscribe();
166
+ }
167
+ ngOnDestroy() {
168
+ this.formFieldService.removeControl();
169
+ }
170
+ registerOnBlur({ valueChanges }) {
171
+ if (this.config.updateOn.includes('blur')) {
172
+ return fromEvent(this.element.nativeElement, 'focusout').pipe(switchMap(() => valueChanges.pipe(startWith(true))));
173
+ }
174
+ return EMPTY;
175
+ }
176
+ registerOnChange({ valueChanges }) {
177
+ if (this.config.updateOn.includes('change')) {
178
+ return valueChanges;
179
+ }
180
+ return EMPTY;
181
+ }
182
+ registerOnSubmit({ statusChanges, valueChanges }) {
183
+ return merge(this.onFormSubmit$, this.onFormReset$).pipe(switchMap(({ type }) => (type === 'submit' ? merge(statusChanges, valueChanges).pipe(startWith(true)) : NEVER)));
184
+ }
185
+ };
186
+ FormFieldControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
187
+ FormFieldControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: FormFieldControlDirective, isStandalone: true, selector: "[odxFormFieldControl]", exportAs: ["odxFormFieldControl"], ngImport: i0 });
188
+ FormFieldControlDirective = __decorate([
189
+ CSSComponent('form-field-control'),
190
+ __metadata("design:paramtypes", [])
191
+ ], FormFieldControlDirective);
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldControlDirective, decorators: [{
193
+ type: Directive,
194
+ args: [{
195
+ standalone: true,
196
+ selector: '[odxFormFieldControl]',
197
+ exportAs: 'odxFormFieldControl',
198
+ }]
199
+ }], ctorParameters: function () { return []; } });
200
+
201
+ class FormFieldErrorDirective {
202
+ constructor() {
203
+ this.formFieldErrorService = inject(FormFieldErrorService, { skipSelf: true });
204
+ this.template = inject(TemplateRef, { self: true });
205
+ }
206
+ ngOnInit() {
207
+ this.formFieldErrorService.registerCustomError(this.key, this.template);
208
+ }
209
+ }
210
+ FormFieldErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
211
+ FormFieldErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: FormFieldErrorDirective, isStandalone: true, selector: "[odxFormFieldError]", inputs: { key: ["odxFormFieldError", "key"] }, ngImport: i0 });
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldErrorDirective, decorators: [{
213
+ type: Directive,
214
+ args: [{
215
+ standalone: true,
216
+ selector: '[odxFormFieldError]',
217
+ }]
218
+ }], propDecorators: { key: [{
219
+ type: Input,
220
+ args: ['odxFormFieldError']
221
+ }] } });
222
+
223
+ class FormFieldHintDirective {
224
+ constructor() {
225
+ this.formFieldService = inject(FormFieldService, { skipSelf: true });
226
+ reactiveAttributeBinding(inject(FormFieldService).controlHintId$, 'id');
227
+ }
228
+ }
229
+ FormFieldHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
230
+ FormFieldHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: FormFieldHintDirective, isStandalone: true, selector: "odx-form-field-hint", host: { properties: { "class.odx-form-field__hint": "true" } }, ngImport: i0 });
231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldHintDirective, decorators: [{
232
+ type: Directive,
233
+ args: [{
234
+ standalone: true,
235
+ selector: 'odx-form-field-hint',
236
+ host: {
237
+ '[class.odx-form-field__hint]': 'true',
238
+ },
239
+ }]
240
+ }], ctorParameters: function () { return []; } });
241
+
242
+ let FormFieldLabelDirective = class FormFieldLabelDirective {
243
+ constructor() {
244
+ this.element = injectElement();
245
+ }
246
+ };
247
+ FormFieldLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
248
+ FormFieldLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: FormFieldLabelDirective, isStandalone: true, selector: "odx-form-field-label", ngImport: i0 });
249
+ FormFieldLabelDirective = __decorate([
250
+ CSSComponent('form-field-label')
251
+ ], FormFieldLabelDirective);
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldLabelDirective, decorators: [{
253
+ type: Directive,
254
+ args: [{
255
+ standalone: true,
256
+ selector: 'odx-form-field-label',
257
+ }]
258
+ }] });
259
+
260
+ class FormFieldInfoComponent {
261
+ constructor() {
262
+ this.formFieldService = inject(FormFieldService);
263
+ this.error = null;
264
+ }
265
+ }
266
+ FormFieldInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
267
+ FormFieldInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: FormFieldInfoComponent, isStandalone: true, selector: "odx-form-field-info", inputs: { error: "error" }, host: { properties: { "class.odx-form-field__info": "true" } }, ngImport: i0, template: "<span class=\"odx-form-field-error\" [attr.id]=\"formFieldService.controlErrorId$ | async\" *ngIf=\"error; else hint\">\n <ng-template [odxDynamicView]=\"error.message\" [odxDynamicViewContext]=\"error.context\"></ng-template>\n</span>\n<ng-template #hint>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], encapsulation: i0.ViewEncapsulation.None });
268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldInfoComponent, decorators: [{
269
+ type: Component,
270
+ args: [{ standalone: true, selector: 'odx-form-field-info', encapsulation: ViewEncapsulation.None, imports: [CoreModule, DynamicViewDirective, FormFieldHintDirective], host: {
271
+ '[class.odx-form-field__info]': 'true',
272
+ }, 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" }]
273
+ }], propDecorators: { error: [{
274
+ type: Input
275
+ }] } });
276
+
277
+ let FormGroupComponent = class FormGroupComponent {
278
+ constructor() {
279
+ this.element = injectElement();
280
+ this.error$ = null;
281
+ }
282
+ ngAfterContentInit() {
283
+ this.error$ = this.formFieldErrorServices.changes.pipe(startWith(this.formFieldErrorServices), switchMap((services) => combineLatest(services.map((service) => service.error$))), map((errors) => errors.find((error) => error !== null) ?? null));
284
+ }
285
+ };
286
+ FormGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
287
+ FormGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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 });
288
+ FormGroupComponent = __decorate([
289
+ CSSComponent('form-group')
290
+ ], FormGroupComponent);
291
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormGroupComponent, decorators: [{
292
+ type: Component,
293
+ args: [{ standalone: true, selector: 'odx-form-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CoreModule, FormFieldInfoComponent], providers: [FormFieldService], template: "<div class=\"odx-form-group__content\" odxLayout=\"grid 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" }]
294
+ }], propDecorators: { formFieldErrorServices: [{
295
+ type: ContentChildren,
296
+ args: [FormFieldErrorService, { descendants: false }]
297
+ }] } });
298
+
299
+ let FormFieldComponent = class FormFieldComponent {
300
+ constructor() {
301
+ this.formGroup = inject(FormGroupComponent, { optional: true, host: true });
302
+ this.formFieldService = inject(FormFieldService, { self: true });
303
+ this.formFieldErrorService = inject(FormFieldErrorService, { self: true });
304
+ this.element = injectElement();
305
+ this.label = null;
306
+ reactiveClassBinding(this.formFieldService.isRequired$, 'odx-form-field--required');
307
+ reactiveClassBinding(this.formFieldService.isDisabled$, 'is-disabled');
308
+ reactiveClassBinding(this.formFieldService.isReadonly$, 'is-readonly');
309
+ reactiveClassBinding(this.formFieldErrorService.hasError$, 'has-error');
310
+ }
311
+ get hasLabel() {
312
+ return !!(this.labelDirective || this.label);
313
+ }
314
+ get isStandalone() {
315
+ return !this.formGroup;
316
+ }
317
+ };
318
+ FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
319
+ FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: FormFieldComponent, isStandalone: true, selector: "odx-form-field", inputs: { label: "label" }, providers: [FormFieldService, FormFieldErrorService, ReadonlyController.connect()], queries: [{ propertyName: "labelDirective", first: true, predicate: FormFieldLabelDirective, descendants: true }], hostDirectives: [{ directive: i1$1.WithDisabledState }], 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 });
320
+ FormFieldComponent = __decorate([
321
+ CSSComponent('form-field'),
322
+ __metadata("design:paramtypes", [])
323
+ ], FormFieldComponent);
324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldComponent, decorators: [{
325
+ type: Component,
326
+ args: [{ standalone: true, selector: 'odx-form-field', imports: [CoreModule, FormFieldInfoComponent, FormFieldLabelDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [FormFieldService, FormFieldErrorService, ReadonlyController.connect()], hostDirectives: [WithDisabledState], 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" }]
327
+ }], ctorParameters: function () { return []; }, propDecorators: { labelDirective: [{
328
+ type: ContentChild,
329
+ args: [FormFieldLabelDirective]
330
+ }], label: [{
331
+ type: Input
332
+ }] } });
333
+
334
+ const modules = [
335
+ FormFieldComponent,
336
+ FormGroupComponent,
337
+ FormDirective,
338
+ FormFieldControlDirective,
339
+ FormFieldErrorDirective,
340
+ FormFieldHintDirective,
341
+ FormFieldLabelDirective,
342
+ ];
343
+ class FormFieldModule {
344
+ static forRoot(config) {
345
+ return {
346
+ ngModule: FormFieldModule,
347
+ providers: [provideModuleConfig(FormFieldModuleConfig, config)],
348
+ };
349
+ }
350
+ }
351
+ FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
352
+ FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
353
+ FormGroupComponent,
354
+ FormDirective,
355
+ FormFieldControlDirective,
356
+ FormFieldErrorDirective,
357
+ FormFieldHintDirective,
358
+ FormFieldLabelDirective], exports: [CoreModule, FormFieldComponent,
359
+ FormGroupComponent,
360
+ FormDirective,
361
+ FormFieldControlDirective,
362
+ FormFieldErrorDirective,
363
+ FormFieldHintDirective,
364
+ FormFieldLabelDirective] });
365
+ FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
366
+ FormGroupComponent, CoreModule] });
367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FormFieldModule, decorators: [{
368
+ type: NgModule,
369
+ args: [{
370
+ imports: modules,
371
+ exports: [CoreModule, ...modules],
372
+ }]
373
+ }] });
374
+
375
+ /**
376
+ * Generated bundle index. Do not edit.
377
+ */
378
+
379
+ export { FormDirective, FormFieldComponent, FormFieldControlDirective, FormFieldErrorDirective, FormFieldErrorService, FormFieldHintDirective, FormFieldInfoComponent, FormFieldLabelDirective, FormFieldModule, FormGroupComponent };
380
+ //# sourceMappingURL=odx-angular-components-form-field.mjs.map
@@ -0,0 +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 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, ReadonlyController, WithDisabledState } 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, ReadonlyController.connect()],\n hostDirectives: [WithDisabledState],\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":["i2"],"mappings":";;;;;;;;;;;;AAgBO,MAAM,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,GAAG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AA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAb1B,kBAAkB;QAClB,kBAAkB;QAClB,aAAa;QACb,yBAAyB;QACzB,uBAAuB;QACvB,sBAAsB;QACtB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAKb,UAAU,EAXpB,kBAAkB;QAClB,kBAAkB;QAClB,aAAa;QACb,yBAAyB;QACzB,uBAAuB;QACvB,sBAAsB;QACtB,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAOZ,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAb1B,kBAAkB;AAClB,QAAA,kBAAkB,EAUR,UAAU,CAAA,EAAA,CAAA,CAAA;2FAET,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
@@ -1,24 +1,31 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { __decorate, __metadata } from 'tslib';
4
- import { CommonModule } from '@angular/common';
2
+ import { inject, Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { ButtonComponent, ButtonVariant } from '@odx/angular/components/button';
4
+ import { __decorate } from 'tslib';
5
5
  import { LogoDirective } from '@odx/angular/components/logo';
6
6
  import { CSSComponent } from '@odx/angular/internal';
7
+ import { injectElement } from '@odx/angular/utils';
8
+ import { CoreModule } from '@odx/angular';
7
9
  import { ActionGroupComponent } from '@odx/angular/components/action-group';
8
10
  import { AvatarComponent } from '@odx/angular/components/avatar';
9
- import { ButtonComponent } from '@odx/angular/components/button';
10
11
  import { IconComponent } from '@odx/angular/components/icon';
11
12
  import { MainMenuModule } from '@odx/angular/components/main-menu';
12
13
 
13
14
  class HeaderAvatarDirective {
15
+ constructor() {
16
+ this.button = inject(ButtonComponent, { self: true });
17
+ }
18
+ ngAfterViewInit() {
19
+ this.button.variant = ButtonVariant.GHOST;
20
+ }
14
21
  }
15
- HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
- HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
22
+ HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
23
+ HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxButton][odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
18
25
  type: Directive,
19
26
  args: [{
20
27
  standalone: true,
21
- selector: 'button[odxHeaderAvatar]',
28
+ selector: 'button[odxButton][odxHeaderAvatar]',
22
29
  host: {
23
30
  '[class.odx-header__avatar]': 'true',
24
31
  },
@@ -27,12 +34,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
27
34
 
28
35
  class HeaderTitleDirective {
29
36
  }
30
- HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
31
- HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderTitleDirective, decorators: [{
37
+ HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
+ HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleDirective, decorators: [{
33
40
  type: Directive,
34
41
  args: [{
35
- // eslint-disable-next-line @angular-eslint/directive-selector
36
42
  selector: 'odx-header-title',
37
43
  standalone: true,
38
44
  host: {
@@ -42,20 +48,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
42
48
  }] });
43
49
 
44
50
  let HeaderComponent = class HeaderComponent {
45
- constructor(element) {
46
- this.element = element;
51
+ constructor() {
52
+ this.element = injectElement();
47
53
  }
48
54
  };
49
- HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
50
- HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", 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 });
55
+ HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
51
57
  HeaderComponent = __decorate([
52
- CSSComponent('header'),
53
- __metadata("design:paramtypes", [ElementRef])
58
+ CSSComponent('header')
54
59
  ], HeaderComponent);
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderComponent, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderComponent, decorators: [{
56
61
  type: Component,
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
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
62
+ args: [{ standalone: true, selector: 'odx-header', imports: [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" }]
63
+ }] });
59
64
 
60
65
  const modules = [
61
66
  HeaderComponent,
@@ -66,40 +71,36 @@ const modules = [
66
71
  IconComponent,
67
72
  ButtonComponent,
68
73
  AvatarComponent,
69
- LogoDirective,
70
74
  ];
71
75
  class HeaderModule {
72
76
  }
73
- HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
- HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
77
+ HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
+ HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
75
79
  HeaderTitleDirective,
76
80
  HeaderAvatarDirective,
77
81
  MainMenuModule,
78
82
  ActionGroupComponent,
79
83
  IconComponent,
80
84
  ButtonComponent,
81
- AvatarComponent,
82
- LogoDirective], exports: [HeaderComponent,
85
+ AvatarComponent], exports: [CoreModule, HeaderComponent,
83
86
  HeaderTitleDirective,
84
87
  HeaderAvatarDirective,
85
88
  MainMenuModule,
86
89
  ActionGroupComponent,
87
90
  IconComponent,
88
91
  ButtonComponent,
89
- AvatarComponent,
90
- LogoDirective] });
91
- HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
92
+ AvatarComponent] });
93
+ HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
92
94
  MainMenuModule,
93
95
  ActionGroupComponent,
94
96
  IconComponent,
95
97
  ButtonComponent,
96
- AvatarComponent,
97
- MainMenuModule] });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, decorators: [{
98
+ AvatarComponent, CoreModule, MainMenuModule] });
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderModule, decorators: [{
99
100
  type: NgModule,
100
101
  args: [{
101
102
  imports: modules,
102
- exports: modules,
103
+ exports: [CoreModule, ...modules],
103
104
  }]
104
105
  }] });
105
106