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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +1 -2
  2. package/cdk/active-indicator/lib/models/active-indicator-direction.d.ts +1 -1
  3. package/cdk/active-indicator/lib/models/active-indicator-position.d.ts +1 -1
  4. package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +3 -3
  5. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +1 -0
  6. package/components/action-group/action-group.component.d.ts +1 -1
  7. package/components/area-header/models/area-header-size.d.ts +1 -1
  8. package/components/avatar/lib/models/avatar-size.d.ts +1 -1
  9. package/components/avatar/lib/models/avatar-variant.d.ts +1 -1
  10. package/components/badge/lib/models/badge-variant.d.ts +1 -1
  11. package/components/bar/lib/models/bar-button-variant.d.ts +1 -1
  12. package/components/button/lib/models/button-size.d.ts +1 -1
  13. package/components/button/lib/models/button-variant.d.ts +1 -1
  14. package/components/chip/lib/models/chip-size.d.ts +1 -1
  15. package/components/chip/lib/models/chip-variant.d.ts +1 -1
  16. package/components/circular-progress/lib/models/circular-progress-size.d.ts +1 -1
  17. package/components/dropdown/lib/models/dropdown-options.d.ts +1 -1
  18. package/components/form-field/lib/models/form-field-error-resolver.d.ts +1 -1
  19. package/components/header/lib/header.component.d.ts +1 -1
  20. package/components/icon/lib/models/icon-size.d.ts +1 -1
  21. package/components/inline-message/lib/models/inline-message-variant.d.ts +1 -1
  22. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +3 -1
  23. package/components/logo/models/logo-size.d.ts +1 -1
  24. package/components/logo/models/logo-variant.d.ts +1 -1
  25. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +2 -0
  26. package/components/menu/lib/directives/menu-item.directive.d.ts +1 -2
  27. package/components/modal/lib/modal.config.d.ts +1 -1
  28. package/components/modal/lib/models/basic-modal-options.d.ts +1 -1
  29. package/components/modal/lib/models/modal-hero-variant.d.ts +1 -1
  30. package/components/modal/lib/models/modal-options.d.ts +1 -1
  31. package/components/modal/lib/models/modal-size.d.ts +1 -1
  32. package/components/modal/lib/models/modal-type.d.ts +1 -1
  33. package/components/modal/lib/models/modal-variant.d.ts +1 -1
  34. package/components/select/lib/abstract/select-control-option.d.ts +2 -0
  35. package/components/select/lib/abstract/select-control.d.ts +1 -0
  36. package/components/select/lib/components/option/option.component.d.ts +6 -1
  37. package/components/select/lib/select.component.d.ts +7 -5
  38. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +1 -1
  39. package/components/toast/lib/models/toast-variant.d.ts +1 -1
  40. package/components/toast/lib/toast.config.d.ts +1 -1
  41. package/components/tooltip/lib/models/tooltip-size.d.ts +1 -1
  42. package/components/tooltip/lib/models/tooltip-trigger.d.ts +1 -1
  43. package/esm2020/cdk/a11y/lib/a11y.module.mjs +4 -4
  44. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +3 -3
  45. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +5 -7
  46. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +3 -3
  47. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +3 -3
  48. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +11 -11
  49. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +3 -3
  50. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +3 -3
  51. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +3 -3
  52. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +18 -18
  53. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +3 -3
  54. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +3 -3
  55. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +3 -3
  56. package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +14 -3
  57. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +3 -3
  58. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +3 -3
  59. package/esm2020/cdk/expandable/lib/expandable.module.mjs +4 -4
  60. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +10 -10
  61. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +7 -7
  62. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +4 -4
  63. package/esm2020/components/accordion/lib/accordion.component.mjs +6 -6
  64. package/esm2020/components/accordion/lib/accordion.module.mjs +4 -4
  65. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +3 -3
  66. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +3 -3
  67. package/esm2020/components/action-group/action-group.component.mjs +5 -5
  68. package/esm2020/components/area-header/area-header.component.mjs +6 -5
  69. package/esm2020/components/area-header/area-header.module.mjs +4 -4
  70. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +3 -3
  71. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +3 -3
  72. package/esm2020/components/avatar/lib/avatar.component.mjs +8 -10
  73. package/esm2020/components/badge/lib/badge.component.mjs +6 -5
  74. package/esm2020/components/badge/lib/badge.directive.mjs +3 -3
  75. package/esm2020/components/bar/lib/bar.component.mjs +3 -3
  76. package/esm2020/components/bar/lib/bar.module.mjs +4 -4
  77. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +6 -7
  78. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +3 -3
  79. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
  80. package/esm2020/components/button/lib/button.component.mjs +8 -10
  81. package/esm2020/components/button-group/lib/button-group.component.mjs +3 -3
  82. package/esm2020/components/checkbox/lib/checkbox.component.mjs +3 -3
  83. package/esm2020/components/checkbox/lib/checkbox.module.mjs +4 -4
  84. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +3 -3
  85. package/esm2020/components/chip/lib/chip.component.mjs +3 -3
  86. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +3 -3
  87. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  88. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  89. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +3 -3
  90. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +3 -3
  91. package/esm2020/components/dropdown/lib/dropdown.component.mjs +3 -3
  92. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +3 -3
  93. package/esm2020/components/dropdown/lib/dropdown.module.mjs +4 -4
  94. package/esm2020/components/dropdown/lib/models/dropdown-options.mjs +2 -2
  95. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +3 -3
  96. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +3 -3
  97. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +3 -3
  98. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +3 -3
  99. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +3 -3
  100. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +3 -3
  101. package/esm2020/components/form-field/lib/directives/form.directive.mjs +3 -3
  102. package/esm2020/components/form-field/lib/form-field.component.mjs +10 -10
  103. package/esm2020/components/form-field/lib/form-field.module.mjs +4 -4
  104. package/esm2020/components/form-field/lib/form-field.service.mjs +3 -3
  105. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +3 -3
  106. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +3 -3
  107. package/esm2020/components/header/lib/directives/header-title.directive.mjs +3 -3
  108. package/esm2020/components/header/lib/header.component.mjs +5 -5
  109. package/esm2020/components/header/lib/header.module.mjs +4 -4
  110. package/esm2020/components/icon/lib/icon.component.mjs +3 -3
  111. package/esm2020/components/inline-message/lib/inline-message.component.mjs +6 -7
  112. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +3 -3
  113. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +3 -3
  114. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +5 -5
  115. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +4 -4
  116. package/esm2020/components/link/link.directive.mjs +3 -3
  117. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +3 -3
  118. package/esm2020/components/list/lib/list.component.mjs +3 -3
  119. package/esm2020/components/list/lib/list.module.mjs +4 -4
  120. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +3 -3
  121. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +10 -6
  122. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +4 -4
  123. package/esm2020/components/logo/logo.directive.mjs +8 -6
  124. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +3 -3
  125. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +13 -5
  126. package/esm2020/components/main-menu/lib/main-menu.component.mjs +5 -5
  127. package/esm2020/components/main-menu/lib/main-menu.module.mjs +4 -4
  128. package/esm2020/components/main-menu/lib/main-menu.service.mjs +3 -3
  129. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +5 -7
  130. package/esm2020/components/menu/lib/menu.component.mjs +3 -3
  131. package/esm2020/components/menu/lib/menu.directive.mjs +3 -3
  132. package/esm2020/components/menu/lib/menu.module.mjs +4 -4
  133. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +3 -3
  134. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +3 -3
  135. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +3 -3
  136. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +3 -3
  137. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +3 -3
  138. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +3 -3
  139. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +3 -3
  140. package/esm2020/components/modal/lib/modal.component.mjs +5 -5
  141. package/esm2020/components/modal/lib/modal.directive.mjs +3 -3
  142. package/esm2020/components/modal/lib/modal.module.mjs +4 -4
  143. package/esm2020/components/modal/lib/modal.service.mjs +3 -3
  144. package/esm2020/components/modal/lib/models/modal-ref.mjs +11 -11
  145. package/esm2020/components/progress/lib/progress.component.mjs +3 -3
  146. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +3 -3
  147. package/esm2020/components/radio-group/lib/radio-group.component.mjs +7 -7
  148. package/esm2020/components/radio-group/lib/radio-group.module.mjs +4 -4
  149. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +3 -3
  150. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +3 -3
  151. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +4 -4
  152. package/esm2020/components/select/lib/abstract/select-control-option.mjs +1 -1
  153. package/esm2020/components/select/lib/abstract/select-control.mjs +1 -1
  154. package/esm2020/components/select/lib/components/option/option.component.mjs +36 -17
  155. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +3 -3
  156. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +3 -3
  157. package/esm2020/components/select/lib/select.component.mjs +52 -27
  158. package/esm2020/components/select/lib/select.module.mjs +4 -4
  159. package/esm2020/components/slider/lib/slider.directive.mjs +3 -3
  160. package/esm2020/components/spinbox/lib/spinbox.component.mjs +7 -7
  161. package/esm2020/components/switch/lib/switch.component.mjs +3 -3
  162. package/esm2020/components/switch/lib/switch.module.mjs +4 -4
  163. package/esm2020/components/switch/lib/switch.validator.mjs +3 -3
  164. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +3 -3
  165. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +6 -6
  166. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +4 -4
  167. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +3 -3
  168. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +7 -6
  169. package/esm2020/components/toast/lib/toast.module.mjs +4 -4
  170. package/esm2020/components/toast/lib/toast.service.mjs +3 -3
  171. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +3 -3
  172. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +7 -7
  173. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +4 -4
  174. package/esm2020/components/tooltip/lib/tooltip.component.mjs +3 -3
  175. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +10 -10
  176. package/esm2020/internal/decorators/css-component.mjs +3 -6
  177. package/esm2020/internal/decorators/css-modifier.mjs +14 -16
  178. package/esm2020/internal/helpers/decorator-property-name.mjs +4 -0
  179. package/esm2020/internal/helpers/index.mjs +2 -1
  180. package/esm2020/internal/helpers/with-mutiple-descriptors.mjs +10 -8
  181. package/esm2020/lib/controllers/controller.mjs +3 -3
  182. package/esm2020/lib/controllers/disabled.controller.mjs +3 -3
  183. package/esm2020/lib/controllers/readonly.controller.mjs +11 -11
  184. package/esm2020/lib/core.module.mjs +9 -8
  185. package/esm2020/lib/directives/click-outside.directive.mjs +3 -3
  186. package/esm2020/lib/directives/index.mjs +1 -2
  187. package/esm2020/lib/directives/with-disabled-state.directive.mjs +9 -9
  188. package/esm2020/lib/directives/with-tabindex.directive.mjs +3 -3
  189. package/esm2020/lib/services/window-ref.mjs +13 -6
  190. package/esm2020/utils/lib/decorators/transform.mjs +3 -3
  191. package/esm2020/utils/lib/helpers/build-url.mjs +4 -0
  192. package/esm2020/utils/lib/helpers/event-manager.mjs +3 -3
  193. package/esm2020/utils/lib/helpers/index.mjs +2 -1
  194. package/fesm2015/odx-angular-cdk-a11y.mjs +13 -14
  195. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -1
  196. package/fesm2015/odx-angular-cdk-active-indicator.mjs +3 -3
  197. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +11 -11
  198. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  199. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +6 -6
  200. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +21 -21
  201. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  202. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +22 -10
  203. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  204. package/fesm2015/odx-angular-cdk-expandable.mjs +10 -10
  205. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +19 -19
  206. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  207. package/fesm2015/odx-angular-components-accordion.mjs +15 -15
  208. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -1
  209. package/fesm2015/odx-angular-components-action-group.mjs +4 -4
  210. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  211. package/fesm2015/odx-angular-components-area-header.mjs +15 -14
  212. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  213. package/fesm2015/odx-angular-components-avatar.mjs +7 -9
  214. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  215. package/fesm2015/odx-angular-components-badge.mjs +8 -7
  216. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  217. package/fesm2015/odx-angular-components-bar.mjs +15 -16
  218. package/fesm2015/odx-angular-components-bar.mjs.map +1 -1
  219. package/fesm2015/odx-angular-components-breadcrumbs.mjs +3 -3
  220. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  221. package/fesm2015/odx-angular-components-button.mjs +7 -9
  222. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  223. package/fesm2015/odx-angular-components-checkbox.mjs +10 -10
  224. package/fesm2015/odx-angular-components-chip.mjs +3 -3
  225. package/fesm2015/odx-angular-components-circular-progress.mjs +3 -3
  226. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  227. package/fesm2015/odx-angular-components-dropdown.mjs +11 -11
  228. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -1
  229. package/fesm2015/odx-angular-components-form-field.mjs +40 -40
  230. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  231. package/fesm2015/odx-angular-components-header.mjs +14 -14
  232. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  233. package/fesm2015/odx-angular-components-icon.mjs +3 -3
  234. package/fesm2015/odx-angular-components-inline-message.mjs +5 -6
  235. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -1
  236. package/fesm2015/odx-angular-components-launch-tile.mjs +14 -14
  237. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -1
  238. package/fesm2015/odx-angular-components-link.mjs +3 -3
  239. package/fesm2015/odx-angular-components-list.mjs +10 -10
  240. package/fesm2015/odx-angular-components-loading-spinner.mjs +17 -12
  241. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -1
  242. package/fesm2015/odx-angular-components-logo.mjs +7 -5
  243. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  244. package/fesm2015/odx-angular-components-main-menu.mjs +57 -49
  245. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  246. package/fesm2015/odx-angular-components-menu.mjs +16 -17
  247. package/fesm2015/odx-angular-components-menu.mjs.map +1 -1
  248. package/fesm2015/odx-angular-components-modal.mjs +45 -45
  249. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  250. package/fesm2015/odx-angular-components-progress.mjs +3 -3
  251. package/fesm2015/odx-angular-components-radio-group.mjs +13 -13
  252. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  253. package/fesm2015/odx-angular-components-rail-navigation.mjs +10 -10
  254. package/fesm2015/odx-angular-components-select.mjs +92 -56
  255. package/fesm2015/odx-angular-components-select.mjs.map +1 -1
  256. package/fesm2015/odx-angular-components-slider.mjs +3 -3
  257. package/fesm2015/odx-angular-components-spinbox.mjs +7 -7
  258. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -1
  259. package/fesm2015/odx-angular-components-switch.mjs +10 -10
  260. package/fesm2015/odx-angular-components-tab-bar.mjs +12 -12
  261. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -1
  262. package/fesm2015/odx-angular-components-toast.mjs +16 -15
  263. package/fesm2015/odx-angular-components-toast.mjs.map +1 -1
  264. package/fesm2015/odx-angular-components-toggle-button-group.mjs +13 -13
  265. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -1
  266. package/fesm2015/odx-angular-components-tooltip.mjs +12 -12
  267. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -1
  268. package/fesm2015/odx-angular-internal.mjs +45 -47
  269. package/fesm2015/odx-angular-internal.mjs.map +1 -1
  270. package/fesm2015/odx-angular-utils.mjs +10 -6
  271. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  272. package/fesm2015/odx-angular.mjs +53 -79
  273. package/fesm2015/odx-angular.mjs.map +1 -1
  274. package/fesm2020/odx-angular-cdk-a11y.mjs +13 -14
  275. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -1
  276. package/fesm2020/odx-angular-cdk-active-indicator.mjs +3 -3
  277. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +11 -11
  278. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  279. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +6 -6
  280. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +21 -21
  281. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  282. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +21 -10
  283. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  284. package/fesm2020/odx-angular-cdk-expandable.mjs +10 -10
  285. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +19 -19
  286. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  287. package/fesm2020/odx-angular-components-accordion.mjs +15 -15
  288. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -1
  289. package/fesm2020/odx-angular-components-action-group.mjs +4 -4
  290. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  291. package/fesm2020/odx-angular-components-area-header.mjs +15 -14
  292. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  293. package/fesm2020/odx-angular-components-avatar.mjs +7 -9
  294. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  295. package/fesm2020/odx-angular-components-badge.mjs +8 -7
  296. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  297. package/fesm2020/odx-angular-components-bar.mjs +15 -16
  298. package/fesm2020/odx-angular-components-bar.mjs.map +1 -1
  299. package/fesm2020/odx-angular-components-breadcrumbs.mjs +3 -3
  300. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  301. package/fesm2020/odx-angular-components-button.mjs +7 -9
  302. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  303. package/fesm2020/odx-angular-components-checkbox.mjs +10 -10
  304. package/fesm2020/odx-angular-components-chip.mjs +3 -3
  305. package/fesm2020/odx-angular-components-circular-progress.mjs +3 -3
  306. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  307. package/fesm2020/odx-angular-components-dropdown.mjs +11 -11
  308. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -1
  309. package/fesm2020/odx-angular-components-form-field.mjs +40 -40
  310. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  311. package/fesm2020/odx-angular-components-header.mjs +14 -14
  312. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  313. package/fesm2020/odx-angular-components-icon.mjs +3 -3
  314. package/fesm2020/odx-angular-components-inline-message.mjs +5 -6
  315. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -1
  316. package/fesm2020/odx-angular-components-launch-tile.mjs +14 -14
  317. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -1
  318. package/fesm2020/odx-angular-components-link.mjs +3 -3
  319. package/fesm2020/odx-angular-components-list.mjs +10 -10
  320. package/fesm2020/odx-angular-components-loading-spinner.mjs +16 -12
  321. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -1
  322. package/fesm2020/odx-angular-components-logo.mjs +7 -5
  323. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  324. package/fesm2020/odx-angular-components-main-menu.mjs +56 -49
  325. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  326. package/fesm2020/odx-angular-components-menu.mjs +16 -17
  327. package/fesm2020/odx-angular-components-menu.mjs.map +1 -1
  328. package/fesm2020/odx-angular-components-modal.mjs +45 -45
  329. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  330. package/fesm2020/odx-angular-components-progress.mjs +3 -3
  331. package/fesm2020/odx-angular-components-radio-group.mjs +13 -13
  332. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  333. package/fesm2020/odx-angular-components-rail-navigation.mjs +10 -10
  334. package/fesm2020/odx-angular-components-select.mjs +95 -53
  335. package/fesm2020/odx-angular-components-select.mjs.map +1 -1
  336. package/fesm2020/odx-angular-components-slider.mjs +3 -3
  337. package/fesm2020/odx-angular-components-spinbox.mjs +6 -6
  338. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -1
  339. package/fesm2020/odx-angular-components-switch.mjs +10 -10
  340. package/fesm2020/odx-angular-components-tab-bar.mjs +12 -12
  341. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -1
  342. package/fesm2020/odx-angular-components-toast.mjs +16 -15
  343. package/fesm2020/odx-angular-components-toast.mjs.map +1 -1
  344. package/fesm2020/odx-angular-components-toggle-button-group.mjs +13 -13
  345. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -1
  346. package/fesm2020/odx-angular-components-tooltip.mjs +12 -12
  347. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -1
  348. package/fesm2020/odx-angular-internal.mjs +42 -43
  349. package/fesm2020/odx-angular-internal.mjs.map +1 -1
  350. package/fesm2020/odx-angular-utils.mjs +10 -6
  351. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  352. package/fesm2020/odx-angular.mjs +50 -76
  353. package/fesm2020/odx-angular.mjs.map +1 -1
  354. package/internal/decorators/css-component.d.ts +1 -2
  355. package/internal/decorators/css-modifier.d.ts +0 -1
  356. package/internal/helpers/decorator-property-name.d.ts +1 -0
  357. package/internal/helpers/index.d.ts +1 -0
  358. package/lib/core.module.d.ts +3 -3
  359. package/lib/directives/index.d.ts +0 -1
  360. package/lib/services/window-ref.d.ts +3 -0
  361. package/lib/tokens/identity-matcher.d.ts +1 -1
  362. package/lib/tokens/string-search-handler.d.ts +1 -1
  363. package/lib/tokens/stringify.d.ts +1 -1
  364. package/package.json +3 -2
  365. package/utils/lib/decorators/transform.d.ts +1 -1
  366. package/utils/lib/helpers/build-url.d.ts +1 -0
  367. package/utils/lib/helpers/index.d.ts +1 -0
  368. package/utils/lib/helpers/ng-changes.d.ts +1 -1
  369. package/utils/lib/helpers/provide-module-config.d.ts +2 -2
  370. package/utils/lib/helpers/queue.d.ts +2 -2
  371. package/utils/lib/types/axis.d.ts +1 -1
  372. package/utils/lib/types/get-properties.d.ts +2 -2
  373. package/utils/lib/types/position.d.ts +1 -1
  374. package/utils/lib/types/side.d.ts +1 -1
  375. package/esm2020/lib/directives/let.directive.mjs +0 -36
  376. package/lib/directives/let.directive.d.ts +0 -17
