@odx/angular 1.0.0-rc.19 → 1.0.0-rc.20

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 (267) hide show
  1. package/components/form-field/index.d.ts +1 -0
  2. package/components/form-field/lib/form-field.config.d.ts +2 -2
  3. package/components/form-field/lib/form-field.module.d.ts +0 -4
  4. package/components/menu/lib/directives/menu-item.directive.d.ts +1 -1
  5. package/components/menu/lib/menu.component.d.ts +1 -1
  6. package/components/modal/lib/modal.config.d.ts +2 -2
  7. package/components/modal/lib/modal.module.d.ts +0 -4
  8. package/components/modal/lib/modal.service.d.ts +1 -1
  9. package/components/modal/lib/models/modal-size.d.ts +2 -1
  10. package/components/toast/lib/toast.config.d.ts +2 -2
  11. package/components/toast/lib/toast.module.d.ts +0 -4
  12. package/esm2020/cdk/a11y/lib/a11y.module.mjs +4 -4
  13. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +3 -3
  14. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +3 -3
  15. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +3 -3
  16. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +3 -3
  17. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +3 -3
  18. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +3 -3
  19. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +3 -3
  20. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +3 -3
  21. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +3 -3
  22. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +3 -3
  23. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +3 -3
  24. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +3 -3
  25. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +3 -3
  26. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +3 -3
  27. package/esm2020/cdk/expandable/lib/expandable.module.mjs +4 -4
  28. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +3 -3
  29. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +3 -3
  30. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +4 -4
  31. package/esm2020/components/accordion/lib/accordion.component.mjs +3 -3
  32. package/esm2020/components/accordion/lib/accordion.module.mjs +4 -4
  33. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +3 -3
  34. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +3 -3
  35. package/esm2020/components/action-group/action-group.component.mjs +3 -3
  36. package/esm2020/components/area-header/area-header.component.mjs +3 -3
  37. package/esm2020/components/area-header/area-header.module.mjs +4 -4
  38. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +3 -3
  39. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +3 -3
  40. package/esm2020/components/avatar/lib/avatar.component.mjs +3 -3
  41. package/esm2020/components/badge/lib/badge.component.mjs +3 -3
  42. package/esm2020/components/badge/lib/badge.directive.mjs +3 -3
  43. package/esm2020/components/bar/lib/bar.component.mjs +3 -3
  44. package/esm2020/components/bar/lib/bar.module.mjs +4 -4
  45. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +3 -3
  46. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +3 -3
  47. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
  48. package/esm2020/components/button/lib/button.component.mjs +3 -3
  49. package/esm2020/components/button-group/lib/button-group.component.mjs +3 -3
  50. package/esm2020/components/checkbox/lib/checkbox.component.mjs +3 -3
  51. package/esm2020/components/checkbox/lib/checkbox.module.mjs +4 -4
  52. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +3 -3
  53. package/esm2020/components/chip/lib/chip.component.mjs +3 -3
  54. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +3 -3
  55. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  56. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  57. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +3 -3
  58. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +3 -3
  59. package/esm2020/components/dropdown/lib/dropdown.component.mjs +3 -3
  60. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +3 -3
  61. package/esm2020/components/dropdown/lib/dropdown.module.mjs +4 -4
  62. package/esm2020/components/form-field/index.mjs +2 -1
  63. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +3 -3
  64. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +3 -3
  65. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +6 -6
  66. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +3 -3
  67. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +3 -3
  68. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +3 -3
  69. package/esm2020/components/form-field/lib/directives/form.directive.mjs +3 -3
  70. package/esm2020/components/form-field/lib/form-field.component.mjs +3 -3
  71. package/esm2020/components/form-field/lib/form-field.config.mjs +3 -3
  72. package/esm2020/components/form-field/lib/form-field.module.mjs +5 -13
  73. package/esm2020/components/form-field/lib/form-field.service.mjs +3 -3
  74. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +6 -6
  75. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +3 -3
  76. package/esm2020/components/header/lib/directives/header-title.directive.mjs +3 -3
  77. package/esm2020/components/header/lib/header.component.mjs +3 -3
  78. package/esm2020/components/header/lib/header.module.mjs +4 -4
  79. package/esm2020/components/icon/lib/icon.component.mjs +3 -3
  80. package/esm2020/components/inline-message/lib/inline-message.component.mjs +3 -3
  81. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +3 -3
  82. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +3 -3
  83. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +4 -4
  84. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +4 -4
  85. package/esm2020/components/link/link.directive.mjs +3 -3
  86. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +3 -3
  87. package/esm2020/components/list/lib/list.component.mjs +3 -3
  88. package/esm2020/components/list/lib/list.module.mjs +4 -4
  89. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +3 -3
  90. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +3 -3
  91. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +4 -4
  92. package/esm2020/components/logo/logo.directive.mjs +3 -3
  93. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +3 -3
  94. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +3 -3
  95. package/esm2020/components/main-menu/lib/main-menu.component.mjs +3 -3
  96. package/esm2020/components/main-menu/lib/main-menu.module.mjs +4 -4
  97. package/esm2020/components/main-menu/lib/main-menu.service.mjs +3 -3
  98. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +5 -5
  99. package/esm2020/components/menu/lib/menu.component.mjs +5 -5
  100. package/esm2020/components/menu/lib/menu.directive.mjs +3 -3
  101. package/esm2020/components/menu/lib/menu.module.mjs +4 -4
  102. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +3 -3
  103. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +3 -3
  104. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +3 -3
  105. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +3 -3
  106. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +3 -3
  107. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +3 -3
  108. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +3 -3
  109. package/esm2020/components/modal/lib/modal.component.mjs +3 -3
  110. package/esm2020/components/modal/lib/modal.config.mjs +3 -3
  111. package/esm2020/components/modal/lib/modal.directive.mjs +3 -3
  112. package/esm2020/components/modal/lib/modal.module.mjs +5 -13
  113. package/esm2020/components/modal/lib/modal.service.mjs +7 -7
  114. package/esm2020/components/modal/lib/models/modal-size.mjs +2 -1
  115. package/esm2020/components/progress/lib/progress.component.mjs +3 -3
  116. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +3 -3
  117. package/esm2020/components/radio-group/lib/radio-group.component.mjs +3 -3
  118. package/esm2020/components/radio-group/lib/radio-group.module.mjs +4 -4
  119. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +3 -3
  120. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +3 -3
  121. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +4 -4
  122. package/esm2020/components/select/lib/components/option/option.component.mjs +3 -3
  123. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +3 -3
  124. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +3 -3
  125. package/esm2020/components/select/lib/select.component.mjs +3 -3
  126. package/esm2020/components/select/lib/select.module.mjs +4 -4
  127. package/esm2020/components/slider/lib/slider.directive.mjs +3 -3
  128. package/esm2020/components/spinbox/lib/spinbox.component.mjs +3 -3
  129. package/esm2020/components/switch/lib/switch.component.mjs +3 -3
  130. package/esm2020/components/switch/lib/switch.module.mjs +4 -4
  131. package/esm2020/components/switch/lib/switch.validator.mjs +3 -3
  132. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +3 -3
  133. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +3 -3
  134. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +4 -4
  135. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +3 -3
  136. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +3 -3
  137. package/esm2020/components/toast/lib/toast.config.mjs +3 -3
  138. package/esm2020/components/toast/lib/toast.module.mjs +5 -13
  139. package/esm2020/components/toast/lib/toast.service.mjs +6 -6
  140. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +3 -3
  141. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +3 -3
  142. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +4 -4
  143. package/esm2020/components/tooltip/lib/tooltip.component.mjs +3 -3
  144. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +3 -3
  145. package/esm2020/lib/controllers/controller.mjs +3 -3
  146. package/esm2020/lib/controllers/disabled.controller.mjs +3 -3
  147. package/esm2020/lib/controllers/readonly.controller.mjs +3 -3
  148. package/esm2020/lib/core.module.mjs +4 -4
  149. package/esm2020/lib/directives/click-outside.directive.mjs +3 -3
  150. package/esm2020/lib/directives/delegate-focus.directive.mjs +3 -3
  151. package/esm2020/lib/directives/with-disabled-state.directive.mjs +3 -3
  152. package/esm2020/lib/directives/with-tabindex.directive.mjs +3 -3
  153. package/esm2020/lib/services/window-ref.mjs +3 -3
  154. package/esm2020/utils/lib/helpers/event-manager.mjs +3 -3
  155. package/esm2020/utils/lib/helpers/index.mjs +2 -2
  156. package/esm2020/utils/lib/helpers/provide-config.mjs +25 -0
  157. package/fesm2015/odx-angular-cdk-a11y.mjs +13 -13
  158. package/fesm2015/odx-angular-cdk-active-indicator.mjs +3 -3
  159. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +3 -3
  160. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +6 -6
  161. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +6 -6
  162. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +9 -9
  163. package/fesm2015/odx-angular-cdk-expandable.mjs +10 -10
  164. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +10 -10
  165. package/fesm2015/odx-angular-components-accordion.mjs +13 -13
  166. package/fesm2015/odx-angular-components-action-group.mjs +3 -3
  167. package/fesm2015/odx-angular-components-area-header.mjs +13 -13
  168. package/fesm2015/odx-angular-components-avatar.mjs +3 -3
  169. package/fesm2015/odx-angular-components-badge.mjs +6 -6
  170. package/fesm2015/odx-angular-components-bar.mjs +13 -13
  171. package/fesm2015/odx-angular-components-breadcrumbs.mjs +3 -3
  172. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  173. package/fesm2015/odx-angular-components-button.mjs +3 -3
  174. package/fesm2015/odx-angular-components-checkbox.mjs +10 -10
  175. package/fesm2015/odx-angular-components-chip.mjs +3 -3
  176. package/fesm2015/odx-angular-components-circular-progress.mjs +3 -3
  177. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  178. package/fesm2015/odx-angular-components-dropdown.mjs +10 -10
  179. package/fesm2015/odx-angular-components-form-field.mjs +39 -45
  180. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  181. package/fesm2015/odx-angular-components-header.mjs +13 -13
  182. package/fesm2015/odx-angular-components-icon.mjs +3 -3
  183. package/fesm2015/odx-angular-components-inline-message.mjs +3 -3
  184. package/fesm2015/odx-angular-components-launch-tile.mjs +13 -13
  185. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -1
  186. package/fesm2015/odx-angular-components-link.mjs +3 -3
  187. package/fesm2015/odx-angular-components-list.mjs +10 -10
  188. package/fesm2015/odx-angular-components-loading-spinner.mjs +10 -10
  189. package/fesm2015/odx-angular-components-logo.mjs +3 -3
  190. package/fesm2015/odx-angular-components-main-menu.mjs +16 -16
  191. package/fesm2015/odx-angular-components-menu.mjs +15 -15
  192. package/fesm2015/odx-angular-components-menu.mjs.map +1 -1
  193. package/fesm2015/odx-angular-components-modal.mjs +40 -45
  194. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  195. package/fesm2015/odx-angular-components-progress.mjs +3 -3
  196. package/fesm2015/odx-angular-components-radio-group.mjs +10 -10
  197. package/fesm2015/odx-angular-components-rail-navigation.mjs +10 -10
  198. package/fesm2015/odx-angular-components-select.mjs +16 -16
  199. package/fesm2015/odx-angular-components-slider.mjs +3 -3
  200. package/fesm2015/odx-angular-components-spinbox.mjs +3 -3
  201. package/fesm2015/odx-angular-components-switch.mjs +10 -10
  202. package/fesm2015/odx-angular-components-tab-bar.mjs +10 -10
  203. package/fesm2015/odx-angular-components-toast.mjs +17 -23
  204. package/fesm2015/odx-angular-components-toast.mjs.map +1 -1
  205. package/fesm2015/odx-angular-components-toggle-button-group.mjs +10 -10
  206. package/fesm2015/odx-angular-components-tooltip.mjs +6 -6
  207. package/fesm2015/odx-angular-utils.mjs +17 -13
  208. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  209. package/fesm2015/odx-angular.mjs +28 -28
  210. package/fesm2020/odx-angular-cdk-a11y.mjs +13 -13
  211. package/fesm2020/odx-angular-cdk-active-indicator.mjs +3 -3
  212. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +3 -3
  213. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +6 -6
  214. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +6 -6
  215. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +9 -9
  216. package/fesm2020/odx-angular-cdk-expandable.mjs +10 -10
  217. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +10 -10
  218. package/fesm2020/odx-angular-components-accordion.mjs +13 -13
  219. package/fesm2020/odx-angular-components-action-group.mjs +3 -3
  220. package/fesm2020/odx-angular-components-area-header.mjs +13 -13
  221. package/fesm2020/odx-angular-components-avatar.mjs +3 -3
  222. package/fesm2020/odx-angular-components-badge.mjs +6 -6
  223. package/fesm2020/odx-angular-components-bar.mjs +13 -13
  224. package/fesm2020/odx-angular-components-breadcrumbs.mjs +3 -3
  225. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  226. package/fesm2020/odx-angular-components-button.mjs +3 -3
  227. package/fesm2020/odx-angular-components-checkbox.mjs +10 -10
  228. package/fesm2020/odx-angular-components-chip.mjs +3 -3
  229. package/fesm2020/odx-angular-components-circular-progress.mjs +3 -3
  230. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  231. package/fesm2020/odx-angular-components-dropdown.mjs +10 -10
  232. package/fesm2020/odx-angular-components-form-field.mjs +39 -45
  233. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  234. package/fesm2020/odx-angular-components-header.mjs +13 -13
  235. package/fesm2020/odx-angular-components-icon.mjs +3 -3
  236. package/fesm2020/odx-angular-components-inline-message.mjs +3 -3
  237. package/fesm2020/odx-angular-components-launch-tile.mjs +13 -13
  238. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -1
  239. package/fesm2020/odx-angular-components-link.mjs +3 -3
  240. package/fesm2020/odx-angular-components-list.mjs +10 -10
  241. package/fesm2020/odx-angular-components-loading-spinner.mjs +10 -10
  242. package/fesm2020/odx-angular-components-logo.mjs +3 -3
  243. package/fesm2020/odx-angular-components-main-menu.mjs +16 -16
  244. package/fesm2020/odx-angular-components-menu.mjs +15 -15
  245. package/fesm2020/odx-angular-components-menu.mjs.map +1 -1
  246. package/fesm2020/odx-angular-components-modal.mjs +40 -45
  247. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  248. package/fesm2020/odx-angular-components-progress.mjs +3 -3
  249. package/fesm2020/odx-angular-components-radio-group.mjs +10 -10
  250. package/fesm2020/odx-angular-components-rail-navigation.mjs +10 -10
  251. package/fesm2020/odx-angular-components-select.mjs +16 -16
  252. package/fesm2020/odx-angular-components-slider.mjs +3 -3
  253. package/fesm2020/odx-angular-components-spinbox.mjs +3 -3
  254. package/fesm2020/odx-angular-components-switch.mjs +10 -10
  255. package/fesm2020/odx-angular-components-tab-bar.mjs +10 -10
  256. package/fesm2020/odx-angular-components-toast.mjs +17 -23
  257. package/fesm2020/odx-angular-components-toast.mjs.map +1 -1
  258. package/fesm2020/odx-angular-components-toggle-button-group.mjs +10 -10
  259. package/fesm2020/odx-angular-components-tooltip.mjs +6 -6
  260. package/fesm2020/odx-angular-utils.mjs +17 -13
  261. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  262. package/fesm2020/odx-angular.mjs +28 -28
  263. package/package.json +3 -3
  264. package/utils/lib/helpers/index.d.ts +1 -1
  265. package/utils/lib/helpers/provide-config.d.ts +12 -0
  266. package/esm2020/utils/lib/helpers/provide-module-config.mjs +0 -21
  267. package/utils/lib/helpers/provide-module-config.d.ts +0 -12
