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

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 (926) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +43 -0
  3. package/animations/index.d.ts +4 -2
  4. package/animations/lib/expand.d.ts +2 -0
  5. package/animations/lib/wait-for-child-animations.d.ts +1 -0
  6. package/cdk/a11y/README.md +3 -0
  7. package/cdk/a11y/index.d.ts +2 -0
  8. package/cdk/a11y/lib/a11y.module.d.ts +11 -0
  9. package/cdk/a11y/lib/directives/index.d.ts +3 -0
  10. package/cdk/a11y/lib/directives/interactive.directive.d.ts +11 -0
  11. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +11 -0
  12. package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +12 -0
  13. package/cdk/active-indicator/README.md +3 -0
  14. package/cdk/active-indicator/index.d.ts +2 -0
  15. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +25 -0
  16. package/cdk/active-indicator/lib/models/active-indicator-direction.d.ts +5 -0
  17. package/cdk/active-indicator/lib/models/active-indicator-position.d.ts +6 -0
  18. package/cdk/active-indicator/lib/models/index.d.ts +2 -0
  19. package/cdk/checkbox-control/README.md +3 -0
  20. package/cdk/checkbox-control/index.d.ts +1 -0
  21. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +15 -0
  22. package/cdk/connected-overlay/README.md +3 -0
  23. package/cdk/connected-overlay/index.d.ts +3 -0
  24. package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +28 -0
  25. package/cdk/connected-overlay/lib/connected-overlay.service.d.ts +10 -0
  26. package/cdk/connected-overlay/lib/helpers/compute-overlay-position.d.ts +3 -0
  27. package/cdk/connected-overlay/lib/helpers/index.d.ts +1 -0
  28. package/cdk/connected-overlay/lib/models/connected-overlay-options.d.ts +25 -0
  29. package/cdk/connected-overlay/lib/models/connected-overlay-ref.d.ts +12 -0
  30. package/cdk/connected-overlay/lib/models/index.d.ts +2 -0
  31. package/cdk/custom-form-control/README.md +3 -0
  32. package/cdk/custom-form-control/index.d.ts +2 -0
  33. package/{lib/directives → cdk/custom-form-control/lib}/control.directive.d.ts +2 -4
  34. package/cdk/custom-form-control/lib/custom-form-control.d.ts +32 -0
  35. package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +4 -4
  36. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +4 -2
  37. package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +1 -0
  38. package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +1 -1
  39. package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +2 -1
  40. package/cdk/dynamic-view/lib/facade/index.d.ts +0 -1
  41. package/cdk/dynamic-view/lib/helpers/create-projectable-nodes.d.ts +2 -0
  42. package/cdk/dynamic-view/lib/helpers/index.d.ts +1 -2
  43. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +6 -3
  44. package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +2 -1
  45. package/cdk/dynamic-view/lib/models/dynamic-view-options.d.ts +7 -3
  46. package/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.d.ts +3 -0
  47. package/cdk/dynamic-view/lib/tokens/index.d.ts +1 -0
  48. package/cdk/expandable/README.md +3 -0
  49. package/cdk/expandable/index.d.ts +4 -0
  50. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +18 -0
  51. package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +13 -0
  52. package/cdk/expandable/lib/directives/index.d.ts +2 -0
  53. package/cdk/expandable/lib/expandable.module.d.ts +8 -0
  54. package/cdk/expandable/lib/expandable.tokens.d.ts +3 -0
  55. package/cdk/expandable/lib/facade/expandable-container.d.ts +6 -0
  56. package/cdk/expandable/lib/facade/expandable-item.d.ts +7 -0
  57. package/cdk/expandable/lib/facade/index.d.ts +2 -0
  58. package/cdk/radio-group-control/README.md +3 -0
  59. package/cdk/radio-group-control/index.d.ts +3 -0
  60. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +13 -0
  61. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +10 -0
  62. package/cdk/radio-group-control/lib/radio-group-control.module.d.ts +9 -0
  63. package/components/accordion/README.md +3 -0
  64. package/components/accordion/index.d.ts +4 -0
  65. package/components/accordion/lib/accordion.component.d.ts +7 -0
  66. package/components/accordion/lib/accordion.module.d.ts +10 -0
  67. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +16 -0
  68. package/components/accordion/lib/components/index.d.ts +1 -0
  69. package/components/accordion/lib/directives/accordion-item-title.d.ts +5 -0
  70. package/components/accordion/lib/directives/index.d.ts +1 -0
  71. package/components/action-group/action-group.component.d.ts +2 -4
  72. package/components/area-header/area-header.component.d.ts +2 -4
  73. package/components/area-header/area-header.module.d.ts +2 -1
  74. package/components/area-header/directives/area-header-content.directive.d.ts +1 -1
  75. package/components/area-header/directives/area-header-subtitle.directive.d.ts +1 -1
  76. package/components/avatar/lib/avatar.component.d.ts +4 -5
  77. package/components/avatar/lib/models/avatar-variant.d.ts +5 -0
  78. package/components/avatar/lib/models/index.d.ts +1 -0
  79. package/components/badge/lib/badge.component.d.ts +8 -20
  80. package/components/badge/lib/badge.directive.d.ts +17 -14
  81. package/components/badge/lib/models/index.d.ts +0 -1
  82. package/components/bar/README.md +3 -0
  83. package/components/bar/index.d.ts +5 -0
  84. package/components/bar/lib/bar.component.d.ts +6 -0
  85. package/components/bar/lib/bar.module.d.ts +10 -0
  86. package/components/bar/lib/directives/bar-button.directive.d.ts +10 -0
  87. package/components/bar/lib/directives/bar-label.directive.d.ts +6 -0
  88. package/components/bar/lib/models/bar-button-variant.d.ts +5 -0
  89. package/components/breadcrumbs/README.md +3 -0
  90. package/components/breadcrumbs/index.d.ts +1 -0
  91. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +17 -0
  92. package/components/button/lib/button.component.d.ts +6 -15
  93. package/components/button/lib/models/button-size.d.ts +5 -0
  94. package/components/button/lib/models/index.d.ts +1 -0
  95. package/components/button-group/README.md +3 -0
  96. package/components/button-group/index.d.ts +1 -0
  97. package/components/button-group/lib/button-group.component.d.ts +15 -0
  98. package/components/checkbox/index.d.ts +2 -0
  99. package/components/checkbox/lib/checkbox.component.d.ts +6 -12
  100. package/components/checkbox/lib/checkbox.module.d.ts +9 -0
  101. package/components/checkbox/lib/checkbox.validator.d.ts +6 -0
  102. package/components/chip/README.md +3 -0
  103. package/components/chip/index.d.ts +2 -0
  104. package/components/chip/lib/chip.component.d.ts +15 -0
  105. package/components/chip/lib/models/chip-size.d.ts +5 -0
  106. package/components/chip/lib/models/chip-variant.d.ts +7 -0
  107. package/components/chip/lib/models/index.d.ts +2 -0
  108. package/components/circular-progress/README.md +3 -0
  109. package/components/circular-progress/index.d.ts +2 -0
  110. package/components/circular-progress/lib/circular-progress.component.d.ts +29 -0
  111. package/components/circular-progress/lib/models/circular-progress-size.d.ts +7 -0
  112. package/components/circular-progress/lib/models/index.d.ts +1 -0
  113. package/components/content-box/lib/content-box.component.d.ts +1 -1
  114. package/components/content-box/lib/directives/content-box-footer-directive.d.ts +1 -1
  115. package/components/content-box/lib/directives/content-box-header-directive.d.ts +1 -1
  116. package/components/dropdown/README.md +3 -0
  117. package/components/dropdown/index.d.ts +5 -0
  118. package/components/dropdown/lib/dropdown.component.d.ts +12 -0
  119. package/components/dropdown/lib/dropdown.directive.d.ts +42 -0
  120. package/components/dropdown/lib/dropdown.module.d.ts +8 -0
  121. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +1 -0
  122. package/components/dropdown/lib/helpers/index.d.ts +1 -0
  123. package/components/dropdown/lib/models/close-dropdown-event.d.ts +4 -0
  124. package/components/dropdown/lib/models/dropdown-options.d.ts +3 -0
  125. package/components/dropdown/lib/models/index.d.ts +2 -0
  126. package/components/form-field/README.md +3 -0
  127. package/components/form-field/index.d.ts +6 -0
  128. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +9 -0
  129. package/components/form-field/lib/components/form-group/form-group.component.d.ts +13 -0
  130. package/components/form-field/lib/components/index.d.ts +2 -0
  131. package/components/form-field/lib/directives/form-field-control.directive.d.ts +21 -0
  132. package/components/form-field/lib/directives/form-field-error.directive.d.ts +10 -0
  133. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +8 -0
  134. package/components/form-field/lib/directives/form-field-label.directive.d.ts +6 -0
  135. package/components/form-field/lib/directives/form.directive.d.ts +9 -0
  136. package/components/form-field/lib/directives/index.d.ts +5 -0
  137. package/components/form-field/lib/form-field.component.d.ts +19 -0
  138. package/components/form-field/lib/form-field.config.d.ts +14 -0
  139. package/components/form-field/lib/form-field.module.d.ts +18 -0
  140. package/components/form-field/lib/form-field.service.d.ts +30 -0
  141. package/components/form-field/lib/models/form-field-error-resolver.d.ts +27 -0
  142. package/components/form-field/lib/models/form-field-error.d.ts +7 -0
  143. package/components/form-field/lib/models/index.d.ts +2 -0
  144. package/components/form-field/lib/services/form-field-error.service.d.ts +18 -0
  145. package/components/form-field/lib/services/index.d.ts +1 -0
  146. package/components/header/lib/directives/header-avatar.directive.d.ts +5 -2
  147. package/components/header/lib/directives/header-title.directive.d.ts +1 -1
  148. package/components/header/lib/header.component.d.ts +2 -4
  149. package/components/header/lib/header.module.d.ts +2 -2
  150. package/components/icon/lib/icon.component.d.ts +9 -5
  151. package/components/icon/lib/models/icon-size.d.ts +2 -1
  152. package/components/inline-message/README.md +3 -0
  153. package/components/inline-message/index.d.ts +2 -0
  154. package/components/inline-message/lib/inline-message.component.d.ts +9 -0
  155. package/components/inline-message/lib/models/index.d.ts +1 -0
  156. package/components/inline-message/lib/models/inline-message-variant.d.ts +7 -0
  157. package/components/launch-tile/README.md +3 -0
  158. package/components/launch-tile/index.d.ts +3 -0
  159. package/components/launch-tile/lib/components/index.d.ts +2 -0
  160. package/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.d.ts +5 -0
  161. package/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.d.ts +5 -0
  162. package/components/launch-tile/lib/launch-tile.component.d.ts +13 -0
  163. package/components/launch-tile/lib/launch-tile.module.d.ts +14 -0
  164. package/components/link/link.directive.d.ts +3 -7
  165. package/components/list/README.md +3 -0
  166. package/components/list/index.d.ts +3 -0
  167. package/components/list/lib/components/index.d.ts +1 -0
  168. package/components/list/lib/components/list-item/list-item.component.d.ts +12 -0
  169. package/components/list/lib/list.component.d.ts +6 -0
  170. package/components/list/lib/list.module.d.ts +9 -0
  171. package/components/loading-spinner/README.md +3 -0
  172. package/components/loading-spinner/index.d.ts +3 -0
  173. package/components/loading-spinner/lib/loading-spinner.component.d.ts +15 -0
  174. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +25 -0
  175. package/components/loading-spinner/lib/loading-spinner.module.d.ts +9 -0
  176. package/components/logo/logo.directive.d.ts +2 -4
  177. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +2 -5
  178. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +8 -6
  179. package/components/main-menu/lib/main-menu.component.d.ts +5 -5
  180. package/components/main-menu/lib/main-menu.module.d.ts +6 -6
  181. package/components/menu/README.md +3 -0
  182. package/components/menu/index.d.ts +4 -0
  183. package/components/menu/lib/directives/index.d.ts +1 -0
  184. package/components/menu/lib/directives/menu-item.directive.d.ts +9 -0
  185. package/components/menu/lib/menu.component.d.ts +11 -0
  186. package/components/menu/lib/menu.directive.d.ts +15 -0
  187. package/components/menu/lib/menu.module.d.ts +10 -0
  188. package/components/modal/README.md +3 -0
  189. package/components/modal/index.d.ts +8 -0
  190. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +10 -0
  191. package/components/modal/lib/components/index.d.ts +4 -0
  192. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +6 -0
  193. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +12 -0
  194. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +11 -0
  195. package/components/modal/lib/directives/index.d.ts +3 -0
  196. package/components/modal/lib/directives/modal-close.directive.d.ts +8 -0
  197. package/components/modal/lib/directives/modal-content.directive.d.ts +6 -0
  198. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +7 -0
  199. package/components/modal/lib/helpers/index.d.ts +2 -0
  200. package/components/modal/lib/helpers/inject-modal-ref.d.ts +2 -0
  201. package/components/modal/lib/helpers/provide-modal-ref.d.ts +3 -0
  202. package/components/modal/lib/modal.component.d.ts +21 -0
  203. package/components/modal/lib/modal.config.d.ts +3 -0
  204. package/components/modal/lib/modal.directive.d.ts +18 -0
  205. package/components/modal/lib/modal.module.d.ts +22 -0
  206. package/components/modal/lib/modal.service.d.ts +23 -0
  207. package/components/modal/lib/models/basic-modal-options.d.ts +17 -0
  208. package/components/modal/lib/models/index.d.ts +7 -0
  209. package/components/modal/lib/models/modal-hero-variant.d.ts +7 -0
  210. package/components/modal/lib/models/modal-options.d.ts +15 -0
  211. package/components/modal/lib/models/modal-ref.d.ts +20 -0
  212. package/components/modal/lib/models/modal-size.d.ts +6 -0
  213. package/components/modal/lib/models/modal-type.d.ts +8 -0
  214. package/components/modal/lib/models/modal-variant.d.ts +5 -0
  215. package/components/progress/README.md +3 -0
  216. package/components/progress/index.d.ts +1 -0
  217. package/components/progress/lib/progress.component.d.ts +14 -0
  218. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +4 -11
  219. package/components/radio-group/lib/radio-group.component.d.ts +4 -6
  220. package/components/radio-group/lib/radio-group.module.d.ts +4 -4
  221. package/components/rail-navigation/README.md +3 -0
  222. package/components/rail-navigation/index.d.ts +3 -0
  223. package/components/rail-navigation/lib/components/rail-navigation-item.component.d.ts +13 -0
  224. package/components/rail-navigation/lib/rail-navigation.component.d.ts +14 -0
  225. package/components/rail-navigation/lib/rail-navigation.module.d.ts +9 -0
  226. package/components/select/README.md +3 -0
  227. package/components/select/index.d.ts +7 -0
  228. package/components/select/lib/abstract/index.d.ts +2 -0
  229. package/components/select/lib/abstract/select-control-option.d.ts +7 -0
  230. package/components/select/lib/abstract/select-control.d.ts +11 -0
  231. package/components/select/lib/components/index.d.ts +1 -0
  232. package/components/select/lib/components/option/option.component.d.ts +22 -0
  233. package/components/select/lib/directives/index.d.ts +1 -0
  234. package/components/select/lib/directives/select-search-field.directive.d.ts +13 -0
  235. package/components/select/lib/pipes/index.d.ts +1 -0
  236. package/components/select/lib/pipes/select-search-filter.pipe.d.ts +13 -0
  237. package/components/select/lib/select.component.d.ts +50 -0
  238. package/components/select/lib/select.module.d.ts +11 -0
  239. package/components/select/lib/select.tokens.d.ts +3 -0
  240. package/components/slider/README.md +3 -0
  241. package/components/slider/index.d.ts +1 -0
  242. package/components/slider/lib/slider.directive.d.ts +12 -0
  243. package/components/spinbox/README.md +3 -0
  244. package/components/spinbox/index.d.ts +1 -0
  245. package/components/spinbox/lib/spinbox.component.d.ts +25 -0
  246. package/components/switch/README.md +3 -0
  247. package/components/switch/index.d.ts +3 -0
  248. package/components/switch/lib/switch.component.d.ts +7 -0
  249. package/components/switch/lib/switch.module.d.ts +9 -0
  250. package/components/switch/lib/switch.validator.d.ts +6 -0
  251. package/components/tab-bar/README.md +3 -0
  252. package/components/tab-bar/index.d.ts +4 -0
  253. package/components/tab-bar/lib/components/index.d.ts +1 -0
  254. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +20 -0
  255. package/components/tab-bar/lib/models/index.d.ts +1 -0
  256. package/components/tab-bar/lib/models/tab-change-event.d.ts +5 -0
  257. package/components/tab-bar/lib/tab-bar.component.d.ts +31 -0
  258. package/components/tab-bar/lib/tab-bar.config.d.ts +3 -0
  259. package/components/tab-bar/lib/tab-bar.module.d.ts +9 -0
  260. package/components/toast/README.md +3 -0
  261. package/components/toast/index.d.ts +5 -0
  262. package/components/toast/lib/components/index.d.ts +2 -0
  263. package/components/toast/lib/components/toast-container/toast-container.component.d.ts +23 -0
  264. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +20 -0
  265. package/components/toast/lib/models/index.d.ts +5 -0
  266. package/components/toast/lib/models/toast-action.d.ts +7 -0
  267. package/components/toast/lib/models/toast-ref.d.ts +7 -0
  268. package/components/toast/lib/models/toast-variant.d.ts +7 -0
  269. package/components/toast/lib/models/toast.d.ts +10 -0
  270. package/components/toast/lib/models/toast.options.d.ts +4 -0
  271. package/components/toast/lib/toast.config.d.ts +3 -0
  272. package/components/toast/lib/toast.module.d.ts +13 -0
  273. package/components/toast/lib/toast.service.d.ts +16 -0
  274. package/components/toggle-button-group/README.md +3 -0
  275. package/components/toggle-button-group/index.d.ts +3 -0
  276. package/components/toggle-button-group/lib/components/index.d.ts +1 -0
  277. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +7 -0
  278. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +11 -0
  279. package/components/toggle-button-group/lib/toggle-button-group.module.d.ts +9 -0
  280. package/components/tooltip/README.md +3 -0
  281. package/components/tooltip/index.d.ts +3 -0
  282. package/components/tooltip/lib/helpers/index.d.ts +1 -0
  283. package/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.d.ts +2 -0
  284. package/components/tooltip/lib/models/index.d.ts +3 -0
  285. package/components/tooltip/lib/models/tooltip-options.d.ts +10 -0
  286. package/components/tooltip/lib/models/tooltip-size.d.ts +7 -0
  287. package/components/tooltip/lib/models/tooltip-trigger.d.ts +1 -0
  288. package/components/tooltip/lib/tooltip.component.d.ts +12 -0
  289. package/components/tooltip/lib/tooltip.directive.d.ts +33 -0
  290. package/esm2020/animations/index.mjs +5 -3
  291. package/esm2020/animations/lib/config.mjs +8 -0
  292. package/esm2020/animations/lib/expand.mjs +14 -0
  293. package/esm2020/animations/lib/fade.mjs +9 -0
  294. package/esm2020/animations/lib/slide.mjs +34 -0
  295. package/esm2020/animations/lib/wait-for-child-animations.mjs +3 -0
  296. package/esm2020/cdk/a11y/index.mjs +3 -0
  297. package/esm2020/cdk/a11y/lib/a11y.module.mjs +19 -0
  298. package/esm2020/cdk/a11y/lib/directives/index.mjs +4 -0
  299. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +49 -0
  300. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +28 -0
  301. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +40 -0
  302. package/esm2020/cdk/a11y/odx-angular-cdk-a11y.mjs +5 -0
  303. package/esm2020/cdk/active-indicator/index.mjs +3 -0
  304. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +128 -0
  305. package/esm2020/cdk/active-indicator/lib/models/active-indicator-direction.mjs +5 -0
  306. package/esm2020/cdk/active-indicator/lib/models/active-indicator-position.mjs +6 -0
  307. package/esm2020/cdk/active-indicator/lib/models/index.mjs +3 -0
  308. package/esm2020/cdk/active-indicator/odx-angular-cdk-active-indicator.mjs +5 -0
  309. package/esm2020/cdk/checkbox-control/index.mjs +2 -0
  310. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +41 -0
  311. package/esm2020/cdk/checkbox-control/odx-angular-cdk-checkbox-control.mjs +5 -0
  312. package/esm2020/cdk/connected-overlay/index.mjs +4 -0
  313. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +116 -0
  314. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +25 -0
  315. package/esm2020/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +55 -0
  316. package/esm2020/cdk/connected-overlay/lib/helpers/index.mjs +2 -0
  317. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +12 -0
  318. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +15 -0
  319. package/esm2020/cdk/connected-overlay/lib/models/index.mjs +3 -0
  320. package/esm2020/cdk/connected-overlay/odx-angular-cdk-connected-overlay.mjs +5 -0
  321. package/esm2020/cdk/custom-form-control/index.mjs +3 -0
  322. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +19 -0
  323. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +94 -0
  324. package/esm2020/cdk/custom-form-control/odx-angular-cdk-custom-form-control.mjs +5 -0
  325. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +23 -14
  326. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +31 -16
  327. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +11 -9
  328. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-content.mjs +1 -1
  329. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +1 -1
  330. package/esm2020/cdk/dynamic-view/lib/facade/index.mjs +1 -2
  331. package/esm2020/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +9 -0
  332. package/esm2020/cdk/dynamic-view/lib/helpers/index.mjs +2 -3
  333. package/esm2020/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +2 -2
  334. package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +32 -12
  335. package/esm2020/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +17 -7
  336. package/esm2020/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +1 -1
  337. package/esm2020/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +10 -0
  338. package/esm2020/cdk/dynamic-view/lib/tokens/index.mjs +2 -1
  339. package/esm2020/cdk/expandable/index.mjs +5 -0
  340. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +47 -0
  341. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +41 -0
  342. package/esm2020/cdk/expandable/lib/directives/index.mjs +3 -0
  343. package/esm2020/cdk/expandable/lib/expandable.module.mjs +17 -0
  344. package/esm2020/cdk/expandable/lib/expandable.tokens.mjs +3 -0
  345. package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +2 -0
  346. package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +2 -0
  347. package/esm2020/cdk/expandable/lib/facade/index.mjs +3 -0
  348. package/esm2020/cdk/expandable/odx-angular-cdk-expandable.mjs +5 -0
  349. package/esm2020/cdk/radio-group-control/index.mjs +4 -0
  350. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +39 -0
  351. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +43 -0
  352. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +19 -0
  353. package/esm2020/cdk/radio-group-control/odx-angular-cdk-radio-group-control.mjs +5 -0
  354. package/esm2020/components/accordion/index.mjs +5 -0
  355. package/esm2020/components/accordion/lib/accordion.component.mjs +24 -0
  356. package/esm2020/components/accordion/lib/accordion.module.mjs +20 -0
  357. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +56 -0
  358. package/esm2020/components/accordion/lib/components/index.mjs +2 -0
  359. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +14 -0
  360. package/esm2020/components/accordion/lib/directives/index.mjs +2 -0
  361. package/esm2020/components/accordion/odx-angular-components-accordion.mjs +5 -0
  362. package/esm2020/components/action-group/action-group.component.mjs +15 -18
  363. package/esm2020/components/area-header/area-header.component.mjs +11 -11
  364. package/esm2020/components/area-header/area-header.module.mjs +9 -8
  365. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -5
  366. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -5
  367. package/esm2020/components/avatar/lib/avatar.component.mjs +19 -11
  368. package/esm2020/components/avatar/lib/models/avatar-variant.mjs +5 -0
  369. package/esm2020/components/avatar/lib/models/index.mjs +2 -1
  370. package/esm2020/components/badge/lib/badge.component.mjs +20 -70
  371. package/esm2020/components/badge/lib/badge.directive.mjs +52 -27
  372. package/esm2020/components/badge/lib/models/index.mjs +1 -2
  373. package/esm2020/components/bar/index.mjs +6 -0
  374. package/esm2020/components/bar/lib/bar.component.mjs +21 -0
  375. package/esm2020/components/bar/lib/bar.module.mjs +20 -0
  376. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +39 -0
  377. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +24 -0
  378. package/esm2020/components/bar/lib/models/bar-button-variant.mjs +5 -0
  379. package/esm2020/components/bar/odx-angular-components-bar.mjs +5 -0
  380. package/esm2020/components/breadcrumbs/index.mjs +2 -0
  381. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +50 -0
  382. package/esm2020/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +5 -0
  383. package/esm2020/components/button/lib/button.component.mjs +24 -35
  384. package/esm2020/components/button/lib/models/button-size.mjs +5 -0
  385. package/esm2020/components/button/lib/models/index.mjs +2 -1
  386. package/esm2020/components/button-group/index.mjs +2 -0
  387. package/esm2020/components/button-group/lib/button-group.component.mjs +54 -0
  388. package/esm2020/components/button-group/odx-angular-components-button-group.mjs +5 -0
  389. package/esm2020/components/checkbox/index.mjs +3 -1
  390. package/esm2020/components/checkbox/lib/checkbox.component.mjs +16 -32
  391. package/esm2020/components/checkbox/lib/checkbox.module.mjs +19 -0
  392. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +28 -0
  393. package/esm2020/components/chip/index.mjs +3 -0
  394. package/esm2020/components/chip/lib/chip.component.mjs +54 -0
  395. package/esm2020/components/chip/lib/models/chip-size.mjs +5 -0
  396. package/esm2020/components/chip/lib/models/chip-variant.mjs +7 -0
  397. package/esm2020/components/chip/lib/models/index.mjs +3 -0
  398. package/esm2020/components/chip/odx-angular-components-chip.mjs +5 -0
  399. package/esm2020/components/circular-progress/index.mjs +3 -0
  400. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +98 -0
  401. package/esm2020/components/circular-progress/lib/models/circular-progress-size.mjs +7 -0
  402. package/esm2020/components/circular-progress/lib/models/index.mjs +2 -0
  403. package/esm2020/components/circular-progress/odx-angular-components-circular-progress.mjs +5 -0
  404. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  405. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  406. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -5
  407. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -5
  408. package/esm2020/components/dropdown/index.mjs +6 -0
  409. package/esm2020/components/dropdown/lib/dropdown.component.mjs +40 -0
  410. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +157 -0
  411. package/esm2020/components/dropdown/lib/dropdown.module.mjs +18 -0
  412. package/esm2020/components/dropdown/lib/helpers/close-current-dropdown.mjs +5 -0
  413. package/esm2020/components/dropdown/lib/helpers/index.mjs +2 -0
  414. package/esm2020/components/dropdown/lib/models/close-dropdown-event.mjs +7 -0
  415. package/esm2020/components/dropdown/lib/models/dropdown-options.mjs +8 -0
  416. package/esm2020/components/dropdown/lib/models/index.mjs +3 -0
  417. package/esm2020/components/dropdown/odx-angular-components-dropdown.mjs +5 -0
  418. package/esm2020/components/form-field/index.mjs +7 -0
  419. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +24 -0
  420. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +34 -0
  421. package/esm2020/components/form-field/lib/components/index.mjs +3 -0
  422. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +75 -0
  423. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +25 -0
  424. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +23 -0
  425. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +24 -0
  426. package/esm2020/components/form-field/lib/directives/form.directive.mjs +28 -0
  427. package/esm2020/components/form-field/lib/directives/index.mjs +6 -0
  428. package/esm2020/components/form-field/lib/form-field.component.mjs +48 -0
  429. package/esm2020/components/form-field/lib/form-field.config.mjs +6 -0
  430. package/esm2020/components/form-field/lib/form-field.module.mjs +49 -0
  431. package/esm2020/components/form-field/lib/form-field.service.mjs +53 -0
  432. package/esm2020/components/form-field/lib/models/form-field-error-resolver.mjs +2 -0
  433. package/esm2020/components/form-field/lib/models/form-field-error.mjs +2 -0
  434. package/esm2020/components/form-field/lib/models/index.mjs +3 -0
  435. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +56 -0
  436. package/esm2020/components/form-field/lib/services/index.mjs +2 -0
  437. package/esm2020/components/form-field/odx-angular-components-form-field.mjs +5 -0
  438. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +13 -6
  439. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -5
  440. package/esm2020/components/header/lib/header.component.mjs +12 -13
  441. package/esm2020/components/header/lib/header.module.mjs +10 -14
  442. package/esm2020/components/icon/lib/icon.component.mjs +36 -12
  443. package/esm2020/components/icon/lib/models/icon-size.mjs +2 -1
  444. package/esm2020/components/inline-message/index.mjs +3 -0
  445. package/esm2020/components/inline-message/lib/inline-message.component.mjs +43 -0
  446. package/esm2020/components/inline-message/lib/models/index.mjs +2 -0
  447. package/esm2020/components/inline-message/lib/models/inline-message-variant.mjs +7 -0
  448. package/esm2020/components/inline-message/odx-angular-components-inline-message.mjs +5 -0
  449. package/esm2020/components/launch-tile/index.mjs +4 -0
  450. package/esm2020/components/launch-tile/lib/components/index.mjs +3 -0
  451. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +13 -0
  452. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +13 -0
  453. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +51 -0
  454. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +23 -0
  455. package/esm2020/components/launch-tile/odx-angular-components-launch-tile.mjs +5 -0
  456. package/esm2020/components/link/link.directive.mjs +14 -25
  457. package/esm2020/components/list/index.mjs +4 -0
  458. package/esm2020/components/list/lib/components/index.mjs +2 -0
  459. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +40 -0
  460. package/esm2020/components/list/lib/list.component.mjs +21 -0
  461. package/esm2020/components/list/lib/list.module.mjs +19 -0
  462. package/esm2020/components/list/odx-angular-components-list.mjs +5 -0
  463. package/esm2020/components/loading-spinner/index.mjs +4 -0
  464. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +58 -0
  465. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +91 -0
  466. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +19 -0
  467. package/esm2020/components/loading-spinner/odx-angular-components-loading-spinner.mjs +5 -0
  468. package/esm2020/components/logo/logo.directive.mjs +10 -11
  469. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +12 -13
  470. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +25 -20
  471. package/esm2020/components/main-menu/lib/main-menu.component.mjs +26 -26
  472. package/esm2020/components/main-menu/lib/main-menu.module.mjs +7 -7
  473. package/esm2020/components/main-menu/lib/main-menu.service.mjs +5 -5
  474. package/esm2020/components/menu/index.mjs +5 -0
  475. package/esm2020/components/menu/lib/directives/index.mjs +2 -0
  476. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +39 -0
  477. package/esm2020/components/menu/lib/menu.component.mjs +46 -0
  478. package/esm2020/components/menu/lib/menu.directive.mjs +51 -0
  479. package/esm2020/components/menu/lib/menu.module.mjs +20 -0
  480. package/esm2020/components/menu/odx-angular-components-menu.mjs +5 -0
  481. package/esm2020/components/modal/index.mjs +9 -0
  482. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +42 -0
  483. package/esm2020/components/modal/lib/components/index.mjs +5 -0
  484. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +21 -0
  485. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +40 -0
  486. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +39 -0
  487. package/esm2020/components/modal/lib/directives/index.mjs +4 -0
  488. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +34 -0
  489. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +24 -0
  490. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +24 -0
  491. package/esm2020/components/modal/lib/helpers/index.mjs +3 -0
  492. package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +6 -0
  493. package/esm2020/components/modal/lib/helpers/provide-modal-ref.mjs +5 -0
  494. package/esm2020/components/modal/lib/modal.component.mjs +86 -0
  495. package/esm2020/components/modal/lib/modal.config.mjs +10 -0
  496. package/esm2020/components/modal/lib/modal.directive.mjs +51 -0
  497. package/esm2020/components/modal/lib/modal.module.mjs +58 -0
  498. package/esm2020/components/modal/lib/modal.service.mjs +77 -0
  499. package/esm2020/components/modal/lib/models/basic-modal-options.mjs +2 -0
  500. package/esm2020/components/modal/lib/models/index.mjs +8 -0
  501. package/esm2020/components/modal/lib/models/modal-hero-variant.mjs +7 -0
  502. package/esm2020/components/modal/lib/models/modal-options.mjs +2 -0
  503. package/esm2020/components/modal/lib/models/modal-ref.mjs +48 -0
  504. package/esm2020/components/modal/lib/models/modal-size.mjs +6 -0
  505. package/esm2020/components/modal/lib/models/modal-type.mjs +2 -0
  506. package/esm2020/components/modal/lib/models/modal-variant.mjs +5 -0
  507. package/esm2020/components/modal/odx-angular-components-modal.mjs +5 -0
  508. package/esm2020/components/progress/index.mjs +2 -0
  509. package/esm2020/components/progress/lib/progress.component.mjs +51 -0
  510. package/esm2020/components/progress/odx-angular-components-progress.mjs +5 -0
  511. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +20 -40
  512. package/esm2020/components/radio-group/lib/radio-group.component.mjs +33 -16
  513. package/esm2020/components/radio-group/lib/radio-group.module.mjs +7 -7
  514. package/esm2020/components/rail-navigation/index.mjs +4 -0
  515. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +38 -0
  516. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +47 -0
  517. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +19 -0
  518. package/esm2020/components/rail-navigation/odx-angular-components-rail-navigation.mjs +5 -0
  519. package/esm2020/components/select/index.mjs +8 -0
  520. package/esm2020/components/select/lib/abstract/index.mjs +3 -0
  521. package/esm2020/components/select/lib/abstract/select-control-option.mjs +2 -0
  522. package/esm2020/components/select/lib/abstract/select-control.mjs +2 -0
  523. package/esm2020/components/select/lib/components/index.mjs +2 -0
  524. package/esm2020/components/select/lib/components/option/option.component.mjs +77 -0
  525. package/esm2020/components/select/lib/directives/index.mjs +2 -0
  526. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +47 -0
  527. package/esm2020/components/select/lib/pipes/index.mjs +2 -0
  528. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +51 -0
  529. package/esm2020/components/select/lib/select.component.mjs +187 -0
  530. package/esm2020/components/select/lib/select.module.mjs +21 -0
  531. package/esm2020/components/select/lib/select.tokens.mjs +3 -0
  532. package/esm2020/components/select/odx-angular-components-select.mjs +5 -0
  533. package/esm2020/components/slider/index.mjs +2 -0
  534. package/esm2020/components/slider/lib/slider.directive.mjs +42 -0
  535. package/esm2020/components/slider/odx-angular-components-slider.mjs +5 -0
  536. package/esm2020/components/spinbox/index.mjs +2 -0
  537. package/esm2020/components/spinbox/lib/spinbox.component.mjs +91 -0
  538. package/esm2020/components/spinbox/odx-angular-components-spinbox.mjs +5 -0
  539. package/esm2020/components/switch/index.mjs +4 -0
  540. package/esm2020/components/switch/lib/switch.component.mjs +23 -0
  541. package/esm2020/components/switch/lib/switch.module.mjs +19 -0
  542. package/esm2020/components/switch/lib/switch.validator.mjs +28 -0
  543. package/esm2020/components/switch/odx-angular-components-switch.mjs +5 -0
  544. package/esm2020/components/tab-bar/index.mjs +5 -0
  545. package/esm2020/components/tab-bar/lib/components/index.mjs +2 -0
  546. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +70 -0
  547. package/esm2020/components/tab-bar/lib/models/index.mjs +2 -0
  548. package/esm2020/components/tab-bar/lib/models/tab-change-event.mjs +2 -0
  549. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +115 -0
  550. package/esm2020/components/tab-bar/lib/tab-bar.config.mjs +3 -0
  551. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +19 -0
  552. package/esm2020/components/tab-bar/odx-angular-components-tab-bar.mjs +5 -0
  553. package/esm2020/components/toast/index.mjs +6 -0
  554. package/esm2020/components/toast/lib/components/index.mjs +3 -0
  555. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +87 -0
  556. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +74 -0
  557. package/esm2020/components/toast/lib/models/index.mjs +6 -0
  558. package/esm2020/components/toast/lib/models/toast-action.mjs +2 -0
  559. package/esm2020/components/toast/lib/models/toast-ref.mjs +2 -0
  560. package/esm2020/components/toast/lib/models/toast-variant.mjs +7 -0
  561. package/esm2020/components/toast/lib/models/toast.mjs +2 -0
  562. package/esm2020/components/toast/lib/models/toast.options.mjs +2 -0
  563. package/esm2020/components/toast/lib/toast.config.mjs +6 -0
  564. package/esm2020/components/toast/lib/toast.module.mjs +26 -0
  565. package/esm2020/components/toast/lib/toast.service.mjs +38 -0
  566. package/esm2020/components/toast/odx-angular-components-toast.mjs +5 -0
  567. package/esm2020/components/toggle-button-group/index.mjs +4 -0
  568. package/esm2020/components/toggle-button-group/lib/components/index.mjs +2 -0
  569. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +26 -0
  570. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +50 -0
  571. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +19 -0
  572. package/esm2020/components/toggle-button-group/odx-angular-components-toggle-button-group.mjs +5 -0
  573. package/esm2020/components/tooltip/index.mjs +4 -0
  574. package/esm2020/components/tooltip/lib/helpers/index.mjs +2 -0
  575. package/esm2020/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.mjs +9 -0
  576. package/esm2020/components/tooltip/lib/models/index.mjs +4 -0
  577. package/esm2020/components/tooltip/lib/models/tooltip-options.mjs +10 -0
  578. package/esm2020/components/tooltip/lib/models/tooltip-size.mjs +7 -0
  579. package/esm2020/components/tooltip/lib/models/tooltip-trigger.mjs +2 -0
  580. package/esm2020/components/tooltip/lib/tooltip.component.mjs +39 -0
  581. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +132 -0
  582. package/esm2020/components/tooltip/odx-angular-components-tooltip.mjs +5 -0
  583. package/esm2020/index.mjs +2 -2
  584. package/esm2020/internal/decorators/css-component.mjs +5 -7
  585. package/esm2020/internal/decorators/css-modifier.mjs +17 -11
  586. package/esm2020/internal/helpers/camel-to-kebab-case.mjs +12 -0
  587. package/esm2020/internal/helpers/index.mjs +2 -4
  588. package/esm2020/internal/helpers/with-mutiple-descriptors.mjs +18 -11
  589. package/esm2020/internal/index.mjs +1 -4
  590. package/esm2020/lib/controllers/controller.mjs +39 -0
  591. package/esm2020/lib/controllers/disabled.controller.mjs +32 -46
  592. package/esm2020/lib/controllers/index.mjs +3 -1
  593. package/esm2020/lib/controllers/readonly.controller.mjs +69 -0
  594. package/esm2020/lib/core.module.mjs +11 -10
  595. package/esm2020/lib/directives/click-outside.directive.mjs +59 -0
  596. package/esm2020/lib/directives/index.mjs +5 -3
  597. package/esm2020/lib/directives/let.directive.mjs +36 -0
  598. package/esm2020/lib/directives/with-disabled-state.directive.mjs +41 -0
  599. package/esm2020/lib/directives/with-tabindex.directive.mjs +23 -0
  600. package/esm2020/lib/services/index.mjs +1 -2
  601. package/esm2020/lib/services/window-ref.mjs +11 -7
  602. package/esm2020/lib/tokens/identity-matcher.mjs +7 -0
  603. package/esm2020/lib/tokens/index.mjs +4 -0
  604. package/esm2020/lib/tokens/string-search-handler.mjs +9 -0
  605. package/esm2020/lib/tokens/stringify.mjs +8 -0
  606. package/esm2020/rxjs/index.mjs +4 -1
  607. package/esm2020/rxjs/lib/delay-until.mjs +5 -0
  608. package/esm2020/rxjs/lib/form-query-list.mjs +5 -0
  609. package/esm2020/rxjs/lib/from-element-resize.mjs +14 -0
  610. package/esm2020/utils/index.mjs +2 -1
  611. package/esm2020/utils/lib/decorators/index.mjs +2 -1
  612. package/esm2020/utils/lib/decorators/pure.mjs +37 -0
  613. package/esm2020/utils/lib/decorators/transform.mjs +2 -2
  614. package/esm2020/utils/lib/helpers/angular.mjs +33 -0
  615. package/esm2020/utils/lib/helpers/defer-fn.mjs +4 -0
  616. package/esm2020/utils/lib/helpers/dom.mjs +52 -0
  617. package/esm2020/utils/lib/helpers/event-manager.mjs +30 -0
  618. package/esm2020/utils/lib/helpers/get-axis.mjs +14 -0
  619. package/esm2020/utils/lib/helpers/get-opposite-side.mjs +15 -0
  620. package/esm2020/utils/lib/helpers/get-side.mjs +4 -0
  621. package/esm2020/utils/lib/helpers/get-unique-id.mjs +7 -0
  622. package/esm2020/utils/lib/helpers/index.mjs +13 -1
  623. package/esm2020/utils/lib/helpers/ng-changes.mjs +1 -1
  624. package/esm2020/utils/lib/helpers/provide-module-config.mjs +21 -0
  625. package/esm2020/utils/lib/helpers/queue.mjs +49 -0
  626. package/esm2020/utils/lib/helpers/type-guards.mjs +29 -0
  627. package/esm2020/utils/lib/helpers/until-destroyed.mjs +13 -0
  628. package/esm2020/utils/lib/types/axis.mjs +5 -0
  629. package/esm2020/utils/lib/types/get-properties.mjs +2 -0
  630. package/esm2020/utils/lib/types/index.mjs +5 -0
  631. package/esm2020/utils/lib/types/position.mjs +15 -0
  632. package/esm2020/utils/lib/types/side.mjs +7 -0
  633. package/fesm2015/odx-angular-animations.mjs +17 -3
  634. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  635. package/fesm2015/odx-angular-cdk-a11y.mjs +132 -0
  636. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -0
  637. package/fesm2015/odx-angular-cdk-active-indicator.mjs +145 -0
  638. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -0
  639. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +48 -0
  640. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -0
  641. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +222 -0
  642. package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +1 -0
  643. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +123 -0
  644. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -0
  645. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +126 -78
  646. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  647. package/fesm2015/odx-angular-cdk-expandable.mjs +108 -0
  648. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -0
  649. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +99 -0
  650. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -0
  651. package/fesm2015/odx-angular-components-accordion.mjs +106 -0
  652. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -0
  653. package/fesm2015/odx-angular-components-action-group.mjs +14 -17
  654. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  655. package/fesm2015/odx-angular-components-area-header.mjs +24 -25
  656. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  657. package/fesm2015/odx-angular-components-avatar.mjs +23 -10
  658. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  659. package/fesm2015/odx-angular-components-badge.mjs +67 -104
  660. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  661. package/fesm2015/odx-angular-components-bar.mjs +96 -0
  662. package/fesm2015/odx-angular-components-bar.mjs.map +1 -0
  663. package/fesm2015/odx-angular-components-breadcrumbs.mjs +56 -0
  664. package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +1 -0
  665. package/fesm2015/odx-angular-components-button-group.mjs +60 -0
  666. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -0
  667. package/fesm2015/odx-angular-components-button.mjs +28 -39
  668. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  669. package/fesm2015/odx-angular-components-checkbox.mjs +56 -31
  670. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  671. package/fesm2015/odx-angular-components-chip.mjs +71 -0
  672. package/fesm2015/odx-angular-components-chip.mjs.map +1 -0
  673. package/fesm2015/odx-angular-components-circular-progress.mjs +110 -0
  674. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -0
  675. package/fesm2015/odx-angular-components-content-box.mjs +13 -15
  676. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  677. package/fesm2015/odx-angular-components-dropdown.mjs +223 -0
  678. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -0
  679. package/fesm2015/odx-angular-components-form-field.mjs +383 -0
  680. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -0
  681. package/fesm2015/odx-angular-components-header.mjs +34 -33
  682. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  683. package/fesm2015/odx-angular-components-icon.mjs +36 -11
  684. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  685. package/fesm2015/odx-angular-components-inline-message.mjs +55 -0
  686. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -0
  687. package/fesm2015/odx-angular-components-launch-tile.mjs +95 -0
  688. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -0
  689. package/fesm2015/odx-angular-components-link.mjs +13 -25
  690. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  691. package/fesm2015/odx-angular-components-list.mjs +76 -0
  692. package/fesm2015/odx-angular-components-list.mjs.map +1 -0
  693. package/fesm2015/odx-angular-components-loading-spinner.mjs +163 -0
  694. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -0
  695. package/fesm2015/odx-angular-components-logo.mjs +9 -10
  696. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  697. package/fesm2015/odx-angular-components-main-menu.mjs +62 -61
  698. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  699. package/fesm2015/odx-angular-components-menu.mjs +138 -0
  700. package/fesm2015/odx-angular-components-menu.mjs.map +1 -0
  701. package/fesm2015/odx-angular-components-modal.mjs +495 -0
  702. package/fesm2015/odx-angular-components-modal.mjs.map +1 -0
  703. package/fesm2015/odx-angular-components-progress.mjs +57 -0
  704. package/fesm2015/odx-angular-components-progress.mjs.map +1 -0
  705. package/fesm2015/odx-angular-components-radio-group.mjs +65 -69
  706. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  707. package/fesm2015/odx-angular-components-rail-navigation.mjs +97 -0
  708. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -0
  709. package/fesm2015/odx-angular-components-select.mjs +372 -0
  710. package/fesm2015/odx-angular-components-select.mjs.map +1 -0
  711. package/fesm2015/odx-angular-components-slider.mjs +48 -0
  712. package/fesm2015/odx-angular-components-slider.mjs.map +1 -0
  713. package/fesm2015/odx-angular-components-spinbox.mjs +100 -0
  714. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -0
  715. package/fesm2015/odx-angular-components-switch.mjs +69 -0
  716. package/fesm2015/odx-angular-components-switch.mjs.map +1 -0
  717. package/fesm2015/odx-angular-components-tab-bar.mjs +200 -0
  718. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -0
  719. package/fesm2015/odx-angular-components-toast.mjs +221 -0
  720. package/fesm2015/odx-angular-components-toast.mjs.map +1 -0
  721. package/fesm2015/odx-angular-components-toggle-button-group.mjs +87 -0
  722. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -0
  723. package/fesm2015/odx-angular-components-tooltip.mjs +187 -0
  724. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -0
  725. package/fesm2015/odx-angular-internal.mjs +66 -120
  726. package/fesm2015/odx-angular-internal.mjs.map +1 -1
  727. package/fesm2015/odx-angular-rxjs.mjs +23 -2
  728. package/fesm2015/odx-angular-rxjs.mjs.map +1 -1
  729. package/fesm2015/odx-angular-utils.mjs +330 -2
  730. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  731. package/fesm2015/odx-angular.mjs +296 -228
  732. package/fesm2015/odx-angular.mjs.map +1 -1
  733. package/fesm2020/odx-angular-animations.mjs +17 -6
  734. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  735. package/fesm2020/odx-angular-cdk-a11y.mjs +128 -0
  736. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -0
  737. package/fesm2020/odx-angular-cdk-active-indicator.mjs +143 -0
  738. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -0
  739. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +48 -0
  740. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -0
  741. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +218 -0
  742. package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +1 -0
  743. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +117 -0
  744. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -0
  745. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +115 -57
  746. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  747. package/fesm2020/odx-angular-cdk-expandable.mjs +107 -0
  748. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -0
  749. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +99 -0
  750. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -0
  751. package/fesm2020/odx-angular-components-accordion.mjs +105 -0
  752. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -0
  753. package/fesm2020/odx-angular-components-action-group.mjs +14 -17
  754. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  755. package/fesm2020/odx-angular-components-area-header.mjs +24 -25
  756. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  757. package/fesm2020/odx-angular-components-avatar.mjs +23 -10
  758. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  759. package/fesm2020/odx-angular-components-badge.mjs +64 -97
  760. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  761. package/fesm2020/odx-angular-components-bar.mjs +96 -0
  762. package/fesm2020/odx-angular-components-bar.mjs.map +1 -0
  763. package/fesm2020/odx-angular-components-breadcrumbs.mjs +56 -0
  764. package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +1 -0
  765. package/fesm2020/odx-angular-components-button-group.mjs +60 -0
  766. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -0
  767. package/fesm2020/odx-angular-components-button.mjs +28 -34
  768. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  769. package/fesm2020/odx-angular-components-checkbox.mjs +56 -31
  770. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  771. package/fesm2020/odx-angular-components-chip.mjs +71 -0
  772. package/fesm2020/odx-angular-components-chip.mjs.map +1 -0
  773. package/fesm2020/odx-angular-components-circular-progress.mjs +110 -0
  774. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -0
  775. package/fesm2020/odx-angular-components-content-box.mjs +13 -15
  776. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  777. package/fesm2020/odx-angular-components-dropdown.mjs +226 -0
  778. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -0
  779. package/fesm2020/odx-angular-components-form-field.mjs +380 -0
  780. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -0
  781. package/fesm2020/odx-angular-components-header.mjs +34 -33
  782. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  783. package/fesm2020/odx-angular-components-icon.mjs +36 -11
  784. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  785. package/fesm2020/odx-angular-components-inline-message.mjs +55 -0
  786. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -0
  787. package/fesm2020/odx-angular-components-launch-tile.mjs +94 -0
  788. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -0
  789. package/fesm2020/odx-angular-components-link.mjs +13 -24
  790. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  791. package/fesm2020/odx-angular-components-list.mjs +76 -0
  792. package/fesm2020/odx-angular-components-list.mjs.map +1 -0
  793. package/fesm2020/odx-angular-components-loading-spinner.mjs +162 -0
  794. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -0
  795. package/fesm2020/odx-angular-components-logo.mjs +9 -10
  796. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  797. package/fesm2020/odx-angular-components-main-menu.mjs +62 -60
  798. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  799. package/fesm2020/odx-angular-components-menu.mjs +140 -0
  800. package/fesm2020/odx-angular-components-menu.mjs.map +1 -0
  801. package/fesm2020/odx-angular-components-modal.mjs +497 -0
  802. package/fesm2020/odx-angular-components-modal.mjs.map +1 -0
  803. package/fesm2020/odx-angular-components-progress.mjs +57 -0
  804. package/fesm2020/odx-angular-components-progress.mjs.map +1 -0
  805. package/fesm2020/odx-angular-components-radio-group.mjs +65 -68
  806. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  807. package/fesm2020/odx-angular-components-rail-navigation.mjs +97 -0
  808. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -0
  809. package/fesm2020/odx-angular-components-select.mjs +359 -0
  810. package/fesm2020/odx-angular-components-select.mjs.map +1 -0
  811. package/fesm2020/odx-angular-components-slider.mjs +48 -0
  812. package/fesm2020/odx-angular-components-slider.mjs.map +1 -0
  813. package/fesm2020/odx-angular-components-spinbox.mjs +97 -0
  814. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -0
  815. package/fesm2020/odx-angular-components-switch.mjs +69 -0
  816. package/fesm2020/odx-angular-components-switch.mjs.map +1 -0
  817. package/fesm2020/odx-angular-components-tab-bar.mjs +195 -0
  818. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -0
  819. package/fesm2020/odx-angular-components-toast.mjs +220 -0
  820. package/fesm2020/odx-angular-components-toast.mjs.map +1 -0
  821. package/fesm2020/odx-angular-components-toggle-button-group.mjs +87 -0
  822. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -0
  823. package/fesm2020/odx-angular-components-tooltip.mjs +192 -0
  824. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -0
  825. package/fesm2020/odx-angular-internal.mjs +64 -118
  826. package/fesm2020/odx-angular-internal.mjs.map +1 -1
  827. package/fesm2020/odx-angular-rxjs.mjs +23 -2
  828. package/fesm2020/odx-angular-rxjs.mjs.map +1 -1
  829. package/fesm2020/odx-angular-utils.mjs +323 -2
  830. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  831. package/fesm2020/odx-angular.mjs +292 -224
  832. package/fesm2020/odx-angular.mjs.map +1 -1
  833. package/index.d.ts +1 -1
  834. package/internal/decorators/css-component.d.ts +2 -2
  835. package/internal/helpers/camel-to-kebab-case.d.ts +2 -0
  836. package/internal/helpers/index.d.ts +1 -3
  837. package/internal/helpers/with-mutiple-descriptors.d.ts +1 -1
  838. package/internal/index.d.ts +0 -3
  839. package/{internal/abstract → lib/controllers}/controller.d.ts +3 -3
  840. package/lib/controllers/disabled.controller.d.ts +8 -11
  841. package/lib/controllers/index.d.ts +2 -0
  842. package/lib/controllers/readonly.controller.d.ts +20 -0
  843. package/lib/core.module.d.ts +5 -4
  844. package/lib/directives/click-outside.directive.d.ts +18 -0
  845. package/lib/directives/index.d.ts +4 -2
  846. package/lib/directives/let.directive.d.ts +17 -0
  847. package/lib/directives/with-disabled-state.directive.d.ts +13 -0
  848. package/lib/directives/with-tabindex.directive.d.ts +7 -0
  849. package/lib/services/index.d.ts +0 -1
  850. package/lib/services/window-ref.d.ts +2 -0
  851. package/lib/tokens/identity-matcher.d.ts +3 -0
  852. package/lib/tokens/index.d.ts +3 -0
  853. package/lib/tokens/string-search-handler.d.ts +3 -0
  854. package/lib/tokens/stringify.d.ts +3 -0
  855. package/package.json +265 -13
  856. package/rxjs/index.d.ts +3 -0
  857. package/rxjs/lib/delay-until.d.ts +2 -0
  858. package/rxjs/lib/form-query-list.d.ts +3 -0
  859. package/rxjs/lib/from-element-resize.d.ts +2 -0
  860. package/utils/index.d.ts +1 -0
  861. package/utils/lib/decorators/index.d.ts +1 -0
  862. package/utils/lib/decorators/pure.d.ts +1 -0
  863. package/utils/lib/decorators/transform.d.ts +1 -1
  864. package/utils/lib/helpers/angular.d.ts +6 -0
  865. package/utils/lib/helpers/defer-fn.d.ts +1 -0
  866. package/utils/lib/helpers/dom.d.ts +10 -0
  867. package/utils/lib/helpers/event-manager.d.ts +12 -0
  868. package/utils/lib/helpers/get-axis.d.ts +2 -0
  869. package/utils/lib/helpers/get-opposite-side.d.ts +2 -0
  870. package/utils/lib/helpers/get-side.d.ts +2 -0
  871. package/utils/lib/helpers/get-unique-id.d.ts +1 -0
  872. package/utils/lib/helpers/index.d.ts +12 -0
  873. package/utils/lib/helpers/ng-changes.d.ts +1 -1
  874. package/utils/lib/helpers/provide-module-config.d.ts +12 -0
  875. package/utils/lib/helpers/queue.d.ts +22 -0
  876. package/{internal → utils/lib}/helpers/type-guards.d.ts +2 -1
  877. package/utils/lib/helpers/until-destroyed.d.ts +2 -0
  878. package/utils/lib/types/axis.d.ts +5 -0
  879. package/{internal → utils/lib}/types/get-properties.d.ts +1 -1
  880. package/utils/lib/types/index.d.ts +4 -0
  881. package/utils/lib/types/position.d.ts +15 -0
  882. package/utils/lib/types/side.d.ts +7 -0
  883. package/cdk/dynamic-view/lib/facade/animated-component.d.ts +0 -4
  884. package/cdk/dynamic-view/lib/helpers/is-animated-component.d.ts +0 -3
  885. package/cdk/dynamic-view/lib/helpers/wait-for-animations.d.ts +0 -3
  886. package/components/badge/lib/badge.config.d.ts +0 -3
  887. package/components/badge/lib/facade/badge-host.d.ts +0 -3
  888. package/components/badge/lib/facade/index.d.ts +0 -1
  889. package/components/badge/lib/models/badge-position.d.ts +0 -5
  890. package/esm2020/animations/config.mjs +0 -8
  891. package/esm2020/animations/fade.mjs +0 -12
  892. package/esm2020/animations/slide.mjs +0 -34
  893. package/esm2020/cdk/dynamic-view/lib/facade/animated-component.mjs +0 -2
  894. package/esm2020/cdk/dynamic-view/lib/helpers/is-animated-component.mjs +0 -5
  895. package/esm2020/cdk/dynamic-view/lib/helpers/wait-for-animations.mjs +0 -9
  896. package/esm2020/components/badge/lib/badge.config.mjs +0 -3
  897. package/esm2020/components/badge/lib/facade/badge-host.mjs +0 -2
  898. package/esm2020/components/badge/lib/facade/index.mjs +0 -2
  899. package/esm2020/components/badge/lib/models/badge-position.mjs +0 -5
  900. package/esm2020/internal/abstract/controller.mjs +0 -29
  901. package/esm2020/internal/abstract/index.mjs +0 -2
  902. package/esm2020/internal/helpers/dom.mjs +0 -7
  903. package/esm2020/internal/helpers/type-guards.mjs +0 -27
  904. package/esm2020/internal/helpers/watch.mjs +0 -8
  905. package/esm2020/internal/providers/index.mjs +0 -2
  906. package/esm2020/internal/providers/watched-controller-provider.mjs +0 -9
  907. package/esm2020/internal/types/get-properties.mjs +0 -2
  908. package/esm2020/internal/types/index.mjs +0 -2
  909. package/esm2020/lib/controls/custom-form-control.mjs +0 -133
  910. package/esm2020/lib/controls/index.mjs +0 -2
  911. package/esm2020/lib/directives/control.directive.mjs +0 -18
  912. package/esm2020/lib/directives/monitor-focus.directive.mjs +0 -34
  913. package/esm2020/lib/services/destroy.service.mjs +0 -18
  914. package/internal/abstract/index.d.ts +0 -1
  915. package/internal/helpers/dom.d.ts +0 -2
  916. package/internal/helpers/watch.d.ts +0 -4
  917. package/internal/providers/index.d.ts +0 -1
  918. package/internal/providers/watched-controller-provider.d.ts +0 -5
  919. package/internal/types/index.d.ts +0 -1
  920. package/lib/controls/custom-form-control.d.ts +0 -40
  921. package/lib/controls/index.d.ts +0 -1
  922. package/lib/directives/monitor-focus.directive.d.ts +0 -12
  923. package/lib/services/destroy.service.d.ts +0 -9
  924. /package/animations/{config.d.ts → lib/config.d.ts} +0 -0
  925. /package/animations/{fade.d.ts → lib/fade.d.ts} +0 -0
  926. /package/animations/{slide.d.ts → lib/slide.d.ts} +0 -0
