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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (816) hide show
  1. package/README.md +6 -7
  2. package/animations/index.d.ts +1 -0
  3. package/animations/lib/wait-for-child-animations.d.ts +1 -0
  4. package/cdk/a11y/README.md +3 -0
  5. package/cdk/a11y/index.d.ts +2 -0
  6. package/cdk/a11y/lib/a11y.module.d.ts +11 -0
  7. package/cdk/a11y/lib/directives/index.d.ts +3 -0
  8. package/cdk/a11y/lib/directives/interactive.directive.d.ts +11 -0
  9. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +10 -0
  10. package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +12 -0
  11. package/cdk/active-indicator/README.md +3 -0
  12. package/cdk/active-indicator/index.d.ts +2 -0
  13. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +25 -0
  14. package/cdk/active-indicator/lib/models/active-indicator-direction.d.ts +5 -0
  15. package/cdk/active-indicator/lib/models/active-indicator-position.d.ts +6 -0
  16. package/cdk/active-indicator/lib/models/index.d.ts +2 -0
  17. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +4 -3
  18. package/cdk/connected-overlay/README.md +3 -0
  19. package/cdk/connected-overlay/index.d.ts +3 -0
  20. package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +28 -0
  21. package/cdk/connected-overlay/lib/connected-overlay.service.d.ts +10 -0
  22. package/cdk/connected-overlay/lib/helpers/compute-overlay-position.d.ts +3 -0
  23. package/cdk/connected-overlay/lib/helpers/index.d.ts +1 -0
  24. package/cdk/connected-overlay/lib/models/connected-overlay-options.d.ts +25 -0
  25. package/cdk/connected-overlay/lib/models/connected-overlay-ref.d.ts +12 -0
  26. package/cdk/connected-overlay/lib/models/index.d.ts +2 -0
  27. package/cdk/custom-form-control/lib/control.directive.d.ts +1 -1
  28. package/cdk/custom-form-control/lib/custom-form-control.d.ts +8 -14
  29. package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +4 -4
  30. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +3 -1
  31. package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +1 -0
  32. package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +3 -3
  33. package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +1 -0
  34. package/cdk/dynamic-view/lib/helpers/create-projectable-nodes.d.ts +2 -0
  35. package/cdk/dynamic-view/lib/helpers/index.d.ts +1 -0
  36. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +2 -0
  37. package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +1 -0
  38. package/cdk/dynamic-view/lib/models/dynamic-view-options.d.ts +7 -3
  39. package/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.d.ts +3 -0
  40. package/cdk/dynamic-view/lib/tokens/index.d.ts +1 -0
  41. package/cdk/expandable/index.d.ts +1 -0
  42. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +2 -2
  43. package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +2 -2
  44. package/cdk/expandable/lib/expandable.tokens.d.ts +3 -0
  45. package/cdk/expandable/lib/facade/expandable-container.d.ts +4 -4
  46. package/cdk/expandable/lib/facade/expandable-item.d.ts +6 -6
  47. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +1 -1
  48. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +3 -2
  49. package/components/accordion/lib/accordion.component.d.ts +1 -1
  50. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +1 -1
  51. package/components/accordion/lib/directives/accordion-item-title.d.ts +1 -1
  52. package/components/action-group/action-group.component.d.ts +1 -1
  53. package/components/area-header/area-header.component.d.ts +1 -1
  54. package/components/area-header/directives/area-header-content.directive.d.ts +1 -1
  55. package/components/area-header/directives/area-header-subtitle.directive.d.ts +1 -1
  56. package/components/area-header/models/area-header-size.d.ts +1 -1
  57. package/components/avatar/lib/avatar.component.d.ts +3 -2
  58. package/components/avatar/lib/models/avatar-size.d.ts +1 -1
  59. package/components/avatar/lib/models/avatar-variant.d.ts +5 -0
  60. package/components/avatar/lib/models/index.d.ts +1 -0
  61. package/components/badge/lib/badge.component.d.ts +7 -17
  62. package/components/badge/lib/badge.directive.d.ts +17 -13
  63. package/components/badge/lib/models/badge-variant.d.ts +1 -1
  64. package/components/badge/lib/models/index.d.ts +0 -1
  65. package/components/bar/README.md +3 -0
  66. package/components/bar/index.d.ts +5 -0
  67. package/components/bar/lib/bar.component.d.ts +6 -0
  68. package/components/bar/lib/bar.module.d.ts +10 -0
  69. package/components/bar/lib/directives/bar-button.directive.d.ts +10 -0
  70. package/components/bar/lib/directives/bar-label.directive.d.ts +6 -0
  71. package/components/bar/lib/models/bar-button-variant.d.ts +5 -0
  72. package/components/breadcrumbs/README.md +3 -0
  73. package/components/breadcrumbs/index.d.ts +1 -0
  74. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +17 -0
  75. package/components/button/lib/button.component.d.ts +3 -4
  76. package/components/button/lib/models/button-size.d.ts +1 -1
  77. package/components/button/lib/models/button-variant.d.ts +1 -1
  78. package/components/button-group/lib/button-group.component.d.ts +1 -1
  79. package/components/checkbox/index.d.ts +2 -0
  80. package/components/checkbox/lib/checkbox.component.d.ts +2 -1
  81. package/components/checkbox/lib/checkbox.module.d.ts +9 -0
  82. package/components/checkbox/lib/checkbox.validator.d.ts +6 -0
  83. package/components/chip/README.md +3 -0
  84. package/components/chip/index.d.ts +2 -0
  85. package/components/chip/lib/chip.component.d.ts +15 -0
  86. package/components/chip/lib/models/chip-size.d.ts +5 -0
  87. package/components/chip/lib/models/chip-variant.d.ts +7 -0
  88. package/components/chip/lib/models/index.d.ts +2 -0
  89. package/components/circular-progress/README.md +3 -0
  90. package/components/circular-progress/index.d.ts +2 -0
  91. package/components/circular-progress/lib/circular-progress.component.d.ts +29 -0
  92. package/components/circular-progress/lib/models/circular-progress-size.d.ts +7 -0
  93. package/components/circular-progress/lib/models/index.d.ts +1 -0
  94. package/components/content-box/lib/content-box.component.d.ts +1 -1
  95. package/components/content-box/lib/directives/content-box-footer-directive.d.ts +1 -1
  96. package/components/content-box/lib/directives/content-box-header-directive.d.ts +1 -1
  97. package/components/dropdown/README.md +3 -0
  98. package/components/dropdown/index.d.ts +5 -0
  99. package/components/dropdown/lib/dropdown.component.d.ts +12 -0
  100. package/components/dropdown/lib/dropdown.directive.d.ts +42 -0
  101. package/components/dropdown/lib/dropdown.module.d.ts +8 -0
  102. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +1 -0
  103. package/components/dropdown/lib/helpers/index.d.ts +1 -0
  104. package/components/dropdown/lib/models/close-dropdown-event.d.ts +4 -0
  105. package/components/dropdown/lib/models/dropdown-options.d.ts +3 -0
  106. package/components/dropdown/lib/models/index.d.ts +2 -0
  107. package/components/form-field/index.d.ts +1 -0
  108. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +1 -1
  109. package/components/form-field/lib/components/form-group/form-group.component.d.ts +1 -2
  110. package/components/form-field/lib/directives/form-field-control.directive.d.ts +3 -4
  111. package/components/form-field/lib/directives/form-field-error.directive.d.ts +1 -1
  112. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +1 -1
  113. package/components/form-field/lib/directives/form-field-label.directive.d.ts +1 -1
  114. package/components/form-field/lib/directives/form.directive.d.ts +1 -1
  115. package/components/form-field/lib/form-field.component.d.ts +8 -2
  116. package/components/form-field/lib/form-field.config.d.ts +3 -7
  117. package/components/form-field/lib/form-field.module.d.ts +0 -4
  118. package/components/form-field/lib/models/form-field-error-resolver.d.ts +1 -1
  119. package/components/form-field/lib/models/form-field-error.d.ts +1 -0
  120. package/components/form-field/lib/models/form-field-variant.d.ts +5 -0
  121. package/components/form-field/lib/models/index.d.ts +1 -0
  122. package/components/form-field/lib/services/form-field-error.service.d.ts +1 -0
  123. package/components/header/lib/directives/header-avatar.directive.d.ts +5 -2
  124. package/components/header/lib/directives/header-title.directive.d.ts +1 -1
  125. package/components/header/lib/header.component.d.ts +1 -1
  126. package/components/header/lib/header.module.d.ts +2 -3
  127. package/components/icon/lib/icon.component.d.ts +1 -1
  128. package/components/icon/lib/models/icon-size.d.ts +2 -1
  129. package/components/inline-message/README.md +3 -0
  130. package/components/inline-message/index.d.ts +2 -0
  131. package/components/inline-message/lib/inline-message.component.d.ts +9 -0
  132. package/components/inline-message/lib/models/index.d.ts +1 -0
  133. package/components/inline-message/lib/models/inline-message-variant.d.ts +7 -0
  134. package/components/launch-tile/README.md +3 -0
  135. package/components/launch-tile/index.d.ts +3 -0
  136. package/components/launch-tile/lib/components/index.d.ts +2 -0
  137. package/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.d.ts +5 -0
  138. package/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.d.ts +5 -0
  139. package/components/launch-tile/lib/launch-tile.component.d.ts +17 -0
  140. package/components/launch-tile/lib/launch-tile.module.d.ts +14 -0
  141. package/components/link/link.directive.d.ts +2 -4
  142. package/components/list/README.md +3 -0
  143. package/components/list/index.d.ts +3 -0
  144. package/components/list/lib/components/index.d.ts +1 -0
  145. package/components/list/lib/components/list-item/list-item.component.d.ts +12 -0
  146. package/components/list/lib/list.component.d.ts +6 -0
  147. package/components/list/lib/list.module.d.ts +9 -0
  148. package/components/loading-spinner/README.md +3 -0
  149. package/components/loading-spinner/index.d.ts +3 -0
  150. package/components/loading-spinner/lib/loading-spinner.component.d.ts +15 -0
  151. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +27 -0
  152. package/components/loading-spinner/lib/loading-spinner.module.d.ts +9 -0
  153. package/components/logo/logo.directive.d.ts +1 -1
  154. package/components/logo/models/logo-size.d.ts +1 -1
  155. package/components/logo/models/logo-variant.d.ts +1 -1
  156. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +1 -1
  157. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +9 -4
  158. package/components/main-menu/lib/main-menu.component.d.ts +3 -1
  159. package/components/menu/README.md +3 -0
  160. package/components/menu/index.d.ts +4 -0
  161. package/components/menu/lib/directives/index.d.ts +1 -0
  162. package/components/menu/lib/directives/menu-item.directive.d.ts +8 -0
  163. package/components/menu/lib/menu.component.d.ts +11 -0
  164. package/components/menu/lib/menu.directive.d.ts +16 -0
  165. package/components/menu/lib/menu.module.d.ts +10 -0
  166. package/components/modal/index.d.ts +0 -1
  167. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +10 -0
  168. package/components/modal/lib/components/index.d.ts +2 -0
  169. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +1 -1
  170. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +2 -1
  171. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +11 -0
  172. package/components/modal/lib/directives/modal-close.directive.d.ts +2 -2
  173. package/components/modal/lib/directives/modal-content.directive.d.ts +1 -1
  174. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +1 -1
  175. package/components/modal/lib/helpers/inject-modal-ref.d.ts +1 -1
  176. package/components/modal/lib/modal.component.d.ts +11 -6
  177. package/components/modal/lib/modal.config.d.ts +2 -2
  178. package/components/modal/lib/modal.directive.d.ts +8 -4
  179. package/components/modal/lib/modal.module.d.ts +9 -12
  180. package/components/modal/lib/modal.service.d.ts +9 -6
  181. package/components/modal/lib/models/basic-modal-options.d.ts +17 -0
  182. package/components/modal/lib/models/index.d.ts +3 -0
  183. package/components/modal/lib/models/modal-hero-variant.d.ts +7 -0
  184. package/components/modal/lib/models/modal-options.d.ts +3 -1
  185. package/components/modal/lib/models/modal-ref.d.ts +9 -5
  186. package/components/modal/lib/models/modal-size.d.ts +2 -1
  187. package/components/modal/lib/models/modal-type.d.ts +1 -1
  188. package/components/modal/lib/models/modal-variant.d.ts +5 -0
  189. package/components/progress/README.md +3 -0
  190. package/components/progress/index.d.ts +1 -0
  191. package/components/progress/lib/progress.component.d.ts +14 -0
  192. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +2 -2
  193. package/components/radio-group/lib/radio-group.component.d.ts +1 -1
  194. package/components/rail-navigation/README.md +3 -0
  195. package/components/rail-navigation/index.d.ts +3 -0
  196. package/components/rail-navigation/lib/components/rail-navigation-item.component.d.ts +13 -0
  197. package/components/rail-navigation/lib/rail-navigation.component.d.ts +14 -0
  198. package/components/rail-navigation/lib/rail-navigation.module.d.ts +9 -0
  199. package/components/select/README.md +3 -0
  200. package/components/select/index.d.ts +7 -0
  201. package/components/select/lib/abstract/index.d.ts +2 -0
  202. package/components/select/lib/abstract/select-control-option.d.ts +9 -0
  203. package/components/select/lib/abstract/select-control.d.ts +12 -0
  204. package/components/select/lib/components/index.d.ts +1 -0
  205. package/components/select/lib/components/option/option.component.d.ts +27 -0
  206. package/components/select/lib/directives/index.d.ts +1 -0
  207. package/components/select/lib/directives/select-search-field.directive.d.ts +13 -0
  208. package/components/select/lib/pipes/index.d.ts +1 -0
  209. package/components/select/lib/pipes/select-search-filter.pipe.d.ts +13 -0
  210. package/components/select/lib/select.component.d.ts +53 -0
  211. package/components/select/lib/select.module.d.ts +11 -0
  212. package/components/select/lib/select.tokens.d.ts +3 -0
  213. package/components/slider/README.md +3 -0
  214. package/components/slider/index.d.ts +1 -0
  215. package/components/slider/lib/slider.directive.d.ts +12 -0
  216. package/components/spinbox/README.md +3 -0
  217. package/components/spinbox/index.d.ts +1 -0
  218. package/components/spinbox/lib/spinbox.component.d.ts +25 -0
  219. package/components/switch/index.d.ts +2 -0
  220. package/components/switch/lib/switch.component.d.ts +2 -1
  221. package/components/switch/lib/switch.module.d.ts +9 -0
  222. package/components/switch/lib/switch.validator.d.ts +6 -0
  223. package/components/tab-bar/README.md +3 -0
  224. package/components/tab-bar/index.d.ts +4 -0
  225. package/components/tab-bar/lib/components/index.d.ts +1 -0
  226. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +23 -0
  227. package/components/tab-bar/lib/models/index.d.ts +1 -0
  228. package/components/tab-bar/lib/models/tab-change-event.d.ts +5 -0
  229. package/components/tab-bar/lib/tab-bar.component.d.ts +31 -0
  230. package/components/tab-bar/lib/tab-bar.config.d.ts +3 -0
  231. package/components/tab-bar/lib/tab-bar.module.d.ts +9 -0
  232. package/components/toast/README.md +3 -0
  233. package/components/toast/index.d.ts +5 -0
  234. package/components/toast/lib/components/index.d.ts +2 -0
  235. package/components/toast/lib/components/toast-container/toast-container.component.d.ts +23 -0
  236. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +20 -0
  237. package/components/toast/lib/models/index.d.ts +5 -0
  238. package/components/toast/lib/models/toast-action.d.ts +7 -0
  239. package/components/toast/lib/models/toast-ref.d.ts +7 -0
  240. package/components/toast/lib/models/toast-variant.d.ts +7 -0
  241. package/components/toast/lib/models/toast.d.ts +10 -0
  242. package/components/toast/lib/models/toast.options.d.ts +4 -0
  243. package/components/toast/lib/toast.config.d.ts +3 -0
  244. package/components/toast/lib/toast.module.d.ts +9 -0
  245. package/components/toast/lib/toast.service.d.ts +16 -0
  246. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +5 -2
  247. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +11 -2
  248. package/components/tooltip/README.md +3 -0
  249. package/components/tooltip/index.d.ts +3 -0
  250. package/components/tooltip/lib/helpers/index.d.ts +1 -0
  251. package/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.d.ts +2 -0
  252. package/components/tooltip/lib/models/index.d.ts +3 -0
  253. package/components/tooltip/lib/models/tooltip-options.d.ts +10 -0
  254. package/components/tooltip/lib/models/tooltip-size.d.ts +7 -0
  255. package/components/tooltip/lib/models/tooltip-trigger.d.ts +1 -0
  256. package/components/tooltip/lib/tooltip.component.d.ts +13 -0
  257. package/components/tooltip/lib/tooltip.directive.d.ts +33 -0
  258. package/esm2020/animations/index.mjs +2 -1
  259. package/esm2020/animations/lib/expand.mjs +6 -4
  260. package/esm2020/animations/lib/fade.mjs +2 -5
  261. package/esm2020/animations/lib/wait-for-child-animations.mjs +3 -0
  262. package/esm2020/cdk/a11y/index.mjs +3 -0
  263. package/esm2020/cdk/a11y/lib/a11y.module.mjs +19 -0
  264. package/esm2020/cdk/a11y/lib/directives/index.mjs +4 -0
  265. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +49 -0
  266. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +26 -0
  267. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +40 -0
  268. package/esm2020/cdk/a11y/odx-angular-cdk-a11y.mjs +5 -0
  269. package/esm2020/cdk/active-indicator/index.mjs +3 -0
  270. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +128 -0
  271. package/esm2020/cdk/active-indicator/lib/models/active-indicator-direction.mjs +5 -0
  272. package/esm2020/cdk/active-indicator/lib/models/active-indicator-position.mjs +6 -0
  273. package/esm2020/cdk/active-indicator/lib/models/index.mjs +3 -0
  274. package/esm2020/cdk/active-indicator/odx-angular-cdk-active-indicator.mjs +5 -0
  275. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +21 -19
  276. package/esm2020/cdk/connected-overlay/index.mjs +4 -0
  277. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +116 -0
  278. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +25 -0
  279. package/esm2020/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +55 -0
  280. package/esm2020/cdk/connected-overlay/lib/helpers/index.mjs +2 -0
  281. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +12 -0
  282. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +15 -0
  283. package/esm2020/cdk/connected-overlay/lib/models/index.mjs +3 -0
  284. package/esm2020/cdk/connected-overlay/odx-angular-cdk-connected-overlay.mjs +5 -0
  285. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +3 -3
  286. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +35 -59
  287. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +23 -14
  288. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +24 -10
  289. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +11 -9
  290. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +1 -1
  291. package/esm2020/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +9 -0
  292. package/esm2020/cdk/dynamic-view/lib/helpers/index.mjs +2 -1
  293. package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +29 -8
  294. package/esm2020/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +12 -6
  295. package/esm2020/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +1 -1
  296. package/esm2020/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +10 -0
  297. package/esm2020/cdk/dynamic-view/lib/tokens/index.mjs +2 -1
  298. package/esm2020/cdk/expandable/index.mjs +2 -1
  299. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +7 -8
  300. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +5 -7
  301. package/esm2020/cdk/expandable/lib/expandable.module.mjs +4 -4
  302. package/esm2020/cdk/expandable/lib/expandable.tokens.mjs +3 -0
  303. package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +2 -3
  304. package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +2 -3
  305. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +12 -12
  306. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +14 -10
  307. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +4 -4
  308. package/esm2020/components/accordion/lib/accordion.component.mjs +7 -7
  309. package/esm2020/components/accordion/lib/accordion.module.mjs +4 -4
  310. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +8 -6
  311. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +3 -3
  312. package/esm2020/components/action-group/action-group.component.mjs +5 -5
  313. package/esm2020/components/area-header/area-header.component.mjs +6 -5
  314. package/esm2020/components/area-header/area-header.module.mjs +4 -4
  315. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +3 -3
  316. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +3 -3
  317. package/esm2020/components/avatar/lib/avatar.component.mjs +14 -8
  318. package/esm2020/components/avatar/lib/models/avatar-variant.mjs +5 -0
  319. package/esm2020/components/avatar/lib/models/index.mjs +2 -1
  320. package/esm2020/components/badge/lib/badge.component.mjs +18 -65
  321. package/esm2020/components/badge/lib/badge.directive.mjs +50 -25
  322. package/esm2020/components/badge/lib/models/index.mjs +1 -2
  323. package/esm2020/components/bar/index.mjs +6 -0
  324. package/esm2020/components/bar/lib/bar.component.mjs +21 -0
  325. package/esm2020/components/bar/lib/bar.module.mjs +20 -0
  326. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +38 -0
  327. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +24 -0
  328. package/esm2020/components/bar/lib/models/bar-button-variant.mjs +5 -0
  329. package/esm2020/components/bar/odx-angular-components-bar.mjs +5 -0
  330. package/esm2020/components/breadcrumbs/index.mjs +2 -0
  331. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +50 -0
  332. package/esm2020/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +5 -0
  333. package/esm2020/components/button/lib/button.component.mjs +12 -18
  334. package/esm2020/components/button-group/lib/button-group.component.mjs +3 -3
  335. package/esm2020/components/checkbox/index.mjs +3 -1
  336. package/esm2020/components/checkbox/lib/checkbox.component.mjs +8 -7
  337. package/esm2020/components/checkbox/lib/checkbox.module.mjs +19 -0
  338. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +28 -0
  339. package/esm2020/components/chip/index.mjs +3 -0
  340. package/esm2020/components/chip/lib/chip.component.mjs +54 -0
  341. package/esm2020/components/chip/lib/models/chip-size.mjs +5 -0
  342. package/esm2020/components/chip/lib/models/chip-variant.mjs +7 -0
  343. package/esm2020/components/chip/lib/models/index.mjs +3 -0
  344. package/esm2020/components/chip/odx-angular-components-chip.mjs +5 -0
  345. package/esm2020/components/circular-progress/index.mjs +3 -0
  346. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +98 -0
  347. package/esm2020/components/circular-progress/lib/models/circular-progress-size.mjs +7 -0
  348. package/esm2020/components/circular-progress/lib/models/index.mjs +2 -0
  349. package/esm2020/components/circular-progress/odx-angular-components-circular-progress.mjs +5 -0
  350. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  351. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  352. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +3 -3
  353. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +3 -3
  354. package/esm2020/components/dropdown/index.mjs +6 -0
  355. package/esm2020/components/dropdown/lib/dropdown.component.mjs +40 -0
  356. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +157 -0
  357. package/esm2020/components/dropdown/lib/dropdown.module.mjs +18 -0
  358. package/esm2020/components/dropdown/lib/helpers/close-current-dropdown.mjs +5 -0
  359. package/esm2020/components/dropdown/lib/helpers/index.mjs +2 -0
  360. package/esm2020/components/dropdown/lib/models/close-dropdown-event.mjs +7 -0
  361. package/esm2020/components/dropdown/lib/models/dropdown-options.mjs +8 -0
  362. package/esm2020/components/dropdown/lib/models/index.mjs +3 -0
  363. package/esm2020/components/dropdown/odx-angular-components-dropdown.mjs +5 -0
  364. package/esm2020/components/form-field/index.mjs +2 -1
  365. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +3 -3
  366. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +11 -13
  367. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +22 -15
  368. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +3 -3
  369. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +3 -3
  370. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +3 -3
  371. package/esm2020/components/form-field/lib/directives/form.directive.mjs +3 -3
  372. package/esm2020/components/form-field/lib/form-field.component.mjs +31 -13
  373. package/esm2020/components/form-field/lib/form-field.config.mjs +4 -4
  374. package/esm2020/components/form-field/lib/form-field.module.mjs +5 -13
  375. package/esm2020/components/form-field/lib/form-field.service.mjs +3 -3
  376. package/esm2020/components/form-field/lib/models/form-field-error.mjs +1 -1
  377. package/esm2020/components/form-field/lib/models/form-field-variant.mjs +5 -0
  378. package/esm2020/components/form-field/lib/models/index.mjs +2 -1
  379. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +16 -16
  380. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +13 -6
  381. package/esm2020/components/header/lib/directives/header-title.directive.mjs +3 -3
  382. package/esm2020/components/header/lib/header.component.mjs +5 -6
  383. package/esm2020/components/header/lib/header.module.mjs +7 -11
  384. package/esm2020/components/icon/lib/icon.component.mjs +3 -3
  385. package/esm2020/components/icon/lib/models/icon-size.mjs +2 -1
  386. package/esm2020/components/inline-message/index.mjs +3 -0
  387. package/esm2020/components/inline-message/lib/inline-message.component.mjs +42 -0
  388. package/esm2020/components/inline-message/lib/models/index.mjs +2 -0
  389. package/esm2020/components/inline-message/lib/models/inline-message-variant.mjs +7 -0
  390. package/esm2020/components/inline-message/odx-angular-components-inline-message.mjs +5 -0
  391. package/esm2020/components/launch-tile/index.mjs +4 -0
  392. package/esm2020/components/launch-tile/lib/components/index.mjs +3 -0
  393. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +13 -0
  394. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +13 -0
  395. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +56 -0
  396. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +23 -0
  397. package/esm2020/components/launch-tile/odx-angular-components-launch-tile.mjs +5 -0
  398. package/esm2020/components/link/link.directive.mjs +7 -14
  399. package/esm2020/components/list/index.mjs +4 -0
  400. package/esm2020/components/list/lib/components/index.mjs +2 -0
  401. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +40 -0
  402. package/esm2020/components/list/lib/list.component.mjs +21 -0
  403. package/esm2020/components/list/lib/list.module.mjs +19 -0
  404. package/esm2020/components/list/odx-angular-components-list.mjs +5 -0
  405. package/esm2020/components/loading-spinner/index.mjs +4 -0
  406. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +58 -0
  407. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +98 -0
  408. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +19 -0
  409. package/esm2020/components/loading-spinner/odx-angular-components-loading-spinner.mjs +5 -0
  410. package/esm2020/components/logo/logo.directive.mjs +8 -6
  411. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +3 -3
  412. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +30 -17
  413. package/esm2020/components/main-menu/lib/main-menu.component.mjs +12 -11
  414. package/esm2020/components/main-menu/lib/main-menu.module.mjs +4 -4
  415. package/esm2020/components/main-menu/lib/main-menu.service.mjs +3 -3
  416. package/esm2020/components/menu/index.mjs +5 -0
  417. package/esm2020/components/menu/lib/directives/index.mjs +2 -0
  418. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +37 -0
  419. package/esm2020/components/menu/lib/menu.component.mjs +46 -0
  420. package/esm2020/components/menu/lib/menu.directive.mjs +54 -0
  421. package/esm2020/components/menu/lib/menu.module.mjs +20 -0
  422. package/esm2020/components/menu/odx-angular-components-menu.mjs +5 -0
  423. package/esm2020/components/modal/index.mjs +1 -2
  424. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +42 -0
  425. package/esm2020/components/modal/lib/components/index.mjs +3 -1
  426. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +3 -3
  427. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +10 -8
  428. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +39 -0
  429. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +10 -5
  430. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +3 -3
  431. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +3 -3
  432. package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +1 -1
  433. package/esm2020/components/modal/lib/modal.component.mjs +43 -20
  434. package/esm2020/components/modal/lib/modal.config.mjs +5 -3
  435. package/esm2020/components/modal/lib/modal.directive.mjs +24 -6
  436. package/esm2020/components/modal/lib/modal.module.mjs +33 -15
  437. package/esm2020/components/modal/lib/modal.service.mjs +47 -40
  438. package/esm2020/components/modal/lib/models/basic-modal-options.mjs +2 -0
  439. package/esm2020/components/modal/lib/models/index.mjs +4 -1
  440. package/esm2020/components/modal/lib/models/modal-hero-variant.mjs +7 -0
  441. package/esm2020/components/modal/lib/models/modal-options.mjs +1 -1
  442. package/esm2020/components/modal/lib/models/modal-ref.mjs +25 -10
  443. package/esm2020/components/modal/lib/models/modal-size.mjs +2 -1
  444. package/esm2020/components/modal/lib/models/modal-variant.mjs +5 -0
  445. package/esm2020/components/progress/index.mjs +2 -0
  446. package/esm2020/components/progress/lib/progress.component.mjs +51 -0
  447. package/esm2020/components/progress/odx-angular-components-progress.mjs +5 -0
  448. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +8 -9
  449. package/esm2020/components/radio-group/lib/radio-group.component.mjs +9 -9
  450. package/esm2020/components/radio-group/lib/radio-group.module.mjs +4 -4
  451. package/esm2020/components/rail-navigation/index.mjs +4 -0
  452. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +38 -0
  453. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +47 -0
  454. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +19 -0
  455. package/esm2020/components/rail-navigation/odx-angular-components-rail-navigation.mjs +5 -0
  456. package/esm2020/components/select/index.mjs +8 -0
  457. package/esm2020/components/select/lib/abstract/index.mjs +3 -0
  458. package/esm2020/components/select/lib/abstract/select-control-option.mjs +2 -0
  459. package/esm2020/components/select/lib/abstract/select-control.mjs +2 -0
  460. package/esm2020/components/select/lib/components/index.mjs +2 -0
  461. package/esm2020/components/select/lib/components/option/option.component.mjs +96 -0
  462. package/esm2020/components/select/lib/directives/index.mjs +2 -0
  463. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +47 -0
  464. package/esm2020/components/select/lib/pipes/index.mjs +2 -0
  465. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +51 -0
  466. package/esm2020/components/select/lib/select.component.mjs +219 -0
  467. package/esm2020/components/select/lib/select.module.mjs +21 -0
  468. package/esm2020/components/select/lib/select.tokens.mjs +3 -0
  469. package/esm2020/components/select/odx-angular-components-select.mjs +5 -0
  470. package/esm2020/components/slider/index.mjs +2 -0
  471. package/esm2020/components/slider/lib/slider.directive.mjs +42 -0
  472. package/esm2020/components/slider/odx-angular-components-slider.mjs +5 -0
  473. package/esm2020/components/spinbox/index.mjs +2 -0
  474. package/esm2020/components/spinbox/lib/spinbox.component.mjs +91 -0
  475. package/esm2020/components/spinbox/odx-angular-components-spinbox.mjs +5 -0
  476. package/esm2020/components/switch/index.mjs +3 -1
  477. package/esm2020/components/switch/lib/switch.component.mjs +8 -7
  478. package/esm2020/components/switch/lib/switch.module.mjs +19 -0
  479. package/esm2020/components/switch/lib/switch.validator.mjs +28 -0
  480. package/esm2020/components/tab-bar/index.mjs +5 -0
  481. package/esm2020/components/tab-bar/lib/components/index.mjs +2 -0
  482. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +79 -0
  483. package/esm2020/components/tab-bar/lib/models/index.mjs +2 -0
  484. package/esm2020/components/tab-bar/lib/models/tab-change-event.mjs +2 -0
  485. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +115 -0
  486. package/esm2020/components/tab-bar/lib/tab-bar.config.mjs +3 -0
  487. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +19 -0
  488. package/esm2020/components/tab-bar/odx-angular-components-tab-bar.mjs +5 -0
  489. package/esm2020/components/toast/index.mjs +6 -0
  490. package/esm2020/components/toast/lib/components/index.mjs +3 -0
  491. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +87 -0
  492. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +75 -0
  493. package/esm2020/components/toast/lib/models/index.mjs +6 -0
  494. package/esm2020/components/toast/lib/models/toast-action.mjs +2 -0
  495. package/esm2020/components/toast/lib/models/toast-ref.mjs +2 -0
  496. package/esm2020/components/toast/lib/models/toast-variant.mjs +7 -0
  497. package/esm2020/components/toast/lib/models/toast.mjs +2 -0
  498. package/esm2020/components/toast/lib/models/toast.options.mjs +2 -0
  499. package/esm2020/components/toast/lib/toast.config.mjs +6 -0
  500. package/esm2020/components/toast/lib/toast.module.mjs +18 -0
  501. package/esm2020/components/toast/lib/toast.service.mjs +38 -0
  502. package/esm2020/components/toast/odx-angular-components-toast.mjs +5 -0
  503. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +14 -12
  504. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +41 -13
  505. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +4 -4
  506. package/esm2020/components/tooltip/index.mjs +4 -0
  507. package/esm2020/components/tooltip/lib/helpers/index.mjs +2 -0
  508. package/esm2020/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.mjs +9 -0
  509. package/esm2020/components/tooltip/lib/models/index.mjs +4 -0
  510. package/esm2020/components/tooltip/lib/models/tooltip-options.mjs +10 -0
  511. package/esm2020/components/tooltip/lib/models/tooltip-size.mjs +7 -0
  512. package/esm2020/components/tooltip/lib/models/tooltip-trigger.mjs +2 -0
  513. package/esm2020/components/tooltip/lib/tooltip.component.mjs +39 -0
  514. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +132 -0
  515. package/esm2020/components/tooltip/odx-angular-components-tooltip.mjs +5 -0
  516. package/esm2020/index.mjs +2 -1
  517. package/esm2020/internal/decorators/css-component.mjs +3 -8
  518. package/esm2020/internal/decorators/css-modifier.mjs +21 -18
  519. package/esm2020/internal/helpers/decorator-property-name.mjs +4 -0
  520. package/esm2020/internal/helpers/index.mjs +2 -1
  521. package/esm2020/internal/helpers/with-mutiple-descriptors.mjs +22 -13
  522. package/esm2020/lib/controllers/controller.mjs +16 -14
  523. package/esm2020/lib/controllers/disabled.controller.mjs +29 -43
  524. package/esm2020/lib/controllers/readonly.controller.mjs +33 -23
  525. package/esm2020/lib/core.module.mjs +7 -6
  526. package/esm2020/lib/directives/click-outside.directive.mjs +17 -13
  527. package/esm2020/lib/directives/delegate-focus.directive.mjs +40 -0
  528. package/esm2020/lib/directives/index.mjs +4 -1
  529. package/esm2020/lib/directives/with-disabled-state.directive.mjs +41 -0
  530. package/esm2020/lib/directives/with-tabindex.directive.mjs +23 -0
  531. package/esm2020/lib/services/window-ref.mjs +18 -7
  532. package/esm2020/lib/tokens/identity-matcher.mjs +7 -0
  533. package/esm2020/lib/tokens/index.mjs +4 -0
  534. package/esm2020/lib/tokens/string-search-handler.mjs +9 -0
  535. package/esm2020/lib/tokens/stringify.mjs +8 -0
  536. package/esm2020/rxjs/index.mjs +4 -2
  537. package/esm2020/rxjs/lib/delay-until.mjs +5 -0
  538. package/esm2020/rxjs/lib/form-query-list.mjs +5 -0
  539. package/esm2020/rxjs/lib/from-element-resize.mjs +14 -0
  540. package/esm2020/utils/lib/decorators/index.mjs +2 -1
  541. package/esm2020/utils/lib/decorators/pure.mjs +37 -0
  542. package/esm2020/utils/lib/decorators/transform.mjs +3 -3
  543. package/esm2020/utils/lib/helpers/angular.mjs +5 -2
  544. package/esm2020/utils/lib/helpers/build-url.mjs +4 -0
  545. package/esm2020/utils/lib/helpers/defer-fn.mjs +4 -0
  546. package/esm2020/utils/lib/helpers/dom.mjs +32 -2
  547. package/esm2020/utils/lib/helpers/event-manager.mjs +30 -0
  548. package/esm2020/utils/lib/helpers/get-axis.mjs +14 -0
  549. package/esm2020/utils/lib/helpers/get-opposite-side.mjs +15 -0
  550. package/esm2020/utils/lib/helpers/get-side.mjs +4 -0
  551. package/esm2020/utils/lib/helpers/get-unique-id.mjs +7 -0
  552. package/esm2020/utils/lib/helpers/index.mjs +10 -2
  553. package/esm2020/utils/lib/helpers/provide-config.mjs +25 -0
  554. package/esm2020/utils/lib/helpers/queue.mjs +49 -0
  555. package/esm2020/utils/lib/types/axis.mjs +5 -0
  556. package/esm2020/utils/lib/types/index.mjs +4 -1
  557. package/esm2020/utils/lib/types/position.mjs +15 -0
  558. package/esm2020/utils/lib/types/side.mjs +7 -0
  559. package/fesm2015/odx-angular-animations.mjs +10 -6
  560. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  561. package/fesm2015/odx-angular-cdk-a11y.mjs +131 -0
  562. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -0
  563. package/fesm2015/odx-angular-cdk-active-indicator.mjs +145 -0
  564. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -0
  565. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +21 -19
  566. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  567. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +222 -0
  568. package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +1 -0
  569. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +39 -63
  570. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  571. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +109 -42
  572. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  573. package/fesm2015/odx-angular-cdk-expandable.mjs +16 -22
  574. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -1
  575. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +27 -24
  576. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  577. package/fesm2015/odx-angular-components-accordion.mjs +20 -18
  578. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -1
  579. package/fesm2015/odx-angular-components-action-group.mjs +4 -4
  580. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  581. package/fesm2015/odx-angular-components-area-header.mjs +15 -14
  582. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  583. package/fesm2015/odx-angular-components-avatar.mjs +18 -7
  584. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  585. package/fesm2015/odx-angular-components-badge.mjs +63 -97
  586. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  587. package/fesm2015/odx-angular-components-bar.mjs +95 -0
  588. package/fesm2015/odx-angular-components-bar.mjs.map +1 -0
  589. package/fesm2015/odx-angular-components-breadcrumbs.mjs +56 -0
  590. package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +1 -0
  591. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  592. package/fesm2015/odx-angular-components-button.mjs +11 -18
  593. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  594. package/fesm2015/odx-angular-components-checkbox.mjs +49 -8
  595. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  596. package/fesm2015/odx-angular-components-chip.mjs +71 -0
  597. package/fesm2015/odx-angular-components-chip.mjs.map +1 -0
  598. package/fesm2015/odx-angular-components-circular-progress.mjs +110 -0
  599. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -0
  600. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  601. package/fesm2015/odx-angular-components-dropdown.mjs +223 -0
  602. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -0
  603. package/fesm2015/odx-angular-components-form-field.mjs +96 -78
  604. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  605. package/fesm2015/odx-angular-components-header.mjs +25 -23
  606. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  607. package/fesm2015/odx-angular-components-icon.mjs +4 -3
  608. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  609. package/fesm2015/odx-angular-components-inline-message.mjs +54 -0
  610. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -0
  611. package/fesm2015/odx-angular-components-launch-tile.mjs +100 -0
  612. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -0
  613. package/fesm2015/odx-angular-components-link.mjs +6 -14
  614. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  615. package/fesm2015/odx-angular-components-list.mjs +76 -0
  616. package/fesm2015/odx-angular-components-list.mjs.map +1 -0
  617. package/fesm2015/odx-angular-components-loading-spinner.mjs +171 -0
  618. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -0
  619. package/fesm2015/odx-angular-components-logo.mjs +7 -5
  620. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  621. package/fesm2015/odx-angular-components-main-menu.mjs +64 -53
  622. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  623. package/fesm2015/odx-angular-components-menu.mjs +140 -0
  624. package/fesm2015/odx-angular-components-menu.mjs.map +1 -0
  625. package/fesm2015/odx-angular-components-modal.mjs +265 -155
  626. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  627. package/fesm2015/odx-angular-components-progress.mjs +57 -0
  628. package/fesm2015/odx-angular-components-progress.mjs.map +1 -0
  629. package/fesm2015/odx-angular-components-radio-group.mjs +18 -19
  630. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  631. package/fesm2015/odx-angular-components-rail-navigation.mjs +97 -0
  632. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -0
  633. package/fesm2015/odx-angular-components-select.mjs +416 -0
  634. package/fesm2015/odx-angular-components-select.mjs.map +1 -0
  635. package/fesm2015/odx-angular-components-slider.mjs +48 -0
  636. package/fesm2015/odx-angular-components-slider.mjs.map +1 -0
  637. package/fesm2015/odx-angular-components-spinbox.mjs +100 -0
  638. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -0
  639. package/fesm2015/odx-angular-components-switch.mjs +49 -8
  640. package/fesm2015/odx-angular-components-switch.mjs.map +1 -1
  641. package/fesm2015/odx-angular-components-tab-bar.mjs +209 -0
  642. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -0
  643. package/fesm2015/odx-angular-components-toast.mjs +216 -0
  644. package/fesm2015/odx-angular-components-toast.mjs.map +1 -0
  645. package/fesm2015/odx-angular-components-toggle-button-group.mjs +58 -26
  646. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -1
  647. package/fesm2015/odx-angular-components-tooltip.mjs +187 -0
  648. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -0
  649. package/fesm2015/odx-angular-internal.mjs +63 -54
  650. package/fesm2015/odx-angular-internal.mjs.map +1 -1
  651. package/fesm2015/odx-angular-rxjs.mjs +23 -6
  652. package/fesm2015/odx-angular-rxjs.mjs.map +1 -1
  653. package/fesm2015/odx-angular-utils.mjs +242 -15
  654. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  655. package/fesm2015/odx-angular.mjs +231 -98
  656. package/fesm2015/odx-angular.mjs.map +1 -1
  657. package/fesm2020/odx-angular-animations.mjs +10 -9
  658. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  659. package/fesm2020/odx-angular-cdk-a11y.mjs +127 -0
  660. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -0
  661. package/fesm2020/odx-angular-cdk-active-indicator.mjs +143 -0
  662. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -0
  663. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +21 -19
  664. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  665. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +218 -0
  666. package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +1 -0
  667. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +37 -61
  668. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  669. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +102 -37
  670. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  671. package/fesm2020/odx-angular-cdk-expandable.mjs +16 -22
  672. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -1
  673. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +27 -24
  674. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  675. package/fesm2020/odx-angular-components-accordion.mjs +20 -18
  676. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -1
  677. package/fesm2020/odx-angular-components-action-group.mjs +4 -4
  678. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  679. package/fesm2020/odx-angular-components-area-header.mjs +15 -14
  680. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  681. package/fesm2020/odx-angular-components-avatar.mjs +18 -7
  682. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  683. package/fesm2020/odx-angular-components-badge.mjs +60 -90
  684. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  685. package/fesm2020/odx-angular-components-bar.mjs +95 -0
  686. package/fesm2020/odx-angular-components-bar.mjs.map +1 -0
  687. package/fesm2020/odx-angular-components-breadcrumbs.mjs +56 -0
  688. package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +1 -0
  689. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  690. package/fesm2020/odx-angular-components-button.mjs +11 -17
  691. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  692. package/fesm2020/odx-angular-components-checkbox.mjs +49 -8
  693. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  694. package/fesm2020/odx-angular-components-chip.mjs +71 -0
  695. package/fesm2020/odx-angular-components-chip.mjs.map +1 -0
  696. package/fesm2020/odx-angular-components-circular-progress.mjs +110 -0
  697. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -0
  698. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  699. package/fesm2020/odx-angular-components-dropdown.mjs +226 -0
  700. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -0
  701. package/fesm2020/odx-angular-components-form-field.mjs +95 -78
  702. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  703. package/fesm2020/odx-angular-components-header.mjs +25 -23
  704. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  705. package/fesm2020/odx-angular-components-icon.mjs +4 -3
  706. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  707. package/fesm2020/odx-angular-components-inline-message.mjs +54 -0
  708. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -0
  709. package/fesm2020/odx-angular-components-launch-tile.mjs +99 -0
  710. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -0
  711. package/fesm2020/odx-angular-components-link.mjs +6 -13
  712. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  713. package/fesm2020/odx-angular-components-list.mjs +76 -0
  714. package/fesm2020/odx-angular-components-list.mjs.map +1 -0
  715. package/fesm2020/odx-angular-components-loading-spinner.mjs +169 -0
  716. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -0
  717. package/fesm2020/odx-angular-components-logo.mjs +7 -5
  718. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  719. package/fesm2020/odx-angular-components-main-menu.mjs +63 -52
  720. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  721. package/fesm2020/odx-angular-components-menu.mjs +142 -0
  722. package/fesm2020/odx-angular-components-menu.mjs.map +1 -0
  723. package/fesm2020/odx-angular-components-modal.mjs +268 -152
  724. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  725. package/fesm2020/odx-angular-components-progress.mjs +57 -0
  726. package/fesm2020/odx-angular-components-progress.mjs.map +1 -0
  727. package/fesm2020/odx-angular-components-radio-group.mjs +18 -19
  728. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  729. package/fesm2020/odx-angular-components-rail-navigation.mjs +97 -0
  730. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -0
  731. package/fesm2020/odx-angular-components-select.mjs +409 -0
  732. package/fesm2020/odx-angular-components-select.mjs.map +1 -0
  733. package/fesm2020/odx-angular-components-slider.mjs +48 -0
  734. package/fesm2020/odx-angular-components-slider.mjs.map +1 -0
  735. package/fesm2020/odx-angular-components-spinbox.mjs +97 -0
  736. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -0
  737. package/fesm2020/odx-angular-components-switch.mjs +49 -8
  738. package/fesm2020/odx-angular-components-switch.mjs.map +1 -1
  739. package/fesm2020/odx-angular-components-tab-bar.mjs +203 -0
  740. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -0
  741. package/fesm2020/odx-angular-components-toast.mjs +215 -0
  742. package/fesm2020/odx-angular-components-toast.mjs.map +1 -0
  743. package/fesm2020/odx-angular-components-toggle-button-group.mjs +55 -26
  744. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -1
  745. package/fesm2020/odx-angular-components-tooltip.mjs +192 -0
  746. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -0
  747. package/fesm2020/odx-angular-internal.mjs +61 -52
  748. package/fesm2020/odx-angular-internal.mjs.map +1 -1
  749. package/fesm2020/odx-angular-rxjs.mjs +23 -6
  750. package/fesm2020/odx-angular-rxjs.mjs.map +1 -1
  751. package/fesm2020/odx-angular-utils.mjs +236 -15
  752. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  753. package/fesm2020/odx-angular.mjs +225 -95
  754. package/fesm2020/odx-angular.mjs.map +1 -1
  755. package/index.d.ts +1 -0
  756. package/internal/decorators/css-component.d.ts +1 -2
  757. package/internal/decorators/css-modifier.d.ts +0 -1
  758. package/internal/helpers/decorator-property-name.d.ts +1 -0
  759. package/internal/helpers/index.d.ts +1 -0
  760. package/internal/helpers/with-mutiple-descriptors.d.ts +1 -1
  761. package/lib/controllers/controller.d.ts +2 -3
  762. package/lib/controllers/disabled.controller.d.ts +5 -7
  763. package/lib/controllers/readonly.controller.d.ts +5 -2
  764. package/lib/core.module.d.ts +2 -1
  765. package/lib/directives/click-outside.directive.d.ts +3 -4
  766. package/lib/directives/delegate-focus.directive.d.ts +11 -0
  767. package/lib/directives/index.d.ts +3 -0
  768. package/lib/directives/with-disabled-state.directive.d.ts +13 -0
  769. package/lib/directives/with-tabindex.directive.d.ts +7 -0
  770. package/lib/services/window-ref.d.ts +5 -0
  771. package/lib/tokens/identity-matcher.d.ts +3 -0
  772. package/lib/tokens/index.d.ts +3 -0
  773. package/lib/tokens/string-search-handler.d.ts +3 -0
  774. package/lib/tokens/stringify.d.ts +3 -0
  775. package/package.json +181 -12
  776. package/rxjs/index.d.ts +3 -1
  777. package/rxjs/lib/delay-until.d.ts +2 -0
  778. package/rxjs/lib/form-query-list.d.ts +3 -0
  779. package/rxjs/lib/from-element-resize.d.ts +2 -0
  780. package/utils/lib/decorators/index.d.ts +1 -0
  781. package/utils/lib/decorators/pure.d.ts +1 -0
  782. package/utils/lib/decorators/transform.d.ts +2 -2
  783. package/utils/lib/helpers/angular.d.ts +2 -1
  784. package/utils/lib/helpers/build-url.d.ts +1 -0
  785. package/utils/lib/helpers/defer-fn.d.ts +1 -0
  786. package/utils/lib/helpers/dom.d.ts +6 -1
  787. package/utils/lib/helpers/event-manager.d.ts +12 -0
  788. package/utils/lib/helpers/get-axis.d.ts +2 -0
  789. package/utils/lib/helpers/get-opposite-side.d.ts +2 -0
  790. package/utils/lib/helpers/get-side.d.ts +2 -0
  791. package/utils/lib/helpers/get-unique-id.d.ts +1 -0
  792. package/utils/lib/helpers/index.d.ts +9 -1
  793. package/utils/lib/helpers/ng-changes.d.ts +1 -1
  794. package/utils/lib/helpers/provide-config.d.ts +12 -0
  795. package/utils/lib/helpers/queue.d.ts +22 -0
  796. package/utils/lib/types/axis.d.ts +5 -0
  797. package/utils/lib/types/get-properties.d.ts +2 -2
  798. package/utils/lib/types/index.d.ts +3 -0
  799. package/utils/lib/types/position.d.ts +15 -0
  800. package/utils/lib/types/side.d.ts +7 -0
  801. package/components/badge/lib/badge.config.d.ts +0 -3
  802. package/components/badge/lib/facade/badge-host.d.ts +0 -3
  803. package/components/badge/lib/facade/index.d.ts +0 -1
  804. package/components/badge/lib/models/badge-position.d.ts +0 -5
  805. package/components/modal/lib/services/index.d.ts +0 -1
  806. package/components/modal/lib/services/open-modal-manager.service.d.ts +0 -15
  807. package/esm2020/components/badge/lib/badge.config.mjs +0 -3
  808. package/esm2020/components/badge/lib/facade/badge-host.mjs +0 -2
  809. package/esm2020/components/badge/lib/facade/index.mjs +0 -2
  810. package/esm2020/components/badge/lib/models/badge-position.mjs +0 -5
  811. package/esm2020/components/modal/lib/services/index.mjs +0 -2
  812. package/esm2020/components/modal/lib/services/open-modal-manager.service.mjs +0 -42
  813. package/esm2020/rxjs/lib/mark-for-check.mjs +0 -5
  814. package/esm2020/utils/lib/helpers/provide-module-config.mjs +0 -21
  815. package/rxjs/lib/mark-for-check.d.ts +0 -3
  816. package/utils/lib/helpers/provide-module-config.d.ts +0 -12
