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

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 (376) hide show
  1. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +1 -2
  2. package/cdk/active-indicator/lib/models/active-indicator-direction.d.ts +1 -1
  3. package/cdk/active-indicator/lib/models/active-indicator-position.d.ts +1 -1
  4. package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +3 -3
  5. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +1 -0
  6. package/components/action-group/action-group.component.d.ts +1 -1
  7. package/components/area-header/models/area-header-size.d.ts +1 -1
  8. package/components/avatar/lib/models/avatar-size.d.ts +1 -1
  9. package/components/avatar/lib/models/avatar-variant.d.ts +1 -1
  10. package/components/badge/lib/models/badge-variant.d.ts +1 -1
  11. package/components/bar/lib/models/bar-button-variant.d.ts +1 -1
  12. package/components/button/lib/models/button-size.d.ts +1 -1
  13. package/components/button/lib/models/button-variant.d.ts +1 -1
  14. package/components/chip/lib/models/chip-size.d.ts +1 -1
  15. package/components/chip/lib/models/chip-variant.d.ts +1 -1
  16. package/components/circular-progress/lib/models/circular-progress-size.d.ts +1 -1
  17. package/components/dropdown/lib/models/dropdown-options.d.ts +1 -1
  18. package/components/form-field/lib/models/form-field-error-resolver.d.ts +1 -1
  19. package/components/header/lib/header.component.d.ts +1 -1
  20. package/components/icon/lib/models/icon-size.d.ts +1 -1
  21. package/components/inline-message/lib/models/inline-message-variant.d.ts +1 -1
  22. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +3 -1
  23. package/components/logo/models/logo-size.d.ts +1 -1
  24. package/components/logo/models/logo-variant.d.ts +1 -1
  25. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +2 -0
  26. package/components/menu/lib/directives/menu-item.directive.d.ts +1 -2
  27. package/components/modal/lib/modal.config.d.ts +1 -1
  28. package/components/modal/lib/models/basic-modal-options.d.ts +1 -1
  29. package/components/modal/lib/models/modal-hero-variant.d.ts +1 -1
  30. package/components/modal/lib/models/modal-options.d.ts +1 -1
  31. package/components/modal/lib/models/modal-size.d.ts +1 -1
  32. package/components/modal/lib/models/modal-type.d.ts +1 -1
  33. package/components/modal/lib/models/modal-variant.d.ts +1 -1
  34. package/components/select/lib/abstract/select-control-option.d.ts +2 -0
  35. package/components/select/lib/abstract/select-control.d.ts +1 -0
  36. package/components/select/lib/components/option/option.component.d.ts +6 -1
  37. package/components/select/lib/select.component.d.ts +7 -5
  38. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +1 -1
  39. package/components/toast/lib/models/toast-variant.d.ts +1 -1
  40. package/components/toast/lib/toast.config.d.ts +1 -1
  41. package/components/tooltip/lib/models/tooltip-size.d.ts +1 -1
  42. package/components/tooltip/lib/models/tooltip-trigger.d.ts +1 -1
  43. package/esm2020/cdk/a11y/lib/a11y.module.mjs +4 -4
  44. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +3 -3
  45. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +5 -7
  46. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +3 -3
  47. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +3 -3
  48. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +11 -11
  49. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +3 -3
  50. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +3 -3
  51. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +3 -3
  52. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +18 -18
  53. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +3 -3
  54. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +3 -3
  55. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +3 -3
  56. package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +14 -3
  57. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +3 -3
  58. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +3 -3
  59. package/esm2020/cdk/expandable/lib/expandable.module.mjs +4 -4
  60. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +10 -10
  61. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +7 -7
  62. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +4 -4
  63. package/esm2020/components/accordion/lib/accordion.component.mjs +6 -6
  64. package/esm2020/components/accordion/lib/accordion.module.mjs +4 -4
  65. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +3 -3
  66. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +3 -3
  67. package/esm2020/components/action-group/action-group.component.mjs +5 -5
  68. package/esm2020/components/area-header/area-header.component.mjs +6 -5
  69. package/esm2020/components/area-header/area-header.module.mjs +4 -4
  70. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +3 -3
  71. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +3 -3
  72. package/esm2020/components/avatar/lib/avatar.component.mjs +8 -10
  73. package/esm2020/components/badge/lib/badge.component.mjs +6 -5
  74. package/esm2020/components/badge/lib/badge.directive.mjs +3 -3
  75. package/esm2020/components/bar/lib/bar.component.mjs +3 -3
  76. package/esm2020/components/bar/lib/bar.module.mjs +4 -4
  77. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +6 -7
  78. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +3 -3
  79. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
  80. package/esm2020/components/button/lib/button.component.mjs +8 -10
  81. package/esm2020/components/button-group/lib/button-group.component.mjs +3 -3
  82. package/esm2020/components/checkbox/lib/checkbox.component.mjs +3 -3
  83. package/esm2020/components/checkbox/lib/checkbox.module.mjs +4 -4
  84. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +3 -3
  85. package/esm2020/components/chip/lib/chip.component.mjs +3 -3
  86. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +3 -3
  87. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  88. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  89. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +3 -3
  90. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +3 -3
  91. package/esm2020/components/dropdown/lib/dropdown.component.mjs +3 -3
  92. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +3 -3
  93. package/esm2020/components/dropdown/lib/dropdown.module.mjs +4 -4
  94. package/esm2020/components/dropdown/lib/models/dropdown-options.mjs +2 -2
  95. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +3 -3
  96. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +3 -3
  97. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +3 -3
  98. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +3 -3
  99. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +3 -3
  100. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +3 -3
  101. package/esm2020/components/form-field/lib/directives/form.directive.mjs +3 -3
  102. package/esm2020/components/form-field/lib/form-field.component.mjs +10 -10
  103. package/esm2020/components/form-field/lib/form-field.module.mjs +4 -4
  104. package/esm2020/components/form-field/lib/form-field.service.mjs +3 -3
  105. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +3 -3
  106. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +3 -3
  107. package/esm2020/components/header/lib/directives/header-title.directive.mjs +3 -3
  108. package/esm2020/components/header/lib/header.component.mjs +5 -5
  109. package/esm2020/components/header/lib/header.module.mjs +4 -4
  110. package/esm2020/components/icon/lib/icon.component.mjs +3 -3
  111. package/esm2020/components/inline-message/lib/inline-message.component.mjs +6 -7
  112. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +3 -3
  113. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +3 -3
  114. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +5 -5
  115. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +4 -4
  116. package/esm2020/components/link/link.directive.mjs +3 -3
  117. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +3 -3
  118. package/esm2020/components/list/lib/list.component.mjs +3 -3
  119. package/esm2020/components/list/lib/list.module.mjs +4 -4
  120. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +3 -3
  121. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +10 -6
  122. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +4 -4
  123. package/esm2020/components/logo/logo.directive.mjs +8 -6
  124. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +3 -3
  125. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +13 -5
  126. package/esm2020/components/main-menu/lib/main-menu.component.mjs +5 -5
  127. package/esm2020/components/main-menu/lib/main-menu.module.mjs +4 -4
  128. package/esm2020/components/main-menu/lib/main-menu.service.mjs +3 -3
  129. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +5 -7
  130. package/esm2020/components/menu/lib/menu.component.mjs +3 -3
  131. package/esm2020/components/menu/lib/menu.directive.mjs +3 -3
  132. package/esm2020/components/menu/lib/menu.module.mjs +4 -4
  133. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +3 -3
  134. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +3 -3
  135. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +3 -3
  136. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +3 -3
  137. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +3 -3
  138. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +3 -3
  139. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +3 -3
  140. package/esm2020/components/modal/lib/modal.component.mjs +5 -5
  141. package/esm2020/components/modal/lib/modal.directive.mjs +3 -3
  142. package/esm2020/components/modal/lib/modal.module.mjs +4 -4
  143. package/esm2020/components/modal/lib/modal.service.mjs +3 -3
  144. package/esm2020/components/modal/lib/models/modal-ref.mjs +11 -11
  145. package/esm2020/components/progress/lib/progress.component.mjs +3 -3
  146. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +3 -3
  147. package/esm2020/components/radio-group/lib/radio-group.component.mjs +7 -7
  148. package/esm2020/components/radio-group/lib/radio-group.module.mjs +4 -4
  149. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +3 -3
  150. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +3 -3
  151. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +4 -4
  152. package/esm2020/components/select/lib/abstract/select-control-option.mjs +1 -1
  153. package/esm2020/components/select/lib/abstract/select-control.mjs +1 -1
  154. package/esm2020/components/select/lib/components/option/option.component.mjs +36 -17
  155. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +3 -3
  156. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +3 -3
  157. package/esm2020/components/select/lib/select.component.mjs +52 -27
  158. package/esm2020/components/select/lib/select.module.mjs +4 -4
  159. package/esm2020/components/slider/lib/slider.directive.mjs +3 -3
  160. package/esm2020/components/spinbox/lib/spinbox.component.mjs +7 -7
  161. package/esm2020/components/switch/lib/switch.component.mjs +3 -3
  162. package/esm2020/components/switch/lib/switch.module.mjs +4 -4
  163. package/esm2020/components/switch/lib/switch.validator.mjs +3 -3
  164. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +3 -3
  165. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +6 -6
  166. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +4 -4
  167. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +3 -3
  168. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +7 -6
  169. package/esm2020/components/toast/lib/toast.module.mjs +4 -4
  170. package/esm2020/components/toast/lib/toast.service.mjs +3 -3
  171. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +3 -3
  172. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +7 -7
  173. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +4 -4
  174. package/esm2020/components/tooltip/lib/tooltip.component.mjs +3 -3
  175. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +10 -10
  176. package/esm2020/internal/decorators/css-component.mjs +3 -6
  177. package/esm2020/internal/decorators/css-modifier.mjs +14 -16
  178. package/esm2020/internal/helpers/decorator-property-name.mjs +4 -0
  179. package/esm2020/internal/helpers/index.mjs +2 -1
  180. package/esm2020/internal/helpers/with-mutiple-descriptors.mjs +10 -8
  181. package/esm2020/lib/controllers/controller.mjs +3 -3
  182. package/esm2020/lib/controllers/disabled.controller.mjs +3 -3
  183. package/esm2020/lib/controllers/readonly.controller.mjs +11 -11
  184. package/esm2020/lib/core.module.mjs +9 -8
  185. package/esm2020/lib/directives/click-outside.directive.mjs +3 -3
  186. package/esm2020/lib/directives/index.mjs +1 -2
  187. package/esm2020/lib/directives/with-disabled-state.directive.mjs +9 -9
  188. package/esm2020/lib/directives/with-tabindex.directive.mjs +3 -3
  189. package/esm2020/lib/services/window-ref.mjs +13 -6
  190. package/esm2020/utils/lib/decorators/transform.mjs +3 -3
  191. package/esm2020/utils/lib/helpers/build-url.mjs +4 -0
  192. package/esm2020/utils/lib/helpers/event-manager.mjs +3 -3
  193. package/esm2020/utils/lib/helpers/index.mjs +2 -1
  194. package/fesm2015/odx-angular-cdk-a11y.mjs +13 -14
  195. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -1
  196. package/fesm2015/odx-angular-cdk-active-indicator.mjs +3 -3
  197. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +11 -11
  198. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  199. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +6 -6
  200. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +21 -21
  201. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  202. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +22 -10
  203. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  204. package/fesm2015/odx-angular-cdk-expandable.mjs +10 -10
  205. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +19 -19
  206. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  207. package/fesm2015/odx-angular-components-accordion.mjs +15 -15
  208. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -1
  209. package/fesm2015/odx-angular-components-action-group.mjs +4 -4
  210. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  211. package/fesm2015/odx-angular-components-area-header.mjs +15 -14
  212. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  213. package/fesm2015/odx-angular-components-avatar.mjs +7 -9
  214. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  215. package/fesm2015/odx-angular-components-badge.mjs +8 -7
  216. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  217. package/fesm2015/odx-angular-components-bar.mjs +15 -16
  218. package/fesm2015/odx-angular-components-bar.mjs.map +1 -1
  219. package/fesm2015/odx-angular-components-breadcrumbs.mjs +3 -3
  220. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  221. package/fesm2015/odx-angular-components-button.mjs +7 -9
  222. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  223. package/fesm2015/odx-angular-components-checkbox.mjs +10 -10
  224. package/fesm2015/odx-angular-components-chip.mjs +3 -3
  225. package/fesm2015/odx-angular-components-circular-progress.mjs +3 -3
  226. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  227. package/fesm2015/odx-angular-components-dropdown.mjs +11 -11
  228. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -1
  229. package/fesm2015/odx-angular-components-form-field.mjs +40 -40
  230. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  231. package/fesm2015/odx-angular-components-header.mjs +14 -14
  232. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  233. package/fesm2015/odx-angular-components-icon.mjs +3 -3
  234. package/fesm2015/odx-angular-components-inline-message.mjs +5 -6
  235. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -1
  236. package/fesm2015/odx-angular-components-launch-tile.mjs +14 -14
  237. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -1
  238. package/fesm2015/odx-angular-components-link.mjs +3 -3
  239. package/fesm2015/odx-angular-components-list.mjs +10 -10
  240. package/fesm2015/odx-angular-components-loading-spinner.mjs +17 -12
  241. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -1
  242. package/fesm2015/odx-angular-components-logo.mjs +7 -5
  243. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  244. package/fesm2015/odx-angular-components-main-menu.mjs +57 -49
  245. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  246. package/fesm2015/odx-angular-components-menu.mjs +16 -17
  247. package/fesm2015/odx-angular-components-menu.mjs.map +1 -1
  248. package/fesm2015/odx-angular-components-modal.mjs +45 -45
  249. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  250. package/fesm2015/odx-angular-components-progress.mjs +3 -3
  251. package/fesm2015/odx-angular-components-radio-group.mjs +13 -13
  252. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  253. package/fesm2015/odx-angular-components-rail-navigation.mjs +10 -10
  254. package/fesm2015/odx-angular-components-select.mjs +92 -56
  255. package/fesm2015/odx-angular-components-select.mjs.map +1 -1
  256. package/fesm2015/odx-angular-components-slider.mjs +3 -3
  257. package/fesm2015/odx-angular-components-spinbox.mjs +7 -7
  258. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -1
  259. package/fesm2015/odx-angular-components-switch.mjs +10 -10
  260. package/fesm2015/odx-angular-components-tab-bar.mjs +12 -12
  261. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -1
  262. package/fesm2015/odx-angular-components-toast.mjs +16 -15
  263. package/fesm2015/odx-angular-components-toast.mjs.map +1 -1
  264. package/fesm2015/odx-angular-components-toggle-button-group.mjs +13 -13
  265. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -1
  266. package/fesm2015/odx-angular-components-tooltip.mjs +12 -12
  267. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -1
  268. package/fesm2015/odx-angular-internal.mjs +45 -47
  269. package/fesm2015/odx-angular-internal.mjs.map +1 -1
  270. package/fesm2015/odx-angular-utils.mjs +10 -6
  271. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  272. package/fesm2015/odx-angular.mjs +53 -79
  273. package/fesm2015/odx-angular.mjs.map +1 -1
  274. package/fesm2020/odx-angular-cdk-a11y.mjs +13 -14
  275. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -1
  276. package/fesm2020/odx-angular-cdk-active-indicator.mjs +3 -3
  277. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +11 -11
  278. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  279. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +6 -6
  280. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +21 -21
  281. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  282. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +21 -10
  283. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  284. package/fesm2020/odx-angular-cdk-expandable.mjs +10 -10
  285. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +19 -19
  286. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  287. package/fesm2020/odx-angular-components-accordion.mjs +15 -15
  288. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -1
  289. package/fesm2020/odx-angular-components-action-group.mjs +4 -4
  290. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  291. package/fesm2020/odx-angular-components-area-header.mjs +15 -14
  292. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  293. package/fesm2020/odx-angular-components-avatar.mjs +7 -9
  294. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  295. package/fesm2020/odx-angular-components-badge.mjs +8 -7
  296. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  297. package/fesm2020/odx-angular-components-bar.mjs +15 -16
  298. package/fesm2020/odx-angular-components-bar.mjs.map +1 -1
  299. package/fesm2020/odx-angular-components-breadcrumbs.mjs +3 -3
  300. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  301. package/fesm2020/odx-angular-components-button.mjs +7 -9
  302. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  303. package/fesm2020/odx-angular-components-checkbox.mjs +10 -10
  304. package/fesm2020/odx-angular-components-chip.mjs +3 -3
  305. package/fesm2020/odx-angular-components-circular-progress.mjs +3 -3
  306. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  307. package/fesm2020/odx-angular-components-dropdown.mjs +11 -11
  308. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -1
  309. package/fesm2020/odx-angular-components-form-field.mjs +40 -40
  310. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  311. package/fesm2020/odx-angular-components-header.mjs +14 -14
  312. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  313. package/fesm2020/odx-angular-components-icon.mjs +3 -3
  314. package/fesm2020/odx-angular-components-inline-message.mjs +5 -6
  315. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -1
  316. package/fesm2020/odx-angular-components-launch-tile.mjs +14 -14
  317. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -1
  318. package/fesm2020/odx-angular-components-link.mjs +3 -3
  319. package/fesm2020/odx-angular-components-list.mjs +10 -10
  320. package/fesm2020/odx-angular-components-loading-spinner.mjs +16 -12
  321. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -1
  322. package/fesm2020/odx-angular-components-logo.mjs +7 -5
  323. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  324. package/fesm2020/odx-angular-components-main-menu.mjs +56 -49
  325. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  326. package/fesm2020/odx-angular-components-menu.mjs +16 -17
  327. package/fesm2020/odx-angular-components-menu.mjs.map +1 -1
  328. package/fesm2020/odx-angular-components-modal.mjs +45 -45
  329. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  330. package/fesm2020/odx-angular-components-progress.mjs +3 -3
  331. package/fesm2020/odx-angular-components-radio-group.mjs +13 -13
  332. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  333. package/fesm2020/odx-angular-components-rail-navigation.mjs +10 -10
  334. package/fesm2020/odx-angular-components-select.mjs +95 -53
  335. package/fesm2020/odx-angular-components-select.mjs.map +1 -1
  336. package/fesm2020/odx-angular-components-slider.mjs +3 -3
  337. package/fesm2020/odx-angular-components-spinbox.mjs +6 -6
  338. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -1
  339. package/fesm2020/odx-angular-components-switch.mjs +10 -10
  340. package/fesm2020/odx-angular-components-tab-bar.mjs +12 -12
  341. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -1
  342. package/fesm2020/odx-angular-components-toast.mjs +16 -15
  343. package/fesm2020/odx-angular-components-toast.mjs.map +1 -1
  344. package/fesm2020/odx-angular-components-toggle-button-group.mjs +13 -13
  345. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -1
  346. package/fesm2020/odx-angular-components-tooltip.mjs +12 -12
  347. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -1
  348. package/fesm2020/odx-angular-internal.mjs +42 -43
  349. package/fesm2020/odx-angular-internal.mjs.map +1 -1
  350. package/fesm2020/odx-angular-utils.mjs +10 -6
  351. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  352. package/fesm2020/odx-angular.mjs +50 -76
  353. package/fesm2020/odx-angular.mjs.map +1 -1
  354. package/internal/decorators/css-component.d.ts +1 -2
  355. package/internal/decorators/css-modifier.d.ts +0 -1
  356. package/internal/helpers/decorator-property-name.d.ts +1 -0
  357. package/internal/helpers/index.d.ts +1 -0
  358. package/lib/core.module.d.ts +3 -3
  359. package/lib/directives/index.d.ts +0 -1
  360. package/lib/services/window-ref.d.ts +3 -0
  361. package/lib/tokens/identity-matcher.d.ts +1 -1
  362. package/lib/tokens/string-search-handler.d.ts +1 -1
  363. package/lib/tokens/stringify.d.ts +1 -1
  364. package/package.json +3 -2
  365. package/utils/lib/decorators/transform.d.ts +1 -1
  366. package/utils/lib/helpers/build-url.d.ts +1 -0
  367. package/utils/lib/helpers/index.d.ts +1 -0
  368. package/utils/lib/helpers/ng-changes.d.ts +1 -1
  369. package/utils/lib/helpers/provide-module-config.d.ts +2 -2
  370. package/utils/lib/helpers/queue.d.ts +2 -2
  371. package/utils/lib/types/axis.d.ts +1 -1
  372. package/utils/lib/types/get-properties.d.ts +2 -2
  373. package/utils/lib/types/position.d.ts +1 -1
  374. package/utils/lib/types/side.d.ts +1 -1
  375. package/esm2020/lib/directives/let.directive.mjs +0 -36
  376. package/lib/directives/let.directive.d.ts +0 -17
