@odx/angular 1.0.0-rc.8 → 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 (549) 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 +2 -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 +1 -0
  55. package/components/dropdown/lib/dropdown.component.d.ts +2 -1
  56. package/components/dropdown/lib/dropdown.directive.d.ts +9 -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/index.d.ts +1 -0
  61. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +1 -1
  62. package/components/form-field/lib/components/form-group/form-group.component.d.ts +1 -1
  63. package/components/form-field/lib/directives/form-field-control.directive.d.ts +1 -1
  64. package/components/form-field/lib/directives/form-field-error.directive.d.ts +1 -1
  65. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +1 -1
  66. package/components/form-field/lib/directives/form-field-label.directive.d.ts +1 -1
  67. package/components/form-field/lib/directives/form.directive.d.ts +1 -1
  68. package/components/form-field/lib/form-field.component.d.ts +2 -1
  69. package/components/header/lib/directives/header-avatar.directive.d.ts +1 -1
  70. package/components/header/lib/directives/header-title.directive.d.ts +1 -1
  71. package/components/header/lib/header.component.d.ts +1 -1
  72. package/components/header/lib/header.module.d.ts +2 -3
  73. package/components/icon/lib/icon.component.d.ts +1 -1
  74. package/components/icon/lib/models/icon-size.d.ts +2 -1
  75. package/components/inline-message/index.d.ts +1 -1
  76. package/components/inline-message/lib/inline-message.component.d.ts +2 -2
  77. package/components/inline-message/lib/models/index.d.ts +1 -0
  78. package/components/launch-tile/index.d.ts +1 -3
  79. package/components/launch-tile/lib/components/index.d.ts +2 -0
  80. package/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.d.ts +1 -1
  81. package/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.d.ts +1 -1
  82. package/components/launch-tile/lib/launch-tile.component.d.ts +9 -7
  83. package/components/launch-tile/lib/launch-tile.module.d.ts +8 -10
  84. package/components/link/link.directive.d.ts +2 -4
  85. package/components/list/lib/components/index.d.ts +1 -1
  86. package/components/list/lib/components/{list-item.component.d.ts → list-item/list-item.component.d.ts} +2 -4
  87. package/components/list/lib/list.component.d.ts +2 -1
  88. package/components/list/lib/list.module.d.ts +1 -1
  89. package/components/loading-spinner/lib/loading-spinner.component.d.ts +1 -1
  90. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +2 -2
  91. package/components/logo/logo.directive.d.ts +1 -1
  92. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +1 -1
  93. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +2 -4
  94. package/components/main-menu/lib/main-menu.component.d.ts +1 -1
  95. package/components/menu/README.md +3 -0
  96. package/components/menu/index.d.ts +4 -0
  97. package/components/menu/lib/directives/index.d.ts +1 -0
  98. package/components/menu/lib/directives/menu-item.directive.d.ts +9 -0
  99. package/components/menu/lib/menu.component.d.ts +8 -0
  100. package/components/menu/lib/menu.directive.d.ts +16 -0
  101. package/components/menu/lib/menu.module.d.ts +10 -0
  102. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +10 -0
  103. package/components/modal/lib/components/index.d.ts +2 -0
  104. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +1 -1
  105. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +1 -1
  106. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +11 -0
  107. package/components/modal/lib/directives/modal-close.directive.d.ts +2 -2
  108. package/components/modal/lib/directives/modal-content.directive.d.ts +1 -1
  109. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +1 -1
  110. package/components/modal/lib/helpers/inject-modal-ref.d.ts +1 -1
  111. package/components/modal/lib/modal.component.d.ts +7 -3
  112. package/components/modal/lib/modal.directive.d.ts +1 -1
  113. package/components/modal/lib/modal.module.d.ts +9 -8
  114. package/components/modal/lib/modal.service.d.ts +2 -1
  115. package/components/modal/lib/models/basic-modal-options.d.ts +17 -0
  116. package/components/modal/lib/models/index.d.ts +2 -0
  117. package/components/modal/lib/models/modal-hero-variant.d.ts +7 -0
  118. package/components/progress/lib/progress.component.d.ts +2 -2
  119. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +2 -2
  120. package/components/radio-group/lib/radio-group.component.d.ts +1 -1
  121. package/components/rail-navigation/lib/components/rail-navigation-item.component.d.ts +2 -4
  122. package/components/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
  123. package/components/select/lib/components/option/option.component.d.ts +1 -1
  124. package/components/select/lib/directives/select-search-field.directive.d.ts +1 -1
  125. package/components/select/lib/select.component.d.ts +4 -4
  126. package/components/slider/lib/slider.directive.d.ts +2 -3
  127. package/components/spinbox/lib/spinbox.component.d.ts +2 -2
  128. package/components/switch/lib/switch.component.d.ts +2 -1
  129. package/components/switch/lib/switch.validator.d.ts +1 -1
  130. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +1 -1
  131. package/components/tab-bar/lib/tab-bar.component.d.ts +3 -3
  132. package/components/toast/README.md +3 -0
  133. package/components/toast/index.d.ts +5 -0
  134. package/components/toast/lib/components/index.d.ts +2 -0
  135. package/components/toast/lib/components/toast-container/toast-container.component.d.ts +23 -0
  136. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +20 -0
  137. package/components/toast/lib/models/index.d.ts +5 -0
  138. package/components/toast/lib/models/toast-action.d.ts +7 -0
  139. package/components/toast/lib/models/toast-ref.d.ts +7 -0
  140. package/components/toast/lib/models/toast-variant.d.ts +7 -0
  141. package/components/toast/lib/models/toast.d.ts +10 -0
  142. package/components/toast/lib/models/toast.options.d.ts +4 -0
  143. package/components/toast/lib/toast.config.d.ts +3 -0
  144. package/components/toast/lib/toast.module.d.ts +13 -0
  145. package/components/toast/lib/toast.service.d.ts +16 -0
  146. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +1 -1
  147. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +2 -2
  148. package/components/tooltip/lib/tooltip.component.d.ts +1 -1
  149. package/components/tooltip/lib/tooltip.directive.d.ts +1 -1
  150. package/esm2020/animations/lib/expand.mjs +6 -4
  151. package/esm2020/cdk/a11y/index.mjs +3 -0
  152. package/esm2020/cdk/a11y/lib/a11y.module.mjs +19 -0
  153. package/esm2020/cdk/a11y/lib/directives/index.mjs +4 -0
  154. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +49 -0
  155. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +28 -0
  156. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +40 -0
  157. package/esm2020/cdk/a11y/odx-angular-cdk-a11y.mjs +5 -0
  158. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +4 -4
  159. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +4 -4
  160. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +8 -4
  161. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +4 -4
  162. package/esm2020/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +3 -3
  163. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +2 -1
  164. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +4 -4
  165. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +4 -4
  166. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +4 -4
  167. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +4 -4
  168. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +4 -4
  169. package/esm2020/cdk/expandable/index.mjs +2 -1
  170. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +7 -8
  171. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +5 -7
  172. package/esm2020/cdk/expandable/lib/expandable.module.mjs +5 -5
  173. package/esm2020/cdk/expandable/lib/expandable.tokens.mjs +3 -0
  174. package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +2 -3
  175. package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +2 -3
  176. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +4 -4
  177. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +4 -4
  178. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +5 -5
  179. package/esm2020/components/accordion/lib/accordion.component.mjs +6 -6
  180. package/esm2020/components/accordion/lib/accordion.module.mjs +5 -5
  181. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +8 -6
  182. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +4 -4
  183. package/esm2020/components/action-group/action-group.component.mjs +4 -4
  184. package/esm2020/components/area-header/area-header.component.mjs +4 -4
  185. package/esm2020/components/area-header/area-header.module.mjs +5 -5
  186. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -4
  187. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -4
  188. package/esm2020/components/avatar/lib/avatar.component.mjs +4 -4
  189. package/esm2020/components/badge/lib/badge.component.mjs +4 -4
  190. package/esm2020/components/badge/lib/badge.directive.mjs +4 -4
  191. package/esm2020/components/bar/index.mjs +6 -0
  192. package/esm2020/components/bar/lib/bar.component.mjs +21 -0
  193. package/esm2020/components/bar/lib/bar.module.mjs +20 -0
  194. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +39 -0
  195. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +24 -0
  196. package/esm2020/components/bar/lib/models/bar-button-variant.mjs +5 -0
  197. package/esm2020/components/bar/odx-angular-components-bar.mjs +5 -0
  198. package/esm2020/components/breadcrumbs/index.mjs +2 -0
  199. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +50 -0
  200. package/esm2020/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +5 -0
  201. package/esm2020/components/button/lib/button.component.mjs +8 -12
  202. package/esm2020/components/button-group/lib/button-group.component.mjs +4 -4
  203. package/esm2020/components/checkbox/lib/checkbox.component.mjs +7 -6
  204. package/esm2020/components/checkbox/lib/checkbox.module.mjs +5 -5
  205. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +4 -4
  206. package/esm2020/components/chip/lib/chip.component.mjs +4 -4
  207. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +5 -5
  208. package/esm2020/components/content-box/lib/content-box.component.mjs +4 -4
  209. package/esm2020/components/content-box/lib/content-box.module.mjs +5 -5
  210. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -4
  211. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -4
  212. package/esm2020/components/dropdown/index.mjs +2 -1
  213. package/esm2020/components/dropdown/lib/dropdown.component.mjs +15 -6
  214. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +33 -16
  215. package/esm2020/components/dropdown/lib/dropdown.module.mjs +5 -5
  216. package/esm2020/components/dropdown/lib/helpers/close-current-dropdown.mjs +5 -0
  217. package/esm2020/components/dropdown/lib/helpers/index.mjs +2 -0
  218. package/esm2020/components/dropdown/lib/models/close-dropdown-event.mjs +7 -0
  219. package/esm2020/components/dropdown/lib/models/index.mjs +2 -1
  220. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +4 -4
  221. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +4 -4
  222. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +4 -4
  223. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +4 -4
  224. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +4 -4
  225. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +4 -4
  226. package/esm2020/components/form-field/lib/directives/form.directive.mjs +4 -4
  227. package/esm2020/components/form-field/lib/form-field.component.mjs +8 -7
  228. package/esm2020/components/form-field/lib/form-field.module.mjs +5 -5
  229. package/esm2020/components/form-field/lib/form-field.service.mjs +4 -4
  230. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +4 -4
  231. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +4 -4
  232. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -4
  233. package/esm2020/components/header/lib/header.component.mjs +5 -6
  234. package/esm2020/components/header/lib/header.module.mjs +7 -11
  235. package/esm2020/components/icon/lib/icon.component.mjs +4 -4
  236. package/esm2020/components/icon/lib/models/icon-size.mjs +2 -1
  237. package/esm2020/components/inline-message/index.mjs +2 -2
  238. package/esm2020/components/inline-message/lib/inline-message.component.mjs +5 -5
  239. package/esm2020/components/inline-message/lib/models/index.mjs +2 -0
  240. package/esm2020/components/launch-tile/index.mjs +2 -4
  241. package/esm2020/components/launch-tile/lib/components/index.mjs +3 -0
  242. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +4 -4
  243. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +4 -4
  244. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +32 -21
  245. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +9 -45
  246. package/esm2020/components/link/link.directive.mjs +7 -14
  247. package/esm2020/components/list/lib/components/index.mjs +2 -2
  248. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +40 -0
  249. package/esm2020/components/list/lib/list.component.mjs +17 -9
  250. package/esm2020/components/list/lib/list.module.mjs +6 -6
  251. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +4 -4
  252. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +9 -9
  253. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +5 -5
  254. package/esm2020/components/logo/logo.directive.mjs +4 -4
  255. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +4 -4
  256. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +7 -13
  257. package/esm2020/components/main-menu/lib/main-menu.component.mjs +8 -8
  258. package/esm2020/components/main-menu/lib/main-menu.module.mjs +5 -5
  259. package/esm2020/components/main-menu/lib/main-menu.service.mjs +4 -4
  260. package/esm2020/components/menu/index.mjs +5 -0
  261. package/esm2020/components/menu/lib/directives/index.mjs +2 -0
  262. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +39 -0
  263. package/esm2020/components/menu/lib/menu.component.mjs +35 -0
  264. package/esm2020/components/menu/lib/menu.directive.mjs +51 -0
  265. package/esm2020/components/menu/lib/menu.module.mjs +20 -0
  266. package/esm2020/components/menu/odx-angular-components-menu.mjs +5 -0
  267. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +42 -0
  268. package/esm2020/components/modal/lib/components/index.mjs +3 -1
  269. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +4 -4
  270. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +4 -4
  271. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +39 -0
  272. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +10 -5
  273. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +4 -4
  274. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +4 -4
  275. package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +1 -1
  276. package/esm2020/components/modal/lib/modal.component.mjs +19 -9
  277. package/esm2020/components/modal/lib/modal.directive.mjs +4 -4
  278. package/esm2020/components/modal/lib/modal.module.mjs +33 -7
  279. package/esm2020/components/modal/lib/modal.service.mjs +14 -5
  280. package/esm2020/components/modal/lib/models/basic-modal-options.mjs +2 -0
  281. package/esm2020/components/modal/lib/models/index.mjs +3 -1
  282. package/esm2020/components/modal/lib/models/modal-hero-variant.mjs +7 -0
  283. package/esm2020/components/modal/lib/services/open-modal-manager.service.mjs +4 -4
  284. package/esm2020/components/progress/lib/progress.component.mjs +6 -6
  285. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +8 -9
  286. package/esm2020/components/radio-group/lib/radio-group.component.mjs +6 -6
  287. package/esm2020/components/radio-group/lib/radio-group.module.mjs +5 -5
  288. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +7 -12
  289. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +4 -4
  290. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +5 -5
  291. package/esm2020/components/select/lib/components/option/option.component.mjs +5 -5
  292. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +4 -4
  293. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +4 -4
  294. package/esm2020/components/select/lib/select.component.mjs +13 -17
  295. package/esm2020/components/select/lib/select.module.mjs +5 -5
  296. package/esm2020/components/slider/lib/slider.directive.mjs +7 -10
  297. package/esm2020/components/spinbox/lib/spinbox.component.mjs +5 -5
  298. package/esm2020/components/switch/lib/switch.component.mjs +7 -6
  299. package/esm2020/components/switch/lib/switch.module.mjs +5 -5
  300. package/esm2020/components/switch/lib/switch.validator.mjs +4 -4
  301. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +8 -8
  302. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +7 -8
  303. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +5 -5
  304. package/esm2020/components/toast/index.mjs +6 -0
  305. package/esm2020/components/toast/lib/components/index.mjs +3 -0
  306. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +87 -0
  307. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +74 -0
  308. package/esm2020/components/toast/lib/models/index.mjs +6 -0
  309. package/esm2020/components/toast/lib/models/toast-action.mjs +2 -0
  310. package/esm2020/components/toast/lib/models/toast-ref.mjs +2 -0
  311. package/esm2020/components/toast/lib/models/toast-variant.mjs +7 -0
  312. package/esm2020/components/toast/lib/models/toast.mjs +2 -0
  313. package/esm2020/components/toast/lib/models/toast.options.mjs +2 -0
  314. package/esm2020/components/toast/lib/toast.config.mjs +6 -0
  315. package/esm2020/components/toast/lib/toast.module.mjs +26 -0
  316. package/esm2020/components/toast/lib/toast.service.mjs +38 -0
  317. package/esm2020/components/toast/odx-angular-components-toast.mjs +5 -0
  318. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +6 -10
  319. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +15 -7
  320. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +5 -5
  321. package/esm2020/components/tooltip/lib/tooltip.component.mjs +4 -4
  322. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +4 -4
  323. package/esm2020/lib/controllers/controller.mjs +6 -6
  324. package/esm2020/lib/controllers/disabled.controller.mjs +21 -42
  325. package/esm2020/lib/controllers/readonly.controller.mjs +6 -6
  326. package/esm2020/lib/core.module.mjs +7 -7
  327. package/esm2020/lib/directives/click-outside.directive.mjs +7 -6
  328. package/esm2020/lib/directives/index.mjs +4 -1
  329. package/esm2020/lib/directives/let.directive.mjs +36 -0
  330. package/esm2020/lib/directives/with-disabled-state.directive.mjs +41 -0
  331. package/esm2020/lib/directives/with-tabindex.directive.mjs +23 -0
  332. package/esm2020/lib/services/window-ref.mjs +9 -5
  333. package/esm2020/utils/lib/helpers/dom.mjs +8 -1
  334. package/esm2020/utils/lib/helpers/event-manager.mjs +4 -4
  335. package/esm2020/utils/lib/helpers/get-unique-id.mjs +7 -0
  336. package/esm2020/utils/lib/helpers/index.mjs +3 -1
  337. package/esm2020/utils/lib/helpers/provide-module-config.mjs +1 -1
  338. package/esm2020/utils/lib/helpers/queue.mjs +24 -0
  339. package/fesm2015/odx-angular-animations.mjs +5 -3
  340. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  341. package/fesm2015/odx-angular-cdk-a11y.mjs +132 -0
  342. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -0
  343. package/fesm2015/odx-angular-cdk-active-indicator.mjs +3 -3
  344. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -1
  345. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +3 -3
  346. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  347. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +13 -8
  348. package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  349. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +6 -6
  350. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  351. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +9 -9
  352. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  353. package/fesm2015/odx-angular-cdk-expandable.mjs +16 -22
  354. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -1
  355. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +10 -10
  356. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  357. package/fesm2015/odx-angular-components-accordion.mjs +19 -17
  358. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -1
  359. package/fesm2015/odx-angular-components-action-group.mjs +3 -3
  360. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  361. package/fesm2015/odx-angular-components-area-header.mjs +13 -13
  362. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  363. package/fesm2015/odx-angular-components-avatar.mjs +3 -3
  364. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  365. package/fesm2015/odx-angular-components-badge.mjs +6 -6
  366. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  367. package/fesm2015/odx-angular-components-bar.mjs +96 -0
  368. package/fesm2015/odx-angular-components-bar.mjs.map +1 -0
  369. package/fesm2015/odx-angular-components-breadcrumbs.mjs +56 -0
  370. package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +1 -0
  371. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  372. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -1
  373. package/fesm2015/odx-angular-components-button.mjs +7 -11
  374. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  375. package/fesm2015/odx-angular-components-checkbox.mjs +13 -12
  376. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  377. package/fesm2015/odx-angular-components-chip.mjs +3 -3
  378. package/fesm2015/odx-angular-components-chip.mjs.map +1 -1
  379. package/fesm2015/odx-angular-components-circular-progress.mjs +4 -4
  380. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -1
  381. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  382. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  383. package/fesm2015/odx-angular-components-dropdown.mjs +60 -25
  384. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -1
  385. package/fesm2015/odx-angular-components-form-field.mjs +37 -36
  386. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  387. package/fesm2015/odx-angular-components-header.mjs +16 -20
  388. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  389. package/fesm2015/odx-angular-components-icon.mjs +4 -3
  390. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  391. package/fesm2015/odx-angular-components-inline-message.mjs +3 -3
  392. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -1
  393. package/fesm2015/odx-angular-components-launch-tile.mjs +45 -83
  394. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -1
  395. package/fesm2015/odx-angular-components-link.mjs +6 -14
  396. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  397. package/fesm2015/odx-angular-components-list.mjs +22 -25
  398. package/fesm2015/odx-angular-components-list.mjs.map +1 -1
  399. package/fesm2015/odx-angular-components-loading-spinner.mjs +15 -15
  400. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -1
  401. package/fesm2015/odx-angular-components-logo.mjs +3 -3
  402. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  403. package/fesm2015/odx-angular-components-main-menu.mjs +22 -30
  404. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  405. package/fesm2015/odx-angular-components-menu.mjs +127 -0
  406. package/fesm2015/odx-angular-components-menu.mjs.map +1 -0
  407. package/fesm2015/odx-angular-components-modal.mjs +161 -55
  408. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  409. package/fesm2015/odx-angular-components-progress.mjs +5 -5
  410. package/fesm2015/odx-angular-components-progress.mjs.map +1 -1
  411. package/fesm2015/odx-angular-components-radio-group.mjs +15 -16
  412. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  413. package/fesm2015/odx-angular-components-rail-navigation.mjs +13 -19
  414. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -1
  415. package/fesm2015/odx-angular-components-select.mjs +26 -30
  416. package/fesm2015/odx-angular-components-select.mjs.map +1 -1
  417. package/fesm2015/odx-angular-components-slider.mjs +6 -9
  418. package/fesm2015/odx-angular-components-slider.mjs.map +1 -1
  419. package/fesm2015/odx-angular-components-spinbox.mjs +5 -5
  420. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -1
  421. package/fesm2015/odx-angular-components-switch.mjs +13 -12
  422. package/fesm2015/odx-angular-components-switch.mjs.map +1 -1
  423. package/fesm2015/odx-angular-components-tab-bar.mjs +17 -18
  424. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -1
  425. package/fesm2015/odx-angular-components-toast.mjs +221 -0
  426. package/fesm2015/odx-angular-components-toast.mjs.map +1 -0
  427. package/fesm2015/odx-angular-components-toggle-button-group.mjs +23 -19
  428. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -1
  429. package/fesm2015/odx-angular-components-tooltip.mjs +6 -6
  430. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -1
  431. package/fesm2015/odx-angular-utils.mjs +41 -5
  432. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  433. package/fesm2015/odx-angular.mjs +140 -64
  434. package/fesm2015/odx-angular.mjs.map +1 -1
  435. package/fesm2020/odx-angular-animations.mjs +5 -3
  436. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  437. package/fesm2020/odx-angular-cdk-a11y.mjs +128 -0
  438. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -0
  439. package/fesm2020/odx-angular-cdk-active-indicator.mjs +3 -3
  440. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -1
  441. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +3 -3
  442. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  443. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +13 -8
  444. package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  445. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +6 -6
  446. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  447. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +9 -9
  448. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  449. package/fesm2020/odx-angular-cdk-expandable.mjs +16 -22
  450. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -1
  451. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +10 -10
  452. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  453. package/fesm2020/odx-angular-components-accordion.mjs +19 -17
  454. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -1
  455. package/fesm2020/odx-angular-components-action-group.mjs +3 -3
  456. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  457. package/fesm2020/odx-angular-components-area-header.mjs +13 -13
  458. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  459. package/fesm2020/odx-angular-components-avatar.mjs +3 -3
  460. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  461. package/fesm2020/odx-angular-components-badge.mjs +6 -6
  462. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  463. package/fesm2020/odx-angular-components-bar.mjs +96 -0
  464. package/fesm2020/odx-angular-components-bar.mjs.map +1 -0
  465. package/fesm2020/odx-angular-components-breadcrumbs.mjs +56 -0
  466. package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +1 -0
  467. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  468. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -1
  469. package/fesm2020/odx-angular-components-button.mjs +7 -11
  470. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  471. package/fesm2020/odx-angular-components-checkbox.mjs +13 -12
  472. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  473. package/fesm2020/odx-angular-components-chip.mjs +3 -3
  474. package/fesm2020/odx-angular-components-chip.mjs.map +1 -1
  475. package/fesm2020/odx-angular-components-circular-progress.mjs +4 -4
  476. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -1
  477. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  478. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  479. package/fesm2020/odx-angular-components-dropdown.mjs +60 -24
  480. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -1
  481. package/fesm2020/odx-angular-components-form-field.mjs +37 -36
  482. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  483. package/fesm2020/odx-angular-components-header.mjs +16 -20
  484. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  485. package/fesm2020/odx-angular-components-icon.mjs +4 -3
  486. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  487. package/fesm2020/odx-angular-components-inline-message.mjs +3 -3
  488. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -1
  489. package/fesm2020/odx-angular-components-launch-tile.mjs +44 -82
  490. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -1
  491. package/fesm2020/odx-angular-components-link.mjs +6 -13
  492. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  493. package/fesm2020/odx-angular-components-list.mjs +22 -24
  494. package/fesm2020/odx-angular-components-list.mjs.map +1 -1
  495. package/fesm2020/odx-angular-components-loading-spinner.mjs +15 -15
  496. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -1
  497. package/fesm2020/odx-angular-components-logo.mjs +3 -3
  498. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  499. package/fesm2020/odx-angular-components-main-menu.mjs +22 -29
  500. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  501. package/fesm2020/odx-angular-components-menu.mjs +129 -0
  502. package/fesm2020/odx-angular-components-menu.mjs.map +1 -0
  503. package/fesm2020/odx-angular-components-modal.mjs +166 -55
  504. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  505. package/fesm2020/odx-angular-components-progress.mjs +5 -5
  506. package/fesm2020/odx-angular-components-progress.mjs.map +1 -1
  507. package/fesm2020/odx-angular-components-radio-group.mjs +15 -16
  508. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  509. package/fesm2020/odx-angular-components-rail-navigation.mjs +13 -18
  510. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -1
  511. package/fesm2020/odx-angular-components-select.mjs +26 -30
  512. package/fesm2020/odx-angular-components-select.mjs.map +1 -1
  513. package/fesm2020/odx-angular-components-slider.mjs +6 -9
  514. package/fesm2020/odx-angular-components-slider.mjs.map +1 -1
  515. package/fesm2020/odx-angular-components-spinbox.mjs +5 -5
  516. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -1
  517. package/fesm2020/odx-angular-components-switch.mjs +13 -12
  518. package/fesm2020/odx-angular-components-switch.mjs.map +1 -1
  519. package/fesm2020/odx-angular-components-tab-bar.mjs +16 -17
  520. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -1
  521. package/fesm2020/odx-angular-components-toast.mjs +220 -0
  522. package/fesm2020/odx-angular-components-toast.mjs.map +1 -0
  523. package/fesm2020/odx-angular-components-toggle-button-group.mjs +23 -19
  524. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -1
  525. package/fesm2020/odx-angular-components-tooltip.mjs +6 -6
  526. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -1
  527. package/fesm2020/odx-angular-utils.mjs +42 -5
  528. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  529. package/fesm2020/odx-angular.mjs +137 -63
  530. package/fesm2020/odx-angular.mjs.map +1 -1
  531. package/lib/controllers/controller.d.ts +1 -1
  532. package/lib/controllers/disabled.controller.d.ts +4 -9
  533. package/lib/controllers/readonly.controller.d.ts +4 -2
  534. package/lib/core.module.d.ts +3 -2
  535. package/lib/directives/click-outside.directive.d.ts +1 -1
  536. package/lib/directives/index.d.ts +3 -0
  537. package/lib/directives/let.directive.d.ts +17 -0
  538. package/lib/directives/with-disabled-state.directive.d.ts +13 -0
  539. package/lib/directives/with-tabindex.directive.d.ts +7 -0
  540. package/lib/services/window-ref.d.ts +2 -0
  541. package/package.json +51 -11
  542. package/utils/lib/helpers/dom.d.ts +1 -0
  543. package/utils/lib/helpers/get-unique-id.d.ts +1 -0
  544. package/utils/lib/helpers/index.d.ts +2 -0
  545. package/utils/lib/helpers/provide-module-config.d.ts +1 -1
  546. package/utils/lib/helpers/queue.d.ts +11 -0
  547. package/components/launch-tile/lib/directives/launch-tile-menu/launch-tile-menu.directive.d.ts +0 -5
  548. package/esm2020/components/launch-tile/lib/directives/launch-tile-menu/launch-tile-menu.directive.mjs +0 -17
  549. package/esm2020/components/list/lib/components/list-item.component.mjs +0 -46