@@ -0,0 +1,495 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, Directive, Input, HostListener, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChild, Injector, Injectable, TemplateRef, EventEmitter, Output, NgModule } from '@angular/core';
3
+ import * as i1$1 from '@odx/angular';
4
+ import { Controller, detectControllerChanges, CoreModule } from '@odx/angular';
5
+ import { DynamicViewDirective, DynamicViewService } from '@odx/angular/cdk/dynamic-view';
6
+ import { AreaHeaderSize, AreaHeaderComponent, AreaHeaderModule } from '@odx/angular/components/area-header';
7
+ import { ButtonComponent } from '@odx/angular/components/button';
8
+ import { injectElement, getInjector, hasChanged, isTemplateRef, createModuleConfigTokens, Queue, deferFn, provideModuleConfig } from '@odx/angular/utils';
9
+ import { deepmerge } from 'deepmerge-ts';
10
+ import { Subject, share, merge, finalize } from 'rxjs';
11
+ import { __decorate, __metadata } from 'tslib';
12
+ import { CSSComponent, CSSModifier } from '@odx/angular/internal';
13
+ import { ActionGroupComponent } from '@odx/angular/components/action-group';
14
+ import { IconComponent } from '@odx/angular/components/icon';
15
+ import * as i1 from '@angular/common';
16
+ import { trigger, transition, group, useAnimation, query } from '@angular/animations';
17
+ import { fadeIn, slideInY, fadeOut, slideOutY, slideInRight, slideOutRight } from '@odx/angular/animations';
18
+ import { A11yModule } from '@odx/angular/cdk/a11y';
19
+ import * as i2 from '@angular/cdk/a11y';
20
+ import { ButtonGroupComponent } from '@odx/angular/components/button-group';
21
+
22
+ const ModalHeroVariant = {
23
+ PRIMARY: 'primary',
24
+ SUCCESS: 'success',
25
+ CONFIRMATION: 'confirmation',
26
+ DANGER: 'danger',
27
+ };
28
+
29
+ class ModalRef extends Controller {
30
+ constructor(internalOptions, isActive) {
31
+ super();
32
+ this.internalOptions = internalOptions;
33
+ this.onClose$$ = new Subject();
34
+ this.onDismiss$$ = new Subject();
35
+ this.onClose$ = this.onClose$$.pipe(share({ resetOnRefCountZero: true }));
36
+ this.onDismiss$ = this.onDismiss$$.pipe(share({ resetOnRefCountZero: true }));
37
+ this.onDestroy$ = merge(this.onClose$, this.onDismiss$);
38
+ this.isActive = () => isActive(this);
39
+ }
40
+ get id() {
41
+ return this.options.id;
42
+ }
43
+ get modalTitleId() {
44
+ return `${this.options.id}-title`;
45
+ }
46
+ get data() {
47
+ return this.internalOptions.data;
48
+ }
49
+ get options() {
50
+ return this.internalOptions;
51
+ }
52
+ update(options) {
53
+ this.internalOptions = deepmerge(this.internalOptions, options);
54
+ this.triggerControllerChange();
55
+ }
56
+ dismiss(force = false) {
57
+ if (!force && !this.isActive())
58
+ return;
59
+ this.onDismiss$$.next();
60
+ this.destroy();
61
+ }
62
+ close(result) {
63
+ if (!this.isActive())
64
+ return;
65
+ this.onClose$$.next(result);
66
+ this.destroy();
67
+ }
68
+ destroy() {
69
+ this.onClose$$.complete();
70
+ this.onDismiss$$.complete();
71
+ }
72
+ }
73
+
74
+ const ModalSize = {
75
+ SMALL: 'small',
76
+ MEDIUM: 'medium',
77
+ LARGE: 'large',
78
+ };
79
+
80
+ const ModalVariant = {
81
+ DEFAULT: 'default',
82
+ SIDESHEET: 'sidesheet',
83
+ };
84
+
85
+ function injectModalRef() {
86
+ return inject((ModalRef));
87
+ }
88
+
89
+ function provideModalRef(modalRef) {
90
+ return { provide: ModalRef, useValue: modalRef };
91
+ }
92
+
93
+ class ModalCloseDirective {
94
+ constructor() {
95
+ this.modalRef = injectModalRef();
96
+ this.result = null;
97
+ }
98
+ onClick() {
99
+ const result = this.result === '' ? null : this.result;
100
+ if (result === undefined) {
101
+ this.modalRef.dismiss();
102
+ }
103
+ else {
104
+ this.modalRef.close(result !== null && result !== void 0 ? result : null);
105
+ }
106
+ }
107
+ }
108
+ ModalCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
109
+ ModalCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: ModalCloseDirective, isStandalone: true, selector: "[odxModalClose]", inputs: { result: ["odxModalClose", "result"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalCloseDirective, decorators: [{
111
+ type: Directive,
112
+ args: [{
113
+ standalone: true,
114
+ selector: '[odxModalClose]',
115
+ }]
116
+ }], propDecorators: { result: [{
117
+ type: Input,
118
+ args: ['odxModalClose']
119
+ }], onClick: [{
120
+ type: HostListener,
121
+ args: ['click']
122
+ }] } });
123
+
124
+ let ModalContentDirective = class ModalContentDirective {
125
+ constructor() {
126
+ this.element = injectElement();
127
+ }
128
+ };
129
+ ModalContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
130
+ ModalContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: ModalContentDirective, isStandalone: true, selector: "odx-modal-content", ngImport: i0 });
131
+ ModalContentDirective = __decorate([
132
+ CSSComponent('modal__content')
133
+ ], ModalContentDirective);
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalContentDirective, decorators: [{
135
+ type: Directive,
136
+ args: [{
137
+ standalone: true,
138
+ selector: 'odx-modal-content',
139
+ }]
140
+ }] });
141
+
142
+ class ModalDismissDirective {
143
+ constructor() {
144
+ this.modalRef = injectModalRef();
145
+ }
146
+ onClick() {
147
+ this.modalRef.dismiss();
148
+ }
149
+ }
150
+ ModalDismissDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalDismissDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
151
+ ModalDismissDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: ModalDismissDirective, isStandalone: true, selector: "[odxModalDismiss]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalDismissDirective, decorators: [{
153
+ type: Directive,
154
+ args: [{
155
+ standalone: true,
156
+ selector: '[odxModalDismiss]',
157
+ }]
158
+ }], propDecorators: { onClick: [{
159
+ type: HostListener,
160
+ args: ['click']
161
+ }] } });
162
+
163
+ let ModalFooterComponent = class ModalFooterComponent {
164
+ constructor() {
165
+ this.element = injectElement();
166
+ }
167
+ };
168
+ ModalFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
169
+ ModalFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ModalFooterComponent, isStandalone: true, selector: "odx-modal-footer", ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
170
+ ModalFooterComponent = __decorate([
171
+ CSSComponent('modal__footer')
172
+ ], ModalFooterComponent);
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalFooterComponent, decorators: [{
174
+ type: Component,
175
+ args: [{ standalone: true, selector: 'odx-modal-footer', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
176
+ }] });
177
+
178
+ let ModalHeaderComponent = class ModalHeaderComponent {
179
+ constructor() {
180
+ this.modalRef = injectModalRef();
181
+ this.element = injectElement();
182
+ detectControllerChanges(this.modalRef).subscribe();
183
+ }
184
+ ngAfterContentInit() {
185
+ if (this.areaHeaderComponent) {
186
+ this.areaHeaderComponent.size = AreaHeaderSize.MEDIUM;
187
+ }
188
+ }
189
+ };
190
+ ModalHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
191
+ ModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ModalHeaderComponent, isStandalone: true, selector: "odx-modal-header", queries: [{ propertyName: "areaHeaderComponent", first: true, predicate: AreaHeaderComponent, descendants: true }], ngImport: i0, template: "<ng-content select=\"odx-area-header\"></ng-content>\n<odx-action-group class=\"odx-modal__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
192
+ ModalHeaderComponent = __decorate([
193
+ CSSComponent('modal__header'),
194
+ __metadata("design:paramtypes", [])
195
+ ], ModalHeaderComponent);
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHeaderComponent, decorators: [{
197
+ type: Component,
198
+ args: [{ standalone: true, selector: 'odx-modal-header', imports: [CoreModule, ActionGroupComponent, ButtonComponent, IconComponent, ModalDismissDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"odx-area-header\"></ng-content>\n<odx-action-group class=\"odx-modal__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n" }]
199
+ }], ctorParameters: function () { return []; }, propDecorators: { areaHeaderComponent: [{
200
+ type: ContentChild,
201
+ args: [AreaHeaderComponent]
202
+ }] } });
203
+
204
+ let ModalHeroComponent = class ModalHeroComponent {
205
+ constructor() {
206
+ this.element = injectElement();
207
+ this.modalRef = injectModalRef();
208
+ detectControllerChanges(this.modalRef).subscribe();
209
+ }
210
+ };
211
+ ModalHeroComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHeroComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
212
+ ModalHeroComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ModalHeroComponent, isStandalone: true, selector: "odx-modal-hero", inputs: { icon: "icon", variant: "variant" }, ngImport: i0, template: "<odx-icon class=\"odx-modal-hero__icon\" [name]=\"icon\" size=\"xlarge\" *ngIf=\"icon\"> </odx-icon>\n\n<div class=\"odx-modal-hero__title odx-title-4\">\n <ng-content></ng-content>\n</div>\n\n<odx-action-group class=\"odx-modal-hero__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "directive", type: ModalDismissDirective, selector: "[odxModalDismiss]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
213
+ __decorate([
214
+ CSSModifier(),
215
+ __metadata("design:type", Object)
216
+ ], ModalHeroComponent.prototype, "variant", void 0);
217
+ ModalHeroComponent = __decorate([
218
+ CSSComponent('modal-hero'),
219
+ __metadata("design:paramtypes", [])
220
+ ], ModalHeroComponent);
221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalHeroComponent, decorators: [{
222
+ type: Component,
223
+ args: [{ selector: 'odx-modal-hero', standalone: true, imports: [CoreModule, ActionGroupComponent, ButtonComponent, IconComponent, ModalDismissDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<odx-icon class=\"odx-modal-hero__icon\" [name]=\"icon\" size=\"xlarge\" *ngIf=\"icon\"> </odx-icon>\n\n<div class=\"odx-modal-hero__title odx-title-4\">\n <ng-content></ng-content>\n</div>\n\n<odx-action-group class=\"odx-modal-hero__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n" }]
224
+ }], ctorParameters: function () { return []; }, propDecorators: { icon: [{
225
+ type: Input
226
+ }], variant: [{
227
+ type: Input
228
+ }] } });
229
+
230
+ class BasicModalComponent {
231
+ constructor() {
232
+ this.injector = getInjector();
233
+ this.modalRef = injectModalRef();
234
+ }
235
+ get data() {
236
+ return this.modalRef.data;
237
+ }
238
+ trackByIndex(index) {
239
+ return index;
240
+ }
241
+ }
242
+ BasicModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasicModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
243
+ BasicModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: BasicModalComponent, isStandalone: true, selector: "odx-basic-modal", ngImport: i0, template: "<odx-modal-hero [icon]=\"icon\" [variant]=\"data.heroVariant\" *ngIf=\"data.heroIcon as icon; else modalHeader\">\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n</odx-modal-hero>\n\n<odx-modal-content>\n <ng-template [odxDynamicView]=\"data.content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</odx-modal-content>\n\n<odx-modal-footer>\n <button odxButton [variant]=\"action.variant\" [odxModalClose]=\"action.data\" *ngFor=\"let action of data.actions; let i = index; trackBy: trackByIndex\">\n {{ action.label }}\n </button>\n</odx-modal-footer>\n\n<ng-template #modalHeader>\n <odx-modal-header>\n <odx-area-header>\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n </odx-area-header>\n </odx-modal-header>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: AreaHeaderComponent, selector: "odx-area-header", inputs: ["size"] }, { kind: "component", type: ModalHeaderComponent, selector: "odx-modal-header" }, { kind: "component", type: ModalHeroComponent, selector: "odx-modal-hero", inputs: ["icon", "variant"] }, { kind: "component", type: ModalFooterComponent, selector: "odx-modal-footer" }, { kind: "directive", type: ModalContentDirective, selector: "odx-modal-content" }, { kind: "directive", type: ModalCloseDirective, selector: "[odxModalClose]", inputs: ["odxModalClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasicModalComponent, decorators: [{
245
+ type: Component,
246
+ args: [{ selector: 'odx-basic-modal', standalone: true, imports: [
247
+ CoreModule,
248
+ DynamicViewDirective,
249
+ ButtonComponent,
250
+ AreaHeaderComponent,
251
+ ModalHeaderComponent,
252
+ ModalHeroComponent,
253
+ ModalFooterComponent,
254
+ ModalContentDirective,
255
+ ModalCloseDirective,
256
+ ], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<odx-modal-hero [icon]=\"icon\" [variant]=\"data.heroVariant\" *ngIf=\"data.heroIcon as icon; else modalHeader\">\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n</odx-modal-hero>\n\n<odx-modal-content>\n <ng-template [odxDynamicView]=\"data.content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</odx-modal-content>\n\n<odx-modal-footer>\n <button odxButton [variant]=\"action.variant\" [odxModalClose]=\"action.data\" *ngFor=\"let action of data.actions; let i = index; trackBy: trackByIndex\">\n {{ action.label }}\n </button>\n</odx-modal-footer>\n\n<ng-template #modalHeader>\n <odx-modal-header>\n <odx-area-header>\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n </odx-area-header>\n </odx-modal-header>\n</ng-template>\n" }]
257
+ }] });
258
+
259
+ let ModalComponent = class ModalComponent {
260
+ constructor() {
261
+ this.modalRef = injectModalRef();
262
+ this.injector = getInjector();
263
+ this.context = { $implicit: this.modalRef };
264
+ this.element = injectElement();
265
+ this.size = this.modalRef.options.size;
266
+ this.variant = this.modalRef.options.variant;
267
+ this.withComponent = false;
268
+ detectControllerChanges(this.modalRef).subscribe(() => {
269
+ this.size = this.modalRef.options.size;
270
+ });
271
+ }
272
+ ngOnChanges(changes) {
273
+ if (hasChanged(changes, 'content', false)) {
274
+ this.withComponent = !isTemplateRef(this.content);
275
+ }
276
+ }
277
+ onClose() {
278
+ if (this.modalRef.options.dismissable) {
279
+ this.modalRef.dismiss();
280
+ }
281
+ }
282
+ };
283
+ ModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
284
+ ModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ModalComponent, isStandalone: true, selector: "odx-modal", inputs: { content: "content" }, host: { listeners: { "keyup.esc": "onClose()" }, properties: { "@hostAnimation": "variant", "attr.id": "modalRef.options.id" } }, usesOnChanges: true, ngImport: i0, template: "<div\n [cdkTrapFocus]=\"modalRef.isActive()\"\n [cdkTrapFocusAutoCapture]=\"modalRef.isActive()\"\n [odxClickOutsideActive]=\"modalRef.options.dismissable\"\n [attr.aria-labelledby]=\"modalRef.modalTitleId\"\n class=\"odx-modal__container\"\n role=\"dialog\"\n (odxClickOutside)=\"modalRef.dismiss()\"\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewContext]=\"context\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1$1.ClickOutsideDirective, selector: "[odxClickOutside]", inputs: ["odxClickOutsideActive"], outputs: ["odxClickOutside"] }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "ngmodule", type: CoreModule }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], animations: [
285
+ trigger('hostAnimation', [
286
+ transition('void => default', group([useAnimation(fadeIn()), query('.odx-modal__container', useAnimation(slideInY('8px')))])),
287
+ transition('default => void', group([useAnimation(fadeOut()), query('.odx-modal__container', useAnimation(slideOutY('8px')))])),
288
+ transition('void => sidesheet', query('.odx-modal__container', useAnimation(slideInRight))),
289
+ transition('sidesheet => void', query('.odx-modal__container', useAnimation(slideOutRight))),
290
+ ]),
291
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
292
+ __decorate([
293
+ CSSModifier(),
294
+ __metadata("design:type", Object)
295
+ ], ModalComponent.prototype, "size", void 0);
296
+ __decorate([
297
+ CSSModifier(),
298
+ __metadata("design:type", Object)
299
+ ], ModalComponent.prototype, "variant", void 0);
300
+ __decorate([
301
+ CSSModifier(),
302
+ __metadata("design:type", Object)
303
+ ], ModalComponent.prototype, "withComponent", void 0);
304
+ ModalComponent = __decorate([
305
+ CSSComponent('modal'),
306
+ __metadata("design:paramtypes", [])
307
+ ], ModalComponent);
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalComponent, decorators: [{
309
+ type: Component,
310
+ args: [{ standalone: true, selector: 'odx-modal', imports: [A11yModule, ActionGroupComponent, ButtonComponent, IconComponent, CoreModule, DynamicViewDirective], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
311
+ '[@hostAnimation]': 'variant',
312
+ '[attr.id]': 'modalRef.options.id',
313
+ }, animations: [
314
+ trigger('hostAnimation', [
315
+ transition('void => default', group([useAnimation(fadeIn()), query('.odx-modal__container', useAnimation(slideInY('8px')))])),
316
+ transition('default => void', group([useAnimation(fadeOut()), query('.odx-modal__container', useAnimation(slideOutY('8px')))])),
317
+ transition('void => sidesheet', query('.odx-modal__container', useAnimation(slideInRight))),
318
+ transition('sidesheet => void', query('.odx-modal__container', useAnimation(slideOutRight))),
319
+ ]),
320
+ ], template: "<div\n [cdkTrapFocus]=\"modalRef.isActive()\"\n [cdkTrapFocusAutoCapture]=\"modalRef.isActive()\"\n [odxClickOutsideActive]=\"modalRef.options.dismissable\"\n [attr.aria-labelledby]=\"modalRef.modalTitleId\"\n class=\"odx-modal__container\"\n role=\"dialog\"\n (odxClickOutside)=\"modalRef.dismiss()\"\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewContext]=\"context\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n" }]
321
+ }], ctorParameters: function () { return []; }, propDecorators: { size: [], variant: [], withComponent: [], content: [{
322
+ type: Input
323
+ }], onClose: [{
324
+ type: HostListener,
325
+ args: ['keyup.esc']
326
+ }] } });
327
+
328
+ const { ModalDefaultModuleConfig, ModalModuleConfig, injectModalModuleConfig } = createModuleConfigTokens('Modal', '@odx/angular/components/modal', {
329
+ dismissable: true,
330
+ size: ModalSize.MEDIUM,
331
+ dismissOnNavigation: true,
332
+ variant: ModalVariant.DEFAULT,
333
+ });
334
+
335
+ class ModalService {
336
+ constructor(location) {
337
+ this.openModals = new Queue();
338
+ this.injector = getInjector();
339
+ this.moduleConfig = injectModalModuleConfig();
340
+ this.dynamicViewService = inject(DynamicViewService);
341
+ this.openModals$ = this.openModals.value$;
342
+ location.onUrlChange(() => {
343
+ for (const modalRef of this.openModals.toArray()) {
344
+ if (modalRef.options.dismissOnNavigation) {
345
+ modalRef.destroy();
346
+ }
347
+ }
348
+ });
349
+ }
350
+ dismissAll() {
351
+ for (const modalRef of this.openModals.toArray()) {
352
+ modalRef.dismiss();
353
+ }
354
+ }
355
+ getModalById(id) {
356
+ return this.openModals.get(id);
357
+ }
358
+ create(modal, options) {
359
+ return this.open(BasicModalComponent, Object.assign({ data: modal, size: ModalSize.SMALL }, options));
360
+ }
361
+ open(content, options) {
362
+ const mergedOptions = deepmerge(this.moduleConfig, { id: `odx-modal-${ModalService.ID++}` }, options !== null && options !== void 0 ? options : {});
363
+ if (this.getModalById(mergedOptions.id)) {
364
+ throw Error(`Modal with ID ${mergedOptions.id} already open`);
365
+ }
366
+ const modalRef = new ModalRef(mergedOptions, (ref) => this.openModals.isFirst(ref));
367
+ this.attachModal(modalRef, content);
368
+ this.openModals.add(modalRef);
369
+ return modalRef;
370
+ }
371
+ attachModal(modalRef, content) {
372
+ const viewRef = this.dynamicViewService.createView(ModalComponent, {
373
+ context: { content },
374
+ injector: Injector.create({
375
+ providers: [provideModalRef(modalRef)],
376
+ parent: this.injector,
377
+ }),
378
+ host: modalRef.options.host,
379
+ });
380
+ const onDestroy = () => {
381
+ viewRef.destroy();
382
+ deferFn(() => this.openModals.remove(modalRef));
383
+ };
384
+ modalRef.onDestroy$.pipe(finalize(onDestroy)).subscribe();
385
+ }
386
+ }
387
+ ModalService.ID = 0;
388
+ ModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalService, deps: [{ token: i1.Location }], target: i0.ɵɵFactoryTarget.Injectable });
389
+ ModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalService, providedIn: 'root' });
390
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalService, decorators: [{
391
+ type: Injectable,
392
+ args: [{ providedIn: 'root' }]
393
+ }], ctorParameters: function () { return [{ type: i1.Location }]; } });
394
+
395
+ class ModalDirective {
396
+ constructor() {
397
+ this.modalService = inject(ModalService);
398
+ this.modalRef = null;
399
+ this.template = inject(TemplateRef);
400
+ // eslint-disable-next-line @angular-eslint/no-output-rename
401
+ this.modalClose = new EventEmitter();
402
+ // eslint-disable-next-line @angular-eslint/no-output-rename
403
+ this.modalDismiss = new EventEmitter();
404
+ }
405
+ ngOnChanges(changes) {
406
+ var _a;
407
+ if (hasChanged(changes, 'modalOptions') && this.modalOptions) {
408
+ (_a = this.modalRef) === null || _a === void 0 ? void 0 : _a.update(this.modalOptions);
409
+ }
410
+ }
411
+ ngOnDestroy() {
412
+ this.dismiss();
413
+ }
414
+ open() {
415
+ this.modalRef = this.modalService.open(this.template, this.modalOptions || {});
416
+ this.modalRef.onClose$.subscribe((result) => this.modalClose.next(result));
417
+ this.modalRef.onDismiss$.subscribe((result) => this.modalDismiss.next(result));
418
+ }
419
+ dismiss() {
420
+ var _a;
421
+ (_a = this.modalRef) === null || _a === void 0 ? void 0 : _a.dismiss();
422
+ }
423
+ }
424
+ ModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
425
+ ModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: ModalDirective, isStandalone: true, selector: "ng-template[odxModal]", inputs: { modalOptions: ["odxModal", "modalOptions"] }, outputs: { modalClose: "odxModalClose", modalDismiss: "odxModalDismiss" }, exportAs: ["odxModal"], usesOnChanges: true, ngImport: i0 });
426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalDirective, decorators: [{
427
+ type: Directive,
428
+ args: [{
429
+ standalone: true,
430
+ selector: 'ng-template[odxModal]',
431
+ exportAs: 'odxModal',
432
+ }]
433
+ }], propDecorators: { modalOptions: [{
434
+ type: Input,
435
+ args: ['odxModal']
436
+ }], modalClose: [{
437
+ type: Output,
438
+ args: ['odxModalClose']
439
+ }], modalDismiss: [{
440
+ type: Output,
441
+ args: ['odxModalDismiss']
442
+ }] } });
443
+
444
+ const modules = [
445
+ ModalComponent,
446
+ ModalHeaderComponent,
447
+ ModalHeroComponent,
448
+ ModalFooterComponent,
449
+ ModalDirective,
450
+ ModalCloseDirective,
451
+ ModalContentDirective,
452
+ ModalDismissDirective,
453
+ ];
454
+ class ModalModule {
455
+ static forRoot(config) {
456
+ return {
457
+ ngModule: ModalModule,
458
+ providers: [provideModuleConfig(ModalModuleConfig, config)],
459
+ };
460
+ }
461
+ }
462
+ ModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
463
+ ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
464
+ ModalHeaderComponent,
465
+ ModalHeroComponent,
466
+ ModalFooterComponent,
467
+ ModalDirective,
468
+ ModalCloseDirective,
469
+ ModalContentDirective,
470
+ ModalDismissDirective], exports: [CoreModule, AreaHeaderModule, ButtonComponent, ButtonGroupComponent, ModalComponent,
471
+ ModalHeaderComponent,
472
+ ModalHeroComponent,
473
+ ModalFooterComponent,
474
+ ModalDirective,
475
+ ModalCloseDirective,
476
+ ModalContentDirective,
477
+ ModalDismissDirective] });
478
+ ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalModule, imports: [ButtonComponent, ButtonGroupComponent, ModalComponent,
479
+ ModalHeaderComponent,
480
+ ModalHeroComponent,
481
+ ModalFooterComponent, CoreModule, AreaHeaderModule] });
482
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ModalModule, decorators: [{
483
+ type: NgModule,
484
+ args: [{
485
+ imports: [ButtonComponent, ButtonGroupComponent, ...modules],
486
+ exports: [CoreModule, AreaHeaderModule, ButtonComponent, ButtonGroupComponent, ...modules],
487
+ }]
488
+ }] });
489
+
490
+ /**
491
+ * Generated bundle index. Do not edit.
492
+ */
493
+
494
+ export { BasicModalComponent, ModalCloseDirective, ModalComponent, ModalContentDirective, ModalDefaultModuleConfig, ModalDirective, ModalDismissDirective, ModalFooterComponent, ModalHeaderComponent, ModalHeroComponent, ModalHeroVariant, ModalModule, ModalModuleConfig, ModalRef, ModalService, ModalSize, ModalVariant, injectModalModuleConfig };
495
+ //# sourceMappingURL=odx-angular-components-modal.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odx-angular-components-modal.mjs","sources":["../../../../libs/angular/components/modal/src/lib/models/modal-hero-variant.ts","../../../../libs/angular/components/modal/src/lib/models/modal-ref.ts","../../../../libs/angular/components/modal/src/lib/models/modal-size.ts","../../../../libs/angular/components/modal/src/lib/models/modal-variant.ts","../../../../libs/angular/components/modal/src/lib/helpers/inject-modal-ref.ts","../../../../libs/angular/components/modal/src/lib/helpers/provide-modal-ref.ts","../../../../libs/angular/components/modal/src/lib/directives/modal-close.directive.ts","../../../../libs/angular/components/modal/src/lib/directives/modal-content.directive.ts","../../../../libs/angular/components/modal/src/lib/directives/modal-dismiss.directive.ts","../../../../libs/angular/components/modal/src/lib/components/modal-footer/modal-footer.component.ts","../../../../libs/angular/components/modal/src/lib/components/modal-footer/modal-footer.component.html","../../../../libs/angular/components/modal/src/lib/components/modal-header/modal-header.component.ts","../../../../libs/angular/components/modal/src/lib/components/modal-header/modal-header.component.html","../../../../libs/angular/components/modal/src/lib/components/modal-hero/modal-hero.component.ts","../../../../libs/angular/components/modal/src/lib/components/modal-hero/modal-hero.component.html","../../../../libs/angular/components/modal/src/lib/components/basic-modal/basic-modal.component.ts","../../../../libs/angular/components/modal/src/lib/components/basic-modal/basic-modal.component.html","../../../../libs/angular/components/modal/src/lib/modal.component.ts","../../../../libs/angular/components/modal/src/lib/modal.component.html","../../../../libs/angular/components/modal/src/lib/modal.config.ts","../../../../libs/angular/components/modal/src/lib/modal.service.ts","../../../../libs/angular/components/modal/src/lib/modal.directive.ts","../../../../libs/angular/components/modal/src/lib/modal.module.ts","../../../../libs/angular/components/modal/src/odx-angular-components-modal.ts"],"sourcesContent":["export type ModalHeroVariant = (typeof ModalHeroVariant)[keyof typeof ModalHeroVariant];\n\nexport const ModalHeroVariant = {\n PRIMARY: 'primary',\n SUCCESS: 'success',\n CONFIRMATION: 'confirmation',\n DANGER: 'danger',\n} as const;\n","import { Controller } from '@odx/angular';\nimport { deepmerge } from 'deepmerge-ts';\nimport { merge, share, Subject } from 'rxjs';\nimport { ModalOptions } from './modal-options';\n\nexport class ModalRef<Data = unknown, Result = unknown> extends Controller {\n private readonly onClose$$ = new Subject<Result>();\n private readonly onDismiss$$ = new Subject<void>();\n\n public readonly onClose$ = this.onClose$$.pipe(share({ resetOnRefCountZero: true }));\n public readonly onDismiss$ = this.onDismiss$$.pipe(share({ resetOnRefCountZero: true }));\n public readonly onDestroy$ = merge(this.onClose$, this.onDismiss$);\n public readonly isActive: () => boolean;\n\n public get id(): string {\n return this.options.id;\n }\n\n public get modalTitleId(): string {\n return `${this.options.id}-title`;\n }\n\n public get data(): Data {\n return this.internalOptions.data;\n }\n\n public get options(): ModalOptions<Data> {\n return this.internalOptions;\n }\n\n constructor(private internalOptions: ModalOptions<Data>, isActive: (modalRef: ModalRef<Data, Result>) => boolean) {\n super();\n this.isActive = () => isActive(this);\n }\n\n public update(options: Partial<ModalOptions<Data>>): void {\n this.internalOptions = deepmerge(this.internalOptions, options) as ModalOptions<Data>;\n this.triggerControllerChange();\n }\n\n public dismiss(force = false): void {\n if (!force && !this.isActive()) return;\n this.onDismiss$$.next();\n this.destroy();\n }\n\n public close(result: Result): void {\n if (!this.isActive()) return;\n this.onClose$$.next(result);\n this.destroy();\n }\n\n public destroy(): void {\n this.onClose$$.complete();\n this.onDismiss$$.complete();\n }\n}\n","export type ModalSize = typeof ModalSize[keyof typeof ModalSize];\n\nexport const ModalSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n} as const;\n","export type ModalVariant = typeof ModalVariant[keyof typeof ModalVariant];\n\nexport const ModalVariant = {\n DEFAULT: 'default',\n SIDESHEET: 'sidesheet',\n} as const;\n","import { inject } from '@angular/core';\nimport { ModalRef } from '../models';\n\nexport function injectModalRef<Data, Result = unknown>(): ModalRef<Data, Result> {\n return inject(ModalRef<Data, Result>);\n}\n","import { ValueProvider } from '@angular/core';\nimport { ModalRef } from '../models';\n\nexport function provideModalRef<D = unknown, R = unknown>(modalRef: ModalRef<D, R>): ValueProvider {\n return { provide: ModalRef, useValue: modalRef };\n}\n","import { Directive, HostListener, Input } from '@angular/core';\nimport { injectModalRef } from '../helpers';\n\n@Directive({\n standalone: true,\n selector: '[odxModalClose]',\n})\nexport class ModalCloseDirective<T = unknown> {\n private readonly modalRef = injectModalRef();\n\n @Input('odxModalClose')\n public result?: T | null = null;\n\n @HostListener('click')\n public onClick(): void {\n const result = this.result === '' ? null : this.result;\n\n if (result === undefined) {\n this.modalRef.dismiss();\n } else {\n this.modalRef.close(result ?? null);\n }\n }\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('modal__content')\n@Directive({\n standalone: true,\n selector: 'odx-modal-content',\n})\nexport class ModalContentDirective {\n public readonly element = injectElement();\n}\n","import { Directive, HostListener } from '@angular/core';\nimport { injectModalRef } from '../helpers';\n\n@Directive({\n standalone: true,\n selector: '[odxModalDismiss]',\n})\nexport class ModalDismissDirective {\n private readonly modalRef = injectModalRef();\n\n @HostListener('click')\n public onClick(): void {\n this.modalRef.dismiss();\n }\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('modal__footer')\n@Component({\n standalone: true,\n selector: 'odx-modal-footer',\n templateUrl: './modal-footer.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ModalFooterComponent {\n public readonly element = injectElement();\n}\n","<ng-content></ng-content>\n","import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChild, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, detectControllerChanges } from '@odx/angular';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { AreaHeaderComponent, AreaHeaderSize } from '@odx/angular/components/area-header';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { ModalDismissDirective } from '../../directives';\nimport { injectModalRef } from '../../helpers';\n\n@CSSComponent('modal__header')\n@Component({\n standalone: true,\n selector: 'odx-modal-header',\n templateUrl: './modal-header.component.html',\n imports: [CoreModule, ActionGroupComponent, ButtonComponent, IconComponent, ModalDismissDirective],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ModalHeaderComponent implements AfterContentInit {\n protected readonly modalRef = injectModalRef();\n\n public readonly element = injectElement();\n\n @ContentChild(AreaHeaderComponent)\n public areaHeaderComponent?: AreaHeaderComponent;\n\n constructor() {\n detectControllerChanges(this.modalRef).subscribe();\n }\n\n public ngAfterContentInit(): void {\n if (this.areaHeaderComponent) {\n this.areaHeaderComponent.size = AreaHeaderSize.MEDIUM;\n }\n }\n}\n","<ng-content select=\"odx-area-header\"></ng-content>\n<odx-action-group class=\"odx-modal__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, detectControllerChanges } from '@odx/angular';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { ModalDismissDirective } from '../../directives';\nimport { injectModalRef } from '../../helpers';\nimport { ModalHeroVariant } from '../../models';\n\n@CSSComponent('modal-hero')\n@Component({\n selector: 'odx-modal-hero',\n standalone: true,\n imports: [CoreModule, ActionGroupComponent, ButtonComponent, IconComponent, ModalDismissDirective],\n templateUrl: './modal-hero.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ModalHeroComponent {\n public readonly element = injectElement();\n public readonly modalRef = injectModalRef();\n\n @Input()\n public icon?: string | null;\n\n @CSSModifier()\n @Input()\n public variant?: ModalHeroVariant | null;\n\n constructor() {\n detectControllerChanges(this.modalRef).subscribe();\n }\n}\n","<odx-icon class=\"odx-modal-hero__icon\" [name]=\"icon\" size=\"xlarge\" *ngIf=\"icon\"> </odx-icon>\n\n<div class=\"odx-modal-hero__title odx-title-4\">\n <ng-content></ng-content>\n</div>\n\n<odx-action-group class=\"odx-modal-hero__dismiss\" *ngIf=\"modalRef.options.dismissable\">\n <button odxButton odxModalDismiss>\n <odx-icon name=\"close\"></odx-icon>\n </button>\n</odx-action-group>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { AreaHeaderComponent } from '@odx/angular/components/area-header';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { getInjector } from '@odx/angular/utils';\nimport { ModalCloseDirective, ModalContentDirective } from '../../directives';\nimport { injectModalRef } from '../../helpers';\nimport { BasicModalOptions, GetModalActionData, Modal } from '../../models';\nimport { ModalFooterComponent } from '../modal-footer/modal-footer.component';\nimport { ModalHeaderComponent } from '../modal-header/modal-header.component';\nimport { ModalHeroComponent } from '../modal-hero/modal-hero.component';\n\n@Component({\n selector: 'odx-basic-modal',\n standalone: true,\n imports: [\n CoreModule,\n DynamicViewDirective,\n ButtonComponent,\n AreaHeaderComponent,\n ModalHeaderComponent,\n ModalHeroComponent,\n ModalFooterComponent,\n ModalContentDirective,\n ModalCloseDirective,\n ],\n templateUrl: './basic-modal.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicModalComponent<Result = unknown> implements Modal<BasicModalOptions<Result>, GetModalActionData<BasicModalOptions<Result>>> {\n protected readonly injector = getInjector();\n\n public readonly modalRef = injectModalRef<BasicModalOptions<Result>, GetModalActionData<BasicModalOptions<Result>>>();\n\n protected get data(): BasicModalOptions<Result> {\n return this.modalRef.data;\n }\n\n protected trackByIndex(index: number): number {\n return index;\n }\n}\n","<odx-modal-hero [icon]=\"icon\" [variant]=\"data.heroVariant\" *ngIf=\"data.heroIcon as icon; else modalHeader\">\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n</odx-modal-hero>\n\n<odx-modal-content>\n <ng-template [odxDynamicView]=\"data.content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</odx-modal-content>\n\n<odx-modal-footer>\n <button odxButton [variant]=\"action.variant\" [odxModalClose]=\"action.data\" *ngFor=\"let action of data.actions; let i = index; trackBy: trackByIndex\">\n {{ action.label }}\n </button>\n</odx-modal-footer>\n\n<ng-template #modalHeader>\n <odx-modal-header>\n <odx-area-header>\n <ng-template [odxDynamicView]=\"data.title\"></ng-template>\n </odx-area-header>\n </odx-modal-header>\n</ng-template>\n","import { group, query, transition, trigger, useAnimation } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, HostListener, Input, OnChanges, ViewEncapsulation } from '@angular/core';\nimport { CoreModule, detectControllerChanges } from '@odx/angular';\nimport { fadeIn, fadeOut, slideInRight, slideInY, slideOutRight, slideOutY } from '@odx/angular/animations';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { DynamicContent, DynamicTextContent, DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { getInjector, hasChanged, injectElement, isTemplateRef, NgChanges } from '@odx/angular/utils';\nimport { injectModalRef } from './helpers';\n\n@CSSComponent('modal')\n@Component({\n standalone: true,\n selector: 'odx-modal',\n templateUrl: './modal.component.html',\n imports: [A11yModule, ActionGroupComponent, ButtonComponent, IconComponent, CoreModule, DynamicViewDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[@hostAnimation]': 'variant',\n '[attr.id]': 'modalRef.options.id',\n },\n animations: [\n trigger('hostAnimation', [\n transition('void => default', group([useAnimation(fadeIn()), query('.odx-modal__container', useAnimation(slideInY('8px')))])),\n transition('default => void', group([useAnimation(fadeOut()), query('.odx-modal__container', useAnimation(slideOutY('8px')))])),\n transition('void => sidesheet', query('.odx-modal__container', useAnimation(slideInRight))),\n transition('sidesheet => void', query('.odx-modal__container', useAnimation(slideOutRight))),\n ]),\n ],\n})\nexport class ModalComponent implements OnChanges {\n protected readonly modalRef = injectModalRef();\n protected readonly injector = getInjector();\n protected readonly context = { $implicit: this.modalRef };\n\n public readonly element = injectElement();\n\n @CSSModifier()\n public size = this.modalRef.options.size;\n\n @CSSModifier()\n public variant = this.modalRef.options.variant;\n\n @CSSModifier()\n public withComponent = false;\n\n @Input()\n public content!: Exclude<DynamicContent, DynamicTextContent>;\n\n constructor() {\n detectControllerChanges(this.modalRef).subscribe(() => {\n this.size = this.modalRef.options.size;\n });\n }\n\n public ngOnChanges(changes: NgChanges<ModalComponent>): void {\n if (hasChanged(changes, 'content', false)) {\n this.withComponent = !isTemplateRef(this.content);\n }\n }\n\n @HostListener('keyup.esc')\n protected onClose(): void {\n if (this.modalRef.options.dismissable) {\n this.modalRef.dismiss();\n }\n }\n}\n","<div\n [cdkTrapFocus]=\"modalRef.isActive()\"\n [cdkTrapFocusAutoCapture]=\"modalRef.isActive()\"\n [odxClickOutsideActive]=\"modalRef.options.dismissable\"\n [attr.aria-labelledby]=\"modalRef.modalTitleId\"\n class=\"odx-modal__container\"\n role=\"dialog\"\n (odxClickOutside)=\"modalRef.dismiss()\"\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewContext]=\"context\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n","import { createModuleConfigTokens } from '@odx/angular/utils';\nimport { ModalInstanceOptions, ModalSize } from './models';\nimport { ModalVariant } from './models/modal-variant';\n\nexport type ModalModuleConfig = Omit<ModalInstanceOptions, 'id' | 'host' | 'data'>;\n\nexport const { ModalDefaultModuleConfig, ModalModuleConfig, injectModalModuleConfig } = createModuleConfigTokens('Modal', '@odx/angular/components/modal', {\n dismissable: true,\n size: ModalSize.MEDIUM,\n dismissOnNavigation: true,\n variant: ModalVariant.DEFAULT,\n} as ModalModuleConfig);\n","import { Location } from '@angular/common';\nimport { inject, Injectable, Injector, TemplateRef } from '@angular/core';\nimport { DynamicContent, DynamicTextContent, DynamicViewService } from '@odx/angular/cdk/dynamic-view';\nimport { deferFn, getInjector, Queue } from '@odx/angular/utils';\nimport { deepmerge } from 'deepmerge-ts';\nimport { finalize } from 'rxjs';\nimport { BasicModalComponent } from './components';\nimport { provideModalRef } from './helpers';\nimport { ModalComponent } from './modal.component';\nimport { injectModalModuleConfig } from './modal.config';\nimport { BasicModalOptions, GetModalActionData, ModalOptions, ModalRef, ModalSize, ModalType } from './models';\n\n@Injectable({ providedIn: 'root' })\nexport class ModalService {\n private static ID = 0;\n private readonly openModals = new Queue<ModalRef>();\n private readonly injector = getInjector();\n private readonly moduleConfig = injectModalModuleConfig();\n private readonly dynamicViewService = inject(DynamicViewService);\n\n public readonly openModals$ = this.openModals.value$;\n\n constructor(location: Location) {\n location.onUrlChange(() => {\n for (const modalRef of this.openModals.toArray()) {\n if (modalRef.options.dismissOnNavigation) {\n modalRef.destroy();\n }\n }\n });\n }\n\n public dismissAll(): void {\n for (const modalRef of this.openModals.toArray()) {\n modalRef.dismiss();\n }\n }\n\n public getModalById<Data = unknown, Result = unknown>(id: ModalOptions['id']): ModalRef<Data, Result> | null {\n return this.openModals.get(id) as ModalRef<Data, Result>;\n }\n\n public create<Data extends BasicModalOptions, Result = GetModalActionData<Data>>(modal: Data, options?: Partial<ModalOptions<Data>>): ModalRef<Data, Result>;\n public create(modal: BasicModalOptions, options?: ModalOptions): ModalRef {\n return this.open(BasicModalComponent, {\n data: modal,\n size: ModalSize.SMALL,\n ...options,\n });\n }\n\n public open<Data, Result, T>(content: TemplateRef<T>, options?: Partial<ModalOptions<Data>>): ModalRef<Data, Result>;\n public open<Data, Result, T = unknown>(content: ModalType<T, Data, Result>, options?: Partial<ModalOptions<Data>>): ModalRef<Data, Result>;\n public open(content: ModalType<unknown> | TemplateRef<unknown>, options?: Partial<ModalOptions>): ModalRef {\n const mergedOptions = deepmerge(this.moduleConfig, { id: `odx-modal-${ModalService.ID++}` }, options ?? {}) as ModalOptions;\n if (this.getModalById(mergedOptions.id)) {\n throw Error(`Modal with ID ${mergedOptions.id} already open`);\n }\n const modalRef = new ModalRef(mergedOptions, (ref) => this.openModals.isFirst(ref));\n this.attachModal(modalRef, content);\n this.openModals.add(modalRef);\n\n return modalRef;\n }\n private attachModal(modalRef: ModalRef, content: Exclude<DynamicContent, DynamicTextContent>): void {\n const viewRef = this.dynamicViewService.createView(ModalComponent, {\n context: { content },\n injector: Injector.create({\n providers: [provideModalRef(modalRef)],\n parent: this.injector,\n }),\n host: modalRef.options.host,\n });\n const onDestroy = () => {\n viewRef.destroy();\n deferFn(() => this.openModals.remove(modalRef));\n };\n\n modalRef.onDestroy$.pipe(finalize(onDestroy)).subscribe();\n }\n}\n","import { Directive, EventEmitter, inject, Input, OnChanges, OnDestroy, Output, TemplateRef } from '@angular/core';\nimport { hasChanged, NgChanges } from '@odx/angular/utils';\nimport { ModalService } from './modal.service';\nimport { ModalOptions, ModalRef } from './models';\n\n@Directive({\n standalone: true,\n selector: 'ng-template[odxModal]',\n exportAs: 'odxModal',\n})\nexport class ModalDirective implements OnChanges, OnDestroy {\n private readonly modalService = inject(ModalService);\n private modalRef: ModalRef | null = null;\n\n protected readonly template = inject(TemplateRef);\n\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('odxModal')\n public modalOptions?: Partial<ModalOptions> | '' | null;\n\n // eslint-disable-next-line @angular-eslint/no-output-rename\n @Output('odxModalClose')\n public modalClose = new EventEmitter();\n\n // eslint-disable-next-line @angular-eslint/no-output-rename\n @Output('odxModalDismiss')\n public modalDismiss = new EventEmitter();\n\n public ngOnChanges(changes: NgChanges<ModalDirective>): void {\n if (hasChanged(changes, 'modalOptions') && this.modalOptions) {\n this.modalRef?.update(this.modalOptions);\n }\n }\n\n public ngOnDestroy() {\n this.dismiss();\n }\n\n public open(): void {\n this.modalRef = this.modalService.open(this.template, this.modalOptions || {});\n this.modalRef.onClose$.subscribe((result) => this.modalClose.next(result));\n this.modalRef.onDismiss$.subscribe((result) => this.modalDismiss.next(result));\n }\n\n public dismiss(): void {\n this.modalRef?.dismiss();\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { AreaHeaderModule } from '@odx/angular/components/area-header';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { ButtonGroupComponent } from '@odx/angular/components/button-group';\nimport { ModuleConfigDependencies, ModuleConfigProvider, provideModuleConfig } from '@odx/angular/utils';\nimport { ModalFooterComponent, ModalHeaderComponent, ModalHeroComponent } from './components';\nimport { ModalCloseDirective, ModalContentDirective, ModalDismissDirective } from './directives';\nimport { ModalComponent } from './modal.component';\nimport { ModalModuleConfig } from './modal.config';\nimport { ModalDirective } from './modal.directive';\n\nconst modules = [\n ModalComponent,\n ModalHeaderComponent,\n ModalHeroComponent,\n ModalFooterComponent,\n ModalDirective,\n ModalCloseDirective,\n ModalContentDirective,\n ModalDismissDirective,\n];\n\n@NgModule({\n imports: [ButtonComponent, ButtonGroupComponent, ...modules],\n exports: [CoreModule, AreaHeaderModule, ButtonComponent, ButtonGroupComponent, ...modules],\n})\nexport class ModalModule {\n public static forRoot<D extends ModuleConfigDependencies>(config: ModuleConfigProvider<Partial<ModalModuleConfig>, D>): ModuleWithProviders<ModalModule> {\n return {\n ngModule: ModalModule,\n providers: [provideModuleConfig(ModalModuleConfig, config)],\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEa,MAAA,gBAAgB,GAAG;AAC9B,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,YAAY,EAAE,cAAc;AAC5B,IAAA,MAAM,EAAE,QAAQ;;;ACDZ,MAAO,QAA2C,SAAQ,UAAU,CAAA;IAyBxE,WAAoB,CAAA,eAAmC,EAAE,QAAuD,EAAA;AAC9G,QAAA,KAAK,EAAE,CAAC;AADU,QAAA,IAAe,CAAA,eAAA,GAAf,eAAe,CAAoB;AAxBtC,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,OAAO,EAAU,CAAC;AAClC,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,OAAO,EAAQ,CAAC;AAEn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