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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (572) hide show
  1. package/README.md +6 -6
  2. package/cdk/a11y/README.md +3 -0
  3. package/cdk/a11y/index.d.ts +2 -0
  4. package/cdk/a11y/lib/a11y.module.d.ts +11 -0
  5. package/cdk/a11y/lib/directives/index.d.ts +3 -0
  6. package/cdk/a11y/lib/directives/interactive.directive.d.ts +11 -0
  7. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +11 -0
  8. package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +12 -0
  9. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +3 -2
  10. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +1 -1
  11. package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +1 -1
  12. package/cdk/connected-overlay/lib/models/connected-overlay-options.d.ts +1 -0
  13. package/cdk/custom-form-control/lib/control.directive.d.ts +1 -1
  14. package/cdk/custom-form-control/lib/custom-form-control.d.ts +1 -1
  15. package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +1 -1
  16. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +1 -1
  17. package/cdk/expandable/index.d.ts +1 -0
  18. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +2 -2
  19. package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +2 -2
  20. package/cdk/expandable/lib/expandable.tokens.d.ts +3 -0
  21. package/cdk/expandable/lib/facade/expandable-container.d.ts +4 -4
  22. package/cdk/expandable/lib/facade/expandable-item.d.ts +6 -6
  23. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +1 -1
  24. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +1 -1
  25. package/components/accordion/lib/accordion.component.d.ts +1 -1
  26. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +1 -1
  27. package/components/accordion/lib/directives/accordion-item-title.d.ts +1 -1
  28. package/components/action-group/action-group.component.d.ts +1 -1
  29. package/components/area-header/area-header.component.d.ts +1 -1
  30. package/components/area-header/directives/area-header-content.directive.d.ts +1 -1
  31. package/components/area-header/directives/area-header-subtitle.directive.d.ts +1 -1
  32. package/components/avatar/lib/avatar.component.d.ts +1 -1
  33. package/components/badge/lib/badge.component.d.ts +1 -1
  34. package/components/badge/lib/badge.directive.d.ts +1 -1
  35. package/components/bar/README.md +3 -0
  36. package/components/bar/index.d.ts +5 -0
  37. package/components/bar/lib/bar.component.d.ts +6 -0
  38. package/components/bar/lib/bar.module.d.ts +10 -0
  39. package/components/bar/lib/directives/bar-button.directive.d.ts +10 -0
  40. package/components/bar/lib/directives/bar-label.directive.d.ts +6 -0
  41. package/components/bar/lib/models/bar-button-variant.d.ts +5 -0
  42. package/components/breadcrumbs/README.md +3 -0
  43. package/components/breadcrumbs/index.d.ts +1 -0
  44. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +17 -0
  45. package/components/button/lib/button.component.d.ts +3 -4
  46. package/components/button-group/lib/button-group.component.d.ts +1 -1
  47. package/components/checkbox/lib/checkbox.component.d.ts +2 -1
  48. package/components/checkbox/lib/checkbox.validator.d.ts +1 -1
  49. package/components/chip/lib/chip.component.d.ts +1 -1
  50. package/components/circular-progress/lib/circular-progress.component.d.ts +1 -1
  51. package/components/content-box/lib/content-box.component.d.ts +1 -1
  52. package/components/content-box/lib/directives/content-box-footer-directive.d.ts +1 -1
  53. package/components/content-box/lib/directives/content-box-header-directive.d.ts +1 -1
  54. package/components/dropdown/index.d.ts +2 -0
  55. package/components/dropdown/lib/dropdown.component.d.ts +2 -1
  56. package/components/dropdown/lib/dropdown.directive.d.ts +13 -4
  57. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +1 -0
  58. package/components/dropdown/lib/helpers/index.d.ts +1 -0
  59. package/components/dropdown/lib/models/close-dropdown-event.d.ts +4 -0
  60. package/components/dropdown/lib/models/dropdown-options.d.ts +1 -1
  61. package/components/dropdown/lib/models/index.d.ts +1 -0
  62. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +1 -1
  63. package/components/form-field/lib/components/form-group/form-group.component.d.ts +1 -1
  64. package/components/form-field/lib/directives/form-field-control.directive.d.ts +1 -1
  65. package/components/form-field/lib/directives/form-field-error.directive.d.ts +1 -1
  66. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +1 -1
  67. package/components/form-field/lib/directives/form-field-label.directive.d.ts +1 -1
  68. package/components/form-field/lib/directives/form.directive.d.ts +1 -1
  69. package/components/form-field/lib/form-field.component.d.ts +2 -1
  70. package/components/header/lib/directives/header-avatar.directive.d.ts +1 -1
  71. package/components/header/lib/directives/header-title.directive.d.ts +1 -1
  72. package/components/header/lib/header.component.d.ts +1 -1
  73. package/components/header/lib/header.module.d.ts +2 -3
  74. package/components/icon/lib/icon.component.d.ts +1 -1
  75. package/components/icon/lib/models/icon-size.d.ts +2 -1
  76. package/components/inline-message/index.d.ts +1 -1
  77. package/components/inline-message/lib/inline-message.component.d.ts +2 -2
  78. package/components/inline-message/lib/models/index.d.ts +1 -0
  79. package/components/launch-tile/README.md +3 -0
  80. package/components/launch-tile/index.d.ts +3 -0
  81. package/components/launch-tile/lib/components/index.d.ts +2 -0
  82. package/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.d.ts +5 -0
  83. package/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.d.ts +5 -0
  84. package/components/launch-tile/lib/launch-tile.component.d.ts +13 -0
  85. package/components/launch-tile/lib/launch-tile.module.d.ts +14 -0
  86. package/components/link/link.directive.d.ts +2 -4
  87. package/components/list/lib/components/index.d.ts +1 -1
  88. package/components/list/lib/components/{list-item.component.d.ts → list-item/list-item.component.d.ts} +2 -4
  89. package/components/list/lib/list.component.d.ts +2 -1
  90. package/components/list/lib/list.module.d.ts +1 -1
  91. package/components/loading-spinner/lib/loading-spinner.component.d.ts +1 -1
  92. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +2 -2
  93. package/components/logo/logo.directive.d.ts +1 -1
  94. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +1 -1
  95. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +2 -4
  96. package/components/main-menu/lib/main-menu.component.d.ts +1 -1
  97. package/components/menu/README.md +3 -0
  98. package/components/menu/index.d.ts +4 -0
  99. package/components/menu/lib/directives/index.d.ts +1 -0
  100. package/components/menu/lib/directives/menu-item.directive.d.ts +9 -0
  101. package/components/menu/lib/menu.component.d.ts +8 -0
  102. package/components/menu/lib/menu.directive.d.ts +16 -0
  103. package/components/menu/lib/menu.module.d.ts +10 -0
  104. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +10 -0
  105. package/components/modal/lib/components/index.d.ts +2 -0
  106. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +1 -1
  107. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +1 -1
  108. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +11 -0
  109. package/components/modal/lib/directives/modal-close.directive.d.ts +2 -2
  110. package/components/modal/lib/directives/modal-content.directive.d.ts +1 -1
  111. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +1 -1
  112. package/components/modal/lib/helpers/inject-modal-ref.d.ts +1 -1
  113. package/components/modal/lib/modal.component.d.ts +7 -3
  114. package/components/modal/lib/modal.directive.d.ts +1 -1
  115. package/components/modal/lib/modal.module.d.ts +9 -8
  116. package/components/modal/lib/modal.service.d.ts +2 -1
  117. package/components/modal/lib/models/basic-modal-options.d.ts +17 -0
  118. package/components/modal/lib/models/index.d.ts +2 -0
  119. package/components/modal/lib/models/modal-hero-variant.d.ts +7 -0
  120. package/components/progress/lib/progress.component.d.ts +2 -2
  121. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +2 -2
  122. package/components/radio-group/lib/radio-group.component.d.ts +1 -1
  123. package/components/rail-navigation/lib/components/rail-navigation-item.component.d.ts +2 -4
  124. package/components/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
  125. package/components/select/lib/components/option/option.component.d.ts +1 -1
  126. package/components/select/lib/directives/select-search-field.directive.d.ts +1 -1
  127. package/components/select/lib/select.component.d.ts +4 -4
  128. package/components/slider/lib/slider.directive.d.ts +2 -3
  129. package/components/spinbox/lib/spinbox.component.d.ts +2 -2
  130. package/components/switch/lib/switch.component.d.ts +2 -1
  131. package/components/switch/lib/switch.validator.d.ts +1 -1
  132. package/components/tab-bar/README.md +3 -0
  133. package/components/tab-bar/index.d.ts +4 -0
  134. package/components/tab-bar/lib/components/index.d.ts +1 -0
  135. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +20 -0
  136. package/components/tab-bar/lib/models/index.d.ts +1 -0
  137. package/components/tab-bar/lib/models/tab-change-event.d.ts +5 -0
  138. package/components/tab-bar/lib/tab-bar.component.d.ts +31 -0
  139. package/components/tab-bar/lib/tab-bar.config.d.ts +3 -0
  140. package/components/tab-bar/lib/tab-bar.module.d.ts +9 -0
  141. package/components/toast/README.md +3 -0
  142. package/components/toast/index.d.ts +5 -0
  143. package/components/toast/lib/components/index.d.ts +2 -0
  144. package/components/toast/lib/components/toast-container/toast-container.component.d.ts +23 -0
  145. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +20 -0
  146. package/components/toast/lib/models/index.d.ts +5 -0
  147. package/components/toast/lib/models/toast-action.d.ts +7 -0
  148. package/components/toast/lib/models/toast-ref.d.ts +7 -0
  149. package/components/toast/lib/models/toast-variant.d.ts +7 -0
  150. package/components/toast/lib/models/toast.d.ts +10 -0
  151. package/components/toast/lib/models/toast.options.d.ts +4 -0
  152. package/components/toast/lib/toast.config.d.ts +3 -0
  153. package/components/toast/lib/toast.module.d.ts +13 -0
  154. package/components/toast/lib/toast.service.d.ts +16 -0
  155. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +1 -1
  156. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +2 -2
  157. package/components/tooltip/lib/tooltip.component.d.ts +1 -1
  158. package/components/tooltip/lib/tooltip.directive.d.ts +1 -1
  159. package/esm2020/animations/lib/expand.mjs +6 -4
  160. package/esm2020/cdk/a11y/index.mjs +3 -0
  161. package/esm2020/cdk/a11y/lib/a11y.module.mjs +19 -0
  162. package/esm2020/cdk/a11y/lib/directives/index.mjs +4 -0
  163. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +49 -0
  164. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +28 -0
  165. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +40 -0
  166. package/esm2020/cdk/a11y/odx-angular-cdk-a11y.mjs +5 -0
  167. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +11 -10
  168. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +4 -4
  169. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +8 -4
  170. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +4 -4
  171. package/esm2020/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +3 -3
  172. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +3 -2
  173. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +4 -4
  174. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +4 -4
  175. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +4 -4
  176. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +4 -4
  177. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +4 -4
  178. package/esm2020/cdk/expandable/index.mjs +2 -1
  179. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +7 -8
  180. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +5 -7
  181. package/esm2020/cdk/expandable/lib/expandable.module.mjs +5 -5
  182. package/esm2020/cdk/expandable/lib/expandable.tokens.mjs +3 -0
  183. package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +2 -3
  184. package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +2 -3
  185. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +4 -4
  186. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +4 -4
  187. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +5 -5
  188. package/esm2020/components/accordion/lib/accordion.component.mjs +6 -6
  189. package/esm2020/components/accordion/lib/accordion.module.mjs +5 -5
  190. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +8 -6
  191. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +4 -4
  192. package/esm2020/components/action-group/action-group.component.mjs +4 -4
  193. package/esm2020/components/area-header/area-header.component.mjs +4 -4
  194. package/esm2020/components/area-header/area-header.module.mjs +5 -5
  195. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -4
  196. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -4
  197. package/esm2020/components/avatar/lib/avatar.component.mjs +4 -4
  198. package/esm2020/components/badge/lib/badge.component.mjs +4 -4
  199. package/esm2020/components/badge/lib/badge.directive.mjs +4 -4
  200. package/esm2020/components/bar/index.mjs +6 -0
  201. package/esm2020/components/bar/lib/bar.component.mjs +21 -0
  202. package/esm2020/components/bar/lib/bar.module.mjs +20 -0
  203. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +39 -0
  204. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +24 -0
  205. package/esm2020/components/bar/lib/models/bar-button-variant.mjs +5 -0
  206. package/esm2020/components/bar/odx-angular-components-bar.mjs +5 -0
  207. package/esm2020/components/breadcrumbs/index.mjs +2 -0
  208. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +50 -0
  209. package/esm2020/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +5 -0
  210. package/esm2020/components/button/lib/button.component.mjs +8 -12
  211. package/esm2020/components/button-group/lib/button-group.component.mjs +4 -4
  212. package/esm2020/components/checkbox/lib/checkbox.component.mjs +7 -6
  213. package/esm2020/components/checkbox/lib/checkbox.module.mjs +5 -5
  214. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +4 -4
  215. package/esm2020/components/chip/lib/chip.component.mjs +4 -4
  216. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +5 -5
  217. package/esm2020/components/content-box/lib/content-box.component.mjs +4 -4
  218. package/esm2020/components/content-box/lib/content-box.module.mjs +5 -5
  219. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -4
  220. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -4
  221. package/esm2020/components/dropdown/index.mjs +3 -1
  222. package/esm2020/components/dropdown/lib/dropdown.component.mjs +15 -6
  223. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +48 -17
  224. package/esm2020/components/dropdown/lib/dropdown.module.mjs +5 -5
  225. package/esm2020/components/dropdown/lib/helpers/close-current-dropdown.mjs +5 -0
  226. package/esm2020/components/dropdown/lib/helpers/index.mjs +2 -0
  227. package/esm2020/components/dropdown/lib/models/close-dropdown-event.mjs +7 -0
  228. package/esm2020/components/dropdown/lib/models/dropdown-options.mjs +2 -1
  229. package/esm2020/components/dropdown/lib/models/index.mjs +2 -1
  230. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +4 -4
  231. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +4 -4
  232. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +4 -4
  233. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +4 -4
  234. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +4 -4
  235. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +4 -4
  236. package/esm2020/components/form-field/lib/directives/form.directive.mjs +4 -4
  237. package/esm2020/components/form-field/lib/form-field.component.mjs +8 -7
  238. package/esm2020/components/form-field/lib/form-field.module.mjs +5 -5
  239. package/esm2020/components/form-field/lib/form-field.service.mjs +4 -4
  240. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +4 -4
  241. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +4 -4
  242. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -4
  243. package/esm2020/components/header/lib/header.component.mjs +5 -6
  244. package/esm2020/components/header/lib/header.module.mjs +7 -11
  245. package/esm2020/components/icon/lib/icon.component.mjs +4 -4
  246. package/esm2020/components/icon/lib/models/icon-size.mjs +2 -1
  247. package/esm2020/components/inline-message/index.mjs +2 -2
  248. package/esm2020/components/inline-message/lib/inline-message.component.mjs +5 -5
  249. package/esm2020/components/inline-message/lib/models/index.mjs +2 -0
  250. package/esm2020/components/launch-tile/index.mjs +4 -0
  251. package/esm2020/components/launch-tile/lib/components/index.mjs +3 -0
  252. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +13 -0
  253. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +13 -0
  254. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +51 -0
  255. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +23 -0
  256. package/esm2020/components/launch-tile/odx-angular-components-launch-tile.mjs +5 -0
  257. package/esm2020/components/link/link.directive.mjs +7 -14
  258. package/esm2020/components/list/lib/components/index.mjs +2 -2
  259. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +40 -0
  260. package/esm2020/components/list/lib/list.component.mjs +17 -9
  261. package/esm2020/components/list/lib/list.module.mjs +6 -6
  262. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +4 -4
  263. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +9 -9
  264. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +5 -5
  265. package/esm2020/components/logo/logo.directive.mjs +4 -4
  266. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +4 -4
  267. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +7 -13
  268. package/esm2020/components/main-menu/lib/main-menu.component.mjs +8 -8
  269. package/esm2020/components/main-menu/lib/main-menu.module.mjs +5 -5
  270. package/esm2020/components/main-menu/lib/main-menu.service.mjs +4 -4
  271. package/esm2020/components/menu/index.mjs +5 -0
  272. package/esm2020/components/menu/lib/directives/index.mjs +2 -0
  273. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +39 -0
  274. package/esm2020/components/menu/lib/menu.component.mjs +35 -0
  275. package/esm2020/components/menu/lib/menu.directive.mjs +51 -0
  276. package/esm2020/components/menu/lib/menu.module.mjs +20 -0
  277. package/esm2020/components/menu/odx-angular-components-menu.mjs +5 -0
  278. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +42 -0
  279. package/esm2020/components/modal/lib/components/index.mjs +3 -1
  280. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +4 -4
  281. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +4 -4
  282. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +39 -0
  283. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +10 -5
  284. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +4 -4
  285. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +4 -4
  286. package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +1 -1
  287. package/esm2020/components/modal/lib/modal.component.mjs +19 -9
  288. package/esm2020/components/modal/lib/modal.directive.mjs +4 -4
  289. package/esm2020/components/modal/lib/modal.module.mjs +33 -7
  290. package/esm2020/components/modal/lib/modal.service.mjs +14 -5
  291. package/esm2020/components/modal/lib/models/basic-modal-options.mjs +2 -0
  292. package/esm2020/components/modal/lib/models/index.mjs +3 -1
  293. package/esm2020/components/modal/lib/models/modal-hero-variant.mjs +7 -0
  294. package/esm2020/components/modal/lib/services/open-modal-manager.service.mjs +4 -4
  295. package/esm2020/components/progress/lib/progress.component.mjs +6 -6
  296. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +8 -9
  297. package/esm2020/components/radio-group/lib/radio-group.component.mjs +6 -6
  298. package/esm2020/components/radio-group/lib/radio-group.module.mjs +5 -5
  299. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +7 -12
  300. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +4 -4
  301. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +5 -5
  302. package/esm2020/components/select/lib/components/option/option.component.mjs +5 -5
  303. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +4 -4
  304. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +4 -4
  305. package/esm2020/components/select/lib/select.component.mjs +15 -19
  306. package/esm2020/components/select/lib/select.module.mjs +5 -5
  307. package/esm2020/components/slider/lib/slider.directive.mjs +7 -10
  308. package/esm2020/components/spinbox/lib/spinbox.component.mjs +5 -5
  309. package/esm2020/components/switch/lib/switch.component.mjs +7 -6
  310. package/esm2020/components/switch/lib/switch.module.mjs +5 -5
  311. package/esm2020/components/switch/lib/switch.validator.mjs +4 -4
  312. package/esm2020/components/tab-bar/index.mjs +5 -0
  313. package/esm2020/components/tab-bar/lib/components/index.mjs +2 -0
  314. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +70 -0
  315. package/esm2020/components/tab-bar/lib/models/index.mjs +2 -0
  316. package/esm2020/components/tab-bar/lib/models/tab-change-event.mjs +2 -0
  317. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +115 -0
  318. package/esm2020/components/tab-bar/lib/tab-bar.config.mjs +3 -0
  319. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +19 -0
  320. package/esm2020/components/tab-bar/odx-angular-components-tab-bar.mjs +5 -0
  321. package/esm2020/components/toast/index.mjs +6 -0
  322. package/esm2020/components/toast/lib/components/index.mjs +3 -0
  323. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +87 -0
  324. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +74 -0
  325. package/esm2020/components/toast/lib/models/index.mjs +6 -0
  326. package/esm2020/components/toast/lib/models/toast-action.mjs +2 -0
  327. package/esm2020/components/toast/lib/models/toast-ref.mjs +2 -0
  328. package/esm2020/components/toast/lib/models/toast-variant.mjs +7 -0
  329. package/esm2020/components/toast/lib/models/toast.mjs +2 -0
  330. package/esm2020/components/toast/lib/models/toast.options.mjs +2 -0
  331. package/esm2020/components/toast/lib/toast.config.mjs +6 -0
  332. package/esm2020/components/toast/lib/toast.module.mjs +26 -0
  333. package/esm2020/components/toast/lib/toast.service.mjs +38 -0
  334. package/esm2020/components/toast/odx-angular-components-toast.mjs +5 -0
  335. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +6 -10
  336. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +15 -7
  337. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +5 -5
  338. package/esm2020/components/tooltip/lib/tooltip.component.mjs +4 -4
  339. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +4 -4
  340. package/esm2020/lib/controllers/controller.mjs +6 -6
  341. package/esm2020/lib/controllers/disabled.controller.mjs +21 -42
  342. package/esm2020/lib/controllers/readonly.controller.mjs +6 -6
  343. package/esm2020/lib/core.module.mjs +7 -7
  344. package/esm2020/lib/directives/click-outside.directive.mjs +7 -6
  345. package/esm2020/lib/directives/index.mjs +4 -1
  346. package/esm2020/lib/directives/let.directive.mjs +36 -0
  347. package/esm2020/lib/directives/with-disabled-state.directive.mjs +41 -0
  348. package/esm2020/lib/directives/with-tabindex.directive.mjs +23 -0
  349. package/esm2020/lib/services/window-ref.mjs +9 -5
  350. package/esm2020/rxjs/index.mjs +2 -1
  351. package/esm2020/rxjs/lib/form-query-list.mjs +5 -0
  352. package/esm2020/utils/lib/helpers/dom.mjs +8 -1
  353. package/esm2020/utils/lib/helpers/event-manager.mjs +4 -4
  354. package/esm2020/utils/lib/helpers/get-unique-id.mjs +7 -0
  355. package/esm2020/utils/lib/helpers/index.mjs +3 -1
  356. package/esm2020/utils/lib/helpers/provide-module-config.mjs +1 -1
  357. package/esm2020/utils/lib/helpers/queue.mjs +24 -0
  358. package/fesm2015/odx-angular-animations.mjs +5 -3
  359. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  360. package/fesm2015/odx-angular-cdk-a11y.mjs +132 -0
  361. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -0
  362. package/fesm2015/odx-angular-cdk-active-indicator.mjs +12 -9
  363. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -1
  364. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +3 -3
  365. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  366. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +14 -9
  367. package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  368. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +6 -6
  369. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  370. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +9 -9
  371. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  372. package/fesm2015/odx-angular-cdk-expandable.mjs +16 -22
  373. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -1
  374. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +10 -10
  375. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  376. package/fesm2015/odx-angular-components-accordion.mjs +19 -17
  377. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -1
  378. package/fesm2015/odx-angular-components-action-group.mjs +3 -3
  379. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  380. package/fesm2015/odx-angular-components-area-header.mjs +13 -13
  381. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  382. package/fesm2015/odx-angular-components-avatar.mjs +3 -3
  383. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  384. package/fesm2015/odx-angular-components-badge.mjs +6 -6
  385. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  386. package/fesm2015/odx-angular-components-bar.mjs +96 -0
  387. package/fesm2015/odx-angular-components-bar.mjs.map +1 -0
  388. package/fesm2015/odx-angular-components-breadcrumbs.mjs +56 -0
  389. package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +1 -0
  390. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  391. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -1
  392. package/fesm2015/odx-angular-components-button.mjs +7 -11
  393. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  394. package/fesm2015/odx-angular-components-checkbox.mjs +13 -12
  395. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  396. package/fesm2015/odx-angular-components-chip.mjs +3 -3
  397. package/fesm2015/odx-angular-components-chip.mjs.map +1 -1
  398. package/fesm2015/odx-angular-components-circular-progress.mjs +4 -4
  399. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -1
  400. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  401. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  402. package/fesm2015/odx-angular-components-dropdown.mjs +92 -40
  403. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -1
  404. package/fesm2015/odx-angular-components-form-field.mjs +37 -36
  405. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  406. package/fesm2015/odx-angular-components-header.mjs +16 -20
  407. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  408. package/fesm2015/odx-angular-components-icon.mjs +4 -3
  409. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  410. package/fesm2015/odx-angular-components-inline-message.mjs +3 -3
  411. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -1
  412. package/fesm2015/odx-angular-components-launch-tile.mjs +95 -0
  413. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -0
  414. package/fesm2015/odx-angular-components-link.mjs +6 -14
  415. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  416. package/fesm2015/odx-angular-components-list.mjs +22 -25
  417. package/fesm2015/odx-angular-components-list.mjs.map +1 -1
  418. package/fesm2015/odx-angular-components-loading-spinner.mjs +15 -15
  419. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -1
  420. package/fesm2015/odx-angular-components-logo.mjs +3 -3
  421. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  422. package/fesm2015/odx-angular-components-main-menu.mjs +22 -30
  423. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  424. package/fesm2015/odx-angular-components-menu.mjs +127 -0
  425. package/fesm2015/odx-angular-components-menu.mjs.map +1 -0
  426. package/fesm2015/odx-angular-components-modal.mjs +161 -55
  427. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  428. package/fesm2015/odx-angular-components-progress.mjs +5 -5
  429. package/fesm2015/odx-angular-components-progress.mjs.map +1 -1
  430. package/fesm2015/odx-angular-components-radio-group.mjs +15 -16
  431. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  432. package/fesm2015/odx-angular-components-rail-navigation.mjs +13 -19
  433. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -1
  434. package/fesm2015/odx-angular-components-select.mjs +28 -32
  435. package/fesm2015/odx-angular-components-select.mjs.map +1 -1
  436. package/fesm2015/odx-angular-components-slider.mjs +6 -9
  437. package/fesm2015/odx-angular-components-slider.mjs.map +1 -1
  438. package/fesm2015/odx-angular-components-spinbox.mjs +5 -5
  439. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -1
  440. package/fesm2015/odx-angular-components-switch.mjs +13 -12
  441. package/fesm2015/odx-angular-components-switch.mjs.map +1 -1
  442. package/fesm2015/odx-angular-components-tab-bar.mjs +200 -0
  443. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -0
  444. package/fesm2015/odx-angular-components-toast.mjs +221 -0
  445. package/fesm2015/odx-angular-components-toast.mjs.map +1 -0
  446. package/fesm2015/odx-angular-components-toggle-button-group.mjs +23 -19
  447. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -1
  448. package/fesm2015/odx-angular-components-tooltip.mjs +6 -6
  449. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -1
  450. package/fesm2015/odx-angular-rxjs.mjs +6 -2
  451. package/fesm2015/odx-angular-rxjs.mjs.map +1 -1
  452. package/fesm2015/odx-angular-utils.mjs +41 -5
  453. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  454. package/fesm2015/odx-angular.mjs +140 -64
  455. package/fesm2015/odx-angular.mjs.map +1 -1
  456. package/fesm2020/odx-angular-animations.mjs +5 -3
  457. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  458. package/fesm2020/odx-angular-cdk-a11y.mjs +128 -0
  459. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -0
  460. package/fesm2020/odx-angular-cdk-active-indicator.mjs +10 -9
  461. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -1
  462. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +3 -3
  463. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  464. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +14 -9
  465. package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  466. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +6 -6
  467. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  468. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +9 -9
  469. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  470. package/fesm2020/odx-angular-cdk-expandable.mjs +16 -22
  471. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -1
  472. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +10 -10
  473. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  474. package/fesm2020/odx-angular-components-accordion.mjs +19 -17
  475. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -1
  476. package/fesm2020/odx-angular-components-action-group.mjs +3 -3
  477. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  478. package/fesm2020/odx-angular-components-area-header.mjs +13 -13
  479. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  480. package/fesm2020/odx-angular-components-avatar.mjs +3 -3
  481. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  482. package/fesm2020/odx-angular-components-badge.mjs +6 -6
  483. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  484. package/fesm2020/odx-angular-components-bar.mjs +96 -0
  485. package/fesm2020/odx-angular-components-bar.mjs.map +1 -0
  486. package/fesm2020/odx-angular-components-breadcrumbs.mjs +56 -0
  487. package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +1 -0
  488. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  489. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -1
  490. package/fesm2020/odx-angular-components-button.mjs +7 -11
  491. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  492. package/fesm2020/odx-angular-components-checkbox.mjs +13 -12
  493. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  494. package/fesm2020/odx-angular-components-chip.mjs +3 -3
  495. package/fesm2020/odx-angular-components-chip.mjs.map +1 -1
  496. package/fesm2020/odx-angular-components-circular-progress.mjs +4 -4
  497. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -1
  498. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  499. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  500. package/fesm2020/odx-angular-components-dropdown.mjs +91 -40
  501. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -1
  502. package/fesm2020/odx-angular-components-form-field.mjs +37 -36
  503. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  504. package/fesm2020/odx-angular-components-header.mjs +16 -20
  505. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  506. package/fesm2020/odx-angular-components-icon.mjs +4 -3
  507. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  508. package/fesm2020/odx-angular-components-inline-message.mjs +3 -3
  509. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -1
  510. package/fesm2020/odx-angular-components-launch-tile.mjs +94 -0
  511. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -0
  512. package/fesm2020/odx-angular-components-link.mjs +6 -13
  513. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  514. package/fesm2020/odx-angular-components-list.mjs +22 -24
  515. package/fesm2020/odx-angular-components-list.mjs.map +1 -1
  516. package/fesm2020/odx-angular-components-loading-spinner.mjs +15 -15
  517. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -1
  518. package/fesm2020/odx-angular-components-logo.mjs +3 -3
  519. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  520. package/fesm2020/odx-angular-components-main-menu.mjs +22 -29
  521. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  522. package/fesm2020/odx-angular-components-menu.mjs +129 -0
  523. package/fesm2020/odx-angular-components-menu.mjs.map +1 -0
  524. package/fesm2020/odx-angular-components-modal.mjs +166 -55
  525. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  526. package/fesm2020/odx-angular-components-progress.mjs +5 -5
  527. package/fesm2020/odx-angular-components-progress.mjs.map +1 -1
  528. package/fesm2020/odx-angular-components-radio-group.mjs +15 -16
  529. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  530. package/fesm2020/odx-angular-components-rail-navigation.mjs +13 -18
  531. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -1
  532. package/fesm2020/odx-angular-components-select.mjs +28 -32
  533. package/fesm2020/odx-angular-components-select.mjs.map +1 -1
  534. package/fesm2020/odx-angular-components-slider.mjs +6 -9
  535. package/fesm2020/odx-angular-components-slider.mjs.map +1 -1
  536. package/fesm2020/odx-angular-components-spinbox.mjs +5 -5
  537. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -1
  538. package/fesm2020/odx-angular-components-switch.mjs +13 -12
  539. package/fesm2020/odx-angular-components-switch.mjs.map +1 -1
  540. package/fesm2020/odx-angular-components-tab-bar.mjs +195 -0
  541. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -0
  542. package/fesm2020/odx-angular-components-toast.mjs +220 -0
  543. package/fesm2020/odx-angular-components-toast.mjs.map +1 -0
  544. package/fesm2020/odx-angular-components-toggle-button-group.mjs +23 -19
  545. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -1
  546. package/fesm2020/odx-angular-components-tooltip.mjs +6 -6
  547. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -1
  548. package/fesm2020/odx-angular-rxjs.mjs +6 -2
  549. package/fesm2020/odx-angular-rxjs.mjs.map +1 -1
  550. package/fesm2020/odx-angular-utils.mjs +42 -5
  551. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  552. package/fesm2020/odx-angular.mjs +137 -63
  553. package/fesm2020/odx-angular.mjs.map +1 -1
  554. package/lib/controllers/controller.d.ts +1 -1
  555. package/lib/controllers/disabled.controller.d.ts +4 -9
  556. package/lib/controllers/readonly.controller.d.ts +4 -2
  557. package/lib/core.module.d.ts +3 -2
  558. package/lib/directives/click-outside.directive.d.ts +1 -1
  559. package/lib/directives/index.d.ts +3 -0
  560. package/lib/directives/let.directive.d.ts +17 -0
  561. package/lib/directives/with-disabled-state.directive.d.ts +13 -0
  562. package/lib/directives/with-tabindex.directive.d.ts +7 -0
  563. package/lib/services/window-ref.d.ts +2 -0
  564. package/package.json +67 -11
  565. package/rxjs/index.d.ts +1 -0
  566. package/rxjs/lib/form-query-list.d.ts +3 -0
  567. package/utils/lib/helpers/dom.d.ts +1 -0
  568. package/utils/lib/helpers/get-unique-id.d.ts +1 -0
  569. package/utils/lib/helpers/index.d.ts +2 -0
  570. package/utils/lib/helpers/provide-module-config.d.ts +1 -1
  571. package/utils/lib/helpers/queue.d.ts +11 -0
  572. package/esm2020/components/list/lib/components/list-item.component.mjs +0 -46
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-icon.mjs","sources":["../../../../libs/angular/components/icon/src/lib/models/icon-size.ts","../../../../libs/angular/components/icon/src/lib/icon.component.ts","../../../../libs/angular/components/icon/src/odx-angular-components-icon.ts"],"sourcesContent":["export type IconSize = typeof IconSize[keyof typeof IconSize];\n\nexport const IconSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n INLINE: 'inline',\n} as const;\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\nimport { IconSize } from './models';\n\n@CSSComponent('icon')\n@Component({\n selector: 'odx-icon',\n template: '',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n host: {\n '[class.notranslate]': 'true',\n translate: 'no',\n },\n})\nexport class IconComponent {\n public static ngAcceptInputType_inline: BooleanInput;\n\n private iconName: string | null = null;\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public inline = false;\n\n @CSSModifier()\n @Input()\n public size: IconSize = IconSize.MEDIUM;\n\n @Input()\n public set name(value: string | null) {\n if (this.iconName) {\n this.element.nativeElement.classList.remove(this.getIconClass(this.iconName));\n }\n this.iconName = value;\n if (this.iconName) {\n this.element.nativeElement.classList.add(this.getIconClass(this.iconName));\n }\n }\n public get name(): string | null {\n return this.iconName;\n }\n\n private getIconClass(value: string): string {\n return `odx-icon-${value}`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEa,MAAA,QAAQ,GAAG;AACtB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,E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A,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;AAeZ,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;IACb,SAAS,CAAC,qBAAqB,CAAC;;AAEX,CAAA,EAAA,aAAA,CAAA,SAAA,EAAA,QAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAEtB,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;;AAE0B,CAAA,EAAA,aAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAb7B,aAAa,GAAA,UAAA,CAAA;IAZzB,YAAY,CAAC,MAAM,CAAC;AAYR,CAAA,EAAA,aAAa,CAgCzB,CAAA;4FAhCY,aAAa,EAAA,UAAA,EAAA,CAAA;kBAXzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,QAAQ,EAAE,EAAE;oBACZ,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,qBAAqB,EAAE,MAAM;AAC7B,wBAAA,SAAS,EAAE,IAAI;AAChB,qBAAA;AACF,iBAAA,CAAA;8BAUQ,MAAM,EAAA,CAAA;sBADZ,KAAK;gBAKC,IAAI,EAAA,CAAA;sBADV,KAAK;gBAIK,IAAI,EAAA,CAAA;sBADd,KAAK;;;ACjCR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-icon.mjs","sources":["../../../../libs/angular/components/icon/src/lib/models/icon-size.ts","../../../../libs/angular/components/icon/src/lib/icon.component.ts","../../../../libs/angular/components/icon/src/odx-angular-components-icon.ts"],"sourcesContent":["export type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\nexport const IconSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n XLARGE: 'xlarge',\n INLINE: 'inline',\n} as const;\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\nimport { IconSize } from './models';\n\n@CSSComponent('icon')\n@Component({\n selector: 'odx-icon',\n template: '',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n host: {\n '[class.notranslate]': 'true',\n translate: 'no',\n },\n})\nexport class IconComponent {\n public static ngAcceptInputType_inline: BooleanInput;\n\n private iconName: string | null = null;\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public inline = false;\n\n @CSSModifier()\n @Input()\n public size: IconSize = IconSize.MEDIUM;\n\n @Input()\n public set name(value: string | null) {\n if (this.iconName) {\n this.element.nativeElement.classList.remove(this.getIconClass(this.iconName));\n }\n this.iconName = value;\n if (this.iconName) {\n this.element.nativeElement.classList.add(this.getIconClass(this.iconName));\n }\n }\n public get name(): string | null {\n return this.iconName;\n }\n\n private getIconClass(value: string): string {\n return `odx-icon-${value}`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEa,MAAA,QAAQ,GAAG;AACtB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,MAAM,EAAE,QAAQ;;;ACWL,IAAA,aAAa,GAAnB,MAAM,aAAa,CAAA;AAAnB,IAAA,WAAA,GAAA;QAGG,IAAQ,CAAA,QAAA,GAAkB,IAAI,CAAC;QACvB,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;QAKnC,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAIf,QA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A;AAEtB,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;;AAE0B,CAAA,EAAA,aAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAb7B,aAAa,GAAA,UAAA,CAAA;IAZzB,YAAY,CAAC,MAAM,CAAC;AAYR,CAAA,EAAA,aAAa,CAgCzB,CAAA;2FAhCY,aAAa,EAAA,UAAA,EAAA,CAAA;kBAXzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,QAAQ,EAAE,EAAE;oBACZ,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,qBAAqB,EAAE,MAAM;AAC7B,wBAAA,SAAS,EAAE,IAAI;AAChB,qBAAA;AACF,iBAAA,CAAA;8BAUQ,MAAM,EAAA,CAAA;sBADZ,KAAK;gBAKC,IAAI,EAAA,CAAA;sBADV,KAAK;gBAIK,IAAI,EAAA,CAAA;sBADd,KAAK;;;ACjCR;;AAEG;;;;"}
@@ -29,8 +29,8 @@ let InlineMessageComponent = class InlineMessageComponent {
29
29
  }
30
30
  }
31
31
  };
32
- InlineMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InlineMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- InlineMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: InlineMessageComponent, isStandalone: true, selector: "odx-inline-message", inputs: { variant: "variant" }, ngImport: i0, template: "<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
32
+ InlineMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: InlineMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
+ InlineMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: InlineMessageComponent, isStandalone: true, selector: "odx-inline-message", inputs: { variant: "variant" }, ngImport: i0, template: "<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
34
34
  __decorate([
35
35
  CSSModifier({
36
36
  default: InlineMessageVariant.DEFAULT,
@@ -40,7 +40,7 @@ __decorate([
40
40
  InlineMessageComponent = __decorate([
41
41
  CSSComponent('inline-message')
42
42
  ], InlineMessageComponent);
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InlineMessageComponent, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: InlineMessageComponent, decorators: [{
44
44
  type: Component,
45
45
  args: [{ selector: 'odx-inline-message', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [IconComponent], template: "<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>\n</div>\n" }]
46
46
  }], propDecorators: { variant: [{
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-inline-message.mjs","sources":["../../../../libs/angular/components/inline-message/src/lib/models/inline-message-variant.ts","../../../../libs/angular/components/inline-message/src/lib/inline-message.component.ts","../../../../libs/angular/components/inline-message/src/lib/inline-message.component.html","../../../../libs/angular/components/inline-message/src/odx-angular-components-inline-message.ts"],"sourcesContent":["export type InlineMessageVariant = typeof InlineMessageVariant[keyof typeof InlineMessageVariant];\n\nexport const InlineMessageVariant = {\n DEFAULT: 'default',\n WARNING: 'warning',\n DANGER: 'danger',\n SUCCESS: 'success',\n} as const;\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { InlineMessageVariant } from './models/inline-message-variant';\n\n@CSSComponent('inline-message')\n@Component({\n selector: 'odx-inline-message',\n templateUrl: 'inline-message.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [IconComponent],\n})\nexport class InlineMessageComponent {\n public readonly element = injectElement<HTMLElement>();\n\n @CSSModifier({\n default: InlineMessageVariant.DEFAULT,\n })\n @Input()\n public variant?: InlineMessageVariant | null;\n\n public get icon(): string {\n switch (this.variant) {\n case InlineMessageVariant.WARNING:\n return 'warning';\n case InlineMessageVariant.DANGER:\n return 'danger';\n case InlineMessageVariant.SUCCESS:\n return 'check';\n default:\n return 'info';\n }\n }\n}\n","<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEa,MAAA,oBAAoB,GAAG;AAClC,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,OAAO,EAAE,SAAS;;;ACSP,IAAA,sBAAsB,GAA5B,MAAM,sBAAsB,CAAA;AAA5B,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAe,C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AAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAElB,UAAA,EAAA,IAAI,EACC,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAC5B,OAAA,EAAA,CAAC,aAAa,CAAC,EAAA,QAAA,EAAA,2IAAA,EAAA,CAAA;8BASjB,OAAO,EAAA,CAAA;sBADb,KAAK;;;AErBR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-inline-message.mjs","sources":["../../../../libs/angular/components/inline-message/src/lib/models/inline-message-variant.ts","../../../../libs/angular/components/inline-message/src/lib/inline-message.component.ts","../../../../libs/angular/components/inline-message/src/lib/inline-message.component.html","../../../../libs/angular/components/inline-message/src/odx-angular-components-inline-message.ts"],"sourcesContent":["export type InlineMessageVariant = typeof InlineMessageVariant[keyof typeof InlineMessageVariant];\n\nexport const InlineMessageVariant = {\n DEFAULT: 'default',\n WARNING: 'warning',\n DANGER: 'danger',\n SUCCESS: 'success',\n} as const;\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { InlineMessageVariant } from './models';\n\n@CSSComponent('inline-message')\n@Component({\n selector: 'odx-inline-message',\n templateUrl: 'inline-message.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [IconComponent],\n})\nexport class InlineMessageComponent {\n public readonly element = injectElement<HTMLElement>();\n\n @CSSModifier({\n default: InlineMessageVariant.DEFAULT,\n })\n @Input()\n public variant?: InlineMessageVariant | null;\n\n public get icon(): string {\n switch (this.variant) {\n case InlineMessageVariant.WARNING:\n return 'warning';\n case InlineMessageVariant.DANGER:\n return 'danger';\n case InlineMessageVariant.SUCCESS:\n return 'check';\n default:\n return 'info';\n }\n }\n}\n","<odx-icon size=\"medium\" [name]=\"icon\"></odx-icon>\n<div class=\"odx-inline-message__content\">\n <ng-content></ng-content>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEa,MAAA,oBAAoB,GAAG;AAClC,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,OAAO,EAAE,SAAS;;;ACSP,IAAA,sBAAsB,GAA5B,MAAM,sBAAsB,CAAA;AAA5B,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAe,CAAC;AAoBxD,KAAA;AAZC,IAAA,IAAW,IAAI,GAAA;QACb,QAAQ,IAAI,CAAC,OAAO;YAClB,KAAK,oBAAoB,CAAC,OAAO;AAC/B,gBAAA,OAAO,SAAS,CAAC;YACnB,KAAK,oBAAoB,CAAC,MAAM;AAC9B,gBAAA,OAAO,QAAQ,CAAC;YAClB,KAAK,oBAAoB,CAAC,OAAO;AAC/B,gBAAA,OAAO,OAAO,CAAC;AACjB,YAAA;AACE,gBAAA,OAAO,MAAM,CAAC;AACjB,SAAA;KACF;;mHApBU,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;uGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfnC,2IAIA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDSY,aAAa,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;AAKvB,UAAA,CAAA;AAAC,IAAA,WAAW,CAAC;QACX,OAAO,EAAE,oBAAoB,CAAC,OAAO;KACtC,CAAC;;AAE2C,CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,SAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAPlC,sBAAsB,GAAA,UAAA,CAAA;IATlC,YAAY,CAAC,gBAAgB,CAAC;AASlB,CAAA,EAAA,sBAAsB,CAqBlC,CAAA;2FArBY,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBARlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAElB,UAAA,EAAA,IAAI,EACC,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAC5B,OAAA,EAAA,CAAC,aAAa,CAAC,EAAA,QAAA,EAAA,2IAAA,EAAA,CAAA;8BASjB,OAAO,EAAA,CAAA;sBADb,KAAK;;;AErBR;;AAEG;;;;"}
@@ -0,0 +1,94 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ContentChild, ViewChild, HostListener, NgModule } from '@angular/core';
3
+ import { __decorate } from 'tslib';
4
+ import * as i1 from '@odx/angular/cdk/a11y';
5
+ import { A11yModule, InteractiveDirective } from '@odx/angular/cdk/a11y';
6
+ import { ActionGroupComponent } from '@odx/angular/components/action-group';
7
+ import { ButtonComponent } from '@odx/angular/components/button';
8
+ import { IconComponent } from '@odx/angular/components/icon';
9
+ import * as i3 from '@odx/angular/components/menu';
10
+ import { MenuComponent, MenuDirective, MenuModule } from '@odx/angular/components/menu';
11
+ import { CSSComponent } from '@odx/angular/internal';
12
+ import { injectElement, containsElement } from '@odx/angular/utils';
13
+ import * as i2 from '@angular/common';
14
+ import { CoreModule } from '@odx/angular';
15
+ import { AvatarComponent } from '@odx/angular/components/avatar';
16
+
17
+ class LaunchTileFooterComponent {
18
+ }
19
+ LaunchTileFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
+ LaunchTileFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: LaunchTileFooterComponent, isStandalone: true, selector: "odx-launch-tile-footer", host: { properties: { "class.odx-launch-tile__footer": "true" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileFooterComponent, decorators: [{
22
+ type: Component,
23
+ args: [{ selector: 'odx-launch-tile-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
24
+ '[class.odx-launch-tile__footer]': 'true',
25
+ }, template: "<ng-content></ng-content>\n" }]
26
+ }] });
27
+
28
+ class LaunchTileSubtitleComponent {
29
+ }
30
+ LaunchTileSubtitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
+ LaunchTileSubtitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: LaunchTileSubtitleComponent, isStandalone: true, selector: "odx-launch-tile-subtitle", host: { properties: { "class.odx-launch-tile__subtitle": "true" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileSubtitleComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ selector: 'odx-launch-tile-subtitle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
35
+ '[class.odx-launch-tile__subtitle]': 'true',
36
+ }, template: "<ng-content></ng-content>\n" }]
37
+ }] });
38
+
39
+ let LaunchTileComponent = class LaunchTileComponent {
40
+ constructor() {
41
+ this.element = injectElement();
42
+ }
43
+ stopEvents(event) {
44
+ const target = event.target;
45
+ const isFooterEvent = containsElement(this.footer?.nativeElement, target, false);
46
+ const isMenuEvent = containsElement(this.menuHost?.nativeElement, target);
47
+ if (isFooterEvent || isMenuEvent) {
48
+ event.stopImmediatePropagation();
49
+ return;
50
+ }
51
+ }
52
+ };
53
+ LaunchTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
54
+ 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 });
55
+ LaunchTileComponent = __decorate([
56
+ CSSComponent('launch-tile')
57
+ ], LaunchTileComponent);
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileComponent, decorators: [{
59
+ type: Component,
60
+ 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" }]
61
+ }], propDecorators: { menu: [{
62
+ type: ContentChild,
63
+ args: [MenuComponent]
64
+ }], menuHost: [{
65
+ type: ViewChild,
66
+ args: [MenuDirective, { read: ElementRef }]
67
+ }], footer: [{
68
+ type: ContentChild,
69
+ args: [LaunchTileFooterComponent, { read: ElementRef }]
70
+ }], stopEvents: [{
71
+ type: HostListener,
72
+ args: ['click', ['$event']]
73
+ }] } });
74
+
75
+ const modules = [LaunchTileComponent, LaunchTileFooterComponent, LaunchTileSubtitleComponent, AvatarComponent, ButtonComponent, IconComponent];
76
+ class LaunchTileModule {
77
+ }
78
+ LaunchTileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
79
+ 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] });
80
+ LaunchTileModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileModule, imports: [modules, CoreModule, MenuModule] });
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LaunchTileModule, decorators: [{
82
+ type: NgModule,
83
+ args: [{
84
+ imports: [modules],
85
+ exports: [CoreModule, MenuModule, ...modules],
86
+ }]
87
+ }] });
88
+
89
+ /**
90
+ * Generated bundle index. Do not edit.
91
+ */
92
+
93
+ export { LaunchTileComponent, LaunchTileFooterComponent, LaunchTileModule, LaunchTileSubtitleComponent };
94
+ //# sourceMappingURL=odx-angular-components-launch-tile.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odx-angular-components-launch-tile.mjs","sources":["../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-footer/launch-tile-footer.component.ts","../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-footer/launch-tile-footer.component.html","../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.ts","../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.html","../../../../libs/angular/components/launch-tile/src/lib/launch-tile.component.ts","../../../../libs/angular/components/launch-tile/src/lib/launch-tile.component.html","../../../../libs/angular/components/launch-tile/src/lib/launch-tile.module.ts","../../../../libs/angular/components/launch-tile/src/odx-angular-components-launch-tile.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-launch-tile-footer',\n templateUrl: './launch-tile-footer.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.odx-launch-tile__footer]': 'true',\n },\n})\nexport class LaunchTileFooterComponent {}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-launch-tile-subtitle',\n templateUrl: './launch-tile-subtitle.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.odx-launch-tile__subtitle]': 'true',\n },\n})\nexport class LaunchTileSubtitleComponent {}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, HostListener, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { A11yModule, InteractiveDirective } from '@odx/angular/cdk/a11y';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { MenuComponent, MenuDirective, MenuModule } from '@odx/angular/components/menu';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { containsElement, injectElement } from '@odx/angular/utils';\nimport { LaunchTileFooterComponent } from './components';\n\n@CSSComponent('launch-tile')\n@Component({\n selector: 'odx-launch-tile',\n templateUrl: './launch-tile.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [A11yModule, ButtonComponent, IconComponent, MenuModule, ActionGroupComponent],\n hostDirectives: [InteractiveDirective],\n})\nexport class LaunchTileComponent {\n @ContentChild(MenuComponent)\n protected readonly menu?: MenuComponent;\n\n @ViewChild(MenuDirective, { read: ElementRef })\n protected readonly menuHost?: ElementRef<HTMLElement>;\n\n @ContentChild(LaunchTileFooterComponent, { read: ElementRef })\n protected readonly footer?: ElementRef<HTMLElement>;\n\n public readonly element = injectElement();\n\n @HostListener('click', ['$event'])\n protected stopEvents(event: Event): void {\n const target = event.target as Element;\n const isFooterEvent = containsElement(this.footer?.nativeElement, target, false);\n const isMenuEvent = containsElement(this.menuHost?.nativeElement, target);\n if (isFooterEvent || isMenuEvent) {\n event.stopImmediatePropagation();\n return;\n }\n }\n}\n","<div class=\"odx-launch-tile__trigger\" (click)=\"stopEvents($event)\">\n <div class=\"odx-launch-tile__container\">\n <ng-content select=\"odx-avatar\"></ng-content>\n <div class=\"odx-launch-tile__content\">\n <div class=\"odx-launch-tile__title\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"odx-launch-tile-subtitle\"></ng-content>\n </div>\n </div>\n\n <ng-content select=\"odx-launch-tile-footer\"></ng-content>\n\n <odx-action-group *ngIf=\"menu\">\n <button odxButton [odxMenu]=\"menuTpl\" odxMenuPosition=\"bottom-end\">\n <odx-icon name=\"more\"></odx-icon>\n </button>\n\n <ng-template #menuTpl>\n <ng-content select=\"odx-menu\"></ng-content>\n </ng-template>\n </odx-action-group>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { AvatarComponent } from '@odx/angular/components/avatar';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { MenuModule } from '@odx/angular/components/menu';\nimport { LaunchTileFooterComponent, LaunchTileSubtitleComponent } from './components';\nimport { LaunchTileComponent } from './launch-tile.component';\n\nconst modules = [LaunchTileComponent, LaunchTileFooterComponent, LaunchTileSubtitleComponent, AvatarComponent, ButtonComponent, IconComponent];\n\n@NgModule({\n imports: [modules],\n exports: [CoreModule, MenuModule, ...modules],\n})\nexport class LaunchTileModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAYa,yBAAyB,CAAA;;sHAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,yBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yBAAyB,qJCZtC,6BACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;2FDWa,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAVrC,SAAS;+BACE,wBAAwB,EAAA,UAAA,EAEtB,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAC/B,IAAA,EAAA;AACJ,wBAAA,iCAAiC,EAAE,MAAM;AAC1C,qBAAA,EAAA,QAAA,EAAA,6BAAA,EAAA,CAAA;;;MEEU,2BAA2B,CAAA;;wHAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EA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AAA;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;AAC9C,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
@@ -1,34 +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
- return !!this.disabledController?.disabled;
15
- }
16
13
  };