@@ -0,0 +1,145 @@
1
+ import { __decorate, __metadata } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { Directive, Input } from '@angular/core';
4
+ import { CSSModifier, CSSComponent } from '@odx/angular/internal';
5
+ import { fromElementResize$ } from '@odx/angular/rxjs';
6
+ import { untilDestroyed, injectElement, hasChanged, isPresent, px, disableCSSTransitions, applyStyles } from '@odx/angular/utils';
7
+ import { BehaviorSubject, distinctUntilChanged, switchMap, EMPTY } from 'rxjs';
8
+
9
+ const ActiveIndicatorDirection = {
10
+ HORIZONTAL: 'horizontal',
11
+ VERTICAL: 'vertical',
12
+ };
13
+
14
+ const ActiveIndicatorPosition = {
15
+ START: 'start',
16
+ CENTER: 'center',
17
+ END: 'end',
18
+ };
19
+
20
+ let ActiveIndicatorDirective = class ActiveIndicatorDirective {
21
+ constructor() {
22
+ this.takeUntilDestroyed = untilDestroyed();
23
+ this.parentElement$$ = new BehaviorSubject(null);
24
+ this.onResize$ = this.parentElement$$.pipe(distinctUntilChanged(), switchMap((parentElement) => {
25
+ return parentElement ? fromElementResize$(parentElement) : EMPTY;
26
+ }));
27
+ this.element = injectElement();
28
+ this.isActive = false;
29
+ this.activeElement = null;
30
+ this.direction = ActiveIndicatorDirection.HORIZONTAL;
31
+ this.position = ActiveIndicatorPosition.CENTER;
32
+ }
33
+ set parent(value) {
34
+ this.parentElement$$.next(value);
35
+ }
36
+ get parent() {
37
+ return this.parentElement$$.getValue();
38
+ }
39
+ ngAfterViewInit() {
40
+ var _a;
41
+ this.onResize$.pipe(this.takeUntilDestroyed()).subscribe(() => this.updateStyles());
42
+ (_a = this.parent) !== null && _a !== void 0 ? _a : (this.parent = this.element.nativeElement.parentElement);
43
+ }
44
+ ngOnChanges(changes) {
45
+ var _a;
46
+ if (hasChanged(changes, 'activeElement', false)) {
47
+ this.isActive = !!this.activeElement;
48
+ }
49
+ if (hasChanged(changes, ['activeElement', 'direction', 'position'])) {
50
+ this.updateStyles(!isPresent((_a = changes.activeElement) === null || _a === void 0 ? void 0 : _a.previousValue));
51
+ }
52
+ }
53
+ updateStyles(disableTransition = false) {
54
+ if (!this.activeElement)
55
+ return;
56
+ const isHorizontal = this.direction === ActiveIndicatorDirection.HORIZONTAL;
57
+ const isVertical = this.direction === ActiveIndicatorDirection.VERTICAL;
58
+ const relativeOffset = this.getIndicatorRelativeOffset();
59
+ let transform = null;
60
+ if (isHorizontal) {
61
+ const positionX = this.getIndicatorPositionX(this.activeElement);
62
+ transform = `translateX(${px(positionX)}) translateX(${relativeOffset}%)`;
63
+ }
64
+ if (isVertical) {
65
+ const positionY = this.getIndicatorPositionY(this.activeElement);
66
+ transform = `translateY(${px(positionY)}) translateY(${relativeOffset}%)`;
67
+ }
68
+ disableTransition && disableCSSTransitions(this.element.nativeElement, true);
69
+ applyStyles(this.element.nativeElement, {
70
+ transform,
71
+ width: isHorizontal ? px(this.activeElement.offsetWidth) : null,
72
+ height: isVertical ? px(this.activeElement.offsetHeight) : null,
73
+ });
74
+ disableTransition && disableCSSTransitions(this.element.nativeElement, false);
75
+ }
76
+ getIndicatorPositionX(activeElement) {
77
+ switch (this.position) {
78
+ case ActiveIndicatorPosition.START:
79
+ return activeElement.offsetLeft;
80
+ case ActiveIndicatorPosition.CENTER:
81
+ return activeElement.offsetLeft + activeElement.offsetWidth / 2;
82
+ case ActiveIndicatorPosition.END:
83
+ return activeElement.offsetLeft + activeElement.offsetWidth;
84
+ }
85
+ }
86
+ getIndicatorPositionY(activeElement) {
87
+ switch (this.position) {
88
+ case ActiveIndicatorPosition.START:
89
+ return activeElement.offsetTop;
90
+ case ActiveIndicatorPosition.CENTER:
91
+ return activeElement.offsetTop + activeElement.offsetHeight / 2;
92
+ case ActiveIndicatorPosition.END:
93
+ return activeElement.offsetTop + activeElement.offsetHeight;
94
+ }
95
+ }
96
+ getIndicatorRelativeOffset() {
97
+ switch (this.position) {
98
+ case ActiveIndicatorPosition.START:
99
+ return 0;
100
+ case ActiveIndicatorPosition.CENTER:
101
+ return -50;
102
+ case ActiveIndicatorPosition.END:
103
+ return -100;
104
+ }
105
+ }
106
+ };
107
+ ActiveIndicatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ActiveIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
108
+ ActiveIndicatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: ActiveIndicatorDirective, isStandalone: true, selector: "[odxActiveIndicator]", inputs: { activeElement: ["odxActiveIndicator", "activeElement"], parent: ["odxActiveIndicatorParent", "parent"], direction: ["odxActiveIndicatorDirection", "direction"], position: ["odxActiveIndicatorPosition", "position"] }, usesOnChanges: true, ngImport: i0 });
109
+ __decorate([
110
+ CSSModifier(),
111
+ __metadata("design:type", Object)
112
+ ], ActiveIndicatorDirective.prototype, "isActive", void 0);
113
+ __decorate([
114
+ CSSModifier(),
115
+ __metadata("design:type", String)
116
+ ], ActiveIndicatorDirective.prototype, "direction", void 0);
117
+ ActiveIndicatorDirective = __decorate([
118
+ CSSComponent('cdk-active-indicator')
119
+ ], ActiveIndicatorDirective);
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ActiveIndicatorDirective, decorators: [{
121
+ type: Directive,
122
+ args: [{
123
+ standalone: true,
124
+ selector: '[odxActiveIndicator]',
125
+ }]
126
+ }], propDecorators: { isActive: [], activeElement: [{
127
+ type: Input,
128
+ args: ['odxActiveIndicator']
129
+ }], parent: [{
130
+ type: Input,
131
+ args: ['odxActiveIndicatorParent']
132
+ }], direction: [{
133
+ type: Input,
134
+ args: ['odxActiveIndicatorDirection']
135
+ }], position: [{
136
+ type: Input,
137
+ args: ['odxActiveIndicatorPosition']
138
+ }] } });
139
+
140
+ /**
141
+ * Generated bundle index. Do not edit.
142
+ */
143
+
144
+ export { ActiveIndicatorDirection, ActiveIndicatorDirective, ActiveIndicatorPosition };
145
+ //# sourceMappingURL=odx-angular-cdk-active-indicator.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odx-angular-cdk-active-indicator.mjs","sources":["../../../../libs/angular/cdk/active-indicator/src/lib/models/active-indicator-direction.ts","../../../../libs/angular/cdk/active-indicator/src/lib/models/active-indicator-position.ts","../../../../libs/angular/cdk/active-indicator/src/lib/active-indicator.directive.ts","../../../../libs/angular/cdk/active-indicator/src/odx-angular-cdk-active-indicator.ts"],"sourcesContent":["export type ActiveIndicatorDirection = typeof ActiveIndicatorDirection[keyof typeof ActiveIndicatorDirection];\n\nexport const ActiveIndicatorDirection = {\n HORIZONTAL: 'horizontal',\n VERTICAL: 'vertical',\n} as const;\n","export type ActiveIndicatorPosition = typeof ActiveIndicatorPosition[keyof typeof ActiveIndicatorPosition];\n\nexport const ActiveIndicatorPosition = {\n START: 'start',\n CENTER: 'center',\n END: 'end',\n} as const;\n","import { AfterViewInit, Directive, Input, OnChanges } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { fromElementResize$ } from '@odx/angular/rxjs';\nimport { applyStyles, disableCSSTransitions, hasChanged, injectElement, isPresent, NgChanges, px, untilDestroyed } from '@odx/angular/utils';\nimport { BehaviorSubject, distinctUntilChanged, EMPTY, switchMap } from 'rxjs';\nimport { ActiveIndicatorPosition } from './models';\nimport { ActiveIndicatorDirection } from './models/active-indicator-direction';\n\n@CSSComponent('cdk-active-indicator')\n@Directive({\n standalone: true,\n selector: '[odxActiveIndicator]',\n})\nexport class ActiveIndicatorDirective implements OnChanges, AfterViewInit {\n private readonly takeUntilDestroyed = untilDestroyed();\n private readonly parentElement$$ = new BehaviorSubject<HTMLElement | null>(null);\n private readonly onResize$ = this.parentElement$$.pipe(\n distinctUntilChanged(),\n switchMap((parentElement) => {\n return parentElement ? fromElementResize$(parentElement) : EMPTY;\n })\n );\n\n public readonly element = injectElement();\n\n @CSSModifier()\n public isActive = false;\n\n @Input('odxActiveIndicator')\n public activeElement?: HTMLElement | null = null;\n\n @Input('odxActiveIndicatorParent')\n public set parent(value: HTMLElement | null) {\n this.parentElement$$.next(value);\n }\n public get parent(): HTMLElement | null {\n return this.parentElement$$.getValue();\n }\n\n @CSSModifier()\n @Input('odxActiveIndicatorDirection')\n public direction: ActiveIndicatorDirection = ActiveIndicatorDirection.HORIZONTAL;\n\n @Input('odxActiveIndicatorPosition')\n public position: ActiveIndicatorPosition = ActiveIndicatorPosition.CENTER;\n\n public ngAfterViewInit(): void {\n this.onResize$.pipe(this.takeUntilDestroyed()).subscribe(() => this.updateStyles());\n this.parent ??= this.element.nativeElement.parentElement;\n }\n\n public ngOnChanges(changes: NgChanges<ActiveIndicatorDirective>): void {\n if (hasChanged(changes, 'activeElement', false)) {\n this.isActive = !!this.activeElement;\n }\n if (hasChanged(changes, ['activeElement', 'direction', 'position'])) {\n this.updateStyles(!isPresent(changes.activeElement?.previousValue));\n }\n }\n\n private updateStyles(disableTransition = false): void {\n if (!this.activeElement) return;\n const isHorizontal = this.direction === ActiveIndicatorDirection.HORIZONTAL;\n const isVertical = this.direction === ActiveIndicatorDirection.VERTICAL;\n const relativeOffset = this.getIndicatorRelativeOffset();\n\n let transform = null;\n if (isHorizontal) {\n const positionX = this.getIndicatorPositionX(this.activeElement);\n transform = `translateX(${px(positionX)}) translateX(${relativeOffset}%)`;\n }\n if (isVertical) {\n const positionY = this.getIndicatorPositionY(this.activeElement);\n transform = `translateY(${px(positionY)}) translateY(${relativeOffset}%)`;\n }\n\n disableTransition && disableCSSTransitions(this.element.nativeElement, true);\n applyStyles(this.element.nativeElement, {\n transform,\n width: isHorizontal ? px(this.activeElement.offsetWidth) : null,\n height: isVertical ? px(this.activeElement.offsetHeight) : null,\n });\n disableTransition && disableCSSTransitions(this.element.nativeElement, false);\n }\n\n private getIndicatorPositionX(activeElement: HTMLElement): number {\n switch (this.position) {\n case ActiveIndicatorPosition.START:\n return activeElement.offsetLeft;\n case ActiveIndicatorPosition.CENTER:\n return activeElement.offsetLeft + activeElement.offsetWidth / 2;\n case ActiveIndicatorPosition.END:\n return activeElement.offsetLeft + activeElement.offsetWidth;\n }\n }\n\n private getIndicatorPositionY(activeElement: HTMLElement): number {\n switch (this.position) {\n case ActiveIndicatorPosition.START:\n return activeElement.offsetTop;\n case ActiveIndicatorPosition.CENTER:\n return activeElement.offsetTop + activeElement.offsetHeight / 2;\n case ActiveIndicatorPosition.END:\n return activeElement.offsetTop + activeElement.offsetHeight;\n }\n }\n\n private getIndicatorRelativeOffset(): number {\n switch (this.position) {\n case ActiveIndicatorPosition.START:\n return 0;\n case ActiveIndicatorPosition.CENTER:\n return -50;\n case ActiveIndicatorPosition.END:\n return -100;\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAEa,MAAA,wBAAwB,GAAG;AACtC,IAAA,UAAU,EAAE,YAAY;AACxB,IAAA,QAAQ,EAAE,UAAU;;;ACFT,MAAA,uBAAuB,GAAG;AACrC,IAA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A;kBAJpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sBAAsB;iBACjC,CAAA;SAcQ,CAAA,EAAA,cAAA,EAAA,EAAA,QAAQ,MAGR,aAAa,EAAA,CAAA;sBADnB,KAAK;uBAAC,oBAAoB,CAAA;gBAIhB,MAAM,EAAA,CAAA;sBADhB,KAAK;uBAAC,0BAA0B,CAAA;gBAU1B,SAAS,EAAA,CAAA;sBADf,KAAK;uBAAC,6BAA6B,CAAA;gBAI7B,QAAQ,EAAA,CAAA;sBADd,KAAK;uBAAC,4BAA4B,CAAA;;;AC3CrC;;AAEG;;;;"}
@@ -1,45 +1,47 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ChangeDetectorRef, Directive, Input } from '@angular/core';
3
- import { Validators } from '@angular/forms';
2
+ import { EventEmitter, Directive, Input, Output } from '@angular/core';
4
3
  import { detectControllerChanges } from '@odx/angular';