@@ -1,13 +1,13 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, inject, Directive, HostListener, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, Output, NgModule } from '@angular/core';
3
+ import { Injectable, inject, Directive, HostListener, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
4
4
  import { CSSComponent } from '@odx/angular/internal';
5
5
  import { isBoolean, injectElement, Transform } from '@odx/angular/utils';
6
6
  import { BehaviorSubject, distinctUntilChanged, shareReplay } from 'rxjs';
7
7
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
8
8
  import { RouterLinkActive } from '@angular/router';
9
- import * as i1 from '@odx/angular';
10
- import { WithDisabledState, WithTabIndex, CoreModule } from '@odx/angular';
9
+ import * as i1$1 from '@odx/angular';
10
+ import { CoreModule, WithDisabledState, WithTabIndex } from '@odx/angular';
11
11
  import { trigger, transition, useAnimation } from '@angular/animations';
12
12
  import { slideInLeft, slideOutLeft, fadeIn, fadeOut } from '@odx/angular/animations';
13
13
  import { A11yModule } from '@odx/angular/cdk/a11y';
@@ -18,7 +18,7 @@ import { ButtonComponent } from '@odx/angular/components/button';
18
18
  import * as i6 from '@odx/angular/components/icon';
19
19
  import { IconComponent } from '@odx/angular/components/icon';
20
20
  import { LogoDirective } from '@odx/angular/components/logo';
21
- import * as i1$1 from '@angular/common';
21
+ import * as i1 from '@angular/common';
22
22
  import * as i3 from '@angular/cdk/a11y';
23
23
  import { LinkDirective } from '@odx/angular/components/link';
24
24
 
@@ -48,9 +48,9 @@ class MainMenuService {
48
48
  }
49
49
  }