@@ -1,25 +1,24 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, ViewEncapsulation, Directive, ContentChild, NgModule } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ContentChild, ViewChild, HostListener, NgModule } from '@angular/core';
3
3
  import { __decorate } from 'tslib';
4
- import * as i2 from '@odx/angular';
5
- import { DisabledController, CoreModule } from '@odx/angular';
4
+ import * as i1 from '@odx/angular/cdk/a11y';
5
+ import { A11yModule, InteractiveDirective } from '@odx/angular/cdk/a11y';
6
6
  import { ActionGroupComponent } from '@odx/angular/components/action-group';
7
7
  import { ButtonComponent } from '@odx/angular/components/button';
8
- import * as i3 from '@odx/angular/components/dropdown';
9
- import { DropdownModule } from '@odx/angular/components/dropdown';
10
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
11
  import { CSSComponent } from '@odx/angular/internal';
12
- import { injectElement } from '@odx/angular/utils';
13
- import * as i1 from '@angular/common';
12
+ import { injectElement, containsElement } from '@odx/angular/utils';
13
+ import * as i2 from '@angular/common';
14
+ import { CoreModule } from '@odx/angular';
14
15
  import { AvatarComponent } from '@odx/angular/components/avatar';
15
- import { ButtonGroupComponent } from '@odx/angular/components/button-group';
16
- import { ListModule } from '@odx/angular/components/list';
17
16
 