17
- LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18
- 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 });
19
16
  LinkDirective = __decorate([
20
17
  CSSComponent('link')
21
18
  ], LinkDirective);
22
- 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: [{
23
20
  type: Directive,
24
21
  args: [{
25
22
  selector: 'a[odxLink]',
26
- providers: [DisabledController.connect()],
27
23
  standalone: true,
28
- host: {
29
- '[class.is-disabled]': 'isDisabled',
30
- '[tabindex]': 'isDisabled ? -1 : 0',
31
- },
24
+ hostDirectives: [WithDisabledState, WithTabIndex],
32
25
  }]
33
26
  }] });
34
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;QACpD,IAAO,CAAA,OAAA,GAAG,aAAa,EAAmB,CAAC;AAK5D,KAAA;AAHC,IAAA,IAAW,UAAU,GAAA;AACnB,QAAA,OAAO,CAAC,CAAC,IAAI,CAAC,kBAAkB,EAAE,QAAQ,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;AAUR,CAAA,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;AACF,iBAAA,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;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAmB,CAAC;AAC5D,KAAA;;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;AAMR,CAAA,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;AAClD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
@@ -2,24 +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
- return !!this.disabledController?.disabled;
19
- }
20
17
  };
21
- ListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22
- 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 });
23
20
  __decorate([
24
21
  CSSModifier(),
25
22
  Transform(coerceBooleanProperty),
@@ -33,36 +30,37 @@ __decorate([
33
30
  ListItemComponent = __decorate([
34
31
  CSSComponent('list-item')
35
32
  ], ListItemComponent);
36
- 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: [{
37
34
  type: Component,
38
- args: [{ standalone: true, selector: '[odxListItem]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [DisabledController.connect()], host: {
39
- '[class.is-disabled]': 'isDisabled',
40
- '[tabindex]': 'isDisabled ? -1 : 0',
41
- }, 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" }]
42
36
  }], propDecorators: { danger: [{
43
37
  type: Input
44
38
  }], selected: [{
45
39
  type: Input
46
40
  }] } });
47
41
 
48
- class ListComponent {
49
- }
50
- ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
51
- 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 });
52
- 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: [{
53
53
  type: Component,
54
- args: [{ selector: 'odx-list', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
55
- '[class.odx-list]': 'true',
56
- }, 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" }]
57
55
  }] });