5
4
  import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
6
- import { injectElement, booleanToAttributeString } from '@odx/angular/utils';
5
+ import { booleanToAttributeString, injectElement } from '@odx/angular/utils';
7
6
 
8
7
  class CheckBoxControl extends CustomFormControl {
9
- constructor() {
10
- super(false);
11
- this.element = injectElement();
12
- this.value = null;
13
- detectControllerChanges(inject(ChangeDetectorRef), this).subscribe();
14
- }
15
8
  set checked(value) {
16
- this.controlValue = value;
9
+ this.value = value;
17
10
  }
18
11
  get checked() {
19
- return this.controlValue;
12
+ return this.value;
20
13
  }
21
14
  get ariaChecked() {
22
15
  return booleanToAttributeString(this.checked);
23
16
  }
17
+ constructor() {
18
+ super(false);
19
+ this.element = injectElement();
20
+ // eslint-disable-next-line @angular-eslint/no-input-rename
21
+ this.controlValue = null;
22
+ this.checkedChange = new EventEmitter();
23
+ detectControllerChanges(this).subscribe();
24
+ }
24
25
  onChanged(event) {
25
26
  event.stopPropagation();
26
27
  super.updateValue(event.target.checked);
27
- }
28
- updateRequiredValidator() {
29
- this.toggleValidator(Validators.requiredTrue, this.required);
28
+ this.checkedChange.next(this.checked);
30
29
  }
31
30
  }