@@ -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';\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,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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 @Input()\n public variant?: InlineMessageVariant | null = InlineMessageVariant.DEFAULT;\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,O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AAA,UAAA,CAAA;IATlC,YAAY,CAAC,gBAAgB,CAAC;AASlB,CAAA,EAAA,sBAAsB,CAmBlC,CAAA;2FAnBY,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;8BAOjB,OAAO,EAAA,CAAA;sBADb,KAAK;;;AEnBR;;AAEG;;;;"}
@@ -16,9 +16,9 @@ import { AvatarComponent } from '@odx/angular/components/avatar';
16
16
 
17
17
  class LaunchTileFooterComponent {
18
18
  }
19
- LaunchTileFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LaunchTileFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
- LaunchTileFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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.5", ngImport: i0, type: LaunchTileFooterComponent, decorators: [{
19
+ LaunchTileFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LaunchTileFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
+ LaunchTileFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", 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.2.1", ngImport: i0, type: LaunchTileFooterComponent, decorators: [{
22
22
  type: Component,
23
23
  args: [{ selector: 'odx-launch-tile-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
24
24
  '[class.odx-launch-tile__footer]': 'true',
@@ -27,9 +27,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
27
27
 
28
28
  class LaunchTileSubtitleComponent {
29
29
  }
30
- LaunchTileSubtitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LaunchTileSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
- LaunchTileSubtitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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.5", ngImport: i0, type: LaunchTileSubtitleComponent, decorators: [{
30
+ LaunchTileSubtitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LaunchTileSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
+ LaunchTileSubtitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", 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.2.1", ngImport: i0, type: LaunchTileSubtitleComponent, decorators: [{
33
33
  type: Component,
34
34
  args: [{ selector: 'odx-launch-tile-subtitle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
35
35
  '[class.odx-launch-tile__subtitle]': 'true',
@@ -50,14 +50,14 @@ let LaunchTileComponent = class LaunchTileComponent {
50
50
  }
51
51
  }
52
52
  };
53
- LaunchTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LaunchTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
54
- LaunchTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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 });
53
+ LaunchTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LaunchTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
54
+ LaunchTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", 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 class=\"odx-launch-tile-menu\" *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
55
  LaunchTileComponent = __decorate([
56
56
  CSSComponent('launch-tile')
57
57
  ], LaunchTileComponent);
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LaunchTileComponent, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LaunchTileComponent, decorators: [{
59
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" }]
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 class=\"odx-launch-tile-menu\" *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
61
  }], propDecorators: { menu: [{
62
62
  type: ContentChild,
63
63
  args: [MenuComponent]
@@ -75,10 +75,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
75
75
  const modules = [LaunchTileComponent, LaunchTileFooterComponent, LaunchTileSubtitleComponent, AvatarComponent, ButtonComponent, IconComponent];
76
76
  class LaunchTileModule {
77
77
  }
78
- LaunchTileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LaunchTileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
79
- LaunchTileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", 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.5", ngImport: i0, type: LaunchTileModule, imports: [modules, CoreModule, MenuModule] });
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LaunchTileModule, decorators: [{
78
+ LaunchTileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LaunchTileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
79
+ LaunchTileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", 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.2.1", ngImport: i0, type: LaunchTileModule, imports: [modules, CoreModule, MenuModule] });
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LaunchTileModule, decorators: [{
82
82
  type: NgModule,
83
83
  args: [{
84
84
  imports: [modules],
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-launch-tile.mjs","sources":["../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-footer/launch-tile-footer.component.ts","../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-footer/launch-tile-footer.component.html","../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.ts","../../../../libs/angular/components/launch-tile/src/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.html","../../../../libs/angular/components/launch-tile/src/lib/launch-tile.component.ts","../../../../libs/angular/components/launch-tile/src/lib/launch-tile.component.html","../../../../libs/angular/components/launch-tile/src/lib/launch-tile.module.ts","../../../../libs/angular/components/launch-tile/src/odx-angular-components-launch-tile.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-launch-tile-footer',\n templateUrl: './launch-tile-footer.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.odx-launch-tile__footer]': 'true',\n },\n})\nexport class LaunchTileFooterComponent {}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-launch-tile-subtitle',\n templateUrl: './launch-tile-subtitle.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class.odx-launch-tile__subtitle]': 'true',\n },\n})\nexport class LaunchTileSubtitleComponent {}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, HostListener, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { A11yModule, InteractiveDirective } from '@odx/angular/cdk/a11y';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { MenuComponent, MenuDirective, MenuModule } from '@odx/angular/components/menu';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { containsElement, injectElement } from '@odx/angular/utils';\nimport { LaunchTileFooterComponent } from './components';\n\n@CSSComponent('launch-tile')\n@Component({\n selector: 'odx-launch-tile',\n templateUrl: './launch-tile.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [A11yModule, ButtonComponent, IconComponent, MenuModule, ActionGroupComponent],\n hostDirectives: [InteractiveDirective],\n})\nexport class LaunchTileComponent {\n @ContentChild(MenuComponent)\n protected readonly menu?: MenuComponent;\n\n @ViewChild(MenuDirective, { read: ElementRef })\n protected readonly menuHost?: ElementRef<HTMLElement>;\n\n @ContentChild(LaunchTileFooterComponent, { read: ElementRef })\n protected readonly footer?: ElementRef<HTMLElement>;\n\n public readonly element = injectElement();\n\n @HostListener('click', ['$event'])\n protected stopEvents(event: Event): void {\n const target = event.target as Element;\n const isFooterEvent = containsElement(this.footer?.nativeElement, target, false);\n const isMenuEvent = containsElement(this.menuHost?.nativeElement, target);\n if (isFooterEvent || isMenuEvent) {\n event.stopImmediatePropagation();\n return;\n }\n }\n}\n","<div class=\"odx-launch-tile__trigger\" (click)=\"stopEvents($event)\">\n <div class=\"odx-launch-tile__container\">\n <ng-content select=\"odx-avatar\"></ng-content>\n <div class=\"odx-launch-tile__content\">\n <div class=\"odx-launch-tile__title\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"odx-launch-tile-subtitle\"></ng-content>\n </div>\n </div>\n\n <ng-content select=\"odx-launch-tile-footer\"></ng-content>\n\n <odx-action-group *ngIf=\"menu\">\n <button odxButton [odxMenu]=\"menuTpl\" odxMenuPosition=\"bottom-end\">\n <odx-icon name=\"more\"></odx-icon>\n </button>\n\n <ng-template #menuTpl>\n <ng-content select=\"odx-menu\"></ng-content>\n </ng-template>\n </odx-action-group>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { AvatarComponent } from '@odx/angular/components/avatar';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { MenuModule } from '@odx/angular/components/menu';\nimport { LaunchTileFooterComponent, LaunchTileSubtitleComponent } from './components';\nimport { LaunchTileComponent } from './launch-tile.component';\n\nconst modules = [LaunchTileComponent, LaunchTileFooterComponent, LaunchTileSubtitleComponent, AvatarComponent, ButtonComponent, IconComponent];\n\n@NgModule({\n imports: [modules],\n exports: [CoreModule, MenuModule, ...modules],\n})\nexport class LaunchTileModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAYa,yBAAyB,CAAA;;sHAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,yBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yBAAyB,qJCZtC,6BACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;2FDWa,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAVrC,SAAS;+BACE,wBAAwB,EAAA,UAAA,EAEtB,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAC/B,IAAA,EAAA;AACJ,wBAAA,iCAAiC,EAAE,MAAM;AAC1C,qBAAA,EAAA,QAAA,EAAA,6BAAA,EAAA,CAAA;;;MEEU,2BAA2B,CAAA;;wHAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,2BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA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AAa,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
+ {"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 class=\"odx-launch-tile-menu\" *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,CA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AAG,OAAO,CAAC;AAC9C,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
@@ -11,12 +11,12 @@ let LinkDirective = class LinkDirective {
11
11
  this.element = injectElement();
12
12
  }
13
13
  };
14
- LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
15
- LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: LinkDirective, isStandalone: true, selector: "a[odxLink]", hostDirectives: [{ directive: i1.WithDisabledState }, { directive: i1.WithTabIndex }], ngImport: i0 });
14
+ LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
15
+ LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: LinkDirective, isStandalone: true, selector: "a[odxLink]", hostDirectives: [{ directive: i1.WithDisabledState }, { directive: i1.WithTabIndex }], ngImport: i0 });
16
16
  LinkDirective = __decorate([
17
17
  CSSComponent('link')
18
18
  ], LinkDirective);
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LinkDirective, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LinkDirective, decorators: [{
20
20
  type: Directive,
21
21
  args: [{
22
22
  selector: 'a[odxLink]',
@@ -15,8 +15,8 @@ let ListItemComponent = class ListItemComponent {
15
15
  this.selected = false;
16
16
  }
17
17
  };
18
- ListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
19
- ListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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 });
18
+ ListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
19
+ ListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", 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 });
20
20
  __decorate([
21
21
  CSSModifier(),
22
22
  Transform(coerceBooleanProperty),
@@ -30,7 +30,7 @@ __decorate([
30
30
  ListItemComponent = __decorate([
31
31
  CSSComponent('list-item')
32
32
  ], ListItemComponent);
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ListItemComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ListItemComponent, decorators: [{
34
34
  type: Component,
35
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" }]
36
36
  }], propDecorators: { danger: [{
@@ -44,12 +44,12 @@ let ListComponent = class ListComponent {
44
44
  this.element = injectElement();
45
45
  }
46
46
  };
47
- ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
48
- ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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 });
47
+ ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
48
+ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", 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
49
  ListComponent = __decorate([
50
50
  CSSComponent('list')
51
51
  ], ListComponent);
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ListComponent, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ListComponent, decorators: [{
53
53
  type: Component,
54
54
  args: [{ selector: 'odx-list', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[odxListItem]\"></ng-content>\n" }]
55
55
  }] });
@@ -57,10 +57,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
57
57
  const modules = [ListComponent, ListItemComponent, IconComponent];
58
58
  class ListModule {
59
59
  }
60
- ListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
61
- ListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: ListModule, imports: [ListComponent, ListItemComponent, IconComponent], exports: [ListComponent, ListItemComponent, IconComponent] });
62
- ListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ListModule, imports: [modules] });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ListModule, decorators: [{
60
+ ListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
61
+ ListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: ListModule, imports: [ListComponent, ListItemComponent, IconComponent], exports: [ListComponent, ListItemComponent, IconComponent] });
62
+ ListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ListModule, imports: [modules] });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ListModule, decorators: [{
64
64
  type: NgModule,
65
65
  args: [{
66
66
  imports: modules,
@@ -2,7 +2,8 @@ import { __decorate, __metadata } from 'tslib';
2
2
  import { trigger, transition, useAnimation } from '@angular/animations';
3
3
  import * as i0 from '@angular/core';
4
4
  import { inject, Renderer2, Directive, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
5
- import { WindowRef, CoreModule } from '@odx/angular';
5
+ import * as i1 from '@odx/angular';
6
+ import { DisabledController, WindowRef, CoreModule } from '@odx/angular';
6
7
  import { fadeIn, fadeOut } from '@odx/angular/animations';
7
8
  import { CircularProgressComponent } from '@odx/angular/components/circular-progress';
8
9
  import { CSSModifier, CSSComponent } from '@odx/angular/internal';
@@ -13,6 +14,7 @@ import { DynamicViewService } from '@odx/angular/cdk/dynamic-view';
13
14
  const LOADING_SPINNER_PARENT_CLASS = 'odx-loading-spinner-parent';
14
15
  class LoadingSpinnerDirective {
15
16
  constructor() {
17
+ this.disabledController = DisabledController.inject();
16
18
  this.dynamicViewService = inject(DynamicViewService);
17
19
  this.hostElement = injectElement();
18
20
  this.renderer = inject(Renderer2);
@@ -22,6 +24,7 @@ class LoadingSpinnerDirective {
22
24
  this.autoColor = false;
23
25
  }
24
26
  set isLoading(value) {
27
+ this.disabledController?.setDisabledState(!!value);
25
28
  if (value) {
26
29
  this.createSpinner();
27
30
  }
@@ -65,8 +68,8 @@ class LoadingSpinnerDirective {
65
68
  return this.windowRef.nativeWindow.getComputedStyle(this.hostElement.nativeElement).position === 'static';
66
69
  }
67
70
  }
68
- LoadingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoadingSpinnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
69
- LoadingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: LoadingSpinnerDirective, isStandalone: true, selector: "[odxLoadingSpinner]", inputs: { autoColor: ["odxLoadingSpinnerAutoColor", "autoColor"], isLoading: ["odxLoadingSpinner", "isLoading"], minHeight: ["odxLoadingSpinnerMinHeight", "minHeight"] }, ngImport: i0 });
71
+ LoadingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LoadingSpinnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
72
+ LoadingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: LoadingSpinnerDirective, isStandalone: true, selector: "[odxLoadingSpinner]", inputs: { autoColor: ["odxLoadingSpinnerAutoColor", "autoColor"], isLoading: ["odxLoadingSpinner", "isLoading"], minHeight: ["odxLoadingSpinnerMinHeight", "minHeight"] }, hostDirectives: [{ directive: i1.DisabledController }], ngImport: i0 });
70
73
  __decorate([
71
74
  Transform(coerceBooleanProperty),
72
75
  __metadata("design:type", Object)
@@ -76,11 +79,12 @@ __decorate([
76
79
  __metadata("design:type", Object),
77
80
  __metadata("design:paramtypes", [Object])
78
81
  ], LoadingSpinnerDirective.prototype, "minHeight", null);
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoadingSpinnerDirective, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LoadingSpinnerDirective, decorators: [{
80
83
  type: Directive,
81
84
  args: [{
82
- selector: '[odxLoadingSpinner]',
83
85
  standalone: true,
86
+ selector: '[odxLoadingSpinner]',
87
+ hostDirectives: [DisabledController],
84
88
  }]
85
89
  }], propDecorators: { autoColor: [{
86
90
  type: Input,
@@ -121,8 +125,8 @@ let LoadingSpinnerComponent = class LoadingSpinnerComponent {
121
125
  return null;
122
126
  }
123
127
  };
124
- LoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
125
- LoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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 });
128
+ LoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
129
+ LoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", 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
130
  __decorate([
127
131
  CSSModifier(),
128
132
  __metadata("design:type", Object)
@@ -130,7 +134,7 @@ __decorate([
130
134
  LoadingSpinnerComponent = __decorate([
131
135
  CSSComponent('loading-spinner')
132
136
  ], LoadingSpinnerComponent);
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoadingSpinnerComponent, decorators: [{
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LoadingSpinnerComponent, decorators: [{
134
138
  type: Component,
135
139
  args: [{ standalone: true, selector: 'odx-loading-spinner', imports: [CircularProgressComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
136
140
  '[@hostAnimation]': 'true',
@@ -143,10 +147,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
143
147
  const modules = [LoadingSpinnerComponent, LoadingSpinnerDirective];
144
148
  class LoadingSpinnerModule {
145
149
  }
146
- LoadingSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoadingSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
147
- LoadingSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, LoadingSpinnerDirective], exports: [CoreModule, LoadingSpinnerComponent, LoadingSpinnerDirective] });
148
- LoadingSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, CoreModule] });
149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoadingSpinnerModule, decorators: [{
150
+ LoadingSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LoadingSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
151
+ LoadingSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, LoadingSpinnerDirective], exports: [CoreModule, LoadingSpinnerComponent, LoadingSpinnerDirective] });
152
+ LoadingSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, CoreModule] });
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LoadingSpinnerModule, decorators: [{
150
154
  type: NgModule,
151
155
  args: [{
152
156
  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 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":";;;;;;;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E,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;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kHAApB,oBAAoB,EAAA,OAAA,EAAA,CANhB,uBAAuB,EAAE,uBAAuB,aAIrD,UAAU,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;;;;"}
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 { DisabledController, 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 standalone: true,\n selector: '[odxLoadingSpinner]',\n hostDirectives: [DisabledController],\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 disabledController = DisabledController.inject();\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 this.disabledController?.setDisabledState(!!value);\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;MAOrD,uBAAuB,CAAA;AALpC,IAAA,WAAA,GAAA;AAUmB,QAAA,IAAA,CAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC;AACjD,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;AAsD1B,KAAA;IApDC,IACW,SAAS,CAAC,KAAiC,EAAA;QACpD,IAAI,CAAC,kBAAkB,EAAE,gB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BAAuB,aAIrD,UAAU,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;;;;"}
@@ -18,22 +18,24 @@ const LogoVariant = {
18
18
  let LogoDirective = class LogoDirective {
19
19
  constructor() {
20
20
  this.element = injectElement();
21
+ this.size = LogoSize.SMALL;
22
+ this.variant = LogoVariant.DEFAULT;
21
23
  }
22
24
  };
23
- LogoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
24
- LogoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", 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
+ LogoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LogoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
26
+ LogoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", 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
27
  __decorate([
26
- CSSModifier({ default: LogoSize.SMALL }),
28
+ CSSModifier(),
27
29
  __metadata("design:type", String)
28
30
  ], LogoDirective.prototype, "size", void 0);
29
31
  __decorate([
30
- CSSModifier({ default: LogoVariant.DEFAULT }),
32
+ CSSModifier(),
31
33
  __metadata("design:type", String)
32
34
  ], LogoDirective.prototype, "variant", void 0);
33
35
  LogoDirective = __decorate([
34
36
  CSSComponent('logo')
35
37
  ], LogoDirective);
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogoDirective, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: LogoDirective, decorators: [{
37
39
  type: Directive,
38
40
  args: [{
39
41
  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,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO;;;ACHH,MAAA,WAAW,GAAG;AACzB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;;;ACaP,IAAA,aAAa,GAAnB,MAAM,aAAa,CAAA;AAAnB,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAS3C,KAAA;;0GAVY,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,UAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,KAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,sBAAA,EAAA,2BAAA,EAAA,UAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;AAGxB,UAAA,CAAA;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;;AAElB,CAAA,EAAA,aAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAEvB,UAAA,CAAA;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC;;AAEjB,CAAA,EAAA,aAAA,CAAA,SAAA,EAAA,SAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AATlB,aAAa,GAAA,UAAA,CAAA;IAZzB,YAAY,CAAC,MAAM,CAAC;AAYR,CAAA,EAAA,aAAa,CAUzB,CAAA;2FAVY,aAAa,EAAA,UAAA,EAAA,CAAA;kBAXzB,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()\n @Input()\n public size: LogoSize = LogoSize.SMALL;\n\n @CSSModifier()\n @Input()\n public variant: LogoVariant = LogoVariant.DEFAULT;\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;;;ACHH,MAAA,WAAW,GAAG;AACzB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;;;ACaP,IAAA,aAAa,GAAnB,MAAM,aAAa,CAAA;AAAnB,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAInC,QAAA,IAAA,CAAA,IAAI,GAAa,QAAQ,CAAC,KAAK,CAAC;AAIhC,QAAA,IAAA,CAAA,OAAO,GAAgB,WAAW,CAAC,OAAO,CAAC;AACnD,KAAA;;0GAVY,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,UAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,KAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,sBAAA,EAAA,2BAAA,EAAA,UAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CA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