@odx/angular 11.6.0 → 12.0.1

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 (391) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/breakpoints/lib/breakpoints.config.d.ts +1 -1
  3. package/components/calendar/lib/calendar.config.d.ts +1 -1
  4. package/components/card/lib/card.config.d.ts +1 -1
  5. package/components/datepicker/lib/datepicker.config.d.ts +1 -1
  6. package/components/daterangepicker/lib/daterangepicker.config.d.ts +1 -1
  7. package/components/error-page/lib/error-page.config.d.ts +1 -1
  8. package/components/footer/lib/footer.config.d.ts +1 -1
  9. package/components/form-field/lib/form-field.config.d.ts +1 -1
  10. package/components/icon/lib/icon.config.d.ts +1 -1
  11. package/components/main-menu/lib/main-menu.config.d.ts +1 -1
  12. package/components/modal/lib/modal.config.d.ts +1 -1
  13. package/components/notification/lib/notification.config.d.ts +1 -1
  14. package/components/paginator/lib/paginator.config.d.ts +1 -1
  15. package/components/timepicker/lib/directives/timepicker-input-control.directive.d.ts +3 -3
  16. package/components/toast/lib/toast.config.d.ts +1 -1
  17. package/components/tooltip/lib/tooltip.config.d.ts +1 -1
  18. package/esm2022/breakpoints/lib/breakpoints.module.mjs +4 -4
  19. package/esm2022/breakpoints/lib/breakpoints.service.mjs +3 -3
  20. package/esm2022/breakpoints/lib/breakpoints.typings.mjs +1 -1
  21. package/esm2022/breakpoints/lib/directives/match-breakpoints.directive.mjs +3 -3
  22. package/esm2022/cdk/a11y/lib/a11y.module.mjs +4 -4
  23. package/esm2022/cdk/a11y/lib/directives/interactive.directive.mjs +3 -3
  24. package/esm2022/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +3 -3
  25. package/esm2022/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +3 -3
  26. package/esm2022/cdk/active-indicator/lib/active-indicator.directive.mjs +3 -3
  27. package/esm2022/cdk/autocomplete-control/lib/autocomplete-control.mjs +3 -3
  28. package/esm2022/cdk/checkbox-control/lib/checkbox-control.directive.mjs +3 -3
  29. package/esm2022/cdk/connected-overlay/lib/connected-overlay.component.mjs +3 -3
  30. package/esm2022/cdk/connected-overlay/lib/connected-overlay.service.mjs +3 -3
  31. package/esm2022/cdk/custom-form-control/lib/control.directive.mjs +3 -3
  32. package/esm2022/cdk/custom-form-control/lib/custom-form-control.mjs +3 -3
  33. package/esm2022/cdk/custom-form-control/lib/input-control.directive.mjs +3 -3
  34. package/esm2022/cdk/dynamic-view/lib/dynamic-view.component.mjs +3 -3
  35. package/esm2022/cdk/dynamic-view/lib/dynamic-view.directive.mjs +3 -3
  36. package/esm2022/cdk/dynamic-view/lib/dynamic-view.service.mjs +3 -3
  37. package/esm2022/cdk/event-plugins/lib/models/event-plugin.mjs +1 -1
  38. package/esm2022/cdk/event-plugins/lib/plugins/debounce-event-plugin.mjs +5 -5
  39. package/esm2022/cdk/event-plugins/lib/plugins/defer-event-plugin.mjs +5 -5
  40. package/esm2022/cdk/expandable/lib/directives/expandable-container.directive.mjs +3 -3
  41. package/esm2022/cdk/expandable/lib/directives/expandable-item.directive.mjs +3 -3
  42. package/esm2022/cdk/expandable/lib/expandable.module.mjs +4 -4
  43. package/esm2022/cdk/option-control/lib/option-control.mjs +3 -3
  44. package/esm2022/cdk/radio-group-control/lib/radio-control.directive.mjs +3 -3
  45. package/esm2022/cdk/radio-group-control/lib/radio-group-control.directive.mjs +3 -3
  46. package/esm2022/cdk/radio-group-control/lib/radio-group-control.module.mjs +4 -4
  47. package/esm2022/components/accordion/lib/accordion.component.mjs +3 -3
  48. package/esm2022/components/accordion/lib/accordion.module.mjs +4 -4
  49. package/esm2022/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +3 -3
  50. package/esm2022/components/accordion/lib/directives/accordion-item-title.mjs +3 -3
  51. package/esm2022/components/action-group/action-group.component.mjs +3 -3
  52. package/esm2022/components/area-header/area-header.component.mjs +3 -3
  53. package/esm2022/components/area-header/area-header.module.mjs +4 -4
  54. package/esm2022/components/area-header/directives/area-header-content.directive.mjs +3 -3
  55. package/esm2022/components/area-header/directives/area-header-subtitle.directive.mjs +3 -3
  56. package/esm2022/components/autocomplete/lib/autocomplete.component.mjs +3 -3
  57. package/esm2022/components/autocomplete/lib/autocomplete.module.mjs +4 -4
  58. package/esm2022/components/autocomplete/lib/components/option/autocomplete-option.component.mjs +3 -3
  59. package/esm2022/components/autocomplete/lib/directives/autocomplete-input-control.directive.mjs +3 -3
  60. package/esm2022/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.mjs +3 -3
  61. package/esm2022/components/avatar/lib/avatar.component.mjs +3 -3
  62. package/esm2022/components/badge/lib/badge.component.mjs +3 -3
  63. package/esm2022/components/badge/lib/badge.directive.mjs +3 -3
  64. package/esm2022/components/bar/lib/bar.component.mjs +3 -3
  65. package/esm2022/components/bar/lib/bar.module.mjs +4 -4
  66. package/esm2022/components/bar/lib/directives/bar-button.directive.mjs +3 -3
  67. package/esm2022/components/bar/lib/directives/bar-label.directive.mjs +3 -3
  68. package/esm2022/components/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
  69. package/esm2022/components/button/lib/button.component.mjs +3 -3
  70. package/esm2022/components/button/lib/directives/responsive-button.directive.mjs +3 -3
  71. package/esm2022/components/button-group/lib/button-group.component.mjs +3 -3
  72. package/esm2022/components/calendar/lib/calendar.component.mjs +3 -3
  73. package/esm2022/components/calendar/lib/calendar.service.mjs +3 -3
  74. package/esm2022/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +3 -3
  75. package/esm2022/components/calendar/lib/components/calendar-month/calendar-month.component.mjs +3 -3
  76. package/esm2022/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +3 -3
  77. package/esm2022/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +3 -3
  78. package/esm2022/components/calendar/lib/daterange.service.mjs +3 -3
  79. package/esm2022/components/calendar/lib/directives/calendar-cell.directive.mjs +3 -3
  80. package/esm2022/components/calendar/lib/directives/calendar-view.directive.mjs +3 -3
  81. package/esm2022/components/calendar/lib/pipes/date-label.pipe.mjs +3 -3
  82. package/esm2022/components/calendar/lib/services/calendar-month.service.mjs +3 -3
  83. package/esm2022/components/calendar/lib/services/calendar-year.service.mjs +3 -3
  84. package/esm2022/components/calendar/lib/services/calendar-years.service.mjs +3 -3
  85. package/esm2022/components/card/lib/card.component.mjs +3 -3
  86. package/esm2022/components/card/lib/card.module.mjs +4 -4
  87. package/esm2022/components/card/lib/components/card-footer/card-footer.component.mjs +3 -3
  88. package/esm2022/components/card/lib/components/card-image/card-image.component.mjs +3 -3
  89. package/esm2022/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.mjs +3 -3
  90. package/esm2022/components/card/lib/directives/card-content.directive.mjs +3 -3
  91. package/esm2022/components/checkbox/lib/checkbox.component.mjs +3 -3
  92. package/esm2022/components/checkbox/lib/checkbox.module.mjs +4 -4
  93. package/esm2022/components/checkbox/lib/checkbox.validator.mjs +3 -3
  94. package/esm2022/components/chip/lib/components/chip/chip.component.mjs +3 -3
  95. package/esm2022/components/chip/lib/components/chip-list/chip-list.component.mjs +3 -3
  96. package/esm2022/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +3 -3
  97. package/esm2022/components/circular-progress/lib/circular-progress.component.mjs +3 -3
  98. package/esm2022/components/content-box/lib/content-box.component.mjs +3 -3
  99. package/esm2022/components/content-box/lib/content-box.module.mjs +4 -4
  100. package/esm2022/components/content-box/lib/directives/content-box-footer.directive.mjs +3 -3
  101. package/esm2022/components/content-box/lib/directives/content-box-header.directive.mjs +3 -3
  102. package/esm2022/components/datepicker/lib/datepicker.component.mjs +3 -3
  103. package/esm2022/components/datepicker/lib/datepicker.module.mjs +4 -4
  104. package/esm2022/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +4 -4
  105. package/esm2022/components/daterangepicker/lib/daterangepicker.component.mjs +3 -3
  106. package/esm2022/components/daterangepicker/lib/daterangepicker.module.mjs +4 -4
  107. package/esm2022/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.mjs +4 -4
  108. package/esm2022/components/daterangepicker/lib/range.validator.mjs +3 -3
  109. package/esm2022/components/daterangepicker/lib/required.validator.mjs +3 -3
  110. package/esm2022/components/dropdown/lib/dropdown.component.mjs +3 -3
  111. package/esm2022/components/dropdown/lib/dropdown.directive.mjs +3 -3
  112. package/esm2022/components/dropdown/lib/dropdown.module.mjs +4 -4
  113. package/esm2022/components/error-page/lib/error-page.component.mjs +3 -3
  114. package/esm2022/components/footer/lib/footer.component.mjs +3 -3
  115. package/esm2022/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +3 -3
  116. package/esm2022/components/form-field/lib/components/form-group/form-group.component.mjs +3 -3
  117. package/esm2022/components/form-field/lib/directives/form-field-control.directive.mjs +3 -3
  118. package/esm2022/components/form-field/lib/directives/form-field-error.directive.mjs +3 -3
  119. package/esm2022/components/form-field/lib/directives/form-field-hint.directive.mjs +3 -3
  120. package/esm2022/components/form-field/lib/directives/form-field-label.directive.mjs +3 -3
  121. package/esm2022/components/form-field/lib/directives/form.directive.mjs +3 -3
  122. package/esm2022/components/form-field/lib/form-field.component.mjs +3 -3
  123. package/esm2022/components/form-field/lib/form-field.module.mjs +4 -4
  124. package/esm2022/components/form-field/lib/form-field.service.mjs +3 -3
  125. package/esm2022/components/form-field/lib/services/form-field-error.service.mjs +3 -3
  126. package/esm2022/components/header/lib/directives/header-avatar.directive.mjs +3 -3
  127. package/esm2022/components/header/lib/directives/header-title.directive.mjs +3 -3
  128. package/esm2022/components/header/lib/header.component.mjs +3 -3
  129. package/esm2022/components/header/lib/header.module.mjs +4 -4
  130. package/esm2022/components/header-navigation/lib/directives/header-navigation-link.directive.mjs +6 -6
  131. package/esm2022/components/header-navigation/lib/header-navigation.component.mjs +3 -3
  132. package/esm2022/components/header-navigation/lib/header-navigation.module.mjs +4 -4
  133. package/esm2022/components/icon/lib/icon.component.mjs +3 -3
  134. package/esm2022/components/inline-message/lib/inline-message.component.mjs +3 -3
  135. package/esm2022/components/link/link.directive.mjs +3 -3
  136. package/esm2022/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +3 -3
  137. package/esm2022/components/list/lib/components/list-item/list-item.component.mjs +3 -3
  138. package/esm2022/components/list/lib/list.component.mjs +3 -3
  139. package/esm2022/components/list/lib/list.module.mjs +4 -4
  140. package/esm2022/components/loading-spinner/lib/loading-spinner.component.mjs +3 -3
  141. package/esm2022/components/loading-spinner/lib/loading-spinner.directive.mjs +3 -3
  142. package/esm2022/components/loading-spinner/lib/loading-spinner.module.mjs +4 -4
  143. package/esm2022/components/logo/logo.directive.mjs +3 -3
  144. package/esm2022/components/main-menu/lib/directives/main-menu-button.directive.mjs +3 -3
  145. package/esm2022/components/main-menu/lib/directives/main-menu-close.directive.mjs +3 -3
  146. package/esm2022/components/main-menu/lib/directives/main-menu-item.directive.mjs +3 -3
  147. package/esm2022/components/main-menu/lib/main-menu.component.mjs +3 -3
  148. package/esm2022/components/main-menu/lib/main-menu.module.mjs +4 -4
  149. package/esm2022/components/main-menu/lib/main-menu.service.mjs +3 -3
  150. package/esm2022/components/mainfilter-group/lib/mainfilter-group.component.mjs +3 -3
  151. package/esm2022/components/menu/lib/directives/menu-item.directive.mjs +3 -3
  152. package/esm2022/components/menu/lib/menu.component.mjs +3 -3
  153. package/esm2022/components/menu/lib/menu.directive.mjs +3 -3
  154. package/esm2022/components/menu/lib/menu.module.mjs +4 -4
  155. package/esm2022/components/modal/lib/components/basic-modal/basic-modal.component.mjs +3 -3
  156. package/esm2022/components/modal/lib/components/modal-footer/modal-footer.component.mjs +3 -3
  157. package/esm2022/components/modal/lib/components/modal-header/modal-header.component.mjs +3 -3
  158. package/esm2022/components/modal/lib/components/modal-hero/modal-hero.component.mjs +3 -3
  159. package/esm2022/components/modal/lib/directives/modal-close.directive.mjs +3 -3
  160. package/esm2022/components/modal/lib/directives/modal-content.directive.mjs +3 -3
  161. package/esm2022/components/modal/lib/directives/modal-dismiss.directive.mjs +3 -3
  162. package/esm2022/components/modal/lib/directives/prevent-form-method-dialog.directive.mjs +3 -3
  163. package/esm2022/components/modal/lib/directives/prevent-method-dialog.directive.mjs +3 -3
  164. package/esm2022/components/modal/lib/modal.component.mjs +3 -3
  165. package/esm2022/components/modal/lib/modal.directive.mjs +3 -3
  166. package/esm2022/components/modal/lib/modal.module.mjs +4 -4
  167. package/esm2022/components/modal/lib/modal.service.mjs +3 -3
  168. package/esm2022/components/navigation-back/lib/navigation-back.component.mjs +3 -3
  169. package/esm2022/components/notification/lib/components/notification-center/notification-center.component.mjs +3 -3
  170. package/esm2022/components/notification/lib/components/notification-item/notification-item.component.mjs +3 -3
  171. package/esm2022/components/notification/lib/directives/notification-center.directive.mjs +3 -3
  172. package/esm2022/components/notification/lib/notification.service.mjs +3 -3
  173. package/esm2022/components/notification/lib/services/notification-center.service.mjs +3 -3
  174. package/esm2022/components/paginator/lib/paginator.component.mjs +3 -3
  175. package/esm2022/components/paginator/lib/paginator.module.mjs +4 -4
  176. package/esm2022/components/progress/lib/progress.component.mjs +3 -3
  177. package/esm2022/components/radio-group/lib/components/radio-button/radio-button.component.mjs +3 -3
  178. package/esm2022/components/radio-group/lib/radio-group.component.mjs +3 -3
  179. package/esm2022/components/radio-group/lib/radio-group.module.mjs +4 -4
  180. package/esm2022/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +3 -3
  181. package/esm2022/components/rail-navigation/lib/rail-navigation.component.mjs +3 -3
  182. package/esm2022/components/rail-navigation/lib/rail-navigation.module.mjs +4 -4
  183. package/esm2022/components/rich-list/lib/components/rich-list-content/rich-list-content.component.mjs +3 -3
  184. package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +3 -3
  185. package/esm2022/components/rich-list/lib/components/rich-list-item-header/rich-list-item-header.component.mjs +3 -3
  186. package/esm2022/components/rich-list/lib/rich-list.component.mjs +3 -3
  187. package/esm2022/components/rich-list/lib/rich-list.module.mjs +4 -4
  188. package/esm2022/components/search-bar/lib/search-bar-control.directive.mjs +3 -3
  189. package/esm2022/components/search-bar/lib/search-bar.component.mjs +3 -3
  190. package/esm2022/components/search-bar/lib/search-bar.module.mjs +4 -4
  191. package/esm2022/components/select/lib/components/select-option/select-option.component.mjs +3 -3
  192. package/esm2022/components/select/lib/directives/select-input-control.directive.mjs +3 -3
  193. package/esm2022/components/select/lib/pipes/select-search-filter.pipe.mjs +3 -3
  194. package/esm2022/components/select/lib/select.component.mjs +3 -3
  195. package/esm2022/components/select/lib/select.module.mjs +4 -4
  196. package/esm2022/components/slider/lib/slider.directive.mjs +3 -3
  197. package/esm2022/components/spinbox/lib/spinbox.component.mjs +3 -3
  198. package/esm2022/components/switch/lib/switch.component.mjs +3 -3
  199. package/esm2022/components/switch/lib/switch.module.mjs +4 -4
  200. package/esm2022/components/switch/lib/switch.validator.mjs +3 -3
  201. package/esm2022/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +3 -3
  202. package/esm2022/components/tab-bar/lib/tab-bar.component.mjs +3 -3
  203. package/esm2022/components/tab-bar/lib/tab-bar.module.mjs +4 -4
  204. package/esm2022/components/table/lib/components/check-cell/check-cell.component.mjs +3 -3
  205. package/esm2022/components/table/lib/components/header-title/header-title.component.mjs +3 -3
  206. package/esm2022/components/table/lib/directives/table-cell.directive.mjs +3 -3
  207. package/esm2022/components/table/lib/directives/table-row.directive.mjs +3 -3
  208. package/esm2022/components/table/lib/table.component.mjs +3 -3
  209. package/esm2022/components/table/lib/table.module.mjs +4 -4
  210. package/esm2022/components/timepicker/lib/components/timepicker-option.component.mjs +3 -3
  211. package/esm2022/components/timepicker/lib/directives/timepicker-input-control.directive.mjs +5 -5
  212. package/esm2022/components/timepicker/lib/timepicker.component.mjs +3 -3
  213. package/esm2022/components/timepicker/lib/timepicker.module.mjs +4 -4
  214. package/esm2022/components/timepicker/lib/timepicker.service.mjs +3 -3
  215. package/esm2022/components/toast/lib/components/toast-container/toast-container.component.mjs +3 -3
  216. package/esm2022/components/toast/lib/components/toast-item/toast-item.component.mjs +3 -3
  217. package/esm2022/components/toast/lib/toast.module.mjs +4 -4
  218. package/esm2022/components/toast/lib/toast.service.mjs +3 -3
  219. package/esm2022/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +3 -3
  220. package/esm2022/components/toggle-button-group/lib/toggle-button-group.component.mjs +3 -3
  221. package/esm2022/components/toggle-button-group/lib/toggle-button-group.module.mjs +4 -4
  222. package/esm2022/components/tooltip/lib/tooltip.component.mjs +3 -3
  223. package/esm2022/components/tooltip/lib/tooltip.directive.mjs +3 -3
  224. package/esm2022/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +3 -3
  225. package/esm2022/components/wizard/lib/wizard.component.mjs +3 -3
  226. package/esm2022/components/wizard/lib/wizard.module.mjs +4 -4
  227. package/esm2022/internal/translate/lib/pipes/translate.pipe.mjs +3 -3
  228. package/esm2022/lib/controllers/controller.mjs +3 -3
  229. package/esm2022/lib/controllers/disabled.controller.mjs +3 -3
  230. package/esm2022/lib/controllers/readonly.controller.mjs +3 -3
  231. package/esm2022/lib/core.module.mjs +4 -4
  232. package/esm2022/lib/directives/click-outside.directive.mjs +3 -3
  233. package/esm2022/lib/directives/delegate-focus.directive.mjs +3 -3
  234. package/esm2022/lib/directives/with-disabled-state.directive.mjs +3 -3
  235. package/esm2022/lib/directives/with-tabindex.directive.mjs +3 -3
  236. package/esm2022/lib/services/window-ref.mjs +3 -3
  237. package/esm2022/localization/lib/localization.service.mjs +3 -3
  238. package/esm2022/theming/lib/theming.service.mjs +3 -3
  239. package/esm2022/utils/lib/helpers/dom.mjs +3 -2
  240. package/esm2022/utils/lib/helpers/event-manager.mjs +3 -3
  241. package/fesm2022/odx-angular-animations.mjs.map +1 -1
  242. package/fesm2022/odx-angular-breakpoints.mjs +10 -10
  243. package/fesm2022/odx-angular-breakpoints.mjs.map +1 -1
  244. package/fesm2022/odx-angular-cdk-a11y.mjs +13 -13
  245. package/fesm2022/odx-angular-cdk-a11y.mjs.map +1 -1
  246. package/fesm2022/odx-angular-cdk-active-indicator.mjs +3 -3
  247. package/fesm2022/odx-angular-cdk-active-indicator.mjs.map +1 -1
  248. package/fesm2022/odx-angular-cdk-autocomplete-control.mjs +3 -3
  249. package/fesm2022/odx-angular-cdk-autocomplete-control.mjs.map +1 -1
  250. package/fesm2022/odx-angular-cdk-checkbox-control.mjs +3 -3
  251. package/fesm2022/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  252. package/fesm2022/odx-angular-cdk-connected-overlay.mjs +6 -6
  253. package/fesm2022/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  254. package/fesm2022/odx-angular-cdk-custom-form-control.mjs +9 -9
  255. package/fesm2022/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  256. package/fesm2022/odx-angular-cdk-dynamic-view.mjs +9 -9
  257. package/fesm2022/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  258. package/fesm2022/odx-angular-cdk-event-plugins.mjs +8 -8
  259. package/fesm2022/odx-angular-cdk-event-plugins.mjs.map +1 -1
  260. package/fesm2022/odx-angular-cdk-expandable.mjs +10 -10
  261. package/fesm2022/odx-angular-cdk-expandable.mjs.map +1 -1
  262. package/fesm2022/odx-angular-cdk-option-control.mjs +3 -3
  263. package/fesm2022/odx-angular-cdk-option-control.mjs.map +1 -1
  264. package/fesm2022/odx-angular-cdk-radio-group-control.mjs +10 -10
  265. package/fesm2022/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  266. package/fesm2022/odx-angular-components-accordion.mjs +13 -13
  267. package/fesm2022/odx-angular-components-accordion.mjs.map +1 -1
  268. package/fesm2022/odx-angular-components-action-group.mjs +3 -3
  269. package/fesm2022/odx-angular-components-action-group.mjs.map +1 -1
  270. package/fesm2022/odx-angular-components-area-header.mjs +13 -13
  271. package/fesm2022/odx-angular-components-area-header.mjs.map +1 -1
  272. package/fesm2022/odx-angular-components-autocomplete.mjs +16 -16
  273. package/fesm2022/odx-angular-components-autocomplete.mjs.map +1 -1
  274. package/fesm2022/odx-angular-components-avatar.mjs +3 -3
  275. package/fesm2022/odx-angular-components-avatar.mjs.map +1 -1
  276. package/fesm2022/odx-angular-components-badge.mjs +6 -6
  277. package/fesm2022/odx-angular-components-badge.mjs.map +1 -1
  278. package/fesm2022/odx-angular-components-bar.mjs +13 -13
  279. package/fesm2022/odx-angular-components-bar.mjs.map +1 -1
  280. package/fesm2022/odx-angular-components-breadcrumbs.mjs +3 -3
  281. package/fesm2022/odx-angular-components-breadcrumbs.mjs.map +1 -1
  282. package/fesm2022/odx-angular-components-button-group.mjs +3 -3
  283. package/fesm2022/odx-angular-components-button-group.mjs.map +1 -1
  284. package/fesm2022/odx-angular-components-button.mjs +6 -6
  285. package/fesm2022/odx-angular-components-button.mjs.map +1 -1
  286. package/fesm2022/odx-angular-components-calendar.mjs +39 -39
  287. package/fesm2022/odx-angular-components-calendar.mjs.map +1 -1
  288. package/fesm2022/odx-angular-components-card.mjs +19 -19
  289. package/fesm2022/odx-angular-components-card.mjs.map +1 -1
  290. package/fesm2022/odx-angular-components-checkbox.mjs +10 -10
  291. package/fesm2022/odx-angular-components-checkbox.mjs.map +1 -1
  292. package/fesm2022/odx-angular-components-chip.mjs +9 -9
  293. package/fesm2022/odx-angular-components-chip.mjs.map +1 -1
  294. package/fesm2022/odx-angular-components-circular-progress.mjs +3 -3
  295. package/fesm2022/odx-angular-components-circular-progress.mjs.map +1 -1
  296. package/fesm2022/odx-angular-components-content-box.mjs +13 -13
  297. package/fesm2022/odx-angular-components-content-box.mjs.map +1 -1
  298. package/fesm2022/odx-angular-components-datepicker.mjs +10 -10
  299. package/fesm2022/odx-angular-components-datepicker.mjs.map +1 -1
  300. package/fesm2022/odx-angular-components-daterangepicker.mjs +16 -16
  301. package/fesm2022/odx-angular-components-daterangepicker.mjs.map +1 -1
  302. package/fesm2022/odx-angular-components-dropdown.mjs +10 -10
  303. package/fesm2022/odx-angular-components-dropdown.mjs.map +1 -1
  304. package/fesm2022/odx-angular-components-error-page.mjs +3 -3
  305. package/fesm2022/odx-angular-components-error-page.mjs.map +1 -1
  306. package/fesm2022/odx-angular-components-footer.mjs +3 -3
  307. package/fesm2022/odx-angular-components-footer.mjs.map +1 -1
  308. package/fesm2022/odx-angular-components-form-field.mjs +34 -34
  309. package/fesm2022/odx-angular-components-form-field.mjs.map +1 -1
  310. package/fesm2022/odx-angular-components-header-navigation.mjs +13 -13
  311. package/fesm2022/odx-angular-components-header-navigation.mjs.map +1 -1
  312. package/fesm2022/odx-angular-components-header.mjs +13 -13
  313. package/fesm2022/odx-angular-components-header.mjs.map +1 -1
  314. package/fesm2022/odx-angular-components-icon.mjs +3 -3
  315. package/fesm2022/odx-angular-components-icon.mjs.map +1 -1
  316. package/fesm2022/odx-angular-components-inline-message.mjs +3 -3
  317. package/fesm2022/odx-angular-components-inline-message.mjs.map +1 -1
  318. package/fesm2022/odx-angular-components-link.mjs +3 -3
  319. package/fesm2022/odx-angular-components-link.mjs.map +1 -1
  320. package/fesm2022/odx-angular-components-list.mjs +13 -13
  321. package/fesm2022/odx-angular-components-list.mjs.map +1 -1
  322. package/fesm2022/odx-angular-components-loading-spinner.mjs +10 -10
  323. package/fesm2022/odx-angular-components-loading-spinner.mjs.map +1 -1
  324. package/fesm2022/odx-angular-components-logo.mjs +3 -3
  325. package/fesm2022/odx-angular-components-logo.mjs.map +1 -1
  326. package/fesm2022/odx-angular-components-main-menu.mjs +19 -19
  327. package/fesm2022/odx-angular-components-main-menu.mjs.map +1 -1
  328. package/fesm2022/odx-angular-components-mainfilter-group.mjs +3 -3
  329. package/fesm2022/odx-angular-components-mainfilter-group.mjs.map +1 -1
  330. package/fesm2022/odx-angular-components-menu.mjs +13 -13
  331. package/fesm2022/odx-angular-components-menu.mjs.map +1 -1
  332. package/fesm2022/odx-angular-components-modal.mjs +40 -40
  333. package/fesm2022/odx-angular-components-modal.mjs.map +1 -1
  334. package/fesm2022/odx-angular-components-navigation-back.mjs +3 -3
  335. package/fesm2022/odx-angular-components-navigation-back.mjs.map +1 -1
  336. package/fesm2022/odx-angular-components-notification-testing.mjs.map +1 -1
  337. package/fesm2022/odx-angular-components-notification.mjs +15 -15
  338. package/fesm2022/odx-angular-components-notification.mjs.map +1 -1
  339. package/fesm2022/odx-angular-components-paginator.mjs +7 -7
  340. package/fesm2022/odx-angular-components-paginator.mjs.map +1 -1
  341. package/fesm2022/odx-angular-components-progress.mjs +3 -3
  342. package/fesm2022/odx-angular-components-progress.mjs.map +1 -1
  343. package/fesm2022/odx-angular-components-radio-group.mjs +10 -10
  344. package/fesm2022/odx-angular-components-radio-group.mjs.map +1 -1
  345. package/fesm2022/odx-angular-components-rail-navigation.mjs +10 -10
  346. package/fesm2022/odx-angular-components-rail-navigation.mjs.map +1 -1
  347. package/fesm2022/odx-angular-components-rich-list.mjs +16 -16
  348. package/fesm2022/odx-angular-components-rich-list.mjs.map +1 -1
  349. package/fesm2022/odx-angular-components-search-bar.mjs +10 -10
  350. package/fesm2022/odx-angular-components-search-bar.mjs.map +1 -1
  351. package/fesm2022/odx-angular-components-select.mjs +16 -16
  352. package/fesm2022/odx-angular-components-select.mjs.map +1 -1
  353. package/fesm2022/odx-angular-components-slider.mjs +3 -3
  354. package/fesm2022/odx-angular-components-slider.mjs.map +1 -1
  355. package/fesm2022/odx-angular-components-spinbox.mjs +3 -3
  356. package/fesm2022/odx-angular-components-spinbox.mjs.map +1 -1
  357. package/fesm2022/odx-angular-components-switch.mjs +10 -10
  358. package/fesm2022/odx-angular-components-switch.mjs.map +1 -1
  359. package/fesm2022/odx-angular-components-tab-bar.mjs +10 -10
  360. package/fesm2022/odx-angular-components-tab-bar.mjs.map +1 -1
  361. package/fesm2022/odx-angular-components-table.mjs +19 -19
  362. package/fesm2022/odx-angular-components-table.mjs.map +1 -1
  363. package/fesm2022/odx-angular-components-timepicker.mjs +17 -17
  364. package/fesm2022/odx-angular-components-timepicker.mjs.map +1 -1
  365. package/fesm2022/odx-angular-components-toast.mjs +13 -13
  366. package/fesm2022/odx-angular-components-toast.mjs.map +1 -1
  367. package/fesm2022/odx-angular-components-toggle-button-group.mjs +10 -10
  368. package/fesm2022/odx-angular-components-toggle-button-group.mjs.map +1 -1
  369. package/fesm2022/odx-angular-components-tooltip.mjs +6 -6
  370. package/fesm2022/odx-angular-components-tooltip.mjs.map +1 -1
  371. package/fesm2022/odx-angular-components-wizard.mjs +10 -10
  372. package/fesm2022/odx-angular-components-wizard.mjs.map +1 -1
  373. package/fesm2022/odx-angular-internal-translate.mjs +3 -3
  374. package/fesm2022/odx-angular-internal-translate.mjs.map +1 -1
  375. package/fesm2022/odx-angular-internal.mjs.map +1 -1
  376. package/fesm2022/odx-angular-localization.mjs +3 -3
  377. package/fesm2022/odx-angular-localization.mjs.map +1 -1
  378. package/fesm2022/odx-angular-rxjs.mjs.map +1 -1
  379. package/fesm2022/odx-angular-sdk.mjs.map +1 -1
  380. package/fesm2022/odx-angular-theming.mjs +3 -3
  381. package/fesm2022/odx-angular-theming.mjs.map +1 -1
  382. package/fesm2022/odx-angular-utils.mjs +5 -4
  383. package/fesm2022/odx-angular-utils.mjs.map +1 -1
  384. package/fesm2022/odx-angular.mjs +28 -28
  385. package/fesm2022/odx-angular.mjs.map +1 -1
  386. package/internal/lib/helpers/deepmerge.d.ts +1 -1
  387. package/localization/lib/localization.config.d.ts +1 -1
  388. package/package.json +13 -13
  389. package/theming/lib/theming.config.d.ts +1 -1
  390. package/utils/lib/helpers/dom.d.ts +1 -1
  391. package/utils/lib/helpers/provide-config.d.ts +1 -1
