@odx/angular 1.0.0-rc.7 → 1.0.0-rc.9

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 (572) hide show
  1. package/README.md +6 -6
  2. package/cdk/a11y/README.md +3 -0
  3. package/cdk/a11y/index.d.ts +2 -0
  4. package/cdk/a11y/lib/a11y.module.d.ts +11 -0
  5. package/cdk/a11y/lib/directives/index.d.ts +3 -0
  6. package/cdk/a11y/lib/directives/interactive.directive.d.ts +11 -0
  7. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +11 -0
  8. package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +12 -0
  9. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +3 -2
  10. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +1 -1
  11. package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +1 -1
  12. package/cdk/connected-overlay/lib/models/connected-overlay-options.d.ts +1 -0
  13. package/cdk/custom-form-control/lib/control.directive.d.ts +1 -1
  14. package/cdk/custom-form-control/lib/custom-form-control.d.ts +1 -1
  15. package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +1 -1
  16. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +1 -1
  17. package/cdk/expandable/index.d.ts +1 -0
  18. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +2 -2
  19. package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +2 -2
  20. package/cdk/expandable/lib/expandable.tokens.d.ts +3 -0
  21. package/cdk/expandable/lib/facade/expandable-container.d.ts +4 -4
  22. package/cdk/expandable/lib/facade/expandable-item.d.ts +6 -6
  23. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +1 -1
  24. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +1 -1
  25. package/components/accordion/lib/accordion.component.d.ts +1 -1
  26. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +1 -1
  27. package/components/accordion/lib/directives/accordion-item-title.d.ts +1 -1
  28. package/components/action-group/action-group.component.d.ts +1 -1
  29. package/components/area-header/area-header.component.d.ts +1 -1
  30. package/components/area-header/directives/area-header-content.directive.d.ts +1 -1
  31. package/components/area-header/directives/area-header-subtitle.directive.d.ts +1 -1
  32. package/components/avatar/lib/avatar.component.d.ts +1 -1
  33. package/components/badge/lib/badge.component.d.ts +1 -1
  34. package/components/badge/lib/badge.directive.d.ts +1 -1
  35. package/components/bar/README.md +3 -0
  36. package/components/bar/index.d.ts +5 -0
  37. package/components/bar/lib/bar.component.d.ts +6 -0
  38. package/components/bar/lib/bar.module.d.ts +10 -0
  39. package/components/bar/lib/directives/bar-button.directive.d.ts +10 -0
  40. package/components/bar/lib/directives/bar-label.directive.d.ts +6 -0
  41. package/components/bar/lib/models/bar-button-variant.d.ts +5 -0
  42. package/components/breadcrumbs/README.md +3 -0
  43. package/components/breadcrumbs/index.d.ts +1 -0
  44. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +17 -0
  45. package/components/button/lib/button.component.d.ts +3 -4
  46. package/components/button-group/lib/button-group.component.d.ts +1 -1
  47. package/components/checkbox/lib/checkbox.component.d.ts +2 -1
  48. package/components/checkbox/lib/checkbox.validator.d.ts +1 -1
  49. package/components/chip/lib/chip.component.d.ts +1 -1
  50. package/components/circular-progress/lib/circular-progress.component.d.ts +1 -1
  51. package/components/content-box/lib/content-box.component.d.ts +1 -1
  52. package/components/content-box/lib/directives/content-box-footer-directive.d.ts +1 -1
  53. package/components/content-box/lib/directives/content-box-header-directive.d.ts +1 -1
  54. package/components/dropdown/index.d.ts +2 -0
  55. package/components/dropdown/lib/dropdown.component.d.ts +2 -1
  56. package/components/dropdown/lib/dropdown.directive.d.ts +13 -4
  57. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +1 -0
  58. package/components/dropdown/lib/helpers/index.d.ts +1 -0
  59. package/components/dropdown/lib/models/close-dropdown-event.d.ts +4 -0
  60. package/components/dropdown/lib/models/dropdown-options.d.ts +1 -1
  61. package/components/dropdown/lib/models/index.d.ts +1 -0
  62. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +1 -1
  63. package/components/form-field/lib/components/form-group/form-group.component.d.ts +1 -1
  64. package/components/form-field/lib/directives/form-field-control.directive.d.ts +1 -1
  65. package/components/form-field/lib/directives/form-field-error.directive.d.ts +1 -1
  66. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +1 -1
  67. package/components/form-field/lib/directives/form-field-label.directive.d.ts +1 -1
  68. package/components/form-field/lib/directives/form.directive.d.ts +1 -1
  69. package/components/form-field/lib/form-field.component.d.ts +2 -1
  70. package/components/header/lib/directives/header-avatar.directive.d.ts +1 -1
  71. package/components/header/lib/directives/header-title.directive.d.ts +1 -1
  72. package/components/header/lib/header.component.d.ts +1 -1
  73. package/components/header/lib/header.module.d.ts +2 -3
  74. package/components/icon/lib/icon.component.d.ts +1 -1
  75. package/components/icon/lib/models/icon-size.d.ts +2 -1
  76. package/components/inline-message/index.d.ts +1 -1
  77. package/components/inline-message/lib/inline-message.component.d.ts +2 -2
  78. package/components/inline-message/lib/models/index.d.ts +1 -0
  79. package/components/launch-tile/README.md +3 -0
  80. package/components/launch-tile/index.d.ts +3 -0
  81. package/components/launch-tile/lib/components/index.d.ts +2 -0
  82. package/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.d.ts +5 -0
  83. package/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.d.ts +5 -0
  84. package/components/launch-tile/lib/launch-tile.component.d.ts +13 -0
  85. package/components/launch-tile/lib/launch-tile.module.d.ts +14 -0
  86. package/components/link/link.directive.d.ts +2 -4
  87. package/components/list/lib/components/index.d.ts +1 -1
  88. package/components/list/lib/components/{list-item.component.d.ts → list-item/list-item.component.d.ts} +2 -4
  89. package/components/list/lib/list.component.d.ts +2 -1
  90. package/components/list/lib/list.module.d.ts +1 -1
  91. package/components/loading-spinner/lib/loading-spinner.component.d.ts +1 -1
  92. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +2 -2
  93. package/components/logo/logo.directive.d.ts +1 -1
  94. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +1 -1
  95. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +2 -4
  96. package/components/main-menu/lib/main-menu.component.d.ts +1 -1
  97. package/components/menu/README.md +3 -0
  98. package/components/menu/index.d.ts +4 -0
  99. package/components/menu/lib/directives/index.d.ts +1 -0
  100. package/components/menu/lib/directives/menu-item.directive.d.ts +9 -0
  101. package/components/menu/lib/menu.component.d.ts +8 -0
  102. package/components/menu/lib/menu.directive.d.ts +16 -0
  103. package/components/menu/lib/menu.module.d.ts +10 -0
  104. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +10 -0
  105. package/components/modal/lib/components/index.d.ts +2 -0
  106. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +1 -1
  107. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +1 -1
  108. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +11 -0
  109. package/components/modal/lib/directives/modal-close.directive.d.ts +2 -2
  110. package/components/modal/lib/directives/modal-content.directive.d.ts +1 -1
  111. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +1 -1
  112. package/components/modal/lib/helpers/inject-modal-ref.d.ts +1 -1
  113. package/components/modal/lib/modal.component.d.ts +7 -3
  114. package/components/modal/lib/modal.directive.d.ts +1 -1
  115. package/components/modal/lib/modal.module.d.ts +9 -8
  116. package/components/modal/lib/modal.service.d.ts +2 -1
  117. package/components/modal/lib/models/basic-modal-options.d.ts +17 -0
  118. package/components/modal/lib/models/index.d.ts +2 -0
  119. package/components/modal/lib/models/modal-hero-variant.d.ts +7 -0
  120. package/components/progress/lib/progress.component.d.ts +2 -2
  121. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +2 -2
  122. package/components/radio-group/lib/radio-group.component.d.ts +1 -1
  123. package/components/rail-navigation/lib/components/rail-navigation-item.component.d.ts +2 -4
  124. package/components/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
  125. package/components/select/lib/components/option/option.component.d.ts +1 -1
  126. package/components/select/lib/directives/select-search-field.directive.d.ts +1 -1
  127. package/components/select/lib/select.component.d.ts +4 -4
  128. package/components/slider/lib/slider.directive.d.ts +2 -3
  129. package/components/spinbox/lib/spinbox.component.d.ts +2 -2
  130. package/components/switch/lib/switch.component.d.ts +2 -1
  131. package/components/switch/lib/switch.validator.d.ts +1 -1
  132. package/components/tab-bar/README.md +3 -0
  133. package/components/tab-bar/index.d.ts +4 -0
  134. package/components/tab-bar/lib/components/index.d.ts +1 -0
  135. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +20 -0
  136. package/components/tab-bar/lib/models/index.d.ts +1 -0
  137. package/components/tab-bar/lib/models/tab-change-event.d.ts +5 -0
  138. package/components/tab-bar/lib/tab-bar.component.d.ts +31 -0
  139. package/components/tab-bar/lib/tab-bar.config.d.ts +3 -0
  140. package/components/tab-bar/lib/tab-bar.module.d.ts +9 -0
  141. package/components/toast/README.md +3 -0
  142. package/components/toast/index.d.ts +5 -0
  143. package/components/toast/lib/components/index.d.ts +2 -0
  144. package/components/toast/lib/components/toast-container/toast-container.component.d.ts +23 -0
  145. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +20 -0
  146. package/components/toast/lib/models/index.d.ts +5 -0
  147. package/components/toast/lib/models/toast-action.d.ts +7 -0
  148. package/components/toast/lib/models/toast-ref.d.ts +7 -0
  149. package/components/toast/lib/models/toast-variant.d.ts +7 -0
  150. package/components/toast/lib/models/toast.d.ts +10 -0
  151. package/components/toast/lib/models/toast.options.d.ts +4 -0
  152. package/components/toast/lib/toast.config.d.ts +3 -0
  153. package/components/toast/lib/toast.module.d.ts +13 -0
  154. package/components/toast/lib/toast.service.d.ts +16 -0
  155. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +1 -1
  156. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +2 -2
  157. package/components/tooltip/lib/tooltip.component.d.ts +1 -1
  158. package/components/tooltip/lib/tooltip.directive.d.ts +1 -1
  159. package/esm2020/animations/lib/expand.mjs +6 -4
  160. package/esm2020/cdk/a11y/index.mjs +3 -0
  161. package/esm2020/cdk/a11y/lib/a11y.module.mjs +19 -0
  162. package/esm2020/cdk/a11y/lib/directives/index.mjs +4 -0
  163. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +49 -0
  164. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +28 -0
  165. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +40 -0
  166. package/esm2020/cdk/a11y/odx-angular-cdk-a11y.mjs +5 -0
  167. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +11 -10
  168. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +4 -4
  169. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +8 -4
  170. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +4 -4
  171. package/esm2020/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +3 -3
  172. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +3 -2
  173. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +4 -4
  174. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +4 -4
  175. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +4 -4
  176. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +4 -4
  177. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +4 -4
  178. package/esm2020/cdk/expandable/index.mjs +2 -1
  179. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +7 -8
  180. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +5 -7
  181. package/esm2020/cdk/expandable/lib/expandable.module.mjs +5 -5
  182. package/esm2020/cdk/expandable/lib/expandable.tokens.mjs +3 -0
  183. package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +2 -3
  184. package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +2 -3
  185. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +4 -4
  186. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +4 -4
  187. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +5 -5
  188. package/esm2020/components/accordion/lib/accordion.component.mjs +6 -6
  189. package/esm2020/components/accordion/lib/accordion.module.mjs +5 -5
  190. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +8 -6
  191. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +4 -4
  192. package/esm2020/components/action-group/action-group.component.mjs +4 -4
  193. package/esm2020/components/area-header/area-header.component.mjs +4 -4
  194. package/esm2020/components/area-header/area-header.module.mjs +5 -5
  195. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -4
  196. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -4
  197. package/esm2020/components/avatar/lib/avatar.component.mjs +4 -4
  198. package/esm2020/components/badge/lib/badge.component.mjs +4 -4
  199. package/esm2020/components/badge/lib/badge.directive.mjs +4 -4
  200. package/esm2020/components/bar/index.mjs +6 -0
  201. package/esm2020/components/bar/lib/bar.component.mjs +21 -0
  202. package/esm2020/components/bar/lib/bar.module.mjs +20 -0
  203. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +39 -0
  204. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +24 -0
  205. package/esm2020/components/bar/lib/models/bar-button-variant.mjs +5 -0
  206. package/esm2020/components/bar/odx-angular-components-bar.mjs +5 -0
  207. package/esm2020/components/breadcrumbs/index.mjs +2 -0
  208. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +50 -0
  209. package/esm2020/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +5 -0
  210. package/esm2020/components/button/lib/button.component.mjs +8 -12
  211. package/esm2020/components/button-group/lib/button-group.component.mjs +4 -4
  212. package/esm2020/components/checkbox/lib/checkbox.component.mjs +7 -6
  213. package/esm2020/components/checkbox/lib/checkbox.module.mjs +5 -5
  214. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +4 -4
  215. package/esm2020/components/chip/lib/chip.component.mjs +4 -4
  216. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +5 -5
  217. package/esm2020/components/content-box/lib/content-box.component.mjs +4 -4
  218. package/esm2020/components/content-box/lib/content-box.module.mjs +5 -5
  219. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -4
  220. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -4
  221. package/esm2020/components/dropdown/index.mjs +3 -1
  222. package/esm2020/components/dropdown/lib/dropdown.component.mjs +15 -6
  223. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +48 -17
  224. package/esm2020/components/dropdown/lib/dropdown.module.mjs +5 -5
  225. package/esm2020/components/dropdown/lib/helpers/close-current-dropdown.mjs +5 -0
  226. package/esm2020/components/dropdown/lib/helpers/index.mjs +2 -0
  227. package/esm2020/components/dropdown/lib/models/close-dropdown-event.mjs +7 -0
  228. package/esm2020/components/dropdown/lib/models/dropdown-options.mjs +2 -1
  229. package/esm2020/components/dropdown/lib/models/index.mjs +2 -1
  230. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +4 -4
  231. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +4 -4
  232. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +4 -4
  233. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +4 -4
  234. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +4 -4
  235. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +4 -4
  236. package/esm2020/components/form-field/lib/directives/form.directive.mjs +4 -4
  237. package/esm2020/components/form-field/lib/form-field.component.mjs +8 -7
  238. package/esm2020/components/form-field/lib/form-field.module.mjs +5 -5
  239. package/esm2020/components/form-field/lib/form-field.service.mjs +4 -4
  240. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +4 -4
  241. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +4 -4
  242. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -4
  243. package/esm2020/components/header/lib/header.component.mjs +5 -6
  244. package/esm2020/components/header/lib/header.module.mjs +7 -11
  245. package/esm2020/components/icon/lib/icon.component.mjs +4 -4
  246. package/esm2020/components/icon/lib/models/icon-size.mjs +2 -1
  247. package/esm2020/components/inline-message/index.mjs +2 -2
  248. package/esm2020/components/inline-message/lib/inline-message.component.mjs +5 -5
  249. package/esm2020/components/inline-message/lib/models/index.mjs +2 -0
  250. package/esm2020/components/launch-tile/index.mjs +4 -0
  251. package/esm2020/components/launch-tile/lib/components/index.mjs +3 -0
  252. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +13 -0
  253. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +13 -0
  254. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +51 -0
  255. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +23 -0
  256. package/esm2020/components/launch-tile/odx-angular-components-launch-tile.mjs +5 -0
  257. package/esm2020/components/link/link.directive.mjs +7 -14
  258. package/esm2020/components/list/lib/components/index.mjs +2 -2
  259. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +40 -0
  260. package/esm2020/components/list/lib/list.component.mjs +17 -9
  261. package/esm2020/components/list/lib/list.module.mjs +6 -6
  262. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +4 -4
  263. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +9 -9
  264. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +5 -5
  265. package/esm2020/components/logo/logo.directive.mjs +4 -4
  266. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +4 -4
  267. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +7 -13
  268. package/esm2020/components/main-menu/lib/main-menu.component.mjs +8 -8
  269. package/esm2020/components/main-menu/lib/main-menu.module.mjs +5 -5
  270. package/esm2020/components/main-menu/lib/main-menu.service.mjs +4 -4
  271. package/esm2020/components/menu/index.mjs +5 -0
  272. package/esm2020/components/menu/lib/directives/index.mjs +2 -0
  273. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +39 -0
  274. package/esm2020/components/menu/lib/menu.component.mjs +35 -0
  275. package/esm2020/components/menu/lib/menu.directive.mjs +51 -0
  276. package/esm2020/components/menu/lib/menu.module.mjs +20 -0
  277. package/esm2020/components/menu/odx-angular-components-menu.mjs +5 -0
  278. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +42 -0
  279. package/esm2020/components/modal/lib/components/index.mjs +3 -1
  280. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +4 -4
  281. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +4 -4
  282. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +39 -0
  283. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +10 -5
  284. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +4 -4
  285. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +4 -4
  286. package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +1 -1
  287. package/esm2020/components/modal/lib/modal.component.mjs +19 -9
  288. package/esm2020/components/modal/lib/modal.directive.mjs +4 -4
  289. package/esm2020/components/modal/lib/modal.module.mjs +33 -7
  290. package/esm2020/components/modal/lib/modal.service.mjs +14 -5
  291. package/esm2020/components/modal/lib/models/basic-modal-options.mjs +2 -0
  292. package/esm2020/components/modal/lib/models/index.mjs +3 -1
  293. package/esm2020/components/modal/lib/models/modal-hero-variant.mjs +7 -0
  294. package/esm2020/components/modal/lib/services/open-modal-manager.service.mjs +4 -4
  295. package/esm2020/components/progress/lib/progress.component.mjs +6 -6
  296. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +8 -9
  297. package/esm2020/components/radio-group/lib/radio-group.component.mjs +6 -6
  298. package/esm2020/components/radio-group/lib/radio-group.module.mjs +5 -5
  299. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +7 -12
  300. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +4 -4
  301. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +5 -5
  302. package/esm2020/components/select/lib/components/option/option.component.mjs +5 -5
  303. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +4 -4
  304. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +4 -4
  305. package/esm2020/components/select/lib/select.component.mjs +15 -19
  306. package/esm2020/components/select/lib/select.module.mjs +5 -5
  307. package/esm2020/components/slider/lib/slider.directive.mjs +7 -10
  308. package/esm2020/components/spinbox/lib/spinbox.component.mjs +5 -5
  309. package/esm2020/components/switch/lib/switch.component.mjs +7 -6
  310. package/esm2020/components/switch/lib/switch.module.mjs +5 -5
  311. package/esm2020/components/switch/lib/switch.validator.mjs +4 -4
  312. package/esm2020/components/tab-bar/index.mjs +5 -0
  313. package/esm2020/components/tab-bar/lib/components/index.mjs +2 -0
  314. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +70 -0
  315. package/esm2020/components/tab-bar/lib/models/index.mjs +2 -0
  316. package/esm2020/components/tab-bar/lib/models/tab-change-event.mjs +2 -0
  317. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +115 -0
  318. package/esm2020/components/tab-bar/lib/tab-bar.config.mjs +3 -0
  319. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +19 -0
  320. package/esm2020/components/tab-bar/odx-angular-components-tab-bar.mjs +5 -0
  321. package/esm2020/components/toast/index.mjs +6 -0
  322. package/esm2020/components/toast/lib/components/index.mjs +3 -0
  323. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +87 -0
  324. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +74 -0
  325. package/esm2020/components/toast/lib/models/index.mjs +6 -0
  326. package/esm2020/components/toast/lib/models/toast-action.mjs +2 -0
  327. package/esm2020/components/toast/lib/models/toast-ref.mjs +2 -0
  328. package/esm2020/components/toast/lib/models/toast-variant.mjs +7 -0
  329. package/esm2020/components/toast/lib/models/toast.mjs +2 -0
  330. package/esm2020/components/toast/lib/models/toast.options.mjs +2 -0
  331. package/esm2020/components/toast/lib/toast.config.mjs +6 -0
  332. package/esm2020/components/toast/lib/toast.module.mjs +26 -0
  333. package/esm2020/components/toast/lib/toast.service.mjs +38 -0
  334. package/esm2020/components/toast/odx-angular-components-toast.mjs +5 -0
  335. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +6 -10
  336. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +15 -7
  337. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +5 -5
  338. package/esm2020/components/tooltip/lib/tooltip.component.mjs +4 -4
  339. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +4 -4
  340. package/esm2020/lib/controllers/controller.mjs +6 -6
  341. package/esm2020/lib/controllers/disabled.controller.mjs +21 -42
  342. package/esm2020/lib/controllers/readonly.controller.mjs +6 -6
  343. package/esm2020/lib/core.module.mjs +7 -7
  344. package/esm2020/lib/directives/click-outside.directive.mjs +7 -6
  345. package/esm2020/lib/directives/index.mjs +4 -1
  346. package/esm2020/lib/directives/let.directive.mjs +36 -0
  347. package/esm2020/lib/directives/with-disabled-state.directive.mjs +41 -0
  348. package/esm2020/lib/directives/with-tabindex.directive.mjs +23 -0
  349. package/esm2020/lib/services/window-ref.mjs +9 -5
  350. package/esm2020/rxjs/index.mjs +2 -1
  351. package/esm2020/rxjs/lib/form-query-list.mjs +5 -0
  352. package/esm2020/utils/lib/helpers/dom.mjs +8 -1
  353. package/esm2020/utils/lib/helpers/event-manager.mjs +4 -4
  354. package/esm2020/utils/lib/helpers/get-unique-id.mjs +7 -0
  355. package/esm2020/utils/lib/helpers/index.mjs +3 -1
  356. package/esm2020/utils/lib/helpers/provide-module-config.mjs +1 -1
  357. package/esm2020/utils/lib/helpers/queue.mjs +24 -0
  358. package/fesm2015/odx-angular-animations.mjs +5 -3
  359. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  360. package/fesm2015/odx-angular-cdk-a11y.mjs +132 -0
  361. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -0
  362. package/fesm2015/odx-angular-cdk-active-indicator.mjs +12 -9
  363. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -1
  364. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +3 -3
  365. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  366. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +14 -9
  367. package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  368. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +6 -6
  369. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  370. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +9 -9
  371. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  372. package/fesm2015/odx-angular-cdk-expandable.mjs +16 -22
  373. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -1
  374. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +10 -10
  375. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  376. package/fesm2015/odx-angular-components-accordion.mjs +19 -17
  377. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -1
  378. package/fesm2015/odx-angular-components-action-group.mjs +3 -3
  379. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  380. package/fesm2015/odx-angular-components-area-header.mjs +13 -13
  381. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  382. package/fesm2015/odx-angular-components-avatar.mjs +3 -3
  383. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  384. package/fesm2015/odx-angular-components-badge.mjs +6 -6
  385. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  386. package/fesm2015/odx-angular-components-bar.mjs +96 -0
  387. package/fesm2015/odx-angular-components-bar.mjs.map +1 -0
  388. package/fesm2015/odx-angular-components-breadcrumbs.mjs +56 -0
  389. package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +1 -0
  390. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  391. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -1
  392. package/fesm2015/odx-angular-components-button.mjs +7 -11
  393. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  394. package/fesm2015/odx-angular-components-checkbox.mjs +13 -12
  395. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  396. package/fesm2015/odx-angular-components-chip.mjs +3 -3
  397. package/fesm2015/odx-angular-components-chip.mjs.map +1 -1
  398. package/fesm2015/odx-angular-components-circular-progress.mjs +4 -4
  399. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -1
  400. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  401. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  402. package/fesm2015/odx-angular-components-dropdown.mjs +92 -40
  403. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -1
  404. package/fesm2015/odx-angular-components-form-field.mjs +37 -36
  405. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  406. package/fesm2015/odx-angular-components-header.mjs +16 -20
  407. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  408. package/fesm2015/odx-angular-components-icon.mjs +4 -3
  409. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  410. package/fesm2015/odx-angular-components-inline-message.mjs +3 -3
  411. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -1
  412. package/fesm2015/odx-angular-components-launch-tile.mjs +95 -0
  413. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -0
  414. package/fesm2015/odx-angular-components-link.mjs +6 -14
  415. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  416. package/fesm2015/odx-angular-components-list.mjs +22 -25
  417. package/fesm2015/odx-angular-components-list.mjs.map +1 -1
  418. package/fesm2015/odx-angular-components-loading-spinner.mjs +15 -15
  419. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -1
  420. package/fesm2015/odx-angular-components-logo.mjs +3 -3
  421. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  422. package/fesm2015/odx-angular-components-main-menu.mjs +22 -30
  423. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  424. package/fesm2015/odx-angular-components-menu.mjs +127 -0
  425. package/fesm2015/odx-angular-components-menu.mjs.map +1 -0
  426. package/fesm2015/odx-angular-components-modal.mjs +161 -55
  427. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  428. package/fesm2015/odx-angular-components-progress.mjs +5 -5
  429. package/fesm2015/odx-angular-components-progress.mjs.map +1 -1
  430. package/fesm2015/odx-angular-components-radio-group.mjs +15 -16
  431. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  432. package/fesm2015/odx-angular-components-rail-navigation.mjs +13 -19
  433. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -1
  434. package/fesm2015/odx-angular-components-select.mjs +28 -32
  435. package/fesm2015/odx-angular-components-select.mjs.map +1 -1
  436. package/fesm2015/odx-angular-components-slider.mjs +6 -9
  437. package/fesm2015/odx-angular-components-slider.mjs.map +1 -1
  438. package/fesm2015/odx-angular-components-spinbox.mjs +5 -5
  439. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -1
  440. package/fesm2015/odx-angular-components-switch.mjs +13 -12
  441. package/fesm2015/odx-angular-components-switch.mjs.map +1 -1
  442. package/fesm2015/odx-angular-components-tab-bar.mjs +200 -0
  443. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -0
  444. package/fesm2015/odx-angular-components-toast.mjs +221 -0
  445. package/fesm2015/odx-angular-components-toast.mjs.map +1 -0
  446. package/fesm2015/odx-angular-components-toggle-button-group.mjs +23 -19
  447. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -1
  448. package/fesm2015/odx-angular-components-tooltip.mjs +6 -6
  449. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -1
  450. package/fesm2015/odx-angular-rxjs.mjs +6 -2
  451. package/fesm2015/odx-angular-rxjs.mjs.map +1 -1
  452. package/fesm2015/odx-angular-utils.mjs +41 -5
  453. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  454. package/fesm2015/odx-angular.mjs +140 -64
  455. package/fesm2015/odx-angular.mjs.map +1 -1
  456. package/fesm2020/odx-angular-animations.mjs +5 -3
  457. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  458. package/fesm2020/odx-angular-cdk-a11y.mjs +128 -0
  459. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -0
  460. package/fesm2020/odx-angular-cdk-active-indicator.mjs +10 -9
  461. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -1
  462. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +3 -3
  463. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  464. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +14 -9
  465. package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  466. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +6 -6
  467. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  468. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +9 -9
  469. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  470. package/fesm2020/odx-angular-cdk-expandable.mjs +16 -22
  471. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -1
  472. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +10 -10
  473. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  474. package/fesm2020/odx-angular-components-accordion.mjs +19 -17
  475. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -1
  476. package/fesm2020/odx-angular-components-action-group.mjs +3 -3
  477. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  478. package/fesm2020/odx-angular-components-area-header.mjs +13 -13
  479. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  480. package/fesm2020/odx-angular-components-avatar.mjs +3 -3
  481. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  482. package/fesm2020/odx-angular-components-badge.mjs +6 -6
  483. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  484. package/fesm2020/odx-angular-components-bar.mjs +96 -0
  485. package/fesm2020/odx-angular-components-bar.mjs.map +1 -0
  486. package/fesm2020/odx-angular-components-breadcrumbs.mjs +56 -0
  487. package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +1 -0
  488. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  489. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -1
  490. package/fesm2020/odx-angular-components-button.mjs +7 -11
  491. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  492. package/fesm2020/odx-angular-components-checkbox.mjs +13 -12
  493. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  494. package/fesm2020/odx-angular-components-chip.mjs +3 -3
  495. package/fesm2020/odx-angular-components-chip.mjs.map +1 -1
  496. package/fesm2020/odx-angular-components-circular-progress.mjs +4 -4
  497. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -1
  498. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  499. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  500. package/fesm2020/odx-angular-components-dropdown.mjs +91 -40
  501. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -1
  502. package/fesm2020/odx-angular-components-form-field.mjs +37 -36
  503. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  504. package/fesm2020/odx-angular-components-header.mjs +16 -20
  505. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  506. package/fesm2020/odx-angular-components-icon.mjs +4 -3
  507. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  508. package/fesm2020/odx-angular-components-inline-message.mjs +3 -3
  509. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -1
  510. package/fesm2020/odx-angular-components-launch-tile.mjs +94 -0
  511. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -0
  512. package/fesm2020/odx-angular-components-link.mjs +6 -13
  513. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  514. package/fesm2020/odx-angular-components-list.mjs +22 -24
  515. package/fesm2020/odx-angular-components-list.mjs.map +1 -1
  516. package/fesm2020/odx-angular-components-loading-spinner.mjs +15 -15
  517. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -1
  518. package/fesm2020/odx-angular-components-logo.mjs +3 -3
  519. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  520. package/fesm2020/odx-angular-components-main-menu.mjs +22 -29
  521. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  522. package/fesm2020/odx-angular-components-menu.mjs +129 -0
  523. package/fesm2020/odx-angular-components-menu.mjs.map +1 -0
  524. package/fesm2020/odx-angular-components-modal.mjs +166 -55
  525. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  526. package/fesm2020/odx-angular-components-progress.mjs +5 -5
  527. package/fesm2020/odx-angular-components-progress.mjs.map +1 -1
  528. package/fesm2020/odx-angular-components-radio-group.mjs +15 -16
  529. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  530. package/fesm2020/odx-angular-components-rail-navigation.mjs +13 -18
  531. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -1
  532. package/fesm2020/odx-angular-components-select.mjs +28 -32
  533. package/fesm2020/odx-angular-components-select.mjs.map +1 -1
  534. package/fesm2020/odx-angular-components-slider.mjs +6 -9
  535. package/fesm2020/odx-angular-components-slider.mjs.map +1 -1
  536. package/fesm2020/odx-angular-components-spinbox.mjs +5 -5
  537. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -1
  538. package/fesm2020/odx-angular-components-switch.mjs +13 -12
  539. package/fesm2020/odx-angular-components-switch.mjs.map +1 -1
  540. package/fesm2020/odx-angular-components-tab-bar.mjs +195 -0
  541. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -0
  542. package/fesm2020/odx-angular-components-toast.mjs +220 -0
  543. package/fesm2020/odx-angular-components-toast.mjs.map +1 -0
  544. package/fesm2020/odx-angular-components-toggle-button-group.mjs +23 -19
  545. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -1
  546. package/fesm2020/odx-angular-components-tooltip.mjs +6 -6
  547. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -1
  548. package/fesm2020/odx-angular-rxjs.mjs +6 -2
  549. package/fesm2020/odx-angular-rxjs.mjs.map +1 -1
  550. package/fesm2020/odx-angular-utils.mjs +42 -5
  551. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  552. package/fesm2020/odx-angular.mjs +137 -63
  553. package/fesm2020/odx-angular.mjs.map +1 -1
  554. package/lib/controllers/controller.d.ts +1 -1
  555. package/lib/controllers/disabled.controller.d.ts +4 -9
  556. package/lib/controllers/readonly.controller.d.ts +4 -2
  557. package/lib/core.module.d.ts +3 -2
  558. package/lib/directives/click-outside.directive.d.ts +1 -1
  559. package/lib/directives/index.d.ts +3 -0
  560. package/lib/directives/let.directive.d.ts +17 -0
  561. package/lib/directives/with-disabled-state.directive.d.ts +13 -0
  562. package/lib/directives/with-tabindex.directive.d.ts +7 -0
  563. package/lib/services/window-ref.d.ts +2 -0
  564. package/package.json +67 -11
  565. package/rxjs/index.d.ts +1 -0
  566. package/rxjs/lib/form-query-list.d.ts +3 -0
  567. package/utils/lib/helpers/dom.d.ts +1 -0
  568. package/utils/lib/helpers/get-unique-id.d.ts +1 -0
  569. package/utils/lib/helpers/index.d.ts +2 -0
  570. package/utils/lib/helpers/provide-module-config.d.ts +1 -1
  571. package/utils/lib/helpers/queue.d.ts +11 -0
  572. package/esm2020/components/list/lib/components/list-item.component.mjs +0 -46
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-form-field.mjs","sources":["../../../../libs/angular/components/form-field/src/lib/form-field.config.ts","../../../../libs/angular/components/form-field/src/lib/form-field.service.ts","../../../../libs/angular/components/form-field/src/lib/services/form-field-error.service.ts","../../../../libs/angular/components/form-field/src/lib/directives/form.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-control.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-error.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-hint.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-label.directive.ts","../../../../libs/angular/components/form-field/src/lib/components/form-field-info/form-field-info.component.ts","../../../../libs/angular/components/form-field/src/lib/components/form-field-info/form-field-info.component.html","../../../../libs/angular/components/form-field/src/lib/components/form-group/form-group.component.ts","../../../../libs/angular/components/form-field/src/lib/components/form-group/form-group.component.html","../../../../libs/angular/components/form-field/src/lib/form-field.component.ts","../../../../libs/angular/components/form-field/src/lib/form-field.component.html","../../../../libs/angular/components/form-field/src/lib/form-field.module.ts","../../../../libs/angular/components/form-field/src/odx-angular-components-form-field.ts"],"sourcesContent":["import { createModuleConfigTokens } from '@odx/angular/utils';\nimport { FormFieldErrorResolvers } from './models';\n\nexport interface FormFieldModuleConfig {\n /**\n * Object of error resolvers used to resolve error messages globally\n * @default {}\n */\n errors: FormFieldErrorResolvers;\n /**\n * Detect form field control changes on `blur` and/or `change`\n * @default ['blur']\n */\n updateOn: Array<'blur' | 'change'>;\n}\n\nexport const { FormFieldDefaultModuleConfig, FormFieldModuleConfig, injectFormFieldModuleConfig } = createModuleConfigTokens(\n 'FormField',\n '@odx/angular/components/form-field',\n {\n errors: {},\n updateOn: ['blur'],\n } as FormFieldModuleConfig\n);\n","import { ElementRef, Injectable, OnDestroy } from '@angular/core';\nimport { AbstractControl, Validators } from '@angular/forms';\nimport { Controller, DisabledController, ReadonlyController } from '@odx/angular';\nimport { BehaviorSubject, distinctUntilChanged, EMPTY, map, merge, Observable, of, shareReplay, startWith, switchMap, tap } from 'rxjs';\n\ninterface FieldControl {\n control: AbstractControl;\n nativeElement: HTMLElement;\n}\n\n@Injectable()\nexport class FormFieldService extends Controller implements OnDestroy {\n private static ID = 0;\n\n private readonly disabledController = DisabledController.inject();\n private readonly readonlyController = ReadonlyController.inject();\n private readonly control$$ = new BehaviorSubject<FieldControl | null>(null);\n\n public readonly control$ = this.control$$.pipe(shareReplay({ refCount: true }));\n public readonly controlId$ = this.control$.pipe(\n map((control) => (control ? control.nativeElement.id || `odx-form-field-${FormFieldService.ID++}` : null)),\n shareReplay({ refCount: true })\n );\n public readonly controlHintId$ = this.controlId$.pipe(\n map((id) => (id ? `${id}-hint` : null)),\n shareReplay({ refCount: true })\n );\n public readonly controlErrorId$ = this.controlId$.pipe(\n map((id) => (id ? `${id}-error` : null)),\n shareReplay({ refCount: true })\n );\n public readonly isDisabled$ = this.control$.pipe(\n switchMap((control) => (control ? merge(this.updateControlDisabledState(control), this.getControlDisabledState(control)) : of(false))),\n distinctUntilChanged(),\n shareReplay({ refCount: true })\n );\n public readonly isRequired$ = this.control$.pipe(\n map((control) => (control ? control.nativeElement.hasAttribute('required') || control.control.hasValidator(Validators.required) : false)),\n shareReplay({ refCount: true })\n );\n public readonly isReadonly$ = this.control$.pipe(\n switchMap((control) => (control && this.readonlyController ? this.readonlyController.isReadonly$ : of(false)))\n );\n\n public override ngOnDestroy(): void {\n this.control$$.complete();\n super.ngOnDestroy();\n }\n\n public registerControl(control: AbstractControl, { nativeElement }: ElementRef<HTMLElement>): void {\n this.control$$.next({ control, nativeElement });\n }\n\n public removeControl(): void {\n this.control$$.next(null);\n }\n\n private updateControlDisabledState({ control }: FieldControl): Observable<boolean> {\n if (this.disabledController) {\n return this.disabledController.isDisabled$.pipe(\n tap((state) => {\n if (state) {\n control.disable();\n } else {\n control.enable();\n }\n })\n );\n }\n return EMPTY;\n }\n\n private getControlDisabledState({ control }: FieldControl): Observable<boolean> {\n return control.statusChanges.pipe(\n startWith(control.status),\n map((status) => status === 'DISABLED'),\n distinctUntilChanged()\n );\n }\n}\n","import { Injectable, OnDestroy, TemplateRef } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\nimport { isFunction, isTemplateRef } from '@odx/angular/utils';\nimport { BehaviorSubject, combineLatest, distinctUntilChanged, map, shareReplay } from 'rxjs';\nimport { injectFormFieldModuleConfig } from '../form-field.config';\nimport { FormFieldError } from '../models';\n\nconst DEFAULT_CUSTOM_FORM_FIELD_ERROR = '@odx/angular/form-field/default-error';\n\ninterface NgFormFieldError {\n key: string;\n context: unknown;\n}\n\ntype CustomFormFieldErrors = Record<string, TemplateRef<unknown>>;\n\n@Injectable()\nexport class FormFieldErrorService implements OnDestroy {\n private readonly config = injectFormFieldModuleConfig();\n private readonly fieldError$$ = new BehaviorSubject<NgFormFieldError | null>(null);\n private readonly customErrors$$ = new BehaviorSubject<CustomFormFieldErrors>({});\n\n public readonly error$ = combineLatest([this.fieldError$$, this.customErrors$$]).pipe(\n map(([error, customErrors]) => this.resolveError(error, customErrors)),\n distinctUntilChanged(),\n shareReplay({ refCount: true })\n );\n public readonly hasError$ = this.error$.pipe(map((error) => error !== null));\n\n public get hasError(): boolean {\n return this.fieldError$$.getValue() !== null;\n }\n\n public ngOnDestroy(): void {\n this.fieldError$$.next(null);\n this.customErrors$$.next({});\n this.fieldError$$.complete();\n this.customErrors$$.complete();\n }\n\n public setError(errors?: ValidationErrors | null): void {\n if (!errors) {\n this.fieldError$$.next(null);\n } else {\n const [key, context] = Object.entries(errors)[0];\n this.fieldError$$.next({ key, context });\n }\n }\n\n public registerCustomError(key: string | undefined, template: TemplateRef<unknown>): void {\n this.customErrors$$.next({ ...this.customErrors$$.getValue(), [key || DEFAULT_CUSTOM_FORM_FIELD_ERROR]: template });\n }\n\n private resolveError(error: NgFormFieldError | null, customErrors: CustomFormFieldErrors): FormFieldError | null {\n if (!error) return null;\n const { key, context } = error;\n const message = customErrors[key] ?? customErrors[DEFAULT_CUSTOM_FORM_FIELD_ERROR];\n if (isTemplateRef(message)) {\n return {\n message,\n context: { $implicit: context },\n };\n }\n\n const getMessage = this.config.errors[key] ?? null;\n return isFunction(getMessage) ? { message: getMessage(context) } : null;\n }\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\nimport { fromEvent, share } from 'rxjs';\n\n@CSSComponent('form')\n@Directive({\n standalone: true,\n selector: 'form[odxForm]',\n})\nexport class FormDirective {\n private readonly takeUntilDestroyed = untilDestroyed();\n\n public readonly element = injectElement<HTMLFormElement>();\n public readonly submit$ = fromEvent<Event>(this.element.nativeElement, 'submit').pipe(this.takeUntilDestroyed(), share());\n public readonly reset$ = fromEvent<Event>(this.element.nativeElement, 'reset').pipe(this.takeUntilDestroyed(), share());\n}\n","import { Directive, inject, OnDestroy, OnInit } from '@angular/core';\nimport { AbstractControl, FormControl, NgControl } from '@angular/forms';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { booleanToOptionalAttributeString, injectElement, reactiveAttributeBinding, untilDestroyed } from '@odx/angular/utils';\nimport { EMPTY, fromEvent, map, merge, NEVER, Observable, of, startWith, switchMap, tap } from 'rxjs';\nimport { injectFormFieldModuleConfig } from '../form-field.config';\nimport { FormFieldService } from '../form-field.service';\nimport { FormFieldErrorService } from '../services';\nimport { FormDirective } from './form.directive';\n\n@CSSComponent('form-field-control')\n@Directive({\n standalone: true,\n selector: '[odxFormFieldControl]',\n exportAs: 'odxFormFieldControl',\n})\nexport class FormFieldControlDirective implements OnInit, OnDestroy {\n private readonly config = injectFormFieldModuleConfig();\n private readonly ngControl = inject(NgControl, { optional: true, self: true });\n private readonly form = inject(FormDirective, { optional: true, skipSelf: true });\n private readonly onFormReset$ = this.form?.reset$ ?? EMPTY;\n private readonly onFormSubmit$ = this.form?.submit$ ?? EMPTY;\n private readonly formFieldService = inject(FormFieldService);\n private readonly formFieldErrorService = inject(FormFieldErrorService);\n private readonly takeUntilDestroyed = untilDestroyed();\n public readonly element = injectElement();\n\n constructor() {\n reactiveAttributeBinding(this.formFieldService.controlId$, 'id');\n reactiveAttributeBinding(this.formFieldService.controlHintId$, 'aria-describedby');\n reactiveAttributeBinding(this.formFieldService.isReadonly$, 'readonly');\n reactiveAttributeBinding(this.formFieldService.isDisabled$.pipe(map(booleanToOptionalAttributeString)), 'aria-disabled');\n reactiveAttributeBinding(this.formFieldService.isReadonly$.pipe(map(booleanToOptionalAttributeString)), 'aria-readonly');\n reactiveAttributeBinding(this.formFieldService.isRequired$.pipe(map(booleanToOptionalAttributeString)), 'aria-required');\n reactiveAttributeBinding(this.formFieldErrorService.hasError$.pipe(map(booleanToOptionalAttributeString)), 'aria-invalid');\n reactiveAttributeBinding(\n this.formFieldErrorService.hasError$.pipe(switchMap((hasError) => (hasError ? this.formFieldService.controlErrorId$ : of(null)))),\n 'aria-errormessage'\n );\n }\n\n public ngOnInit() {\n const control = this.ngControl?.control;\n this.formFieldService.registerControl(control ?? new FormControl(), this.element);\n if (!control) return;\n\n const controlChanges$ = merge(this.registerOnBlur(control), this.registerOnChange(control), this.registerOnSubmit(control));\n const changes$ = merge(\n this.onFormReset$.pipe(tap(() => this.formFieldErrorService?.setError(null))),\n controlChanges$.pipe(tap(() => this.formFieldErrorService?.setError(control.errors)))\n );\n changes$.pipe(this.takeUntilDestroyed()).subscribe();\n }\n\n public ngOnDestroy(): void {\n this.formFieldService.removeControl();\n }\n\n private registerOnBlur({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('blur')) {\n return fromEvent(this.element.nativeElement, 'focusout').pipe(switchMap(() => valueChanges.pipe(startWith(true))));\n }\n return EMPTY;\n }\n\n private registerOnChange({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('change')) {\n return valueChanges;\n }\n return EMPTY;\n }\n\n private registerOnSubmit({ statusChanges, valueChanges }: AbstractControl): Observable<unknown> {\n return merge(this.onFormSubmit$, this.onFormReset$).pipe(\n switchMap(({ type }) => (type === 'submit' ? merge(statusChanges, valueChanges).pipe(startWith(true)) : NEVER))\n );\n }\n}\n","import { Directive, inject, Input, OnInit, TemplateRef } from '@angular/core';\nimport { FormFieldErrorService } from '../services';\n\n@Directive({\n standalone: true,\n selector: '[odxFormFieldError]',\n})\nexport class FormFieldErrorDirective implements OnInit {\n private readonly formFieldErrorService = inject(FormFieldErrorService, { skipSelf: true });\n private readonly template = inject(TemplateRef, { self: true });\n\n @Input('odxFormFieldError')\n public key?: string;\n\n public ngOnInit() {\n this.formFieldErrorService.registerCustomError(this.key, this.template);\n }\n}\n","import { Directive, inject } from '@angular/core';\nimport { reactiveAttributeBinding } from '@odx/angular/utils';\nimport { FormFieldService } from '../form-field.service';\n\n@Directive({\n standalone: true,\n selector: 'odx-form-field-hint',\n host: {\n '[class.odx-form-field__hint]': 'true',\n },\n})\nexport class FormFieldHintDirective {\n protected readonly formFieldService = inject(FormFieldService, { skipSelf: true });\n\n constructor() {\n reactiveAttributeBinding(inject(FormFieldService).controlHintId$, 'id');\n }\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('form-field-label')\n@Directive({\n standalone: true,\n selector: 'odx-form-field-label',\n})\nexport class FormFieldLabelDirective {\n public readonly element = injectElement();\n}\n","import { Component, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { FormFieldHintDirective } from '../../directives';\nimport { FormFieldService } from '../../form-field.service';\nimport { FormFieldError } from '../../models';\n\n@Component({\n standalone: true,\n selector: 'odx-form-field-info',\n templateUrl: './form-field-info.component.html',\n encapsulation: ViewEncapsulation.None,\n imports: [CoreModule, DynamicViewDirective, FormFieldHintDirective],\n host: {\n '[class.odx-form-field__info]': 'true',\n },\n})\nexport class FormFieldInfoComponent {\n protected readonly formFieldService = inject(FormFieldService);\n\n @Input()\n public error: FormFieldError | null = null;\n}\n","<span class=\"odx-form-field-error\" [attr.id]=\"formFieldService.controlErrorId$ | async\" *ngIf=\"error; else hint\">\n <ng-template [odxDynamicView]=\"error.message\" [odxDynamicViewContext]=\"error.context\"></ng-template>\n</span>\n<ng-template #hint>\n <ng-content></ng-content>\n</ng-template>\n","import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, QueryList, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { combineLatest, map, Observable, startWith, switchMap } from 'rxjs';\nimport { FormFieldService } from '../../form-field.service';\nimport { FormFieldError } from '../../models';\nimport { FormFieldErrorService } from '../../services';\nimport { FormFieldInfoComponent } from '../form-field-info/form-field-info.component';\n\n@CSSComponent('form-group')\n@Component({\n standalone: true,\n selector: 'odx-form-group',\n templateUrl: './form-group.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CoreModule, FormFieldInfoComponent],\n providers: [FormFieldService],\n})\nexport class FormGroupComponent implements AfterContentInit {\n public readonly element = injectElement();\n public error$: Observable<FormFieldError | null> | null = null;\n\n @ContentChildren(FormFieldErrorService, { descendants: false })\n public formFieldErrorServices!: QueryList<FormFieldErrorService>;\n\n public ngAfterContentInit() {\n this.error$ = this.formFieldErrorServices.changes.pipe(\n startWith<QueryList<FormFieldErrorService>>(this.formFieldErrorServices),\n switchMap((services) => combineLatest(services.map((service) => service.error$))),\n map((errors) => errors.find((error) => error !== null) ?? null)\n );\n }\n}\n","<div class=\"odx-form-group__content\" odxLayout=\"grid auto vertical-end\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n","import { ChangeDetectionStrategy, Component, ContentChild, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, DisabledController, ReadonlyController } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, reactiveClassBinding } from '@odx/angular/utils';\nimport { FormFieldInfoComponent, FormGroupComponent } from './components';\nimport { FormFieldLabelDirective } from './directives';\nimport { FormFieldService } from './form-field.service';\nimport { FormFieldErrorService } from './services';\n\n@CSSComponent('form-field')\n@Component({\n standalone: true,\n selector: 'odx-form-field',\n imports: [CoreModule, FormFieldInfoComponent, FormFieldLabelDirective],\n templateUrl: './form-field.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [FormFieldService, FormFieldErrorService, DisabledController.connect(), ReadonlyController.connect()],\n})\nexport class FormFieldComponent {\n protected readonly formGroup = inject(FormGroupComponent, { optional: true, host: true });\n protected readonly formFieldService = inject(FormFieldService, { self: true });\n protected readonly formFieldErrorService = inject(FormFieldErrorService, { self: true });\n public readonly element = injectElement();\n\n @ContentChild(FormFieldLabelDirective)\n public labelDirective?: FormFieldLabelDirective;\n\n @Input()\n public label?: string | null = null;\n\n public get hasLabel(): boolean {\n return !!(this.labelDirective || this.label);\n }\n\n public get isStandalone(): boolean {\n return !this.formGroup;\n }\n\n constructor() {\n reactiveClassBinding(this.formFieldService.isRequired$, 'odx-form-field--required');\n reactiveClassBinding(this.formFieldService.isDisabled$, 'is-disabled');\n reactiveClassBinding(this.formFieldService.isReadonly$, 'is-readonly');\n reactiveClassBinding(this.formFieldErrorService.hasError$, 'has-error');\n }\n}\n","<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <odx-form-field-label *ngIf=\"label; else labelTemplate\">\n {{ label }}\n </odx-form-field-label>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\n </ng-template>\n</label>\n<div class=\"odx-form-field__inner\">\n <div class=\"odx-form-field__control\">\n <div class=\"odx-form-field__prefix\">\n <ng-content select=\"[odxFormFieldPrefix]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"odx-form-field__suffix\">\n <ng-content select=\"[odxFormFieldSuffix]\"></ng-content>\n </div>\n </div>\n <odx-form-field-info [error]=\"formFieldErrorService.error$ | async\" *ngIf=\"!formGroup\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n </odx-form-field-info>\n</div>\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { ModuleConfigDependencies, ModuleConfigProvider, provideModuleConfig } from '@odx/angular/utils';\nimport { FormGroupComponent } from './components';\nimport { FormDirective, FormFieldControlDirective, FormFieldErrorDirective, FormFieldHintDirective, FormFieldLabelDirective } from './directives';\nimport { FormFieldComponent } from './form-field.component';\nimport { FormFieldModuleConfig } from './form-field.config';\n\nconst modules = [\n FormFieldComponent,\n FormGroupComponent,\n FormDirective,\n FormFieldControlDirective,\n FormFieldErrorDirective,\n FormFieldHintDirective,\n FormFieldLabelDirective,\n];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class FormFieldModule {\n public static forRoot<D extends ModuleConfigDependencies>(\n config: ModuleConfigProvider<Partial<FormFieldModuleConfig>, D>\n ): ModuleWithProviders<FormFieldModule> {\n return {\n ngModule: FormFieldModule,\n providers: [provideModuleConfig(FormFieldModuleConfig, config)],\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAgBO,MAAM,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,GAAG,wBAAwB,CAC1H,WAAW,EACX,oCAAoC,EACpC;AACE,IAAA,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,CAAC,MAAM,CAAC;AACM,CAAA,CAC3B;;ACZK,MAAO,gBAAiB,SAAQ,UAAU,CAAA;AADhD,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,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ACzB,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,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAb1B,kBAAkB;AAClB,QAAA,kBAAkB,EAUR,UAAU,CAAA,EAAA,CAAA,CAAA;4FAET,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;iBAClC,CAAA;;;ACrBD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-form-field.mjs","sources":["../../../../libs/angular/components/form-field/src/lib/form-field.config.ts","../../../../libs/angular/components/form-field/src/lib/form-field.service.ts","../../../../libs/angular/components/form-field/src/lib/services/form-field-error.service.ts","../../../../libs/angular/components/form-field/src/lib/directives/form.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-control.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-error.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-hint.directive.ts","../../../../libs/angular/components/form-field/src/lib/directives/form-field-label.directive.ts","../../../../libs/angular/components/form-field/src/lib/components/form-field-info/form-field-info.component.ts","../../../../libs/angular/components/form-field/src/lib/components/form-field-info/form-field-info.component.html","../../../../libs/angular/components/form-field/src/lib/components/form-group/form-group.component.ts","../../../../libs/angular/components/form-field/src/lib/components/form-group/form-group.component.html","../../../../libs/angular/components/form-field/src/lib/form-field.component.ts","../../../../libs/angular/components/form-field/src/lib/form-field.component.html","../../../../libs/angular/components/form-field/src/lib/form-field.module.ts","../../../../libs/angular/components/form-field/src/odx-angular-components-form-field.ts"],"sourcesContent":["import { createModuleConfigTokens } from '@odx/angular/utils';\nimport { FormFieldErrorResolvers } from './models';\n\nexport interface FormFieldModuleConfig {\n /**\n * Object of error resolvers used to resolve error messages globally\n * @default {}\n */\n errors: FormFieldErrorResolvers;\n /**\n * Detect form field control changes on `blur` and/or `change`\n * @default ['blur']\n */\n updateOn: Array<'blur' | 'change'>;\n}\n\nexport const { FormFieldDefaultModuleConfig, FormFieldModuleConfig, injectFormFieldModuleConfig } = createModuleConfigTokens(\n 'FormField',\n '@odx/angular/components/form-field',\n {\n errors: {},\n updateOn: ['blur'],\n } as FormFieldModuleConfig\n);\n","import { ElementRef, Injectable, OnDestroy } from '@angular/core';\nimport { AbstractControl, Validators } from '@angular/forms';\nimport { Controller, DisabledController, ReadonlyController } from '@odx/angular';\nimport { BehaviorSubject, distinctUntilChanged, EMPTY, map, merge, Observable, of, shareReplay, startWith, switchMap, tap } from 'rxjs';\n\ninterface FieldControl {\n control: AbstractControl;\n nativeElement: HTMLElement;\n}\n\n@Injectable()\nexport class FormFieldService extends Controller implements OnDestroy {\n private static ID = 0;\n\n private readonly disabledController = DisabledController.inject();\n private readonly readonlyController = ReadonlyController.inject();\n private readonly control$$ = new BehaviorSubject<FieldControl | null>(null);\n\n public readonly control$ = this.control$$.pipe(shareReplay({ refCount: true }));\n public readonly controlId$ = this.control$.pipe(\n map((control) => (control ? control.nativeElement.id || `odx-form-field-${FormFieldService.ID++}` : null)),\n shareReplay({ refCount: true })\n );\n public readonly controlHintId$ = this.controlId$.pipe(\n map((id) => (id ? `${id}-hint` : null)),\n shareReplay({ refCount: true })\n );\n public readonly controlErrorId$ = this.controlId$.pipe(\n map((id) => (id ? `${id}-error` : null)),\n shareReplay({ refCount: true })\n );\n public readonly isDisabled$ = this.control$.pipe(\n switchMap((control) => (control ? merge(this.updateControlDisabledState(control), this.getControlDisabledState(control)) : of(false))),\n distinctUntilChanged(),\n shareReplay({ refCount: true })\n );\n public readonly isRequired$ = this.control$.pipe(\n map((control) => (control ? control.nativeElement.hasAttribute('required') || control.control.hasValidator(Validators.required) : false)),\n shareReplay({ refCount: true })\n );\n public readonly isReadonly$ = this.control$.pipe(\n switchMap((control) => (control && this.readonlyController ? this.readonlyController.isReadonly$ : of(false)))\n );\n\n public override ngOnDestroy(): void {\n this.control$$.complete();\n super.ngOnDestroy();\n }\n\n public registerControl(control: AbstractControl, { nativeElement }: ElementRef<HTMLElement>): void {\n this.control$$.next({ control, nativeElement });\n }\n\n public removeControl(): void {\n this.control$$.next(null);\n }\n\n private updateControlDisabledState({ control }: FieldControl): Observable<boolean> {\n if (this.disabledController) {\n return this.disabledController.isDisabled$.pipe(\n tap((state) => {\n if (state) {\n control.disable();\n } else {\n control.enable();\n }\n })\n );\n }\n return EMPTY;\n }\n\n private getControlDisabledState({ control }: FieldControl): Observable<boolean> {\n return control.statusChanges.pipe(\n startWith(control.status),\n map((status) => status === 'DISABLED'),\n distinctUntilChanged()\n );\n }\n}\n","import { Injectable, OnDestroy, TemplateRef } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\nimport { isFunction, isTemplateRef } from '@odx/angular/utils';\nimport { BehaviorSubject, combineLatest, distinctUntilChanged, map, shareReplay } from 'rxjs';\nimport { injectFormFieldModuleConfig } from '../form-field.config';\nimport { FormFieldError } from '../models';\n\nconst DEFAULT_CUSTOM_FORM_FIELD_ERROR = '@odx/angular/form-field/default-error';\n\ninterface NgFormFieldError {\n key: string;\n context: unknown;\n}\n\ntype CustomFormFieldErrors = Record<string, TemplateRef<unknown>>;\n\n@Injectable()\nexport class FormFieldErrorService implements OnDestroy {\n private readonly config = injectFormFieldModuleConfig();\n private readonly fieldError$$ = new BehaviorSubject<NgFormFieldError | null>(null);\n private readonly customErrors$$ = new BehaviorSubject<CustomFormFieldErrors>({});\n\n public readonly error$ = combineLatest([this.fieldError$$, this.customErrors$$]).pipe(\n map(([error, customErrors]) => this.resolveError(error, customErrors)),\n distinctUntilChanged(),\n shareReplay({ refCount: true })\n );\n public readonly hasError$ = this.error$.pipe(map((error) => error !== null));\n\n public get hasError(): boolean {\n return this.fieldError$$.getValue() !== null;\n }\n\n public ngOnDestroy(): void {\n this.fieldError$$.next(null);\n this.customErrors$$.next({});\n this.fieldError$$.complete();\n this.customErrors$$.complete();\n }\n\n public setError(errors?: ValidationErrors | null): void {\n if (!errors) {\n this.fieldError$$.next(null);\n } else {\n const [key, context] = Object.entries(errors)[0];\n this.fieldError$$.next({ key, context });\n }\n }\n\n public registerCustomError(key: string | undefined, template: TemplateRef<unknown>): void {\n this.customErrors$$.next({ ...this.customErrors$$.getValue(), [key || DEFAULT_CUSTOM_FORM_FIELD_ERROR]: template });\n }\n\n private resolveError(error: NgFormFieldError | null, customErrors: CustomFormFieldErrors): FormFieldError | null {\n if (!error) return null;\n const { key, context } = error;\n const message = customErrors[key] ?? customErrors[DEFAULT_CUSTOM_FORM_FIELD_ERROR];\n if (isTemplateRef(message)) {\n return {\n message,\n context: { $implicit: context },\n };\n }\n\n const getMessage = this.config.errors[key] ?? null;\n return isFunction(getMessage) ? { message: getMessage(context) } : null;\n }\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\nimport { fromEvent, share } from 'rxjs';\n\n@CSSComponent('form')\n@Directive({\n standalone: true,\n selector: 'form[odxForm]',\n})\nexport class FormDirective {\n private readonly takeUntilDestroyed = untilDestroyed();\n\n public readonly element = injectElement<HTMLFormElement>();\n public readonly submit$ = fromEvent<Event>(this.element.nativeElement, 'submit').pipe(this.takeUntilDestroyed(), share());\n public readonly reset$ = fromEvent<Event>(this.element.nativeElement, 'reset').pipe(this.takeUntilDestroyed(), share());\n}\n","import { Directive, inject, OnDestroy, OnInit } from '@angular/core';\nimport { AbstractControl, FormControl, NgControl } from '@angular/forms';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { booleanToOptionalAttributeString, injectElement, reactiveAttributeBinding, untilDestroyed } from '@odx/angular/utils';\nimport { EMPTY, fromEvent, map, merge, NEVER, Observable, of, startWith, switchMap, tap } from 'rxjs';\nimport { injectFormFieldModuleConfig } from '../form-field.config';\nimport { FormFieldService } from '../form-field.service';\nimport { FormFieldErrorService } from '../services';\nimport { FormDirective } from './form.directive';\n\n@CSSComponent('form-field-control')\n@Directive({\n standalone: true,\n selector: '[odxFormFieldControl]',\n exportAs: 'odxFormFieldControl',\n})\nexport class FormFieldControlDirective implements OnInit, OnDestroy {\n private readonly config = injectFormFieldModuleConfig();\n private readonly ngControl = inject(NgControl, { optional: true, self: true });\n private readonly form = inject(FormDirective, { optional: true, skipSelf: true });\n private readonly onFormReset$ = this.form?.reset$ ?? EMPTY;\n private readonly onFormSubmit$ = this.form?.submit$ ?? EMPTY;\n private readonly formFieldService = inject(FormFieldService);\n private readonly formFieldErrorService = inject(FormFieldErrorService);\n private readonly takeUntilDestroyed = untilDestroyed();\n public readonly element = injectElement();\n\n constructor() {\n reactiveAttributeBinding(this.formFieldService.controlId$, 'id');\n reactiveAttributeBinding(this.formFieldService.controlHintId$, 'aria-describedby');\n reactiveAttributeBinding(this.formFieldService.isReadonly$, 'readonly');\n reactiveAttributeBinding(this.formFieldService.isDisabled$.pipe(map(booleanToOptionalAttributeString)), 'aria-disabled');\n reactiveAttributeBinding(this.formFieldService.isReadonly$.pipe(map(booleanToOptionalAttributeString)), 'aria-readonly');\n reactiveAttributeBinding(this.formFieldService.isRequired$.pipe(map(booleanToOptionalAttributeString)), 'aria-required');\n reactiveAttributeBinding(this.formFieldErrorService.hasError$.pipe(map(booleanToOptionalAttributeString)), 'aria-invalid');\n reactiveAttributeBinding(\n this.formFieldErrorService.hasError$.pipe(switchMap((hasError) => (hasError ? this.formFieldService.controlErrorId$ : of(null)))),\n 'aria-errormessage'\n );\n }\n\n public ngOnInit() {\n const control = this.ngControl?.control;\n this.formFieldService.registerControl(control ?? new FormControl(), this.element);\n if (!control) return;\n\n const controlChanges$ = merge(this.registerOnBlur(control), this.registerOnChange(control), this.registerOnSubmit(control));\n const changes$ = merge(\n this.onFormReset$.pipe(tap(() => this.formFieldErrorService?.setError(null))),\n controlChanges$.pipe(tap(() => this.formFieldErrorService?.setError(control.errors)))\n );\n changes$.pipe(this.takeUntilDestroyed()).subscribe();\n }\n\n public ngOnDestroy(): void {\n this.formFieldService.removeControl();\n }\n\n private registerOnBlur({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('blur')) {\n return fromEvent(this.element.nativeElement, 'focusout').pipe(switchMap(() => valueChanges.pipe(startWith(true))));\n }\n return EMPTY;\n }\n\n private registerOnChange({ valueChanges }: AbstractControl): Observable<unknown> {\n if (this.config.updateOn.includes('change')) {\n return valueChanges;\n }\n return EMPTY;\n }\n\n private registerOnSubmit({ statusChanges, valueChanges }: AbstractControl): Observable<unknown> {\n return merge(this.onFormSubmit$, this.onFormReset$).pipe(\n switchMap(({ type }) => (type === 'submit' ? merge(statusChanges, valueChanges).pipe(startWith(true)) : NEVER))\n );\n }\n}\n","import { Directive, inject, Input, OnInit, TemplateRef } from '@angular/core';\nimport { FormFieldErrorService } from '../services';\n\n@Directive({\n standalone: true,\n selector: '[odxFormFieldError]',\n})\nexport class FormFieldErrorDirective implements OnInit {\n private readonly formFieldErrorService = inject(FormFieldErrorService, { skipSelf: true });\n private readonly template = inject(TemplateRef, { self: true });\n\n @Input('odxFormFieldError')\n public key?: string;\n\n public ngOnInit() {\n this.formFieldErrorService.registerCustomError(this.key, this.template);\n }\n}\n","import { Directive, inject } from '@angular/core';\nimport { reactiveAttributeBinding } from '@odx/angular/utils';\nimport { FormFieldService } from '../form-field.service';\n\n@Directive({\n standalone: true,\n selector: 'odx-form-field-hint',\n host: {\n '[class.odx-form-field__hint]': 'true',\n },\n})\nexport class FormFieldHintDirective {\n protected readonly formFieldService = inject(FormFieldService, { skipSelf: true });\n\n constructor() {\n reactiveAttributeBinding(inject(FormFieldService).controlHintId$, 'id');\n }\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('form-field-label')\n@Directive({\n standalone: true,\n selector: 'odx-form-field-label',\n})\nexport class FormFieldLabelDirective {\n public readonly element = injectElement();\n}\n","import { Component, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { FormFieldHintDirective } from '../../directives';\nimport { FormFieldService } from '../../form-field.service';\nimport { FormFieldError } from '../../models';\n\n@Component({\n standalone: true,\n selector: 'odx-form-field-info',\n templateUrl: './form-field-info.component.html',\n encapsulation: ViewEncapsulation.None,\n imports: [CoreModule, DynamicViewDirective, FormFieldHintDirective],\n host: {\n '[class.odx-form-field__info]': 'true',\n },\n})\nexport class FormFieldInfoComponent {\n protected readonly formFieldService = inject(FormFieldService);\n\n @Input()\n public error: FormFieldError | null = null;\n}\n","<span class=\"odx-form-field-error\" [attr.id]=\"formFieldService.controlErrorId$ | async\" *ngIf=\"error; else hint\">\n <ng-template [odxDynamicView]=\"error.message\" [odxDynamicViewContext]=\"error.context\"></ng-template>\n</span>\n<ng-template #hint>\n <ng-content></ng-content>\n</ng-template>\n","import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, QueryList, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { combineLatest, map, Observable, startWith, switchMap } from 'rxjs';\nimport { FormFieldService } from '../../form-field.service';\nimport { FormFieldError } from '../../models';\nimport { FormFieldErrorService } from '../../services';\nimport { FormFieldInfoComponent } from '../form-field-info/form-field-info.component';\n\n@CSSComponent('form-group')\n@Component({\n standalone: true,\n selector: 'odx-form-group',\n templateUrl: './form-group.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CoreModule, FormFieldInfoComponent],\n providers: [FormFieldService],\n})\nexport class FormGroupComponent implements AfterContentInit {\n public readonly element = injectElement();\n public error$: Observable<FormFieldError | null> | null = null;\n\n @ContentChildren(FormFieldErrorService, { descendants: false })\n public formFieldErrorServices!: QueryList<FormFieldErrorService>;\n\n public ngAfterContentInit() {\n this.error$ = this.formFieldErrorServices.changes.pipe(\n startWith<QueryList<FormFieldErrorService>>(this.formFieldErrorServices),\n switchMap((services) => combineLatest(services.map((service) => service.error$))),\n map((errors) => errors.find((error) => error !== null) ?? null)\n );\n }\n}\n","<div class=\"odx-form-group__content\" odxLayout=\"grid auto vertical-end\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n","import { ChangeDetectionStrategy, Component, ContentChild, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, 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,wBAAwB,CAC1H,WAAW,EACX,oCAAoC,EACpC;AACE,IAAA,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,CAAC,MAAM,CAAC;AACM,CAAA,CAC3B;;ACZK,MAAO,gBAAiB,SAAQ,UAAU,CAAA;AADhD,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC;AACjD,QAAA,IAAA,CAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC;QACjD,IAAA,CAAA,SAAS,GAAG,IAAI,eAAe,CAAsB,IAAI,CAAC,CAAC;AAE5D,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAChE,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAC7C,GAAG,CAAC,CAAC,OAAO,MAAM,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC,EAAE,IAAI,kBAAkB,gBAAgB,CAAC,EAAE,EAAE,CAAA,CAAE,GAAG,IAAI,CAAC,CAAC,EAC1G,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAChC,CAAC;AACc,QAAA,IAAA,CAAA,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CACnD,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,CAAA,E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,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;AACtB,QAAA,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;iBAClC,CAAA;;;ACrBD;;AAEG;;;;"}
@@ -1,7 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
3
  import { __decorate } from 'tslib';
4
- import { CommonModule } from '@angular/common';
5
4
  import { LogoDirective } from '@odx/angular/components/logo';
6
5
  import { CSSComponent } from '@odx/angular/internal';
7
6
  import { injectElement } from '@odx/angular/utils';
@@ -14,9 +13,9 @@ import { MainMenuModule } from '@odx/angular/components/main-menu';
14
13
 
15
14
  class HeaderAvatarDirective {
16
15
  }
17
- HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18
- HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
16
+ HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
+ HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
20
19
  type: Directive,
21
20
  args: [{
22
21
  standalone: true,
@@ -29,9 +28,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
29
28
 
30
29
  class HeaderTitleDirective {
31
30
  }
32
- HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
- HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderTitleDirective, decorators: [{
31
+ HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
32
+ HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: HeaderTitleDirective, decorators: [{
35
34
  type: Directive,
36
35
  args: [{
37
36
  selector: 'odx-header-title',
@@ -47,14 +46,14 @@ let HeaderComponent = class HeaderComponent {
47
46
  this.element = injectElement();
48
47
  }
49
48
  };
50
- HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
51
- HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: HeaderComponent, isStandalone: true, selector: "odx-header", ngImport: i0, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
49
+ HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
50
+ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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 });
52
51
  HeaderComponent = __decorate([
53
52
  CSSComponent('header')
54
53
  ], HeaderComponent);
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderComponent, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: HeaderComponent, decorators: [{
56
55
  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" }]
56
+ 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" }]
58
57
  }] });
59
58
 
60
59
  const modules = [
@@ -66,35 +65,32 @@ const modules = [
66
65
  IconComponent,
67
66
  ButtonComponent,
68
67
  AvatarComponent,
69
- LogoDirective,
70
68
  ];
71
69
  class HeaderModule {
72
70
  }
73
- HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
- HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
71
+ HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
72
+ HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
75
73
  HeaderTitleDirective,
76
74
  HeaderAvatarDirective,
77
75
  MainMenuModule,
78
76
  ActionGroupComponent,
79
77
  IconComponent,
80
78
  ButtonComponent,
81
- AvatarComponent,
82
- LogoDirective], exports: [CoreModule, HeaderComponent,
79
+ AvatarComponent], exports: [CoreModule, HeaderComponent,
83
80
  HeaderTitleDirective,
84
81
  HeaderAvatarDirective,
85
82
  MainMenuModule,
86
83
  ActionGroupComponent,
87
84
  IconComponent,
88
85
  ButtonComponent,
89
- AvatarComponent,
90
- LogoDirective] });
91
- HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
86
+ AvatarComponent] });
87
+ HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
92
88
  MainMenuModule,
93
89
  ActionGroupComponent,
94
90
  IconComponent,
95
91
  ButtonComponent,
96
92
  AvatarComponent, CoreModule, MainMenuModule] });
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: HeaderModule, decorators: [{
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: HeaderModule, decorators: [{
98
94
  type: NgModule,
99
95
  args: [{
100
96
  imports: modules,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-header.mjs","sources":["../../../../libs/angular/components/header/src/lib/directives/header-avatar.directive.ts","../../../../libs/angular/components/header/src/lib/directives/header-title.directive.ts","../../../../libs/angular/components/header/src/lib/header.component.ts","../../../../libs/angular/components/header/src/lib/header.component.html","../../../../libs/angular/components/header/src/lib/header.module.ts","../../../../libs/angular/components/header/src/odx-angular-components-header.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'button[odxHeaderAvatar]',\n host: {\n '[class.odx-header__avatar]': 'true',\n },\n})\nexport class HeaderAvatarDirective {}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'odx-header-title',\n standalone: true,\n host: {\n '[class.odx-header__title]': 'true',\n },\n})\nexport class HeaderTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('header')\n@Component({\n standalone: true,\n selector: 'odx-header',\n imports: [CommonModule, LogoDirective],\n templateUrl: './header.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeaderComponent {\n public readonly element = injectElement();\n}\n","<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","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { AvatarComponent } from '@odx/angular/components/avatar';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { MainMenuModule } from '@odx/angular/components/main-menu';\nimport { HeaderAvatarDirective, HeaderTitleDirective } from './directives';\nimport { HeaderComponent } from './header.component';\n\nconst modules = [\n HeaderComponent,\n HeaderTitleDirective,\n HeaderAvatarDirective,\n MainMenuModule,\n ActionGroupComponent,\n IconComponent,\n ButtonComponent,\n AvatarComponent,\n LogoDirective,\n];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class HeaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MASa,qBAAqB,CAAA;;mHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;uGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,IAAI,EAAE;AACJ,wBAAA,4BAA4B,EAAE,MAAM;AACrC,qBAAA;iBACF,CAAA;;;MCCY,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;sGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CA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OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;iBAClC,CAAA;;;AC1BD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-header.mjs","sources":["../../../../libs/angular/components/header/src/lib/directives/header-avatar.directive.ts","../../../../libs/angular/components/header/src/lib/directives/header-title.directive.ts","../../../../libs/angular/components/header/src/lib/header.component.ts","../../../../libs/angular/components/header/src/lib/header.component.html","../../../../libs/angular/components/header/src/lib/header.module.ts","../../../../libs/angular/components/header/src/odx-angular-components-header.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'button[odxHeaderAvatar]',\n host: {\n '[class.odx-header__avatar]': 'true',\n },\n})\nexport class HeaderAvatarDirective {}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'odx-header-title',\n standalone: true,\n host: {\n '[class.odx-header__title]': 'true',\n },\n})\nexport class HeaderTitleDirective {}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('header')\n@Component({\n standalone: true,\n selector: 'odx-header',\n imports: [LogoDirective],\n templateUrl: './header.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeaderComponent {\n public readonly element = injectElement();\n}\n","<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","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { AvatarComponent } from '@odx/angular/components/avatar';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { MainMenuModule } from '@odx/angular/components/main-menu';\nimport { HeaderAvatarDirective, HeaderTitleDirective } from './directives';\nimport { HeaderComponent } from './header.component';\n\nconst modules = [\n HeaderComponent,\n HeaderTitleDirective,\n HeaderAvatarDirective,\n MainMenuModule,\n ActionGroupComponent,\n IconComponent,\n ButtonComponent,\n AvatarComponent,\n];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class HeaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;MASa,qBAAqB,CAAA;;kHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;sGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,IAAI,EAAE;AACJ,wBAAA,4BAA4B,EAAE,MAAM;AACrC,qBAAA;iBACF,CAAA;;;MCCY,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAApB,oBAAoB,EAAA,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LARGE: 'xlarge',
12
13
  INLINE: 'inline',
13
14
  };
14
15
 
@@ -35,8 +36,8 @@ let IconComponent = class IconComponent {
35
36
  return `odx-icon-${value}`;
36
37
  }
37
38
  };
38
- IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
- IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IconComponent, isStandalone: true, selector: "odx-icon", inputs: { inline: "inline", size: "size", name: "name" }, host: { attributes: { "translate": "no" }, properties: { "class.notranslate": "true" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
39
+ IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
40
+ IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: IconComponent, isStandalone: true, selector: "odx-icon", inputs: { inline: "inline", size: "size", name: "name" }, host: { attributes: { "translate": "no" }, properties: { "class.notranslate": "true" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
40
41
  __decorate([
41
42
  CSSModifier(),
42
43
  Transform(coerceBooleanProperty),
@@ -49,7 +50,7 @@ __decorate([
49
50
  IconComponent = __decorate([
50
51
  CSSComponent('icon')
51
52
  ], IconComponent);
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IconComponent, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: IconComponent, decorators: [{
53
54
  type: Component,
54
55
  args: [{
55
56
  selector: 'odx-icon',
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-icon.mjs","sources":["../../../../libs/angular/components/icon/src/lib/models/icon-size.ts","../../../../libs/angular/components/icon/src/lib/icon.component.ts","../../../../libs/angular/components/icon/src/odx-angular-components-icon.ts"],"sourcesContent":["export type IconSize = typeof IconSize[keyof typeof IconSize];\n\nexport const IconSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n INLINE: 'inline',\n} as const;\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\nimport { IconSize } from './models';\n\n@CSSComponent('icon')\n@Component({\n selector: 'odx-icon',\n template: '',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n host: {\n '[class.notranslate]': 'true',\n translate: 'no',\n },\n})\nexport class IconComponent {\n public static ngAcceptInputType_inline: BooleanInput;\n\n private iconName: string | null = null;\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public inline = false;\n\n @CSSModifier()\n @Input()\n public size: IconSize = IconSize.MEDIUM;\n\n @Input()\n public set name(value: string | null) {\n if (this.iconName) {\n this.element.nativeElement.classList.remove(this.getIconClass(this.iconName));\n }\n this.iconName = value;\n if (this.iconName) {\n this.element.nativeElement.classList.add(this.getIconClass(this.iconName));\n }\n }\n public get name(): string | null {\n return this.iconName;\n }\n\n private getIconClass(value: string): string {\n return `odx-icon-${value}`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEa,MAAA,QAAQ,GAAG;AACtB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;;;ACYL,IAAA,aAA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A,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;AAeZ,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;IACb,SAAS,CAAC,qBAAqB,CAAC;;CAEX,EAAA,aAAA,CAAA,SAAA,EAAA,QAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAEtB,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;;CAE0B,EAAA,aAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAb7B,aAAa,GAAA,UAAA,CAAA;IAZzB,YAAY,CAAC,MAAM,CAAC;CAYR,EAAA,aAAa,CAgCzB,CAAA;4FAhCY,aAAa,EAAA,UAAA,EAAA,CAAA;kBAXzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,QAAQ,EAAE,EAAE;oBACZ,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,qBAAqB,EAAE,MAAM;AAC7B,wBAAA,SAAS,EAAE,IAAI;AAChB,qBAAA;iBACF,CAAA;8BAUQ,MAAM,EAAA,CAAA;sBADZ,KAAK;gBAKC,IAAI,EAAA,CAAA;sBADV,KAAK;gBAIK,IAAI,EAAA,CAAA;sBADd,KAAK;;;ACjCR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-icon.mjs","sources":["../../../../libs/angular/components/icon/src/lib/models/icon-size.ts","../../../../libs/angular/components/icon/src/lib/icon.component.ts","../../../../libs/angular/components/icon/src/odx-angular-components-icon.ts"],"sourcesContent":["export type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\nexport const IconSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n XLARGE: 'xlarge',\n INLINE: 'inline',\n} as const;\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\nimport { IconSize } from './models';\n\n@CSSComponent('icon')\n@Component({\n selector: 'odx-icon',\n template: '',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n host: {\n '[class.notranslate]': 'true',\n translate: 'no',\n },\n})\nexport class IconComponent {\n public static ngAcceptInputType_inline: BooleanInput;\n\n private iconName: string | null = null;\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public inline = false;\n\n @CSSModifier()\n @Input()\n public size: IconSize = IconSize.MEDIUM;\n\n @Input()\n public set name(value: string | null) {\n if (this.iconName) {\n this.element.nativeElement.classList.remove(this.getIconClass(this.iconName));\n }\n this.iconName = value;\n if (this.iconName) {\n this.element.nativeElement.classList.add(this.getIconClass(this.iconName));\n }\n }\n public get name(): string | null {\n return this.iconName;\n }\n\n private getIconClass(value: string): string {\n return `odx-icon-${value}`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEa,MAAA,QAAQ,GAAG;AACtB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,MAAM,EAAE,QAAQ;;;ACWL,IAAA,aAAa,GAAnB,MAAM,aAAa,CAAA;AAAnB,IAAA,WAAA,GAAA;AAGG,QAAA,IAAQ,CAAA,QAAA,GAAkB,IAAI,CAAC;AACvB,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAKnC,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAIf,QAAA,IAAA,CAAA,IAAI,GA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AW,EAAE;;CAE0B,EAAA,aAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAb7B,aAAa,GAAA,UAAA,CAAA;IAZzB,YAAY,CAAC,MAAM,CAAC;CAYR,EAAA,aAAa,CAgCzB,CAAA;2FAhCY,aAAa,EAAA,UAAA,EAAA,CAAA;kBAXzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,QAAQ,EAAE,EAAE;oBACZ,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,qBAAqB,EAAE,MAAM;AAC7B,wBAAA,SAAS,EAAE,IAAI;AAChB,qBAAA;iBACF,CAAA;8BAUQ,MAAM,EAAA,CAAA;sBADZ,KAAK;gBAKC,IAAI,EAAA,CAAA;sBADV,KAAK;gBAIK,IAAI,EAAA,CAAA;sBADd,KAAK;;;ACjCR;;AAEG;;;;"}
@@ -29,8 +29,8 @@ let InlineMessageComponent = class InlineMessageComponent {
29
29
  }
30
30
  }
31
31
  };
32
- InlineMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InlineMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- InlineMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: InlineMessageComponent, isStandalone: true, selector: "odx-inline-message", inputs: { variant: "variant" }, ngImport: i0, template: "<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
32
+ InlineMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: InlineMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
+ InlineMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: InlineMessageComponent, isStandalone: true, selector: "odx-inline-message", inputs: { variant: "variant" }, ngImport: i0, template: "<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
34
34
  __decorate([
35
35
  CSSModifier({
36
36
  default: InlineMessageVariant.DEFAULT,
@@ -40,7 +40,7 @@ __decorate([
40
40
  InlineMessageComponent = __decorate([
41
41
  CSSComponent('inline-message')
42
42
  ], InlineMessageComponent);
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InlineMessageComponent, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: InlineMessageComponent, decorators: [{
44
44
  type: Component,
45
45
  args: [{ selector: 'odx-inline-message', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [IconComponent], template: "<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>\n</div>\n" }]
46
46
  }], propDecorators: { variant: [{
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-inline-message.mjs","sources":["../../../../libs/angular/components/inline-message/src/lib/models/inline-message-variant.ts","../../../../libs/angular/components/inline-message/src/lib/inline-message.component.ts","../../../../libs/angular/components/inline-message/src/lib/inline-message.component.html","../../../../libs/angular/components/inline-message/src/odx-angular-components-inline-message.ts"],"sourcesContent":["export type InlineMessageVariant = typeof InlineMessageVariant[keyof typeof InlineMessageVariant];\n\nexport const InlineMessageVariant = {\n DEFAULT: 'default',\n WARNING: 'warning',\n DANGER: 'danger',\n SUCCESS: 'success',\n} as const;\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { InlineMessageVariant } from './models/inline-message-variant';\n\n@CSSComponent('inline-message')\n@Component({\n selector: 'odx-inline-message',\n templateUrl: 'inline-message.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [IconComponent],\n})\nexport class InlineMessageComponent {\n public readonly element = injectElement<HTMLElement>();\n\n @CSSModifier({\n default: InlineMessageVariant.DEFAULT,\n })\n @Input()\n public variant?: InlineMessageVariant | null;\n\n public get icon(): string {\n switch (this.variant) {\n case InlineMessageVariant.WARNING:\n return 'warning';\n case InlineMessageVariant.DANGER:\n return 'danger';\n case InlineMessageVariant.SUCCESS:\n return 'check';\n default:\n return 'info';\n }\n }\n}\n","<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEa,MAAA,oBAAoB,GAAG;AAClC,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,OAAO,EAAE,SAAS;;;ACSP,IAAA,sBAAsB,GAA5B,MAAM,sBAAsB,CAAA;AAA5B,IAAA,WAAA,GAAA;AACW,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAe,CAAC;KAoBxD;AAZC,IAAA,IAAW,IAAI,GAAA;QACb,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,IAAI,EACC,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAC5B,OAAA,EAAA,CAAC,aAAa,CAAC,EAAA,QAAA,EAAA,2IAAA,EAAA,CAAA;8BASjB,OAAO,EAAA,CAAA;sBADb,KAAK;;;AErBR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-inline-message.mjs","sources":["../../../../libs/angular/components/inline-message/src/lib/models/inline-message-variant.ts","../../../../libs/angular/components/inline-message/src/lib/inline-message.component.ts","../../../../libs/angular/components/inline-message/src/lib/inline-message.component.html","../../../../libs/angular/components/inline-message/src/odx-angular-components-inline-message.ts"],"sourcesContent":["export type InlineMessageVariant = typeof InlineMessageVariant[keyof typeof InlineMessageVariant];\n\nexport const InlineMessageVariant = {\n DEFAULT: 'default',\n WARNING: 'warning',\n DANGER: 'danger',\n SUCCESS: 'success',\n} as const;\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { InlineMessageVariant } from './models';\n\n@CSSComponent('inline-message')\n@Component({\n selector: 'odx-inline-message',\n templateUrl: 'inline-message.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [IconComponent],\n})\nexport class InlineMessageComponent {\n public readonly element = injectElement<HTMLElement>();\n\n @CSSModifier({\n default: InlineMessageVariant.DEFAULT,\n })\n @Input()\n public variant?: InlineMessageVariant | null;\n\n public get icon(): string {\n switch (this.variant) {\n case InlineMessageVariant.WARNING:\n return 'warning';\n case InlineMessageVariant.DANGER:\n return 'danger';\n case InlineMessageVariant.SUCCESS:\n return 'check';\n default:\n return 'info';\n }\n }\n}\n","<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>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AAKvB,UAAA,CAAA;AAAC,IAAA,WAAW,CAAC;QACX,OAAO,EAAE,oBAAoB,CAAC,OAAO;KACtC,CAAC;;CAE2C,EAAA,sBAAA,CAAA,SAAA,EAAA,SAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAPlC,sBAAsB,GAAA,UAAA,CAAA;IATlC,YAAY,CAAC,gBAAgB,CAAC;CASlB,EAAA,sBAAsB,CAqBlC,CAAA;2FArBY,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBARlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAElB,UAAA,EAAA,IAAI,EACC,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAC5B,OAAA,EAAA,CAAC,aAAa,CAAC,EAAA,QAAA,EAAA,2IAAA,EAAA,CAAA;8BASjB,OAAO,EAAA,CAAA;sBADb,KAAK;;;AErBR;;AAEG;;;;"}
@@ -0,0 +1,95 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ContentChild, ViewChild, HostListener, NgModule } from '@angular/core';
3
+ import { __decorate } from 'tslib';
4
+ import * as i1 from '@odx/angular/cdk/a11y';
5
+ import { A11yModule, InteractiveDirective } from '@odx/angular/cdk/a11y';
6
+ import { ActionGroupComponent } from '@odx/angular/components/action-group';
7
+ import { ButtonComponent } from '@odx/angular/components/button';
8
+ import { IconComponent } from '@odx/angular/components/icon';
9
+ import * as i3 from '@odx/angular/components/menu';
10
+ import { MenuComponent, MenuDirective, MenuModule } from '@odx/angular/components/menu';
11
+ import { CSSComponent } from '@odx/angular/internal';
12
+ import { injectElement, containsElement } from '@odx/angular/utils';
13
+ import * as i2 from '@angular/common';
14
+ import { CoreModule } from '@odx/angular';
15
+ import { AvatarComponent } from '@odx/angular/components/avatar';
16
+
17
+ class LaunchTileFooterComponent {
18
+ }
19
+ LaunchTileFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
+ LaunchTileFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: LaunchTileFooterComponent, isStandalone: true, selector: "odx-launch-tile-footer", host: { properties: { "class.odx-launch-tile__footer": "true" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileFooterComponent, decorators: [{
22
+ type: Component,
23
+ args: [{ selector: 'odx-launch-tile-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
24
+ '[class.odx-launch-tile__footer]': 'true',
25
+ }, template: "<ng-content></ng-content>\n" }]
26
+ }] });
27
+
28
+ class LaunchTileSubtitleComponent {
29
+ }
30
+ LaunchTileSubtitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
+ LaunchTileSubtitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: LaunchTileSubtitleComponent, isStandalone: true, selector: "odx-launch-tile-subtitle", host: { properties: { "class.odx-launch-tile__subtitle": "true" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileSubtitleComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ selector: 'odx-launch-tile-subtitle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
35
+ '[class.odx-launch-tile__subtitle]': 'true',
36
+ }, template: "<ng-content></ng-content>\n" }]
37
+ }] });
38
+
39
+ let LaunchTileComponent = class LaunchTileComponent {
40
+ constructor() {
41
+ this.element = injectElement();
42
+ }
43
+ stopEvents(event) {
44
+ var _a, _b;
45
+ const target = event.target;
46
+ const isFooterEvent = containsElement((_a = this.footer) === null || _a === void 0 ? void 0 : _a.nativeElement, target, false);
47
+ const isMenuEvent = containsElement((_b = this.menuHost) === null || _b === void 0 ? void 0 : _b.nativeElement, target);
48
+ if (isFooterEvent || isMenuEvent) {
49
+ event.stopImmediatePropagation();
50
+ return;
51
+ }
52
+ }
53
+ };
54
+ LaunchTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
55
+ LaunchTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: LaunchTileComponent, isStandalone: true, selector: "odx-launch-tile", host: { listeners: { "click": "stopEvents($event)" } }, queries: [{ propertyName: "menu", first: true, predicate: MenuComponent, descendants: true }, { propertyName: "footer", first: true, predicate: LaunchTileFooterComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "menuHost", first: true, predicate: MenuDirective, descendants: true, read: ElementRef }], hostDirectives: [{ directive: i1.InteractiveDirective }], ngImport: i0, template: "<div class=\"odx-launch-tile__trigger\" (click)=\"stopEvents($event)\">\n <div class=\"odx-launch-tile__container\">\n <ng-content select=\"odx-avatar\"></ng-content>\n <div class=\"odx-launch-tile__content\">\n <div class=\"odx-launch-tile__title\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"odx-launch-tile-subtitle\"></ng-content>\n </div>\n </div>\n\n <ng-content select=\"odx-launch-tile-footer\"></ng-content>\n\n <odx-action-group *ngIf=\"menu\">\n <button odxButton [odxMenu]=\"menuTpl\" odxMenuPosition=\"bottom-end\">\n <odx-icon name=\"more\"></odx-icon>\n </button>\n\n <ng-template #menuTpl>\n <ng-content select=\"odx-menu\"></ng-content>\n </ng-template>\n </odx-action-group>\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "ngmodule", type: MenuModule }, { kind: "directive", type: i3.MenuDirective, selector: "[odxMenu]", inputs: ["odxMenu", "odxMenuPosition"] }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
56
+ LaunchTileComponent = __decorate([
57
+ CSSComponent('launch-tile')
58
+ ], LaunchTileComponent);
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileComponent, decorators: [{
60
+ type: Component,
61
+ args: [{ selector: 'odx-launch-tile', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [A11yModule, ButtonComponent, IconComponent, MenuModule, ActionGroupComponent], hostDirectives: [InteractiveDirective], template: "<div class=\"odx-launch-tile__trigger\" (click)=\"stopEvents($event)\">\n <div class=\"odx-launch-tile__container\">\n <ng-content select=\"odx-avatar\"></ng-content>\n <div class=\"odx-launch-tile__content\">\n <div class=\"odx-launch-tile__title\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"odx-launch-tile-subtitle\"></ng-content>\n </div>\n </div>\n\n <ng-content select=\"odx-launch-tile-footer\"></ng-content>\n\n <odx-action-group *ngIf=\"menu\">\n <button odxButton [odxMenu]=\"menuTpl\" odxMenuPosition=\"bottom-end\">\n <odx-icon name=\"more\"></odx-icon>\n </button>\n\n <ng-template #menuTpl>\n <ng-content select=\"odx-menu\"></ng-content>\n </ng-template>\n </odx-action-group>\n</div>\n" }]
62
+ }], propDecorators: { menu: [{
63
+ type: ContentChild,
64
+ args: [MenuComponent]
65
+ }], menuHost: [{
66
+ type: ViewChild,
67
+ args: [MenuDirective, { read: ElementRef }]
68
+ }], footer: [{
69
+ type: ContentChild,
70
+ args: [LaunchTileFooterComponent, { read: ElementRef }]
71
+ }], stopEvents: [{
72
+ type: HostListener,
73
+ args: ['click', ['$event']]
74
+ }] } });
75
+
76
+ const modules = [LaunchTileComponent, LaunchTileFooterComponent, LaunchTileSubtitleComponent, AvatarComponent, ButtonComponent, IconComponent];
77
+ class LaunchTileModule {
78
+ }
79
+ LaunchTileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
80
+ LaunchTileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileModule, imports: [LaunchTileComponent, LaunchTileFooterComponent, LaunchTileSubtitleComponent, AvatarComponent, ButtonComponent, IconComponent], exports: [CoreModule, MenuModule, LaunchTileComponent, LaunchTileFooterComponent, LaunchTileSubtitleComponent, AvatarComponent, ButtonComponent, IconComponent] });
81
+ LaunchTileModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileModule, imports: [modules, CoreModule, MenuModule] });
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileModule, decorators: [{
83
+ type: NgModule,
84
+ args: [{
85
+ imports: [modules],
86
+ exports: [CoreModule, MenuModule, ...modules],
87
+ }]
88
+ }] });
89
+
90
+ /**
91
+ * Generated bundle index. Do not edit.
92
+ */
93
+
94
+ export { LaunchTileComponent, LaunchTileFooterComponent, LaunchTileModule, LaunchTileSubtitleComponent };
95
+ //# sourceMappingURL=odx-angular-components-launch-tile.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odx-angular-components-launch-tile.mjs","sources":["../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-footer/launch-tile-footer.component.ts","../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-footer/launch-tile-footer.component.html","../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.ts","../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.html","../../../../libs/angular/components/launch-tile/src/lib/launch-tile.component.ts","../../../../libs/angular/components/launch-tile/src/lib/launch-tile.component.html","../../../../libs/angular/components/launch-tile/src/lib/launch-tile.module.ts","../../../../libs/angular/components/launch-tile/src/odx-angular-components-launch-tile.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-launch-tile-footer',\n templateUrl: './launch-tile-footer.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.odx-launch-tile__footer]': 'true',\n },\n})\nexport class LaunchTileFooterComponent {}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-launch-tile-subtitle',\n templateUrl: './launch-tile-subtitle.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.odx-launch-tile__subtitle]': 'true',\n },\n})\nexport class LaunchTileSubtitleComponent {}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, HostListener, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { A11yModule, InteractiveDirective } from '@odx/angular/cdk/a11y';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { MenuComponent, MenuDirective, MenuModule } from '@odx/angular/components/menu';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { containsElement, injectElement } from '@odx/angular/utils';\nimport { LaunchTileFooterComponent } from './components';\n\n@CSSComponent('launch-tile')\n@Component({\n selector: 'odx-launch-tile',\n templateUrl: './launch-tile.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [A11yModule, ButtonComponent, IconComponent, MenuModule, ActionGroupComponent],\n hostDirectives: [InteractiveDirective],\n})\nexport class LaunchTileComponent {\n @ContentChild(MenuComponent)\n protected readonly menu?: MenuComponent;\n\n @ViewChild(MenuDirective, { read: ElementRef })\n protected readonly menuHost?: ElementRef<HTMLElement>;\n\n @ContentChild(LaunchTileFooterComponent, { read: ElementRef })\n protected readonly footer?: ElementRef<HTMLElement>;\n\n public readonly element = injectElement();\n\n @HostListener('click', ['$event'])\n protected stopEvents(event: Event): void {\n const target = event.target as Element;\n const isFooterEvent = containsElement(this.footer?.nativeElement, target, false);\n const isMenuEvent = containsElement(this.menuHost?.nativeElement, target);\n if (isFooterEvent || isMenuEvent) {\n event.stopImmediatePropagation();\n return;\n }\n }\n}\n","<div class=\"odx-launch-tile__trigger\" (click)=\"stopEvents($event)\">\n <div class=\"odx-launch-tile__container\">\n <ng-content select=\"odx-avatar\"></ng-content>\n <div class=\"odx-launch-tile__content\">\n <div class=\"odx-launch-tile__title\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"odx-launch-tile-subtitle\"></ng-content>\n </div>\n </div>\n\n <ng-content select=\"odx-launch-tile-footer\"></ng-content>\n\n <odx-action-group *ngIf=\"menu\">\n <button odxButton [odxMenu]=\"menuTpl\" odxMenuPosition=\"bottom-end\">\n <odx-icon name=\"more\"></odx-icon>\n </button>\n\n <ng-template #menuTpl>\n <ng-content select=\"odx-menu\"></ng-content>\n </ng-template>\n </odx-action-group>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { AvatarComponent } from '@odx/angular/components/avatar';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { MenuModule } from '@odx/angular/components/menu';\nimport { LaunchTileFooterComponent, LaunchTileSubtitleComponent } from './components';\nimport { LaunchTileComponent } from './launch-tile.component';\n\nconst modules = [LaunchTileComponent, LaunchTileFooterComponent, LaunchTileSubtitleComponent, AvatarComponent, ButtonComponent, IconComponent];\n\n@NgModule({\n imports: [modules],\n exports: [CoreModule, MenuModule, ...modules],\n})\nexport class LaunchTileModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAYa,yBAAyB,CAAA;;sHAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,yBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yBAAyB,qJCZtC,6BACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;2FDWa,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAVrC,SAAS;+BACE,wBAAwB,EAAA,UAAA,EAEtB,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAC/B,IAAA,EAAA;AACJ,wBAAA,iCAAiC,EAAE,MAAM;AAC1C,qBAAA,EAAA,QAAA,EAAA,6BAAA,EAAA,CAAA;;;MEEU,2BAA2B,CAAA;;wHAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,E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