18
17
  class LaunchTileFooterComponent {
19
18
  }
20
- LaunchTileFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- LaunchTileFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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 });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileFooterComponent, decorators: [{
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: [{
23
22
  type: Component,
24
23
  args: [{ selector: 'odx-launch-tile-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
25
24
  '[class.odx-launch-tile__footer]': 'true',
@@ -28,100 +27,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
28
27
 
29
28
  class LaunchTileSubtitleComponent {
30
29
  }
31
- LaunchTileSubtitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
- LaunchTileSubtitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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 });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileSubtitleComponent, decorators: [{
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: [{
34
33
  type: Component,
35
34
  args: [{ selector: 'odx-launch-tile-subtitle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
36
35
  '[class.odx-launch-tile__subtitle]': 'true',
37
36
  }, template: "<ng-content></ng-content>\n" }]
38
37
  }] });
39
38
 
40
- class LaunchTileMenuListDirective {
41
- }
42
- LaunchTileMenuListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileMenuListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
43
- LaunchTileMenuListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: LaunchTileMenuListDirective, isStandalone: true, selector: "[odxLaunchTileMenuList]", host: { properties: { "class.odx-launch-tile__menu-list": "true" } }, ngImport: i0 });
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileMenuListDirective, decorators: [{
45
- type: Directive,
46
- args: [{
47
- standalone: true,
48
- selector: '[odxLaunchTileMenuList]',
49
- host: {
50
- '[class.odx-launch-tile__menu-list]': 'true',
51
- },
52
- }]
53
- }] });
54
-
55
39
  let LaunchTileComponent = class LaunchTileComponent {
56
40
  constructor() {
57
- this.disabledController = DisabledController.inject();
58
41
  this.element = injectElement();
59
42
  }
60
- get isDisabled() {
61
- var _a;
62
- return !!((_a = this.disabledController) === null || _a === void 0 ? void 0 : _a.disabled);
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
+ }
63
52
  }