58
56
 
59
57
  const modules = [ListComponent, ListItemComponent, IconComponent];
60
58
  class ListModule {
61
59
  }
62
- ListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
63
- ListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: ListModule, imports: [ListComponent, ListItemComponent, IconComponent], exports: [ListComponent, ListItemComponent, IconComponent] });
64
- ListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListModule, imports: [modules] });
65
- 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: [{
66
64
  type: NgModule,
67
65
  args: [{
68
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;QACpD,IAAO,CAAA,OAAA,GAAG,aAAa,EAAe,CAAC;QAUhD,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;QAKf,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;AACzB,KAAA;AAbC,IAAA,IAAW,UAAU,GAAA;AACnB,QAAA,OAAO,CAAC,CAAC,IAAI,CAAC,kBAAkB,EAAE,QAAQ,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,MAAA,EAAA,QAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,qBAAA,EAAA,EAAA,EAAA,SAAA,EAPjB,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC,0BCd3C,2LAKA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;AD4BE,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;IACb,SAAS,CAAC,q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BAVzB,SAAS;+BACE,UAAU,EAAA,UAAA,EACR,IAAI,EAAA,aAAA,EAED,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACJ,wBAAA,kBAAkB,EAAE,MAAM;AAC3B,qBAAA,EAAA,QAAA,EAAA,sDAAA,EAAA,CAAA;;;AELH,MAAM,OAAO,GAAG,CAAC,aAAa,EAAE,iBAAiB,EAAE,aAAa,CAAC,CAAC;MAMrD,UAAU,CAAA;;wGAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;yGAAV,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,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YAHZ,OAAO,CAAA,EAAA,CAAA,CAAA;4FAGL,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;AACjB,iBAAA,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":";;;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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;AACjB,iBAAA,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
  }
@@ -56,17 +61,12 @@ class LoadingSpinnerDirective {
56
61
  this.viewRef?.destroy();
57
62
  this.viewRef = null;
58
63
  }
59
- resetParentStyles() {
60
- this.renderer.removeClass(this.hostElement.nativeElement, LOADING_SPINNER_PARENT_CLASS);
61
- this.renderer.removeStyle(this.hostElement.nativeElement, 'minHeight');
62
- this.renderer.removeStyle(this.hostElement.nativeElement, 'position');
63
- }
64
64
  hasStaticPosition() {
65
65
  return this.windowRef.nativeWindow.getComputedStyle(this.hostElement.nativeElement).position === 'static';
66
66
  }
67
67
  }
68
- LoadingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
69
- 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 });
68
+ LoadingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
69
+ 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 });
70
70
  __decorate([
71
71
  Transform(coerceBooleanProperty),
72
72
  __metadata("design:type", Object)
@@ -76,7 +76,7 @@ __decorate([
76
76
  __metadata("design:type", Object),
77
77
  __metadata("design:paramtypes", [Object])
78
78
  ], LoadingSpinnerDirective.prototype, "minHeight", null);
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerDirective, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerDirective, decorators: [{
80
80
  type: Directive,
81
81
  args: [{
82
82
  selector: '[odxLoadingSpinner]',
@@ -121,8 +121,8 @@ let LoadingSpinnerComponent = class LoadingSpinnerComponent {
121
121
  return null;
122
122
  }
123
123
  };
124
- LoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
125
- 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 });
124
+ LoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
125
+ 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 });
126
126
  __decorate([
127
127
  CSSModifier(),
128
128
  __metadata("design:type", Object)
@@ -130,7 +130,7 @@ __decorate([
130
130
  LoadingSpinnerComponent = __decorate([
131
131
  CSSComponent('loading-spinner')
132
132
  ], LoadingSpinnerComponent);
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerComponent, decorators: [{
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerComponent, decorators: [{
134
134
  type: Component,
135
135
  args: [{ standalone: true, selector: 'odx-loading-spinner', imports: [CircularProgressComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
136
136
  '[@hostAnimation]': 'true',
@@ -143,10 +143,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
143
143
  const modules = [LoadingSpinnerComponent, LoadingSpinnerDirective];
144
144
  class LoadingSpinnerModule {
145
145
  }
146
- LoadingSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
147
- LoadingSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, LoadingSpinnerDirective], exports: [CoreModule, LoadingSpinnerComponent, LoadingSpinnerDirective] });
148
- LoadingSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, CoreModule] });
149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingSpinnerModule, decorators: [{
146
+ LoadingSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
147
+ LoadingSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, LoadingSpinnerDirective], exports: [CoreModule, LoadingSpinnerComponent, LoadingSpinnerDirective] });
148
+ LoadingSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, CoreModule] });
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LoadingSpinnerModule, decorators: [{
150
150
  type: NgModule,
151
151
  args: [{
152
152
  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;QAChD,IAAW,CAAA,WAAA,GAAG,aAAa,EAAE,CAAC;AAC9B,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAC7B,IAAQ,CAAA,QAAA,GAAG,WAAW,EAAE,CAAC;AACzB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAGvC,IAAO,CAAA,OAAA,GAA0D,IAAI,CAAC;QAIvE,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;AAqD1B,KAAA;IAnDC,IACW,SAAS,CAAC,KAAiC,EAAA;AACpD,QAAA,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,aAAa,EAAE,CAAC;AACtB,SAAA;AAAM,aAAA;YACL,IAAI,CAAC,aAAa,EAAE,CAAC;AACtB,SAAA;KACF;AACD,IAAA,IAAW,SAAS,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,OAAO,KAAK,IAAI,CAAC;KAC9B;IAED,IAEW,SAAS,CAAC,KAAc,EAAA;AACjC,QAAA,IAAI,CAAC,eAAe,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAC;QACnD,IAAI,CAAC,eAAe,EAAE,CAAC;KACxB;IA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AAA,EACrB,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACJ,wBAAA,kBAAkB,EAAE,MAAM;AAC1B,wBAAA,uBAAuB,EAAE,2BAA2B;AACrD,qBAAA,EAAA,UAAA,EACW,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,QAAQ,EAAE,YAAY,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAA,QAAA,EAAA,+KAAA,EAAA,CAAA;8BAY9H,SAAS,EAAA,CAAA;sBADf,KAAK;;;AE7BR,MAAM,OAAO,GAAG,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAC;MAMtD,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;mHAApB,oBAAoB,EAAA,OAAA,EAAA,CANhB,uBAAuB,EAAE,uBAAuB,aAIrD,UAAU,EAJL,uBAAuB,EAAE,uBAAuB,CAAA,EAAA,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;AAClC,iBAAA,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","/**\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;QAChD,IAAW,CAAA,WAAA,GAAG,aAAa,EAAE,CAAC;AAC9B,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAC7B,IAAQ,CAAA,QAAA,GAAG,WAAW,EAAE,CAAC;AACzB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAGvC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,EAJL,uBAAuB,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;kHAMpD,oBAAoB,EAAA,OAAA,EAAA,CANhB,uBAAuB,EAI5B,UAAU,CAAA,EAAA,CAAA,CAAA;2FAET,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;AAClC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
@@ -20,8 +20,8 @@ let LogoDirective = class LogoDirective {
20
20
  this.element = injectElement();
21
21
  }
22
22
  };
23
- LogoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LogoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
24
- LogoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: LogoDirective, isStandalone: true, selector: "odx-logo", inputs: { size: "size", variant: "variant" }, host: { attributes: { "translate": "no", "role": "img" }, properties: { "class.notranslate": "true", "attr.aria-label": "\"Dr\u00E4ger logo\"", "attr.aria-roledescription": "\"logo\"" } }, ngImport: i0 });
23
+ LogoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LogoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
24
+ LogoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: LogoDirective, isStandalone: true, selector: "odx-logo", inputs: { size: "size", variant: "variant" }, host: { attributes: { "translate": "no", "role": "img" }, properties: { "class.notranslate": "true", "attr.aria-label": "\"Dr\u00E4ger logo\"", "attr.aria-roledescription": "\"logo\"" } }, ngImport: i0 });
25
25
  __decorate([
26
26
  CSSModifier({ default: LogoSize.SMALL }),
27
27
  __metadata("design:type", String)
@@ -33,7 +33,7 @@ __decorate([
33
33
  LogoDirective = __decorate([
34
34
  CSSComponent('logo')
35
35
  ], LogoDirective);
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LogoDirective, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LogoDirective, decorators: [{
37
37
  type: Directive,
38
38
  args: [{
39
39
  selector: 'odx-logo',
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-logo.mjs","sources":["../../../../libs/angular/components/logo/src/models/logo-size.ts","../../../../libs/angular/components/logo/src/models/logo-variant.ts","../../../../libs/angular/components/logo/src/logo.directive.ts","../../../../libs/angular/components/logo/src/odx-angular-components-logo.ts"],"sourcesContent":["export type LogoSize = typeof LogoSize[keyof typeof LogoSize];\n\nexport const LogoSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n} as const;\n","export type LogoVariant = typeof LogoVariant[keyof typeof LogoVariant];\n\nexport const LogoVariant = {\n DEFAULT: 'default',\n INVERSE: 'inverse',\n} as const;\n","import { Directive, Input } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { LogoSize, LogoVariant } from './models';\n\n@CSSComponent('logo')\n@Directive({\n selector: 'odx-logo',\n standalone: true,\n host: {\n '[class.notranslate]': 'true',\n '[attr.aria-label]': '\"Dräger logo\"',\n '[attr.aria-roledescription]': '\"logo\"',\n translate: 'no',\n role: 'img',\n },\n})\nexport class LogoDirective {\n public readonly element = injectElement();\n\n @CSSModifier({ default: LogoSize.SMALL })\n @Input()\n public size!: LogoSize;\n\n @CSSModifier({ default: LogoVariant.DEFAULT })\n @Input()\n public variant!: LogoVariant;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAEa,MAAA,QAAQ,GAAG;AACtB,IAAA,KAAK,EAAE,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AXzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,qBAAqB,EAAE,MAAM;AAC7B,wBAAA,mBAAmB,EAAE,eAAe;AACpC,wBAAA,6BAA6B,EAAE,QAAQ;AACvC,wBAAA,SAAS,EAAE,IAAI;AACf,wBAAA,IAAI,EAAE,KAAK;AACZ,qBAAA;AACF,iBAAA,CAAA;8BAMQ,IAAI,EAAA,CAAA;sBADV,KAAK;gBAKC,OAAO,EAAA,CAAA;sBADb,KAAK;;;ACzBR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-logo.mjs","sources":["../../../../libs/angular/components/logo/src/models/logo-size.ts","../../../../libs/angular/components/logo/src/models/logo-variant.ts","../../../../libs/angular/components/logo/src/logo.directive.ts","../../../../libs/angular/components/logo/src/odx-angular-components-logo.ts"],"sourcesContent":["export type LogoSize = typeof LogoSize[keyof typeof LogoSize];\n\nexport const LogoSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n} as const;\n","export type LogoVariant = typeof LogoVariant[keyof typeof LogoVariant];\n\nexport const LogoVariant = {\n DEFAULT: 'default',\n INVERSE: 'inverse',\n} as const;\n","import { Directive, Input } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { LogoSize, LogoVariant } from './models';\n\n@CSSComponent('logo')\n@Directive({\n selector: 'odx-logo',\n standalone: true,\n host: {\n '[class.notranslate]': 'true',\n '[attr.aria-label]': '\"Dräger logo\"',\n '[attr.aria-roledescription]': '\"logo\"',\n translate: 'no',\n role: 'img',\n },\n})\nexport class LogoDirective {\n public readonly element = injectElement();\n\n @CSSModifier({ default: LogoSize.SMALL })\n @Input()\n public size!: LogoSize;\n\n @CSSModifier({ default: LogoVariant.DEFAULT })\n @Input()\n public variant!: LogoVari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