50
50
  }
51
- MainMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
52
- MainMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuService, providedIn: 'root' });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuService, decorators: [{
51
+ MainMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MainMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
52
+ MainMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MainMenuService, providedIn: 'root' });
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", 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.1.5", ngImport: i0, type: MainMenuButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
68
- MainMenuButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", 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.1", ngImport: i0, type: MainMenuButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
68
+ MainMenuButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", 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.1.5", ngImport: i0, type: MainMenuButtonDirective, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MainMenuButtonDirective, decorators: [{
73
73
  type: Directive,
74
74
  args: [{
75
75
  selector: 'button[odxMainMenuButton]',
@@ -80,37 +80,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
80
80
  args: ['click']
81
81
  }] } });
82
82
 
83
- let MainMenuItemDirective = class MainMenuItemDirective {
84
- constructor() {
85
- this.routerLinkActive = inject(RouterLinkActive, { optional: true });
86
- this.element = injectElement();
87
- this.isSelected = false;
88
- }
89
- };
90
- MainMenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
91
- MainMenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: MainMenuItemDirective, isStandalone: true, selector: "[odxMainMenuItem]", inputs: { isSelected: "isSelected" }, host: { properties: { "class.is-selected": "isSelected || routerLinkActive?.isActive", "attr.role": "\"button\"" } }, hostDirectives: [{ directive: i1.WithDisabledState }, { directive: i1.WithTabIndex }], ngImport: i0 });
92
- __decorate([
93
- Transform(coerceBooleanProperty),
94
- __metadata("design:type", Object)
95
- ], MainMenuItemDirective.prototype, "isSelected", void 0);
96
- MainMenuItemDirective = __decorate([
97
- CSSComponent('main-menu-item')
98
- ], MainMenuItemDirective);
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuItemDirective, decorators: [{
100
- type: Directive,
101
- args: [{
102
- selector: '[odxMainMenuItem]',
103
- standalone: true,
104
- hostDirectives: [WithDisabledState, WithTabIndex],
105
- host: {
106
- '[class.is-selected]': 'isSelected || routerLinkActive?.isActive',
107
- '[attr.role]': '"button"',
108
- },
109
- }]
110
- }], propDecorators: { isSelected: [{
111
- type: Input
112
- }] } });
113
-
114
83
  let MainMenuComponent = class MainMenuComponent {
115
84
  constructor() {
116
85
  this.mainMenuService = inject(MainMenuService);
@@ -129,22 +98,22 @@ let MainMenuComponent = class MainMenuComponent {
129
98
  this.mainMenuService.close();
130
99
  }
131
100
  };
132
- MainMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
133
- MainMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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\">\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$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "directive", type: i1.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.1", ngImport: i0, type: MainMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
102
+ MainMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", 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=\"xlarge\">\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: [
134
103
  trigger('menuAnimation', [transition(':enter', [useAnimation(slideInLeft)]), transition(':leave', [useAnimation(slideOutLeft)])]),
135
104
  trigger('overlayAnimation', [transition(':enter', [useAnimation(fadeIn())]), transition(':leave', [useAnimation(fadeOut())])]),
136
105
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
137
106
  MainMenuComponent = __decorate([
138
107
  CSSComponent('main-menu')
139
108
  ], MainMenuComponent);
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuComponent, decorators: [{
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MainMenuComponent, decorators: [{
141
110
  type: Component,
142
111
  args: [{ selector: 'odx-main-menu', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [A11yModule, CoreModule, AreaHeaderModule, ButtonComponent, IconComponent, LogoDirective], standalone: true, host: {
143
112
  '[class.is-open]': 'isOpen',
144
113
  }, animations: [
145
114
  trigger('menuAnimation', [transition(':enter', [useAnimation(slideInLeft)]), transition(':leave', [useAnimation(slideOutLeft)])]),
146
115
  trigger('overlayAnimation', [transition(':enter', [useAnimation(fadeIn())]), transition(':leave', [useAnimation(fadeOut())])]),
147
- ], 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\">\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" }]
116
+ ], 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=\"xlarge\">\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" }]
148
117
  }], propDecorators: { title: [{
149
118
  type: Input
150
119
  }], subtitle: [{
@@ -160,13 +129,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
160
129
  args: ['window:keyup.esc']
161
130
  }] } });