64
53
  };
65
- LaunchTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
66
- LaunchTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: LaunchTileComponent, isStandalone: true, selector: "odx-launch-tile", host: { properties: { "class.is-disabled": "isDisabled", "attr.tabindex": "isDisabled ? -1 : 0" } }, providers: [DisabledController.connect()], queries: [{ propertyName: "menuList", first: true, predicate: LaunchTileMenuListDirective, descendants: true }], ngImport: i0, template: "<odx-action-group *ngIf=\"!!menuList\">\n <button [disabled]=\"isDisabled\" odxButton [odxDropdown]=\"menu\" [odxDropdownOptions]=\"{ position: 'bottom-end' }\" [odxDropdownHost]=\"element.nativeElement\">\n <odx-icon name=\"more\"></odx-icon>\n </button>\n\n <ng-template #menu>\n <ng-content select=\"odx-list[odxLaunchTileMenuList]\"></ng-content>\n </ng-template>\n</odx-action-group>\n\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", dependencies: [{ 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: DropdownModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DisabledController, selector: "[disabled]", inputs: ["disabled"] }, { kind: "directive", type: i3.DropdownDirective, selector: "[odxDropdown]", inputs: ["odxDropdown", "odxDropdownDisabled", "odxDropdownShowLoader", "odxDropdownOptions", "odxDropdownReferenceElement", "odxDropdownTriggerElement", "odxDropdownHost", "odxDropdownOpenTrigger", "odxDropdownCloseTrigger"], outputs: ["odxDropdownBeforeOpen", "odxDropdownAfterOpen", "odxDropdownBeforeClose", "odxDropdownAfterClose"], exportAs: ["odxDropdown"] }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
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 });
67
56
  LaunchTileComponent = __decorate([
68
57
  CSSComponent('launch-tile')
69
58
  ], LaunchTileComponent);
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileComponent, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileComponent, decorators: [{
71
60
  type: Component,
72
- args: [{ selector: 'odx-launch-tile', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [DisabledController.connect()], imports: [ButtonComponent, IconComponent, DropdownModule, ActionGroupComponent], host: {
73
- '[class.is-disabled]': 'isDisabled',
74
- '[attr.tabindex]': 'isDisabled ? -1 : 0',
75
- }, template: "<odx-action-group *ngIf=\"!!menuList\">\n <button [disabled]=\"isDisabled\" odxButton [odxDropdown]=\"menu\" [odxDropdownOptions]=\"{ position: 'bottom-end' }\" [odxDropdownHost]=\"element.nativeElement\">\n <odx-icon name=\"more\"></odx-icon>\n </button>\n\n <ng-template #menu>\n <ng-content select=\"odx-list[odxLaunchTileMenuList]\"></ng-content>\n </ng-template>\n</odx-action-group>\n\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" }]
76
- }], propDecorators: { menuList: [{
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: [{
77
69
  type: ContentChild,
78
- args: [LaunchTileMenuListDirective]
70
+ args: [LaunchTileFooterComponent, { read: ElementRef }]
71
+ }], stopEvents: [{
72
+ type: HostListener,
73
+ args: ['click', ['$event']]
79
74
  }] } });
80
75
 
81
- const modules = [
82
- LaunchTileComponent,
83
- LaunchTileMenuListDirective,
84
- LaunchTileFooterComponent,
85
- LaunchTileSubtitleComponent,
86
- AvatarComponent,
87
- ButtonGroupComponent,
88
- ButtonComponent,
89
- IconComponent,
90
- ListModule,
91
- ];
76
+ const modules = [LaunchTileComponent, LaunchTileFooterComponent, LaunchTileSubtitleComponent, AvatarComponent, ButtonComponent, IconComponent];
92
77
  class LaunchTileModule {
93
78
  }
94
- LaunchTileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
95
- LaunchTileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileModule, imports: [LaunchTileComponent,
96
- LaunchTileMenuListDirective,
97
- LaunchTileFooterComponent,
98
- LaunchTileSubtitleComponent,
99
- AvatarComponent,
100
- ButtonGroupComponent,
101
- ButtonComponent,
102
- IconComponent,
103
- ListModule], exports: [CoreModule, LaunchTileComponent,
104
- LaunchTileMenuListDirective,
105
- LaunchTileFooterComponent,
106
- LaunchTileSubtitleComponent,
107
- AvatarComponent,
108
- ButtonGroupComponent,
109
- ButtonComponent,
110
- IconComponent,
111
- ListModule] });
112
- LaunchTileModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileModule, imports: [LaunchTileComponent,
113
- LaunchTileFooterComponent,
114
- LaunchTileSubtitleComponent,
115
- AvatarComponent,
116
- ButtonGroupComponent,
117
- ButtonComponent,
118
- IconComponent,
119
- ListModule, CoreModule, ListModule] });
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LaunchTileModule, decorators: [{
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: [{
121
83
  type: NgModule,
122
84
  args: [{
123
85
  imports: [modules],
124
- exports: [CoreModule, ...modules],
86
+ exports: [CoreModule, MenuModule, ...modules],
125
87
  }]
126
88
  }] });
127
89
 
@@ -129,5 +91,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
129
91
  * Generated bundle index. Do not edit.
130
92
  */
131
93
 
132
- export { LaunchTileComponent, LaunchTileFooterComponent, LaunchTileMenuListDirective, LaunchTileModule, LaunchTileSubtitleComponent };
94
+ export { LaunchTileComponent, LaunchTileFooterComponent, LaunchTileModule, LaunchTileSubtitleComponent };
133
95
  //# sourceMappingURL=odx-angular-components-launch-tile.mjs.map