32
- CheckBoxControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: CheckBoxControl, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
- CheckBoxControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: CheckBoxControl, selector: "[odxCheckBoxControl]", inputs: { checked: "checked", value: "value" }, usesInheritance: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: CheckBoxControl, decorators: [{
31
+ CheckBoxControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CheckBoxControl, deps: [], target: i0.ɵɵFactoryTarget.Directive });
32
+ CheckBoxControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: CheckBoxControl, selector: "[odxCheckBoxControl]", inputs: { checked: "checked", controlValue: ["value", "controlValue"] }, outputs: { checkedChange: "checkedChange" }, usesInheritance: true, ngImport: i0 });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CheckBoxControl, decorators: [{
35
34
  type: Directive,
36
35
  args: [{
37
36
  selector: '[odxCheckBoxControl]',
38
37
  }]
39
38
  }], ctorParameters: function () { return []; }, propDecorators: { checked: [{
40
39
  type: Input
41
- }], value: [{
42
- type: Input
40
+ }], controlValue: [{
41
+ type: Input,
42
+ args: ['value']
43
+ }], checkedChange: [{
44
+ type: Output
43
45
  }] } });
44
46
 
45
47
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-checkbox-control.mjs","sources":["../../../../libs/angular/cdk/checkbox-control/src/lib/checkbox-control.directive.ts","../../../../libs/angular/cdk/checkbox-control/src/odx-angular-cdk-checkbox-control.ts"],"sourcesContent":["import { BooleanInput } from '@angular/cdk/coercion';\nimport { ChangeDetectorRef, Directive, inject, Input } from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport { detectControllerChanges } from '@odx/angular';\nimport { CustomFormControl } from '@odx/angular/cdk/custom-form-control';\nimport { booleanToAttributeString, injectElement } from '@odx/angular/utils';\n\n@Directive({\n selector: '[odxCheckBoxControl]',\n})\nexport class CheckBoxControl extends CustomFormControl<boolean> {\n public static ngAcceptInputType_checked: BooleanInput;\n\n public readonly element = injectElement();\n\n @Input()\n public set checked(value: boolean) {\n this.controlValue = value;\n }\n public get checked(): boolean {\n return this.controlValue;\n }\n\n @Input()\n public value: string | null = null;\n\n public get ariaChecked(): string {\n return booleanToAttributeString(this.checked);\n }\n\n constructor() {\n super(false);\n detectControllerChanges(inject(ChangeDetectorRef), this).subscribe();\n }\n\n public onChanged(event: Event): void {\n event.stopPropagation();\n super.updateValue((event.target as HTMLInputElement).checked);\n }\n\n protected override updateRequiredValidator(): void {\n this.toggleValidator(Validators.requiredTrue, this.required);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAUM,MAAO,eAAgB,SAAQ,iBAA0B,CAAA;AAoB7D,IAAA,WAAA,GAAA;QACE,KAAK,CAAC,KAAK,CAAC,CAAC;AAlBC,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAWnC,QAAA,IAAK,CAAA,KAAA,GAAkB,IAAI,CAAC;QAQjC,uBAAuB,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;KACtE;IAlBD,IACW,OAAO,CAAC,KAAc,EAAA;AAC/B,QAAA,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;KAC3B;AACD,IAAA,IAAW,OAAO,GAAA;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC;KAC1B;AAKD,IAAA,IAAW,WAAW,GAAA;AACpB,QAAA,OAAO,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/C;AAOM,IAAA,SAAS,CAAC,KAAY,EAAA;QAC3B,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,KAAK,CAAC,WAAW,CAAE,KAAK,CAAC,MAA2B,CAAC,OAAO,CAAC,CAAC;KAC/D;IAEkB,uBAAuB,GAAA;QACxC,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC9D;;4GAhCU,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;gGAAf,eAAe,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,sBAAsB;iBACjC,CAAA;0EAOY,OAAO,EAAA,CAAA;sBADjB,KAAK;gBASC,KAAK,EAAA,CAAA;sBADX,KAAK;;;ACvBR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-checkbox-control.mjs","sources":["../../../../libs/angular/cdk/checkbox-control/src/lib/checkbox-control.directive.ts","../../../../libs/angular/cdk/checkbox-control/src/odx-angular-cdk-checkbox-control.ts"],"sourcesContent":["import { BooleanInput } from '@angular/cdk/coercion';\nimport { Directive, EventEmitter, Input, Output } from '@angular/core';\nimport { detectControllerChanges } from '@odx/angular';\nimport { CustomFormControl } from '@odx/angular/cdk/custom-form-control';\nimport { booleanToAttributeString, injectElement } from '@odx/angular/utils';\n\n@Directive({\n selector: '[odxCheckBoxControl]',\n})\nexport class CheckBoxControl extends CustomFormControl<boolean> {\n public static ngAcceptInputType_checked: BooleanInput;\n\n public readonly element = injectElement();\n\n @Input()\n public set checked(value: boolean) {\n this.value = value;\n }\n public get checked(): boolean {\n return this.value;\n }\n\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('value')\n public controlValue: string | null = null;\n\n @Output()\n public checkedChange = new EventEmitter<boolean>();\n\n public get ariaChecked(): string {\n return booleanToAttributeString(this.checked);\n }\n\n constructor() {\n super(false);\n detectControllerChanges(this).subscribe();\n }\n\n public onChanged(event: Event): void {\n event.stopPropagation();\n super.updateValue((event.target as HTMLInputElement).checked);\n this.checkedChange.next(this.checked);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AASM,MAAO,eAAgB,SAAQ,iBAA0B,CAAA;IAK7D,IACW,OAAO,CAAC,KAAc,EAAA;AAC/B,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;KACpB;AACD,IAAA,IAAW,OAAO,GAAA;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC;KACnB;AASD,IAAA,IAAW,WAAW,GAAA;AACpB,QAAA,OAAO,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/C;AAED,IAAA,WAAA,GAAA;QACE,KAAK,CAAC,KAAK,CAAC,CAAC;AAtBC,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;;AAYnC,QAAA,IAAY,CAAA,YAAA,GAAkB,IAAI,CAAC;AAGnC,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,YAAY,EAAW,CAAC;AAQjD,QAAA,uBAAuB,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;KAC3C;AAEM,IAAA,SAAS,CAAC,KAAY,EAAA;QAC3B,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,KAAK,CAAC,WAAW,CAAE,KAAK,CAAC,MAA2B,CAAC,OAAO,CAAC,CAAC;QAC9D,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACvC;;4GAjCU,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;gGAAf,eAAe,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,YAAA,EAAA,CAAA,OAAA,EAAA,cAAA,CAAA,EAAA,EAAA,OAAA,EAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,sBAAsB;iBACjC,CAAA;0EAOY,OAAO,EAAA,CAAA;sBADjB,KAAK;gBAUC,YAAY,EAAA,CAAA;sBADlB,KAAK;uBAAC,OAAO,CAAA;gBAIP,aAAa,EAAA,CAAA;sBADnB,MAAM;;;AC1BT;;AAEG;;;;"}
@@ -0,0 +1,222 @@
1
+ import { __awaiter, __decorate } from 'tslib';
2
+ import { trigger, transition, group, useAnimation } from '@angular/animations';
3
+ import * as i0 from '@angular/core';
4
+ import { inject, Renderer2, NgZone, RendererStyleFlags2, Component, ChangeDetectionStrategy, ViewEncapsulation, ViewChild, Input, Output, Injectable } from '@angular/core';
5
+ import { arrow, flip, computePosition, offset, shift, size, hide, autoUpdate } from '@floating-ui/dom';
6
+ import { CoreModule } from '@odx/angular';
7
+ import { waitForChildAnimations, slideInUp, fadeIn, slideOutUp, fadeOut, slideInLeft, slideOutRight, slideOutDown, slideInRight, slideOutLeft } from '@odx/angular/animations';
8
+ import { DynamicViewDirective, DynamicViewService } from '@odx/angular/cdk/dynamic-view';
9
+ import { CSSComponent } from '@odx/angular/internal';
10
+ import { applyStyles, px, cssTranslate, getSide, getOppositeSide, Position, getInjector, injectElement, hasChanged } from '@odx/angular/utils';
11
+ import { EMPTY, Subject } from 'rxjs';
12
+ import { deepmerge } from 'deepmerge-ts';
13
+
14
+ function computeOverlayPosition(referenceElement, overlayElement, contentElement, arrowElement, options) {
15
+ return __awaiter(this, void 0, void 0, function* () {
16
+ const { position, offset: offset$1, outerPadding, matchReferenceWidth, enableFallback, fallbackAxisSideDirection, strategy, minHeight } = options;
17
+ const arrowSize = options.showArrow ? arrowElement.offsetWidth : 0;
18
+ const arrowMiddleware = options.showArrow ? [arrow({ element: arrowElement, padding: 8 })] : [];
19
+ const flipMiddleWare = enableFallback ? [flip({ fallbackAxisSideDirection })] : [];
20
+ return computePosition(referenceElement, overlayElement, {
21
+ strategy,
22
+ placement: position,
23
+ middleware: [
24
+ offset(Math.max(offset$1, arrowSize + offset$1)),
25
+ shift({ padding: outerPadding }),
26
+ ...flipMiddleWare,
27
+ size({
28
+ padding: outerPadding,
29
+ apply: ({ availableHeight, availableWidth, rects }) => {
30
+ applyStyles(contentElement, {
31
+ maxHeight: px(availableHeight),
32
+ maxWidth: px(availableWidth),
33
+ minHeight: minHeight ? px(Math.min(availableHeight, minHeight)) : null,
34
+ minWidth: matchReferenceWidth ? px(rects.reference.width) : null,
35
+ });
36
+ },
37
+ }),
38
+ ...arrowMiddleware,
39
+ hide(),
40
+ ],
41
+ }).then((result) => {
42
+ var _a, _b, _c;
43
+ applyStyles(overlayElement, {
44
+ top: '0',
45
+ left: '0',
46
+ transform: cssTranslate(px(result.x), px(result.y)),
47
+ });
48
+ if (options.hiddenClass) {
49
+ overlayElement.classList.toggle(options.hiddenClass, !!((_a = result.middlewareData.hide) === null || _a === void 0 ? void 0 : _a.referenceHidden));
50
+ }
51
+ if (options.showArrow) {
52
+ const overlaySide = getSide(result.placement);
53
+ const arrowSide = getOppositeSide(result.placement);
54
+ applyStyles(arrowElement, {
55
+ display: null,
56
+ top: px((_b = result.middlewareData.arrow) === null || _b === void 0 ? void 0 : _b.y),
57
+ left: px((_c = result.middlewareData.arrow) === null || _c === void 0 ? void 0 : _c.x),
58
+ [arrowSide]: px(-arrowSize / 2),
59
+ [overlaySide]: null,
60
+ });
61
+ }
62
+ else {
63
+ applyStyles(arrowElement, { display: 'none' });
64
+ }
65
+ return result;
66
+ });
67
+ });
68
+ }
69
+
70
+ const DefaultConnectedOverlayOptions = {
71
+ hiddenClass: 'is-hidden',
72
+ enableFallback: false,
73
+ fallbackAxisSideDirection: 'start',
74
+ matchReferenceWidth: false,
75
+ offset: 8,
76
+ outerPadding: 12,
77
+ position: Position.BOTTOM,
78
+ strategy: 'fixed',
79
+ };
80
+
81
+ class ConnectedOverlayRef {
82
+ constructor(dynamicViewRef) {
83
+ var _a;
84
+ this.dynamicViewRef = dynamicViewRef;
85
+ this.element = this.dynamicViewRef.getElement();
86
+ this.onClose$ = (_a = this.dynamicViewRef.getContext().closed) !== null && _a !== void 0 ? _a : EMPTY;
87
+ }
88
+ update(options) {
89
+ this.dynamicViewRef.update({ options: options });
90
+ }
91
+ close() {
92
+ this.dynamicViewRef.destroy();
93
+ }
94
+ }
95
+
96
+ let ConnectedOverlayComponent = class ConnectedOverlayComponent {
97
+ constructor() {
98
+ this.renderer = inject(Renderer2);
99
+ this.zone = inject(NgZone);
100
+ this.positionUpdater = null;
101
+ this.injector = getInjector();
102
+ this.element = injectElement();
103
+ this.options = DefaultConnectedOverlayOptions;
104
+ this.closed = new Subject();
105
+ }
106
+ ngOnChanges(changes) {
107
+ if (hasChanged(changes, ['options'], false)) {
108
+ this.overlaySide = getSide(this.options.position);
109
+ }
110
+ if (hasChanged(changes, ['referenceElement', 'options'], false)) {
111
+ this.stopPositionUpdater();
112
+ this.startPositionUpdater();
113
+ }
114
+ }
115
+ ngOnDestroy() {
116
+ this.stopPositionUpdater();
117
+ }
118
+ onAnimationStart({ fromState }) {
119
+ var _a, _b, _c, _d;
120
+ if (!fromState)
121
+ return;
122
+ if (fromState === 'void') {
123
+ this.renderer.setStyle(this.element.nativeElement, 'pointer-events', 'none', RendererStyleFlags2.Important);
124
+ (_b = (_a = this.options.hooks) === null || _a === void 0 ? void 0 : _a.beforeOpen) === null || _b === void 0 ? void 0 : _b.call(_a);
125
+ }
126
+ else {
127
+ (_d = (_c = this.options.hooks) === null || _c === void 0 ? void 0 : _c.beforeClose) === null || _d === void 0 ? void 0 : _d.call(_c);
128
+ }
129
+ }
130
+ onAnimationDone({ fromState }) {
131
+ var _a, _b, _c, _d;
132
+ if (!fromState)
133
+ return;
134
+ if (fromState === 'void') {
135
+ (_b = (_a = this.options.hooks) === null || _a === void 0 ? void 0 : _a.afterOpen) === null || _b === void 0 ? void 0 : _b.call(_a);
136
+ this.renderer.removeStyle(this.element.nativeElement, 'pointer-events');
137
+ }
138
+ else {
139
+ (_d = (_c = this.options.hooks) === null || _c === void 0 ? void 0 : _c.afterClose) === null || _d === void 0 ? void 0 : _d.call(_c);
140
+ }
141
+ }
142
+ startPositionUpdater() {
143
+ this.positionUpdater = this.zone.runOutsideAngular(() => autoUpdate(this.referenceElement, this.element.nativeElement, () => computeOverlayPosition(this.referenceElement, this.element.nativeElement, this.contentElement.nativeElement, this.arrowElement.nativeElement, this.options).then(({ placement }) => {
144
+ this.overlaySide = getSide(placement);
145
+ })));
146
+ }
147
+ stopPositionUpdater() {
148
+ var _a;
149
+ (_a = this.positionUpdater) === null || _a === void 0 ? void 0 : _a.call(this);
150
+ this.positionUpdater = null;
151
+ }
152
+ };
153
+ ConnectedOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ConnectedOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
154
+ ConnectedOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: ConnectedOverlayComponent, isStandalone: true, selector: "odx-connected-overlay", inputs: { referenceElement: "referenceElement", options: "options" }, outputs: { closed: "closed" }, host: { properties: { "@hostAnimation": "true" } }, viewQueries: [{ propertyName: "contentElement", first: true, predicate: ["content"], descendants: true, static: true }, { propertyName: "arrowElement", first: true, predicate: ["arrow"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div\n [@contentAnimation]=\"overlaySide\"\n (@contentAnimation.start)=\"onAnimationStart($event)\"\n (@contentAnimation.done)=\"onAnimationDone($event)\"\n class=\"odx-cdk-connected-overlay__content {{ options.containerClass }}\"\n #content\n>\n <ng-template [odxDynamicView]=\"options.content\" [odxDynamicViewContext]=\"options.context\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n <div class=\"odx-cdk-connected-overlay-arrow\" #arrow></div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], animations: [
155
+ trigger('hostAnimation', [waitForChildAnimations]),
156
+ trigger('contentAnimation', [
157
+ transition('void => top', group([useAnimation(slideInUp, { params: { from: '-8px' } }), useAnimation(fadeIn())])),
158
+ transition('top => void', group([useAnimation(slideOutUp, { params: { to: '-8px' } }), useAnimation(fadeOut())])),
159
+ transition('void => right', group([useAnimation(slideInLeft, { params: { from: '8px' } }), useAnimation(fadeIn())])),
160
+ transition('right => void', group([useAnimation(slideOutRight, { params: { to: '8px' } }), useAnimation(fadeOut())])),
161
+ transition('void => bottom', group([useAnimation(slideInUp, { params: { from: '8px' } }), useAnimation(fadeIn())])),
162
+ transition('bottom => void', group([useAnimation(slideOutDown, { params: { to: '8px' } }), useAnimation(fadeOut())])),
163
+ transition('void => left', group([useAnimation(slideInRight, { params: { from: '-8px' } }), useAnimation(fadeIn())])),
164
+ transition('left => void', group([useAnimation(slideOutLeft, { params: { to: '-8px' } }), useAnimation(fadeOut())])),
165
+ ]),
166
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
167
+ ConnectedOverlayComponent = __decorate([
168
+ CSSComponent('cdk-connected-overlay')
169
+ ], ConnectedOverlayComponent);
170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ConnectedOverlayComponent, decorators: [{
171
+ type: Component,
172
+ args: [{ standalone: true, selector: 'odx-connected-overlay', imports: [CoreModule, DynamicViewDirective], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
173
+ '[@hostAnimation]': 'true',
174
+ }, animations: [
175
+ trigger('hostAnimation', [waitForChildAnimations]),
176
+ trigger('contentAnimation', [
177
+ transition('void => top', group([useAnimation(slideInUp, { params: { from: '-8px' } }), useAnimation(fadeIn())])),
178
+ transition('top => void', group([useAnimation(slideOutUp, { params: { to: '-8px' } }), useAnimation(fadeOut())])),
179
+ transition('void => right', group([useAnimation(slideInLeft, { params: { from: '8px' } }), useAnimation(fadeIn())])),
180
+ transition('right => void', group([useAnimation(slideOutRight, { params: { to: '8px' } }), useAnimation(fadeOut())])),
181
+ transition('void => bottom', group([useAnimation(slideInUp, { params: { from: '8px' } }), useAnimation(fadeIn())])),
182
+ transition('bottom => void', group([useAnimation(slideOutDown, { params: { to: '8px' } }), useAnimation(fadeOut())])),
183
+ transition('void => left', group([useAnimation(slideInRight, { params: { from: '-8px' } }), useAnimation(fadeIn())])),
184
+ transition('left => void', group([useAnimation(slideOutLeft, { params: { to: '-8px' } }), useAnimation(fadeOut())])),
185
+ ]),
186
+ ], template: "<div\n [@contentAnimation]=\"overlaySide\"\n (@contentAnimation.start)=\"onAnimationStart($event)\"\n (@contentAnimation.done)=\"onAnimationDone($event)\"\n class=\"odx-cdk-connected-overlay__content {{ options.containerClass }}\"\n #content\n>\n <ng-template [odxDynamicView]=\"options.content\" [odxDynamicViewContext]=\"options.context\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n <div class=\"odx-cdk-connected-overlay-arrow\" #arrow></div>\n</div>\n" }]
187
+ }], propDecorators: { contentElement: [{
188
+ type: ViewChild,
189
+ args: ['content', { static: true }]
190
+ }], arrowElement: [{
191
+ type: ViewChild,
192
+ args: ['arrow', { static: true }]
193
+ }], referenceElement: [{
194
+ type: Input
195
+ }], options: [{
196
+ type: Input
197
+ }], closed: [{
198
+ type: Output
199
+ }] } });
200
+
201
+ class ConnectedOverlayService {
202
+ constructor() {
203
+ this.dynamicViewService = inject(DynamicViewService);
204
+ }
205
+ createOverlay(referenceElement, options, renderingOptions) {
206
+ const dynamicViewRef = this.dynamicViewService.createView(ConnectedOverlayComponent, Object.assign(Object.assign({}, renderingOptions), { context: { options: deepmerge(DefaultConnectedOverlayOptions, options), referenceElement } }));
207
+ return new ConnectedOverlayRef(dynamicViewRef);
208
+ }
209
+ }
210
+ ConnectedOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ConnectedOverlayService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
211
+ ConnectedOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ConnectedOverlayService, providedIn: 'root' });
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ConnectedOverlayService, decorators: [{
213
+ type: Injectable,
214
+ args: [{ providedIn: 'root' }]
215
+ }] });
216
+
217
+ /**
218
+ * Generated bundle index. Do not edit.
219
+ */
220
+
221
+ export { ConnectedOverlayComponent, ConnectedOverlayRef, ConnectedOverlayService, DefaultConnectedOverlayOptions };
222
+ //# sourceMappingURL=odx-angular-cdk-connected-overlay.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odx-angular-cdk-connected-overlay.mjs","sources":["../../../../libs/angular/cdk/connected-overlay/src/lib/helpers/compute-overlay-position.ts","../../../../libs/angular/cdk/connected-overlay/src/lib/models/connected-overlay-options.ts","../../../../libs/angular/cdk/connected-overlay/src/lib/models/connected-overlay-ref.ts","../../../../libs/angular/cdk/connected-overlay/src/lib/connected-overlay.component.ts","../../../../libs/angular/cdk/connected-overlay/src/lib/connected-overlay.component.html","../../../../libs/angular/cdk/connected-overlay/src/lib/connected-overlay.service.ts","../../../../libs/angular/cdk/connected-overlay/src/odx-angular-cdk-connected-overlay.ts"],"sourcesContent":["import { arrow, computePosition, ComputePositionReturn, flip, hide, offset as withOffset, shift, size, VirtualElement } from '@floating-ui/dom';\nimport { applyStyles, cssTranslate, getOppositeSide, getSide, px } from '@odx/angular/utils';\nimport { ConnectedOverlayOptions } from '../models';\n\nexport async function computeOverlayPosition(\n referenceElement: VirtualElement,\n overlayElement: HTMLElement,\n contentElement: HTMLElement,\n arrowElement: HTMLElement,\n options: ConnectedOverlayOptions\n): Promise<ComputePositionReturn> {\n const { position, offset, outerPadding, matchReferenceWidth, enableFallback, fallbackAxisSideDirection, strategy, minHeight } = options;\n const arrowSize = options.showArrow ? arrowElement.offsetWidth : 0;\n const arrowMiddleware = options.showArrow ? [arrow({ element: arrowElement, padding: 8 })] : [];\n const flipMiddleWare = enableFallback ? [flip({ fallbackAxisSideDirection })] : [];\n\n return computePosition(referenceElement, overlayElement, {\n strategy,\n placement: position,\n middleware: [\n withOffset(Math.max(offset, arrowSize + offset)),\n shift({ padding: outerPadding }),\n ...flipMiddleWare,\n size({\n padding: outerPadding,\n apply: ({ availableHeight, availableWidth, rects }) => {\n applyStyles(contentElement, {\n maxHeight: px(availableHeight),\n maxWidth: px(availableWidth),\n minHeight: minHeight ? px(Math.min(availableHeight, minHeight)) : null,\n minWidth: matchReferenceWidth ? px(rects.reference.width) : null,\n });\n },\n }),\n ...arrowMiddleware,\n hide(),\n ],\n }).then((result) => {\n applyStyles(overlayElement, {\n top: '0',\n left: '0',\n transform: cssTranslate(px(result.x), px(result.y)),\n });\n if (options.hiddenClass) {\n overlayElement.classList.toggle(options.hiddenClass, !!result.middlewareData.hide?.referenceHidden);\n }\n if (options.showArrow) {\n const overlaySide = getSide(result.placement);\n const arrowSide = getOppositeSide(result.placement);\n applyStyles(arrowElement, {\n display: null,\n top: px(result.middlewareData.arrow?.y),\n left: px(result.middlewareData.arrow?.x),\n [arrowSide]: px(-arrowSize / 2),\n [overlaySide]: null,\n });\n } else {\n applyStyles(arrowElement, { display: 'none' });\n }\n\n return result;\n });\n}\n","import { Strategy } from '@floating-ui/dom';\nimport { DynamicContent } from '@odx/angular/cdk/dynamic-view';\nimport { Position } from '@odx/angular/utils';\n\nexport interface ConnectedOverlayOptions {\n content?: DynamicContent | null;\n context?: Record<string, unknown>;\n containerClass?: string | null;\n hiddenClass: string | null;\n enableFallback: boolean;\n fallbackAxisSideDirection: 'start' | 'end';\n matchReferenceWidth: boolean;\n minHeight?: number | null;\n offset: number;\n outerPadding: number;\n position: Position;\n strategy: Strategy;\n showArrow?: boolean;\n hooks?: {\n beforeOpen?: () => void;\n afterOpen?: () => void;\n beforeClose?: () => void;\n afterClose?: () => void;\n };\n}\n\nexport const DefaultConnectedOverlayOptions: ConnectedOverlayOptions = {\n hiddenClass: 'is-hidden',\n enableFallback: false,\n fallbackAxisSideDirection: 'start',\n matchReferenceWidth: false,\n offset: 8,\n outerPadding: 12,\n position: Position.BOTTOM,\n strategy: 'fixed',\n};\n","import { DynamicViewRef } from '@odx/angular/cdk/dynamic-view';\nimport { EMPTY, Observable } from 'rxjs';\nimport { ConnectedOverlayComponent } from '../connected-overlay.component';\nimport { ConnectedOverlayOptions } from './connected-overlay-options';\n\nexport class ConnectedOverlayRef {\n public readonly element = this.dynamicViewRef.getElement();\n public readonly onClose$: Observable<void> = this.dynamicViewRef.getContext().closed ?? EMPTY;\n\n constructor(private readonly dynamicViewRef: DynamicViewRef<typeof ConnectedOverlayComponent>) {}\n\n public update(options: Partial<ConnectedOverlayOptions>) {\n this.dynamicViewRef.update({ options: options as ConnectedOverlayOptions });\n }\n\n public close(): void {\n this.dynamicViewRef.destroy();\n }\n}\n","import { AnimationEvent, group, transition, trigger, useAnimation } from '@angular/animations';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n inject,\n Input,\n NgZone,\n OnChanges,\n OnDestroy,\n Output,\n Renderer2,\n RendererStyleFlags2,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { autoUpdate, VirtualElement } from '@floating-ui/dom';\nimport { CoreModule } from '@odx/angular';\nimport {\n fadeIn,\n fadeOut,\n slideInLeft,\n slideInRight,\n slideInUp,\n slideOutDown,\n slideOutLeft,\n slideOutRight,\n slideOutUp,\n waitForChildAnimations,\n} from '@odx/angular/animations';\nimport { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { getInjector, getSide, hasChanged, injectElement, NgChanges, Side } from '@odx/angular/utils';\nimport { Subject } from 'rxjs';\nimport { computeOverlayPosition } from './helpers';\nimport { ConnectedOverlayOptions, DefaultConnectedOverlayOptions } from './models';\n\n@CSSComponent('cdk-connected-overlay')\n@Component({\n standalone: true,\n selector: 'odx-connected-overlay',\n imports: [CoreModule, DynamicViewDirective],\n templateUrl: 'connected-overlay.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[@hostAnimation]': 'true',\n },\n animations: [\n trigger('hostAnimation', [waitForChildAnimations]),\n trigger('contentAnimation', [\n transition('void => top', group([useAnimation(slideInUp, { params: { from: '-8px' } }), useAnimation(fadeIn())])),\n transition('top => void', group([useAnimation(slideOutUp, { params: { to: '-8px' } }), useAnimation(fadeOut())])),\n transition('void => right', group([useAnimation(slideInLeft, { params: { from: '8px' } }), useAnimation(fadeIn())])),\n transition('right => void', group([useAnimation(slideOutRight, { params: { to: '8px' } }), useAnimation(fadeOut())])),\n transition('void => bottom', group([useAnimation(slideInUp, { params: { from: '8px' } }), useAnimation(fadeIn())])),\n transition('bottom => void', group([useAnimation(slideOutDown, { params: { to: '8px' } }), useAnimation(fadeOut())])),\n transition('void => left', group([useAnimation(slideInRight, { params: { from: '-8px' } }), useAnimation(fadeIn())])),\n transition('left => void', group([useAnimation(slideOutLeft, { params: { to: '-8px' } }), useAnimation(fadeOut())])),\n ]),\n ],\n})\nexport class ConnectedOverlayComponent implements OnChanges, OnDestroy {\n private readonly renderer = inject(Renderer2);\n private readonly zone = inject(NgZone);\n private positionUpdater: (() => void) | null = null;\n\n protected readonly injector = getInjector();\n protected overlaySide?: Side;\n\n @ViewChild('content', { static: true })\n protected contentElement!: ElementRef<HTMLElement>;\n\n @ViewChild('arrow', { static: true })\n protected arrowElement!: ElementRef<HTMLElement>;\n\n public readonly element = injectElement();\n\n @Input()\n public referenceElement!: VirtualElement;\n\n @Input()\n public options: ConnectedOverlayOptions = DefaultConnectedOverlayOptions;\n\n @Output()\n public closed = new Subject<void>();\n\n public ngOnChanges(changes: NgChanges<ConnectedOverlayComponent>): void {\n if (hasChanged(changes, ['options'], false)) {\n this.overlaySide = getSide(this.options.position);\n }\n if (hasChanged(changes, ['referenceElement', 'options'], false)) {\n this.stopPositionUpdater();\n this.startPositionUpdater();\n }\n }\n\n public ngOnDestroy(): void {\n this.stopPositionUpdater();\n }\n\n protected onAnimationStart({ fromState }: AnimationEvent): void {\n if (!fromState) return;\n if (fromState === 'void') {\n this.renderer.setStyle(this.element.nativeElement, 'pointer-events', 'none', RendererStyleFlags2.Important);\n this.options.hooks?.beforeOpen?.();\n } else {\n this.options.hooks?.beforeClose?.();\n }\n }\n\n protected onAnimationDone({ fromState }: AnimationEvent): void {\n if (!fromState) return;\n if (fromState === 'void') {\n this.options.hooks?.afterOpen?.();\n this.renderer.removeStyle(this.element.nativeElement, 'pointer-events');\n } else {\n this.options.hooks?.afterClose?.();\n }\n }\n\n private startPositionUpdater(): void {\n this.positionUpdater = this.zone.runOutsideAngular(() =>\n autoUpdate(this.referenceElement, this.element.nativeElement, () =>\n computeOverlayPosition(\n this.referenceElement,\n this.element.nativeElement,\n this.contentElement.nativeElement,\n this.arrowElement.nativeElement,\n this.options\n ).then(({ placement }) => {\n this.overlaySide = getSide(placement);\n })\n )\n );\n }\n\n private stopPositionUpdater(): void {\n this.positionUpdater?.();\n this.positionUpdater = null;\n }\n}\n","<div\n [@contentAnimation]=\"overlaySide\"\n (@contentAnimation.start)=\"onAnimationStart($event)\"\n (@contentAnimation.done)=\"onAnimationDone($event)\"\n class=\"odx-cdk-connected-overlay__content {{ options.containerClass }}\"\n #content\n>\n <ng-template [odxDynamicView]=\"options.content\" [odxDynamicViewContext]=\"options.context\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n <div class=\"odx-cdk-connected-overlay-arrow\" #arrow></div>\n</div>\n","import { inject, Injectable } from '@angular/core';\nimport { VirtualElement } from '@floating-ui/dom';\nimport { DynamicViewRenderingOptions, DynamicViewService } from '@odx/angular/cdk/dynamic-view';\nimport { deepmerge } from 'deepmerge-ts';\nimport { ConnectedOverlayComponent } from './connected-overlay.component';\nimport { ConnectedOverlayOptions, ConnectedOverlayRef, DefaultConnectedOverlayOptions } from './models';\n\n@Injectable({ providedIn: 'root' })\nexport class ConnectedOverlayService {\n private readonly dynamicViewService = inject(DynamicViewService);\n\n public createOverlay(\n referenceElement: VirtualElement,\n options?: Partial<ConnectedOverlayOptions>,\n renderingOptions?: Partial<DynamicViewRenderingOptions>\n ): ConnectedOverlayRef {\n const dynamicViewRef = this.dynamicViewService.createView(ConnectedOverlayComponent, {\n ...renderingOptions,\n context: { options: deepmerge(DefaultConnectedOverlayOptions, options) as ConnectedOverlayOptions, referenceElement },\n });\n\n return new ConnectedOverlayRef(dynamicViewRef);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["offset","withOffset"],"mappings":";;;;;;;;;;;;;AAIM,SAAgB,sBAAsB,CAC1C,gBAAgC,EAChC,cAA2B,EAC3B,cAA2B,EAC3B,YAAyB,EACzB,OAAgC,EAAA;;AAEhC,QAAA,MAAM,EAAE,QAAQ,UAAEA,QAAM,EAAE,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,yBAAyB,EAAE,QAAQ,EAAE,SAAS,EAAE,GAA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