162
131
 
132
+ let MainMenuItemDirective = class MainMenuItemDirective {
133
+ constructor() {
134
+ this.mainMenu = inject(MainMenuComponent, { optional: true });
135
+ this.routerLinkActive = inject(RouterLinkActive, { optional: true });
136
+ this.element = injectElement();
137
+ this.isSelected = false;
138
+ }
139
+ onClick() {
140
+ this.mainMenu?.close();
141
+ }
142
+ };
143
+ MainMenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MainMenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
144
+ MainMenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", 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
+ __decorate([
146
+ Transform(coerceBooleanProperty),
147
+ __metadata("design:type", Object)
148
+ ], MainMenuItemDirective.prototype, "isSelected", void 0);
149
+ MainMenuItemDirective = __decorate([
150
+ CSSComponent('main-menu-item')
151
+ ], MainMenuItemDirective);
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MainMenuItemDirective, decorators: [{
153
+ type: Directive,
154
+ args: [{
155
+ selector: '[odxMainMenuItem]',
156
+ standalone: true,
157
+ hostDirectives: [WithDisabledState, WithTabIndex],
158
+ host: {
159
+ '[class.is-selected]': 'isSelected || routerLinkActive?.isActive',
160
+ '[attr.role]': '"button"',
161
+ },
162
+ }]
163
+ }], propDecorators: { isSelected: [{
164
+ type: Input
165
+ }], onClick: [{
166
+ type: HostListener,
167
+ args: ['click']
168
+ }] } });
169
+
163
170
  const modules = [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective];