@@ -1 +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/directives/launch-tile-menu/launch-tile-menu.directive.ts","../../../../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 { Directive } from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: '[odxLaunchTileMenuList]',\n host: {\n '[class.odx-launch-tile__menu-list]': 'true',\n },\n})\nexport class LaunchTileMenuListDirective {}\n","import { ChangeDetectionStrategy, Component, ContentChild, ViewEncapsulation } from '@angular/core';\nimport { DisabledController } from '@odx/angular';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { DropdownModule } from '@odx/angular/components/dropdown';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { LaunchTileMenuListDirective } from './directives/launch-tile-menu/launch-tile-menu.directive';\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 providers: [DisabledController.connect()],\n imports: [ButtonComponent, IconComponent, DropdownModule, ActionGroupComponent],\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[attr.tabindex]': 'isDisabled ? -1 : 0',\n },\n})\nexport class LaunchTileComponent {\n protected readonly disabledController = DisabledController.inject();\n\n public readonly element = injectElement();\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n\n @ContentChild(LaunchTileMenuListDirective)\n public readonly menuList?: LaunchTileMenuListDirective;\n}\n","<odx-action-group *ngIf=\"!!menuList\">\n <button [disabled]=\"isDisabled\" odxButton [odxDropdown]=\"menu\" [odxDropdownOptions]=\"{ position: 'bottom-end' }\" [odxDropdownHost]=\"element.nativeElement\">\n <odx-icon name=\"more\"></odx-icon>\n </button>\n\n <ng-template #menu>\n <ng-content select=\"odx-list[odxLaunchTileMenuList]\"></ng-content>\n </ng-template>\n</odx-action-group>\n\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","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 { ButtonGroupComponent } from '@odx/angular/components/button-group';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { ListModule } from '@odx/angular/components/list';\nimport { LaunchTileFooterComponent } from './components/launch-tile-footer/launch-tile-footer.component';\nimport { LaunchTileSubtitleComponent } from './components/launch-tile-subtitle/launch-tile-subtitle.component';\nimport { LaunchTileMenuListDirective } from './directives/launch-tile-menu/launch-tile-menu.directive';\nimport { LaunchTileComponent } from './launch-tile.component';\n\nconst modules = [\n LaunchTileComponent,\n LaunchTileMenuListDirective,\n LaunchTileFooterComponent,\n LaunchTileSubtitleComponent,\n AvatarComponent,\n ButtonGroupComponent,\n ButtonComponent,\n IconComponent,\n ListModule,\n];\n\n@NgModule({\n imports: [modules],\n exports: [CoreModule, ...modules],\n})\nexport class LaunchTileModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAYa,yBAAyB,CAAA;;uHAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,C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;AAClB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;iBAClC,CAAA;;;AC3BD;;AAEG;;;;"}
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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eAAe,EAAE,aAAa,CAAC,CAAC;MAMlI,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAhB,gBAAgB,EAAA,OAAA,EAAA,CANZ,mBAAmB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,CAAA,EAAA,OAAA,EAAA,CAIjI,UAAU,EAAE,UAAU,EAJjB,mBAAmB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;AAMhI,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAHjB,OAAA,EAAA,CAAA,OAAO,EACP,UAAU,EAAE,UAAU,CAAA,EAAA,CAAA,CAAA;2FAErB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,OAAO,CAAC;oBAClB,OAAO,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;iBAC9C,CAAA;;;ACdD;;AAEG;;;;"}
@@ -1,35 +1,27 @@
1
1
  import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
3
  import { Directive } from '@angular/core';
4
- import { DisabledController } from '@odx/angular';
4
+ import * as i1 from '@odx/angular';
5
+ import { WithDisabledState, WithTabIndex } from '@odx/angular';
5
6
  import { CSSComponent } from '@odx/angular/internal';
6
7
  import { injectElement } from '@odx/angular/utils';
7
8
 
8
9
  let LinkDirective = class LinkDirective {
9
10
  constructor() {
10
- this.disabledController = DisabledController.inject();
11
11
  this.element = injectElement();
12
12
  }
13
- get isDisabled() {
14
- var _a;
15
- return !!((_a = this.disabledController) === null || _a === void 0 ? void 0 : _a.disabled);
16
- }
17
13
  };
18
- LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
19
- LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: LinkDirective, isStandalone: true, selector: "a[odxLink]", host: { properties: { "class.is-disabled": "isDisabled", "tabindex": "isDisabled ? -1 : 0" } }, providers: [DisabledController.connect()], ngImport: i0 });
14
+ LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
15
+ LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: LinkDirective, isStandalone: true, selector: "a[odxLink]", hostDirectives: [{ directive: i1.WithDisabledState }, { directive: i1.WithTabIndex }], ngImport: i0 });
20
16
  LinkDirective = __decorate([
21
17
  CSSComponent('link')
22
18
  ], LinkDirective);
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LinkDirective, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LinkDirective, decorators: [{
24
20
  type: Directive,
25
21
  args: [{
26
22
  selector: 'a[odxLink]',
27
- providers: [DisabledController.connect()],
28
23
  standalone: true,
29
- host: {
30
- '[class.is-disabled]': 'isDisabled',
31
- '[tabindex]': 'isDisabled ? -1 : 0',
32
- },
24
+ hostDirectives: [WithDisabledState, WithTabIndex],
33
25
  }]
34
26
  }] });