@@ -71,8 +71,8 @@ class LoadingSpinnerDirective {
71
71
  return this.windowRef.nativeWindow.getComputedStyle(this.hostElement.nativeElement).position === 'static';
72
72
  }
73
73
  }
74
- LoadingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingSpinnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
75
- LoadingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: LoadingSpinnerDirective, isStandalone: true, selector: "[odxLoadingSpinner]", inputs: { autoColor: ["odxLoadingSpinnerAutoColor", "autoColor"], isLoading: ["odxLoadingSpinner", "isLoading"], minHeight: ["odxLoadingSpinnerMinHeight", "minHeight"] }, providers: [DisabledController.connect()], ngImport: i0 });
74
+ LoadingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoadingSpinnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
75
+ LoadingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: LoadingSpinnerDirective, isStandalone: true, selector: "[odxLoadingSpinner]", inputs: { autoColor: ["odxLoadingSpinnerAutoColor", "autoColor"], isLoading: ["odxLoadingSpinner", "isLoading"], minHeight: ["odxLoadingSpinnerMinHeight", "minHeight"] }, providers: [DisabledController.connect()], ngImport: i0 });
76
76
  __decorate([
77
77
  Transform(coerceBooleanProperty),
78
78
  __metadata("design:type", Object)
@@ -82,7 +82,7 @@ __decorate([
82
82
  __metadata("design:type", Object),
83
83
  __metadata("design:paramtypes", [Object])
84
84
  ], LoadingSpinnerDirective.prototype, "minHeight", null);
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingSpinnerDirective, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoadingSpinnerDirective, decorators: [{
86
86
  type: Directive,
87
87
  args: [{
88
88
  standalone: true,
@@ -128,8 +128,8 @@ let LoadingSpinnerComponent = class LoadingSpinnerComponent {
128
128
  return null;
129
129
  }
130
130
  };
131
- LoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
132
- LoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", 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 });
131
+ LoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
132
+ LoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: LoadingSpinnerComponent, isStandalone: true, selector: "odx-loading-spinner", inputs: { autoColor: "autoColor" }, host: { listeners: { "@hostAnimation.done": "animationFinished($event)" }, properties: { "@hostAnimation": "true" } }, ngImport: i0, template: "<odx-circular-progress size=\"auto\" value=\"-1\"></odx-circular-progress>\n<div class=\"odx-loading-spinner__backdrop\" [style.backgroundColor]=\"backgroundColor\"></div>\n", dependencies: [{ kind: "component", type: CircularProgressComponent, selector: "odx-circular-progress", inputs: ["stroke", "size", "value"] }], animations: [trigger('hostAnimation', [transition(':enter', useAnimation(fadeIn())), transition(':leave', useAnimation(fadeOut()))])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
133
133
  __decorate([
134
134
  CSSModifier(),
135
135
  __metadata("design:type", Object)
@@ -137,7 +137,7 @@ __decorate([
137
137
  LoadingSpinnerComponent = __decorate([
138
138
  CSSComponent('loading-spinner')
139
139
  ], LoadingSpinnerComponent);
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingSpinnerComponent, decorators: [{
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoadingSpinnerComponent, decorators: [{
141
141
  type: Component,
142
142
  args: [{ standalone: true, selector: 'odx-loading-spinner', imports: [CircularProgressComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
143
143
  '[@hostAnimation]': 'true',
@@ -150,10 +150,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
150
150
  const modules = [LoadingSpinnerComponent, LoadingSpinnerDirective];
151
151
  class LoadingSpinnerModule {
152
152
  }
153
- LoadingSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
154
- LoadingSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, LoadingSpinnerDirective], exports: [CoreModule, LoadingSpinnerComponent, LoadingSpinnerDirective] });
155
- LoadingSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, CoreModule] });
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingSpinnerModule, decorators: [{
153
+ LoadingSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoadingSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
154
+ LoadingSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, LoadingSpinnerDirective], exports: [CoreModule, LoadingSpinnerComponent, LoadingSpinnerDirective] });
155
+ LoadingSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoadingSpinnerModule, imports: [LoadingSpinnerComponent, CoreModule] });
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoadingSpinnerModule, decorators: [{
157
157
  type: NgModule,
158
158
  args: [{
159
159
  imports: modules,
@@ -22,8 +22,8 @@ let LogoDirective = class LogoDirective {
22
22
  this.variant = LogoVariant.DEFAULT;
23
23
  }
24
24
  };
25
- LogoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LogoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
26
- LogoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", 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.4", ngImport: i0, type: LogoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
26
+ LogoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: LogoDirective, isStandalone: true, selector: "odx-logo", inputs: { size: "size", variant: "variant" }, host: { attributes: { "translate": "no", "role": "img" }, properties: { "class.notranslate": "true", "attr.aria-label": "\"Dr\u00E4ger logo\"", "attr.aria-roledescription": "\"logo\"" } }, ngImport: i0 });
27
27
  __decorate([
28
28
  CSSModifier(),
29
29
  __metadata("design:type", String)
@@ -35,7 +35,7 @@ __decorate([
35
35
  LogoDirective = __decorate([
36
36
  CSSComponent('logo')
37
37
  ], LogoDirective);
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LogoDirective, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogoDirective, decorators: [{
39
39
  type: Directive,
40
40
  args: [{
41
41
  selector: 'odx-logo',
@@ -48,9 +48,9 @@ class MainMenuService {
48
48
  }
49
49
  }
50
50
  }
51
- MainMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
52
- MainMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuService, providedIn: 'root' });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuService, decorators: [{
51
+ MainMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
52
+ MainMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuService, providedIn: 'root' });
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuService, decorators: [{
54
54
  type: Injectable,
55
55
  args: [{ providedIn: 'root' }]
56
56
  }] });
@@ -64,12 +64,12 @@ let MainMenuButtonDirective = class MainMenuButtonDirective {
64
64
  this.mainMenuService.toggle();
65
65
  }
66
66
  };
67
- MainMenuButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
68
- MainMenuButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: MainMenuButtonDirective, isStandalone: true, selector: "button[odxMainMenuButton]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
67
+ MainMenuButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
68
+ MainMenuButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: MainMenuButtonDirective, isStandalone: true, selector: "button[odxMainMenuButton]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
69
69
  MainMenuButtonDirective = __decorate([
70
70
  CSSComponent('main-menu-button')
71
71
  ], MainMenuButtonDirective);
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuButtonDirective, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuButtonDirective, decorators: [{
73
73
  type: Directive,
74
74
  args: [{
75
75
  selector: 'button[odxMainMenuButton]',
@@ -98,15 +98,15 @@ let MainMenuComponent = class MainMenuComponent {
98
98
  this.mainMenuService.close();
99
99
  }
100
100
  };
101
- MainMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
102
- MainMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: MainMenuComponent, isStandalone: true, selector: "odx-main-menu", inputs: { title: "title", subtitle: "subtitle", copyright: "copyright", isOpen: "isOpen" }, outputs: { menuOpen: "menuOpen" }, host: { listeners: { "window:keyup.esc": "close()" }, properties: { "class.is-open": "isOpen" } }, ngImport: i0, template: "<aside @menuAnimation class=\"odx-main-menu__inner\" cdkTrapFocus cdkTrapFocusAutoCapture *ngIf=\"menuOpen | async\">\n <div class=\"odx-main-menu__actions\">\n <button class=\"odx-main-menu__close\" odxButton disabled=\"false\" (click)=\"close()\">\n <odx-icon name=\"close\"></odx-icon>\n </button>\n </div>\n <odx-area-header class=\"odx-main-menu__header\" size=\"large\">\n {{ title }}\n <odx-area-header-subtitle *ngIf=\"subtitle\">\n {{ subtitle }}\n </odx-area-header-subtitle>\n </odx-area-header>\n <nav class=\"odx-main-menu__content\">\n <ng-content></ng-content>\n </nav>\n <div class=\"odx-main-menu__info\">\n <ng-content select=\"[odxLink]\"></ng-content>\n </div>\n <div class=\"odx-main-menu__footer\">\n <odx-logo variant=\"inverse\"></odx-logo>\n <p class=\"odx-text odx-text--small\" *ngIf=\"copyright\">\n {{ copyright }}\n </p>\n </div>\n</aside>\n<div @overlayAnimation class=\"odx-main-menu__overlay\" (click)=\"close()\" *ngIf=\"menuOpen | async\"></div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "directive", type: i1$1.DisabledController, selector: "[disabled]", inputs: ["disabled"] }, { kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "ngmodule", type: CoreModule }, { kind: "ngmodule", type: AreaHeaderModule }, { kind: "component", type: i4.AreaHeaderComponent, selector: "odx-area-header", inputs: ["size"] }, { kind: "directive", type: i4.AreaHeaderSubtitleDirective, selector: "odx-area-header-subtitle" }, { kind: "component", type: i5.ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: i6.IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], animations: [
101
+ MainMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
102
+ MainMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: MainMenuComponent, isStandalone: true, selector: "odx-main-menu", inputs: { title: "title", subtitle: "subtitle", copyright: "copyright", isOpen: "isOpen" }, outputs: { menuOpen: "menuOpen" }, host: { listeners: { "window:keyup.esc": "close()" }, properties: { "class.is-open": "isOpen" } }, ngImport: i0, template: "<aside @menuAnimation class=\"odx-main-menu__inner\" cdkTrapFocus cdkTrapFocusAutoCapture *ngIf=\"menuOpen | async\">\n <div class=\"odx-main-menu__actions\">\n <button class=\"odx-main-menu__close\" odxButton disabled=\"false\" (click)=\"close()\">\n <odx-icon name=\"close\"></odx-icon>\n </button>\n </div>\n <odx-area-header class=\"odx-main-menu__header\" size=\"large\">\n {{ title }}\n <odx-area-header-subtitle *ngIf=\"subtitle\">\n {{ subtitle }}\n </odx-area-header-subtitle>\n </odx-area-header>\n <nav class=\"odx-main-menu__content\">\n <ng-content></ng-content>\n </nav>\n <div class=\"odx-main-menu__info\">\n <ng-content select=\"[odxLink]\"></ng-content>\n </div>\n <div class=\"odx-main-menu__footer\">\n <odx-logo variant=\"inverse\"></odx-logo>\n <p class=\"odx-text odx-text--small\" *ngIf=\"copyright\">\n {{ copyright }}\n </p>\n </div>\n</aside>\n<div @overlayAnimation class=\"odx-main-menu__overlay\" (click)=\"close()\" *ngIf=\"menuOpen | async\"></div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "directive", type: i1$1.DisabledController, selector: "[disabled]", inputs: ["disabled"] }, { kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "ngmodule", type: CoreModule }, { kind: "ngmodule", type: AreaHeaderModule }, { kind: "component", type: i4.AreaHeaderComponent, selector: "odx-area-header", inputs: ["size"] }, { kind: "directive", type: i4.AreaHeaderSubtitleDirective, selector: "odx-area-header-subtitle" }, { kind: "component", type: i5.ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: i6.IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], animations: [
103
103
  trigger('menuAnimation', [transition(':enter', [useAnimation(slideInLeft)]), transition(':leave', [useAnimation(slideOutLeft)])]),
104
104
  trigger('overlayAnimation', [transition(':enter', [useAnimation(fadeIn())]), transition(':leave', [useAnimation(fadeOut())])]),
105
105
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
106
106
  MainMenuComponent = __decorate([
107
107
  CSSComponent('main-menu')
108
108
  ], MainMenuComponent);
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuComponent, decorators: [{
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuComponent, decorators: [{
110
110
  type: Component,
111
111
  args: [{ selector: 'odx-main-menu', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [A11yModule, CoreModule, AreaHeaderModule, ButtonComponent, IconComponent, LogoDirective], standalone: true, host: {
112
112
  '[class.is-open]': 'isOpen',
@@ -140,8 +140,8 @@ let MainMenuItemDirective = class MainMenuItemDirective {
140
140
  this.mainMenu?.close();
141
141
  }
142
142
  };
143
- MainMenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
144
- MainMenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: MainMenuItemDirective, isStandalone: true, selector: "[odxMainMenuItem]", inputs: { isSelected: "isSelected" }, host: { listeners: { "click": "onClick()" }, properties: { "class.is-selected": "isSelected || routerLinkActive?.isActive", "attr.role": "\"button\"" } }, hostDirectives: [{ directive: i1$1.WithDisabledState }, { directive: i1$1.WithTabIndex }], ngImport: i0 });
143
+ MainMenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
144
+ MainMenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: MainMenuItemDirective, isStandalone: true, selector: "[odxMainMenuItem]", inputs: { isSelected: "isSelected" }, host: { listeners: { "click": "onClick()" }, properties: { "class.is-selected": "isSelected || routerLinkActive?.isActive", "attr.role": "\"button\"" } }, hostDirectives: [{ directive: i1$1.WithDisabledState }, { directive: i1$1.WithTabIndex }], ngImport: i0 });
145
145
  __decorate([
146
146
  Transform(coerceBooleanProperty),
147
147
  __metadata("design:type", Object)
@@ -149,7 +149,7 @@ __decorate([
149
149
  MainMenuItemDirective = __decorate([
150
150
  CSSComponent('main-menu-item')
151
151
  ], MainMenuItemDirective);
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuItemDirective, decorators: [{
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuItemDirective, decorators: [{
153
153
  type: Directive,
154
154
  args: [{
155
155
  selector: '[odxMainMenuItem]',
@@ -170,10 +170,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
170
170
  const modules = [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective];
171
171
  class MainMenuModule {
172
172
  }
173
- MainMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
174
- MainMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: MainMenuModule, imports: [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective], exports: [CoreModule, LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective] });
175
- MainMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuModule, imports: [MainMenuComponent, CoreModule] });
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MainMenuModule, decorators: [{
173
+ MainMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
174
+ MainMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: MainMenuModule, imports: [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective], exports: [CoreModule, LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective] });
175
+ MainMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuModule, imports: [MainMenuComponent, CoreModule] });
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MainMenuModule, decorators: [{
177
177
  type: NgModule,
178
178
  args: [{
179
179
  imports: modules,
@@ -21,15 +21,15 @@ let MenuItemDirective = class MenuItemDirective {
21
21
  deferFn(() => closeCurrentDropdown(this.element.nativeElement));
22
22
  }
23
23
  };
24
- MenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
- MenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: MenuItemDirective, isStandalone: true, selector: "a[odxMenuItem], button[odxMenuItem]", host: { attributes: { "role": "menuitem" }, listeners: { "click": "selectItem()" } }, hostDirectives: [{ directive: i1.ListFocusManagerOptionDirective }], ngImport: i0 });
24
+ MenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ MenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: MenuItemDirective, isStandalone: true, selector: "odx-menu a[odxButton], odx-menu button[odxButton]", host: { attributes: { "role": "menuitem" }, listeners: { "click": "selectItem()" } }, hostDirectives: [{ directive: i1.ListFocusManagerOptionDirective }], ngImport: i0 });
26
26
  MenuItemDirective = __decorate([
27
27
  CSSComponent('menu-item')
28
28
  ], MenuItemDirective);
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MenuItemDirective, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MenuItemDirective, decorators: [{
30
30
  type: Directive,
31
31
  args: [{
32
- selector: 'a[odxMenuItem], button[odxMenuItem]',
32
+ selector: 'odx-menu a[odxButton], odx-menu button[odxButton]',
33
33
  standalone: true,
34
34
  hostDirectives: [ListFocusManagerOptionDirective],
35
35
  host: {
@@ -52,8 +52,8 @@ let MenuComponent = class MenuComponent {
52
52
  closeCurrentDropdown(this.element.nativeElement);
53
53
  }
54
54
  };
55
- MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
- MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: MenuComponent, isStandalone: true, selector: "odx-menu", inputs: { tile: "tile" }, host: { attributes: { "role": "menu" }, listeners: { "keydown.tab": "onTab($event)" } }, hostDirectives: [{ directive: i1.ListFocusManagerDirective }], ngImport: i0, template: "<div class=\"odx-menu__title\" *ngIf=\"tile\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxMenuItem]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n", dependencies: [{ kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
55
+ MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: MenuComponent, isStandalone: true, selector: "odx-menu", inputs: { tile: "tile" }, host: { attributes: { "role": "menu" }, listeners: { "keydown.tab": "onTab($event)" } }, hostDirectives: [{ directive: i1.ListFocusManagerDirective }], ngImport: i0, template: "<div class=\"odx-menu__title\" *ngIf=\"tile\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n", dependencies: [{ kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
57
57
  __decorate([
58
58
  CSSModifier(),
59
59
  Transform(coerceBooleanProperty),
@@ -62,11 +62,11 @@ __decorate([
62
62
  MenuComponent = __decorate([
63
63
  CSSComponent('menu')
64
64
  ], MenuComponent);
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MenuComponent, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MenuComponent, decorators: [{
66
66
  type: Component,
67
67
  args: [{ selector: 'odx-menu', standalone: true, imports: [ActionGroupComponent, CommonModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [ListFocusManagerDirective], host: {
68
68
  role: 'menu',
69
- }, template: "<div class=\"odx-menu__title\" *ngIf=\"tile\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxMenuItem]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n" }]
69
+ }, template: "<div class=\"odx-menu__title\" *ngIf=\"tile\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n" }]
70
70
  }], propDecorators: { tile: [{
71
71
  type: Input
72
72
  }], onTab: [{
@@ -95,12 +95,12 @@ let MenuDirective = class MenuDirective {
95
95
  return this.dropdown.isOpen;
96
96
  }
97
97
  };
98
- MenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
99
- MenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: MenuDirective, isStandalone: true, selector: "[odxMenu]", inputs: { content: ["odxMenu", "content"], position: ["odxMenuPosition", "position"] }, usesOnChanges: true, hostDirectives: [{ directive: i1$1.DropdownDirective, inputs: ["odxDropdown", "odxMenu"] }], ngImport: i0 });
98
+ MenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
99
+ MenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: MenuDirective, isStandalone: true, selector: "[odxMenu]", inputs: { content: ["odxMenu", "content"], position: ["odxMenuPosition", "position"] }, usesOnChanges: true, hostDirectives: [{ directive: i1$1.DropdownDirective, inputs: ["odxDropdown", "odxMenu"] }], ngImport: i0 });
100
100
  MenuDirective = __decorate([
101
101
  CSSComponent('menu-host')
102
102
  ], MenuDirective);
103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MenuDirective, decorators: [{
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MenuDirective, decorators: [{
104
104
  type: Directive,
105
105
  args: [{
106
106
  selector: '[odxMenu]',
@@ -123,10 +123,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
123
123
  const modules = [MenuComponent, MenuDirective, MenuItemDirective];
124
124
  class MenuModule {
125
125
  }
126
- MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
127
- MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: MenuModule, imports: [MenuComponent, MenuDirective, MenuItemDirective], exports: [CoreModule, MenuComponent, MenuDirective, MenuItemDirective] });
128
- MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MenuModule, imports: [MenuComponent, CoreModule] });
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MenuModule, decorators: [{
126
+ MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
127
+ MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: MenuModule, imports: [MenuComponent, MenuDirective, MenuItemDirective], exports: [CoreModule, MenuComponent, MenuDirective, MenuItemDirective] });
128
+ MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MenuModule, imports: [MenuComponent, CoreModule] });
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MenuModule, decorators: [{
130
130
  type: NgModule,
131
131
  args: [{
132
132
  imports: [modules],
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-menu.mjs","sources":["../../../../libs/angular/components/menu/src/lib/directives/menu-item.directive.ts","../../../../libs/angular/components/menu/src/lib/menu.component.ts","../../../../libs/angular/components/menu/src/lib/menu.component.html","../../../../libs/angular/components/menu/src/lib/menu.directive.ts","../../../../libs/angular/components/menu/src/lib/menu.module.ts","../../../../libs/angular/components/menu/src/odx-angular-components-menu.ts"],"sourcesContent":["import { Directive, HostListener } from '@angular/core';\nimport { ListFocusManagerOptionDirective } from '@odx/angular/cdk/a11y';\nimport { closeCurrentDropdown } from '@odx/angular/components/dropdown';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { deferFn, injectElement } from '@odx/angular/utils';\n\n@CSSComponent('menu-item')\n@Directive({\n selector: 'a[odxMenuItem], button[odxMenuItem]',\n standalone: true,\n hostDirectives: [ListFocusManagerOptionDirective],\n host: {\n role: 'menuitem',\n },\n})\nexport class MenuItemDirective {\n public readonly element = injectElement<HTMLButtonElement | HTMLLinkElement>();\n\n @HostListener('click')\n protected selectItem(): void {\n deferFn(() => closeCurrentDropdown(this.element.nativeElement));\n }\n}\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, HostListener, Input, ViewEncapsulation } from '@angular/core';\nimport { ListFocusManagerDirective } from '@odx/angular/cdk/a11y';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { closeCurrentDropdown } from '@odx/angular/components/dropdown';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\n\n@CSSComponent('menu')\n@Component({\n selector: 'odx-menu',\n standalone: true,\n imports: [ActionGroupComponent, CommonModule],\n templateUrl: './menu.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [ListFocusManagerDirective],\n host: {\n role: 'menu',\n },\n})\nexport class MenuComponent {\n public static ngAcceptInputType_tile: BooleanInput;\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public tile = false;\n\n @HostListener('keydown.tab', ['$event'])\n public onTab(event: KeyboardEvent) {\n event.preventDefault();\n event.stopPropagation();\n closeCurrentDropdown(this.element.nativeElement);\n }\n}\n","<div class=\"odx-menu__title\" *ngIf=\"tile\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxMenuItem]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n","import { Directive, inject, Input, OnChanges } from '@angular/core';\nimport { DynamicContent, DynamicTextContent } from '@odx/angular/cdk/dynamic-view';\nimport { DropdownDirective, DropdownOptions } from '@odx/angular/components/dropdown';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { hasChanged, injectElement, NgChanges, Position } from '@odx/angular/utils';\n\nconst DEFAULT_MENU_DROPDOWN_OPTIONS: Partial<DropdownOptions> = {\n containerClass: 'odx-menu-overlay',\n enableFallback: true,\n};\n\n@CSSComponent('menu-host')\n@Directive({\n selector: '[odxMenu]',\n standalone: true,\n hostDirectives: [\n {\n directive: DropdownDirective,\n inputs: ['odxDropdown:odxMenu'],\n },\n ],\n})\nexport class MenuDirective implements OnChanges {\n protected readonly dropdown = inject(DropdownDirective, { host: true });\n\n public readonly element = injectElement();\n\n @Input('odxMenu')\n public content?: Exclude<DynamicContent, DynamicTextContent> | null;\n\n @Input('odxMenuPosition')\n public position?: Position | null;\n\n public ngOnChanges(changes: NgChanges<MenuDirective>): void {\n if (hasChanged(changes, 'position', false)) {\n this.dropdown.options = {\n ...DEFAULT_MENU_DROPDOWN_OPTIONS,\n position: this.position ?? undefined,\n };\n }\n }\n\n public isOpen(): boolean {\n return this.dropdown.isOpen;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { MenuItemDirective } from './directives';\nimport { MenuComponent } from './menu.component';\nimport { MenuDirective } from './menu.directive';\n\nconst modules = [MenuComponent, MenuDirective, MenuItemDirective];\n\n@NgModule({\n imports: [modules],\n exports: [CoreModule, ...modules],\n})\nexport class MenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;AAea,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAuC,CAAC;AAMhF,KAAA;IAHW,UAAU,GAAA;AAClB,QAAA,OAAO,CAAC,MAAM,oBAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;KACjE;;8GANU,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qCAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,MAAA,EAAA,UAAA,EAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,cAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,+BAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;AAAjB,iBAAiB,GAAA,UAAA,CAAA;IAT7B,YAAY,CAAC,WAAW,CAAC;AASb,CAAA,EAAA,iBAAiB,CAO7B,CAAA;2FAPY,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAR7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,qCAAqC;AAC/C,oBAAA,UAAU,EAAE,IAAI;oBAChB,cAAc,EAAE,CAAC,+BAA+B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,yBAAA;AACF,qBAAA;AACF,iBAAA,CAAA;8BAOQ,OAAO,EAAA,CAAA;sBADb,KAAK;uBAAC,SAAS,CAAA;gBAIT,QAAQ,EAAA,CAAA;sBADd,KAAK;uBAAC,iBAAiB,CAAA;;;ACxB1B,MAAM,OAAO,GAAG,CAAC,aAAa,EAAE,aAAa,EAAE,iBAAiB,CAAC,CAAC;MAMrD,UAAU,CAAA;;uGAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAV,UAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,EANN,OAAA,EAAA,CAAA,aAAa,EAAE,aAAa,EAAE,iBAAiB,CAIpD,EAAA,OAAA,EAAA,CAAA,UAAU,EAJL,aAAa,EAAE,aAAa,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;wGAMnD,UAAU,EAAA,OAAA,EAAA,CANN,aAAa,EAIlB,UAAU,CAAA,EAAA,CAAA,CAAA;2FAET,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,OAAO,CAAC;AAClB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-menu.mjs","sources":["../../../../libs/angular/components/menu/src/lib/directives/menu-item.directive.ts","../../../../libs/angular/components/menu/src/lib/menu.component.ts","../../../../libs/angular/components/menu/src/lib/menu.component.html","../../../../libs/angular/components/menu/src/lib/menu.directive.ts","../../../../libs/angular/components/menu/src/lib/menu.module.ts","../../../../libs/angular/components/menu/src/odx-angular-components-menu.ts"],"sourcesContent":["import { Directive, HostListener } from '@angular/core';\nimport { ListFocusManagerOptionDirective } from '@odx/angular/cdk/a11y';\nimport { closeCurrentDropdown } from '@odx/angular/components/dropdown';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { deferFn, injectElement } from '@odx/angular/utils';\n\n@CSSComponent('menu-item')\n@Directive({\n selector: 'odx-menu a[odxButton], odx-menu button[odxButton]',\n standalone: true,\n hostDirectives: [ListFocusManagerOptionDirective],\n host: {\n role: 'menuitem',\n },\n})\nexport class MenuItemDirective {\n public readonly element = injectElement<HTMLButtonElement | HTMLLinkElement>();\n\n @HostListener('click')\n protected selectItem(): void {\n deferFn(() => closeCurrentDropdown(this.element.nativeElement));\n }\n}\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, HostListener, Input, ViewEncapsulation } from '@angular/core';\nimport { ListFocusManagerDirective } from '@odx/angular/cdk/a11y';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { closeCurrentDropdown } from '@odx/angular/components/dropdown';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\n\n@CSSComponent('menu')\n@Component({\n selector: 'odx-menu',\n standalone: true,\n imports: [ActionGroupComponent, CommonModule],\n templateUrl: './menu.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [ListFocusManagerDirective],\n host: {\n role: 'menu',\n },\n})\nexport class MenuComponent {\n public static ngAcceptInputType_tile: BooleanInput;\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public tile = false;\n\n @HostListener('keydown.tab', ['$event'])\n public onTab(event: KeyboardEvent) {\n event.preventDefault();\n event.stopPropagation();\n closeCurrentDropdown(this.element.nativeElement);\n }\n}\n","<div class=\"odx-menu__title\" *ngIf=\"tile\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n","import { Directive, inject, Input, OnChanges } from '@angular/core';\nimport { DynamicContent, DynamicTextContent } from '@odx/angular/cdk/dynamic-view';\nimport { DropdownDirective, DropdownOptions } from '@odx/angular/components/dropdown';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { hasChanged, injectElement, NgChanges, Position } from '@odx/angular/utils';\n\nconst DEFAULT_MENU_DROPDOWN_OPTIONS: Partial<DropdownOptions> = {\n containerClass: 'odx-menu-overlay',\n enableFallback: true,\n};\n\n@CSSComponent('menu-host')\n@Directive({\n selector: '[odxMenu]',\n standalone: true,\n hostDirectives: [\n {\n directive: DropdownDirective,\n inputs: ['odxDropdown:odxMenu'],\n },\n ],\n})\nexport class MenuDirective implements OnChanges {\n protected readonly dropdown = inject(DropdownDirective, { host: true });\n\n public readonly element = injectElement();\n\n @Input('odxMenu')\n public content?: Exclude<DynamicContent, DynamicTextContent> | null;\n\n @Input('odxMenuPosition')\n public position?: Position | null;\n\n public ngOnChanges(changes: NgChanges<MenuDirective>): void {\n if (hasChanged(changes, 'position', false)) {\n this.dropdown.options = {\n ...DEFAULT_MENU_DROPDOWN_OPTIONS,\n position: this.position ?? undefined,\n };\n }\n }\n\n public isOpen(): boolean {\n return this.dropdown.isOpen;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { MenuItemDirective } from './directives';\nimport { MenuComponent } from './menu.component';\nimport { MenuDirective } from './menu.directive';\n\nconst modules = [MenuComponent, MenuDirective, MenuItemDirective];\n\n@NgModule({\n imports: [modules],\n exports: [CoreModule, ...modules],\n})\nexport class MenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;AAea,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;QACW,IAAO,C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CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,EANN,OAAA,EAAA,CAAA,aAAa,EAAE,aAAa,EAAE,iBAAiB,CAIpD,EAAA,OAAA,EAAA,CAAA,UAAU,EAJL,aAAa,EAAE,aAAa,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;wGAMnD,UAAU,EAAA,OAAA,EAAA,CANN,aAAa,EAIlB,UAAU,CAAA,EAAA,CAAA,CAAA;2FAET,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,OAAO,CAAC;AAClB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
@@ -5,7 +5,7 @@ import { Controller, detectControllerChanges, CoreModule } from '@odx/angular';
5
5
  import { DynamicViewDirective, DynamicViewService } from '@odx/angular/cdk/dynamic-view';
6
6
  import { AreaHeaderSize, AreaHeaderComponent, AreaHeaderModule } from '@odx/angular/components/area-header';
7
7
  import { ButtonComponent } from '@odx/angular/components/button';
8
- import { injectElement, getInjector, hasChanged, isTemplateRef, createModuleConfigTokens, Queue, deferFn, provideModuleConfig } from '@odx/angular/utils';
8
+ import { injectElement, getInjector, hasChanged, isTemplateRef, createConfigTokens, Queue, deferFn } from '@odx/angular/utils';
9
9
  import { deepmerge } from 'deepmerge-ts';
10
10
  import { Subject, share, merge, finalize } from 'rxjs';
11
11
  import { __decorate, __metadata } from 'tslib';
@@ -72,6 +72,7 @@ class ModalRef extends Controller {
72
72
  }
73
73
 
74
74
  const ModalSize = {
75
+ XSMALL: 'xsmall',
75
76
  SMALL: 'small',
76
77
  MEDIUM: 'medium',
77
78
  LARGE: 'large',
@@ -105,9 +106,9 @@ class ModalCloseDirective {
105
106
  }
106
107
  }
107
108
  }
108
- ModalCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
109
- ModalCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: ModalCloseDirective, isStandalone: true, selector: "[odxModalClose]", inputs: { result: ["odxModalClose", "result"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalCloseDirective, decorators: [{
109
+ ModalCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
110
+ ModalCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: ModalCloseDirective, isStandalone: true, selector: "[odxModalClose]", inputs: { result: ["odxModalClose", "result"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalCloseDirective, decorators: [{
111
112
  type: Directive,
112
113
  args: [{
113
114
  standalone: true,
@@ -126,12 +127,12 @@ let ModalContentDirective = class ModalContentDirective {
126
127
  this.element = injectElement();
127
128
  }
128
129
  };
129
- ModalContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
130
- ModalContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: ModalContentDirective, isStandalone: true, selector: "odx-modal-content", ngImport: i0 });
130
+ ModalContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
131
+ ModalContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: ModalContentDirective, isStandalone: true, selector: "odx-modal-content", ngImport: i0 });
131
132
  ModalContentDirective = __decorate([
132
133
  CSSComponent('modal__content')
133
134
  ], ModalContentDirective);
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalContentDirective, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalContentDirective, decorators: [{
135
136
  type: Directive,
136
137
  args: [{
137
138
  standalone: true,
@@ -147,9 +148,9 @@ class ModalDismissDirective {
147
148
  this.modalRef.dismiss();
148
149
  }
149
150
  }
150
- ModalDismissDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalDismissDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
151
- ModalDismissDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: ModalDismissDirective, isStandalone: true, selector: "[odxModalDismiss]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalDismissDirective, decorators: [{
151
+ ModalDismissDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalDismissDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
152
+ ModalDismissDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: ModalDismissDirective, isStandalone: true, selector: "[odxModalDismiss]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalDismissDirective, decorators: [{
153
154
  type: Directive,
154
155
  args: [{
155
156
  standalone: true,
@@ -165,12 +166,12 @@ let ModalFooterComponent = class ModalFooterComponent {
165
166
  this.element = injectElement();
166
167
  }
167
168
  };
168
- ModalFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
169
- ModalFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: ModalFooterComponent, isStandalone: true, selector: "odx-modal-footer", ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
169
+ ModalFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
170
+ ModalFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: ModalFooterComponent, isStandalone: true, selector: "odx-modal-footer", ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
170
171
  ModalFooterComponent = __decorate([
171
172
  CSSComponent('modal__footer')
172
173
  ], ModalFooterComponent);
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalFooterComponent, decorators: [{
174
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalFooterComponent, decorators: [{
174
175
  type: Component,
175
176
  args: [{ standalone: true, selector: 'odx-modal-footer', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
176
177
  }] });
@@ -187,13 +188,13 @@ let ModalHeaderComponent = class ModalHeaderComponent {
187
188
  }
188
189
  }
189
190
  };
190
- ModalHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
191
- ModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: ModalHeaderComponent, isStandalone: true, selector: "odx-modal-header", queries: [{ propertyName: "areaHeaderComponent", first: true, predicate: AreaHeaderComponent, descendants: true }], ngImport: i0, template: "<ng-content select=\"odx-area-header\"></ng-content>\n<odx-action-group class=\"odx-modal__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
191
+ ModalHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
192
+ ModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: ModalHeaderComponent, isStandalone: true, selector: "odx-modal-header", queries: [{ propertyName: "areaHeaderComponent", first: true, predicate: AreaHeaderComponent, descendants: true }], ngImport: i0, template: "<ng-content select=\"odx-area-header\"></ng-content>\n<odx-action-group class=\"odx-modal__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
192
193
  ModalHeaderComponent = __decorate([
193
194
  CSSComponent('modal__header'),
194
195
  __metadata("design:paramtypes", [])
195
196
  ], ModalHeaderComponent);
196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalHeaderComponent, decorators: [{
197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalHeaderComponent, decorators: [{
197
198
  type: Component,
198
199
  args: [{ standalone: true, selector: 'odx-modal-header', imports: [CoreModule, ActionGroupComponent, ButtonComponent, IconComponent, ModalDismissDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"odx-area-header\"></ng-content>\n<odx-action-group class=\"odx-modal__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n" }]
199
200
  }], ctorParameters: function () { return []; }, propDecorators: { areaHeaderComponent: [{
@@ -208,8 +209,8 @@ let ModalHeroComponent = class ModalHeroComponent {
208
209
  detectControllerChanges(this.modalRef).subscribe();
209
210
  }
210
211
  };
211
- ModalHeroComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalHeroComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
212
- ModalHeroComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: ModalHeroComponent, isStandalone: true, selector: "odx-modal-hero", inputs: { icon: "icon", variant: "variant" }, ngImport: i0, template: "<odx-icon class=\"odx-modal-hero__icon\" [name]=\"icon\" size=\"xlarge\" *ngIf=\"icon\"> </odx-icon>\n\n<div class=\"odx-modal-hero__title odx-title-4\">\n <ng-content></ng-content>\n</div>\n\n<odx-action-group class=\"odx-modal-hero__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
212
+ ModalHeroComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalHeroComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
213
+ ModalHeroComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: ModalHeroComponent, isStandalone: true, selector: "odx-modal-hero", inputs: { icon: "icon", variant: "variant" }, ngImport: i0, template: "<odx-icon class=\"odx-modal-hero__icon\" [name]=\"icon\" size=\"xlarge\" *ngIf=\"icon\"> </odx-icon>\n\n<div class=\"odx-modal-hero__title odx-title-4\">\n <ng-content></ng-content>\n</div>\n\n<odx-action-group class=\"odx-modal-hero__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
213
214
  __decorate([
214
215
  CSSModifier(),
215
216
  __metadata("design:type", Object)
@@ -218,7 +219,7 @@ ModalHeroComponent = __decorate([
218
219
  CSSComponent('modal-hero'),
219
220
  __metadata("design:paramtypes", [])
220
221
  ], ModalHeroComponent);
221
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalHeroComponent, decorators: [{
222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalHeroComponent, decorators: [{
222
223
  type: Component,
223
224
  args: [{ selector: 'odx-modal-hero', standalone: true, imports: [CoreModule, ActionGroupComponent, ButtonComponent, IconComponent, ModalDismissDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<odx-icon class=\"odx-modal-hero__icon\" [name]=\"icon\" size=\"xlarge\" *ngIf=\"icon\"> </odx-icon>\n\n<div class=\"odx-modal-hero__title odx-title-4\">\n <ng-content></ng-content>\n</div>\n\n<odx-action-group class=\"odx-modal-hero__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n" }]
224
225
  }], ctorParameters: function () { return []; }, propDecorators: { icon: [{
@@ -239,9 +240,9 @@ class BasicModalComponent {
239
240
  return index;
240
241
  }
241
242
  }
242
- BasicModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BasicModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
243
- BasicModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: BasicModalComponent, isStandalone: true, selector: "odx-basic-modal", ngImport: i0, template: "<odx-modal-hero [icon]=\"icon\" [variant]=\"data.heroVariant\" *ngIf=\"data.heroIcon as icon; else modalHeader\">\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n</odx-modal-hero>\n\n<odx-modal-content>\n <ng-template [odxDynamicView]=\"data.content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</odx-modal-content>\n\n<odx-modal-footer>\n <button odxButton [variant]=\"action.variant\" [odxModalClose]=\"action.data\" *ngFor=\"let action of data.actions; let i = index; trackBy: trackByIndex\">\n {{ action.label }}\n </button>\n</odx-modal-footer>\n\n<ng-template #modalHeader>\n <odx-modal-header>\n <odx-area-header>\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n </odx-area-header>\n </odx-modal-header>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: AreaHeaderComponent, selector: "odx-area-header", inputs: ["size"] }, { kind: "component", type: ModalHeaderComponent, selector: "odx-modal-header" }, { kind: "component", type: ModalHeroComponent, selector: "odx-modal-hero", inputs: ["icon", "variant"] }, { kind: "component", type: ModalFooterComponent, selector: "odx-modal-footer" }, { kind: "directive", type: ModalContentDirective, selector: "odx-modal-content" }, { kind: "directive", type: ModalCloseDirective, selector: "[odxModalClose]", inputs: ["odxModalClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BasicModalComponent, decorators: [{
243
+ BasicModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasicModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
244
+ BasicModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BasicModalComponent, isStandalone: true, selector: "odx-basic-modal", ngImport: i0, template: "<odx-modal-hero [icon]=\"icon\" [variant]=\"data.heroVariant\" *ngIf=\"data.heroIcon as icon; else modalHeader\">\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n</odx-modal-hero>\n\n<odx-modal-content>\n <ng-template [odxDynamicView]=\"data.content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</odx-modal-content>\n\n<odx-modal-footer>\n <button odxButton [variant]=\"action.variant\" [odxModalClose]=\"action.data\" *ngFor=\"let action of data.actions; let i = index; trackBy: trackByIndex\">\n {{ action.label }}\n </button>\n</odx-modal-footer>\n\n<ng-template #modalHeader>\n <odx-modal-header>\n <odx-area-header>\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n </odx-area-header>\n </odx-modal-header>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: AreaHeaderComponent, selector: "odx-area-header", inputs: ["size"] }, { kind: "component", type: ModalHeaderComponent, selector: "odx-modal-header" }, { kind: "component", type: ModalHeroComponent, selector: "odx-modal-hero", inputs: ["icon", "variant"] }, { kind: "component", type: ModalFooterComponent, selector: "odx-modal-footer" }, { kind: "directive", type: ModalContentDirective, selector: "odx-modal-content" }, { kind: "directive", type: ModalCloseDirective, selector: "[odxModalClose]", inputs: ["odxModalClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasicModalComponent, decorators: [{
245
246
  type: Component,
246
247
  args: [{ selector: 'odx-basic-modal', standalone: true, imports: [
247
248
  CoreModule,
@@ -280,8 +281,8 @@ let ModalComponent = class ModalComponent {
280
281
  }
281
282
  }
282
283
  };
283
- ModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
284
- ModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: ModalComponent, isStandalone: true, selector: "odx-modal", inputs: { content: "content" }, host: { listeners: { "keyup.esc": "onClose()" }, properties: { "@hostAnimation": "variant", "attr.id": "modalRef.options.id" } }, usesOnChanges: true, ngImport: i0, template: "<div\n [cdkTrapFocus]=\"modalRef.isActive()\"\n [cdkTrapFocusAutoCapture]=\"modalRef.isActive()\"\n [odxClickOutsideActive]=\"modalRef.options.dismissable\"\n [attr.aria-labelledby]=\"modalRef.modalTitleId\"\n class=\"odx-modal__container\"\n role=\"dialog\"\n (odxClickOutside)=\"modalRef.dismiss()\"\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewContext]=\"withComponent ? {} : context\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1$1.ClickOutsideDirective, selector: "[odxClickOutside]", inputs: ["odxClickOutsideActive"], outputs: ["odxClickOutside"] }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "ngmodule", type: CoreModule }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], animations: [
284
+ ModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
285
+ ModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: ModalComponent, isStandalone: true, selector: "odx-modal", inputs: { content: "content" }, host: { listeners: { "keyup.esc": "onClose()" }, properties: { "@hostAnimation": "variant", "attr.id": "modalRef.options.id" } }, usesOnChanges: true, ngImport: i0, template: "<div\n [cdkTrapFocus]=\"modalRef.isActive()\"\n [cdkTrapFocusAutoCapture]=\"modalRef.isActive()\"\n [odxClickOutsideActive]=\"modalRef.options.dismissable\"\n [attr.aria-labelledby]=\"modalRef.modalTitleId\"\n class=\"odx-modal__container\"\n role=\"dialog\"\n (odxClickOutside)=\"modalRef.dismiss()\"\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewContext]=\"withComponent ? {} : context\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1$1.ClickOutsideDirective, selector: "[odxClickOutside]", inputs: ["odxClickOutsideActive"], outputs: ["odxClickOutside"] }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "ngmodule", type: CoreModule }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], animations: [
285
286
  trigger('hostAnimation', [
286
287
  transition('void => default', group([useAnimation(fadeIn()), query('.odx-modal__container', useAnimation(slideInY('8px')))])),
287
288
  transition('default => void', group([useAnimation(fadeOut()), query('.odx-modal__container', useAnimation(slideOutY('8px')))])),
@@ -305,7 +306,7 @@ ModalComponent = __decorate([
305
306
  CSSComponent('modal'),
306
307
  __metadata("design:paramtypes", [])
307
308
  ], ModalComponent);
308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalComponent, decorators: [{
309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalComponent, decorators: [{
309
310
  type: Component,
310
311
  args: [{ standalone: true, selector: 'odx-modal', imports: [A11yModule, ActionGroupComponent, ButtonComponent, IconComponent, CoreModule, DynamicViewDirective], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
311
312
  '[@hostAnimation]': 'variant',
@@ -325,7 +326,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
325
326
  args: ['keyup.esc']
326
327
  }] } });
327
328
 
328
- const { ModalDefaultModuleConfig, ModalModuleConfig, injectModalModuleConfig } = createModuleConfigTokens('Modal', '@odx/angular/components/modal', {
329
+ const { ModalDefaultConfig, ModalConfig, injectModalConfig, provideModalConfig } = createConfigTokens('Modal', '@odx/angular/components/modal', {
329
330
  dismissable: true,
330
331
  size: ModalSize.MEDIUM,
331
332
  dismissOnNavigation: true,
@@ -334,9 +335,9 @@ const { ModalDefaultModuleConfig, ModalModuleConfig, injectModalModuleConfig } =
334
335
 
335
336
  class ModalService {
336
337
  constructor(location) {
338
+ this.config = injectModalConfig();
337
339
  this.openModals = new Queue();
338
340
  this.injector = getInjector();
339
- this.moduleConfig = injectModalModuleConfig();
340
341
  this.dynamicViewService = inject(DynamicViewService);
341
342
  this.openModals$ = this.openModals.value$;
342
343
  location.onUrlChange(() => {
@@ -363,7 +364,7 @@ class ModalService {
363
364
  });
364
365
  }
365
366
  open(content, options) {
366
- const mergedOptions = deepmerge(this.moduleConfig, { id: `odx-modal-${ModalService.ID++}` }, options ?? {});
367
+ const mergedOptions = deepmerge(this.config, { id: `odx-modal-${ModalService.ID++}` }, options ?? {});
367
368
  if (this.getModalById(mergedOptions.id)) {
368
369
  throw Error(`Modal with ID ${mergedOptions.id} already open`);
369
370
  }
@@ -389,9 +390,9 @@ class ModalService {
389
390
  }
390
391
  }
391
392
  ModalService.ID = 0;
392
- ModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalService, deps: [{ token: i1.Location }], target: i0.ɵɵFactoryTarget.Injectable });
393
- ModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalService, providedIn: 'root' });
394
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalService, decorators: [{
393
+ ModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalService, deps: [{ token: i1.Location }], target: i0.ɵɵFactoryTarget.Injectable });
394
+ ModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalService, providedIn: 'root' });
395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalService, decorators: [{
395
396
  type: Injectable,
396
397
  args: [{ providedIn: 'root' }]
397
398
  }], ctorParameters: function () { return [{ type: i1.Location }]; } });
@@ -423,9 +424,9 @@ class ModalDirective {
423
424
  this.modalRef?.dismiss();
424
425
  }
425
426
  }
426
- ModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
427
- ModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: ModalDirective, isStandalone: true, selector: "ng-template[odxModal]", inputs: { modalOptions: ["odxModal", "modalOptions"] }, outputs: { modalClose: "odxModalClose", modalDismiss: "odxModalDismiss" }, exportAs: ["odxModal"], usesOnChanges: true, ngImport: i0 });
428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalDirective, decorators: [{
427
+ ModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
428
+ ModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: ModalDirective, isStandalone: true, selector: "ng-template[odxModal]", inputs: { modalOptions: ["odxModal", "modalOptions"] }, outputs: { modalClose: "odxModalClose", modalDismiss: "odxModalDismiss" }, exportAs: ["odxModal"], usesOnChanges: true, ngImport: i0 });
429
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalDirective, decorators: [{
429
430
  type: Directive,
430
431
  args: [{
431
432
  standalone: true,
@@ -454,15 +455,9 @@ const modules = [
454
455
  ModalDismissDirective,
455
456
  ];
456
457
  class ModalModule {
457
- static forRoot(config) {
458
- return {
459
- ngModule: ModalModule,
460
- providers: [provideModuleConfig(ModalModuleConfig, config)],
461
- };
462
- }
463
458
  }
464
- ModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
465
- ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
459
+ ModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
460
+ ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
466
461
  ModalHeaderComponent,
467
462
  ModalHeroComponent,
468
463
  ModalFooterComponent,
@@ -477,11 +472,11 @@ ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "1
477
472
  ModalCloseDirective,
478
473
  ModalContentDirective,
479
474
  ModalDismissDirective] });
480
- ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
475
+ ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
481
476
  ModalHeaderComponent,
482
477
  ModalHeroComponent,
483
478
  ModalFooterComponent, CoreModule, AreaHeaderModule] });
484
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ModalModule, decorators: [{
479
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ModalModule, decorators: [{
485
480
  type: NgModule,
486
481
  args: [{
487
482
  imports: [ButtonComponent, ButtonGroupComponent, ...modules],
@@ -493,5 +488,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
493
488
  * Generated bundle index. Do not edit.
494
489
  */
495
490
 
496
- export { BasicModalComponent, ModalCloseDirective, ModalComponent, ModalContentDirective, ModalDefaultModuleConfig, ModalDirective, ModalDismissDirective, ModalFooterComponent, ModalHeaderComponent, ModalHeroComponent, ModalHeroVariant, ModalModule, ModalModuleConfig, ModalRef, ModalService, ModalSize, ModalVariant, injectModalModuleConfig };
491
+ export { BasicModalComponent, ModalCloseDirective, ModalComponent, ModalConfig, ModalContentDirective, ModalDefaultConfig, ModalDirective, ModalDismissDirective, ModalFooterComponent, ModalHeaderComponent, ModalHeroComponent, ModalHeroVariant, ModalModule, ModalRef, ModalService, ModalSize, ModalVariant, injectModalConfig, provideModalConfig };
497
492
  //# sourceMappingURL=odx-angular-components-modal.mjs.map