164
171
  class MainMenuModule {
165
172
  }
166
- MainMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
167
- MainMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: MainMenuModule, imports: [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective], exports: [CoreModule, LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective] });
168
- MainMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuModule, imports: [MainMenuComponent, CoreModule] });
169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MainMenuModule, decorators: [{
173
+ MainMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MainMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
174
+ MainMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", 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.1", ngImport: i0, type: MainMenuModule, imports: [MainMenuComponent, CoreModule] });
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MainMenuModule, decorators: [{
170
177
  type: NgModule,
171
178
  args: [{
172
179
  imports: modules,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-main-menu.mjs","sources":["../../../../libs/angular/components/main-menu/src/lib/main-menu.service.ts","../../../../libs/angular/components/main-menu/src/lib/directives/main-menu-button.directive.ts","../../../../libs/angular/components/main-menu/src/lib/directives/main-menu-item.directive.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.component.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.component.html","../../../../libs/angular/components/main-menu/src/lib/main-menu.module.ts","../../../../libs/angular/components/main-menu/src/odx-angular-components-main-menu.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { isBoolean } from '@odx/angular/utils';\nimport { BehaviorSubject, distinctUntilChanged, shareReplay } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class MainMenuService {\n private readonly isOpen$$ = new BehaviorSubject(false);\n\n public readonly isOpen$ = this.isOpen$$.pipe(distinctUntilChanged(), shareReplay({ refCount: true }));\n\n public isOpen(): boolean {\n return this.isOpen$$.getValue();\n }\n\n public open(): void {\n this.toggle(true);\n }\n\n public close(): void {\n this.toggle(false);\n }\n\n public toggle(forceState?: boolean): void {\n if (isBoolean(forceState)) {\n this.isOpen$$.next(forceState);\n } else if (this.isOpen()) {\n this.isOpen$$.next(false);\n } else {\n this.isOpen$$.next(true);\n }\n }\n}\n","import { Directive, HostListener, inject } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { MainMenuService } from '../main-menu.service';\n\n@CSSComponent('main-menu-button')\n@Directive({\n selector: 'button[odxMainMenuButton]',\n standalone: true,\n})\nexport class MainMenuButtonDirective {\n private readonly mainMenuService = inject(MainMenuService);\n public readonly element = injectElement<HTMLButtonElement>();\n\n @HostListener('click')\n public onClick() {\n this.mainMenuService.toggle();\n }\n}\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Directive, inject, Input } from '@angular/core';\nimport { RouterLinkActive } from '@angular/router';\nimport { WithDisabledState, WithTabIndex } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\n\n@CSSComponent('main-menu-item')\n@Directive({\n selector: '[odxMainMenuItem]',\n standalone: true,\n hostDirectives: [WithDisabledState, WithTabIndex],\n host: {\n '[class.is-selected]': 'isSelected || routerLinkActive?.isActive',\n '[attr.role]': '\"button\"',\n },\n})\nexport class MainMenuItemDirective {\n public static readonly ngAcceptInputType_isSelected: BooleanInput;\n\n protected readonly routerLinkActive = inject(RouterLinkActive, { optional: true });\n\n public readonly element = injectElement<HTMLLinkElement>();\n\n @Transform(coerceBooleanProperty)\n @Input()\n public isSelected = false;\n}\n","import { transition, trigger, useAnimation } from '@angular/animations';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, HostListener, inject, Input, Output, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { fadeIn, fadeOut, slideInLeft, slideOutLeft } from '@odx/angular/animations';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { AreaHeaderModule } from '@odx/angular/components/area-header';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { MainMenuService } from './main-menu.service';\n\n@CSSComponent('main-menu')\n@Component({\n selector: 'odx-main-menu',\n templateUrl: './main-menu.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [A11yModule, CoreModule, AreaHeaderModule, ButtonComponent, IconComponent, LogoDirective],\n standalone: true,\n host: {\n '[class.is-open]': 'isOpen',\n },\n animations: [\n trigger('menuAnimation', [transition(':enter', [useAnimation(slideInLeft)]), transition(':leave', [useAnimation(slideOutLeft)])]),\n trigger('overlayAnimation', [transition(':enter', [useAnimation(fadeIn())]), transition(':leave', [useAnimation(fadeOut())])]),\n ],\n})\nexport class MainMenuComponent {\n public static readonly ngAcceptInputType_isOpen: BooleanInput;\n\n protected readonly mainMenuService = inject(MainMenuService);\n public readonly element = injectElement();\n\n @Input()\n public title!: string;\n\n @Input()\n public subtitle: string | null = null;\n\n @Input()\n public copyright: string | null = null;\n\n @Input()\n public set isOpen(value: boolean) {\n this.mainMenuService.toggle(coerceBooleanProperty(value));\n }\n\n public get isOpen(): boolean {\n return this.mainMenuService.isOpen();\n }\n\n @Output()\n public menuOpen = this.mainMenuService.isOpen$;\n\n @HostListener('window:keyup.esc')\n public close(): void {\n this.mainMenuService.close();\n }\n}\n","<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\">\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","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { LinkDirective } from '@odx/angular/components/link';\nimport { MainMenuButtonDirective, MainMenuItemDirective } from './directives';\nimport { MainMenuComponent } from './main-menu.component';\n\nconst modules = [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class MainMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;MAKa,eAAe,CAAA;AAD5B,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;AAEvC,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AAuBvG,KAAA;IArBQ,MAAM,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;KACjC;IAEM,IAAI,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;KACnB;IAEM,KAAK,GAAA;AACV,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KACpB;AAEM,IAAA,MAAM,CAAC,UAAoB,EAAA;AAChC,QAAA,IAAI,SAAS,CAAC,UAAU,CAAC,EAAE;AACzB,YAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAChC,SAAA;AAAM,aAAA,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE;AACxB,YAAA,IAAI,C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AAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YANV,aAAa,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,uBAAuB,CAIrF,EAAA,OAAA,EAAA,CAAA,UAAU,EAJL,aAAa,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;4GAMpF,cAAc,EAAA,OAAA,EAAA,CANK,iBAAiB,EAIrC,UAAU,CAAA,EAAA,CAAA,CAAA;2FAET,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-main-menu.mjs","sources":["../../../../libs/angular/components/main-menu/src/lib/main-menu.service.ts","../../../../libs/angular/components/main-menu/src/lib/directives/main-menu-button.directive.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.component.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.component.html","../../../../libs/angular/components/main-menu/src/lib/directives/main-menu-item.directive.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.module.ts","../../../../libs/angular/components/main-menu/src/odx-angular-components-main-menu.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { isBoolean } from '@odx/angular/utils';\nimport { BehaviorSubject, distinctUntilChanged, shareReplay } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class MainMenuService {\n private readonly isOpen$$ = new BehaviorSubject(false);\n\n public readonly isOpen$ = this.isOpen$$.pipe(distinctUntilChanged(), shareReplay({ refCount: true }));\n\n public isOpen(): boolean {\n return this.isOpen$$.getValue();\n }\n\n public open(): void {\n this.toggle(true);\n }\n\n public close(): void {\n this.toggle(false);\n }\n\n public toggle(forceState?: boolean): void {\n if (isBoolean(forceState)) {\n this.isOpen$$.next(forceState);\n } else if (this.isOpen()) {\n this.isOpen$$.next(false);\n } else {\n this.isOpen$$.next(true);\n }\n }\n}\n","import { Directive, HostListener, inject } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { MainMenuService } from '../main-menu.service';\n\n@CSSComponent('main-menu-button')\n@Directive({\n selector: 'button[odxMainMenuButton]',\n standalone: true,\n})\nexport class MainMenuButtonDirective {\n private readonly mainMenuService = inject(MainMenuService);\n public readonly element = injectElement<HTMLButtonElement>();\n\n @HostListener('click')\n public onClick() {\n this.mainMenuService.toggle();\n }\n}\n","import { transition, trigger, useAnimation } from '@angular/animations';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, HostListener, inject, Input, Output, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { fadeIn, fadeOut, slideInLeft, slideOutLeft } from '@odx/angular/animations';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { AreaHeaderModule } from '@odx/angular/components/area-header';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { MainMenuService } from './main-menu.service';\n\n@CSSComponent('main-menu')\n@Component({\n selector: 'odx-main-menu',\n templateUrl: './main-menu.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [A11yModule, CoreModule, AreaHeaderModule, ButtonComponent, IconComponent, LogoDirective],\n standalone: true,\n host: {\n '[class.is-open]': 'isOpen',\n },\n animations: [\n trigger('menuAnimation', [transition(':enter', [useAnimation(slideInLeft)]), transition(':leave', [useAnimation(slideOutLeft)])]),\n trigger('overlayAnimation', [transition(':enter', [useAnimation(fadeIn())]), transition(':leave', [useAnimation(fadeOut())])]),\n ],\n})\nexport class MainMenuComponent {\n public static readonly ngAcceptInputType_isOpen: BooleanInput;\n\n protected readonly mainMenuService = inject(MainMenuService);\n public readonly element = injectElement();\n\n @Input()\n public title!: string;\n\n @Input()\n public subtitle: string | null = null;\n\n @Input()\n public copyright: string | null = null;\n\n @Input()\n public set isOpen(value: boolean) {\n this.mainMenuService.toggle(coerceBooleanProperty(value));\n }\n\n public get isOpen(): boolean {\n return this.mainMenuService.isOpen();\n }\n\n @Output()\n public menuOpen = this.mainMenuService.isOpen$;\n\n @HostListener('window:keyup.esc')\n public close(): void {\n this.mainMenuService.close();\n }\n}\n","<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=\"xlarge\">\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","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Directive, HostListener, inject, Input } from '@angular/core';\nimport { RouterLinkActive } from '@angular/router';\nimport { WithDisabledState, WithTabIndex } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\nimport { MainMenuComponent } from '../main-menu.component';\n\n@CSSComponent('main-menu-item')\n@Directive({\n selector: '[odxMainMenuItem]',\n standalone: true,\n hostDirectives: [WithDisabledState, WithTabIndex],\n host: {\n '[class.is-selected]': 'isSelected || routerLinkActive?.isActive',\n '[attr.role]': '\"button\"',\n },\n})\nexport class MainMenuItemDirective {\n public static readonly ngAcceptInputType_isSelected: BooleanInput;\n\n private readonly mainMenu = inject(MainMenuComponent, { optional: true });\n\n protected readonly routerLinkActive = inject(RouterLinkActive, { optional: true });\n\n public readonly element = injectElement<HTMLLinkElement>();\n\n @Transform(coerceBooleanProperty)\n @Input()\n public isSelected = false;\n\n @HostListener('click')\n protected onClick(): void {\n this.mainMenu?.close();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { LinkDirective } from '@odx/angular/components/link';\nimport { MainMenuButtonDirective, MainMenuItemDirective } from './directives';\nimport { MainMenuComponent } from './main-menu.component';\n\nconst modules = [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class MainMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;MAKa,eAAe,CAAA;AAD5B,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;AAEvC,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AAuBvG,KAAA;IArBQ,MAAM,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,QAAQ,CA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OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
@@ -1,8 +1,6 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
3
  import { Directive, HostListener, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, inject, NgModule } from '@angular/core';
4
- import * as i2 from '@odx/angular';
5
- import { WithDisabledState, CoreModule } from '@odx/angular';
6
4
  import * as i1 from '@odx/angular/cdk/a11y';
7
5
  import { ListFocusManagerOptionDirective, ListFocusManagerDirective } from '@odx/angular/cdk/a11y';
8
6
  import * as i1$1 from '@odx/angular/components/dropdown';
@@ -10,9 +8,10 @@ import { closeCurrentDropdown, DropdownDirective } from '@odx/angular/components
10
8
  import { CSSComponent, CSSModifier } from '@odx/angular/internal';
11
9
  import { injectElement, deferFn, Transform, hasChanged } from '@odx/angular/utils';
12
10
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
13
- import * as i2$1 from '@angular/common';
11
+ import * as i2 from '@angular/common';
14
12
  import { CommonModule } from '@angular/common';
15
13
  import { ActionGroupComponent } from '@odx/angular/components/action-group';
14
+ import { CoreModule } from '@odx/angular';
16
15
 
17
16
  let MenuItemDirective = class MenuItemDirective {
18
17
  constructor() {
@@ -22,17 +21,17 @@ let MenuItemDirective = class MenuItemDirective {
22
21
  deferFn(() => closeCurrentDropdown(this.element.nativeElement));
23
22
  }
24
23
  };
25
- MenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
26
- MenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: MenuItemDirective, isStandalone: true, selector: "a[odxMenuItem], button[odxMenuItem]", host: { attributes: { "role": "menuitem" }, listeners: { "click": "selectItem()" } }, hostDirectives: [{ directive: i1.ListFocusManagerOptionDirective }, { directive: i2.WithDisabledState }], ngImport: i0 });
24
+ MenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ MenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: MenuItemDirective, isStandalone: true, selector: "a[odxMenuItem], button[odxMenuItem]", host: { attributes: { "role": "menuitem" }, listeners: { "click": "selectItem()" } }, hostDirectives: [{ directive: i1.ListFocusManagerOptionDirective }], ngImport: i0 });
27
26
  MenuItemDirective = __decorate([
28
27
  CSSComponent('menu-item')
29
28
  ], MenuItemDirective);
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuItemDirective, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MenuItemDirective, decorators: [{
31
30
  type: Directive,
32
31
  args: [{
33
32
  selector: 'a[odxMenuItem], button[odxMenuItem]',
34
33
  standalone: true,
35
- hostDirectives: [ListFocusManagerOptionDirective, WithDisabledState],
34
+ hostDirectives: [ListFocusManagerOptionDirective],
36
35
  host: {
37
36
  role: 'menuitem',
38
37
  },
@@ -53,8 +52,8 @@ let MenuComponent = class MenuComponent {
53
52
  closeCurrentDropdown(this.element.nativeElement);
54
53
  }
55
54
  };
56
- MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
57
- MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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$1.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.1", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", 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 });
58
57
  __decorate([
59
58
  CSSModifier(),
60
59
  Transform(coerceBooleanProperty),
@@ -63,7 +62,7 @@ __decorate([
63
62
  MenuComponent = __decorate([
64
63
  CSSComponent('menu')
65
64
  ], MenuComponent);
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuComponent, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MenuComponent, decorators: [{
67
66
  type: Component,
68
67
  args: [{ selector: 'odx-menu', standalone: true, imports: [ActionGroupComponent, CommonModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [ListFocusManagerDirective], host: {
69
68
  role: 'menu',
@@ -93,12 +92,12 @@ let MenuDirective = class MenuDirective {
93
92
  }
94
93
  }
95
94
  };
96
- MenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
97
- MenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", 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 });
95
+ MenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
96
+ MenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", 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
97
  MenuDirective = __decorate([
99
98
  CSSComponent('menu-host')
100
99
  ], MenuDirective);
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuDirective, decorators: [{
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MenuDirective, decorators: [{
102
101
  type: Directive,
103
102
  args: [{
104
103
  selector: '[odxMenu]',
@@ -121,10 +120,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
121
120
  const modules = [MenuComponent, MenuDirective, MenuItemDirective];
122
121
  class MenuModule {
123
122
  }
124
- MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
125
- MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: MenuModule, imports: [MenuComponent, MenuDirective, MenuItemDirective], exports: [CoreModule, MenuComponent, MenuDirective, MenuItemDirective] });
126
- MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuModule, imports: [MenuComponent, CoreModule] });
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MenuModule, decorators: [{
123
+ MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
124
+ MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: MenuModule, imports: [MenuComponent, MenuDirective, MenuItemDirective], exports: [CoreModule, MenuComponent, MenuDirective, MenuItemDirective] });
125
+ MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MenuModule, imports: [MenuComponent, CoreModule] });
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MenuModule, decorators: [{
128
127
  type: NgModule,
129
128
  args: [{
130
129
  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 { WithDisabledState } from '@odx/angular';\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, WithDisabledState],\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","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":["i2","i1"],"mappings":";;;;;;;;;;;;;;;;AAgBa,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,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,iBAAA,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;AAChB,oBAAA,cAAc,EAAE,CAAC,+BAA+B,EAAE,iBAAiB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AAC,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: '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","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,CA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