35
27
 
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-link.mjs","sources":["../../../../libs/angular/components/link/src/link.directive.ts","../../../../libs/angular/components/link/src/odx-angular-components-link.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { DisabledController } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('link')\n@Directive({\n selector: 'a[odxLink]',\n providers: [DisabledController.connect()],\n standalone: true,\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[tabindex]': 'isDisabled ? -1 : 0',\n },\n})\nexport class LinkDirective {\n protected readonly disabledController = DisabledController.inject();\n public readonly element = injectElement<HTMLLinkElement>();\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAea,IAAA,aAAa,GAAnB,MAAM,aAAa,CAAA;AAAnB,IAAA,WAAA,GAAA;AACc,QAAA,IAAA,CAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC;AACpD,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAmB,CAAC;KAK5D;AAHC,IAAA,IAAW,UAAU,GAAA;;QACnB,OAAO,CAAC,EAAC,CAAA,EAAA,GAAA,IAAI,CAAC,kBAAkB,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,QAAQ,CAAA,CAAC;KAC5C;;2GANU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAb,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,yJAPb,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;AAO9B,aAAa,GAAA,UAAA,CAAA;IAVzB,YAAY,CAAC,MAAM,CAAC;CAUR,EAAA,aAAa,CAOzB,CAAA;4FAPY,aAAa,EAAA,UAAA,EAAA,CAAA;kBATzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,SAAS,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC;AACzC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,qBAAqB,EAAE,YAAY;AACnC,wBAAA,YAAY,EAAE,qBAAqB;AACpC,qBAAA;iBACF,CAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-link.mjs","sources":["../../../../libs/angular/components/link/src/link.directive.ts","../../../../libs/angular/components/link/src/odx-angular-components-link.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { WithDisabledState, WithTabIndex } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('link')\n@Directive({\n selector: 'a[odxLink]',\n standalone: true,\n hostDirectives: [WithDisabledState, WithTabIndex],\n})\nexport class LinkDirective {\n public readonly element = injectElement<HTMLLinkElement>();\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAWa,IAAA,aAAa,GAAnB,MAAM,aAAa,CAAA;AAAnB,IAAA,WAAA,GAAA;AACW,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAmB,CAAC;KAC5D;;0GAFY,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;8FAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;AAAb,aAAa,GAAA,UAAA,CAAA;IANzB,YAAY,CAAC,MAAM,CAAC;CAMR,EAAA,aAAa,CAEzB,CAAA;2FAFY,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,cAAc,EAAE,CAAC,iBAAiB,EAAE,YAAY,CAAC;iBAClD,CAAA;;;ACVD;;AAEG;;;;"}
@@ -2,25 +2,21 @@ import { __decorate, __metadata } from 'tslib';
2
2
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
3
3
  import * as i0 from '@angular/core';
4
4
  import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
5
- import { DisabledController } from '@odx/angular';
5
+ import * as i1 from '@odx/angular';
6
+ import { WithDisabledState, WithTabIndex } from '@odx/angular';
6
7
  import { CSSModifier, CSSComponent } from '@odx/angular/internal';
7
8
  import { injectElement, Transform } from '@odx/angular/utils';
8
9
  import { IconComponent } from '@odx/angular/components/icon';
9
10
 
10
11
  let ListItemComponent = class ListItemComponent {
11
12
  constructor() {
12
- this.disabledController = DisabledController.inject();
13
13
  this.element = injectElement();
14
14
  this.danger = false;
15
15
  this.selected = false;
16
16
  }
17
- get isDisabled() {
18
- var _a;
19
- return !!((_a = this.disabledController) === null || _a === void 0 ? void 0 : _a.disabled);
20
- }
21
17
  };
22
- ListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
- ListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ListItemComponent, isStandalone: true, selector: "[odxListItem]", inputs: { danger: "danger", selected: "selected" }, host: { properties: { "class.is-disabled": "isDisabled", "tabindex": "isDisabled ? -1 : 0" } }, providers: [DisabledController.connect()], ngImport: i0, template: "<ng-content select=\"[odxListPrefix]\"></ng-content>\n<div class=\"odx-list-item__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[odxListSuffix]\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
18
+ ListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
19
+ ListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: ListItemComponent, isStandalone: true, selector: "[odxListItem]", inputs: { danger: "danger", selected: "selected" }, hostDirectives: [{ directive: i1.WithDisabledState }, { directive: i1.WithTabIndex }], ngImport: i0, template: "<ng-content select=\"[odxListPrefix]\"></ng-content>\n<div class=\"odx-list-item__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[odxListSuffix]\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
24
20
  __decorate([
25
21
  CSSModifier(),
26
22
  Transform(coerceBooleanProperty),
@@ -34,36 +30,37 @@ __decorate([
34
30
  ListItemComponent = __decorate([
35
31
  CSSComponent('list-item')
36
32
  ], ListItemComponent);
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListItemComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ListItemComponent, decorators: [{
38
34
  type: Component,
39
- args: [{ standalone: true, selector: '[odxListItem]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [DisabledController.connect()], host: {
40
- '[class.is-disabled]': 'isDisabled',
41
- '[tabindex]': 'isDisabled ? -1 : 0',
42
- }, template: "<ng-content select=\"[odxListPrefix]\"></ng-content>\n<div class=\"odx-list-item__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[odxListSuffix]\"></ng-content>\n" }]
35
+ args: [{ standalone: true, selector: '[odxListItem]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [WithDisabledState, WithTabIndex], template: "<ng-content select=\"[odxListPrefix]\"></ng-content>\n<div class=\"odx-list-item__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[odxListSuffix]\"></ng-content>\n" }]
43
36
  }], propDecorators: { danger: [{
44
37
  type: Input
45
38
  }], selected: [{
46
39
  type: Input
47
40
  }] } });
48
41
 
49
- class ListComponent {
50
- }
51
- ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
52
- ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ListComponent, isStandalone: true, selector: "odx-list", host: { properties: { "class.odx-list": "true" } }, ngImport: i0, template: "<ng-content select=\"[odxListItem]\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListComponent, decorators: [{
42
+ let ListComponent = class ListComponent {
43
+ constructor() {
44
+ this.element = injectElement();
45
+ }
46
+ };
47
+ ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
48
+ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: ListComponent, isStandalone: true, selector: "odx-list", ngImport: i0, template: "<ng-content select=\"[odxListItem]\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
49
+ ListComponent = __decorate([
50
+ CSSComponent('list')
51
+ ], ListComponent);
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ListComponent, decorators: [{
54
53
  type: Component,
55
- args: [{ selector: 'odx-list', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
56
- '[class.odx-list]': 'true',
57
- }, template: "<ng-content select=\"[odxListItem]\"></ng-content>\n" }]
54
+ args: [{ selector: 'odx-list', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[odxListItem]\"></ng-content>\n" }]
58
55
  }] });
59
56
 
60
57
  const modules = [ListComponent, ListItemComponent, IconComponent];
61
58
  class ListModule {
62
59
  }
63
- ListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
64
- ListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: ListModule, imports: [ListComponent, ListItemComponent, IconComponent], exports: [ListComponent, ListItemComponent, IconComponent] });
65
- ListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListModule, imports: [modules] });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListModule, decorators: [{
60
+ ListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
61
+ ListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: ListModule, imports: [ListComponent, ListItemComponent, IconComponent], exports: [ListComponent, ListItemComponent, IconComponent] });
62
+ ListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ListModule, imports: [modules] });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ListModule, decorators: [{
67
64
  type: NgModule,
68
65
  args: [{
69
66
  imports: modules,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-list.mjs","sources":["../../../../libs/angular/components/list/src/lib/components/list-item.component.ts","../../../../libs/angular/components/list/src/lib/components/list-item.component.html","../../../../libs/angular/components/list/src/lib/list.component.ts","../../../../libs/angular/components/list/src/lib/list.component.html","../../../../libs/angular/components/list/src/lib/list.module.ts","../../../../libs/angular/components/list/src/odx-angular-components-list.ts"],"sourcesContent":["import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { DisabledController } from '@odx/angular';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\n\n@CSSComponent('list-item')\n@Component({\n standalone: true,\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[odxListItem]',\n templateUrl: './list-item.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [DisabledController.connect()],\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[tabindex]': 'isDisabled ? -1 : 0',\n },\n})\n\nexport class ListItemComponent {\n public static ngAcceptInputType_selected: BooleanInput;\n public static ngAcceptInputType_danger: BooleanInput;\n\n protected readonly disabledController = DisabledController.inject();\n public readonly element = injectElement<HTMLElement>();\n\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public danger = false;\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public selected = false;\n}\n","<ng-content select=\"[odxListPrefix]\"></ng-content>\n<div class=\"odx-list-item__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[odxListSuffix]\"></ng-content>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-list',\n standalone: true,\n templateUrl: './list.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.odx-list]': 'true',\n },\n})\nexport class ListComponent{}\n","<ng-content select=\"[odxListItem]\"></ng-content>\n","import { NgModule } from '@angular/core';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { ListItemComponent } from './components/list-item.component';\nimport { ListComponent } from './list.component';\n\nconst modules = [ListComponent, ListItemComponent, IconComponent];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class ListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAqBa,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;AAIc,QAAA,IAAA,CAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC;AACpD,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAe,CAAC;AAUhD,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAKf,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;KACzB;AAbC,IAAA,IAAW,UAAU,GAAA;;QACnB,OAAO,CAAC,EAAC,CAAA,EAAA,GAAA,IAAI,CAAC,kBAAkB,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,QAAQ,CAAA,CAAC;KAC5C;;+GAVU,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,MAA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;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;iBACjB,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-list.mjs","sources":["../../../../libs/angular/components/list/src/lib/components/list-item/list-item.component.ts","../../../../libs/angular/components/list/src/lib/components/list-item/list-item.component.html","../../../../libs/angular/components/list/src/lib/list.component.ts","../../../../libs/angular/components/list/src/lib/list.component.html","../../../../libs/angular/components/list/src/lib/list.module.ts","../../../../libs/angular/components/list/src/odx-angular-components-list.ts"],"sourcesContent":["import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { WithDisabledState, WithTabIndex } from '@odx/angular';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\n\n@CSSComponent('list-item')\n@Component({\n standalone: true,\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[odxListItem]',\n templateUrl: './list-item.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [WithDisabledState, WithTabIndex],\n})\nexport class ListItemComponent {\n public static ngAcceptInputType_selected: BooleanInput;\n public static ngAcceptInputType_danger: BooleanInput;\n\n public readonly element = injectElement<HTMLElement>();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public danger = false;\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public selected = false;\n}\n","<ng-content select=\"[odxListPrefix]\"></ng-content>\n<div class=\"odx-list-item__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[odxListSuffix]\"></ng-content>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('list')\n@Component({\n selector: 'odx-list',\n standalone: true,\n templateUrl: './list.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ListComponent {\n public readonly element = injectElement();\n}\n","<ng-content select=\"[odxListItem]\"></ng-content>\n","import { NgModule } from '@angular/core';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { ListItemComponent } from './components';\nimport { ListComponent } from './list.component';\n\nconst modules = [ListComponent, ListItemComponent, IconComponent];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class ListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAgBa,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;AAIW,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAe,CAAC;AAKhD,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAKf,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;KACzB;;8GAfY,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,oNChB9B,2LAKA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;ADiBE,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;IACb,SAAS,CAAC,qBAAqB,CAAC;;CAEX,EAAA,iBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAEtB,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;IACb,SAAS,CAAC,qBAAqB,CAAC;;CAET,EAAA,iBAAA,CAAA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,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,sDAAA,EAAA,CAAA;;;AELjD,MAAM,OAAO,GAAG,CAAC,aAAa,EAAE,iBAAiB,EAAE,aAAa,CAAC,CAAC;MAMrD,UAAU,CAAA;;uGAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;wGAAV,UAAU,EAAA,OAAA,EAAA,CANN,aAAa,EAAE,iBAAiB,EAAE,aAAa,CAAA,EAAA,OAAA,EAAA,CAA/C,aAAa,EAAE,iBAAiB,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;AAMnD,UAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YAHZ,OAAO,CAAA,EAAA,CAAA,CAAA;2FAGL,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;iBACjB,CAAA;;;ACVD;;AAEG;;;;"}
@@ -36,6 +36,11 @@ class LoadingSpinnerDirective {
36
36
  this.parentMinHeight = coerceNumberProperty(value);
37
37
  this.setParentHeight();
38
38
  }
39
+ resetParentStyles() {
40
+ this.renderer.removeClass(this.hostElement.nativeElement, LOADING_SPINNER_PARENT_CLASS);
41
+ this.renderer.removeStyle(this.hostElement.nativeElement, 'minHeight');
42
+ this.renderer.removeStyle(this.hostElement.nativeElement, 'position');
43
+ }
39
44
  setParentHeight() {
40
45
  this.renderer.setStyle(this.hostElement.nativeElement, 'minHeight', this.parentMinHeight ? px(this.parentMinHeight) : 'inherit');
41
46
  }
@@ -57,17 +62,12 @@ class LoadingSpinnerDirective {
57
62
  (_a = this.viewRef) === null || _a === void 0 ? void 0 : _a.destroy();
58
63
  this.viewRef = null;
59
64
  }
60
- resetParentStyles() {
61
- this.renderer.removeClass(this.hostElement.nativeElement, LOADING_SPINNER_PARENT_CLASS);
62
- this.renderer.removeStyle(this.hostElement.nativeElement, 'minHeight');
63
- this.renderer.removeStyle(this.hostElement.nativeElement, 'position');
64
- }
65
65
  hasStaticPosition() {
66
66
  return this.windowRef.nativeWindow.getComputedStyle(this.hostElement.nativeElement).position === 'static';
67
67
  }
68
68
  }
69
- LoadingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
70
- LoadingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: LoadingSpinnerDirective, isStandalone: true, selector: "[odxLoadingSpinner]", inputs: { autoColor: ["odxLoadingSpinnerAutoColor", "autoColor"], isLoading: ["odxLoadingSpinner", "isLoading"], minHeight: ["odxLoadingSpinnerMinHeight", "minHeight"] }, ngImport: i0 });
69
+ LoadingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
70
+ LoadingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: LoadingSpinnerDirective, isStandalone: true, selector: "[odxLoadingSpinner]", inputs: { autoColor: ["odxLoadingSpinnerAutoColor", "autoColor"], isLoading: ["odxLoadingSpinner", "isLoading"], minHeight: ["odxLoadingSpinnerMinHeight", "minHeight"] }, ngImport: i0 });
71
71
  __decorate([
72
72
  Transform(coerceBooleanProperty),
73
73
  __metadata("design:type", Object)
@@ -77,7 +77,7 @@ __decorate([
77
77
  __metadata("design:type", Object),
78
78
  __metadata("design:paramtypes", [Object])
79
79
  ], LoadingSpinnerDirective.prototype, "minHeight", null);
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerDirective, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerDirective, decorators: [{
81
81
  type: Directive,
82
82
  args: [{
83
83
  selector: '[odxLoadingSpinner]',
@@ -122,8 +122,8 @@ let LoadingSpinnerComponent = class LoadingSpinnerComponent {
122
122
  return null;
123
123
  }
124
124
  };
125
- LoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
126
- LoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: LoadingSpinnerComponent, isStandalone: true, selector: "odx-loading-spinner", inputs: { autoColor: "autoColor" }, host: { listeners: { "@hostAnimation.done": "animationFinished($event)" }, properties: { "@hostAnimation": "true" } }, ngImport: i0, template: "<odx-circular-progress size=\"auto\" value=\"-1\"></odx-circular-progress>\n<div class=\"odx-loading-spinner__backdrop\" [style.backgroundColor]=\"backgroundColor\"></div>\n", dependencies: [{ kind: "component", type: CircularProgressComponent, selector: "odx-circular-progress", inputs: ["stroke", "size", "value"] }], animations: [trigger('hostAnimation', [transition(':enter', useAnimation(fadeIn())), transition(':leave', useAnimation(fadeOut()))])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
125
+ LoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
126
+ LoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: LoadingSpinnerComponent, isStandalone: true, selector: "odx-loading-spinner", inputs: { autoColor: "autoColor" }, host: { listeners: { "@hostAnimation.done": "animationFinished($event)" }, properties: { "@hostAnimation": "true" } }, ngImport: i0, template: "<odx-circular-progress size=\"auto\" value=\"-1\"></odx-circular-progress>\n<div class=\"odx-loading-spinner__backdrop\" [style.backgroundColor]=\"backgroundColor\"></div>\n", dependencies: [{ kind: "component", type: CircularProgressComponent, selector: "odx-circular-progress", inputs: ["stroke", "size", "value"] }], animations: [trigger('hostAnimation', [transition(':enter', useAnimation(fadeIn())), transition(':leave', useAnimation(fadeOut()))])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
127
127
  __decorate([
128
128
  CSSModifier(),
129
129
  __metadata("design:type", Object)
@@ -131,7 +131,7 @@ __decorate([
131
131
  LoadingSpinnerComponent = __decorate([
132
132
  CSSComponent('loading-spinner')
133
133
  ], LoadingSpinnerComponent);
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerComponent, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerComponent, decorators: [{
135
135
  type: Component,
136
136
  args: [{ standalone: true, selector: 'odx-loading-spinner', imports: [CircularProgressComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
137
137
  '[@hostAnimation]': 'true',
@@ -144,10 +144,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
144
144
  const modules = [LoadingSpinnerComponent, LoadingSpinnerDirective];
145
145
  class LoadingSpinnerModule {
146
146
  }
147
- LoadingSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
148
- LoadingSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, LoadingSpinnerDirective], exports: [CoreModule, LoadingSpinnerComponent, LoadingSpinnerDirective] });
149
- LoadingSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, CoreModule] });
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerModule, decorators: [{
147
+ LoadingSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
148
+ LoadingSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, LoadingSpinnerDirective], exports: [CoreModule, LoadingSpinnerComponent, LoadingSpinnerDirective] });
149
+ LoadingSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, CoreModule] });
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerModule, decorators: [{
151
151
  type: NgModule,
152
152
  args: [{
153
153
  imports: modules,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-loading-spinner.mjs","sources":["../../../../libs/angular/components/loading-spinner/src/lib/loading-spinner.directive.ts","../../../../libs/angular/components/loading-spinner/src/lib/loading-spinner.component.ts","../../../../libs/angular/components/loading-spinner/src/lib/loading-spinner.component.html","../../../../libs/angular/components/loading-spinner/src/lib/loading-spinner.module.ts","../../../../libs/angular/components/loading-spinner/src/odx-angular-components-loading-spinner.ts"],"sourcesContent":["import { BooleanInput, coerceBooleanProperty, coerceNumberProperty, NumberInput } from '@angular/cdk/coercion';\nimport { Directive, inject, Input, Renderer2 } from '@angular/core';\nimport { WindowRef } from '@odx/angular';\nimport { DynamicViewRef, DynamicViewService } from '@odx/angular/cdk/dynamic-view';\nimport { deferFn, getInjector, injectElement, px, Transform } from '@odx/angular/utils';\nimport { LoadingSpinnerComponent } from './loading-spinner.component';\n\nconst LOADING_SPINNER_PARENT_CLASS = 'odx-loading-spinner-parent';\n\n@Directive({\n selector: '[odxLoadingSpinner]',\n standalone: true,\n})\nexport class LoadingSpinnerDirective {\n public static ngAcceptInputType_autoColor: BooleanInput;\n public static ngAcceptInputType_isLoading: BooleanInput;\n public static ngAcceptInputType_minHeight: NumberInput;\n\n private readonly dynamicViewService = inject(DynamicViewService);\n private readonly hostElement = injectElement();\n private readonly renderer = inject(Renderer2);\n private readonly injector = getInjector();\n private readonly windowRef = inject(WindowRef);\n\n private parentMinHeight?: number;\n private viewRef: DynamicViewRef<typeof LoadingSpinnerComponent> | null = null;\n\n @Transform(coerceBooleanProperty)\n @Input('odxLoadingSpinnerAutoColor')\n public autoColor = false;\n\n @Input('odxLoadingSpinner')\n public set isLoading(value: boolean | null | undefined) {\n if (value) {\n this.createSpinner();\n } else {\n this.removeSpinner();\n }\n }\n public get isLoading(): boolean {\n return this.viewRef !== null;\n }\n\n @Transform(coerceNumberProperty)\n @Input('odxLoadingSpinnerMinHeight')\n public set minHeight(value: unknown) {\n this.parentMinHeight = coerceNumberProperty(value);\n this.setParentHeight();\n }\n\n private setParentHeight(): void {\n this.renderer.setStyle(this.hostElement.nativeElement, 'minHeight', this.parentMinHeight ? px(this.parentMinHeight) : 'inherit');\n }\n\n private createSpinner(): void {\n this.renderer.addClass(this.hostElement.nativeElement, LOADING_SPINNER_PARENT_CLASS);\n this.setParentHeight();\n if (this.hasStaticPosition()) {\n this.renderer.setStyle(this.hostElement.nativeElement, 'position', 'relative');\n }\n this.viewRef = this.dynamicViewService.createView(LoadingSpinnerComponent, {\n injector: this.injector,\n context: { autoColor: this.autoColor },\n host: this.hostElement.nativeElement,\n });\n deferFn(() => (this.hostElement.nativeElement.scrollTop = 0));\n }\n\n private removeSpinner(): void {\n this.viewRef?.destroy();\n this.viewRef = null;\n }\n\n public resetParentStyles(): void {\n this.renderer.removeClass(this.hostElement.nativeElement, LOADING_SPINNER_PARENT_CLASS);\n this.renderer.removeStyle(this.hostElement.nativeElement, 'minHeight');\n this.renderer.removeStyle(this.hostElement.nativeElement, 'position');\n }\n\n private hasStaticPosition(): boolean {\n return this.windowRef.nativeWindow.getComputedStyle(this.hostElement.nativeElement).position === 'static';\n }\n}\n","import { AnimationEvent, transition, trigger, useAnimation } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, inject, Input, OnInit, ViewEncapsulation } from '@angular/core';\nimport { WindowRef } from '@odx/angular';\nimport { fadeIn, fadeOut } from '@odx/angular/animations';\nimport { CircularProgressComponent } from '@odx/angular/components/circular-progress';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { LoadingSpinnerDirective } from './loading-spinner.directive';\n\nconst BROWSER_TRANSPARENT_COLOR = 'rgba(0, 0, 0, 0)';\n\n@CSSComponent('loading-spinner')\n@Component({\n standalone: true,\n selector: 'odx-loading-spinner',\n templateUrl: './loading-spinner.component.html',\n imports: [CircularProgressComponent],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[@hostAnimation]': 'true',\n '(@hostAnimation.done)': 'animationFinished($event)',\n },\n animations: [trigger('hostAnimation', [transition(':enter', useAnimation(fadeIn())), transition(':leave', useAnimation(fadeOut()))])],\n})\nexport class LoadingSpinnerComponent implements OnInit {\n private readonly host = inject(LoadingSpinnerDirective);\n private readonly windowRef = inject(WindowRef);\n\n protected backgroundColor: string | null = null;\n\n public readonly element = injectElement();\n\n @CSSModifier()\n @Input()\n public autoColor = false;\n\n public ngOnInit(): void {\n this.backgroundColor = this.resolveBackgroundColor(this.element.nativeElement);\n }\n\n protected animationFinished({ toState }: AnimationEvent): void {\n if (toState === 'void') {\n this.host.resetParentStyles();\n }\n }\n\n private resolveBackgroundColor(element: HTMLElement): string | null {\n const { backgroundColor } = this.windowRef.nativeWindow.getComputedStyle(element);\n if (backgroundColor !== BROWSER_TRANSPARENT_COLOR) {\n return backgroundColor;\n }\n if (element.parentElement) {\n return this.resolveBackgroundColor(element.parentElement);\n }\n return null;\n }\n}\n","<odx-circular-progress size=\"auto\" value=\"-1\"></odx-circular-progress>\n<div class=\"odx-loading-spinner__backdrop\" [style.backgroundColor]=\"backgroundColor\"></div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { LoadingSpinnerComponent } from './loading-spinner.component';\nimport { LoadingSpinnerDirective } from './loading-spinner.directive';\n\nconst modules = [LoadingSpinnerComponent, LoadingSpinnerDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class LoadingSpinnerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAOA,MAAM,4BAA4B,GAAG,4BAA4B,CAAC;MAMrD,uBAAuB,CAAA;AAJpC,IAAA,WAAA,GAAA;AASmB,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;AAChD,QAAA,IAAW,CAAA,WAAA,GAAG,aAAa,EAAE,CAAC;AAC9B,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC7B,QAAA,IAAQ,CAAA,QAAA,GAAG,WAAW,EAAE,CAAC;AACzB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAGvC,QAAA,IAAO,CAAA,OAAA,GAA0D,IAAI,CAAC;AAIvE,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;KAqD1B;IAnDC,IACW,SAAS,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,CAAA,CAAA;mHAMpD,oBAAoB,EAAA,OAAA,EAAA,CANhB,uBAAuB,EAI5B,UAAU,CAAA,EAAA,CAAA,CAAA;4FAET,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;iBAClC,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-loading-spinner.mjs","sources":["../../../../libs/angular/components/loading-spinner/src/lib/loading-spinner.directive.ts","../../../../libs/angular/components/loading-spinner/src/lib/loading-spinner.component.ts","../../../../libs/angular/components/loading-spinner/src/lib/loading-spinner.component.html","../../../../libs/angular/components/loading-spinner/src/lib/loading-spinner.module.ts","../../../../libs/angular/components/loading-spinner/src/odx-angular-components-loading-spinner.ts"],"sourcesContent":["import { BooleanInput, coerceBooleanProperty, coerceNumberProperty, NumberInput } from '@angular/cdk/coercion';\nimport { Directive, inject, Input, Renderer2 } from '@angular/core';\nimport { WindowRef } from '@odx/angular';\nimport { DynamicViewRef, DynamicViewService } from '@odx/angular/cdk/dynamic-view';\nimport { deferFn, getInjector, injectElement, px, Transform } from '@odx/angular/utils';\nimport { LoadingSpinnerComponent } from './loading-spinner.component';\n\nconst LOADING_SPINNER_PARENT_CLASS = 'odx-loading-spinner-parent';\n\n@Directive({\n selector: '[odxLoadingSpinner]',\n standalone: true,\n})\nexport class LoadingSpinnerDirective {\n public static ngAcceptInputType_autoColor: BooleanInput;\n public static ngAcceptInputType_isLoading: BooleanInput;\n public static ngAcceptInputType_minHeight: NumberInput;\n\n private readonly dynamicViewService = inject(DynamicViewService);\n private readonly hostElement = injectElement();\n private readonly renderer = inject(Renderer2);\n private readonly injector = getInjector();\n private readonly windowRef = inject(WindowRef);\n\n private parentMinHeight?: number;\n private viewRef: DynamicViewRef<typeof LoadingSpinnerComponent> | null = null;\n\n @Transform(coerceBooleanProperty)\n @Input('odxLoadingSpinnerAutoColor')\n public autoColor = false;\n\n @Input('odxLoadingSpinner')\n public set isLoading(value: boolean | null | undefined) {\n if (value) {\n this.createSpinner();\n } else {\n this.removeSpinner();\n }\n }\n public get isLoading(): boolean {\n return this.viewRef !== null;\n }\n\n @Transform(coerceNumberProperty)\n @Input('odxLoadingSpinnerMinHeight')\n public set minHeight(value: unknown) {\n this.parentMinHeight = coerceNumberProperty(value);\n this.setParentHeight();\n }\n\n public resetParentStyles(): void {\n this.renderer.removeClass(this.hostElement.nativeElement, LOADING_SPINNER_PARENT_CLASS);\n this.renderer.removeStyle(this.hostElement.nativeElement, 'minHeight');\n this.renderer.removeStyle(this.hostElement.nativeElement, 'position');\n }\n\n private setParentHeight(): void {\n this.renderer.setStyle(this.hostElement.nativeElement, 'minHeight', this.parentMinHeight ? px(this.parentMinHeight) : 'inherit');\n }\n\n private createSpinner(): void {\n this.renderer.addClass(this.hostElement.nativeElement, LOADING_SPINNER_PARENT_CLASS);\n this.setParentHeight();\n if (this.hasStaticPosition()) {\n this.renderer.setStyle(this.hostElement.nativeElement, 'position', 'relative');\n }\n this.viewRef = this.dynamicViewService.createView(LoadingSpinnerComponent, {\n injector: this.injector,\n context: { autoColor: this.autoColor },\n host: this.hostElement.nativeElement,\n });\n deferFn(() => (this.hostElement.nativeElement.scrollTop = 0));\n }\n\n private removeSpinner(): void {\n this.viewRef?.destroy();\n this.viewRef = null;\n }\n\n private hasStaticPosition(): boolean {\n return this.windowRef.nativeWindow.getComputedStyle(this.hostElement.nativeElement).position === 'static';\n }\n}\n","import { AnimationEvent, transition, trigger, useAnimation } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, inject, Input, OnInit, ViewEncapsulation } from '@angular/core';\nimport { WindowRef } from '@odx/angular';\nimport { fadeIn, fadeOut } from '@odx/angular/animations';\nimport { CircularProgressComponent } from '@odx/angular/components/circular-progress';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { LoadingSpinnerDirective } from './loading-spinner.directive';\n\nconst BROWSER_TRANSPARENT_COLOR = 'rgba(0, 0, 0, 0)';\n\n@CSSComponent('loading-spinner')\n@Component({\n standalone: true,\n selector: 'odx-loading-spinner',\n templateUrl: './loading-spinner.component.html',\n imports: [CircularProgressComponent],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[@hostAnimation]': 'true',\n '(@hostAnimation.done)': 'animationFinished($event)',\n },\n animations: [trigger('hostAnimation', [transition(':enter', useAnimation(fadeIn())), transition(':leave', useAnimation(fadeOut()))])],\n})\nexport class LoadingSpinnerComponent implements OnInit {\n private readonly host = inject(LoadingSpinnerDirective);\n private readonly windowRef = inject(WindowRef);\n\n protected backgroundColor: string | null = null;\n\n public readonly element = injectElement();\n\n @CSSModifier()\n @Input()\n public autoColor = false;\n\n public ngOnInit(): void {\n this.backgroundColor = this.resolveBackgroundColor(this.element.nativeElement);\n }\n\n protected animationFinished({ toState }: AnimationEvent): void {\n if (toState === 'void') {\n this.host.resetParentStyles();\n }\n }\n\n private resolveBackgroundColor(element: HTMLElement): string | null {\n const { backgroundColor } = this.windowRef.nativeWindow.getComputedStyle(element);\n if (backgroundColor !== BROWSER_TRANSPARENT_COLOR) {\n return backgroundColor;\n }\n if (element.parentElement) {\n return this.resolveBackgroundColor(element.parentElement);\n }\n return null;\n }\n}\n","<odx-circular-progress size=\"auto\" value=\"-1\"></odx-circular-progress>\n<div class=\"odx-loading-spinner__backdrop\" [style.backgroundColor]=\"backgroundColor\"></div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { LoadingSpinnerComponent } from './loading-spinner.component';\nimport { LoadingSpinnerDirective } from './loading-spinner.directive';\n\nconst modules = [LoadingSpinnerComponent, LoadingSpinnerDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class LoadingSpinnerModule {}\n","/**\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