@@ -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/main-menu.config.ts","../../../../libs/angular/components/main-menu/src/lib/helpers/create-main-menu-links.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.i18n.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-close.directive.ts","../../../../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 { BehaviorSubject, distinctUntilChanged, shareReplay } from 'rxjs';\n\n/**\n * Provides control over the state of the main menu, allowing components to open, close, or toggle its visibility.\n * This service uses a BehaviorSubject to manage the open state and exposes an observable that emits the current state.\n */\n@Injectable({ providedIn: 'root' })\nexport class MainMenuService {\n private readonly isOpen$$ = new BehaviorSubject(false);\n\n /**\n * An Observable that emits the current state of the menu's visibility.\n * It uses distinctUntilChanged to prevent unnecessary emissions when the state hasn't actually changed.\n * shareReplay is configured to cache the last value for any late subscribers.\n *\n * @emits {boolean} The current visibility state of the main menu.\n */\n public readonly isOpen$ = this.isOpen$$.pipe(distinctUntilChanged(), shareReplay({ bufferSize: 1, refCount: true }));\n\n /**\n * Returns the current visibility state of the main menu.\n *\n * @returns {boolean} True if the menu is open, false otherwise.\n */\n public isOpen(): boolean {\n return this.isOpen$$.getValue();\n }\n\n /**\n * Opens the main menu by setting its state to true.\n */\n public open(): void {\n this.toggle(true);\n }\n\n /**\n * Closes the main menu by setting its state to false.\n */\n public close(): void {\n this.toggle(false);\n }\n\n /**\n * Toggles the visibility state of the main menu.\n *\n * @param {boolean | undefined} forceState - If provided, the menu will be set to this specific state. If not provided,\n * the menu will toggle to the opposite of its current state.\n */\n public toggle(forceState?: boolean): void {\n this.isOpen$$.next(forceState ?? !this.isOpen());\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/**\n * Represents a directive for a main menu button.\n * This directive is used to toggle the main menu.\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 protected onClick() {\n this.mainMenuService.toggle();\n }\n}\n","import { buildWebsiteUrl, createConfigTokens } from '@odx/angular/utils';\nimport { Observable } from 'rxjs';\nimport { MainMenuLink } from './models';\n\nexport interface MainMenuLinksConfig {\n dataProtectionUrl?: string | null;\n legalNoticeUrl: string | null;\n providerIdentificationUrl: string | null;\n termsAndConditionsUrl?: string | null;\n openSourceUrl?: string | null;\n statusUrl?: string | null;\n dynamicLinks?: Observable<MainMenuLink[]>;\n}\n\n/**\n * Tokens generated to provide and inject `MainMenuLinksConfig`. These tokens are used to configure and access main menu links throughout the application.\n *\n * @exports\n * - `MainMenuLinksConfig` - Token for injecting the config.\n * - `MainMenuLinksDefaultConfig` - Default configuration for main menu links.\n * - `injectMainMenuLinksConfig` - Function to inject the config wherever needed.\n * - `provideMainMenuLinksConfig` - Provider function to configure and provide the config in Angular's DI system.\n *\n * @example\n * ```ts\n * // Providing main menu links in an Angular module\n * @NgModule({\n * providers: [\n * provideMainMenuLinksConfig({\n * legalNoticeUrl: 'https://example.com/legalnotice',\n * providerIdentificationUrl: 'https://example.com/provideridentification',\n * }),\n * ],\n * })\n * export class AppModule { }\n *\n * // Injecting and using the main menu links configuration in a component\n * @Component({ ... })\n * export class MyComponent {\n * constructor(@Inject(MainMenuLinksConfig) private config: MainMenuLinksConfig) {\n * console.log('Legal Notice URL:', config.legalNoticeUrl);\n * }\n * }\n * ```\n */\nexport const { MainMenuLinksConfig, MainMenuLinksDefaultConfig, injectMainMenuLinksConfig, provideMainMenuLinksConfig } = createConfigTokens(\n 'MainMenuLinks',\n '@odx/angular/components/main-menu',\n {\n providerIdentificationUrl: buildWebsiteUrl('provideridentification'),\n legalNoticeUrl: buildWebsiteUrl('legalnotice'),\n } as MainMenuLinksConfig,\n);\n","import { Observable, combineLatest, map, of } from 'rxjs';\nimport { injectMainMenuLinksConfig } from '../main-menu.config';\nimport { MainMenuLink } from '../models';\n\n/** @internal */\nexport function createMainMenuLinks$(): Observable<MainMenuLink[]> {\n const { legalNoticeUrl, providerIdentificationUrl, dataProtectionUrl, openSourceUrl, termsAndConditionsUrl, statusUrl, dynamicLinks } =\n injectMainMenuLinksConfig();\n const dynamicLinks$ = dynamicLinks ?? of([]);\n const links = [\n { name: 'status', url: statusUrl },\n { name: 'termsAndConditions', url: termsAndConditionsUrl },\n { name: 'providerIdentification', url: providerIdentificationUrl },\n { name: 'openSource', url: openSourceUrl },\n { name: 'dataProtection', url: dataProtectionUrl },\n { name: 'legalNotice', url: legalNoticeUrl },\n ];\n\n return combineLatest([dynamicLinks$, of(links)].filter(Boolean)).pipe(map((links) => links.flat().filter((link): link is MainMenuLink => !!link.url)));\n}\n","import { TranslationObject } from '@odx/angular/internal/translate';\n\nexport default {\n en: {\n legalNotice: 'Legal notice',\n providerIdentification: 'Provider identification',\n dataProtection: 'Data protection',\n openSource: 'Open-source licenses',\n termsAndConditions: 'Terms and Conditions',\n status: 'Status',\n },\n de: {\n legalNotice: 'Rechtliche Hinweise',\n providerIdentification: 'Impressum',\n dataProtection: 'Datenschutz',\n openSource: 'Open-Source-Lizenzen',\n termsAndConditions: 'Allgemeine Geschäftsbedingungen',\n status: 'Status',\n },\n} as TranslationObject;\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostListener,\n Input,\n Output,\n ViewChild,\n ViewEncapsulation,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { DynamicTextContent, DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { AreaHeaderModule } from '@odx/angular/components/area-header';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LinkDirective } from '@odx/angular/components/link';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { TranslatePipe, provideTranslations } from '@odx/angular/internal/translate';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\nimport { fromEvent, tap } from 'rxjs';\nimport { createMainMenuLinks$ } from './helpers';\nimport mainMenuTranslations from './main-menu.i18n';\nimport { MainMenuService } from './main-menu.service';\n\n/**\n * The `MainMenuComponent` provides a comprehensive user interface component for displaying a navigation menu within an application.\n * It supports dynamic content for titles, subtitles, and copyright text, and can dynamically render additional links.\n * The menu includes animations for opening and closing states, and can be controlled programmatically or via user interaction.\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, TranslatePipe, LinkDirective, DynamicViewDirective],\n providers: [provideTranslations(mainMenuTranslations)],\n standalone: true,\n host: { '[class.is-open]': 'isOpen' },\n})\nexport class MainMenuComponent implements AfterViewInit {\n private readonly takeUntilDestroyed = untilDestroyed();\n protected readonly mainMenuService = inject(MainMenuService);\n protected readonly mainMenuLinks$ = createMainMenuLinks$();\n protected readonly isOpen$ = this.mainMenuService.isOpen$.pipe(tap((isOpen: boolean) => this.slideMenuInner(isOpen)));\n public readonly element = injectElement();\n\n /**\n * Input property for the title of the menu. The content is dynamic, allowing complex content structures\n * like translations or custom components.\n *\n * @type {DynamicTextContent}\n */\n @Input({ required: true })\n public title!: DynamicTextContent;\n\n /**\n * Optional input property for the subtitle of the menu.\n *\n * @type {DynamicTextContent | null}\n * @default null\n */\n @Input()\n public subtitle?: DynamicTextContent | null = null;\n\n /**\n * Optional input property for the copyright text of the menu.\n *\n * @type {DynamicTextContent | null}\n * @default null\n */\n @Input()\n public copyright?: DynamicTextContent | null = null;\n\n /**\n * Input property to control the open state of the menu. Uses boolean transformation to handle true/false states.\n * Changing this property will toggle the menu's open state via the MainMenuService.\n *\n * @param {boolean} value - The open state of the menu.\n */\n @Input({ transform: booleanAttribute })\n public set isOpen(value: boolean) {\n this.mainMenuService.toggle(value);\n }\n\n /**\n * Returns the current open state of the menu from the MainMenuService.\n *\n * @returns {boolean} `true` if the menu is open, `false` otherwise.\n */\n public get isOpen(): boolean {\n return this.mainMenuService.isOpen();\n }\n\n /**\n * Outputs the observable that tracks the open state of the menu.\n *\n * @emits {boolean} The open state of the menu.\n */\n @Output()\n public menuOpen = this.mainMenuService.isOpen$;\n\n @ViewChild('menuInner')\n public menuInner!: ElementRef<HTMLElement>;\n\n public ngAfterViewInit(): void {\n fromEvent<Event>(this.menuInner?.nativeElement, 'toggle')\n .pipe(\n tap((e) => 'newState' in e && this.mainMenuService.toggle(e.newState === 'open')),\n this.takeUntilDestroyed(),\n )\n .subscribe();\n }\n\n /**\n * Closes the menu.\n */\n @HostListener('window:keyup.esc')\n public close(): void {\n this.mainMenuService.close();\n }\n\n private slideMenuInner(isOpen = false): void {\n const { nativeElement } = this.menuInner || {};\n if (!(nativeElement && this.isPopoverElement(nativeElement))) return;\n const method = isOpen ? 'showPopover' : 'hidePopover';\n nativeElement[method]();\n }\n\n private isPopoverElement(element: HTMLElement): element is HTMLElement & { showPopover: () => void; hidePopover: () => void } {\n return element.hasAttribute('popover') && 'showPopover' in element && 'hidePopover' in element;\n }\n}\n","<aside class=\"odx-main-menu__inner\" [ngClass]=\"(isOpen$ | async) ? 'opened' : 'closed'\" #menuInner popover=\"auto\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <div class=\"odx-main-menu__actions\">\n <button class=\"odx-main-menu__close\" odxButton disabled=\"false\" (click)=\"close()\"><odx-icon name=\"close\" iconSet=\"core\" /></button>\n </div>\n <odx-area-header class=\"odx-main-menu__header\" size=\"large\">\n <ng-template [odxDynamicView]=\"title\" />\n @if (subtitle) {\n <odx-area-header-subtitle>\n <ng-template [odxDynamicView]=\"subtitle\" />\n </odx-area-header-subtitle>\n }\n </odx-area-header>\n <nav class=\"odx-main-menu__content\">\n <ng-content />\n </nav>\n <div class=\"odx-main-menu__info\">\n <ng-content select=\"[odxLink]\" />\n @for (link of mainMenuLinks$ | async; track $index) {\n <a odxLink [href]=\"link.url\" target=\"_blank\">\n {{ link.name | odxTranslate | async }}\n </a>\n }\n </div>\n <div class=\"odx-main-menu__footer\">\n <odx-logo variant=\"inverse\" />\n @if (copyright) {\n <p class=\"odx-text odx-text--small\">\n <ng-template [odxDynamicView]=\"copyright\" />\n </p>\n }\n </div>\n</aside>\n","import { Directive, HostListener, inject } from '@angular/core';\nimport { MainMenuComponent } from '../main-menu.component';\n\n/**\n * Represents a directive for closing the main menu.\n */\n@Directive({\n standalone: true,\n selector: '[odxMainMenuClose]',\n})\nexport class MainMenuCloseDirective {\n private readonly mainMenu = inject(MainMenuComponent, { optional: true });\n\n @HostListener('click')\n protected onClick(): void {\n this.mainMenu?.close();\n }\n}\n","import { booleanAttribute, 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 } from '@odx/angular/utils';\nimport { MainMenuCloseDirective } from './main-menu-close.directive';\n\n/**\n * Represents a directive for a main menu item.\n * This directive is used to define a main menu item.\n * Has host directives for disabled state, tabindex, and closing the main menu.\n *\n * @see {WithDisabledState}\n * @see {WithTabIndex}\n * @see {MainMenuCloseDirective}\n */\n@CSSComponent('main-menu-item')\n@Directive({\n selector: '[odxMainMenuItem]',\n standalone: true,\n hostDirectives: [WithDisabledState, WithTabIndex, MainMenuCloseDirective],\n host: {\n '[class.is-selected]': 'isSelected || routerLinkActive?.isActive',\n '[attr.role]': '\"button\"',\n },\n})\nexport class MainMenuItemDirective {\n protected readonly routerLinkActive = inject(RouterLinkActive, { optional: true });\n\n public readonly element = injectElement();\n\n /**\n * Optionally specifies whether the menu item is selected.\n * If not specified, the menu item will not be selected.\n *\n * @type {boolean}\n * @default false\n */\n @Input({ transform: booleanAttribute })\n public isSelected = false;\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { LinkDirective } from '@odx/angular/components/link';\nimport { MainMenuButtonDirective, MainMenuCloseDirective, MainMenuItemDirective } from './directives';\nimport { MainMenuComponent } from './main-menu.component';\n\nconst modules = [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective, MainMenuCloseDirective];\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","i2.MainMenuCloseDirective"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAGA;;;AAGG;MAEU,eAAe,CAAA;AAD5B,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;AAEvD;;;;;;AAMG;QACa,IAAO,CAAA,OAAA,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AAkCtH,KAAA;AAhCC;;;;AAIG;IACI,MAAM,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;KACjC;AAED;;AAEG;IACI,IAAI,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;KACnB;AAED;;AAEG;IACI,KAAK,GAAA;AACV,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KACpB;AAED;;;;;AAKG;AACI,IAAA,MAAM,CAAC,UAAoB,EAAA;AAChC,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;KAClD;+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,EAAA,CAAA,CAAA,EAAA;gHAM5G,cAAc,EAAA,OAAA,EAAA,CANK,iBAAiB,EAIrC,UAAU,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAET,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.config.ts","../../../../libs/angular/components/main-menu/src/lib/helpers/create-main-menu-links.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.i18n.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-close.directive.ts","../../../../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 { BehaviorSubject, distinctUntilChanged, shareReplay } from 'rxjs';\n\n/**\n * Provides control over the state of the main menu, allowing components to open, close, or toggle its visibility.\n * This service uses a BehaviorSubject to manage the open state and exposes an observable that emits the current state.\n */\n@Injectable({ providedIn: 'root' })\nexport class MainMenuService {\n private readonly isOpen$$ = new BehaviorSubject(false);\n\n /**\n * An Observable that emits the current state of the menu's visibility.\n * It uses distinctUntilChanged to prevent unnecessary emissions when the state hasn't actually changed.\n * shareReplay is configured to cache the last value for any late subscribers.\n *\n * @emits {boolean} The current visibility state of the main menu.\n */\n public readonly isOpen$ = this.isOpen$$.pipe(distinctUntilChanged(), shareReplay({ bufferSize: 1, refCount: true }));\n\n /**\n * Returns the current visibility state of the main menu.\n *\n * @returns {boolean} True if the menu is open, false otherwise.\n */\n public isOpen(): boolean {\n return this.isOpen$$.getValue();\n }\n\n /**\n * Opens the main menu by setting its state to true.\n */\n public open(): void {\n this.toggle(true);\n }\n\n /**\n * Closes the main menu by setting its state to false.\n */\n public close(): void {\n this.toggle(false);\n }\n\n /**\n * Toggles the visibility state of the main menu.\n *\n * @param {boolean | undefined} forceState - If provided, the menu will be set to this specific state. If not provided,\n * the menu will toggle to the opposite of its current state.\n */\n public toggle(forceState?: boolean): void {\n this.isOpen$$.next(forceState ?? !this.isOpen());\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/**\n * Represents a directive for a main menu button.\n * This directive is used to toggle the main menu.\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 protected onClick() {\n this.mainMenuService.toggle();\n }\n}\n","import { buildWebsiteUrl, createConfigTokens } from '@odx/angular/utils';\nimport { Observable } from 'rxjs';\nimport { MainMenuLink } from './models';\n\nexport interface MainMenuLinksConfig {\n dataProtectionUrl?: string | null;\n legalNoticeUrl: string | null;\n providerIdentificationUrl: string | null;\n termsAndConditionsUrl?: string | null;\n openSourceUrl?: string | null;\n statusUrl?: string | null;\n dynamicLinks?: Observable<MainMenuLink[]>;\n}\n\n/**\n * Tokens generated to provide and inject `MainMenuLinksConfig`. These tokens are used to configure and access main menu links throughout the application.\n *\n * @exports\n * - `MainMenuLinksConfig` - Token for injecting the config.\n * - `MainMenuLinksDefaultConfig` - Default configuration for main menu links.\n * - `injectMainMenuLinksConfig` - Function to inject the config wherever needed.\n * - `provideMainMenuLinksConfig` - Provider function to configure and provide the config in Angular's DI system.\n *\n * @example\n * ```ts\n * // Providing main menu links in an Angular module\n * @NgModule({\n * providers: [\n * provideMainMenuLinksConfig({\n * legalNoticeUrl: 'https://example.com/legalnotice',\n * providerIdentificationUrl: 'https://example.com/provideridentification',\n * }),\n * ],\n * })\n * export class AppModule { }\n *\n * // Injecting and using the main menu links configuration in a component\n * @Component({ ... })\n * export class MyComponent {\n * constructor(@Inject(MainMenuLinksConfig) private config: MainMenuLinksConfig) {\n * console.log('Legal Notice URL:', config.legalNoticeUrl);\n * }\n * }\n * ```\n */\nexport const { MainMenuLinksConfig, MainMenuLinksDefaultConfig, injectMainMenuLinksConfig, provideMainMenuLinksConfig } = createConfigTokens(\n 'MainMenuLinks',\n '@odx/angular/components/main-menu',\n {\n providerIdentificationUrl: buildWebsiteUrl('provideridentification'),\n legalNoticeUrl: buildWebsiteUrl('legalnotice'),\n } as MainMenuLinksConfig,\n);\n","import { Observable, combineLatest, map, of } from 'rxjs';\nimport { injectMainMenuLinksConfig } from '../main-menu.config';\nimport { MainMenuLink } from '../models';\n\n/** @internal */\nexport function createMainMenuLinks$(): Observable<MainMenuLink[]> {\n const { legalNoticeUrl, providerIdentificationUrl, dataProtectionUrl, openSourceUrl, termsAndConditionsUrl, statusUrl, dynamicLinks } =\n injectMainMenuLinksConfig();\n const dynamicLinks$ = dynamicLinks ?? of([]);\n const links = [\n { name: 'status', url: statusUrl },\n { name: 'termsAndConditions', url: termsAndConditionsUrl },\n { name: 'providerIdentification', url: providerIdentificationUrl },\n { name: 'openSource', url: openSourceUrl },\n { name: 'dataProtection', url: dataProtectionUrl },\n { name: 'legalNotice', url: legalNoticeUrl },\n ];\n\n return combineLatest([dynamicLinks$, of(links)].filter(Boolean)).pipe(map((links) => links.flat().filter((link): link is MainMenuLink => !!link.url)));\n}\n","import { TranslationObject } from '@odx/angular/internal/translate';\n\nexport default {\n en: {\n legalNotice: 'Legal notice',\n providerIdentification: 'Provider identification',\n dataProtection: 'Data protection',\n openSource: 'Open-source licenses',\n termsAndConditions: 'Terms and Conditions',\n status: 'Status',\n },\n de: {\n legalNotice: 'Rechtliche Hinweise',\n providerIdentification: 'Impressum',\n dataProtection: 'Datenschutz',\n openSource: 'Open-Source-Lizenzen',\n termsAndConditions: 'Allgemeine Geschäftsbedingungen',\n status: 'Status',\n },\n} as TranslationObject;\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostListener,\n Input,\n Output,\n ViewChild,\n ViewEncapsulation,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { DynamicTextContent, DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { AreaHeaderModule } from '@odx/angular/components/area-header';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LinkDirective } from '@odx/angular/components/link';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { TranslatePipe, provideTranslations } from '@odx/angular/internal/translate';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\nimport { fromEvent, tap } from 'rxjs';\nimport { createMainMenuLinks$ } from './helpers';\nimport mainMenuTranslations from './main-menu.i18n';\nimport { MainMenuService } from './main-menu.service';\n\n/**\n * The `MainMenuComponent` provides a comprehensive user interface component for displaying a navigation menu within an application.\n * It supports dynamic content for titles, subtitles, and copyright text, and can dynamically render additional links.\n * The menu includes animations for opening and closing states, and can be controlled programmatically or via user interaction.\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, TranslatePipe, LinkDirective, DynamicViewDirective],\n providers: [provideTranslations(mainMenuTranslations)],\n standalone: true,\n host: { '[class.is-open]': 'isOpen' },\n})\nexport class MainMenuComponent implements AfterViewInit {\n private readonly takeUntilDestroyed = untilDestroyed();\n protected readonly mainMenuService = inject(MainMenuService);\n protected readonly mainMenuLinks$ = createMainMenuLinks$();\n protected readonly isOpen$ = this.mainMenuService.isOpen$.pipe(tap((isOpen: boolean) => this.slideMenuInner(isOpen)));\n public readonly element = injectElement();\n\n /**\n * Input property for the title of the menu. The content is dynamic, allowing complex content structures\n * like translations or custom components.\n *\n * @type {DynamicTextContent}\n */\n @Input({ required: true })\n public title!: DynamicTextContent;\n\n /**\n * Optional input property for the subtitle of the menu.\n *\n * @type {DynamicTextContent | null}\n * @default null\n */\n @Input()\n public subtitle?: DynamicTextContent | null = null;\n\n /**\n * Optional input property for the copyright text of the menu.\n *\n * @type {DynamicTextContent | null}\n * @default null\n */\n @Input()\n public copyright?: DynamicTextContent | null = null;\n\n /**\n * Input property to control the open state of the menu. Uses boolean transformation to handle true/false states.\n * Changing this property will toggle the menu's open state via the MainMenuService.\n *\n * @param {boolean} value - The open state of the menu.\n */\n @Input({ transform: booleanAttribute })\n public set isOpen(value: boolean) {\n this.mainMenuService.toggle(value);\n }\n\n /**\n * Returns the current open state of the menu from the MainMenuService.\n *\n * @returns {boolean} `true` if the menu is open, `false` otherwise.\n */\n public get isOpen(): boolean {\n return this.mainMenuService.isOpen();\n }\n\n /**\n * Outputs the observable that tracks the open state of the menu.\n *\n * @emits {boolean} The open state of the menu.\n */\n @Output()\n public menuOpen = this.mainMenuService.isOpen$;\n\n @ViewChild('menuInner')\n public menuInner!: ElementRef<HTMLElement>;\n\n public ngAfterViewInit(): void {\n fromEvent<Event>(this.menuInner?.nativeElement, 'toggle')\n .pipe(\n tap((e) => 'newState' in e && this.mainMenuService.toggle(e.newState === 'open')),\n this.takeUntilDestroyed(),\n )\n .subscribe();\n }\n\n /**\n * Closes the menu.\n */\n @HostListener('window:keyup.esc')\n public close(): void {\n this.mainMenuService.close();\n }\n\n private slideMenuInner(isOpen = false): void {\n const { nativeElement } = this.menuInner || {};\n if (!(nativeElement && this.isPopoverElement(nativeElement))) return;\n const method = isOpen ? 'showPopover' : 'hidePopover';\n nativeElement[method]();\n }\n\n private isPopoverElement(element: HTMLElement): element is HTMLElement & { showPopover: () => void; hidePopover: () => void } {\n return element.hasAttribute('popover') && 'showPopover' in element && 'hidePopover' in element;\n }\n}\n","<aside class=\"odx-main-menu__inner\" [ngClass]=\"(isOpen$ | async) ? 'opened' : 'closed'\" #menuInner popover=\"auto\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <div class=\"odx-main-menu__actions\">\n <button class=\"odx-main-menu__close\" odxButton disabled=\"false\" (click)=\"close()\"><odx-icon name=\"close\" iconSet=\"core\" /></button>\n </div>\n <odx-area-header class=\"odx-main-menu__header\" size=\"large\">\n <ng-template [odxDynamicView]=\"title\" />\n @if (subtitle) {\n <odx-area-header-subtitle>\n <ng-template [odxDynamicView]=\"subtitle\" />\n </odx-area-header-subtitle>\n }\n </odx-area-header>\n <nav class=\"odx-main-menu__content\">\n <ng-content />\n </nav>\n <div class=\"odx-main-menu__info\">\n <ng-content select=\"[odxLink]\" />\n @for (link of mainMenuLinks$ | async; track $index) {\n <a odxLink [href]=\"link.url\" target=\"_blank\">\n {{ link.name | odxTranslate | async }}\n </a>\n }\n </div>\n <div class=\"odx-main-menu__footer\">\n <odx-logo variant=\"inverse\" />\n @if (copyright) {\n <p class=\"odx-text odx-text--small\">\n <ng-template [odxDynamicView]=\"copyright\" />\n </p>\n }\n </div>\n</aside>\n","import { Directive, HostListener, inject } from '@angular/core';\nimport { MainMenuComponent } from '../main-menu.component';\n\n/**\n * Represents a directive for closing the main menu.\n */\n@Directive({\n standalone: true,\n selector: '[odxMainMenuClose]',\n})\nexport class MainMenuCloseDirective {\n private readonly mainMenu = inject(MainMenuComponent, { optional: true });\n\n @HostListener('click')\n protected onClick(): void {\n this.mainMenu?.close();\n }\n}\n","import { booleanAttribute, 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 } from '@odx/angular/utils';\nimport { MainMenuCloseDirective } from './main-menu-close.directive';\n\n/**\n * Represents a directive for a main menu item.\n * This directive is used to define a main menu item.\n * Has host directives for disabled state, tabindex, and closing the main menu.\n *\n * @see {WithDisabledState}\n * @see {WithTabIndex}\n * @see {MainMenuCloseDirective}\n */\n@CSSComponent('main-menu-item')\n@Directive({\n selector: '[odxMainMenuItem]',\n standalone: true,\n hostDirectives: [WithDisabledState, WithTabIndex, MainMenuCloseDirective],\n host: {\n '[class.is-selected]': 'isSelected || routerLinkActive?.isActive',\n '[attr.role]': '\"button\"',\n },\n})\nexport class MainMenuItemDirective {\n protected readonly routerLinkActive = inject(RouterLinkActive, { optional: true });\n\n public readonly element = injectElement();\n\n /**\n * Optionally specifies whether the menu item is selected.\n * If not specified, the menu item will not be selected.\n *\n * @type {boolean}\n * @default false\n */\n @Input({ transform: booleanAttribute })\n public isSelected = false;\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { LinkDirective } from '@odx/angular/components/link';\nimport { MainMenuButtonDirective, MainMenuCloseDirective, MainMenuItemDirective } from './directives';\nimport { MainMenuComponent } from './main-menu.component';\n\nconst modules = [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective, MainMenuCloseDirective];\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","i2.MainMenuCloseDirective"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAGA;;;AAGG;MAEU,eAAe,CAAA;AAD5B,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC;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,CANV,aAAa,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,sBAAsB,aAI7G,UAAU,EAJL,aAAa,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA;gHAM5G,cAAc,EAAA,OAAA,EAAA,CANK,iBAAiB,EAIrC,UAAU,CAAA,EAAA,CAAA,CAAA;;4FAET,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;;;ACXD;;AAEG;;;;"}
@@ -12,13 +12,13 @@ let MainfilterGroupComponent = class MainfilterGroupComponent {
12
12
  constructor() {
13
13
  this.element = injectElement();
14
14
  }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainfilterGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
16
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: MainfilterGroupComponent, isStandalone: true, selector: "odx-mainfilter-group", ngImport: i0, template: "<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MainfilterGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
16
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.12", type: MainfilterGroupComponent, isStandalone: true, selector: "odx-mainfilter-group", ngImport: i0, template: "<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
17
17
  };
18
18
  MainfilterGroupComponent = __decorate([
19
19
  CSSComponent('mainfilter-group')
20
20
  ], MainfilterGroupComponent);
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainfilterGroupComponent, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MainfilterGroupComponent, decorators: [{
22
22
  type: Component,
23
23
  args: [{ selector: 'odx-mainfilter-group', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content />\n" }]
24
24
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-mainfilter-group.mjs","sources":["../../../../libs/angular/components/mainfilter-group/src/lib/mainfilter-group.component.ts","../../../../libs/angular/components/mainfilter-group/src/lib/mainfilter-group.component.html","../../../../libs/angular/components/mainfilter-group/src/odx-angular-components-mainfilter-group.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n/**\n * Represents the MainfilterGroupComponent class.\n * This component is responsible for styling the main filter group.\n */\n@CSSComponent('mainfilter-group')\n@Component({\n selector: 'odx-mainfilter-group',\n templateUrl: './mainfilter-group.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MainfilterGroupComponent {\n public readonly element = injectElement();\n}\n","<ng-content />\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAIA;;;AAGG;AASU,IAAA,wBAAwB,GAA9B,MAAM,wBAAwB,CAAA;AAA9B,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAC3C,KAAA;+GAFY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,gFChBrC,kBACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;ADea,wBAAwB,GAAA,UAAA,CAAA;IARpC,YAAY,CAAC,kBAAkB,CAAC;AAQpB,CAAA,EAAA,wBAAwB,CAEpC,CAAA;4FAFY,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;+BACE,sBAAsB,EAAA,UAAA,EAEpB,IAAI,EACC,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,kBAAA,EAAA,CAAA;;;AEdvC;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-mainfilter-group.mjs","sources":["../../../../libs/angular/components/mainfilter-group/src/lib/mainfilter-group.component.ts","../../../../libs/angular/components/mainfilter-group/src/lib/mainfilter-group.component.html","../../../../libs/angular/components/mainfilter-group/src/odx-angular-components-mainfilter-group.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n/**\n * Represents the MainfilterGroupComponent class.\n * This component is responsible for styling the main filter group.\n */\n@CSSComponent('mainfilter-group')\n@Component({\n selector: 'odx-mainfilter-group',\n templateUrl: './mainfilter-group.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MainfilterGroupComponent {\n public readonly element = injectElement();\n}\n","<ng-content />\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAIA;;;AAGG;AASU,IAAA,wBAAwB,GAA9B,MAAM,wBAAwB,CAAA;AAA9B,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE;AAC1C;+GAFY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,gFChBrC,kBACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;ADea,wBAAwB,GAAA,UAAA,CAAA;IARpC,YAAY,CAAC,kBAAkB;AAQnB,CAAA,EAAA,wBAAwB,CAEpC;4FAFY,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;+BACE,sBAAsB,EAAA,UAAA,EAEpB,IAAI,EACC,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,kBAAA,EAAA;;;AEdvC;;AAEG;;;;"}
@@ -25,13 +25,13 @@ let MenuItemDirective = class MenuItemDirective {
25
25
  selectItem() {
26
26
  deferFn(() => closeCurrentDropdown(this.element.nativeElement));
27
27
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: MenuItemDirective, isStandalone: true, selector: "a[odxButton][odxMenuItem], button[odxButton][odxMenuItem]", host: { attributes: { "role": "menuitem" }, listeners: { "click": "selectItem()" } }, hostDirectives: [{ directive: i1.ListFocusManagerOptionDirective }], ngImport: i0 }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: MenuItemDirective, isStandalone: true, selector: "a[odxButton][odxMenuItem], button[odxButton][odxMenuItem]", host: { attributes: { "role": "menuitem" }, listeners: { "click": "selectItem()" } }, hostDirectives: [{ directive: i1.ListFocusManagerOptionDirective }], ngImport: i0 }); }
30
30
  };
31
31
  MenuItemDirective = __decorate([
32
32
  CSSComponent('menu-item')
33
33
  ], MenuItemDirective);
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuItemDirective, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MenuItemDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: 'a[odxButton][odxMenuItem], button[odxButton][odxMenuItem]',
@@ -68,8 +68,8 @@ let MenuComponent = class MenuComponent {
68
68
  event.stopPropagation();
69
69
  closeCurrentDropdown(this.element.nativeElement);
70
70
  }
71
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
72
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: MenuComponent, isStandalone: true, selector: "odx-menu", inputs: { tile: ["tile", "tile", booleanAttribute] }, host: { attributes: { "role": "menu" }, listeners: { "keydown.tab": "onTab($event)" } }, hostDirectives: [{ directive: i1.ListFocusManagerDirective }], ngImport: i0, template: "@if (tile) {\n <div class=\"odx-menu__title\">\n <ng-content />\n </div>\n}\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\" />\n</odx-action-group>\n", dependencies: [{ kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
72
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: MenuComponent, isStandalone: true, selector: "odx-menu", inputs: { tile: ["tile", "tile", booleanAttribute] }, host: { attributes: { "role": "menu" }, listeners: { "keydown.tab": "onTab($event)" } }, hostDirectives: [{ directive: i1.ListFocusManagerDirective }], ngImport: i0, template: "@if (tile) {\n <div class=\"odx-menu__title\">\n <ng-content />\n </div>\n}\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\" />\n</odx-action-group>\n", dependencies: [{ kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
73
73
  };
74
74
  __decorate([
75
75
  CSSModifier(),
@@ -78,7 +78,7 @@ __decorate([
78
78
  MenuComponent = __decorate([
79
79
  CSSComponent('menu')
80
80
  ], MenuComponent);
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuComponent, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MenuComponent, decorators: [{
82
82
  type: Component,
83
83
  args: [{ selector: 'odx-menu', standalone: true, imports: [ActionGroupComponent, CommonModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [ListFocusManagerDirective], host: {
84
84
  role: 'menu',
@@ -132,13 +132,13 @@ let MenuDirective = class MenuDirective {
132
132
  close(event) {
133
133
  this.dropdown.close(event);
134
134
  }
135
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
136
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: MenuDirective, isStandalone: true, selector: "[odxMenu]", inputs: { content: ["odxMenu", "content"], position: ["odxMenuPosition", "position"] }, exportAs: ["odxMenu"], usesOnChanges: true, hostDirectives: [{ directive: i1$1.DropdownDirective, inputs: ["odxDropdown", "odxMenu"] }], ngImport: i0 }); }
135
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
136
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: MenuDirective, isStandalone: true, selector: "[odxMenu]", inputs: { content: ["odxMenu", "content"], position: ["odxMenuPosition", "position"] }, exportAs: ["odxMenu"], usesOnChanges: true, hostDirectives: [{ directive: i1$1.DropdownDirective, inputs: ["odxDropdown", "odxMenu"] }], ngImport: i0 }); }
137
137
  };
138
138
  MenuDirective = __decorate([
139
139
  CSSComponent('menu-host')
140
140
  ], MenuDirective);
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuDirective, decorators: [{
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MenuDirective, decorators: [{
142
142
  type: Directive,
143
143
  args: [{
144
144
  selector: '[odxMenu]',
@@ -161,11 +161,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
161
161
 
162
162
  const modules = [MenuComponent, MenuDirective, MenuItemDirective, IconComponent];
163
163
  class MenuModule {
164
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
165
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: MenuModule, imports: [MenuComponent, MenuDirective, MenuItemDirective, IconComponent], exports: [CoreModule, MenuComponent, MenuDirective, MenuItemDirective, IconComponent] }); }
166
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuModule, imports: [MenuComponent, IconComponent, CoreModule] }); }
164
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
165
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.12", ngImport: i0, type: MenuModule, imports: [MenuComponent, MenuDirective, MenuItemDirective, IconComponent], exports: [CoreModule, MenuComponent, MenuDirective, MenuItemDirective, IconComponent] }); }
166
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MenuModule, imports: [MenuComponent, IconComponent, CoreModule] }); }
167
167
  }
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuModule, decorators: [{
168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: MenuModule, decorators: [{
169
169
  type: NgModule,
170
170
  args: [{
171
171
  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/**\n * Represents a directive for a menu item.\n * Uses the `ListFocusManagerOptionDirective` to manage focus within the menu items.\n *\n * @see {ListFocusManagerOptionDirective}\n */\n@CSSComponent('menu-item')\n@Directive({\n selector: 'a[odxButton][odxMenuItem], button[odxButton][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 { CommonModule } from '@angular/common';\nimport { booleanAttribute, 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 } from '@odx/angular/utils';\n\n/**\n * `MenuComponent` provides an Angular component for creating a navigational menu structure in an application.\n * It utilizes the `ListFocusManagerDirective` to manage focus within the menu items and integrates with other custom components like `ActionGroupComponent`.\n * The component is styled using CSS component techniques to ensure a consistent look and feel across different parts of the application.\n * @see {ListFocusManagerDirective}\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 readonly element = injectElement();\n\n /**\n * A CSS modifier that indicates if the menu should use a tile layout. This is controlled through an input property which can be bound to a boolean value.\n *\n * @type {boolean}\n * @default false\n */\n @CSSModifier()\n @Input({ transform: booleanAttribute })\n public tile = false;\n\n @HostListener('keydown.tab', ['$event'])\n protected onTab(event: KeyboardEvent) {\n event.preventDefault();\n event.stopPropagation();\n closeCurrentDropdown(this.element.nativeElement);\n }\n}\n","@if (tile) {\n <div class=\"odx-menu__title\">\n <ng-content />\n </div>\n}\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\" />\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/**\n * `MenuDirective` integrates a menu system into elements using the `DropdownDirective`\n * for dynamic dropdown functionality.\n * It enables flexible positioning and content injection capabilities, making it suitable\n * for creating context menus, dropdown lists, and other interactive menu-driven components.\n *\n * @see {DropdownDirective}\n */\n@CSSComponent('menu-host')\n@Directive({\n selector: '[odxMenu]',\n exportAs: '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 /**\n * Accepts dynamic content other than `DynamicTextContent` to be used as the content of the dropdown.\n * This allows for more complex content structures such as templates or components to be defined\n * as dropdown content.\n *\n * @type {Exclude<DynamicContent, DynamicTextContent> | null}\n */\n @Input('odxMenu')\n public content?: Exclude<DynamicContent, DynamicTextContent> | null;\n\n /**\n * Optionally specifies the positioning of the dropdown menu relative to its trigger element.\n * If not specified, a default position may be used.\n *\n * @type {Position | 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 /**\n * Returns whether the dropdown is currently open.\n *\n * @returns {boolean} `true` if the dropdown is open, `false` otherwise.\n */\n public isOpen(): boolean {\n return this.dropdown.isOpen;\n }\n\n /**\n * Closes the dropdown.\n *\n * @param {Event} [event] The event that triggered the dropdown close.\n */\n public close(event?: Event): void {\n this.dropdown.close(event);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { MenuItemDirective } from './directives';\nimport { MenuComponent } from './menu.component';\nimport { MenuDirective } from './menu.directive';\n\nconst modules = [MenuComponent, MenuDirective, MenuItemDirective, IconComponent];\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":";;;;;;;;;;;;;;AAMA;;;;;AAKG;AAUU,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,CA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BAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YANN,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,aAAa,CAInE,EAAA,OAAA,EAAA,CAAA,UAAU,EAJL,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;AAMlE,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,EANN,OAAA,EAAA,CAAA,aAAa,EAAoC,aAAa,EAInE,UAAU,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAET,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;;;ACZD;;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/**\n * Represents a directive for a menu item.\n * Uses the `ListFocusManagerOptionDirective` to manage focus within the menu items.\n *\n * @see {ListFocusManagerOptionDirective}\n */\n@CSSComponent('menu-item')\n@Directive({\n selector: 'a[odxButton][odxMenuItem], button[odxButton][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 { CommonModule } from '@angular/common';\nimport { booleanAttribute, 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 } from '@odx/angular/utils';\n\n/**\n * `MenuComponent` provides an Angular component for creating a navigational menu structure in an application.\n * It utilizes the `ListFocusManagerDirective` to manage focus within the menu items and integrates with other custom components like `ActionGroupComponent`.\n * The component is styled using CSS component techniques to ensure a consistent look and feel across different parts of the application.\n * @see {ListFocusManagerDirective}\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 readonly element = injectElement();\n\n /**\n * A CSS modifier that indicates if the menu should use a tile layout. This is controlled through an input property which can be bound to a boolean value.\n *\n * @type {boolean}\n * @default false\n */\n @CSSModifier()\n @Input({ transform: booleanAttribute })\n public tile = false;\n\n @HostListener('keydown.tab', ['$event'])\n protected onTab(event: KeyboardEvent) {\n event.preventDefault();\n event.stopPropagation();\n closeCurrentDropdown(this.element.nativeElement);\n }\n}\n","@if (tile) {\n <div class=\"odx-menu__title\">\n <ng-content />\n </div>\n}\n<odx-action-group class=\"odx-menu__inner\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\" />\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/**\n * `MenuDirective` integrates a menu system into elements using the `DropdownDirective`\n * for dynamic dropdown functionality.\n * It enables flexible positioning and content injection capabilities, making it suitable\n * for creating context menus, dropdown lists, and other interactive menu-driven components.\n *\n * @see {DropdownDirective}\n */\n@CSSComponent('menu-host')\n@Directive({\n selector: '[odxMenu]',\n exportAs: '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 /**\n * Accepts dynamic content other than `DynamicTextContent` to be used as the content of the dropdown.\n * This allows for more complex content structures such as templates or components to be defined\n * as dropdown content.\n *\n * @type {Exclude<DynamicContent, DynamicTextContent> | null}\n */\n @Input('odxMenu')\n public content?: Exclude<DynamicContent, DynamicTextContent> | null;\n\n /**\n * Optionally specifies the positioning of the dropdown menu relative to its trigger element.\n * If not specified, a default position may be used.\n *\n * @type {Position | 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 /**\n * Returns whether the dropdown is currently open.\n *\n * @returns {boolean} `true` if the dropdown is open, `false` otherwise.\n */\n public isOpen(): boolean {\n return this.dropdown.isOpen;\n }\n\n /**\n * Closes the dropdown.\n *\n * @param {Event} [event] The event that triggered the dropdown close.\n */\n public close(event?: Event): void {\n this.dropdown.close(event);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { MenuItemDirective } from './directives';\nimport { MenuComponent } from './menu.component';\nimport { MenuDirective } from './menu.directive';\n\nconst modules = [MenuComponent, MenuDirective, MenuItemDirective, IconComponent];\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":";;;;;;;;;;;;;;AAMA;;;;;AAKG;AAUU,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAuC;AAM/E;IAHW,UAAU,GAAA;AAClB,QAAA,OAAO,CAAC,MAAM,oBAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;;+GALtD,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,2DAAA,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,G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,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA;;;ACZD;;AAEG;;;;"}
@@ -206,10 +206,10 @@ class ModalCloseDirective {
206
206
  this.modalRef.close(result ?? null);
207
207
  }
208
208
  }
209
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
210
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: ModalCloseDirective, isStandalone: true, selector: "[odxModalClose]", inputs: { result: ["odxModalClose", "result"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
209
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
210
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: ModalCloseDirective, isStandalone: true, selector: "[odxModalClose]", inputs: { result: ["odxModalClose", "result"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
211
211
  }
212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalCloseDirective, decorators: [{
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalCloseDirective, decorators: [{
213
213
  type: Directive,
214
214
  args: [{
215
215
  standalone: true,
@@ -230,13 +230,13 @@ let ModalContentDirective = class ModalContentDirective {
230
230
  constructor() {
231
231
  this.element = injectElement();
232
232
  }
233
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
234
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: ModalContentDirective, isStandalone: true, selector: "odx-modal-content", ngImport: i0 }); }
233
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
234
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: ModalContentDirective, isStandalone: true, selector: "odx-modal-content", ngImport: i0 }); }
235
235
  };
236
236
  ModalContentDirective = __decorate([
237
237
  CSSComponent('modal__content')
238
238
  ], ModalContentDirective);
239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalContentDirective, decorators: [{
239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalContentDirective, decorators: [{
240
240
  type: Directive,
241
241
  args: [{
242
242
  standalone: true,
@@ -268,10 +268,10 @@ class ModalDismissDirective {
268
268
  onClick() {
269
269
  this.modalRef.dismiss();
270
270
  }
271
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalDismissDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
272
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: ModalDismissDirective, isStandalone: true, selector: "[odxModalDismiss]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
271
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalDismissDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
272
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: ModalDismissDirective, isStandalone: true, selector: "[odxModalDismiss]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
273
273
  }
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalDismissDirective, decorators: [{
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalDismissDirective, decorators: [{
275
275
  type: Directive,
276
276
  args: [{
277
277
  standalone: true,
@@ -289,10 +289,10 @@ class PreventFormMethodDialogDirective {
289
289
  onClick(event) {
290
290
  event.preventDefault();
291
291
  }
292
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreventFormMethodDialogDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
293
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: PreventFormMethodDialogDirective, isStandalone: true, selector: "[formmethod=dialog]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
292
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: PreventFormMethodDialogDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
293
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: PreventFormMethodDialogDirective, isStandalone: true, selector: "[formmethod=dialog]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
294
294
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreventFormMethodDialogDirective, decorators: [{
295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: PreventFormMethodDialogDirective, decorators: [{
296
296
  type: Directive,
297
297
  args: [{
298
298
  standalone: true,
@@ -310,10 +310,10 @@ class PreventMethodDialogDirective {
310
310
  onFormSubmit(event) {
311
311
  event.preventDefault();
312
312
  }
313
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreventMethodDialogDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
314
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: PreventMethodDialogDirective, isStandalone: true, selector: "form[method=dialog]", host: { listeners: { "submit": "onFormSubmit($event)" } }, ngImport: i0 }); }
313
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: PreventMethodDialogDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
314
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: PreventMethodDialogDirective, isStandalone: true, selector: "form[method=dialog]", host: { listeners: { "submit": "onFormSubmit($event)" } }, ngImport: i0 }); }
315
315
  }
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreventMethodDialogDirective, decorators: [{
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: PreventMethodDialogDirective, decorators: [{
317
317
  type: Directive,
318
318
  args: [{
319
319
  standalone: true,
@@ -331,13 +331,13 @@ let ModalFooterComponent = class ModalFooterComponent {
331
331
  constructor() {
332
332
  this.element = injectElement();
333
333
  }
334
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
335
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ModalFooterComponent, isStandalone: true, selector: "odx-modal-footer", ngImport: i0, template: "<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
334
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
335
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.12", type: ModalFooterComponent, isStandalone: true, selector: "odx-modal-footer", ngImport: i0, template: "<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
336
336
  };
337
337
  ModalFooterComponent = __decorate([
338
338
  CSSComponent('modal__footer')
339
339
  ], ModalFooterComponent);
340
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalFooterComponent, decorators: [{
340
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalFooterComponent, decorators: [{
341
341
  type: Component,
342
342
  args: [{ standalone: true, selector: 'odx-modal-footer', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content />\n" }]
343
343
  }] });
@@ -356,14 +356,14 @@ let ModalHeaderComponent = class ModalHeaderComponent {
356
356
  this.areaHeaderComponent.size = AreaHeaderSize.MEDIUM;
357
357
  }
358
358
  }
359
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
360
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", 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\" />\n@if (modalRef.options.dismissable) {\n <odx-action-group class=\"odx-modal__dismiss\">\n <button odxButton odxModalDismiss><odx-icon name=\"close\" iconSet=\"core\" /></button>\n </odx-action-group>\n}\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { 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", "iconSet", "identifier"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
359
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
360
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", 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\" />\n@if (modalRef.options.dismissable) {\n <odx-action-group class=\"odx-modal__dismiss\">\n <button odxButton odxModalDismiss><odx-icon name=\"close\" iconSet=\"core\" /></button>\n </odx-action-group>\n}\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { 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", "iconSet", "identifier"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
361
361
  };
362
362
  ModalHeaderComponent = __decorate([
363
363
  CSSComponent('modal__header'),
364
364
  __metadata("design:paramtypes", [])
365
365
  ], ModalHeaderComponent);
366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalHeaderComponent, decorators: [{
366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalHeaderComponent, decorators: [{
367
367
  type: Component,
368
368
  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\" />\n@if (modalRef.options.dismissable) {\n <odx-action-group class=\"odx-modal__dismiss\">\n <button odxButton odxModalDismiss><odx-icon name=\"close\" iconSet=\"core\" /></button>\n </odx-action-group>\n}\n" }]
369
369
  }], ctorParameters: () => [], propDecorators: { areaHeaderComponent: [{
@@ -392,8 +392,8 @@ let ModalHeroComponent = class ModalHeroComponent {
392
392
  this.iconSet = IconSet.CORE;
393
393
  detectControllerChanges(this.modalRef).subscribe();
394
394
  }
395
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalHeroComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
396
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ModalHeroComponent, isStandalone: true, selector: "odx-modal-hero", inputs: { icon: "icon", iconSet: "iconSet", variant: "variant" }, ngImport: i0, template: "@if (icon) {\n <odx-icon class=\"odx-modal-hero__icon\" [name]=\"icon\" [iconSet]=\"iconSet\" size=\"xlarge\" />\n}\n\n<div class=\"odx-modal-hero__title odx-title-4\">\n <ng-content />\n</div>\n@if (modalRef.options.dismissable) {\n <odx-action-group class=\"odx-modal-hero__dismiss\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\" iconSet=\"core\" />\n </button>\n </odx-action-group>\n}\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { 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", "iconSet", "identifier"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
395
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalHeroComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
396
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: ModalHeroComponent, isStandalone: true, selector: "odx-modal-hero", inputs: { icon: "icon", iconSet: "iconSet", variant: "variant" }, ngImport: i0, template: "@if (icon) {\n <odx-icon class=\"odx-modal-hero__icon\" [name]=\"icon\" [iconSet]=\"iconSet\" size=\"xlarge\" />\n}\n\n<div class=\"odx-modal-hero__title odx-title-4\">\n <ng-content />\n</div>\n@if (modalRef.options.dismissable) {\n <odx-action-group class=\"odx-modal-hero__dismiss\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\" iconSet=\"core\" />\n </button>\n </odx-action-group>\n}\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { 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", "iconSet", "identifier"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
397
397
  };
398
398
  __decorate([
399
399
  CSSModifier(),
@@ -403,7 +403,7 @@ ModalHeroComponent = __decorate([
403
403
  CSSComponent('modal-hero'),
404
404
  __metadata("design:paramtypes", [])
405
405
  ], ModalHeroComponent);
406
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalHeroComponent, decorators: [{
406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalHeroComponent, decorators: [{
407
407
  type: Component,
408
408
  args: [{ selector: 'odx-modal-hero', standalone: true, imports: [CoreModule, ActionGroupComponent, ButtonComponent, IconComponent, ModalDismissDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (icon) {\n <odx-icon class=\"odx-modal-hero__icon\" [name]=\"icon\" [iconSet]=\"iconSet\" size=\"xlarge\" />\n}\n\n<div class=\"odx-modal-hero__title odx-title-4\">\n <ng-content />\n</div>\n@if (modalRef.options.dismissable) {\n <odx-action-group class=\"odx-modal-hero__dismiss\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\" iconSet=\"core\" />\n </button>\n </odx-action-group>\n}\n" }]
409
409
  }], ctorParameters: () => [], propDecorators: { icon: [{
@@ -436,10 +436,10 @@ class BasicModalComponent {
436
436
  get data() {
437
437
  return this.modalRef.data;
438
438
  }
439
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasicModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
440
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BasicModalComponent, isStandalone: true, selector: "odx-basic-modal", ngImport: i0, template: "@if (data.heroIcon; as icon) {\n <odx-modal-hero [icon]=\"icon\" [variant]=\"data.heroVariant\">\n <ng-template [odxDynamicView]=\"data.title\" />\n </odx-modal-hero>\n} @else {\n <odx-modal-header>\n <odx-area-header>\n <ng-template [odxDynamicView]=\"data.title\" />\n </odx-area-header>\n </odx-modal-header>\n}\n\n<odx-modal-content>\n <ng-template [odxDynamicView]=\"data.content\" [odxDynamicViewInjector]=\"injector\" />\n</odx-modal-content>\n\n<odx-modal-footer>\n @for (action of data.actions; track $index) {\n <button odxButton [variant]=\"action.variant\" [odxModalClose]=\"action.data\">\n {{ action.label }}\n </button>\n }\n</odx-modal-footer>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { 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", "iconSet", "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 }); }
439
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: BasicModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
440
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: BasicModalComponent, isStandalone: true, selector: "odx-basic-modal", ngImport: i0, template: "@if (data.heroIcon; as icon) {\n <odx-modal-hero [icon]=\"icon\" [variant]=\"data.heroVariant\">\n <ng-template [odxDynamicView]=\"data.title\" />\n </odx-modal-hero>\n} @else {\n <odx-modal-header>\n <odx-area-header>\n <ng-template [odxDynamicView]=\"data.title\" />\n </odx-area-header>\n </odx-modal-header>\n}\n\n<odx-modal-content>\n <ng-template [odxDynamicView]=\"data.content\" [odxDynamicViewInjector]=\"injector\" />\n</odx-modal-content>\n\n<odx-modal-footer>\n @for (action of data.actions; track $index) {\n <button odxButton [variant]=\"action.variant\" [odxModalClose]=\"action.data\">\n {{ action.label }}\n </button>\n }\n</odx-modal-footer>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { 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", "iconSet", "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 }); }
441
441
  }
442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasicModalComponent, decorators: [{
442
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: BasicModalComponent, decorators: [{
443
443
  type: Component,
444
444
  args: [{ selector: 'odx-basic-modal', standalone: true, imports: [
445
445
  CoreModule,
@@ -501,8 +501,8 @@ let ModalComponent = class ModalComponent {
501
501
  handleDialogClose() {
502
502
  this.modalRef.dismiss();
503
503
  }
504
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
505
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ModalComponent, isStandalone: true, selector: "dialog[odx-dialog-modal]", inputs: { content: "content" }, host: { listeners: { "keydown": "preventNativeDismiss($event)", "cancel": "handleDialogClose()", "close": "handleDialogClose()" }, properties: { "attr.id": "modalRef.options.id", "attr.aria-labelledby": "modalRef.modalTitleId", "attr.role": "\"dialog\"" } }, usesOnChanges: true, ngImport: i0, template: "<div\n [odxClickOutsideActive]=\"modalRef.isActive() && modalRef.options.dismissable && modalRef.options.interactiveBackdrop\"\n (odxClickOutside)=\"modalRef.dismiss()\"\n class=\"odx-modal__container\"\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewContext]=\"withComponent ? {} : context\" [odxDynamicViewInjector]=\"injector\" />\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.ClickOutsideDirective, selector: "[odxClickOutside]", inputs: ["odxClickOutsideActive"], outputs: ["odxClickOutside"] }, { kind: "ngmodule", type: CoreModule }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
504
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
505
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.12", type: ModalComponent, isStandalone: true, selector: "dialog[odx-dialog-modal]", inputs: { content: "content" }, host: { listeners: { "keydown": "preventNativeDismiss($event)", "cancel": "handleDialogClose()", "close": "handleDialogClose()" }, properties: { "attr.id": "modalRef.options.id", "attr.aria-labelledby": "modalRef.modalTitleId", "attr.role": "\"dialog\"" } }, usesOnChanges: true, ngImport: i0, template: "<div\n [odxClickOutsideActive]=\"modalRef.isActive() && modalRef.options.dismissable && modalRef.options.interactiveBackdrop\"\n (odxClickOutside)=\"modalRef.dismiss()\"\n class=\"odx-modal__container\"\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewContext]=\"withComponent ? {} : context\" [odxDynamicViewInjector]=\"injector\" />\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.ClickOutsideDirective, selector: "[odxClickOutside]", inputs: ["odxClickOutsideActive"], outputs: ["odxClickOutside"] }, { kind: "ngmodule", type: CoreModule }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
506
506
  };
507
507
  __decorate([
508
508
  CSSModifier(),
@@ -520,7 +520,7 @@ ModalComponent = __decorate([
520
520
  CSSComponent('modal'),
521
521
  __metadata("design:paramtypes", [])
522
522
  ], ModalComponent);
523
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalComponent, decorators: [{
523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalComponent, decorators: [{
524
524
  type: Component,
525
525
  args: [{ standalone: true, selector: 'dialog[odx-dialog-modal]', imports: [A11yModule, ActionGroupComponent, ButtonComponent, IconComponent, CoreModule, DynamicViewDirective], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
526
526
  '[attr.id]': 'modalRef.options.id',
@@ -679,10 +679,10 @@ class ModalService {
679
679
  modalRef.onDestroy$.pipe(finalize(onDestroy)).subscribe();
680
680
  deferFn(() => dialog?.showModal());
681
681
  }
682
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalService, deps: [{ token: i1$1.Location }], target: i0.ɵɵFactoryTarget.Injectable }); }
683
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalService, providedIn: 'root' }); }
682
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalService, deps: [{ token: i1$1.Location }], target: i0.ɵɵFactoryTarget.Injectable }); }
683
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalService, providedIn: 'root' }); }
684
684
  }
685
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalService, decorators: [{
685
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalService, decorators: [{
686
686
  type: Injectable,
687
687
  args: [{ providedIn: 'root' }]
688
688
  }], ctorParameters: () => [{ type: i1$1.Location }] });
@@ -737,10 +737,10 @@ class ModalDirective {
737
737
  dismiss() {
738
738
  this.modalRef?.dismiss();
739
739
  }
740
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
741
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: ModalDirective, isStandalone: true, selector: "ng-template[odxModal]", inputs: { modalOptions: ["odxModal", "modalOptions"] }, outputs: { modalClose: "odxModalClose", modalDismiss: "odxModalDismiss" }, exportAs: ["odxModal"], usesOnChanges: true, ngImport: i0 }); }
740
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
741
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: ModalDirective, isStandalone: true, selector: "ng-template[odxModal]", inputs: { modalOptions: ["odxModal", "modalOptions"] }, outputs: { modalClose: "odxModalClose", modalDismiss: "odxModalDismiss" }, exportAs: ["odxModal"], usesOnChanges: true, ngImport: i0 }); }
742
742
  }
743
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalDirective, decorators: [{
743
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalDirective, decorators: [{
744
744
  type: Directive,
745
745
  args: [{
746
746
  standalone: true,
@@ -771,8 +771,8 @@ const modules = [
771
771
  PreventFormMethodDialogDirective,
772
772
  ];
773
773
  class ModalModule {
774
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
775
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
774
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
775
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.12", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
776
776
  ModalHeaderComponent,
777
777
  ModalHeroComponent,
778
778
  ModalFooterComponent,
@@ -791,11 +791,11 @@ class ModalModule {
791
791
  ModalDismissDirective,
792
792
  PreventMethodDialogDirective,
793
793
  PreventFormMethodDialogDirective] }); }
794
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
794
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
795
795
  ModalHeaderComponent,
796
796
  ModalHeroComponent, CoreModule, AreaHeaderModule] }); }
797
797
  }
798
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalModule, decorators: [{
798
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ModalModule, decorators: [{
799
799
  type: NgModule,
800
800
  args: [{
801
801
  imports: [ButtonComponent, ButtonGroupComponent, ...modules],