@odx/angular 12.26.1 → 13.0.0

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 (1526) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/animations/README.md +2 -0
  3. package/animations/index.d.ts +261 -5
  4. package/breakpoints/index.d.ts +216 -7
  5. package/cdk/a11y/index.d.ts +116 -2
  6. package/cdk/active-indicator/index.d.ts +104 -2
  7. package/cdk/autocomplete-control/index.d.ts +189 -3
  8. package/cdk/checkbox-control/index.d.ts +40 -1
  9. package/cdk/connected-overlay/index.d.ts +165 -3
  10. package/cdk/custom-form-control/index.d.ts +243 -3
  11. package/cdk/date-input/index.d.ts +86 -5
  12. package/cdk/dynamic-view/index.d.ts +335 -7
  13. package/cdk/event-plugins/index.d.ts +187 -3
  14. package/cdk/expandable/index.d.ts +169 -4
  15. package/cdk/option-control/index.d.ts +70 -1
  16. package/cdk/radio-group-control/index.d.ts +74 -3
  17. package/cdk/scrollable/index.d.ts +57 -1
  18. package/components/accordion/index.d.ts +91 -4
  19. package/components/action-group/index.d.ts +20 -1
  20. package/components/anchor-navigation/index.d.ts +104 -4
  21. package/components/area-header/index.d.ts +54 -4
  22. package/components/autocomplete/index.d.ts +109 -6
  23. package/components/avatar/index.d.ts +36 -2
  24. package/components/badge/index.d.ts +95 -3
  25. package/components/bar/index.d.ts +56 -5
  26. package/components/breadcrumbs/index.d.ts +12 -1
  27. package/components/button/index.d.ts +55 -3
  28. package/components/button-group/index.d.ts +44 -1
  29. package/components/calendar/index.d.ts +746 -9
  30. package/components/card/index.d.ts +118 -5
  31. package/components/checkbox/index.d.ts +93 -3
  32. package/components/chip/index.d.ts +78 -2
  33. package/components/circular-progress/index.d.ts +71 -2
  34. package/components/content-box/index.d.ts +33 -3
  35. package/components/data-table/index.d.ts +84 -4
  36. package/components/datepicker/index.d.ts +216 -6
  37. package/components/daterangepicker/index.d.ts +257 -6
  38. package/components/dropdown/index.d.ts +202 -5
  39. package/components/error-page/index.d.ts +56 -2
  40. package/components/footer/index.d.ts +80 -3
  41. package/components/form-field/index.d.ts +398 -7
  42. package/components/header/index.d.ts +44 -3
  43. package/components/header-navigation/index.d.ts +41 -3
  44. package/components/icon/index.d.ts +154 -4
  45. package/components/inline-message/index.d.ts +36 -2
  46. package/components/link/index.d.ts +13 -1
  47. package/components/list/index.d.ts +86 -4
  48. package/components/loading-spinner/index.d.ts +89 -3
  49. package/components/logo/index.d.ts +39 -2
  50. package/components/main-menu/index.d.ts +217 -4
  51. package/components/mainfilter-group/index.d.ts +13 -1
  52. package/components/menu/index.d.ts +94 -4
  53. package/components/modal/index.d.ts +549 -9
  54. package/components/navigation-back/index.d.ts +12 -1
  55. package/components/notification/index.d.ts +630 -7
  56. package/components/notification/testing/index.d.ts +9 -1
  57. package/components/paginator/index.d.ts +264 -5
  58. package/components/progress/index.d.ts +36 -1
  59. package/components/radio-group/index.d.ts +70 -3
  60. package/components/rail-navigation/index.d.ts +97 -4
  61. package/components/rich-list/index.d.ts +92 -3
  62. package/components/search-bar/index.d.ts +26 -3
  63. package/components/select/index.d.ts +263 -6
  64. package/components/slider/index.d.ts +37 -1
  65. package/components/spinbox/index.d.ts +54 -1
  66. package/components/switch/index.d.ts +44 -3
  67. package/components/tab-bar/index.d.ts +141 -4
  68. package/components/table/index.d.ts +239 -5
  69. package/components/timepicker/index.d.ts +324 -7
  70. package/components/toast/index.d.ts +267 -5
  71. package/components/toggle-button-group/index.d.ts +61 -3
  72. package/components/tooltip/index.d.ts +204 -7
  73. package/components/wizard/index.d.ts +159 -3
  74. package/fesm2022/odx-angular-animations.mjs +51 -0
  75. package/fesm2022/odx-angular-animations.mjs.map +1 -1
  76. package/fesm2022/odx-angular-breakpoints.mjs +10 -10
  77. package/fesm2022/odx-angular-breakpoints.mjs.map +1 -1
  78. package/fesm2022/odx-angular-cdk-a11y.mjs +13 -13
  79. package/fesm2022/odx-angular-cdk-a11y.mjs.map +1 -1
  80. package/fesm2022/odx-angular-cdk-active-indicator.mjs +6 -8
  81. package/fesm2022/odx-angular-cdk-active-indicator.mjs.map +1 -1
  82. package/fesm2022/odx-angular-cdk-autocomplete-control.mjs +12 -15
  83. package/fesm2022/odx-angular-cdk-autocomplete-control.mjs.map +1 -1
  84. package/fesm2022/odx-angular-cdk-checkbox-control.mjs +3 -3
  85. package/fesm2022/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  86. package/fesm2022/odx-angular-cdk-connected-overlay.mjs +6 -6
  87. package/fesm2022/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  88. package/fesm2022/odx-angular-cdk-custom-form-control.mjs +12 -14
  89. package/fesm2022/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  90. package/fesm2022/odx-angular-cdk-dynamic-view.mjs +10 -11
  91. package/fesm2022/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  92. package/fesm2022/odx-angular-cdk-event-plugins.mjs +6 -6
  93. package/fesm2022/odx-angular-cdk-expandable.mjs +10 -10
  94. package/fesm2022/odx-angular-cdk-expandable.mjs.map +1 -1
  95. package/fesm2022/odx-angular-cdk-option-control.mjs +3 -3
  96. package/fesm2022/odx-angular-cdk-option-control.mjs.map +1 -1
  97. package/fesm2022/odx-angular-cdk-radio-group-control.mjs +10 -10
  98. package/fesm2022/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  99. package/fesm2022/odx-angular-cdk-scrollable.mjs +6 -6
  100. package/fesm2022/odx-angular-cdk-scrollable.mjs.map +1 -1
  101. package/fesm2022/odx-angular-components-accordion.mjs +17 -17
  102. package/fesm2022/odx-angular-components-accordion.mjs.map +1 -1
  103. package/fesm2022/odx-angular-components-action-group.mjs +5 -6
  104. package/fesm2022/odx-angular-components-action-group.mjs.map +1 -1
  105. package/fesm2022/odx-angular-components-anchor-navigation.mjs +33 -34
  106. package/fesm2022/odx-angular-components-anchor-navigation.mjs.map +1 -1
  107. package/fesm2022/odx-angular-components-area-header.mjs +16 -19
  108. package/fesm2022/odx-angular-components-area-header.mjs.map +1 -1
  109. package/fesm2022/odx-angular-components-autocomplete.mjs +19 -22
  110. package/fesm2022/odx-angular-components-autocomplete.mjs.map +1 -1
  111. package/fesm2022/odx-angular-components-avatar.mjs +6 -8
  112. package/fesm2022/odx-angular-components-avatar.mjs.map +1 -1
  113. package/fesm2022/odx-angular-components-badge.mjs +9 -11
  114. package/fesm2022/odx-angular-components-badge.mjs.map +1 -1
  115. package/fesm2022/odx-angular-components-bar.mjs +15 -16
  116. package/fesm2022/odx-angular-components-bar.mjs.map +1 -1
  117. package/fesm2022/odx-angular-components-breadcrumbs.mjs +3 -3
  118. package/fesm2022/odx-angular-components-button-group.mjs +8 -12
  119. package/fesm2022/odx-angular-components-button-group.mjs.map +1 -1
  120. package/fesm2022/odx-angular-components-button.mjs +9 -11
  121. package/fesm2022/odx-angular-components-button.mjs.map +1 -1
  122. package/fesm2022/odx-angular-components-calendar.mjs +53 -63
  123. package/fesm2022/odx-angular-components-calendar.mjs.map +1 -1
  124. package/fesm2022/odx-angular-components-card.mjs +33 -36
  125. package/fesm2022/odx-angular-components-card.mjs.map +1 -1
  126. package/fesm2022/odx-angular-components-checkbox.mjs +14 -16
  127. package/fesm2022/odx-angular-components-checkbox.mjs.map +1 -1
  128. package/fesm2022/odx-angular-components-chip.mjs +13 -15
  129. package/fesm2022/odx-angular-components-chip.mjs.map +1 -1
  130. package/fesm2022/odx-angular-components-circular-progress.mjs +6 -8
  131. package/fesm2022/odx-angular-components-circular-progress.mjs.map +1 -1
  132. package/fesm2022/odx-angular-components-content-box.mjs +13 -13
  133. package/fesm2022/odx-angular-components-data-table.mjs +33 -47
  134. package/fesm2022/odx-angular-components-data-table.mjs.map +1 -1
  135. package/fesm2022/odx-angular-components-datepicker.mjs +26 -28
  136. package/fesm2022/odx-angular-components-datepicker.mjs.map +1 -1
  137. package/fesm2022/odx-angular-components-daterangepicker.mjs +22 -24
  138. package/fesm2022/odx-angular-components-daterangepicker.mjs.map +1 -1
  139. package/fesm2022/odx-angular-components-dropdown.mjs +10 -10
  140. package/fesm2022/odx-angular-components-dropdown.mjs.map +1 -1
  141. package/fesm2022/odx-angular-components-error-page.mjs +3 -3
  142. package/fesm2022/odx-angular-components-error-page.mjs.map +1 -1
  143. package/fesm2022/odx-angular-components-footer.mjs +5 -6
  144. package/fesm2022/odx-angular-components-footer.mjs.map +1 -1
  145. package/fesm2022/odx-angular-components-form-field.mjs +44 -44
  146. package/fesm2022/odx-angular-components-form-field.mjs.map +1 -1
  147. package/fesm2022/odx-angular-components-header-navigation.mjs +15 -16
  148. package/fesm2022/odx-angular-components-header-navigation.mjs.map +1 -1
  149. package/fesm2022/odx-angular-components-header.mjs +13 -13
  150. package/fesm2022/odx-angular-components-icon.mjs +98 -86
  151. package/fesm2022/odx-angular-components-icon.mjs.map +1 -1
  152. package/fesm2022/odx-angular-components-inline-message.mjs +10 -11
  153. package/fesm2022/odx-angular-components-inline-message.mjs.map +1 -1
  154. package/fesm2022/odx-angular-components-link.mjs +3 -3
  155. package/fesm2022/odx-angular-components-list.mjs +19 -35
  156. package/fesm2022/odx-angular-components-list.mjs.map +1 -1
  157. package/fesm2022/odx-angular-components-loading-spinner.mjs +12 -17
  158. package/fesm2022/odx-angular-components-loading-spinner.mjs.map +1 -1
  159. package/fesm2022/odx-angular-components-logo.mjs +6 -8
  160. package/fesm2022/odx-angular-components-logo.mjs.map +1 -1
  161. package/fesm2022/odx-angular-components-main-menu.mjs +20 -20
  162. package/fesm2022/odx-angular-components-main-menu.mjs.map +1 -1
  163. package/fesm2022/odx-angular-components-mainfilter-group.mjs +3 -3
  164. package/fesm2022/odx-angular-components-menu.mjs +16 -18
  165. package/fesm2022/odx-angular-components-menu.mjs.map +1 -1
  166. package/fesm2022/odx-angular-components-modal.mjs +70 -80
  167. package/fesm2022/odx-angular-components-modal.mjs.map +1 -1
  168. package/fesm2022/odx-angular-components-navigation-back.mjs +4 -4
  169. package/fesm2022/odx-angular-components-navigation-back.mjs.map +1 -1
  170. package/fesm2022/odx-angular-components-notification-testing.mjs +3 -2
  171. package/fesm2022/odx-angular-components-notification-testing.mjs.map +1 -1
  172. package/fesm2022/odx-angular-components-notification.mjs +24 -24
  173. package/fesm2022/odx-angular-components-notification.mjs.map +1 -1
  174. package/fesm2022/odx-angular-components-paginator.mjs +8 -8
  175. package/fesm2022/odx-angular-components-paginator.mjs.map +1 -1
  176. package/fesm2022/odx-angular-components-progress.mjs +5 -6
  177. package/fesm2022/odx-angular-components-progress.mjs.map +1 -1
  178. package/fesm2022/odx-angular-components-radio-group.mjs +13 -15
  179. package/fesm2022/odx-angular-components-radio-group.mjs.map +1 -1
  180. package/fesm2022/odx-angular-components-rail-navigation.mjs +16 -26
  181. package/fesm2022/odx-angular-components-rail-navigation.mjs.map +1 -1
  182. package/fesm2022/odx-angular-components-rich-list.mjs +20 -21
  183. package/fesm2022/odx-angular-components-rich-list.mjs.map +1 -1
  184. package/fesm2022/odx-angular-components-search-bar.mjs +11 -11
  185. package/fesm2022/odx-angular-components-search-bar.mjs.map +1 -1
  186. package/fesm2022/odx-angular-components-select.mjs +32 -34
  187. package/fesm2022/odx-angular-components-select.mjs.map +1 -1
  188. package/fesm2022/odx-angular-components-slider.mjs +3 -3
  189. package/fesm2022/odx-angular-components-slider.mjs.map +1 -1
  190. package/fesm2022/odx-angular-components-spinbox.mjs +6 -7
  191. package/fesm2022/odx-angular-components-spinbox.mjs.map +1 -1
  192. package/fesm2022/odx-angular-components-switch.mjs +11 -11
  193. package/fesm2022/odx-angular-components-switch.mjs.map +1 -1
  194. package/fesm2022/odx-angular-components-tab-bar.mjs +24 -26
  195. package/fesm2022/odx-angular-components-tab-bar.mjs.map +1 -1
  196. package/fesm2022/odx-angular-components-table.mjs +31 -48
  197. package/fesm2022/odx-angular-components-table.mjs.map +1 -1
  198. package/fesm2022/odx-angular-components-timepicker.mjs +24 -33
  199. package/fesm2022/odx-angular-components-timepicker.mjs.map +1 -1
  200. package/fesm2022/odx-angular-components-toast.mjs +21 -52
  201. package/fesm2022/odx-angular-components-toast.mjs.map +1 -1
  202. package/fesm2022/odx-angular-components-toggle-button-group.mjs +11 -11
  203. package/fesm2022/odx-angular-components-toggle-button-group.mjs.map +1 -1
  204. package/fesm2022/odx-angular-components-tooltip.mjs +13 -16
  205. package/fesm2022/odx-angular-components-tooltip.mjs.map +1 -1
  206. package/fesm2022/odx-angular-components-wizard.mjs +20 -27
  207. package/fesm2022/odx-angular-components-wizard.mjs.map +1 -1
  208. package/fesm2022/odx-angular-internal-translate.mjs +3 -3
  209. package/fesm2022/odx-angular-localization.mjs +3 -3
  210. package/fesm2022/odx-angular-theming.mjs +4 -5
  211. package/fesm2022/odx-angular-theming.mjs.map +1 -1
  212. package/fesm2022/odx-angular-utils.mjs +4 -26
  213. package/fesm2022/odx-angular-utils.mjs.map +1 -1
  214. package/fesm2022/odx-angular.mjs +36 -35
  215. package/fesm2022/odx-angular.mjs.map +1 -1
  216. package/index.d.ts +546 -6
  217. package/internal/index.d.ts +79 -3
  218. package/internal/translate/index.d.ts +88 -4
  219. package/localization/index.d.ts +343 -5
  220. package/package.json +40 -198
  221. package/rxjs/index.d.ts +125 -5
  222. package/sdk/index.d.ts +74 -1
  223. package/theming/index.d.ts +213 -4
  224. package/utils/index.d.ts +1020 -3
  225. package/animations/lib/config.d.ts +0 -7
  226. package/animations/lib/expand.d.ts +0 -46
  227. package/animations/lib/fade.d.ts +0 -76
  228. package/animations/lib/slide.d.ts +0 -34
  229. package/animations/lib/wait-for-child-animations.d.ts +0 -39
  230. package/breakpoints/lib/breakpoints.config.d.ts +0 -59
  231. package/breakpoints/lib/breakpoints.module.d.ts +0 -7
  232. package/breakpoints/lib/breakpoints.service.d.ts +0 -56
  233. package/breakpoints/lib/breakpoints.typings.d.ts +0 -8
  234. package/breakpoints/lib/directives/index.d.ts +0 -1
  235. package/breakpoints/lib/directives/match-breakpoints.directive.d.ts +0 -52
  236. package/breakpoints/lib/helpers/configure-breakpoint.d.ts +0 -23
  237. package/breakpoints/lib/helpers/index.d.ts +0 -1
  238. package/breakpoints/lib/models/breakpoint.d.ts +0 -5
  239. package/breakpoints/lib/models/index.d.ts +0 -1
  240. package/cdk/a11y/lib/a11y.module.d.ts +0 -11
  241. package/cdk/a11y/lib/directives/index.d.ts +0 -3
  242. package/cdk/a11y/lib/directives/interactive.directive.d.ts +0 -43
  243. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +0 -34
  244. package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +0 -31
  245. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +0 -90
  246. package/cdk/active-indicator/lib/models/active-indicator-direction.d.ts +0 -5
  247. package/cdk/active-indicator/lib/models/active-indicator-position.d.ts +0 -6
  248. package/cdk/active-indicator/lib/models/index.d.ts +0 -2
  249. package/cdk/autocomplete-control/lib/autocomplete-control.d.ts +0 -144
  250. package/cdk/autocomplete-control/lib/directives/highlight-search-result.directive.d.ts +0 -19
  251. package/cdk/autocomplete-control/lib/directives/index.d.ts +0 -1
  252. package/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.d.ts +0 -24
  253. package/cdk/autocomplete-control/lib/pipes/index.d.ts +0 -1
  254. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +0 -37
  255. package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +0 -26
  256. package/cdk/connected-overlay/lib/connected-overlay.service.d.ts +0 -54
  257. package/cdk/connected-overlay/lib/helpers/compute-overlay-position.d.ts +0 -13
  258. package/cdk/connected-overlay/lib/helpers/index.d.ts +0 -1
  259. package/cdk/connected-overlay/lib/models/connected-overlay-options.d.ts +0 -27
  260. package/cdk/connected-overlay/lib/models/connected-overlay-ref.d.ts +0 -62
  261. package/cdk/connected-overlay/lib/models/index.d.ts +0 -2
  262. package/cdk/custom-form-control/lib/control.directive.d.ts +0 -6
  263. package/cdk/custom-form-control/lib/custom-form-control.d.ts +0 -146
  264. package/cdk/custom-form-control/lib/input-control.directive.d.ts +0 -88
  265. package/cdk/date-input/lib/date.config.d.ts +0 -48
  266. package/cdk/date-input/lib/models/input-date-order.d.ts +0 -17
  267. package/cdk/date-input/lib/utils/get-date-input-pattern.d.ts +0 -5
  268. package/cdk/date-input/lib/utils/get-input-value-as-date.d.ts +0 -3
  269. package/cdk/date-input/lib/utils/ngx-mask-init.d.ts +0 -3
  270. package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +0 -12
  271. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +0 -55
  272. package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +0 -40
  273. package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +0 -8
  274. package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +0 -10
  275. package/cdk/dynamic-view/lib/facade/index.d.ts +0 -2
  276. package/cdk/dynamic-view/lib/helpers/create-projectable-nodes.d.ts +0 -24
  277. package/cdk/dynamic-view/lib/helpers/index.d.ts +0 -3
  278. package/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.d.ts +0 -24
  279. package/cdk/dynamic-view/lib/helpers/is-dynamic-view.d.ts +0 -24
  280. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +0 -59
  281. package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +0 -55
  282. package/cdk/dynamic-view/lib/models/dynamic-view-options.d.ts +0 -11
  283. package/cdk/dynamic-view/lib/models/index.d.ts +0 -3
  284. package/cdk/dynamic-view/lib/tokens/dynamic-view-context.d.ts +0 -9
  285. package/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.d.ts +0 -13
  286. package/cdk/dynamic-view/lib/tokens/index.d.ts +0 -2
  287. package/cdk/event-plugins/lib/event-plugins.config.d.ts +0 -38
  288. package/cdk/event-plugins/lib/models/event-plugin.d.ts +0 -73
  289. package/cdk/event-plugins/lib/models/index.d.ts +0 -1
  290. package/cdk/event-plugins/lib/plugins/debounce-event-plugin.d.ts +0 -42
  291. package/cdk/event-plugins/lib/plugins/defer-event-plugin.d.ts +0 -33
  292. package/cdk/event-plugins/lib/plugins/index.d.ts +0 -2
  293. package/cdk/expandable/lib/directives/expandable-container.directive.d.ts +0 -65
  294. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +0 -73
  295. package/cdk/expandable/lib/directives/index.d.ts +0 -2
  296. package/cdk/expandable/lib/expandable.module.d.ts +0 -8
  297. package/cdk/expandable/lib/expandable.tokens.d.ts +0 -4
  298. package/cdk/expandable/lib/facade/expandable-container.d.ts +0 -10
  299. package/cdk/expandable/lib/facade/expandable-item.d.ts +0 -10
  300. package/cdk/expandable/lib/facade/index.d.ts +0 -2
  301. package/cdk/option-control/lib/option-control.d.ts +0 -66
  302. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +0 -39
  303. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +0 -24
  304. package/cdk/radio-group-control/lib/radio-group-control.module.d.ts +0 -9
  305. package/cdk/scrollable/lib/scrollable.service.d.ts +0 -53
  306. package/components/accordion/lib/accordion.component.d.ts +0 -15
  307. package/components/accordion/lib/accordion.module.d.ts +0 -10
  308. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +0 -59
  309. package/components/accordion/lib/components/index.d.ts +0 -1
  310. package/components/accordion/lib/directives/accordion-item-title.d.ts +0 -8
  311. package/components/accordion/lib/directives/index.d.ts +0 -1
  312. package/components/action-group/action-group.component.d.ts +0 -17
  313. package/components/anchor-navigation/anchor-navigation.component.d.ts +0 -37
  314. package/components/anchor-navigation/anchor-navigation.module.d.ts +0 -8
  315. package/components/anchor-navigation/anchor-navigation.service.d.ts +0 -50
  316. package/components/anchor-navigation/components/anchor-navigation-item.component.d.ts +0 -10
  317. package/components/anchor-navigation/components/index.d.ts +0 -1
  318. package/components/area-header/area-header.component.d.ts +0 -17
  319. package/components/area-header/area-header.module.d.ts +0 -14
  320. package/components/area-header/directives/area-header-content.directive.d.ts +0 -8
  321. package/components/area-header/directives/area-header-subtitle.directive.d.ts +0 -8
  322. package/components/area-header/directives/index.d.ts +0 -2
  323. package/components/area-header/models/area-header-size.d.ts +0 -7
  324. package/components/area-header/models/index.d.ts +0 -1
  325. package/components/autocomplete/lib/autocomplete.component.d.ts +0 -66
  326. package/components/autocomplete/lib/autocomplete.module.d.ts +0 -11
  327. package/components/autocomplete/lib/autocomplete.tokens.d.ts +0 -3
  328. package/components/autocomplete/lib/components/index.d.ts +0 -1
  329. package/components/autocomplete/lib/components/option/autocomplete-option.component.d.ts +0 -17
  330. package/components/autocomplete/lib/directives/autocomplete-input-control.directive.d.ts +0 -13
  331. package/components/autocomplete/lib/directives/index.d.ts +0 -1
  332. package/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.d.ts +0 -7
  333. package/components/autocomplete/lib/pipes/index.d.ts +0 -1
  334. package/components/avatar/lib/avatar.component.d.ts +0 -21
  335. package/components/avatar/lib/models/avatar-size.d.ts +0 -6
  336. package/components/avatar/lib/models/avatar-variant.d.ts +0 -5
  337. package/components/avatar/lib/models/index.d.ts +0 -2
  338. package/components/badge/lib/badge.component.d.ts +0 -33
  339. package/components/badge/lib/badge.directive.d.ts +0 -56
  340. package/components/badge/lib/models/badge-variant.d.ts +0 -6
  341. package/components/badge/lib/models/index.d.ts +0 -1
  342. package/components/bar/lib/bar.component.d.ts +0 -13
  343. package/components/bar/lib/bar.module.d.ts +0 -10
  344. package/components/bar/lib/directives/bar-button.directive.d.ts +0 -20
  345. package/components/bar/lib/directives/bar-label.directive.d.ts +0 -9
  346. package/components/bar/lib/models/bar-button-variant.d.ts +0 -5
  347. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +0 -9
  348. package/components/button/lib/button.component.d.ts +0 -29
  349. package/components/button/lib/directives/index.d.ts +0 -1
  350. package/components/button/lib/directives/responsive-button.directive.d.ts +0 -6
  351. package/components/button/lib/models/button-size.d.ts +0 -6
  352. package/components/button/lib/models/button-variant.d.ts +0 -10
  353. package/components/button/lib/models/index.d.ts +0 -2
  354. package/components/button-group/lib/button-group.component.d.ts +0 -41
  355. package/components/calendar/lib/calendar.component.d.ts +0 -90
  356. package/components/calendar/lib/calendar.config.d.ts +0 -117
  357. package/components/calendar/lib/calendar.service.d.ts +0 -81
  358. package/components/calendar/lib/components/calendar-header/calendar-header.component.d.ts +0 -61
  359. package/components/calendar/lib/components/calendar-header/index.d.ts +0 -1
  360. package/components/calendar/lib/components/calendar-month/calendar-month.component.d.ts +0 -24
  361. package/components/calendar/lib/components/calendar-month/index.d.ts +0 -1
  362. package/components/calendar/lib/components/calendar-year/calendar-year.component.d.ts +0 -24
  363. package/components/calendar/lib/components/calendar-year/index.d.ts +0 -1
  364. package/components/calendar/lib/components/calendar-years/calendar-years.component.d.ts +0 -26
  365. package/components/calendar/lib/components/calendar-years/index.d.ts +0 -1
  366. package/components/calendar/lib/components/index.d.ts +0 -4
  367. package/components/calendar/lib/daterange.service.d.ts +0 -33
  368. package/components/calendar/lib/directives/calendar-cell.directive.d.ts +0 -90
  369. package/components/calendar/lib/directives/calendar-view.directive.d.ts +0 -92
  370. package/components/calendar/lib/directives/index.d.ts +0 -2
  371. package/components/calendar/lib/models/calendar-view.d.ts +0 -5
  372. package/components/calendar/lib/models/date-filter.d.ts +0 -1
  373. package/components/calendar/lib/models/date-range.d.ts +0 -18
  374. package/components/calendar/lib/models/date-type.d.ts +0 -1
  375. package/components/calendar/lib/models/date-validator.d.ts +0 -1
  376. package/components/calendar/lib/models/index.d.ts +0 -7
  377. package/components/calendar/lib/models/selected-date.d.ts +0 -9
  378. package/components/calendar/lib/models/selection-mode.d.ts +0 -4
  379. package/components/calendar/lib/pipes/date-label.pipe.d.ts +0 -22
  380. package/components/calendar/lib/pipes/index.d.ts +0 -1
  381. package/components/calendar/lib/services/calendar-month.service.d.ts +0 -13
  382. package/components/calendar/lib/services/calendar-year.service.d.ts +0 -10
  383. package/components/calendar/lib/services/calendar-years.service.d.ts +0 -9
  384. package/components/calendar/lib/services/index.d.ts +0 -3
  385. package/components/calendar/lib/utils/check-cell-in-range.d.ts +0 -8
  386. package/components/calendar/lib/utils/check-identical-date.d.ts +0 -3
  387. package/components/calendar/lib/utils/get-A11y-label.d.ts +0 -3
  388. package/components/calendar/lib/utils/index.d.ts +0 -9
  389. package/components/calendar/lib/utils/is-date-disabled.d.ts +0 -3
  390. package/components/calendar/lib/utils/parse-date.d.ts +0 -3
  391. package/components/calendar/lib/utils/validate-daterange.d.ts +0 -2
  392. package/components/calendar/lib/utils/validate-max-date.d.ts +0 -3
  393. package/components/calendar/lib/utils/validate-min-date.d.ts +0 -3
  394. package/components/calendar/lib/utils/validate-next-date-set.d.ts +0 -3
  395. package/components/calendar/lib/utils/validate-previous-date-set.d.ts +0 -3
  396. package/components/card/lib/card.component.d.ts +0 -54
  397. package/components/card/lib/card.config.d.ts +0 -49
  398. package/components/card/lib/card.module.d.ts +0 -12
  399. package/components/card/lib/components/card-footer/card-footer.component.d.ts +0 -8
  400. package/components/card/lib/components/card-image/card-image.component.d.ts +0 -25
  401. package/components/card/lib/components/index.d.ts +0 -3
  402. package/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.d.ts +0 -8
  403. package/components/card/lib/directives/card-content.directive.d.ts +0 -8
  404. package/components/card/lib/directives/index.d.ts +0 -1
  405. package/components/card/lib/models/card-variant.d.ts +0 -7
  406. package/components/card/lib/models/index.d.ts +0 -1
  407. package/components/checkbox/lib/checkbox.component.d.ts +0 -55
  408. package/components/checkbox/lib/checkbox.module.d.ts +0 -9
  409. package/components/checkbox/lib/checkbox.validator.d.ts +0 -29
  410. package/components/chip/lib/components/chip/chip.component.d.ts +0 -42
  411. package/components/chip/lib/components/chip-list/chip-list.component.d.ts +0 -9
  412. package/components/chip/lib/components/chip-list-row/chip-list-row.component.d.ts +0 -9
  413. package/components/chip/lib/components/index.d.ts +0 -3
  414. package/components/chip/lib/models/chip-size.d.ts +0 -5
  415. package/components/chip/lib/models/chip-variant.d.ts +0 -9
  416. package/components/chip/lib/models/index.d.ts +0 -2
  417. package/components/circular-progress/lib/circular-progress.component.d.ts +0 -61
  418. package/components/circular-progress/lib/models/circular-progress-size.d.ts +0 -7
  419. package/components/circular-progress/lib/models/index.d.ts +0 -1
  420. package/components/content-box/lib/content-box.component.d.ts +0 -8
  421. package/components/content-box/lib/content-box.module.d.ts +0 -9
  422. package/components/content-box/lib/directives/content-box-footer.directive.d.ts +0 -8
  423. package/components/content-box/lib/directives/content-box-header.directive.d.ts +0 -8
  424. package/components/content-box/lib/directives/index.d.ts +0 -2
  425. package/components/data-table/lib/data-table.component.d.ts +0 -32
  426. package/components/data-table/lib/data-table.module.d.ts +0 -14
  427. package/components/data-table/lib/directives/cell-def.directive.d.ts +0 -7
  428. package/components/data-table/lib/directives/cell.directive.d.ts +0 -5
  429. package/components/data-table/lib/directives/column-def.directive.d.ts +0 -11
  430. package/components/data-table/lib/directives/header-cell-def.directive.d.ts +0 -7
  431. package/components/data-table/lib/directives/header-cell.directive.d.ts +0 -5
  432. package/components/data-table/lib/directives/index.d.ts +0 -6
  433. package/components/data-table/lib/directives/table-empty.directive.d.ts +0 -5
  434. package/components/data-table/lib/models/index.d.ts +0 -15
  435. package/components/data-table/lib/models/table-variant.d.ts +0 -5
  436. package/components/datepicker/lib/datepicker.component.d.ts +0 -132
  437. package/components/datepicker/lib/datepicker.config.d.ts +0 -1
  438. package/components/datepicker/lib/datepicker.module.d.ts +0 -11
  439. package/components/datepicker/lib/directives/datepicker-input-control.directive.d.ts +0 -49
  440. package/components/datepicker/lib/directives/index.d.ts +0 -1
  441. package/components/datepicker/lib/validators/filter.validator.d.ts +0 -15
  442. package/components/datepicker/lib/validators/minmax.validator.d.ts +0 -15
  443. package/components/daterangepicker/lib/daterangepicker.component.d.ts +0 -159
  444. package/components/daterangepicker/lib/daterangepicker.config.d.ts +0 -1
  445. package/components/daterangepicker/lib/daterangepicker.module.d.ts +0 -11
  446. package/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.d.ts +0 -45
  447. package/components/daterangepicker/lib/directives/index.d.ts +0 -1
  448. package/components/daterangepicker/lib/range.validator.d.ts +0 -25
  449. package/components/daterangepicker/lib/required.validator.d.ts +0 -24
  450. package/components/dropdown/lib/dropdown.component.d.ts +0 -33
  451. package/components/dropdown/lib/dropdown.directive.d.ts +0 -145
  452. package/components/dropdown/lib/dropdown.module.d.ts +0 -8
  453. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +0 -7
  454. package/components/dropdown/lib/helpers/index.d.ts +0 -1
  455. package/components/dropdown/lib/models/close-dropdown-event.d.ts +0 -4
  456. package/components/dropdown/lib/models/dropdown-options.d.ts +0 -3
  457. package/components/dropdown/lib/models/index.d.ts +0 -2
  458. package/components/error-page/lib/error-page.component.d.ts +0 -16
  459. package/components/error-page/lib/error-page.config.d.ts +0 -34
  460. package/components/footer/lib/footer.component.d.ts +0 -28
  461. package/components/footer/lib/footer.config.d.ts +0 -32
  462. package/components/footer/lib/footer.i18n.d.ts +0 -3
  463. package/components/footer/lib/helpers/create-footer-links.d.ts +0 -11
  464. package/components/footer/lib/helpers/index.d.ts +0 -1
  465. package/components/footer/lib/models/footer-link.d.ts +0 -4
  466. package/components/footer/lib/models/footer-variant.d.ts +0 -5
  467. package/components/footer/lib/models/index.d.ts +0 -2
  468. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +0 -23
  469. package/components/form-field/lib/components/form-group/form-group.component.d.ts +0 -34
  470. package/components/form-field/lib/components/index.d.ts +0 -2
  471. package/components/form-field/lib/directives/form-field-control.directive.d.ts +0 -25
  472. package/components/form-field/lib/directives/form-field-error.directive.d.ts +0 -18
  473. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +0 -11
  474. package/components/form-field/lib/directives/form-field-label.directive.d.ts +0 -9
  475. package/components/form-field/lib/directives/form.directive.d.ts +0 -25
  476. package/components/form-field/lib/directives/index.d.ts +0 -5
  477. package/components/form-field/lib/form-field.component.d.ts +0 -61
  478. package/components/form-field/lib/form-field.config.d.ts +0 -16
  479. package/components/form-field/lib/form-field.module.d.ts +0 -14
  480. package/components/form-field/lib/form-field.service.d.ts +0 -92
  481. package/components/form-field/lib/models/form-field-error-resolver.d.ts +0 -27
  482. package/components/form-field/lib/models/form-field-error.d.ts +0 -8
  483. package/components/form-field/lib/models/form-field-variant.d.ts +0 -6
  484. package/components/form-field/lib/models/index.d.ts +0 -3
  485. package/components/form-field/lib/services/form-field-error.service.d.ts +0 -51
  486. package/components/form-field/lib/services/index.d.ts +0 -1
  487. package/components/header/lib/directives/header-avatar.directive.d.ts +0 -12
  488. package/components/header/lib/directives/header-title.directive.d.ts +0 -8
  489. package/components/header/lib/directives/index.d.ts +0 -2
  490. package/components/header/lib/header.component.d.ts +0 -9
  491. package/components/header/lib/header.module.d.ts +0 -15
  492. package/components/header-navigation/lib/directives/header-navigation-link.directive.d.ts +0 -14
  493. package/components/header-navigation/lib/directives/index.d.ts +0 -1
  494. package/components/header-navigation/lib/header-navigation.component.d.ts +0 -17
  495. package/components/header-navigation/lib/header-navigation.module.d.ts +0 -9
  496. package/components/icon/lib/helpers/index.d.ts +0 -1
  497. package/components/icon/lib/helpers/unpack-icon-identifier.d.ts +0 -29
  498. package/components/icon/lib/icon.component.d.ts +0 -50
  499. package/components/icon/lib/icon.config.d.ts +0 -31
  500. package/components/icon/lib/models/icon-set.d.ts +0 -7
  501. package/components/icon/lib/models/icon-size.d.ts +0 -8
  502. package/components/icon/lib/models/index.d.ts +0 -2
  503. package/components/inline-message/lib/inline-message.component.d.ts +0 -26
  504. package/components/inline-message/lib/models/index.d.ts +0 -1
  505. package/components/inline-message/lib/models/inline-message-variant.d.ts +0 -7
  506. package/components/link/link.directive.d.ts +0 -10
  507. package/components/list/lib/components/expandable-list-item/expandable-list-item.component.d.ts +0 -18
  508. package/components/list/lib/components/index.d.ts +0 -2
  509. package/components/list/lib/components/list-item/list-item.component.d.ts +0 -47
  510. package/components/list/lib/list.component.d.ts +0 -13
  511. package/components/list/lib/list.module.d.ts +0 -10
  512. package/components/list/lib/models/index.d.ts +0 -1
  513. package/components/list/lib/models/list-item-variant.d.ts +0 -6
  514. package/components/loading-spinner/lib/loading-spinner.component.d.ts +0 -26
  515. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +0 -53
  516. package/components/loading-spinner/lib/loading-spinner.module.d.ts +0 -9
  517. package/components/logo/logo.directive.d.ts +0 -24
  518. package/components/logo/models/index.d.ts +0 -2
  519. package/components/logo/models/logo-size.d.ts +0 -6
  520. package/components/logo/models/logo-variant.d.ts +0 -5
  521. package/components/main-menu/lib/directives/index.d.ts +0 -3
  522. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +0 -12
  523. package/components/main-menu/lib/directives/main-menu-close.directive.d.ts +0 -10
  524. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +0 -28
  525. package/components/main-menu/lib/helpers/create-main-menu-links.d.ts +0 -4
  526. package/components/main-menu/lib/helpers/index.d.ts +0 -1
  527. package/components/main-menu/lib/main-menu.component.d.ts +0 -67
  528. package/components/main-menu/lib/main-menu.config.d.ts +0 -43
  529. package/components/main-menu/lib/main-menu.i18n.d.ts +0 -3
  530. package/components/main-menu/lib/main-menu.module.d.ts +0 -12
  531. package/components/main-menu/lib/main-menu.service.d.ts +0 -39
  532. package/components/main-menu/lib/models/index.d.ts +0 -1
  533. package/components/main-menu/lib/models/main-menu-link.d.ts +0 -4
  534. package/components/mainfilter-group/lib/mainfilter-group.component.d.ts +0 -10
  535. package/components/menu/lib/directives/index.d.ts +0 -1
  536. package/components/menu/lib/directives/menu-item.directive.d.ts +0 -14
  537. package/components/menu/lib/menu.component.d.ts +0 -22
  538. package/components/menu/lib/menu.directive.d.ts +0 -48
  539. package/components/menu/lib/menu.module.d.ts +0 -11
  540. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +0 -24
  541. package/components/modal/lib/components/index.d.ts +0 -4
  542. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +0 -9
  543. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +0 -20
  544. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +0 -37
  545. package/components/modal/lib/directives/index.d.ts +0 -5
  546. package/components/modal/lib/directives/modal-close.directive.d.ts +0 -32
  547. package/components/modal/lib/directives/modal-content.directive.d.ts +0 -9
  548. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +0 -24
  549. package/components/modal/lib/directives/prevent-form-method-dialog.directive.d.ts +0 -9
  550. package/components/modal/lib/directives/prevent-method-dialog.directive.d.ts +0 -9
  551. package/components/modal/lib/helpers/index.d.ts +0 -2
  552. package/components/modal/lib/helpers/inject-modal-ref.d.ts +0 -23
  553. package/components/modal/lib/helpers/provide-modal-ref.d.ts +0 -12
  554. package/components/modal/lib/modal.component.d.ts +0 -48
  555. package/components/modal/lib/modal.config.d.ts +0 -36
  556. package/components/modal/lib/modal.directive.d.ts +0 -47
  557. package/components/modal/lib/modal.module.d.ts +0 -20
  558. package/components/modal/lib/modal.service.d.ts +0 -79
  559. package/components/modal/lib/models/basic-modal-options.d.ts +0 -17
  560. package/components/modal/lib/models/index.d.ts +0 -7
  561. package/components/modal/lib/models/modal-hero-variant.d.ts +0 -7
  562. package/components/modal/lib/models/modal-options.d.ts +0 -18
  563. package/components/modal/lib/models/modal-ref.d.ts +0 -68
  564. package/components/modal/lib/models/modal-size.d.ts +0 -7
  565. package/components/modal/lib/models/modal-type.d.ts +0 -8
  566. package/components/modal/lib/models/modal-variant.d.ts +0 -5
  567. package/components/navigation-back/lib/navigation-back.component.d.ts +0 -9
  568. package/components/notification/lib/components/index.d.ts +0 -2
  569. package/components/notification/lib/components/notification-center/notification-center.component.d.ts +0 -15
  570. package/components/notification/lib/components/notification-item/notification-item.component.d.ts +0 -37
  571. package/components/notification/lib/directives/index.d.ts +0 -1
  572. package/components/notification/lib/directives/notification-center.directive.d.ts +0 -86
  573. package/components/notification/lib/features/index.d.ts +0 -5
  574. package/components/notification/lib/features/with-browser-notifications.d.ts +0 -17
  575. package/components/notification/lib/features/with-load-notifications.d.ts +0 -19
  576. package/components/notification/lib/features/with-notification-transformer.d.ts +0 -26
  577. package/components/notification/lib/features/with-peristent-notifications.d.ts +0 -61
  578. package/components/notification/lib/features/with-save-notifications.d.ts +0 -11
  579. package/components/notification/lib/helpers/get-notifications-by-tag.d.ts +0 -3
  580. package/components/notification/lib/helpers/index.d.ts +0 -3
  581. package/components/notification/lib/helpers/sort-notifications.d.ts +0 -4
  582. package/components/notification/lib/helpers/to-notification-collection.d.ts +0 -4
  583. package/components/notification/lib/models/index.d.ts +0 -8
  584. package/components/notification/lib/models/notification-action.d.ts +0 -2
  585. package/components/notification/lib/models/notification-collection.d.ts +0 -6
  586. package/components/notification/lib/models/notification-feature.d.ts +0 -20
  587. package/components/notification/lib/models/notification-options.d.ts +0 -7
  588. package/components/notification/lib/models/notification-query.d.ts +0 -2
  589. package/components/notification/lib/models/notification-sort-fn.d.ts +0 -2
  590. package/components/notification/lib/models/notification.d.ts +0 -6
  591. package/components/notification/lib/models/notification.ref.d.ts +0 -9
  592. package/components/notification/lib/notification.config.d.ts +0 -65
  593. package/components/notification/lib/notification.i18n.d.ts +0 -3
  594. package/components/notification/lib/notification.logger.d.ts +0 -4
  595. package/components/notification/lib/notification.service.d.ts +0 -165
  596. package/components/notification/lib/notification.tokens.d.ts +0 -7
  597. package/components/notification/lib/services/index.d.ts +0 -1
  598. package/components/notification/lib/services/notification-center.service.d.ts +0 -78
  599. package/components/notification/testing/lib/test-helpers.d.ts +0 -5
  600. package/components/paginator/lib/interfaces/index.d.ts +0 -1
  601. package/components/paginator/lib/interfaces/page-change.interface.d.ts +0 -5
  602. package/components/paginator/lib/models/get-range-content.model.d.ts +0 -2
  603. package/components/paginator/lib/models/get-summary-content.model.d.ts +0 -2
  604. package/components/paginator/lib/models/index.d.ts +0 -2
  605. package/components/paginator/lib/paginator.component.d.ts +0 -183
  606. package/components/paginator/lib/paginator.config.d.ts +0 -59
  607. package/components/paginator/lib/paginator.module.d.ts +0 -7
  608. package/components/progress/lib/progress.component.d.ts +0 -33
  609. package/components/radio-group/lib/components/index.d.ts +0 -1
  610. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +0 -36
  611. package/components/radio-group/lib/radio-group.component.d.ts +0 -25
  612. package/components/radio-group/lib/radio-group.module.d.ts +0 -9
  613. package/components/rail-navigation/lib/components/index.d.ts +0 -1
  614. package/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.d.ts +0 -41
  615. package/components/rail-navigation/lib/models/index.d.ts +0 -1
  616. package/components/rail-navigation/lib/models/rail-navigation-variant.d.ts +0 -5
  617. package/components/rail-navigation/lib/rail-navigation.component.d.ts +0 -49
  618. package/components/rail-navigation/lib/rail-navigation.module.d.ts +0 -9
  619. package/components/rich-list/lib/components/index.d.ts +0 -3
  620. package/components/rich-list/lib/components/rich-list-content/rich-list-content.component.d.ts +0 -10
  621. package/components/rich-list/lib/components/rich-list-item/rich-list-item.component.d.ts +0 -40
  622. package/components/rich-list/lib/components/rich-list-item-header/rich-list-item-header.component.d.ts +0 -10
  623. package/components/rich-list/lib/rich-list.component.d.ts +0 -23
  624. package/components/rich-list/lib/rich-list.module.d.ts +0 -11
  625. package/components/search-bar/lib/search-bar-control.directive.d.ts +0 -8
  626. package/components/search-bar/lib/search-bar.component.d.ts +0 -8
  627. package/components/search-bar/lib/search-bar.module.d.ts +0 -9
  628. package/components/select/lib/components/index.d.ts +0 -1
  629. package/components/select/lib/components/select-option/select-option.component.d.ts +0 -56
  630. package/components/select/lib/directives/index.d.ts +0 -2
  631. package/components/select/lib/directives/select-all.directive.d.ts +0 -13
  632. package/components/select/lib/directives/select-input-control.directive.d.ts +0 -31
  633. package/components/select/lib/pipes/index.d.ts +0 -1
  634. package/components/select/lib/pipes/select-search-filter.pipe.d.ts +0 -17
  635. package/components/select/lib/select.component.d.ts +0 -140
  636. package/components/select/lib/select.module.d.ts +0 -11
  637. package/components/select/lib/select.tokens.d.ts +0 -3
  638. package/components/slider/lib/slider.directive.d.ts +0 -34
  639. package/components/spinbox/lib/spinbox.component.d.ts +0 -51
  640. package/components/switch/lib/switch.component.d.ts +0 -17
  641. package/components/switch/lib/switch.module.d.ts +0 -9
  642. package/components/switch/lib/switch.validator.d.ts +0 -18
  643. package/components/tab-bar/lib/components/index.d.ts +0 -1
  644. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +0 -52
  645. package/components/tab-bar/lib/models/index.d.ts +0 -1
  646. package/components/tab-bar/lib/models/tab-change-event.d.ts +0 -5
  647. package/components/tab-bar/lib/tab-bar.component.d.ts +0 -77
  648. package/components/tab-bar/lib/tab-bar.config.d.ts +0 -3
  649. package/components/tab-bar/lib/tab-bar.module.d.ts +0 -9
  650. package/components/table/lib/components/check-cell/check-cell.component.d.ts +0 -33
  651. package/components/table/lib/components/header-title/header-title.component.d.ts +0 -71
  652. package/components/table/lib/components/index.d.ts +0 -2
  653. package/components/table/lib/directives/index.d.ts +0 -2
  654. package/components/table/lib/directives/table-cell.directive.d.ts +0 -10
  655. package/components/table/lib/directives/table-row.directive.d.ts +0 -10
  656. package/components/table/lib/models/header-cell.d.ts +0 -8
  657. package/components/table/lib/models/index.d.ts +0 -5
  658. package/components/table/lib/models/sort-status.d.ts +0 -5
  659. package/components/table/lib/models/sort-variant.d.ts +0 -21
  660. package/components/table/lib/models/table-body-cell.d.ts +0 -3
  661. package/components/table/lib/models/table-variant.d.ts +0 -5
  662. package/components/table/lib/table.component.d.ts +0 -85
  663. package/components/table/lib/table.config.d.ts +0 -4
  664. package/components/table/lib/table.module.d.ts +0 -11
  665. package/components/timepicker/lib/components/timepicker-option.component.d.ts +0 -52
  666. package/components/timepicker/lib/directives/timepicker-input-control.directive.d.ts +0 -43
  667. package/components/timepicker/lib/timepicker.component.d.ts +0 -120
  668. package/components/timepicker/lib/timepicker.module.d.ts +0 -10
  669. package/components/timepicker/lib/timepicker.service.d.ts +0 -59
  670. package/components/timepicker/lib/timepicker.token.d.ts +0 -9
  671. package/components/timepicker/lib/utils/generate-time-stamps.d.ts +0 -19
  672. package/components/timepicker/lib/utils/index.d.ts +0 -2
  673. package/components/timepicker/lib/utils/ngx-mask-helper.d.ts +0 -22
  674. package/components/toast/lib/components/index.d.ts +0 -2
  675. package/components/toast/lib/components/toast-container/toast-container.component.d.ts +0 -42
  676. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +0 -77
  677. package/components/toast/lib/models/index.d.ts +0 -5
  678. package/components/toast/lib/models/toast-action.d.ts +0 -7
  679. package/components/toast/lib/models/toast-ref.d.ts +0 -7
  680. package/components/toast/lib/models/toast-variant.d.ts +0 -9
  681. package/components/toast/lib/models/toast.d.ts +0 -12
  682. package/components/toast/lib/models/toast.options.d.ts +0 -4
  683. package/components/toast/lib/toast.config.d.ts +0 -29
  684. package/components/toast/lib/toast.module.d.ts +0 -9
  685. package/components/toast/lib/toast.service.d.ts +0 -91
  686. package/components/toggle-button-group/lib/components/index.d.ts +0 -1
  687. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +0 -24
  688. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +0 -30
  689. package/components/toggle-button-group/lib/toggle-button-group.module.d.ts +0 -9
  690. package/components/tooltip/lib/directives/index.d.ts +0 -2
  691. package/components/tooltip/lib/directives/tooltip-disabled-focusable.directive.d.ts +0 -20
  692. package/components/tooltip/lib/helpers/index.d.ts +0 -1
  693. package/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.d.ts +0 -9
  694. package/components/tooltip/lib/models/index.d.ts +0 -3
  695. package/components/tooltip/lib/models/tooltip-options.d.ts +0 -10
  696. package/components/tooltip/lib/models/tooltip-size.d.ts +0 -7
  697. package/components/tooltip/lib/models/tooltip-trigger.d.ts +0 -1
  698. package/components/tooltip/lib/tooltip.component.d.ts +0 -40
  699. package/components/tooltip/lib/tooltip.config.d.ts +0 -29
  700. package/components/tooltip/lib/tooltip.directive.d.ts +0 -84
  701. package/components/wizard/lib/components/index.d.ts +0 -1
  702. package/components/wizard/lib/components/wizard-step/wizard-step.component.d.ts +0 -68
  703. package/components/wizard/lib/wizard.component.d.ts +0 -83
  704. package/components/wizard/lib/wizard.module.d.ts +0 -9
  705. package/esm2022/animations/index.mjs +0 -6
  706. package/esm2022/animations/lib/config.mjs +0 -8
  707. package/esm2022/animations/lib/expand.mjs +0 -58
  708. package/esm2022/animations/lib/fade.mjs +0 -83
  709. package/esm2022/animations/lib/slide.mjs +0 -55
  710. package/esm2022/animations/lib/wait-for-child-animations.mjs +0 -41
  711. package/esm2022/animations/odx-angular-animations.mjs +0 -5
  712. package/esm2022/breakpoints/index.mjs +0 -8
  713. package/esm2022/breakpoints/lib/breakpoints.config.mjs +0 -51
  714. package/esm2022/breakpoints/lib/breakpoints.module.mjs +0 -17
  715. package/esm2022/breakpoints/lib/breakpoints.service.mjs +0 -77
  716. package/esm2022/breakpoints/lib/breakpoints.typings.mjs +0 -2
  717. package/esm2022/breakpoints/lib/directives/index.mjs +0 -2
  718. package/esm2022/breakpoints/lib/directives/match-breakpoints.directive.mjs +0 -84
  719. package/esm2022/breakpoints/lib/helpers/configure-breakpoint.mjs +0 -27
  720. package/esm2022/breakpoints/lib/helpers/index.mjs +0 -2
  721. package/esm2022/breakpoints/lib/models/breakpoint.mjs +0 -2
  722. package/esm2022/breakpoints/lib/models/index.mjs +0 -2
  723. package/esm2022/breakpoints/odx-angular-breakpoints.mjs +0 -5
  724. package/esm2022/cdk/a11y/index.mjs +0 -3
  725. package/esm2022/cdk/a11y/lib/a11y.module.mjs +0 -19
  726. package/esm2022/cdk/a11y/lib/directives/index.mjs +0 -4
  727. package/esm2022/cdk/a11y/lib/directives/interactive.directive.mjs +0 -81
  728. package/esm2022/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +0 -50
  729. package/esm2022/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +0 -59
  730. package/esm2022/cdk/a11y/odx-angular-cdk-a11y.mjs +0 -5
  731. package/esm2022/cdk/active-indicator/index.mjs +0 -3
  732. package/esm2022/cdk/active-indicator/lib/active-indicator.directive.mjs +0 -193
  733. package/esm2022/cdk/active-indicator/lib/models/active-indicator-direction.mjs +0 -5
  734. package/esm2022/cdk/active-indicator/lib/models/active-indicator-position.mjs +0 -6
  735. package/esm2022/cdk/active-indicator/lib/models/index.mjs +0 -3
  736. package/esm2022/cdk/active-indicator/odx-angular-cdk-active-indicator.mjs +0 -5
  737. package/esm2022/cdk/autocomplete-control/index.mjs +0 -4
  738. package/esm2022/cdk/autocomplete-control/lib/autocomplete-control.mjs +0 -198
  739. package/esm2022/cdk/autocomplete-control/lib/directives/highlight-search-result.directive.mjs +0 -43
  740. package/esm2022/cdk/autocomplete-control/lib/directives/index.mjs +0 -2
  741. package/esm2022/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.mjs +0 -47
  742. package/esm2022/cdk/autocomplete-control/lib/pipes/index.mjs +0 -2
  743. package/esm2022/cdk/autocomplete-control/odx-angular-cdk-autocomplete-control.mjs +0 -5
  744. package/esm2022/cdk/checkbox-control/index.mjs +0 -2
  745. package/esm2022/cdk/checkbox-control/lib/checkbox-control.directive.mjs +0 -67
  746. package/esm2022/cdk/checkbox-control/odx-angular-cdk-checkbox-control.mjs +0 -5
  747. package/esm2022/cdk/connected-overlay/index.mjs +0 -4
  748. package/esm2022/cdk/connected-overlay/lib/connected-overlay.component.mjs +0 -83
  749. package/esm2022/cdk/connected-overlay/lib/connected-overlay.service.mjs +0 -69
  750. package/esm2022/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +0 -59
  751. package/esm2022/cdk/connected-overlay/lib/helpers/index.mjs +0 -2
  752. package/esm2022/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +0 -12
  753. package/esm2022/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +0 -69
  754. package/esm2022/cdk/connected-overlay/lib/models/index.mjs +0 -3
  755. package/esm2022/cdk/connected-overlay/odx-angular-cdk-connected-overlay.mjs +0 -5
  756. package/esm2022/cdk/custom-form-control/index.mjs +0 -4
  757. package/esm2022/cdk/custom-form-control/lib/control.directive.mjs +0 -19
  758. package/esm2022/cdk/custom-form-control/lib/custom-form-control.mjs +0 -224
  759. package/esm2022/cdk/custom-form-control/lib/input-control.directive.mjs +0 -110
  760. package/esm2022/cdk/custom-form-control/odx-angular-cdk-custom-form-control.mjs +0 -5
  761. package/esm2022/cdk/date-input/index.mjs +0 -6
  762. package/esm2022/cdk/date-input/lib/date.config.mjs +0 -26
  763. package/esm2022/cdk/date-input/lib/models/input-date-order.mjs +0 -16
  764. package/esm2022/cdk/date-input/lib/utils/get-date-input-pattern.mjs +0 -18
  765. package/esm2022/cdk/date-input/lib/utils/get-input-value-as-date.mjs +0 -38
  766. package/esm2022/cdk/date-input/lib/utils/ngx-mask-init.mjs +0 -22
  767. package/esm2022/cdk/date-input/odx-angular-cdk-date-input.mjs +0 -5
  768. package/esm2022/cdk/dynamic-view/index.mjs +0 -8
  769. package/esm2022/cdk/dynamic-view/lib/dynamic-view.component.mjs +0 -43
  770. package/esm2022/cdk/dynamic-view/lib/dynamic-view.directive.mjs +0 -113
  771. package/esm2022/cdk/dynamic-view/lib/dynamic-view.service.mjs +0 -75
  772. package/esm2022/cdk/dynamic-view/lib/facade/dynamic-content.mjs +0 -2
  773. package/esm2022/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +0 -2
  774. package/esm2022/cdk/dynamic-view/lib/facade/index.mjs +0 -3
  775. package/esm2022/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +0 -31
  776. package/esm2022/cdk/dynamic-view/lib/helpers/index.mjs +0 -4
  777. package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +0 -28
  778. package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-view.mjs +0 -27
  779. package/esm2022/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +0 -108
  780. package/esm2022/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +0 -87
  781. package/esm2022/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +0 -2
  782. package/esm2022/cdk/dynamic-view/lib/models/index.mjs +0 -4
  783. package/esm2022/cdk/dynamic-view/lib/tokens/dynamic-view-context.mjs +0 -7
  784. package/esm2022/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +0 -20
  785. package/esm2022/cdk/dynamic-view/lib/tokens/index.mjs +0 -3
  786. package/esm2022/cdk/dynamic-view/odx-angular-cdk-dynamic-view.mjs +0 -5
  787. package/esm2022/cdk/event-plugins/index.mjs +0 -4
  788. package/esm2022/cdk/event-plugins/lib/event-plugins.config.mjs +0 -48
  789. package/esm2022/cdk/event-plugins/lib/models/event-plugin.mjs +0 -60
  790. package/esm2022/cdk/event-plugins/lib/models/index.mjs +0 -2
  791. package/esm2022/cdk/event-plugins/lib/plugins/debounce-event-plugin.mjs +0 -67
  792. package/esm2022/cdk/event-plugins/lib/plugins/defer-event-plugin.mjs +0 -51
  793. package/esm2022/cdk/event-plugins/lib/plugins/index.mjs +0 -3
  794. package/esm2022/cdk/event-plugins/odx-angular-cdk-event-plugins.mjs +0 -5
  795. package/esm2022/cdk/expandable/index.mjs +0 -5
  796. package/esm2022/cdk/expandable/lib/directives/expandable-container.directive.mjs +0 -104
  797. package/esm2022/cdk/expandable/lib/directives/expandable-item.directive.mjs +0 -119
  798. package/esm2022/cdk/expandable/lib/directives/index.mjs +0 -3
  799. package/esm2022/cdk/expandable/lib/expandable.module.mjs +0 -17
  800. package/esm2022/cdk/expandable/lib/expandable.tokens.mjs +0 -4
  801. package/esm2022/cdk/expandable/lib/facade/expandable-container.mjs +0 -2
  802. package/esm2022/cdk/expandable/lib/facade/expandable-item.mjs +0 -2
  803. package/esm2022/cdk/expandable/lib/facade/index.mjs +0 -3
  804. package/esm2022/cdk/expandable/odx-angular-cdk-expandable.mjs +0 -5
  805. package/esm2022/cdk/option-control/index.mjs +0 -2
  806. package/esm2022/cdk/option-control/lib/option-control.mjs +0 -91
  807. package/esm2022/cdk/option-control/odx-angular-cdk-option-control.mjs +0 -5
  808. package/esm2022/cdk/radio-group-control/index.mjs +0 -4
  809. package/esm2022/cdk/radio-group-control/lib/radio-control.directive.mjs +0 -65
  810. package/esm2022/cdk/radio-group-control/lib/radio-group-control.directive.mjs +0 -60
  811. package/esm2022/cdk/radio-group-control/lib/radio-group-control.module.mjs +0 -19
  812. package/esm2022/cdk/radio-group-control/odx-angular-cdk-radio-group-control.mjs +0 -5
  813. package/esm2022/cdk/scrollable/index.mjs +0 -2
  814. package/esm2022/cdk/scrollable/lib/scrollable.service.mjs +0 -129
  815. package/esm2022/cdk/scrollable/odx-angular-cdk-scrollable.mjs +0 -5
  816. package/esm2022/components/accordion/index.mjs +0 -5
  817. package/esm2022/components/accordion/lib/accordion.component.mjs +0 -31
  818. package/esm2022/components/accordion/lib/accordion.module.mjs +0 -20
  819. package/esm2022/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +0 -94
  820. package/esm2022/components/accordion/lib/components/index.mjs +0 -2
  821. package/esm2022/components/accordion/lib/directives/accordion-item-title.mjs +0 -17
  822. package/esm2022/components/accordion/lib/directives/index.mjs +0 -2
  823. package/esm2022/components/accordion/odx-angular-components-accordion.mjs +0 -5
  824. package/esm2022/components/action-group/action-group.component.mjs +0 -38
  825. package/esm2022/components/action-group/index.mjs +0 -2
  826. package/esm2022/components/action-group/odx-angular-components-action-group.mjs +0 -5
  827. package/esm2022/components/anchor-navigation/anchor-navigation.component.mjs +0 -69
  828. package/esm2022/components/anchor-navigation/anchor-navigation.module.mjs +0 -18
  829. package/esm2022/components/anchor-navigation/anchor-navigation.service.mjs +0 -130
  830. package/esm2022/components/anchor-navigation/components/anchor-navigation-item.component.mjs +0 -32
  831. package/esm2022/components/anchor-navigation/components/index.mjs +0 -2
  832. package/esm2022/components/anchor-navigation/index.mjs +0 -5
  833. package/esm2022/components/anchor-navigation/odx-angular-components-anchor-navigation.mjs +0 -5
  834. package/esm2022/components/area-header/area-header.component.mjs +0 -39
  835. package/esm2022/components/area-header/area-header.module.mjs +0 -47
  836. package/esm2022/components/area-header/directives/area-header-content.directive.mjs +0 -20
  837. package/esm2022/components/area-header/directives/area-header-subtitle.directive.mjs +0 -20
  838. package/esm2022/components/area-header/directives/index.mjs +0 -3
  839. package/esm2022/components/area-header/index.mjs +0 -5
  840. package/esm2022/components/area-header/models/area-header-size.mjs +0 -7
  841. package/esm2022/components/area-header/models/index.mjs +0 -2
  842. package/esm2022/components/area-header/odx-angular-components-area-header.mjs +0 -5
  843. package/esm2022/components/autocomplete/index.mjs +0 -7
  844. package/esm2022/components/autocomplete/lib/autocomplete.component.mjs +0 -212
  845. package/esm2022/components/autocomplete/lib/autocomplete.module.mjs +0 -21
  846. package/esm2022/components/autocomplete/lib/autocomplete.tokens.mjs +0 -3
  847. package/esm2022/components/autocomplete/lib/components/index.mjs +0 -2
  848. package/esm2022/components/autocomplete/lib/components/option/autocomplete-option.component.mjs +0 -45
  849. package/esm2022/components/autocomplete/lib/directives/autocomplete-input-control.directive.mjs +0 -36
  850. package/esm2022/components/autocomplete/lib/directives/index.mjs +0 -2
  851. package/esm2022/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.mjs +0 -16
  852. package/esm2022/components/autocomplete/lib/pipes/index.mjs +0 -2
  853. package/esm2022/components/autocomplete/odx-angular-components-autocomplete.mjs +0 -5
  854. package/esm2022/components/avatar/index.mjs +0 -3
  855. package/esm2022/components/avatar/lib/avatar.component.mjs +0 -48
  856. package/esm2022/components/avatar/lib/models/avatar-size.mjs +0 -6
  857. package/esm2022/components/avatar/lib/models/avatar-variant.mjs +0 -5
  858. package/esm2022/components/avatar/lib/models/index.mjs +0 -3
  859. package/esm2022/components/avatar/odx-angular-components-avatar.mjs +0 -5
  860. package/esm2022/components/badge/index.mjs +0 -4
  861. package/esm2022/components/badge/lib/badge.component.mjs +0 -62
  862. package/esm2022/components/badge/lib/badge.directive.mjs +0 -116
  863. package/esm2022/components/badge/lib/models/badge-variant.mjs +0 -6
  864. package/esm2022/components/badge/lib/models/index.mjs +0 -2
  865. package/esm2022/components/badge/odx-angular-components-badge.mjs +0 -5
  866. package/esm2022/components/bar/index.mjs +0 -6
  867. package/esm2022/components/bar/lib/bar.component.mjs +0 -28
  868. package/esm2022/components/bar/lib/bar.module.mjs +0 -20
  869. package/esm2022/components/bar/lib/directives/bar-button.directive.mjs +0 -45
  870. package/esm2022/components/bar/lib/directives/bar-label.directive.mjs +0 -27
  871. package/esm2022/components/bar/lib/models/bar-button-variant.mjs +0 -5
  872. package/esm2022/components/bar/odx-angular-components-bar.mjs +0 -5
  873. package/esm2022/components/breadcrumbs/index.mjs +0 -2
  874. package/esm2022/components/breadcrumbs/lib/breadcrumbs.component.mjs +0 -24
  875. package/esm2022/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +0 -5
  876. package/esm2022/components/button/index.mjs +0 -4
  877. package/esm2022/components/button/lib/button.component.mjs +0 -59
  878. package/esm2022/components/button/lib/directives/index.mjs +0 -2
  879. package/esm2022/components/button/lib/directives/responsive-button.directive.mjs +0 -24
  880. package/esm2022/components/button/lib/models/button-size.mjs +0 -6
  881. package/esm2022/components/button/lib/models/button-variant.mjs +0 -10
  882. package/esm2022/components/button/lib/models/index.mjs +0 -3
  883. package/esm2022/components/button/odx-angular-components-button.mjs +0 -5
  884. package/esm2022/components/button-group/index.mjs +0 -2
  885. package/esm2022/components/button-group/lib/button-group.component.mjs +0 -80
  886. package/esm2022/components/button-group/odx-angular-components-button-group.mjs +0 -5
  887. package/esm2022/components/calendar/index.mjs +0 -10
  888. package/esm2022/components/calendar/lib/calendar.component.mjs +0 -116
  889. package/esm2022/components/calendar/lib/calendar.config.mjs +0 -31
  890. package/esm2022/components/calendar/lib/calendar.service.mjs +0 -111
  891. package/esm2022/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +0 -95
  892. package/esm2022/components/calendar/lib/components/calendar-header/index.mjs +0 -2
  893. package/esm2022/components/calendar/lib/components/calendar-month/calendar-month.component.mjs +0 -61
  894. package/esm2022/components/calendar/lib/components/calendar-month/index.mjs +0 -2
  895. package/esm2022/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +0 -63
  896. package/esm2022/components/calendar/lib/components/calendar-year/index.mjs +0 -2
  897. package/esm2022/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +0 -71
  898. package/esm2022/components/calendar/lib/components/calendar-years/index.mjs +0 -2
  899. package/esm2022/components/calendar/lib/components/index.mjs +0 -5
  900. package/esm2022/components/calendar/lib/daterange.service.mjs +0 -76
  901. package/esm2022/components/calendar/lib/directives/calendar-cell.directive.mjs +0 -202
  902. package/esm2022/components/calendar/lib/directives/calendar-view.directive.mjs +0 -108
  903. package/esm2022/components/calendar/lib/directives/index.mjs +0 -3
  904. package/esm2022/components/calendar/lib/models/calendar-view.mjs +0 -7
  905. package/esm2022/components/calendar/lib/models/date-filter.mjs +0 -2
  906. package/esm2022/components/calendar/lib/models/date-range.mjs +0 -7
  907. package/esm2022/components/calendar/lib/models/date-type.mjs +0 -2
  908. package/esm2022/components/calendar/lib/models/date-validator.mjs +0 -2
  909. package/esm2022/components/calendar/lib/models/index.mjs +0 -8
  910. package/esm2022/components/calendar/lib/models/selected-date.mjs +0 -5
  911. package/esm2022/components/calendar/lib/models/selection-mode.mjs +0 -6
  912. package/esm2022/components/calendar/lib/pipes/date-label.pipe.mjs +0 -47
  913. package/esm2022/components/calendar/lib/pipes/index.mjs +0 -2
  914. package/esm2022/components/calendar/lib/services/calendar-month.service.mjs +0 -38
  915. package/esm2022/components/calendar/lib/services/calendar-year.service.mjs +0 -34
  916. package/esm2022/components/calendar/lib/services/calendar-years.service.mjs +0 -37
  917. package/esm2022/components/calendar/lib/services/index.mjs +0 -4
  918. package/esm2022/components/calendar/lib/utils/check-cell-in-range.mjs +0 -29
  919. package/esm2022/components/calendar/lib/utils/check-identical-date.mjs +0 -12
  920. package/esm2022/components/calendar/lib/utils/get-A11y-label.mjs +0 -13
  921. package/esm2022/components/calendar/lib/utils/index.mjs +0 -10
  922. package/esm2022/components/calendar/lib/utils/is-date-disabled.mjs +0 -11
  923. package/esm2022/components/calendar/lib/utils/parse-date.mjs +0 -16
  924. package/esm2022/components/calendar/lib/utils/validate-daterange.mjs +0 -6
  925. package/esm2022/components/calendar/lib/utils/validate-max-date.mjs +0 -12
  926. package/esm2022/components/calendar/lib/utils/validate-min-date.mjs +0 -12
  927. package/esm2022/components/calendar/lib/utils/validate-next-date-set.mjs +0 -12
  928. package/esm2022/components/calendar/lib/utils/validate-previous-date-set.mjs +0 -12
  929. package/esm2022/components/calendar/odx-angular-components-calendar.mjs +0 -5
  930. package/esm2022/components/card/index.mjs +0 -6
  931. package/esm2022/components/card/lib/card.component.mjs +0 -101
  932. package/esm2022/components/card/lib/card.config.mjs +0 -25
  933. package/esm2022/components/card/lib/card.module.mjs +0 -20
  934. package/esm2022/components/card/lib/components/card-footer/card-footer.component.mjs +0 -16
  935. package/esm2022/components/card/lib/components/card-image/card-image.component.mjs +0 -83
  936. package/esm2022/components/card/lib/components/index.mjs +0 -4
  937. package/esm2022/components/card/lib/components/launch-card-subtitle/launch-card-subtitle.component.mjs +0 -16
  938. package/esm2022/components/card/lib/directives/card-content.directive.mjs +0 -20
  939. package/esm2022/components/card/lib/directives/index.mjs +0 -2
  940. package/esm2022/components/card/lib/models/card-variant.mjs +0 -7
  941. package/esm2022/components/card/lib/models/index.mjs +0 -2
  942. package/esm2022/components/card/odx-angular-components-card.mjs +0 -5
  943. package/esm2022/components/checkbox/index.mjs +0 -4
  944. package/esm2022/components/checkbox/lib/checkbox.component.mjs +0 -99
  945. package/esm2022/components/checkbox/lib/checkbox.module.mjs +0 -19
  946. package/esm2022/components/checkbox/lib/checkbox.validator.mjs +0 -51
  947. package/esm2022/components/checkbox/odx-angular-components-checkbox.mjs +0 -5
  948. package/esm2022/components/chip/index.mjs +0 -3
  949. package/esm2022/components/chip/lib/components/chip/chip.component.mjs +0 -78
  950. package/esm2022/components/chip/lib/components/chip-list/chip-list.component.mjs +0 -24
  951. package/esm2022/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +0 -24
  952. package/esm2022/components/chip/lib/components/index.mjs +0 -4
  953. package/esm2022/components/chip/lib/models/chip-size.mjs +0 -5
  954. package/esm2022/components/chip/lib/models/chip-variant.mjs +0 -9
  955. package/esm2022/components/chip/lib/models/index.mjs +0 -3
  956. package/esm2022/components/chip/odx-angular-components-chip.mjs +0 -5
  957. package/esm2022/components/circular-progress/index.mjs +0 -3
  958. package/esm2022/components/circular-progress/lib/circular-progress.component.mjs +0 -124
  959. package/esm2022/components/circular-progress/lib/models/circular-progress-size.mjs +0 -7
  960. package/esm2022/components/circular-progress/lib/models/index.mjs +0 -2
  961. package/esm2022/components/circular-progress/odx-angular-components-circular-progress.mjs +0 -5
  962. package/esm2022/components/content-box/index.mjs +0 -4
  963. package/esm2022/components/content-box/lib/content-box.component.mjs +0 -16
  964. package/esm2022/components/content-box/lib/content-box.module.mjs +0 -19
  965. package/esm2022/components/content-box/lib/directives/content-box-footer.directive.mjs +0 -20
  966. package/esm2022/components/content-box/lib/directives/content-box-header.directive.mjs +0 -20
  967. package/esm2022/components/content-box/lib/directives/index.mjs +0 -3
  968. package/esm2022/components/content-box/odx-angular-components-content-box.mjs +0 -5
  969. package/esm2022/components/data-table/index.mjs +0 -5
  970. package/esm2022/components/data-table/lib/data-table.component.mjs +0 -51
  971. package/esm2022/components/data-table/lib/data-table.module.mjs +0 -19
  972. package/esm2022/components/data-table/lib/directives/cell-def.directive.mjs +0 -17
  973. package/esm2022/components/data-table/lib/directives/cell.directive.mjs +0 -18
  974. package/esm2022/components/data-table/lib/directives/column-def.directive.mjs +0 -27
  975. package/esm2022/components/data-table/lib/directives/header-cell-def.directive.mjs +0 -17
  976. package/esm2022/components/data-table/lib/directives/header-cell.directive.mjs +0 -18
  977. package/esm2022/components/data-table/lib/directives/index.mjs +0 -7
  978. package/esm2022/components/data-table/lib/directives/table-empty.directive.mjs +0 -11
  979. package/esm2022/components/data-table/lib/models/index.mjs +0 -15
  980. package/esm2022/components/data-table/lib/models/table-variant.mjs +0 -5
  981. package/esm2022/components/data-table/odx-angular-components-data-table.mjs +0 -5
  982. package/esm2022/components/datepicker/index.mjs +0 -7
  983. package/esm2022/components/datepicker/lib/datepicker.component.mjs +0 -208
  984. package/esm2022/components/datepicker/lib/datepicker.config.mjs +0 -52
  985. package/esm2022/components/datepicker/lib/datepicker.module.mjs +0 -21
  986. package/esm2022/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +0 -86
  987. package/esm2022/components/datepicker/lib/directives/index.mjs +0 -2
  988. package/esm2022/components/datepicker/lib/validators/filter.validator.mjs +0 -49
  989. package/esm2022/components/datepicker/lib/validators/minmax.validator.mjs +0 -60
  990. package/esm2022/components/datepicker/odx-angular-components-datepicker.mjs +0 -5
  991. package/esm2022/components/daterangepicker/index.mjs +0 -7
  992. package/esm2022/components/daterangepicker/lib/daterangepicker.component.mjs +0 -277
  993. package/esm2022/components/daterangepicker/lib/daterangepicker.config.mjs +0 -52
  994. package/esm2022/components/daterangepicker/lib/daterangepicker.module.mjs +0 -21
  995. package/esm2022/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.mjs +0 -82
  996. package/esm2022/components/daterangepicker/lib/directives/index.mjs +0 -2
  997. package/esm2022/components/daterangepicker/lib/range.validator.mjs +0 -52
  998. package/esm2022/components/daterangepicker/lib/required.validator.mjs +0 -48
  999. package/esm2022/components/daterangepicker/odx-angular-components-daterangepicker.mjs +0 -5
  1000. package/esm2022/components/dropdown/index.mjs +0 -6
  1001. package/esm2022/components/dropdown/lib/dropdown.component.mjs +0 -47
  1002. package/esm2022/components/dropdown/lib/dropdown.directive.mjs +0 -238
  1003. package/esm2022/components/dropdown/lib/dropdown.module.mjs +0 -18
  1004. package/esm2022/components/dropdown/lib/helpers/close-current-dropdown.mjs +0 -11
  1005. package/esm2022/components/dropdown/lib/helpers/index.mjs +0 -2
  1006. package/esm2022/components/dropdown/lib/models/close-dropdown-event.mjs +0 -7
  1007. package/esm2022/components/dropdown/lib/models/dropdown-options.mjs +0 -9
  1008. package/esm2022/components/dropdown/lib/models/index.mjs +0 -3
  1009. package/esm2022/components/dropdown/odx-angular-components-dropdown.mjs +0 -5
  1010. package/esm2022/components/error-page/index.mjs +0 -3
  1011. package/esm2022/components/error-page/lib/error-page.component.mjs +0 -37
  1012. package/esm2022/components/error-page/lib/error-page.config.mjs +0 -18
  1013. package/esm2022/components/error-page/odx-angular-components-error-page.mjs +0 -5
  1014. package/esm2022/components/footer/index.mjs +0 -4
  1015. package/esm2022/components/footer/lib/footer.component.mjs +0 -58
  1016. package/esm2022/components/footer/lib/footer.config.mjs +0 -31
  1017. package/esm2022/components/footer/lib/footer.i18n.mjs +0 -19
  1018. package/esm2022/components/footer/lib/helpers/create-footer-links.mjs +0 -24
  1019. package/esm2022/components/footer/lib/helpers/index.mjs +0 -2
  1020. package/esm2022/components/footer/lib/models/footer-link.mjs +0 -2
  1021. package/esm2022/components/footer/lib/models/footer-variant.mjs +0 -5
  1022. package/esm2022/components/footer/lib/models/index.mjs +0 -3
  1023. package/esm2022/components/footer/odx-angular-components-footer.mjs +0 -5
  1024. package/esm2022/components/form-field/index.mjs +0 -8
  1025. package/esm2022/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +0 -37
  1026. package/esm2022/components/form-field/lib/components/form-group/form-group.component.mjs +0 -49
  1027. package/esm2022/components/form-field/lib/components/index.mjs +0 -3
  1028. package/esm2022/components/form-field/lib/directives/form-field-control.directive.mjs +0 -80
  1029. package/esm2022/components/form-field/lib/directives/form-field-error.directive.mjs +0 -28
  1030. package/esm2022/components/form-field/lib/directives/form-field-hint.directive.mjs +0 -26
  1031. package/esm2022/components/form-field/lib/directives/form-field-label.directive.mjs +0 -27
  1032. package/esm2022/components/form-field/lib/directives/form.directive.mjs +0 -46
  1033. package/esm2022/components/form-field/lib/directives/index.mjs +0 -6
  1034. package/esm2022/components/form-field/lib/form-field.component.mjs +0 -93
  1035. package/esm2022/components/form-field/lib/form-field.config.mjs +0 -7
  1036. package/esm2022/components/form-field/lib/form-field.module.mjs +0 -41
  1037. package/esm2022/components/form-field/lib/form-field.service.mjs +0 -117
  1038. package/esm2022/components/form-field/lib/models/form-field-error-resolver.mjs +0 -2
  1039. package/esm2022/components/form-field/lib/models/form-field-error.mjs +0 -2
  1040. package/esm2022/components/form-field/lib/models/form-field-variant.mjs +0 -6
  1041. package/esm2022/components/form-field/lib/models/index.mjs +0 -4
  1042. package/esm2022/components/form-field/lib/services/form-field-error.service.mjs +0 -88
  1043. package/esm2022/components/form-field/lib/services/index.mjs +0 -2
  1044. package/esm2022/components/form-field/odx-angular-components-form-field.mjs +0 -5
  1045. package/esm2022/components/header/index.mjs +0 -4
  1046. package/esm2022/components/header/lib/directives/header-avatar.directive.mjs +0 -28
  1047. package/esm2022/components/header/lib/directives/header-title.directive.mjs +0 -20
  1048. package/esm2022/components/header/lib/directives/index.mjs +0 -3
  1049. package/esm2022/components/header/lib/header.component.mjs +0 -25
  1050. package/esm2022/components/header/lib/header.module.mjs +0 -51
  1051. package/esm2022/components/header/odx-angular-components-header.mjs +0 -5
  1052. package/esm2022/components/header-navigation/index.mjs +0 -4
  1053. package/esm2022/components/header-navigation/lib/directives/header-navigation-link.directive.mjs +0 -40
  1054. package/esm2022/components/header-navigation/lib/directives/index.mjs +0 -2
  1055. package/esm2022/components/header-navigation/lib/header-navigation.component.mjs +0 -32
  1056. package/esm2022/components/header-navigation/lib/header-navigation.module.mjs +0 -19
  1057. package/esm2022/components/header-navigation/odx-angular-components-header-navigation.mjs +0 -5
  1058. package/esm2022/components/icon/index.mjs +0 -5
  1059. package/esm2022/components/icon/lib/helpers/index.mjs +0 -2
  1060. package/esm2022/components/icon/lib/helpers/unpack-icon-identifier.mjs +0 -38
  1061. package/esm2022/components/icon/lib/icon.component.mjs +0 -101
  1062. package/esm2022/components/icon/lib/icon.config.mjs +0 -25
  1063. package/esm2022/components/icon/lib/models/icon-set.mjs +0 -7
  1064. package/esm2022/components/icon/lib/models/icon-size.mjs +0 -8
  1065. package/esm2022/components/icon/lib/models/index.mjs +0 -3
  1066. package/esm2022/components/icon/odx-angular-components-icon.mjs +0 -5
  1067. package/esm2022/components/inline-message/index.mjs +0 -3
  1068. package/esm2022/components/inline-message/lib/inline-message.component.mjs +0 -59
  1069. package/esm2022/components/inline-message/lib/models/index.mjs +0 -2
  1070. package/esm2022/components/inline-message/lib/models/inline-message-variant.mjs +0 -7
  1071. package/esm2022/components/inline-message/odx-angular-components-inline-message.mjs +0 -5
  1072. package/esm2022/components/link/index.mjs +0 -2
  1073. package/esm2022/components/link/link.directive.mjs +0 -30
  1074. package/esm2022/components/link/odx-angular-components-link.mjs +0 -5
  1075. package/esm2022/components/list/index.mjs +0 -5
  1076. package/esm2022/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +0 -47
  1077. package/esm2022/components/list/lib/components/index.mjs +0 -3
  1078. package/esm2022/components/list/lib/components/list-item/list-item.component.mjs +0 -88
  1079. package/esm2022/components/list/lib/list.component.mjs +0 -29
  1080. package/esm2022/components/list/lib/list.module.mjs +0 -19
  1081. package/esm2022/components/list/lib/models/index.mjs +0 -2
  1082. package/esm2022/components/list/lib/models/list-item-variant.mjs +0 -6
  1083. package/esm2022/components/list/odx-angular-components-list.mjs +0 -5
  1084. package/esm2022/components/loading-spinner/index.mjs +0 -4
  1085. package/esm2022/components/loading-spinner/lib/loading-spinner.component.mjs +0 -69
  1086. package/esm2022/components/loading-spinner/lib/loading-spinner.directive.mjs +0 -116
  1087. package/esm2022/components/loading-spinner/lib/loading-spinner.module.mjs +0 -19
  1088. package/esm2022/components/loading-spinner/odx-angular-components-loading-spinner.mjs +0 -5
  1089. package/esm2022/components/logo/index.mjs +0 -3
  1090. package/esm2022/components/logo/logo.directive.mjs +0 -61
  1091. package/esm2022/components/logo/models/index.mjs +0 -3
  1092. package/esm2022/components/logo/models/logo-size.mjs +0 -6
  1093. package/esm2022/components/logo/models/logo-variant.mjs +0 -5
  1094. package/esm2022/components/logo/odx-angular-components-logo.mjs +0 -5
  1095. package/esm2022/components/main-menu/index.mjs +0 -5
  1096. package/esm2022/components/main-menu/lib/directives/index.mjs +0 -4
  1097. package/esm2022/components/main-menu/lib/directives/main-menu-button.directive.mjs +0 -36
  1098. package/esm2022/components/main-menu/lib/directives/main-menu-close.directive.mjs +0 -27
  1099. package/esm2022/components/main-menu/lib/directives/main-menu-item.directive.mjs +0 -55
  1100. package/esm2022/components/main-menu/lib/helpers/create-main-menu-links.mjs +0 -17
  1101. package/esm2022/components/main-menu/lib/helpers/index.mjs +0 -2
  1102. package/esm2022/components/main-menu/lib/main-menu.component.mjs +0 -125
  1103. package/esm2022/components/main-menu/lib/main-menu.config.mjs +0 -37
  1104. package/esm2022/components/main-menu/lib/main-menu.i18n.mjs +0 -19
  1105. package/esm2022/components/main-menu/lib/main-menu.module.mjs +0 -20
  1106. package/esm2022/components/main-menu/lib/main-menu.service.mjs +0 -56
  1107. package/esm2022/components/main-menu/lib/models/index.mjs +0 -2
  1108. package/esm2022/components/main-menu/lib/models/main-menu-link.mjs +0 -2
  1109. package/esm2022/components/main-menu/odx-angular-components-main-menu.mjs +0 -5
  1110. package/esm2022/components/mainfilter-group/index.mjs +0 -2
  1111. package/esm2022/components/mainfilter-group/lib/mainfilter-group.component.mjs +0 -25
  1112. package/esm2022/components/mainfilter-group/odx-angular-components-mainfilter-group.mjs +0 -5
  1113. package/esm2022/components/menu/index.mjs +0 -5
  1114. package/esm2022/components/menu/lib/directives/index.mjs +0 -2
  1115. package/esm2022/components/menu/lib/directives/menu-item.directive.mjs +0 -43
  1116. package/esm2022/components/menu/lib/menu.component.mjs +0 -56
  1117. package/esm2022/components/menu/lib/menu.directive.mjs +0 -76
  1118. package/esm2022/components/menu/lib/menu.module.mjs +0 -21
  1119. package/esm2022/components/menu/odx-angular-components-menu.mjs +0 -5
  1120. package/esm2022/components/modal/index.mjs +0 -10
  1121. package/esm2022/components/modal/lib/components/basic-modal/basic-modal.component.mjs +0 -51
  1122. package/esm2022/components/modal/lib/components/index.mjs +0 -5
  1123. package/esm2022/components/modal/lib/components/modal-footer/modal-footer.component.mjs +0 -24
  1124. package/esm2022/components/modal/lib/components/modal-header/modal-header.component.mjs +0 -42
  1125. package/esm2022/components/modal/lib/components/modal-hero/modal-hero.component.mjs +0 -55
  1126. package/esm2022/components/modal/lib/directives/index.mjs +0 -6
  1127. package/esm2022/components/modal/lib/directives/modal-close.directive.mjs +0 -58
  1128. package/esm2022/components/modal/lib/directives/modal-content.directive.mjs +0 -27
  1129. package/esm2022/components/modal/lib/directives/modal-dismiss.directive.mjs +0 -41
  1130. package/esm2022/components/modal/lib/directives/prevent-form-method-dialog.directive.mjs +0 -23
  1131. package/esm2022/components/modal/lib/directives/prevent-method-dialog.directive.mjs +0 -23
  1132. package/esm2022/components/modal/lib/helpers/index.mjs +0 -3
  1133. package/esm2022/components/modal/lib/helpers/inject-modal-ref.mjs +0 -27
  1134. package/esm2022/components/modal/lib/helpers/provide-modal-ref.mjs +0 -14
  1135. package/esm2022/components/modal/lib/modal.component.mjs +0 -98
  1136. package/esm2022/components/modal/lib/modal.config.mjs +0 -44
  1137. package/esm2022/components/modal/lib/modal.directive.mjs +0 -75
  1138. package/esm2022/components/modal/lib/modal.module.mjs +0 -55
  1139. package/esm2022/components/modal/lib/modal.service.mjs +0 -123
  1140. package/esm2022/components/modal/lib/models/basic-modal-options.mjs +0 -2
  1141. package/esm2022/components/modal/lib/models/index.mjs +0 -8
  1142. package/esm2022/components/modal/lib/models/modal-hero-variant.mjs +0 -7
  1143. package/esm2022/components/modal/lib/models/modal-options.mjs +0 -2
  1144. package/esm2022/components/modal/lib/models/modal-ref.mjs +0 -99
  1145. package/esm2022/components/modal/lib/models/modal-size.mjs +0 -7
  1146. package/esm2022/components/modal/lib/models/modal-type.mjs +0 -2
  1147. package/esm2022/components/modal/lib/models/modal-variant.mjs +0 -5
  1148. package/esm2022/components/modal/odx-angular-components-modal.mjs +0 -5
  1149. package/esm2022/components/navigation-back/index.mjs +0 -2
  1150. package/esm2022/components/navigation-back/lib/navigation-back.component.mjs +0 -25
  1151. package/esm2022/components/navigation-back/odx-angular-components-navigation-back.mjs +0 -5
  1152. package/esm2022/components/notification/index.mjs +0 -8
  1153. package/esm2022/components/notification/lib/components/index.mjs +0 -3
  1154. package/esm2022/components/notification/lib/components/notification-center/notification-center.component.mjs +0 -61
  1155. package/esm2022/components/notification/lib/components/notification-item/notification-item.component.mjs +0 -66
  1156. package/esm2022/components/notification/lib/directives/index.mjs +0 -2
  1157. package/esm2022/components/notification/lib/directives/notification-center.directive.mjs +0 -159
  1158. package/esm2022/components/notification/lib/features/index.mjs +0 -6
  1159. package/esm2022/components/notification/lib/features/with-browser-notifications.mjs +0 -73
  1160. package/esm2022/components/notification/lib/features/with-load-notifications.mjs +0 -45
  1161. package/esm2022/components/notification/lib/features/with-notification-transformer.mjs +0 -34
  1162. package/esm2022/components/notification/lib/features/with-peristent-notifications.mjs +0 -92
  1163. package/esm2022/components/notification/lib/features/with-save-notifications.mjs +0 -44
  1164. package/esm2022/components/notification/lib/helpers/get-notifications-by-tag.mjs +0 -8
  1165. package/esm2022/components/notification/lib/helpers/index.mjs +0 -4
  1166. package/esm2022/components/notification/lib/helpers/sort-notifications.mjs +0 -11
  1167. package/esm2022/components/notification/lib/helpers/to-notification-collection.mjs +0 -10
  1168. package/esm2022/components/notification/lib/models/index.mjs +0 -9
  1169. package/esm2022/components/notification/lib/models/notification-action.mjs +0 -2
  1170. package/esm2022/components/notification/lib/models/notification-collection.mjs +0 -2
  1171. package/esm2022/components/notification/lib/models/notification-feature.mjs +0 -19
  1172. package/esm2022/components/notification/lib/models/notification-options.mjs +0 -2
  1173. package/esm2022/components/notification/lib/models/notification-query.mjs +0 -2
  1174. package/esm2022/components/notification/lib/models/notification-sort-fn.mjs +0 -2
  1175. package/esm2022/components/notification/lib/models/notification.mjs +0 -2
  1176. package/esm2022/components/notification/lib/models/notification.ref.mjs +0 -2
  1177. package/esm2022/components/notification/lib/notification.config.mjs +0 -55
  1178. package/esm2022/components/notification/lib/notification.i18n.mjs +0 -11
  1179. package/esm2022/components/notification/lib/notification.logger.mjs +0 -4
  1180. package/esm2022/components/notification/lib/notification.service.mjs +0 -223
  1181. package/esm2022/components/notification/lib/notification.tokens.mjs +0 -10
  1182. package/esm2022/components/notification/lib/services/index.mjs +0 -2
  1183. package/esm2022/components/notification/lib/services/notification-center.service.mjs +0 -105
  1184. package/esm2022/components/notification/odx-angular-components-notification.mjs +0 -5
  1185. package/esm2022/components/notification/testing/index.mjs +0 -2
  1186. package/esm2022/components/notification/testing/lib/test-helpers.mjs +0 -33
  1187. package/esm2022/components/notification/testing/odx-angular-components-notification-testing.mjs +0 -5
  1188. package/esm2022/components/paginator/index.mjs +0 -6
  1189. package/esm2022/components/paginator/lib/interfaces/index.mjs +0 -2
  1190. package/esm2022/components/paginator/lib/interfaces/page-change.interface.mjs +0 -2
  1191. package/esm2022/components/paginator/lib/models/get-range-content.model.mjs +0 -2
  1192. package/esm2022/components/paginator/lib/models/get-summary-content.model.mjs +0 -2
  1193. package/esm2022/components/paginator/lib/models/index.mjs +0 -3
  1194. package/esm2022/components/paginator/lib/paginator.component.mjs +0 -277
  1195. package/esm2022/components/paginator/lib/paginator.config.mjs +0 -48
  1196. package/esm2022/components/paginator/lib/paginator.module.mjs +0 -17
  1197. package/esm2022/components/paginator/odx-angular-components-paginator.mjs +0 -5
  1198. package/esm2022/components/progress/index.mjs +0 -2
  1199. package/esm2022/components/progress/lib/progress.component.mjs +0 -70
  1200. package/esm2022/components/progress/odx-angular-components-progress.mjs +0 -5
  1201. package/esm2022/components/radio-group/index.mjs +0 -4
  1202. package/esm2022/components/radio-group/lib/components/index.mjs +0 -2
  1203. package/esm2022/components/radio-group/lib/components/radio-button/radio-button.component.mjs +0 -59
  1204. package/esm2022/components/radio-group/lib/radio-group.component.mjs +0 -64
  1205. package/esm2022/components/radio-group/lib/radio-group.module.mjs +0 -19
  1206. package/esm2022/components/radio-group/odx-angular-components-radio-group.mjs +0 -5
  1207. package/esm2022/components/rail-navigation/index.mjs +0 -5
  1208. package/esm2022/components/rail-navigation/lib/components/index.mjs +0 -2
  1209. package/esm2022/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +0 -60
  1210. package/esm2022/components/rail-navigation/lib/models/index.mjs +0 -2
  1211. package/esm2022/components/rail-navigation/lib/models/rail-navigation-variant.mjs +0 -5
  1212. package/esm2022/components/rail-navigation/lib/rail-navigation.component.mjs +0 -85
  1213. package/esm2022/components/rail-navigation/lib/rail-navigation.module.mjs +0 -19
  1214. package/esm2022/components/rail-navigation/odx-angular-components-rail-navigation.mjs +0 -5
  1215. package/esm2022/components/rich-list/index.mjs +0 -4
  1216. package/esm2022/components/rich-list/lib/components/index.mjs +0 -4
  1217. package/esm2022/components/rich-list/lib/components/rich-list-content/rich-list-content.component.mjs +0 -31
  1218. package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +0 -83
  1219. package/esm2022/components/rich-list/lib/components/rich-list-item-header/rich-list-item-header.component.mjs +0 -27
  1220. package/esm2022/components/rich-list/lib/rich-list.component.mjs +0 -45
  1221. package/esm2022/components/rich-list/lib/rich-list.module.mjs +0 -20
  1222. package/esm2022/components/rich-list/odx-angular-components-rich-list.mjs +0 -5
  1223. package/esm2022/components/search-bar/index.mjs +0 -4
  1224. package/esm2022/components/search-bar/lib/search-bar-control.directive.mjs +0 -21
  1225. package/esm2022/components/search-bar/lib/search-bar.component.mjs +0 -17
  1226. package/esm2022/components/search-bar/lib/search-bar.module.mjs +0 -19
  1227. package/esm2022/components/search-bar/odx-angular-components-search-bar.mjs +0 -5
  1228. package/esm2022/components/select/index.mjs +0 -7
  1229. package/esm2022/components/select/lib/components/index.mjs +0 -2
  1230. package/esm2022/components/select/lib/components/select-option/select-option.component.mjs +0 -114
  1231. package/esm2022/components/select/lib/directives/index.mjs +0 -3
  1232. package/esm2022/components/select/lib/directives/select-all.directive.mjs +0 -33
  1233. package/esm2022/components/select/lib/directives/select-input-control.directive.mjs +0 -61
  1234. package/esm2022/components/select/lib/pipes/index.mjs +0 -2
  1235. package/esm2022/components/select/lib/pipes/select-search-filter.pipe.mjs +0 -26
  1236. package/esm2022/components/select/lib/select.component.mjs +0 -344
  1237. package/esm2022/components/select/lib/select.module.mjs +0 -21
  1238. package/esm2022/components/select/lib/select.tokens.mjs +0 -3
  1239. package/esm2022/components/select/odx-angular-components-select.mjs +0 -5
  1240. package/esm2022/components/slider/index.mjs +0 -2
  1241. package/esm2022/components/slider/lib/slider.directive.mjs +0 -64
  1242. package/esm2022/components/slider/odx-angular-components-slider.mjs +0 -5
  1243. package/esm2022/components/spinbox/index.mjs +0 -2
  1244. package/esm2022/components/spinbox/lib/spinbox.component.mjs +0 -143
  1245. package/esm2022/components/spinbox/odx-angular-components-spinbox.mjs +0 -5
  1246. package/esm2022/components/switch/index.mjs +0 -4
  1247. package/esm2022/components/switch/lib/switch.component.mjs +0 -34
  1248. package/esm2022/components/switch/lib/switch.module.mjs +0 -19
  1249. package/esm2022/components/switch/lib/switch.validator.mjs +0 -40
  1250. package/esm2022/components/switch/odx-angular-components-switch.mjs +0 -5
  1251. package/esm2022/components/tab-bar/index.mjs +0 -5
  1252. package/esm2022/components/tab-bar/lib/components/index.mjs +0 -2
  1253. package/esm2022/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +0 -98
  1254. package/esm2022/components/tab-bar/lib/models/index.mjs +0 -2
  1255. package/esm2022/components/tab-bar/lib/models/tab-change-event.mjs +0 -2
  1256. package/esm2022/components/tab-bar/lib/tab-bar.component.mjs +0 -145
  1257. package/esm2022/components/tab-bar/lib/tab-bar.config.mjs +0 -3
  1258. package/esm2022/components/tab-bar/lib/tab-bar.module.mjs +0 -19
  1259. package/esm2022/components/tab-bar/odx-angular-components-tab-bar.mjs +0 -5
  1260. package/esm2022/components/table/index.mjs +0 -6
  1261. package/esm2022/components/table/lib/components/check-cell/check-cell.component.mjs +0 -52
  1262. package/esm2022/components/table/lib/components/header-title/header-title.component.mjs +0 -127
  1263. package/esm2022/components/table/lib/components/index.mjs +0 -3
  1264. package/esm2022/components/table/lib/directives/index.mjs +0 -3
  1265. package/esm2022/components/table/lib/directives/table-cell.directive.mjs +0 -31
  1266. package/esm2022/components/table/lib/directives/table-row.directive.mjs +0 -32
  1267. package/esm2022/components/table/lib/models/header-cell.mjs +0 -2
  1268. package/esm2022/components/table/lib/models/index.mjs +0 -6
  1269. package/esm2022/components/table/lib/models/sort-status.mjs +0 -2
  1270. package/esm2022/components/table/lib/models/sort-variant.mjs +0 -16
  1271. package/esm2022/components/table/lib/models/table-body-cell.mjs +0 -2
  1272. package/esm2022/components/table/lib/models/table-variant.mjs +0 -5
  1273. package/esm2022/components/table/lib/table.component.mjs +0 -119
  1274. package/esm2022/components/table/lib/table.config.mjs +0 -3
  1275. package/esm2022/components/table/lib/table.module.mjs +0 -21
  1276. package/esm2022/components/table/odx-angular-components-table.mjs +0 -5
  1277. package/esm2022/components/timepicker/index.mjs +0 -8
  1278. package/esm2022/components/timepicker/lib/components/timepicker-option.component.mjs +0 -86
  1279. package/esm2022/components/timepicker/lib/directives/timepicker-input-control.directive.mjs +0 -87
  1280. package/esm2022/components/timepicker/lib/timepicker.component.mjs +0 -270
  1281. package/esm2022/components/timepicker/lib/timepicker.module.mjs +0 -20
  1282. package/esm2022/components/timepicker/lib/timepicker.service.mjs +0 -134
  1283. package/esm2022/components/timepicker/lib/timepicker.token.mjs +0 -9
  1284. package/esm2022/components/timepicker/lib/utils/generate-time-stamps.mjs +0 -54
  1285. package/esm2022/components/timepicker/lib/utils/index.mjs +0 -3
  1286. package/esm2022/components/timepicker/lib/utils/ngx-mask-helper.mjs +0 -34
  1287. package/esm2022/components/timepicker/odx-angular-components-timepicker.mjs +0 -5
  1288. package/esm2022/components/toast/index.mjs +0 -6
  1289. package/esm2022/components/toast/lib/components/index.mjs +0 -3
  1290. package/esm2022/components/toast/lib/components/toast-container/toast-container.component.mjs +0 -111
  1291. package/esm2022/components/toast/lib/components/toast-item/toast-item.component.mjs +0 -99
  1292. package/esm2022/components/toast/lib/models/index.mjs +0 -6
  1293. package/esm2022/components/toast/lib/models/toast-action.mjs +0 -2
  1294. package/esm2022/components/toast/lib/models/toast-ref.mjs +0 -2
  1295. package/esm2022/components/toast/lib/models/toast-variant.mjs +0 -9
  1296. package/esm2022/components/toast/lib/models/toast.mjs +0 -2
  1297. package/esm2022/components/toast/lib/models/toast.options.mjs +0 -2
  1298. package/esm2022/components/toast/lib/toast.config.mjs +0 -32
  1299. package/esm2022/components/toast/lib/toast.module.mjs +0 -18
  1300. package/esm2022/components/toast/lib/toast.service.mjs +0 -115
  1301. package/esm2022/components/toast/odx-angular-components-toast.mjs +0 -5
  1302. package/esm2022/components/toggle-button-group/index.mjs +0 -4
  1303. package/esm2022/components/toggle-button-group/lib/components/index.mjs +0 -2
  1304. package/esm2022/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +0 -46
  1305. package/esm2022/components/toggle-button-group/lib/toggle-button-group.component.mjs +0 -74
  1306. package/esm2022/components/toggle-button-group/lib/toggle-button-group.module.mjs +0 -19
  1307. package/esm2022/components/toggle-button-group/odx-angular-components-toggle-button-group.mjs +0 -5
  1308. package/esm2022/components/tooltip/index.mjs +0 -8
  1309. package/esm2022/components/tooltip/lib/directives/index.mjs +0 -3
  1310. package/esm2022/components/tooltip/lib/directives/tooltip-disabled-focusable.directive.mjs +0 -47
  1311. package/esm2022/components/tooltip/lib/helpers/index.mjs +0 -2
  1312. package/esm2022/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.mjs +0 -16
  1313. package/esm2022/components/tooltip/lib/models/index.mjs +0 -4
  1314. package/esm2022/components/tooltip/lib/models/tooltip-options.mjs +0 -10
  1315. package/esm2022/components/tooltip/lib/models/tooltip-size.mjs +0 -7
  1316. package/esm2022/components/tooltip/lib/models/tooltip-trigger.mjs +0 -2
  1317. package/esm2022/components/tooltip/lib/tooltip.component.mjs +0 -62
  1318. package/esm2022/components/tooltip/lib/tooltip.config.mjs +0 -32
  1319. package/esm2022/components/tooltip/lib/tooltip.directive.mjs +0 -189
  1320. package/esm2022/components/tooltip/odx-angular-components-tooltip.mjs +0 -5
  1321. package/esm2022/components/wizard/index.mjs +0 -4
  1322. package/esm2022/components/wizard/lib/components/index.mjs +0 -2
  1323. package/esm2022/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +0 -124
  1324. package/esm2022/components/wizard/lib/wizard.component.mjs +0 -224
  1325. package/esm2022/components/wizard/lib/wizard.module.mjs +0 -19
  1326. package/esm2022/components/wizard/odx-angular-components-wizard.mjs +0 -5
  1327. package/esm2022/index.mjs +0 -7
  1328. package/esm2022/internal/index.mjs +0 -4
  1329. package/esm2022/internal/lib/decorators/css-component.mjs +0 -19
  1330. package/esm2022/internal/lib/decorators/css-modifier.mjs +0 -49
  1331. package/esm2022/internal/lib/decorators/index.mjs +0 -3
  1332. package/esm2022/internal/lib/helpers/camel-to-kebab-case.mjs +0 -12
  1333. package/esm2022/internal/lib/helpers/decorator-property-name.mjs +0 -12
  1334. package/esm2022/internal/lib/helpers/deepmerge.mjs +0 -6
  1335. package/esm2022/internal/lib/helpers/fast-equals.mjs +0 -3
  1336. package/esm2022/internal/lib/helpers/get-css-variables.mjs +0 -22
  1337. package/esm2022/internal/lib/helpers/get-enum-values.mjs +0 -6
  1338. package/esm2022/internal/lib/helpers/index.mjs +0 -8
  1339. package/esm2022/internal/lib/helpers/toggle-form-disabled-state.mjs +0 -6
  1340. package/esm2022/internal/lib/logger.mjs +0 -42
  1341. package/esm2022/internal/odx-angular-internal.mjs +0 -5
  1342. package/esm2022/internal/translate/index.mjs +0 -5
  1343. package/esm2022/internal/translate/lib/models/index.mjs +0 -2
  1344. package/esm2022/internal/translate/lib/models/translation-object.mjs +0 -2
  1345. package/esm2022/internal/translate/lib/pipes/index.mjs +0 -2
  1346. package/esm2022/internal/translate/lib/pipes/translate.pipe.mjs +0 -22
  1347. package/esm2022/internal/translate/lib/translate.config.mjs +0 -39
  1348. package/esm2022/internal/translate/lib/translate.service.mjs +0 -56
  1349. package/esm2022/internal/translate/odx-angular-internal-translate.mjs +0 -5
  1350. package/esm2022/lib/controllers/controller.mjs +0 -64
  1351. package/esm2022/lib/controllers/disabled.controller.mjs +0 -134
  1352. package/esm2022/lib/controllers/index.mjs +0 -4
  1353. package/esm2022/lib/controllers/readonly.controller.mjs +0 -135
  1354. package/esm2022/lib/core.module.mjs +0 -19
  1355. package/esm2022/lib/directives/click-outside.directive.mjs +0 -102
  1356. package/esm2022/lib/directives/delegate-focus.directive.mjs +0 -54
  1357. package/esm2022/lib/directives/index.mjs +0 -5
  1358. package/esm2022/lib/directives/with-disabled-state.directive.mjs +0 -41
  1359. package/esm2022/lib/directives/with-tabindex.directive.mjs +0 -24
  1360. package/esm2022/lib/models/environment.mjs +0 -6
  1361. package/esm2022/lib/models/index.mjs +0 -2
  1362. package/esm2022/lib/services/index.mjs +0 -2
  1363. package/esm2022/lib/services/window-ref.mjs +0 -157
  1364. package/esm2022/lib/tokens/identity-matcher.mjs +0 -31
  1365. package/esm2022/lib/tokens/index.mjs +0 -4
  1366. package/esm2022/lib/tokens/string-search-handler.mjs +0 -33
  1367. package/esm2022/lib/tokens/stringify.mjs +0 -33
  1368. package/esm2022/localization/index.mjs +0 -6
  1369. package/esm2022/localization/lib/features/index.mjs +0 -3
  1370. package/esm2022/localization/lib/features/with-http-language-header.mjs +0 -76
  1371. package/esm2022/localization/lib/features/with-http-language-query-param.mjs +0 -74
  1372. package/esm2022/localization/lib/loaders/browser-language-loader.mjs +0 -38
  1373. package/esm2022/localization/lib/loaders/index.mjs +0 -2
  1374. package/esm2022/localization/lib/localization.config.mjs +0 -90
  1375. package/esm2022/localization/lib/localization.logger.mjs +0 -3
  1376. package/esm2022/localization/lib/localization.service.mjs +0 -101
  1377. package/esm2022/localization/lib/models/index.mjs +0 -3
  1378. package/esm2022/localization/lib/models/language-loader-fn.mjs +0 -2
  1379. package/esm2022/localization/lib/models/localization-feature.mjs +0 -11
  1380. package/esm2022/localization/odx-angular-localization.mjs +0 -5
  1381. package/esm2022/odx-angular.mjs +0 -5
  1382. package/esm2022/rxjs/index.mjs +0 -6
  1383. package/esm2022/rxjs/lib/delay-until.mjs +0 -27
  1384. package/esm2022/rxjs/lib/from-element-mutation.mjs +0 -31
  1385. package/esm2022/rxjs/lib/from-element-resize.mjs +0 -38
  1386. package/esm2022/rxjs/lib/from-events.mjs +0 -29
  1387. package/esm2022/rxjs/lib/from-query-list.mjs +0 -24
  1388. package/esm2022/rxjs/odx-angular-rxjs.mjs +0 -5
  1389. package/esm2022/sdk/index.mjs +0 -2
  1390. package/esm2022/sdk/lib/application-environment.mjs +0 -85
  1391. package/esm2022/sdk/odx-angular-sdk.mjs +0 -5
  1392. package/esm2022/theming/index.mjs +0 -5
  1393. package/esm2022/theming/lib/helpers/index.mjs +0 -4
  1394. package/esm2022/theming/lib/helpers/prefers-dark-theme.mjs +0 -22
  1395. package/esm2022/theming/lib/helpers/resolve-theme.mjs +0 -30
  1396. package/esm2022/theming/lib/helpers/theme-storage.mjs +0 -61
  1397. package/esm2022/theming/lib/models/index.mjs +0 -2
  1398. package/esm2022/theming/lib/models/theme.mjs +0 -6
  1399. package/esm2022/theming/lib/theming.config.mjs +0 -54
  1400. package/esm2022/theming/lib/theming.service.mjs +0 -90
  1401. package/esm2022/theming/odx-angular-theming.mjs +0 -5
  1402. package/esm2022/utils/index.mjs +0 -4
  1403. package/esm2022/utils/lib/decorators/index.mjs +0 -2
  1404. package/esm2022/utils/lib/decorators/pure.mjs +0 -88
  1405. package/esm2022/utils/lib/helpers/angular.mjs +0 -74
  1406. package/esm2022/utils/lib/helpers/animations-handler.mjs +0 -20
  1407. package/esm2022/utils/lib/helpers/array.mjs +0 -51
  1408. package/esm2022/utils/lib/helpers/build-url.mjs +0 -24
  1409. package/esm2022/utils/lib/helpers/build-website-url.mjs +0 -30
  1410. package/esm2022/utils/lib/helpers/cache-storage-client.mjs +0 -104
  1411. package/esm2022/utils/lib/helpers/coercion.mjs +0 -23
  1412. package/esm2022/utils/lib/helpers/debounce.mjs +0 -48
  1413. package/esm2022/utils/lib/helpers/defer-fn.mjs +0 -24
  1414. package/esm2022/utils/lib/helpers/dom.mjs +0 -135
  1415. package/esm2022/utils/lib/helpers/event-manager.mjs +0 -49
  1416. package/esm2022/utils/lib/helpers/get-axis.mjs +0 -34
  1417. package/esm2022/utils/lib/helpers/get-language-code.mjs +0 -22
  1418. package/esm2022/utils/lib/helpers/get-opposite-side.mjs +0 -36
  1419. package/esm2022/utils/lib/helpers/get-side.mjs +0 -21
  1420. package/esm2022/utils/lib/helpers/get-unique-id.mjs +0 -42
  1421. package/esm2022/utils/lib/helpers/index.mjs +0 -24
  1422. package/esm2022/utils/lib/helpers/match-url.mjs +0 -48
  1423. package/esm2022/utils/lib/helpers/ng-changes.mjs +0 -43
  1424. package/esm2022/utils/lib/helpers/provide-config.mjs +0 -93
  1425. package/esm2022/utils/lib/helpers/queue.mjs +0 -185
  1426. package/esm2022/utils/lib/helpers/sorter.mjs +0 -91
  1427. package/esm2022/utils/lib/helpers/type-guards.mjs +0 -86
  1428. package/esm2022/utils/lib/helpers/until-destroyed.mjs +0 -45
  1429. package/esm2022/utils/lib/types/axis.mjs +0 -5
  1430. package/esm2022/utils/lib/types/get-properties.mjs +0 -2
  1431. package/esm2022/utils/lib/types/index.mjs +0 -5
  1432. package/esm2022/utils/lib/types/position.mjs +0 -15
  1433. package/esm2022/utils/lib/types/side.mjs +0 -7
  1434. package/esm2022/utils/odx-angular-utils.mjs +0 -5
  1435. package/internal/lib/decorators/css-component.d.ts +0 -8
  1436. package/internal/lib/decorators/css-modifier.d.ts +0 -9
  1437. package/internal/lib/decorators/index.d.ts +0 -2
  1438. package/internal/lib/helpers/camel-to-kebab-case.d.ts +0 -2
  1439. package/internal/lib/helpers/decorator-property-name.d.ts +0 -9
  1440. package/internal/lib/helpers/deepmerge.d.ts +0 -11
  1441. package/internal/lib/helpers/fast-equals.d.ts +0 -1
  1442. package/internal/lib/helpers/get-css-variables.d.ts +0 -7
  1443. package/internal/lib/helpers/get-enum-values.d.ts +0 -4
  1444. package/internal/lib/helpers/index.d.ts +0 -7
  1445. package/internal/lib/helpers/toggle-form-disabled-state.d.ts +0 -3
  1446. package/internal/lib/logger.d.ts +0 -15
  1447. package/internal/translate/lib/models/index.d.ts +0 -1
  1448. package/internal/translate/lib/models/translation-object.d.ts +0 -1
  1449. package/internal/translate/lib/pipes/index.d.ts +0 -1
  1450. package/internal/translate/lib/pipes/translate.pipe.d.ts +0 -9
  1451. package/internal/translate/lib/translate.config.d.ts +0 -37
  1452. package/internal/translate/lib/translate.service.d.ts +0 -38
  1453. package/lib/controllers/controller.d.ts +0 -39
  1454. package/lib/controllers/disabled.controller.d.ts +0 -85
  1455. package/lib/controllers/index.d.ts +0 -3
  1456. package/lib/controllers/readonly.controller.d.ts +0 -78
  1457. package/lib/core.module.d.ts +0 -10
  1458. package/lib/directives/click-outside.directive.d.ts +0 -50
  1459. package/lib/directives/delegate-focus.directive.d.ts +0 -25
  1460. package/lib/directives/index.d.ts +0 -4
  1461. package/lib/directives/with-disabled-state.directive.d.ts +0 -13
  1462. package/lib/directives/with-tabindex.directive.d.ts +0 -10
  1463. package/lib/models/environment.d.ts +0 -6
  1464. package/lib/models/index.d.ts +0 -1
  1465. package/lib/services/index.d.ts +0 -1
  1466. package/lib/services/window-ref.d.ts +0 -105
  1467. package/lib/tokens/identity-matcher.d.ts +0 -44
  1468. package/lib/tokens/index.d.ts +0 -3
  1469. package/lib/tokens/string-search-handler.d.ts +0 -42
  1470. package/lib/tokens/stringify.d.ts +0 -45
  1471. package/localization/lib/features/index.d.ts +0 -2
  1472. package/localization/lib/features/with-http-language-header.d.ts +0 -72
  1473. package/localization/lib/features/with-http-language-query-param.d.ts +0 -70
  1474. package/localization/lib/loaders/browser-language-loader.d.ts +0 -34
  1475. package/localization/lib/loaders/index.d.ts +0 -1
  1476. package/localization/lib/localization.config.d.ts +0 -90
  1477. package/localization/lib/localization.logger.d.ts +0 -3
  1478. package/localization/lib/localization.service.d.ts +0 -56
  1479. package/localization/lib/models/index.d.ts +0 -2
  1480. package/localization/lib/models/language-loader-fn.d.ts +0 -2
  1481. package/localization/lib/models/localization-feature.d.ts +0 -12
  1482. package/rxjs/lib/delay-until.d.ts +0 -24
  1483. package/rxjs/lib/from-element-mutation.d.ts +0 -23
  1484. package/rxjs/lib/from-element-resize.d.ts +0 -26
  1485. package/rxjs/lib/from-events.d.ts +0 -27
  1486. package/rxjs/lib/from-query-list.d.ts +0 -22
  1487. package/sdk/lib/application-environment.d.ts +0 -68
  1488. package/theming/lib/helpers/index.d.ts +0 -3
  1489. package/theming/lib/helpers/prefers-dark-theme.d.ts +0 -19
  1490. package/theming/lib/helpers/resolve-theme.d.ts +0 -27
  1491. package/theming/lib/helpers/theme-storage.d.ts +0 -46
  1492. package/theming/lib/models/index.d.ts +0 -1
  1493. package/theming/lib/models/theme.d.ts +0 -6
  1494. package/theming/lib/theming.config.d.ts +0 -56
  1495. package/theming/lib/theming.service.d.ts +0 -52
  1496. package/utils/lib/decorators/index.d.ts +0 -1
  1497. package/utils/lib/decorators/pure.d.ts +0 -52
  1498. package/utils/lib/helpers/angular.d.ts +0 -47
  1499. package/utils/lib/helpers/animations-handler.d.ts +0 -14
  1500. package/utils/lib/helpers/array.d.ts +0 -30
  1501. package/utils/lib/helpers/build-url.d.ts +0 -21
  1502. package/utils/lib/helpers/build-website-url.d.ts +0 -26
  1503. package/utils/lib/helpers/cache-storage-client.d.ts +0 -65
  1504. package/utils/lib/helpers/coercion.d.ts +0 -19
  1505. package/utils/lib/helpers/debounce.d.ts +0 -28
  1506. package/utils/lib/helpers/defer-fn.d.ts +0 -21
  1507. package/utils/lib/helpers/dom.d.ts +0 -82
  1508. package/utils/lib/helpers/event-manager.d.ts +0 -14
  1509. package/utils/lib/helpers/get-axis.d.ts +0 -22
  1510. package/utils/lib/helpers/get-language-code.d.ts +0 -18
  1511. package/utils/lib/helpers/get-opposite-side.d.ts +0 -23
  1512. package/utils/lib/helpers/get-side.d.ts +0 -19
  1513. package/utils/lib/helpers/get-unique-id.d.ts +0 -35
  1514. package/utils/lib/helpers/index.d.ts +0 -23
  1515. package/utils/lib/helpers/match-url.d.ts +0 -42
  1516. package/utils/lib/helpers/ng-changes.d.ts +0 -62
  1517. package/utils/lib/helpers/provide-config.d.ts +0 -69
  1518. package/utils/lib/helpers/queue.d.ts +0 -123
  1519. package/utils/lib/helpers/sorter.d.ts +0 -51
  1520. package/utils/lib/helpers/type-guards.d.ts +0 -67
  1521. package/utils/lib/helpers/until-destroyed.d.ts +0 -40
  1522. package/utils/lib/types/axis.d.ts +0 -5
  1523. package/utils/lib/types/get-properties.d.ts +0 -5
  1524. package/utils/lib/types/index.d.ts +0 -4
  1525. package/utils/lib/types/position.d.ts +0 -15
  1526. package/utils/lib/types/side.d.ts +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-custom-form-control.mjs","sources":["../../../../libs/angular/cdk/custom-form-control/src/lib/control.directive.ts","../../../../libs/angular/cdk/custom-form-control/src/lib/custom-form-control.ts","../../../../libs/angular/cdk/custom-form-control/src/lib/input-control.directive.ts","../../../../libs/angular/cdk/custom-form-control/src/odx-angular-cdk-custom-form-control.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { injectElement } from '@odx/angular/utils';\n\n@Directive({\n standalone: true,\n selector: '[odxControl]',\n exportAs: 'odxControl',\n})\nexport class ControlDirective {\n public readonly element = injectElement();\n}\n","import { booleanAttribute, Directive, inject, Input, ViewChild } from '@angular/core';\nimport { ControlValueAccessor, NgControl, RequiredValidator, ValidationErrors, ValidatorFn, Validators } from '@angular/forms';\nimport { Controller, DisabledController, ReadonlyController } from '@odx/angular';\nimport { arrayAttribute, Pure } from '@odx/angular/utils';\nimport { ControlDirective } from './control.directive';\n\n/**\n * An abstract directive that serves as a base for custom form controls, integrating seamlessly with Angular Forms.\n * It incorporates common form control behaviors such as handling disabled and readonly states, validation, and more.\n *\n * This approach allows the creation of highly reusable and consistent form controls within Angular applications,\n * simplifying the integration with Angular Forms and the handling of common form behaviors.\n *\n * Extends Controller to provide a consistent API for managing state changes and subscriptions.\n *\n * @see {Controller}\n */\n@Directive({\n host: {\n '[class.has-error]': 'hasError',\n '[class.is-disabled]': 'isDisabled',\n '[class.is-readonly]': 'isReadonly',\n '[class.is-required]': 'isRequired',\n },\n})\nexport abstract class CustomFormControl<T> extends Controller implements ControlValueAccessor {\n private static CURRENT_INDEX = 0;\n\n private readonly requiredValidator = inject(RequiredValidator, { optional: true, self: true });\n private internalValue: T;\n protected readonly disabledController = DisabledController.inject();\n protected readonly readonlyController = ReadonlyController.inject();\n protected readonly ngControl = inject(NgControl, { self: true, optional: true });\n\n /**\n * A unique identifier for the custom form control. If not provided, a unique ID is generated automatically.\n * This can be useful for associating form control with a label.\n *\n * @type {string}\n */\n @Input()\n public id: string | null = null;\n\n /**\n * The name attribute for the custom form control. Defaults to a unique name if not provided.\n * This is useful when the form control is part of a form and needs to be identified.\n *\n * @type {string}\n */\n @Input()\n public name = `odx-form-control-${CustomFormControl.CURRENT_INDEX++}`;\n\n /**\n * The tabindex attribute for the custom form control. Can be used to control the order of focus navigation.\n *\n * @type {string | null}\n */\n @Input()\n public tabindex: string | null = null;\n\n /**\n * An array of error codes to ignore. If an error code is included in this array, the form control will not\n * consider it as an error state. Useful for ignoring specific validation errors.\n *\n * @type {string[]}\n */\n @Input({ transform: arrayAttribute })\n public ignoreErrors: string[] = [];\n\n @Input({ transform: booleanAttribute })\n public required = false;\n\n /**\n * The current value of the form control. Setting this value updates the internal state and marks the control\n * for checking changes. Getting this value returns the current internal value of the control.\n *\n * @example\n * ```ts\n * this.customInputControl.value = 'newValue'; // Sets the value\n * const currentValue = this.customInputControl.value; // Gets the current value\n * ```\n */\n public set value(value: T) {\n if (this.internalValue !== value) {\n this.internalValue = value;\n this.triggerControllerChange();\n }\n }\n\n /**\n * Gets the value of the custom form control.\n *\n * @returns {T} - The value of the custom form control.\n */\n public get value(): T {\n return this.internalValue;\n }\n\n /**\n * Indicates whether the form control currently has an error. This takes into account any ignored errors.\n *\n * @returns {boolean} - True if the form control has an error, false otherwise.\n *\n * @example\n * ```ts\n * if (this.customInputControl.hasError) { ... }\n * ```\n */\n public get hasError(): boolean {\n return !!this.ngControl?.touched && !!this.ngControl?.invalid && this.hasNonIgnoredError(this.ngControl.errors);\n }\n\n /**\n * Indicates whether the form control is currently disabled.\n *\n * @returns {boolean} - True if the form control is disabled, false otherwise.\n *\n * @example\n * ```ts\n * if (this.customInputControl.isDisabled) { ... }\n * ```\n */\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n\n /**\n * Indicates whether the form control is currently in a readonly state.\n *\n * @returns {boolean} - True if the form control is readonly, false otherwise.\n *\n * @example\n * ```ts\n * if (this.customInputControl.isReadonly) { ... }\n * ```\n */\n public get isReadonly(): boolean {\n return !!this.readonlyController?.readonly;\n }\n\n /**\n * Indicates whether the form control is marked as required, either through Validators.required, Validators.requiredTrue,\n * or by a required attribute on a parent form field.\n *\n * @returns {boolean} - True if the form control is required, false otherwise.\n *\n * @example\n * ````ts\n * if (this.customInputControl.isRequired) { ... }\n * ````\n */\n public get isRequired(): boolean {\n return this.required || !!this.requiredValidator?.required || this.hasValidator(Validators.required) || this.hasValidator(Validators.requiredTrue);\n }\n\n /**\n * A reference to the `ControlDirective` if it exists within the same host. This allows for direct interaction\n * with the underlying form control directive.\n *\n * @type {ControlDirective | null}\n *\n * @example\n * ```ts\n * this.customInputControl.control?.focus();\n * ```\n */\n @ViewChild(ControlDirective)\n public readonly control: ControlDirective | null = null;\n\n constructor(initialValue: T) {\n super();\n this.internalValue = initialValue;\n if (this.ngControl) {\n this.ngControl.valueAccessor = this;\n }\n }\n\n /** @internal */\n public onTouched() {\n // implemented by control value accessor\n }\n\n /** @internal */\n public onChange(_value: T) {\n // implemented by control value accessor\n }\n\n /** @internal */\n public registerOnChange(fn: (value: T) => void): void {\n this.onChange = fn;\n }\n /** @internal */\n public registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n /** @internal */\n public setDisabledState(isDisabled: boolean): void {\n this.disabledController?.setDisabledState(isDisabled);\n }\n\n /** @internal */\n public writeValue(value: T): void {\n this.value = value;\n this.onChange(value);\n }\n\n /** @internal */\n public updateValue(value: T): void {\n if (this.isDisabled) return;\n this.writeValue(value);\n this.onTouched();\n }\n\n protected hasValidator(validator: ValidatorFn): boolean {\n return !!this.ngControl?.control?.hasValidator(validator);\n }\n\n @Pure\n private hasNonIgnoredError(errors: ValidationErrors | null): boolean {\n if (!errors) return false;\n\n return Object.keys(errors).some((error) => !this.ignoreErrors.includes(error));\n }\n}\n","import { Directive } from '@angular/core';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\nimport { distinctUntilChanged, fromEvent, map } from 'rxjs';\n\n/**\n * An abstract directive that facilitates handling input changes, focusing, and blurring programmatically for input elements.\n * It provides a reactive `valueChange$` observable to subscribe to input changes.\n * This directive can be extended to create more specific input handlers.\n *\n * @example\n * Extending InputControlDirective in a custom directive:\n * ```ts\n * @Directive({\n * selector: '[appCustomInput]',\n * standalone: true,\n * })\n * export class CustomInputDirective extends InputControlDirective {\n * // Custom logic here\n * }\n * ```\n *\n * Using the directive in a component template:\n * ```html\n * <input appCustomInput type=\"text\" />\n * ```\n *\n * Subscribing to input changes in the component:\n * ```ts\n * @Component({...})\n * export class MyComponent implements AfterViewInit {\n * @ViewChild(CustomInputDirective) customInputDirective!: CustomInputDirective;\n *\n * ngAfterViewInit(): void {\n * this.customInputDirective.valueChange$.subscribe(value => {\n * console.log('Input value changed to:', value);\n * });\n * }\n * }\n *\n * // Focusing the input programmatically\n * this.customInputDirective.focus();\n *\n * // Blurring the input programmatically\n * this.customInputDirective.blur();\n *\n * // Resetting the input value programmatically\n * this.customInputDirective.reset();\n * ```\n */\n@Directive({\n standalone: true,\n})\nexport abstract class InputControlDirective {\n protected readonly takeUntilDestroyed = untilDestroyed();\n\n public readonly element = injectElement<HTMLInputElement>();\n\n /**\n * Represents an observable stream of value changes for the input control.\n *\n * @emits {string} input value changes.\n */\n public valueChange$ = fromEvent(this.element.nativeElement, 'input').pipe(\n distinctUntilChanged(),\n map(() => this.nativeElementValue),\n );\n\n /**\n * Gets the current value of the input element.\n *\n * @type {string} The current value of the input element.\n */\n public get nativeElementValue(): string {\n return this.element.nativeElement.value;\n }\n\n /**\n * Sets the value of the input element.\n *\n * @param {string} value - The value to set.\n */\n public set nativeElementValue(value: string) {\n this.element.nativeElement.value = value;\n }\n\n /**\n * Sets focus on the input element.\n *\n * @returns {void}\n */\n public focus(): void {\n this.element.nativeElement.focus();\n }\n\n /**\n * Removes focus from the input element.\n *\n * @returns {void}\n */\n public blur(): void {\n this.element.nativeElement.blur();\n }\n\n /**\n * Resets the input element value to an empty string.\n *\n * @returns {void}\n */\n public reset(): void {\n this.element.nativeElement.value = '';\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAQa,gBAAgB,CAAA;AAL7B,IAAA,WAAA,GAAA;QAMkB,IAAA,CAAA,OAAO,GAAG,aAAa,EAAE;AAC1C,IAAA;+GAFY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,QAAQ,EAAE,YAAY;AACvB,iBAAA;;;ACDD;;;;;;;;;;AAUG;AASG,MAAgB,iBAAqB,SAAQ,UAAU,CAAA;aAC5C,IAAA,CAAA,aAAa,G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C,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,GAAG,KAAK;IAC1C;AAEA;;;;AAIG;IACI,KAAK,GAAA;AACV,QAAA,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,EAAE;IACpC;AAEA;;;;AAIG;IACI,IAAI,GAAA;AACT,QAAA,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE;IACnC;AAEA;;;;AAIG;IACI,KAAK,GAAA;QACV,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,GAAG,EAAE;IACvC;+GA1DoB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAH1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACnDD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-custom-form-control.mjs","sources":["../../../../libs/angular/cdk/custom-form-control/src/lib/control.directive.ts","../../../../libs/angular/cdk/custom-form-control/src/lib/custom-form-control.ts","../../../../libs/angular/cdk/custom-form-control/src/lib/input-control.directive.ts","../../../../libs/angular/cdk/custom-form-control/src/odx-angular-cdk-custom-form-control.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { injectElement } from '@odx/angular/utils';\n\n@Directive({\n standalone: true,\n selector: '[odxControl]',\n exportAs: 'odxControl',\n})\nexport class ControlDirective {\n public readonly element = injectElement();\n}\n","import { booleanAttribute, Directive, inject, Input, ViewChild } from '@angular/core';\nimport { ControlValueAccessor, NgControl, RequiredValidator, ValidationErrors, ValidatorFn, Validators } from '@angular/forms';\nimport { Controller, DisabledController, ReadonlyController } from '@odx/angular';\nimport { arrayAttribute, Pure } from '@odx/angular/utils';\nimport { ControlDirective } from './control.directive';\n\n/**\n * An abstract directive that serves as a base for custom form controls, integrating seamlessly with Angular Forms.\n * It incorporates common form control behaviors such as handling disabled and readonly states, validation, and more.\n *\n * This approach allows the creation of highly reusable and consistent form controls within Angular applications,\n * simplifying the integration with Angular Forms and the handling of common form behaviors.\n *\n * Extends Controller to provide a consistent API for managing state changes and subscriptions.\n *\n * @see {Controller}\n */\n@Directive({\n host: {\n '[class.has-error]': 'hasError',\n '[class.is-disabled]': 'isDisabled',\n '[class.is-readonly]': 'isReadonly',\n '[class.is-required]': 'isRequired',\n },\n})\nexport abstract class CustomFormControl<T> extends Controller implements ControlValueAccessor {\n private static CURRENT_INDEX = 0;\n\n private readonly requiredValidator = inject(RequiredValidator, { optional: true, self: true });\n private internalValue: T;\n protected readonly disabledController = DisabledController.inject();\n protected readonly readonlyController = ReadonlyController.inject();\n protected readonly ngControl = inject(NgControl, { self: true, optional: true });\n\n /**\n * A unique identifier for the custom form control. If not provided, a unique ID is generated automatically.\n * This can be useful for associating form control with a label.\n *\n * @type {string}\n */\n @Input()\n public id: string | null = null;\n\n /**\n * The name attribute for the custom form control. Defaults to a unique name if not provided.\n * This is useful when the form control is part of a form and needs to be identified.\n *\n * @type {string}\n */\n @Input()\n public name = `odx-form-control-${CustomFormControl.CURRENT_INDEX++}`;\n\n /**\n * The tabindex attribute for the custom form control. Can be used to control the order of focus navigation.\n *\n * @type {string | null}\n */\n @Input()\n public tabindex: string | null = null;\n\n /**\n * An array of error codes to ignore. If an error code is included in this array, the form control will not\n * consider it as an error state. Useful for ignoring specific validation errors.\n *\n * @type {string[]}\n */\n @Input({ transform: arrayAttribute })\n public ignoreErrors: string[] = [];\n\n @Input({ transform: booleanAttribute })\n public required = false;\n\n /**\n * The current value of the form control. Setting this value updates the internal state and marks the control\n * for checking changes. Getting this value returns the current internal value of the control.\n *\n * @example\n * ```ts\n * this.customInputControl.value = 'newValue'; // Sets the value\n * const currentValue = this.customInputControl.value; // Gets the current value\n * ```\n */\n public set value(value: T) {\n if (this.internalValue !== value) {\n this.internalValue = value;\n this.triggerControllerChange();\n }\n }\n\n /**\n * Gets the value of the custom form control.\n *\n * @returns {T} - The value of the custom form control.\n */\n public get value(): T {\n return this.internalValue;\n }\n\n /**\n * Indicates whether the form control currently has an error. This takes into account any ignored errors.\n *\n * @returns {boolean} - True if the form control has an error, false otherwise.\n *\n * @example\n * ```ts\n * if (this.customInputControl.hasError) { ... }\n * ```\n */\n public get hasError(): boolean {\n return !!this.ngControl?.touched && !!this.ngControl?.invalid && this.hasNonIgnoredError(this.ngControl.errors);\n }\n\n /**\n * Indicates whether the form control is currently disabled.\n *\n * @returns {boolean} - True if the form control is disabled, false otherwise.\n *\n * @example\n * ```ts\n * if (this.customInputControl.isDisabled) { ... }\n * ```\n */\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n\n /**\n * Indicates whether the form control is currently in a readonly state.\n *\n * @returns {boolean} - True if the form control is readonly, false otherwise.\n *\n * @example\n * ```ts\n * if (this.customInputControl.isReadonly) { ... }\n * ```\n */\n public get isReadonly(): boolean {\n return !!this.readonlyController?.readonly;\n }\n\n /**\n * Indicates whether the form control is marked as required, either through Validators.required, Validators.requiredTrue,\n * or by a required attribute on a parent form field.\n *\n * @returns {boolean} - True if the form control is required, false otherwise.\n *\n * @example\n * ````ts\n * if (this.customInputControl.isRequired) { ... }\n * ````\n */\n public get isRequired(): boolean {\n return this.required || !!this.requiredValidator?.required || this.hasValidator(Validators.required) || this.hasValidator(Validators.requiredTrue);\n }\n\n /**\n * A reference to the `ControlDirective` if it exists within the same host. This allows for direct interaction\n * with the underlying form control directive.\n *\n * @type {ControlDirective | null}\n *\n * @example\n * ```ts\n * this.customInputControl.control?.focus();\n * ```\n */\n @ViewChild(ControlDirective)\n public readonly control: ControlDirective | null = null;\n\n // eslint-disable-next-line @angular-eslint/prefer-inject\n constructor(initialValue: T) {\n super();\n this.internalValue = initialValue;\n if (this.ngControl) {\n this.ngControl.valueAccessor = this;\n }\n }\n\n /** @internal */\n public onTouched() {\n // implemented by control value accessor\n }\n\n /** @internal */\n public onChange(_value: T) {\n // implemented by control value accessor\n }\n\n /** @internal */\n public registerOnChange(fn: (value: T) => void): void {\n this.onChange = fn;\n }\n /** @internal */\n public registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n /** @internal */\n public setDisabledState(isDisabled: boolean): void {\n this.disabledController?.setDisabledState(isDisabled);\n }\n\n /** @internal */\n public writeValue(value: T): void {\n this.value = value;\n this.onChange(value);\n }\n\n /** @internal */\n public updateValue(value: T): void {\n if (this.isDisabled) return;\n this.writeValue(value);\n this.onTouched();\n }\n\n protected hasValidator(validator: ValidatorFn): boolean {\n return !!this.ngControl?.control?.hasValidator(validator);\n }\n\n @Pure\n private hasNonIgnoredError(errors: ValidationErrors | null): boolean {\n if (!errors) return false;\n\n return Object.keys(errors).some((error) => !this.ignoreErrors.includes(error));\n }\n}\n","import { Directive } from '@angular/core';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\nimport { distinctUntilChanged, fromEvent, map } from 'rxjs';\n\n/**\n * An abstract directive that facilitates handling input changes, focusing, and blurring programmatically for input elements.\n * It provides a reactive `valueChange$` observable to subscribe to input changes.\n * This directive can be extended to create more specific input handlers.\n *\n * @example\n * Extending InputControlDirective in a custom directive:\n * ```ts\n * @Directive({\n * selector: '[appCustomInput]',\n * standalone: true,\n * })\n * export class CustomInputDirective extends InputControlDirective {\n * // Custom logic here\n * }\n * ```\n *\n * Using the directive in a component template:\n * ```html\n * <input appCustomInput type=\"text\" />\n * ```\n *\n * Subscribing to input changes in the component:\n * ```ts\n * @Component({...})\n * export class MyComponent implements AfterViewInit {\n * @ViewChild(CustomInputDirective) customInputDirective!: CustomInputDirective;\n *\n * ngAfterViewInit(): void {\n * this.customInputDirective.valueChange$.subscribe(value => {\n * console.log('Input value changed to:', value);\n * });\n * }\n * }\n *\n * // Focusing the input programmatically\n * this.customInputDirective.focus();\n *\n * // Blurring the input programmatically\n * this.customInputDirective.blur();\n *\n * // Resetting the input value programmatically\n * this.customInputDirective.reset();\n * ```\n */\n@Directive({\n standalone: true,\n})\nexport abstract class InputControlDirective {\n protected readonly takeUntilDestroyed = untilDestroyed();\n\n public readonly element = injectElement<HTMLInputElement>();\n\n /**\n * Represents an observable stream of value changes for the input control.\n *\n * @emits {string} input value changes.\n */\n public valueChange$ = fromEvent(this.element.nativeElement, 'input').pipe(\n distinctUntilChanged(),\n map(() => this.nativeElementValue),\n );\n\n /**\n * Gets the current value of the input element.\n *\n * @type {string} The current value of the input element.\n */\n public get nativeElementValue(): string {\n return this.element.nativeElement.value;\n }\n\n /**\n * Sets the value of the input element.\n *\n * @param {string} value - The value to set.\n */\n public set nativeElementValue(value: string) {\n this.element.nativeElement.value = value;\n }\n\n /**\n * Sets focus on the input element.\n *\n * @returns {void}\n */\n public focus(): void {\n this.element.nativeElement.focus();\n }\n\n /**\n * Removes focus from the input element.\n *\n * @returns {void}\n */\n public blur(): void {\n this.element.nativeElement.blur();\n }\n\n /**\n * Resets the input element value to an empty string.\n *\n * @returns {void}\n */\n public reset(): void {\n this.element.nativeElement.value = '';\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAQa,gBAAgB,CAAA;AAL7B,IAAA,WAAA,GAAA;QAMkB,IAAA,CAAA,OAAO,GAAG,aAAa,EAAE;AAC1C,IAAA;+GAFY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,SAAS;AAAC,YAAA,I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H,IAAW,kBAAkB,CAAC,KAAa,EAAA;QACzC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,GAAG,KAAK;IAC1C;AAEA;;;;AAIG;IACI,KAAK,GAAA;AACV,QAAA,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,EAAE;IACpC;AAEA;;;;AAIG;IACI,IAAI,GAAA;AACT,QAAA,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE;IACnC;AAEA;;;;AAIG;IACI,KAAK,GAAA;QACV,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,GAAG,EAAE;IACvC;+GA1DoB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAH1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACnDD;;AAEG;;;;"}
@@ -1,9 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Input, ViewEncapsulation, ChangeDetectionStrategy, Component, reflectComponentType, ApplicationRef, createComponent, EnvironmentInjector, InjectionToken, inject, Injector, Injectable, ViewContainerRef, TemplateRef, Directive } from '@angular/core';
2
+ import { Input, ViewEncapsulation, ChangeDetectionStrategy, Component, reflectComponentType, ApplicationRef, createComponent, EnvironmentInjector, InjectionToken, inject, DOCUMENT, Injector, Injectable, ViewContainerRef, TemplateRef, Directive } from '@angular/core';
3
3
  import { injectElement, isString, isViewContainer, isTemplateRef, isComponent, hasChanged } from '@odx/angular/utils';
4
4
  import { isObservable, distinctUntilChanged } from 'rxjs';
5
5
  import { deepmerge } from '@odx/angular/internal';
6
- import { DOCUMENT } from '@angular/common';
7
6
 
8
7
  class DynamicViewComponent {
9
8
  constructor() {
@@ -28,10 +27,10 @@ class DynamicViewComponent {
28
27
  setContent(value) {
29
28
  this.element.nativeElement.innerHTML = value;
30
29
  }
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DynamicViewComponent, isStandalone: true, selector: "odx-dynamic-view", inputs: { content: "content" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DynamicViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: DynamicViewComponent, isStandalone: true, selector: "odx-dynamic-view", inputs: { content: "content" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
33
32
  }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicViewComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DynamicViewComponent, decorators: [{
35
34
  type: Component,
36
35
  args: [{
37
36
  selector: 'odx-dynamic-view',
@@ -398,10 +397,10 @@ class DynamicViewService {
398
397
  }
399
398
  throw new Error('Content type is not supported');
400
399
  }
401
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
402
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicViewService, providedIn: 'root' }); }
400
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DynamicViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
401
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DynamicViewService, providedIn: 'root' }); }
403
402
  }
404
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicViewService, decorators: [{
403
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DynamicViewService, decorators: [{
405
404
  type: Injectable,
406
405
  args: [{ providedIn: 'root' }]
407
406
  }] });
@@ -494,10 +493,10 @@ class DynamicViewDirective {
494
493
  this.contentViewRef = null;
495
494
  this.viewRef = null;
496
495
  }
497
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicViewDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
498
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DynamicViewDirective, isStandalone: true, selector: "ng-template[odxDynamicView]", inputs: { content: ["odxDynamicView", "content"], injector: ["odxDynamicViewInjector", "injector"], context: ["odxDynamicViewContext", "context"] }, usesOnChanges: true, ngImport: i0 }); }
496
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DynamicViewDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
497
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: DynamicViewDirective, isStandalone: true, selector: "ng-template[odxDynamicView]", inputs: { content: ["odxDynamicView", "content"], injector: ["odxDynamicViewInjector", "injector"], context: ["odxDynamicViewContext", "context"] }, usesOnChanges: true, ngImport: i0 }); }
499
498
  }
500
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicViewDirective, decorators: [{
499
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DynamicViewDirective, decorators: [{
501
500
  type: Directive,
502
501
  args: [{
503
502
  selector: 'ng-template[odxDynamicView]',
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-dynamic-view.mjs","sources":["../../../../libs/angular/cdk/dynamic-view/src/lib/dynamic-view.component.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/helpers/create-projectable-nodes.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/helpers/is-dynamic-text-content.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/models/dynamic-component-ref.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/models/dynamic-template-ref.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/helpers/is-dynamic-view.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/tokens/dynamic-view-context.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/tokens/dynamic-view-default-host.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/dynamic-view.service.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/dynamic-view.directive.ts","../../../../libs/angular/cdk/dynamic-view/src/odx-angular-cdk-dynamic-view.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { injectElement } from '@odx/angular/utils';\nimport { distinctUntilChanged, isObservable, Subscription } from 'rxjs';\nimport { DynamicTextContent } from './facade';\n\n@Component({\n selector: 'odx-dynamic-view',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n})\nexport class DynamicViewComponent implements OnDestroy {\n private readonly element = injectElement();\n private currentSubscription: Subscription | null = null;\n\n @Input()\n public set content(value: DynamicTextContent) {\n if (isObservable(value)) {\n this.ngOnDestroy();\n this.currentSubscription = value.pipe(distinctUntilChanged()).subscribe((innerValue) => {\n this.setContent(innerValue);\n });\n } else {\n this.setContent(value);\n }\n }\n\n public ngOnDestroy(): void {\n this.currentSubscription?.unsubscribe();\n this.currentSubscription = null;\n }\n\n private setContent(value: string): void {\n this.element.nativeElement.innerHTML = value;\n }\n}\n","import { reflectComponentType, Type } from '@angular/core';\n\n/**\n * Prepares an array of node arrays suitable for projection into the `<ng-content>` slots\n * of a dynamically created Angular component based on its content selectors.\n *\n * The function inspects the component's content selectors and aligns the provided nodes\n * for projection according to these selectors. A selector of '*' indicates that the nodes\n * should be projected into this slot. If a content selector does not match '*', an empty\n * array is returned for that slot, indicating no nodes are projected into it.\n *\n * @param {Type<unknown>} component - The component class for which the projectable nodes are being prepared.\n * @param {Node[]} nodes - The nodes intended for projection into the component's `<ng-content>` slots.\n * @returns {Node[][]} An array of node arrays, each corresponding to a `<ng-content>` slot in the component.\n * Each sub-array contains nodes to be projected into the respective `<ng-content>` slot, based on the component's content selectors.\n *\n * @example\n * ```ts\n * // Given a component with two `<ng-content>` slots, the first without a selector and the second with the selector `<ng-content select=\".selector-class\">`,\n * const nodes = [document.createTextNode('Hello'), document.createElement('div')];\n * const projectableNodes = createProjectableNodes(MyComponent, nodes);\n * // projectableNodes would be `[[TextNode, DivElement], []]` for a component with selectors ['*', '.selector-class']\n * ```\n */\nexport function createProjectableNodes(component: Type<unknown>, nodes: Node[]): Node[][] {\n const componentType = reflectComponentType(component);\n if (componentType && componentType.ngContentSelectors.length > 0) {\n return componentType.ngContentSelectors.map((selector) => (selector === '*' ? nodes : []));\n }\n return [];\n}\n","import { isString } from '@odx/angular/utils';\nimport { isObservable } from 'rxjs';\nimport { DynamicTextContent } from '../facade';\n\n/**\n * Type guard function to check if a given value is considered dynamic text content.\n * Dynamic text content can either be a plain string or an Observable. This function\n * facilitates type-safe handling of dynamic text content by checking the type of the value.\n *\n * @param {unknown} value - The value to be checked.\n * @returns {value is DynamicTextContent} Returns `true` if the value is a string or an Observable,\n * indicating it can be used as dynamic text content; otherwise, returns `false`.\n *\n * @example\n * ```ts\n * // Example usage of the isDynamicTextContent function\n * const textValue: unknown = getTextValue(); // This function may return either string or Observable\n *\n * if (isDynamicTextContent(textValue)) {\n * // The type of textValue is now narrowed to DynamicTextContent (string | Observable)\n * console.log('The value can be used as dynamic text content.');\n * } else {\n * console.log('The value is not suitable as dynamic text content.');\n * }\n * ```\n */\nexport function isDynamicTextContent(value: unknown): value is DynamicTextContent {\n return isString(value) || isObservable(value);\n}\n","import { ApplicationRef, ComponentRef, createComponent, EnvironmentInjector, reflectComponentType, Type, ViewRef } from '@angular/core';\nimport { deepmerge } from '@odx/angular/internal';\nimport { isViewContainer } from '@odx/angular/utils';\nimport { GetDynamicViewContext } from '../facade';\nimport { DynamicViewRef } from '../facade/dynamic-view-ref';\nimport { DynamicViewOptions } from './dynamic-view-options';\n\nexport interface DynamicComponentOptions<T extends Type<unknown>> extends DynamicViewOptions<T> {\n component: T;\n}\n\n/**\n * The DynamicComponentRef class is a powerful utility for dynamically creating and managing\n * Angular components at runtime. It encapsulates the logic for component creation, input handling,\n * and lifecycle management, making it easier to work with dynamic components in complex applications.\n *\n * A reference to a dynamically created component, providing methods to manage its lifecycle,\n * detect changes, and update its inputs based on a context.\n *\n * @template T - The type of the component being managed.\n * @template C - The type of the context used to update the component's inputs.\n */\nexport class DynamicComponentRef<T extends Type<unknown>, C extends GetDynamicViewContext<T>> implements DynamicViewRef<T> {\n private readonly application = this.options.injector.get(ApplicationRef);\n private componentRef: ComponentRef<T> | null = null;\n private componentInputs: Record<string, true> | null = null;\n\n constructor(private readonly options: DynamicComponentOptions<T>) {\n const { component, context, injector, projectableNodes, host } = options;\n\n this.componentRef = createComponent(component as Type<T>, {\n environmentInjector: injector.get(EnvironmentInjector),\n elementInjector: injector,\n projectableNodes,\n });\n this.componentInputs =\n reflectComponentType(this.componentRef.componentType)?.inputs.reduce(\n (acc, { propName }) => {\n acc[propName] = true;\n return acc;\n },\n {} as Record<string, true>,\n ) ?? null;\n\n if (isViewContainer(host)) {\n host.insert(this.componentRef.hostView);\n } else {\n this.application.attachView(this.componentRef.hostView);\n if (host) {\n host.appendChild(this.getElement());\n }\n }\n if (context) {\n this.update(context as C);\n }\n }\n\n /**\n * Triggers change detection for the dynamically created component, ensuring that any updates to inputs\n * or internal state are reflected in the view.\n */\n public detectChanges(): void {\n this.componentRef?.changeDetectorRef.detectChanges();\n }\n\n /**\n * Destroys the dynamically created component, cleaning up resources and detaching it from the application view.\n */\n public destroy(): void {\n if (this.componentRef?.hostView.destroyed) {\n this.componentRef = null;\n return;\n }\n if (this.componentRef && !isViewContainer(this.options.host)) {\n this.application.detachView(this.componentRef.hostView);\n }\n this.componentRef?.destroy();\n this.componentRef = null;\n this.componentInputs = null;\n }\n\n /**\n * Retrieves the native element associated with the dynamically created component's host view.\n *\n * @returns {Element} The native DOM element of the component.\n */\n public getElement(): Element {\n return this.componentRef?.location.nativeElement ?? null;\n }\n\n /**\n * Updates the component's inputs based on the provided context. Merges the new context with the existing\n * context and applies the combined context as inputs to the component.\n *\n * @param {C} context - The context containing new values for the component's inputs.\n */\n public update(context: C): void {\n this.options.context = deepmerge({}, this.options.context, context) as C;\n if (!this.componentRef) return;\n for (const key in this.options.context) {\n if (this.componentInputs?.[key]) {\n this.componentRef.setInput(key, this.options.context[key]);\n }\n }\n }\n\n /**\n * Retrieves the current context used for the component's inputs.\n *\n * @returns {GetDynamicViewContext<T>} The current context object.\n */\n public getContext(): GetDynamicViewContext<T> {\n return this.options.context ?? {};\n }\n\n /**\n * Retrieves the view reference associated with the dynamically created component.\n *\n * @returns {ViewRef | null} The view reference, or null if the component has not been created or has been destroyed.\n */\n public getView(): ViewRef | null {\n return this.componentRef?.hostView ?? null;\n }\n}\n","import { ApplicationRef, EmbeddedViewRef, TemplateRef as NgTemplateRef, ViewRef } from '@angular/core';\nimport { deepmerge } from '@odx/angular/internal';\nimport { isViewContainer } from '@odx/angular/utils';\nimport { DynamicViewRef, GetDynamicViewContext } from '../facade';\nimport { DynamicViewOptions } from './dynamic-view-options';\n\nexport interface DynamicTemplateOptions<T extends NgTemplateRef<unknown>> extends DynamicViewOptions<T> {\n template: T;\n}\n\n/**\n * A reference to a dynamically created template, offering methods to manage its lifecycle,\n * detect changes, and update its context. It encapsulates the logic for creating and manipulating\n * an `EmbeddedViewRef` from a given `TemplateRef`.\n *\n * @template T - The type of the `NgTemplateRef` being managed.\n */\nexport class DynamicTemplateRef<T extends NgTemplateRef<unknown> = NgTemplateRef<unknown>> implements DynamicViewRef<T> {\n private readonly application = this.options.injector.get(ApplicationRef);\n private embeddedViewRef: EmbeddedViewRef<unknown> | null = null;\n\n constructor(private readonly options: DynamicTemplateOptions<T>) {\n this.create(options);\n }\n\n /**\n * Triggers change detection on the embedded view created from the template, ensuring that any updates\n * to the context or internal state are reflected in the view.\n */\n public detectChanges(): void {\n this.embeddedViewRef?.detectChanges();\n }\n\n /**\n * Destroys the embedded view associated with the template, cleaning up resources and detaching it from the\n * application view if necessary.\n */\n public destroy(): void {\n if (this.embeddedViewRef?.destroyed) {\n this.embeddedViewRef = null;\n return;\n }\n if (!isViewContainer(this.options.host) && this.embeddedViewRef) {\n this.application.detachView(this.embeddedViewRef);\n }\n this.embeddedViewRef?.destroy();\n this.embeddedViewRef = null;\n }\n\n /**\n * Retrieves the native element associated with the template's embedded view's root node.\n *\n * @returns {Element} The native DOM element of the embedded view's root node, if available.\n */\n public getElement(): Element {\n return this.embeddedViewRef?.rootNodes?.[0] ?? null;\n }\n\n /**\n * Updates the context of the embedded view based on the provided context object. Merges the new context\n * with the existing one and applies the combined context to the embedded view.\n *\n * @param {GetDynamicViewContext<T>} context - The context containing new values for the template's view.\n */\n public update(context: GetDynamicViewContext<T>): void {\n this.options.context = deepmerge({}, this.options.context, context) as GetDynamicViewContext<T>;\n if (this.embeddedViewRef) {\n this.embeddedViewRef.context = this.options.context;\n this.detectChanges();\n }\n }\n\n /**\n * Retrieves the current context used for the template's view.\n *\n * @returns {GetDynamicViewContext<T>} The current context object.\n */\n public getContext(): GetDynamicViewContext<T> {\n return this.options.context ?? {};\n }\n\n /**\n * Retrieves the view reference (`ViewRef`) associated with the dynamically created template's embedded view.\n *\n * @returns {ViewRef | null} The view reference, or null if the template has not been instantiated or has been destroyed.\n */\n public getView(): ViewRef | null {\n return this.embeddedViewRef;\n }\n\n private create({ context, template, host }: DynamicTemplateOptions<T>) {\n if (isViewContainer(host)) {\n this.embeddedViewRef = host.createEmbeddedView(template, context, { injector: this.options.injector });\n } else {\n this.embeddedViewRef = template.createEmbeddedView(context ?? {}, this.options.injector);\n this.application.attachView(this.embeddedViewRef);\n }\n }\n}\n","import { DynamicContent, DynamicViewRef } from '../facade';\nimport { DynamicComponentRef, DynamicTemplateRef } from '../models';\n\n/**\n * Type guard function to check if a given value is a reference to a dynamically created view.\n * This helps in distinguishing between dynamic view references (`DynamicComponentRef` or `DynamicTemplateRef`)\n * and other types of values, facilitating type-safe operations on dynamic views.\n *\n * @param {unknown} value - The value to check.\n * @returns {value is DynamicViewRef<DynamicContent>} `true` if the value is an instance of `DynamicComponentRef`\n * or `DynamicTemplateRef`, indicating it is a dynamic view reference; otherwise, `false`.\n *\n * @example\n * ```ts\n * // Given a value that could be a dynamic view reference or something else\n * const value: unknown = getSomeValue();\n *\n * if (isDynamicView(value)) {\n * // TypeScript now knows `value` is a dynamic view reference, so you can access its methods safely\n * value.detectChanges();\n * } else {\n * console.log('Value is not a dynamic view reference');\n * }\n * ```\n */\nexport function isDynamicView(value: unknown): value is DynamicViewRef<DynamicContent> {\n return value instanceof DynamicComponentRef || value instanceof DynamicTemplateRef;\n}\n","import { InjectionToken, TemplateRef } from '@angular/core';\n\nexport interface DynamicViewContextWithImplicitTemplate<T = unknown> {\n $implicit: TemplateRef<T>;\n}\n\n/**\n * @internal\n * Injection token for the dynamic view context.\n */\nexport const DYNAMIC_VIEW_CONTEXT = new InjectionToken('@odx/angular/cdk/dynamic-view::DynamicViewContext');\n","import { DOCUMENT } from '@angular/common';\nimport { inject, InjectionToken } from '@angular/core';\n\n/**\n * @internal\n * Injection token for the default host element for dynamic views.\n */\nexport const ODX_DYNAMIC_VIEW_DEFAULT_HOST = new InjectionToken<Element>('@odx/angular/cdk/dynamic-view::DynamicViewDefaultHost', {\n providedIn: 'root',\n factory: () => inject(DOCUMENT).body,\n});\n\n/**\n * @internal\n * Retrieves the default host for dynamic views.\n *\n * @returns {Element} The default host element for dynamic views.\n */\nexport function getDynamicViewDefaultHost(): Element {\n return inject(ODX_DYNAMIC_VIEW_DEFAULT_HOST);\n}\n","import { inject, Injectable, Injector } from '@angular/core';\nimport { isComponent, isTemplateRef } from '@odx/angular/utils';\nimport { DynamicViewComponent } from './dynamic-view.component';\nimport { DynamicContent, DynamicViewRef } from './facade';\nimport { isDynamicTextContent } from './helpers';\nimport { DynamicComponentRef, DynamicViewOptions } from './models';\nimport { DynamicTemplateRef } from './models/dynamic-template-ref';\nimport { DYNAMIC_VIEW_CONTEXT, getDynamicViewDefaultHost } from './tokens';\n\n/**\n * A service for creating and managing dynamic views in an Angular application.\n * It supports rendering Angular components, templates, and text content dynamically,\n * allowing for flexible and dynamic content composition.\n */\n@Injectable({ providedIn: 'root' })\nexport class DynamicViewService {\n private readonly injector = inject(Injector);\n private readonly defaultHost = getDynamicViewDefaultHost();\n\n /**\n * Creates and returns a reference to a dynamic view based on the provided content and options.\n * The method supports dynamic creation of components, template references, and text content,\n * providing a unified API for dynamic content rendering.\n *\n * @template T - The type of the content to be dynamically rendered.\n * @param {T} content - The content to be rendered dynamically. This can be a component class,\n * a template reference, or text content.\n * @param {Partial<DynamicViewOptions<T>>} [options={}] - Optional configuration for the dynamic view creation,\n * including a custom injector, context, host element, and additional providers for the dynamic component's injector.\n * @returns {DynamicViewRef<T>} A reference to the dynamically created view, encapsulating the rendered content\n * and providing methods for interaction and management.\n * @throws {Error} Throws an error if the content type is not supported.\n * @example\n * ```ts\n * // Create a dynamic view for a component\n * const componentRef = dynamicViewService.createView(MyComponent, { context: { ... } });\n *\n * // Create a dynamic view for a template reference\n * const templateRef = dynamicViewService.createView(myTemplate, { context: { ... } });\n *\n * // Create a dynamic view for text content\n * const textRef = dynamicViewService.createView('Dynamic text content', {});\n * ```\n */\n public createView<T extends DynamicContent>(content: T, options: Partial<DynamicViewOptions<T>> = {}): DynamicViewRef<T> {\n const viewOptions: DynamicViewOptions<T> = {\n ...options,\n host: options.host ?? this.defaultHost,\n injector: Injector.create({\n providers: [{ provide: DYNAMIC_VIEW_CONTEXT, useValue: options.context }, options.providers ?? []],\n parent: options.injector ?? this.injector,\n }),\n };\n if (isTemplateRef(content)) {\n return new DynamicTemplateRef({ ...viewOptions, template: content });\n }\n if (isComponent(content)) {\n return new DynamicComponentRef({ ...viewOptions, context: options.context, component: content });\n }\n if (isDynamicTextContent(content)) {\n return new DynamicComponentRef({\n ...viewOptions,\n component: DynamicViewComponent,\n context: { content },\n }) as never;\n }\n throw new Error('Content type is not supported');\n }\n}\n","import { Directive, EmbeddedViewRef, inject, Injector, Input, OnChanges, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';\nimport { hasChanged, isComponent, NgChanges } from '@odx/angular/utils';\nimport { DynamicViewService } from './dynamic-view.service';\nimport { DynamicContent, DynamicViewRef, GetDynamicViewContext } from './facade';\nimport { createProjectableNodes, isDynamicTextContent, isDynamicView } from './helpers';\n\n/**\n * A directive that dynamically renders content based on the provided input. It supports rendering\n * Angular components, templates, and text content, allowing for dynamic and flexible content\n * management within Angular applications.\n *\n * @template T - A type parameter that extends `DynamicContent<unknown>`, representing the type of content to be dynamically rendered.\n */\n@Directive({\n selector: 'ng-template[odxDynamicView]',\n standalone: true,\n})\nexport class DynamicViewDirective<T extends DynamicContent<unknown> = DynamicContent<unknown>> implements OnDestroy, OnInit, OnChanges {\n private readonly dynamicViewService = inject(DynamicViewService);\n private readonly viewContainer = inject(ViewContainerRef);\n private readonly template = inject(TemplateRef);\n private viewRef: DynamicViewRef<T> | null = null;\n private contentViewRef: DynamicViewRef<TemplateRef<unknown>> | null = null;\n\n /**\n * The content to be dynamically rendered. This can be a component, template reference, or text content.\n * The content is wrapped in a `DynamicViewRef`, providing additional control over the dynamically rendered view.\n *\n * @type {T | DynamicViewRef<T> | null}\n * @default null\n */\n @Input('odxDynamicView')\n public content?: T | DynamicViewRef<T> | null = null;\n\n /**\n * An optional injector to be used for dynamically created components.\n * This allows for custom dependency injection\n * into dynamically rendered components.\n *\n * @type {Injector | undefined}\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('odxDynamicViewInjector')\n public injector?: Injector;\n\n /**\n * An optional context providing function for dynamically created views. This function returns the context\n * object to be passed to the dynamically rendered content, allowing for dynamic interaction with the content.\n *\n * @type {GetDynamicViewContext<T> | undefined}\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('odxDynamicViewContext')\n public context?: GetDynamicViewContext<T>;\n\n public ngOnInit(): void {\n this.render();\n }\n\n public ngOnChanges(changes: NgChanges<DynamicViewDirective<DynamicContent>>): void {\n if (hasChanged(changes, 'injector')) {\n this.render();\n }\n if (hasChanged(changes, 'content')) {\n const hasChangedTextContent = isDynamicTextContent(changes.content?.previousValue) && isDynamicTextContent(changes.content?.currentValue);\n this.render(!hasChangedTextContent);\n }\n if (hasChanged(changes, 'context')) {\n this.viewRef?.update(changes.context?.currentValue ?? {});\n }\n }\n\n public ngOnDestroy(): void {\n this.destroy();\n }\n\n /**\n * Retrieves the current `DynamicViewRef` associated with the rendered content, providing access\n * to the view reference for additional operations like updating context or manual destruction.\n *\n * @returns {DynamicViewRef<T> | null} The current view reference for the dynamically rendered content, if available.\n */\n public getView(): DynamicViewRef<T> | null {\n return this.viewRef;\n }\n\n private render(reRender = true) {\n if (!this.content) {\n this.destroy();\n return;\n }\n if (!reRender && this.viewRef) {\n this.viewRef?.update({ content: this.content } as object);\n return;\n }\n this.viewRef?.destroy();\n if (isDynamicView(this.content)) {\n this.viewRef = this.content;\n const hostView = this.viewRef.getView();\n if (hostView) {\n this.viewContainer.insert(hostView);\n }\n } else {\n let projectableNodes: Node[][] = [];\n if (isComponent(this.content)) {\n this.contentViewRef = this.dynamicViewService.createView(this.template, { injector: this.injector });\n const rootNodes = (this.contentViewRef.getView() as EmbeddedViewRef<unknown>).rootNodes;\n projectableNodes = createProjectableNodes(this.content, rootNodes);\n }\n this.viewRef = this.dynamicViewService.createView(this.content, {\n context: this.context ?? undefined,\n injector: this.injector ?? this.viewContainer.injector,\n projectableNodes,\n host: this.viewContainer,\n });\n }\n }\n\n private destroy() {\n this.contentViewRef?.destroy();\n this.viewRef?.destroy();\n this.contentViewRef = null;\n this.viewRef = null;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAYa,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;QAQmB,IAAA,CAAA,OAAO,GAAG,aAAa,EAAE;QAClC,IAAA,CAAA,mBAAmB,GAAwB,IAAI;AAsBxD,IAAA;IApBC,IACW,OAAO,CAAC,KAAyB,EAAA;AAC1C,QAAA,IAAI,YAAY,CAAC,KAAK,CAAC,EAAE;YACvB,IAAI,CAAC,WAAW,EAAE;AAClB,YAAA,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,KAAI;AACrF,gBAAA,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;AAC7B,YAAA,CAAC,CAAC;QACJ;aAAO;AACL,YAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;QACxB;IACF;IAEO,WAAW,GAAA;AAChB,QAAA,IAAI,CAAC,mBAAmB,EAAE,WAAW,EAAE;AACvC,QAAA,IAAI,CAAC,mBAAmB,GAAG,IAAI;IACjC;AAEQ,IAAA,UAAU,CAAC,KAAa,EAAA;QAC9B,IAAI,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SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,6BAA6B;AACvC,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;8BAgBQ,OAAO,EAAA,CAAA;sBADb,KAAK;uBAAC,gBAAgB;gBAYhB,QAAQ,EAAA,CAAA;sBADd,KAAK;uBAAC,wBAAwB;gBAWxB,OAAO,EAAA,CAAA;sBADb,KAAK;uBAAC,uBAAuB;;;ACpDhC;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-dynamic-view.mjs","sources":["../../../../libs/angular/cdk/dynamic-view/src/lib/dynamic-view.component.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/helpers/create-projectable-nodes.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/helpers/is-dynamic-text-content.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/models/dynamic-component-ref.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/models/dynamic-template-ref.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/helpers/is-dynamic-view.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/tokens/dynamic-view-context.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/tokens/dynamic-view-default-host.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/dynamic-view.service.ts","../../../../libs/angular/cdk/dynamic-view/src/lib/dynamic-view.directive.ts","../../../../libs/angular/cdk/dynamic-view/src/odx-angular-cdk-dynamic-view.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { injectElement } from '@odx/angular/utils';\nimport { distinctUntilChanged, isObservable, Subscription } from 'rxjs';\nimport { DynamicTextContent } from './facade';\n\n@Component({\n selector: 'odx-dynamic-view',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n})\nexport class DynamicViewComponent implements OnDestroy {\n private readonly element = injectElement();\n private currentSubscription: Subscription | null = null;\n\n @Input()\n public set content(value: DynamicTextContent) {\n if (isObservable(value)) {\n this.ngOnDestroy();\n this.currentSubscription = value.pipe(distinctUntilChanged()).subscribe((innerValue) => {\n this.setContent(innerValue);\n });\n } else {\n this.setContent(value);\n }\n }\n\n public ngOnDestroy(): void {\n this.currentSubscription?.unsubscribe();\n this.currentSubscription = null;\n }\n\n private setContent(value: string): void {\n this.element.nativeElement.innerHTML = value;\n }\n}\n","import { reflectComponentType, Type } from '@angular/core';\n\n/**\n * Prepares an array of node arrays suitable for projection into the `<ng-content>` slots\n * of a dynamically created Angular component based on its content selectors.\n *\n * The function inspects the component's content selectors and aligns the provided nodes\n * for projection according to these selectors. A selector of '*' indicates that the nodes\n * should be projected into this slot. If a content selector does not match '*', an empty\n * array is returned for that slot, indicating no nodes are projected into it.\n *\n * @param {Type<unknown>} component - The component class for which the projectable nodes are being prepared.\n * @param {Node[]} nodes - The nodes intended for projection into the component's `<ng-content>` slots.\n * @returns {Node[][]} An array of node arrays, each corresponding to a `<ng-content>` slot in the component.\n * Each sub-array contains nodes to be projected into the respective `<ng-content>` slot, based on the component's content selectors.\n *\n * @example\n * ```ts\n * // Given a component with two `<ng-content>` slots, the first without a selector and the second with the selector `<ng-content select=\".selector-class\">`,\n * const nodes = [document.createTextNode('Hello'), document.createElement('div')];\n * const projectableNodes = createProjectableNodes(MyComponent, nodes);\n * // projectableNodes would be `[[TextNode, DivElement], []]` for a component with selectors ['*', '.selector-class']\n * ```\n */\nexport function createProjectableNodes(component: Type<unknown>, nodes: Node[]): Node[][] {\n const componentType = reflectComponentType(component);\n if (componentType && componentType.ngContentSelectors.length > 0) {\n return componentType.ngContentSelectors.map((selector) => (selector === '*' ? nodes : []));\n }\n return [];\n}\n","import { isString } from '@odx/angular/utils';\nimport { isObservable } from 'rxjs';\nimport { DynamicTextContent } from '../facade';\n\n/**\n * Type guard function to check if a given value is considered dynamic text content.\n * Dynamic text content can either be a plain string or an Observable. This function\n * facilitates type-safe handling of dynamic text content by checking the type of the value.\n *\n * @param {unknown} value - The value to be checked.\n * @returns {value is DynamicTextContent} Returns `true` if the value is a string or an Observable,\n * indicating it can be used as dynamic text content; otherwise, returns `false`.\n *\n * @example\n * ```ts\n * // Example usage of the isDynamicTextContent function\n * const textValue: unknown = getTextValue(); // This function may return either string or Observable\n *\n * if (isDynamicTextContent(textValue)) {\n * // The type of textValue is now narrowed to DynamicTextContent (string | Observable)\n * console.log('The value can be used as dynamic text content.');\n * } else {\n * console.log('The value is not suitable as dynamic text content.');\n * }\n * ```\n */\nexport function isDynamicTextContent(value: unknown): value is DynamicTextContent {\n return isString(value) || isObservable(value);\n}\n","import { ApplicationRef, ComponentRef, createComponent, EnvironmentInjector, reflectComponentType, Type, ViewRef } from '@angular/core';\nimport { deepmerge } from '@odx/angular/internal';\nimport { isViewContainer } from '@odx/angular/utils';\nimport { GetDynamicViewContext } from '../facade';\nimport { DynamicViewRef } from '../facade/dynamic-view-ref';\nimport { DynamicViewOptions } from './dynamic-view-options';\n\nexport interface DynamicComponentOptions<T extends Type<unknown>> extends DynamicViewOptions<T> {\n component: T;\n}\n\n/**\n * The DynamicComponentRef class is a powerful utility for dynamically creating and managing\n * Angular components at runtime. It encapsulates the logic for component creation, input handling,\n * and lifecycle management, making it easier to work with dynamic components in complex applications.\n *\n * A reference to a dynamically created component, providing methods to manage its lifecycle,\n * detect changes, and update its inputs based on a context.\n *\n * @template T - The type of the component being managed.\n * @template C - The type of the context used to update the component's inputs.\n */\nexport class DynamicComponentRef<T extends Type<unknown>, C extends GetDynamicViewContext<T>> implements DynamicViewRef<T> {\n private readonly application = this.options.injector.get(ApplicationRef);\n private componentRef: ComponentRef<T> | null = null;\n private componentInputs: Record<string, true> | null = null;\n\n constructor(private readonly options: DynamicComponentOptions<T>) {\n const { component, context, injector, projectableNodes, host } = options;\n\n this.componentRef = createComponent(component as Type<T>, {\n environmentInjector: injector.get(EnvironmentInjector),\n elementInjector: injector,\n projectableNodes,\n });\n this.componentInputs =\n reflectComponentType(this.componentRef.componentType)?.inputs.reduce(\n (acc, { propName }) => {\n acc[propName] = true;\n return acc;\n },\n {} as Record<string, true>,\n ) ?? null;\n\n if (isViewContainer(host)) {\n host.insert(this.componentRef.hostView);\n } else {\n this.application.attachView(this.componentRef.hostView);\n if (host) {\n host.appendChild(this.getElement());\n }\n }\n if (context) {\n this.update(context as C);\n }\n }\n\n /**\n * Triggers change detection for the dynamically created component, ensuring that any updates to inputs\n * or internal state are reflected in the view.\n */\n public detectChanges(): void {\n this.componentRef?.changeDetectorRef.detectChanges();\n }\n\n /**\n * Destroys the dynamically created component, cleaning up resources and detaching it from the application view.\n */\n public destroy(): void {\n if (this.componentRef?.hostView.destroyed) {\n this.componentRef = null;\n return;\n }\n if (this.componentRef && !isViewContainer(this.options.host)) {\n this.application.detachView(this.componentRef.hostView);\n }\n this.componentRef?.destroy();\n this.componentRef = null;\n this.componentInputs = null;\n }\n\n /**\n * Retrieves the native element associated with the dynamically created component's host view.\n *\n * @returns {Element} The native DOM element of the component.\n */\n public getElement(): Element {\n return this.componentRef?.location.nativeElement ?? null;\n }\n\n /**\n * Updates the component's inputs based on the provided context. Merges the new context with the existing\n * context and applies the combined context as inputs to the component.\n *\n * @param {C} context - The context containing new values for the component's inputs.\n */\n public update(context: C): void {\n this.options.context = deepmerge({}, this.options.context, context) as C;\n if (!this.componentRef) return;\n for (const key in this.options.context) {\n if (this.componentInputs?.[key]) {\n this.componentRef.setInput(key, this.options.context[key]);\n }\n }\n }\n\n /**\n * Retrieves the current context used for the component's inputs.\n *\n * @returns {GetDynamicViewContext<T>} The current context object.\n */\n public getContext(): GetDynamicViewContext<T> {\n return this.options.context ?? {};\n }\n\n /**\n * Retrieves the view reference associated with the dynamically created component.\n *\n * @returns {ViewRef | null} The view reference, or null if the component has not been created or has been destroyed.\n */\n public getView(): ViewRef | null {\n return this.componentRef?.hostView ?? null;\n }\n}\n","import { ApplicationRef, EmbeddedViewRef, TemplateRef as NgTemplateRef, ViewRef } from '@angular/core';\nimport { deepmerge } from '@odx/angular/internal';\nimport { isViewContainer } from '@odx/angular/utils';\nimport { DynamicViewRef, GetDynamicViewContext } from '../facade';\nimport { DynamicViewOptions } from './dynamic-view-options';\n\nexport interface DynamicTemplateOptions<T extends NgTemplateRef<unknown>> extends DynamicViewOptions<T> {\n template: T;\n}\n\n/**\n * A reference to a dynamically created template, offering methods to manage its lifecycle,\n * detect changes, and update its context. It encapsulates the logic for creating and manipulating\n * an `EmbeddedViewRef` from a given `TemplateRef`.\n *\n * @template T - The type of the `NgTemplateRef` being managed.\n */\nexport class DynamicTemplateRef<T extends NgTemplateRef<unknown> = NgTemplateRef<unknown>> implements DynamicViewRef<T> {\n private readonly application = this.options.injector.get(ApplicationRef);\n private embeddedViewRef: EmbeddedViewRef<unknown> | null = null;\n\n constructor(private readonly options: DynamicTemplateOptions<T>) {\n this.create(options);\n }\n\n /**\n * Triggers change detection on the embedded view created from the template, ensuring that any updates\n * to the context or internal state are reflected in the view.\n */\n public detectChanges(): void {\n this.embeddedViewRef?.detectChanges();\n }\n\n /**\n * Destroys the embedded view associated with the template, cleaning up resources and detaching it from the\n * application view if necessary.\n */\n public destroy(): void {\n if (this.embeddedViewRef?.destroyed) {\n this.embeddedViewRef = null;\n return;\n }\n if (!isViewContainer(this.options.host) && this.embeddedViewRef) {\n this.application.detachView(this.embeddedViewRef);\n }\n this.embeddedViewRef?.destroy();\n this.embeddedViewRef = null;\n }\n\n /**\n * Retrieves the native element associated with the template's embedded view's root node.\n *\n * @returns {Element} The native DOM element of the embedded view's root node, if available.\n */\n public getElement(): Element {\n return this.embeddedViewRef?.rootNodes?.[0] ?? null;\n }\n\n /**\n * Updates the context of the embedded view based on the provided context object. Merges the new context\n * with the existing one and applies the combined context to the embedded view.\n *\n * @param {GetDynamicViewContext<T>} context - The context containing new values for the template's view.\n */\n public update(context: GetDynamicViewContext<T>): void {\n this.options.context = deepmerge({}, this.options.context, context) as GetDynamicViewContext<T>;\n if (this.embeddedViewRef) {\n this.embeddedViewRef.context = this.options.context;\n this.detectChanges();\n }\n }\n\n /**\n * Retrieves the current context used for the template's view.\n *\n * @returns {GetDynamicViewContext<T>} The current context object.\n */\n public getContext(): GetDynamicViewContext<T> {\n return this.options.context ?? {};\n }\n\n /**\n * Retrieves the view reference (`ViewRef`) associated with the dynamically created template's embedded view.\n *\n * @returns {ViewRef | null} The view reference, or null if the template has not been instantiated or has been destroyed.\n */\n public getView(): ViewRef | null {\n return this.embeddedViewRef;\n }\n\n private create({ context, template, host }: DynamicTemplateOptions<T>) {\n if (isViewContainer(host)) {\n this.embeddedViewRef = host.createEmbeddedView(template, context, { injector: this.options.injector });\n } else {\n this.embeddedViewRef = template.createEmbeddedView(context ?? {}, this.options.injector);\n this.application.attachView(this.embeddedViewRef);\n }\n }\n}\n","import { DynamicContent, DynamicViewRef } from '../facade';\nimport { DynamicComponentRef, DynamicTemplateRef } from '../models';\n\n/**\n * Type guard function to check if a given value is a reference to a dynamically created view.\n * This helps in distinguishing between dynamic view references (`DynamicComponentRef` or `DynamicTemplateRef`)\n * and other types of values, facilitating type-safe operations on dynamic views.\n *\n * @param {unknown} value - The value to check.\n * @returns {value is DynamicViewRef<DynamicContent>} `true` if the value is an instance of `DynamicComponentRef`\n * or `DynamicTemplateRef`, indicating it is a dynamic view reference; otherwise, `false`.\n *\n * @example\n * ```ts\n * // Given a value that could be a dynamic view reference or something else\n * const value: unknown = getSomeValue();\n *\n * if (isDynamicView(value)) {\n * // TypeScript now knows `value` is a dynamic view reference, so you can access its methods safely\n * value.detectChanges();\n * } else {\n * console.log('Value is not a dynamic view reference');\n * }\n * ```\n */\nexport function isDynamicView(value: unknown): value is DynamicViewRef<DynamicContent> {\n return value instanceof DynamicComponentRef || value instanceof DynamicTemplateRef;\n}\n","import { InjectionToken, TemplateRef } from '@angular/core';\n\nexport interface DynamicViewContextWithImplicitTemplate<T = unknown> {\n $implicit: TemplateRef<T>;\n}\n\n/**\n * @internal\n * Injection token for the dynamic view context.\n */\nexport const DYNAMIC_VIEW_CONTEXT = new InjectionToken('@odx/angular/cdk/dynamic-view::DynamicViewContext');\n","\nimport { inject, InjectionToken, DOCUMENT } from '@angular/core';\n\n/**\n * @internal\n * Injection token for the default host element for dynamic views.\n */\nexport const ODX_DYNAMIC_VIEW_DEFAULT_HOST = new InjectionToken<Element>('@odx/angular/cdk/dynamic-view::DynamicViewDefaultHost', {\n providedIn: 'root',\n factory: () => inject(DOCUMENT).body,\n});\n\n/**\n * @internal\n * Retrieves the default host for dynamic views.\n *\n * @returns {Element} The default host element for dynamic views.\n */\nexport function getDynamicViewDefaultHost(): Element {\n return inject(ODX_DYNAMIC_VIEW_DEFAULT_HOST);\n}\n","import { inject, Injectable, Injector } from '@angular/core';\nimport { isComponent, isTemplateRef } from '@odx/angular/utils';\nimport { DynamicViewComponent } from './dynamic-view.component';\nimport { DynamicContent, DynamicViewRef } from './facade';\nimport { isDynamicTextContent } from './helpers';\nimport { DynamicComponentRef, DynamicViewOptions } from './models';\nimport { DynamicTemplateRef } from './models/dynamic-template-ref';\nimport { DYNAMIC_VIEW_CONTEXT, getDynamicViewDefaultHost } from './tokens';\n\n/**\n * A service for creating and managing dynamic views in an Angular application.\n * It supports rendering Angular components, templates, and text content dynamically,\n * allowing for flexible and dynamic content composition.\n */\n@Injectable({ providedIn: 'root' })\nexport class DynamicViewService {\n private readonly injector = inject(Injector);\n private readonly defaultHost = getDynamicViewDefaultHost();\n\n /**\n * Creates and returns a reference to a dynamic view based on the provided content and options.\n * The method supports dynamic creation of components, template references, and text content,\n * providing a unified API for dynamic content rendering.\n *\n * @template T - The type of the content to be dynamically rendered.\n * @param {T} content - The content to be rendered dynamically. This can be a component class,\n * a template reference, or text content.\n * @param {Partial<DynamicViewOptions<T>>} [options={}] - Optional configuration for the dynamic view creation,\n * including a custom injector, context, host element, and additional providers for the dynamic component's injector.\n * @returns {DynamicViewRef<T>} A reference to the dynamically created view, encapsulating the rendered content\n * and providing methods for interaction and management.\n * @throws {Error} Throws an error if the content type is not supported.\n * @example\n * ```ts\n * // Create a dynamic view for a component\n * const componentRef = dynamicViewService.createView(MyComponent, { context: { ... } });\n *\n * // Create a dynamic view for a template reference\n * const templateRef = dynamicViewService.createView(myTemplate, { context: { ... } });\n *\n * // Create a dynamic view for text content\n * const textRef = dynamicViewService.createView('Dynamic text content', {});\n * ```\n */\n public createView<T extends DynamicContent>(content: T, options: Partial<DynamicViewOptions<T>> = {}): DynamicViewRef<T> {\n const viewOptions: DynamicViewOptions<T> = {\n ...options,\n host: options.host ?? this.defaultHost,\n injector: Injector.create({\n providers: [{ provide: DYNAMIC_VIEW_CONTEXT, useValue: options.context }, options.providers ?? []],\n parent: options.injector ?? this.injector,\n }),\n };\n if (isTemplateRef(content)) {\n return new DynamicTemplateRef({ ...viewOptions, template: content });\n }\n if (isComponent(content)) {\n return new DynamicComponentRef({ ...viewOptions, context: options.context, component: content });\n }\n if (isDynamicTextContent(content)) {\n return new DynamicComponentRef({\n ...viewOptions,\n component: DynamicViewComponent,\n context: { content },\n }) as never;\n }\n throw new Error('Content type is not supported');\n }\n}\n","import { Directive, EmbeddedViewRef, inject, Injector, Input, OnChanges, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';\nimport { hasChanged, isComponent, NgChanges } from '@odx/angular/utils';\nimport { DynamicViewService } from './dynamic-view.service';\nimport { DynamicContent, DynamicViewRef, GetDynamicViewContext } from './facade';\nimport { createProjectableNodes, isDynamicTextContent, isDynamicView } from './helpers';\n\n/**\n * A directive that dynamically renders content based on the provided input. It supports rendering\n * Angular components, templates, and text content, allowing for dynamic and flexible content\n * management within Angular applications.\n *\n * @template T - A type parameter that extends `DynamicContent<unknown>`, representing the type of content to be dynamically rendered.\n */\n@Directive({\n selector: 'ng-template[odxDynamicView]',\n standalone: true,\n})\nexport class DynamicViewDirective<T extends DynamicContent<unknown> = DynamicContent<unknown>> implements OnDestroy, OnInit, OnChanges {\n private readonly dynamicViewService = inject(DynamicViewService);\n private readonly viewContainer = inject(ViewContainerRef);\n private readonly template = inject(TemplateRef);\n private viewRef: DynamicViewRef<T> | null = null;\n private contentViewRef: DynamicViewRef<TemplateRef<unknown>> | null = null;\n\n /**\n * The content to be dynamically rendered. This can be a component, template reference, or text content.\n * The content is wrapped in a `DynamicViewRef`, providing additional control over the dynamically rendered view.\n *\n * @type {T | DynamicViewRef<T> | null}\n * @default null\n */\n @Input('odxDynamicView')\n public content?: T | DynamicViewRef<T> | null = null;\n\n /**\n * An optional injector to be used for dynamically created components.\n * This allows for custom dependency injection\n * into dynamically rendered components.\n *\n * @type {Injector | undefined}\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('odxDynamicViewInjector')\n public injector?: Injector;\n\n /**\n * An optional context providing function for dynamically created views. This function returns the context\n * object to be passed to the dynamically rendered content, allowing for dynamic interaction with the content.\n *\n * @type {GetDynamicViewContext<T> | undefined}\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('odxDynamicViewContext')\n public context?: GetDynamicViewContext<T>;\n\n public ngOnInit(): void {\n this.render();\n }\n\n public ngOnChanges(changes: NgChanges<DynamicViewDirective<DynamicContent>>): void {\n if (hasChanged(changes, 'injector')) {\n this.render();\n }\n if (hasChanged(changes, 'content')) {\n const hasChangedTextContent = isDynamicTextContent(changes.content?.previousValue) && isDynamicTextContent(changes.content?.currentValue);\n this.render(!hasChangedTextContent);\n }\n if (hasChanged(changes, 'context')) {\n this.viewRef?.update(changes.context?.currentValue ?? {});\n }\n }\n\n public ngOnDestroy(): void {\n this.destroy();\n }\n\n /**\n * Retrieves the current `DynamicViewRef` associated with the rendered content, providing access\n * to the view reference for additional operations like updating context or manual destruction.\n *\n * @returns {DynamicViewRef<T> | null} The current view reference for the dynamically rendered content, if available.\n */\n public getView(): DynamicViewRef<T> | null {\n return this.viewRef;\n }\n\n private render(reRender = true) {\n if (!this.content) {\n this.destroy();\n return;\n }\n if (!reRender && this.viewRef) {\n this.viewRef?.update({ content: this.content } as object);\n return;\n }\n this.viewRef?.destroy();\n if (isDynamicView(this.content)) {\n this.viewRef = this.content;\n const hostView = this.viewRef.getView();\n if (hostView) {\n this.viewContainer.insert(hostView);\n }\n } else {\n let projectableNodes: Node[][] = [];\n if (isComponent(this.content)) {\n this.contentViewRef = this.dynamicViewService.createView(this.template, { injector: this.injector });\n const rootNodes = (this.contentViewRef.getView() as EmbeddedViewRef<unknown>).rootNodes;\n projectableNodes = createProjectableNodes(this.content, rootNodes);\n }\n this.viewRef = this.dynamicViewService.createView(this.content, {\n context: this.context ?? undefined,\n injector: this.injector ?? this.viewContainer.injector,\n projectableNodes,\n host: this.viewContainer,\n });\n }\n }\n\n private destroy() {\n this.contentViewRef?.destroy();\n this.viewRef?.destroy();\n this.contentViewRef = null;\n this.viewRef = null;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAYa,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;QAQmB,IAAA,CAAA,OAAO,GAAG,aAAa,EAAE;QAClC,IAAA,CAAA,mBAAmB,GAAwB,IAAI;AAsBxD,IAAA;IApBC,IACW,OAAO,CAAC,KAAyB,EAAA;AAC1C,QAAA,IAAI,YAAY,CAAC,KAAK,CAAC,EAAE;YACvB,IAAI,CAAC,WAAW,EAAE;AAClB,YAAA,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,KAAI;AACrF,gBAAA,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;AAC7B,YAAA,CAAC,CAAC;QACJ;aAAO;AACL,YAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;QACxB;IACF;IAEO,WAAW,GAAA;AAChB,QAAA,IAAI,CAAC,mBAAmB,EAAE,WAAW,EAAE;AACvC,QAAA,IAAI,CAAC,mBAAmB,GAAG,IAAI;IACjC;AAEQ,IAAA,UAAU,CAAC,KAAa,EAAA;QAC9B,IAAI,CA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AA,CAAA;AACT,oBAAA,QAAQ,EAAE,6BAA6B;AACvC,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;sBAeE,KAAK;uBAAC,gBAAgB;;sBAWtB,KAAK;uBAAC,wBAAwB;;sBAU9B,KAAK;uBAAC,uBAAuB;;;ACpDhC;;AAEG;;;;"}
@@ -118,10 +118,10 @@ class DebounceEventPlugin extends EventPlugin {
118
118
  });
119
119
  return this.teardown(listener);
120
120
  }
121
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DebounceEventPlugin, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
122
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DebounceEventPlugin }); }
121
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DebounceEventPlugin, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
122
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DebounceEventPlugin }); }
123
123
  }
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DebounceEventPlugin, decorators: [{
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DebounceEventPlugin, decorators: [{
125
125
  type: Injectable
126
126
  }] });
127
127
 
@@ -166,10 +166,10 @@ class DeferEventPlugin extends EventPlugin {
166
166
  setTimeout(() => this.getZone().runGuarded(() => originalHandler(event)), 0);
167
167
  };
168
168
  }
169
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DeferEventPlugin, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
170
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DeferEventPlugin }); }
169
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DeferEventPlugin, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
170
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DeferEventPlugin }); }
171
171
  }
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DeferEventPlugin, decorators: [{
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DeferEventPlugin, decorators: [{
173
173
  type: Injectable
174
174
  }] });
175
175
 
@@ -90,10 +90,10 @@ class ExpandableContainerDirective {
90
90
  hasExpandedItem() {
91
91
  return this.expandedItems.size > 0;
92
92
  }
93
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
94
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: ExpandableContainerDirective, isStandalone: true, selector: "[odxExpandableContainer]", inputs: { multiple: ["multiple", "multiple", booleanAttribute] }, providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: ExpandableContainerDirective }], exportAs: ["odxExpandableContainer"], ngImport: i0 }); }
93
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpandableContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
94
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.16", type: ExpandableContainerDirective, isStandalone: true, selector: "[odxExpandableContainer]", inputs: { multiple: ["multiple", "multiple", booleanAttribute] }, providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: ExpandableContainerDirective }], exportAs: ["odxExpandableContainer"], ngImport: i0 }); }
95
95
  }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableContainerDirective, decorators: [{
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpandableContainerDirective, decorators: [{
97
97
  type: Directive,
98
98
  args: [{
99
99
  standalone: true,
@@ -201,10 +201,10 @@ class ExpandableItemDirective {
201
201
  closeAllChildren() {
202
202
  this.childContainers.forEach((container) => container.collapseAll());
203
203
  }
204
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
205
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: ExpandableItemDirective, isStandalone: true, selector: "[odxExpandableItem]", inputs: { container: "container", id: "id", expanded: ["expanded", "expanded", booleanAttribute] }, providers: [{ provide: ODX_EXPANDABLE_ITEM, useExisting: ExpandableItemDirective }], exportAs: ["odxExpandableItem"], ngImport: i0 }); }
204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpandableItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
205
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.16", type: ExpandableItemDirective, isStandalone: true, selector: "[odxExpandableItem]", inputs: { container: "container", id: "id", expanded: ["expanded", "expanded", booleanAttribute] }, providers: [{ provide: ODX_EXPANDABLE_ITEM, useExisting: ExpandableItemDirective }], exportAs: ["odxExpandableItem"], ngImport: i0 }); }
206
206
  }
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableItemDirective, decorators: [{
207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpandableItemDirective, decorators: [{
208
208
  type: Directive,
209
209
  args: [{
210
210
  standalone: true,
@@ -223,11 +223,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
223
223
 
224
224
  const modules = [ExpandableContainerDirective, ExpandableItemDirective];
225
225
  class ExpandableModule {
226
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
227
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ExpandableModule, imports: [ExpandableContainerDirective, ExpandableItemDirective], exports: [ExpandableContainerDirective, ExpandableItemDirective] }); }
228
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableModule }); }
226
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpandableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
227
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: ExpandableModule, imports: [ExpandableContainerDirective, ExpandableItemDirective], exports: [ExpandableContainerDirective, ExpandableItemDirective] }); }
228
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpandableModule }); }
229
229
  }
230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpandableModule, decorators: [{
230
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpandableModule, decorators: [{
231
231
  type: NgModule,
232
232
  args: [{
233
233
  imports: modules,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-expandable.mjs","sources":["../../../../libs/angular/cdk/expandable/src/lib/expandable.tokens.ts","../../../../libs/angular/cdk/expandable/src/lib/directives/expandable-container.directive.ts","../../../../libs/angular/cdk/expandable/src/lib/directives/expandable-item.directive.ts","../../../../libs/angular/cdk/expandable/src/lib/expandable.module.ts","../../../../libs/angular/cdk/expandable/src/odx-angular-cdk-expandable.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ExpandableContainer, ExpandableItem } from './facade';\n\nexport const ODX_EXPANDABLE_CONTAINER = new InjectionToken<ExpandableContainer>('@odx/angular/cdk/expandable::ExpandableContainer');\nexport const ODX_EXPANDABLE_ITEM = new InjectionToken<ExpandableItem>('@odx/angular/cdk/expandable::ExpandableItem');\n","import { booleanAttribute, Directive, inject, Input, OnDestroy, OnInit } from '@angular/core';\nimport { ODX_EXPANDABLE_CONTAINER, ODX_EXPANDABLE_ITEM } from '../expandable.tokens';\nimport type { ExpandableContainer, ExpandableItem } from '../facade';\n\n/**\n * `ExpandableContainerDirective` provides a container for managing a group of expandable items,\n * allowing them to expand or collapse. It supports the functionality to either allow multiple\n * items to be expanded simultaneously or restrict to a single item at a time.\n *\n * This directive uses Angular's dependency injection to optionally inject a parent `ExpandableItem` or `ExpandableContainer`,\n * enabling nested expandable structures. The `multiple` property can be set to dictate the expand/collapse behavior.\n */\n@Directive({\n standalone: true,\n selector: '[odxExpandableContainer]',\n exportAs: 'odxExpandableContainer',\n providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: ExpandableContainerDirective }],\n})\nexport class ExpandableContainerDirective implements ExpandableContainer, OnInit, OnDestroy {\n private readonly expandedItems = new Set<ExpandableItem>();\n private readonly parentItem = inject(ODX_EXPANDABLE_ITEM, { optional: true, skipSelf: true });\n private readonly parentContainer = inject(ODX_EXPANDABLE_CONTAINER, { optional: true, skipSelf: true });\n\n /**\n * Determines whether multiple items can be expanded within the container.\n *\n * @type {boolean}\n * @default false\n */\n @Input({ transform: booleanAttribute })\n public multiple = this.parentContainer?.multiple ?? false;\n\n public ngOnInit(): void {\n this.parentItem?.addChild(this);\n }\n\n public ngOnDestroy(): void {\n this.parentItem?.removeChild(this);\n }\n\n /**\n * Collapses all the expanded items within the expandable container.\n */\n public collapseAll(): void {\n this.expandedItems.forEach((item) => item.collapse());\n }\n\n /**\n * Collapses the specified item.\n *\n * @param {ExpandableItem} item - The item to collapse.\n */\n public collapse(item: ExpandableItem): void {\n this.expandedItems.delete(item);\n }\n\n /**\n * Expands the specified item.\n * If `multiple` is set to `false`, it collapses all other items before expanding the specified item.\n * @param {ExpandableItem} item - The item to expand.\n */\n public expand(item: ExpandableItem): void {\n if (!this.multiple) {\n this.collapseAll();\n }\n this.expandedItems.add(item);\n }\n\n /**\n * Toggles the expansion state of the specified item.\n * If `forceState` is provided, it will set the expansion state to the specified value.\n * If `forceState` is not provided, it will toggle the expansion state of the item.\n *\n * @param {ExpandableItem} item - The item to toggle the expansion state for.\n * @param {boolean} forceState - Optional. The desired expansion state to set for the item.\n */\n public toggle(item: ExpandableItem, forceState?: boolean): void {\n const shouldExpand = forceState ?? !this.isExpanded(item);\n if (shouldExpand) {\n this.expand(item);\n } else {\n this.collapse(item);\n }\n }\n\n /**\n * Checks if the specified item is expanded.\n * @param {ExpandableItem} item - The item to check.\n * @returns `true` if the item is expanded, `false` otherwise.\n */\n public isExpanded(item: ExpandableItem): boolean {\n return this.expandedItems.has(item);\n }\n\n /**\n * Checks if there is any expanded item.\n *\n * @returns {boolean} True if there is at least one expanded item, false otherwise.\n */\n public hasExpandedItem(): boolean {\n return this.expandedItems.size > 0;\n }\n}\n","import { booleanAttribute, ChangeDetectorRef, Directive, inject, Input } from '@angular/core';\nimport { getUniqueId } from '@odx/angular/utils';\nimport { ODX_EXPANDABLE_CONTAINER, ODX_EXPANDABLE_ITEM } from '../expandable.tokens';\nimport type { ExpandableContainer, ExpandableItem } from '../facade';\n\n/**\n * `ExpandableItemDirective` allows you to manage the expansion state of an item within an expandable container, such as an accordion or a nested list. It provides methods to expand, collapse, and toggle the item, and automatically registers itself with a parent expandable container if one is available.\n *\n * You can control the expanded state programmatically by binding to the `expanded` property.\n */\n@Directive({\n standalone: true,\n selector: '[odxExpandableItem]',\n exportAs: 'odxExpandableItem',\n providers: [{ provide: ODX_EXPANDABLE_ITEM, useExisting: ExpandableItemDirective }],\n})\nexport class ExpandableItemDirective implements ExpandableItem {\n private readonly changeDetectorRef = inject(ChangeDetectorRef);\n private readonly childContainers = new Set<ExpandableContainer>();\n private _expanded = false;\n\n /**\n * Container which can be set manually.\n */\n @Input()\n public container: ExpandableContainer | null = inject(ODX_EXPANDABLE_CONTAINER, { optional: true, skipSelf: true });\n\n /** Unique identifier for the expandable item.\n *\n * @type {string}\n */\n @Input()\n public id = getUniqueId('odx-expandable-item');\n\n /**\n * Controls the expanded state of the item.\n *\n * @param {boolean} value - When `true`, expands the item; when `false`, collapses the item.\n *\n * @example\n * Bind to the expanded state:\n * ```html\n * <div odxExpandableItem [expanded]=\"isItemExpanded\"></div>\n * ```\n */\n @Input({ transform: booleanAttribute })\n public set expanded(value: boolean) {\n if (this._expanded === value) return;\n this._expanded = value;\n if (this._expanded) {\n this.container?.expand(this);\n } else {\n this.closeAllChildren();\n this.container?.collapse(this);\n }\n this.changeDetectorRef.markForCheck();\n }\n\n /**\n * Gets a value indicating whether the item is expanded.\n * If the item is contained within a container, it checks the container's `isExpanded` method.\n * Otherwise, it returns the value of the `_expanded` property.\n *\n * @type {boolean} `true` if the item is expanded; otherwise, `false`.\n */\n public get expanded(): boolean {\n return this.container?.isExpanded(this) ?? this._expanded;\n }\n\n /**\n * Toggles the expansion state of the item, optionally forcing a specific state.\n *\n * @param {boolean} forceState - When provided, forces the expansion state to the specified value.\n */\n public toggle(forceState?: boolean): void {\n this.expanded = forceState ?? !this.expanded;\n }\n\n /** Expands the item.\n *\n * @returns {void}\n */\n public expand(): void {\n this.toggle(true);\n }\n\n /** Collapses the item.\n *\n * @returns {void}\n */\n public collapse(): void {\n this.toggle(false);\n }\n\n /** Adds a child container to the item.\n *\n * @param {ExpandableContainer} container - The child container to add.\n * @returns {void}\n */\n public addChild(container: ExpandableContainer): void {\n this.childContainers.add(container);\n }\n\n /** Removes a child container from the item.\n *\n * @param {ExpandableContainer} container - The child container to remove.\n * @returns {void}\n */\n public removeChild(container: ExpandableContainer): void {\n this.childContainers.delete(container);\n }\n\n private closeAllChildren(): void {\n this.childContainers.forEach((container) => container.collapseAll());\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ExpandableContainerDirective, ExpandableItemDirective } from './directives';\n\nconst modules = [ExpandableContainerDirective, ExpandableItemDirective];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class ExpandableModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAGa,wBAAwB,GAAG,IAAI,cAAc,CAAsB,kDAAkD;MACrH,mBAAmB,GAAG,IAAI,cAAc,CAAiB,6CAA6C;;ACAnH;;;;;;;AAOG;MAOU,4BAA4B,CAAA;AANzC,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,GAAG,EAAkB;AACzC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC5E,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,wBAAwB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAEvG;;;;;AAKG;QAEI,IAAA,CAAA,QAAQ,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,IAAI,KAAK;AAwE1D,IAAA;IAtEQ,QAAQ,GAAA;AACb,QAAA,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC;IACjC;IAEO,WAAW,GAAA;AAChB,QAAA,IAAI,CAAC,UAAU,EAAE,WAAW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OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANZ,4BAA4B,EAAE,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAArD,4BAA4B,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;gHAMzD,gBAAgB,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;AACjB,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-expandable.mjs","sources":["../../../../libs/angular/cdk/expandable/src/lib/expandable.tokens.ts","../../../../libs/angular/cdk/expandable/src/lib/directives/expandable-container.directive.ts","../../../../libs/angular/cdk/expandable/src/lib/directives/expandable-item.directive.ts","../../../../libs/angular/cdk/expandable/src/lib/expandable.module.ts","../../../../libs/angular/cdk/expandable/src/odx-angular-cdk-expandable.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ExpandableContainer, ExpandableItem } from './facade';\n\nexport const ODX_EXPANDABLE_CONTAINER = new InjectionToken<ExpandableContainer>('@odx/angular/cdk/expandable::ExpandableContainer');\nexport const ODX_EXPANDABLE_ITEM = new InjectionToken<ExpandableItem>('@odx/angular/cdk/expandable::ExpandableItem');\n","import { booleanAttribute, Directive, inject, Input, OnDestroy, OnInit } from '@angular/core';\nimport { ODX_EXPANDABLE_CONTAINER, ODX_EXPANDABLE_ITEM } from '../expandable.tokens';\nimport type { ExpandableContainer, ExpandableItem } from '../facade';\n\n/**\n * `ExpandableContainerDirective` provides a container for managing a group of expandable items,\n * allowing them to expand or collapse. It supports the functionality to either allow multiple\n * items to be expanded simultaneously or restrict to a single item at a time.\n *\n * This directive uses Angular's dependency injection to optionally inject a parent `ExpandableItem` or `ExpandableContainer`,\n * enabling nested expandable structures. The `multiple` property can be set to dictate the expand/collapse behavior.\n */\n@Directive({\n standalone: true,\n selector: '[odxExpandableContainer]',\n exportAs: 'odxExpandableContainer',\n providers: [{ provide: ODX_EXPANDABLE_CONTAINER, useExisting: ExpandableContainerDirective }],\n})\nexport class ExpandableContainerDirective implements ExpandableContainer, OnInit, OnDestroy {\n private readonly expandedItems = new Set<ExpandableItem>();\n private readonly parentItem = inject(ODX_EXPANDABLE_ITEM, { optional: true, skipSelf: true });\n private readonly parentContainer = inject(ODX_EXPANDABLE_CONTAINER, { optional: true, skipSelf: true });\n\n /**\n * Determines whether multiple items can be expanded within the container.\n *\n * @type {boolean}\n * @default false\n */\n @Input({ transform: booleanAttribute })\n public multiple = this.parentContainer?.multiple ?? false;\n\n public ngOnInit(): void {\n this.parentItem?.addChild(this);\n }\n\n public ngOnDestroy(): void {\n this.parentItem?.removeChild(this);\n }\n\n /**\n * Collapses all the expanded items within the expandable container.\n */\n public collapseAll(): void {\n this.expandedItems.forEach((item) => item.collapse());\n }\n\n /**\n * Collapses the specified item.\n *\n * @param {ExpandableItem} item - The item to collapse.\n */\n public collapse(item: ExpandableItem): void {\n this.expandedItems.delete(item);\n }\n\n /**\n * Expands the specified item.\n * If `multiple` is set to `false`, it collapses all other items before expanding the specified item.\n * @param {ExpandableItem} item - The item to expand.\n */\n public expand(item: ExpandableItem): void {\n if (!this.multiple) {\n this.collapseAll();\n }\n this.expandedItems.add(item);\n }\n\n /**\n * Toggles the expansion state of the specified item.\n * If `forceState` is provided, it will set the expansion state to the specified value.\n * If `forceState` is not provided, it will toggle the expansion state of the item.\n *\n * @param {ExpandableItem} item - The item to toggle the expansion state for.\n * @param {boolean} forceState - Optional. The desired expansion state to set for the item.\n */\n public toggle(item: ExpandableItem, forceState?: boolean): void {\n const shouldExpand = forceState ?? !this.isExpanded(item);\n if (shouldExpand) {\n this.expand(item);\n } else {\n this.collapse(item);\n }\n }\n\n /**\n * Checks if the specified item is expanded.\n * @param {ExpandableItem} item - The item to check.\n * @returns `true` if the item is expanded, `false` otherwise.\n */\n public isExpanded(item: ExpandableItem): boolean {\n return this.expandedItems.has(item);\n }\n\n /**\n * Checks if there is any expanded item.\n *\n * @returns {boolean} True if there is at least one expanded item, false otherwise.\n */\n public hasExpandedItem(): boolean {\n return this.expandedItems.size > 0;\n }\n}\n","import { booleanAttribute, ChangeDetectorRef, Directive, inject, Input } from '@angular/core';\nimport { getUniqueId } from '@odx/angular/utils';\nimport { ODX_EXPANDABLE_CONTAINER, ODX_EXPANDABLE_ITEM } from '../expandable.tokens';\nimport type { ExpandableContainer, ExpandableItem } from '../facade';\n\n/**\n * `ExpandableItemDirective` allows you to manage the expansion state of an item within an expandable container, such as an accordion or a nested list. It provides methods to expand, collapse, and toggle the item, and automatically registers itself with a parent expandable container if one is available.\n *\n * You can control the expanded state programmatically by binding to the `expanded` property.\n */\n@Directive({\n standalone: true,\n selector: '[odxExpandableItem]',\n exportAs: 'odxExpandableItem',\n providers: [{ provide: ODX_EXPANDABLE_ITEM, useExisting: ExpandableItemDirective }],\n})\nexport class ExpandableItemDirective implements ExpandableItem {\n private readonly changeDetectorRef = inject(ChangeDetectorRef);\n private readonly childContainers = new Set<ExpandableContainer>();\n private _expanded = false;\n\n /**\n * Container which can be set manually.\n */\n @Input()\n public container: ExpandableContainer | null = inject(ODX_EXPANDABLE_CONTAINER, { optional: true, skipSelf: true });\n\n /** Unique identifier for the expandable item.\n *\n * @type {string}\n */\n @Input()\n public id = getUniqueId('odx-expandable-item');\n\n /**\n * Controls the expanded state of the item.\n *\n * @param {boolean} value - When `true`, expands the item; when `false`, collapses the item.\n *\n * @example\n * Bind to the expanded state:\n * ```html\n * <div odxExpandableItem [expanded]=\"isItemExpanded\"></div>\n * ```\n */\n @Input({ transform: booleanAttribute })\n public set expanded(value: boolean) {\n if (this._expanded === value) return;\n this._expanded = value;\n if (this._expanded) {\n this.container?.expand(this);\n } else {\n this.closeAllChildren();\n this.container?.collapse(this);\n }\n this.changeDetectorRef.markForCheck();\n }\n\n /**\n * Gets a value indicating whether the item is expanded.\n * If the item is contained within a container, it checks the container's `isExpanded` method.\n * Otherwise, it returns the value of the `_expanded` property.\n *\n * @type {boolean} `true` if the item is expanded; otherwise, `false`.\n */\n public get expanded(): boolean {\n return this.container?.isExpanded(this) ?? this._expanded;\n }\n\n /**\n * Toggles the expansion state of the item, optionally forcing a specific state.\n *\n * @param {boolean} forceState - When provided, forces the expansion state to the specified value.\n */\n public toggle(forceState?: boolean): void {\n this.expanded = forceState ?? !this.expanded;\n }\n\n /** Expands the item.\n *\n * @returns {void}\n */\n public expand(): void {\n this.toggle(true);\n }\n\n /** Collapses the item.\n *\n * @returns {void}\n */\n public collapse(): void {\n this.toggle(false);\n }\n\n /** Adds a child container to the item.\n *\n * @param {ExpandableContainer} container - The child container to add.\n * @returns {void}\n */\n public addChild(container: ExpandableContainer): void {\n this.childContainers.add(container);\n }\n\n /** Removes a child container from the item.\n *\n * @param {ExpandableContainer} container - The child container to remove.\n * @returns {void}\n */\n public removeChild(container: ExpandableContainer): void {\n this.childContainers.delete(container);\n }\n\n private closeAllChildren(): void {\n this.childContainers.forEach((container) => container.collapseAll());\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ExpandableContainerDirective, ExpandableItemDirective } from './directives';\n\nconst modules = [ExpandableContainerDirective, ExpandableItemDirective];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class ExpandableModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAGa,wBAAwB,GAAG,IAAI,cAAc,CAAsB,kDAAkD;MACrH,mBAAmB,GAAG,IAAI,cAAc,CAAiB,6CAA6C;;ACAnH;;;;;;;AAOG;MAOU,4BAA4B,CAAA;AANzC,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,GAAG,EAAkB;AACzC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE,IAAI,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,SAAS,EAAE,gBAAgB,EAAE;;;AC1CxC,MAAM,OAAO,GAAG,CAAC,4BAA4B,EAAE,uBAAuB,CAAC;MAM1D,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANZ,4BAA4B,EAAE,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAArD,4BAA4B,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;gHAMzD,gBAAgB,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;AACjB,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -68,10 +68,10 @@ class OptionControl {
68
68
  event.preventDefault();
69
69
  this.selectOption();
70
70
  }
71
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OptionControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
72
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: OptionControl, isStandalone: true, inputs: { value: "value" }, host: { attributes: { "role": "option" }, listeners: { "click": "select($event)" }, properties: { "class.odx-option": "true", "class.is-active": "isActive", "attr.aria-selected": "isSelected", "class.is-selected": "isSelected" } }, ngImport: i0 }); }
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: OptionControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
72
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: OptionControl, isStandalone: true, inputs: { value: "value" }, host: { attributes: { "role": "option" }, listeners: { "click": "select($event)" }, properties: { "class.odx-option": "true", "class.is-active": "isActive", "attr.aria-selected": "isSelected", "class.is-selected": "isSelected" } }, ngImport: i0 }); }
73
73
  }
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OptionControl, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: OptionControl, decorators: [{
75
75
  type: Directive,
76
76
  args: [{
77
77
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-cdk-option-control.mjs","sources":["../../../../libs/angular/cdk/option-control/src/lib/option-control.ts","../../../../libs/angular/cdk/option-control/src/odx-angular-cdk-option-control.ts"],"sourcesContent":["import { Highlightable } from '@angular/cdk/a11y';\nimport { ChangeDetectorRef, Directive, ElementRef, HostListener, inject, Input } from '@angular/core';\nimport { deferFn, injectElement, untilDestroyed } from '@odx/angular/utils';\n\n/**\n * `OptionControl` is an abstract directive that serves as a base class for implementing selectable options in a dropdown\n * list or a similar component. It integrates with CDK's `Highlightable` interface to provide keyboard navigation support.\n *\n * @param {T} - The type of the value.\n *\n * This base class handles the visual feedback for active and selected states and provides a structure for defining\n * how an option is selected.\n *\n * Extend `OptionControl` to create a concrete option component:\n * @example\n * ```ts\n * @Component({\n * selector: 'my-option',\n * templateUrl: './my-option.component.html',\n * providers: [{ provide: OptionControl, useExisting: forwardRef(() => MyOptionComponent) }],\n * })\n * class MyOptionComponent extends OptionControl<MyDataType> {\n * @Input() override value: MyDataType | null = null;\n *\n * protected override selectOption(): void {\n * // Custom logic for when this option is selected\n * }\n * }\n * ```\n *\n * Implement `selectOption` in subclasses to define what happens when an option is selected, such as updating a model\n * or closing a dropdown.\n */\n@Directive({\n standalone: true,\n host: {\n role: 'option',\n '[class.odx-option]': 'true',\n '[class.is-active]': 'isActive',\n '[attr.aria-selected]': 'isSelected',\n '[class.is-selected]': 'isSelected',\n },\n})\nexport abstract class OptionControl<T> implements Highlightable {\n protected readonly takeUntilDestroyed = untilDestroyed();\n protected readonly cdr = inject(ChangeDetectorRef);\n\n protected isActive = false;\n\n /**\n * Represents the value of the option control.\n *\n * @type {T} - The type of the value.\n */\n @Input()\n public value: T | null = null;\n\n public readonly element: ElementRef<HTMLElement> = injectElement();\n\n /**\n * Sets the active styles for the option control.\n *\n * @returns {void}\n */\n public abstract setActiveStyles(): void;\n\n /**\n * Sets the inactive styles for the option control.\n *\n * @returns {void}\n */\n public setInactiveStyles(): void {\n deferFn(() => {\n this.isActive = false;\n this.cdr.markForCheck();\n });\n }\n\n /**\n * Retrieves the label of the option control.\n *\n * @returns {string} - The label of the option control.\n */\n public getLabel(): string {\n return this.element.nativeElement.textContent?.trim() ?? '';\n }\n\n protected abstract selectOption(): void;\n\n @HostListener('click', ['$event'])\n protected select(event: Event): void {\n event.stopPropagation();\n event.preventDefault();\n\n this.selectOption();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BG;MAWmB,aAAa,CAAA;AAVnC,IAAA,WAAA,GAAA;QAWqB,IAAA,CAAA,kBAAkB,GAAG,cAAc,EAAE;AACrC,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC;QAExC,IAAA,CAAA,QAAQ,GAAG,KAAK;AAE1B;;;;AAIG;QAEI,IAAA,CAAA,KAAK,GAAa,IAAI;QAEb,IAAA,CAAA,OAAO,GAA4B,aAAa,EAAE;AAuCnE,IAAA;AA9BC;;;;AAIG;IACI,iBAAiB,GAAA;QACtB,OAAO,CAAC,MAAK;AACX,YAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB,YAAA,IAAI,CA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AQ,CAAC;;;ACzFnC;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-cdk-option-control.mjs","sources":["../../../../libs/angular/cdk/option-control/src/lib/option-control.ts","../../../../libs/angular/cdk/option-control/src/odx-angular-cdk-option-control.ts"],"sourcesContent":["import { Highlightable } from '@angular/cdk/a11y';\nimport { ChangeDetectorRef, Directive, ElementRef, HostListener, inject, Input } from '@angular/core';\nimport { deferFn, injectElement, untilDestroyed } from '@odx/angular/utils';\n\n/**\n * `OptionControl` is an abstract directive that serves as a base class for implementing selectable options in a dropdown\n * list or a similar component. It integrates with CDK's `Highlightable` interface to provide keyboard navigation support.\n *\n * @param {T} - The type of the value.\n *\n * This base class handles the visual feedback for active and selected states and provides a structure for defining\n * how an option is selected.\n *\n * Extend `OptionControl` to create a concrete option component:\n * @example\n * ```ts\n * @Component({\n * selector: 'my-option',\n * templateUrl: './my-option.component.html',\n * providers: [{ provide: OptionControl, useExisting: forwardRef(() => MyOptionComponent) }],\n * })\n * class MyOptionComponent extends OptionControl<MyDataType> {\n * @Input() override value: MyDataType | null = null;\n *\n * protected override selectOption(): void {\n * // Custom logic for when this option is selected\n * }\n * }\n * ```\n *\n * Implement `selectOption` in subclasses to define what happens when an option is selected, such as updating a model\n * or closing a dropdown.\n */\n@Directive({\n standalone: true,\n host: {\n role: 'option',\n '[class.odx-option]': 'true',\n '[class.is-active]': 'isActive',\n '[attr.aria-selected]': 'isSelected',\n '[class.is-selected]': 'isSelected',\n },\n})\nexport abstract class OptionControl<T> implements Highlightable {\n protected readonly takeUntilDestroyed = untilDestroyed();\n protected readonly cdr = inject(ChangeDetectorRef);\n\n protected isActive = false;\n\n /**\n * Represents the value of the option control.\n *\n * @type {T} - The type of the value.\n */\n @Input()\n public value: T | null = null;\n\n public readonly element: ElementRef<HTMLElement> = injectElement();\n\n /**\n * Sets the active styles for the option control.\n *\n * @returns {void}\n */\n public abstract setActiveStyles(): void;\n\n /**\n * Sets the inactive styles for the option control.\n *\n * @returns {void}\n */\n public setInactiveStyles(): void {\n deferFn(() => {\n this.isActive = false;\n this.cdr.markForCheck();\n });\n }\n\n /**\n * Retrieves the label of the option control.\n *\n * @returns {string} - The label of the option control.\n */\n public getLabel(): string {\n return this.element.nativeElement.textContent?.trim() ?? '';\n }\n\n protected abstract selectOption(): void;\n\n @HostListener('click', ['$event'])\n protected select(event: Event): void {\n event.stopPropagation();\n event.preventDefault();\n\n this.selectOption();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BG;MAWmB,aAAa,CAAA;AAVnC,IAAA,WAAA,GAAA;QAWqB,IAAA,CAAA,kBAAkB,GAAG,cAAc,EAAE;AACrC,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC;QAExC,IAAA,CAAA,QAAQ,GAAG,KAAK;AAE1B;;;;AAIG;QAEI,IAAA,CAAA,KAAK,GAAa,IAAI;QAEb,IAAA,CAAA,OAAO,GAA4B,aAAa,EAAE;AAuCnE,IAAA;AA9BC;;;;AAIG;IACI,iBAAiB,GAAA;QACtB,OAAO,CAAC,MAAK;AACX,YAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB,YAAA,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE;AACzB,QAAA,CAAC,CAAC;IACJ;AAEA;;;;AAIG;IACI,QAAQ,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE;IAC7D;AAKU,IAAA,MAAM,CAAC,KAAY,EAAA;QAC3B,KAAK,CAAC,eAAe,EAAE;QACvB,KAAK,CAAC,cAAc,EAAE;QAEtB,IAAI,CAAC,YAAY,EAAE;IACrB;+GApDoB,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,gBAAA,EAAA,EAAA,UAAA,EAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,YAAA,EAAA,mBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,IAAI,EAAE,QAAQ;AACd,wBAAA,oBAAoB,EAAE,MAAM;AAC5B,wBAAA,mBAAmB,EAAE,UAAU;AAC/B,wBAAA,sBAAsB,EAAE,YAAY;AACpC,wBAAA,qBAAqB,EAAE,YAAY;AACpC,qBAAA;AACF,iBAAA;;sBAYE;;sBAmCA,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC;;;ACzFnC;;AAEG;;;;"}
@@ -28,8 +28,8 @@ class RadioGroupControlDirective extends CustomFormControl {
28
28
  this.onTouched();
29
29
  }
30
30
  }
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioGroupControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
32
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: RadioGroupControlDirective, isStandalone: true, selector: "[odxRadioGroupControl]", host: { listeners: { "focusout": "onFocusOut($event)" } }, providers: [
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
32
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: RadioGroupControlDirective, isStandalone: true, selector: "[odxRadioGroupControl]", host: { listeners: { "focusout": "onFocusOut($event)" } }, providers: [
33
33
  {
34
34
  provide: RADIO_GROUP_CONTROL,
35
35
  useExisting: forwardRef(() => RadioGroupControlDirective),
@@ -39,7 +39,7 @@ class RadioGroupControlDirective extends CustomFormControl {
39
39
  ReadonlyController.connect(),
40
40
  ], usesInheritance: true, ngImport: i0 }); }
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioGroupControlDirective, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupControlDirective, decorators: [{
43
43
  type: Directive,
44
44
  args: [{
45
45
  standalone: true,
@@ -99,10 +99,10 @@ class RadioControlDirective {
99
99
  this.value = null;
100
100
  detectControllerChanges(this.radioGroupControl).subscribe();
101
101
  }
102
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
103
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: RadioControlDirective, isStandalone: true, selector: "[odxRadioControl]", inputs: { value: "value" }, host: { properties: { "class.is-active": "isActive", "class.is-disabled": "disabledController?.disabled", "class.is-readonly": "readonlyController?.readonly", "class.has-error": "radioGroupControl.hasError" } }, providers: [DisabledController.connect(), ReadonlyController.connect()], ngImport: i0 }); }
102
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
103
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: RadioControlDirective, isStandalone: true, selector: "[odxRadioControl]", inputs: { value: "value" }, host: { properties: { "class.is-active": "isActive", "class.is-disabled": "disabledController?.disabled", "class.is-readonly": "readonlyController?.readonly", "class.has-error": "radioGroupControl.hasError" } }, providers: [DisabledController.connect(), ReadonlyController.connect()], ngImport: i0 }); }
104
104
  }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioControlDirective, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioControlDirective, decorators: [{
106
106
  type: Directive,
107
107
  args: [{
108
108
  standalone: true,
@@ -121,11 +121,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
121
121
 
122
122
  const modules = [RadioGroupControlDirective, RadioControlDirective];
123
123
  class RadioGroupControlModule {
124
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioGroupControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: RadioGroupControlModule, imports: [RadioGroupControlDirective, RadioControlDirective], exports: [CoreModule, RadioGroupControlDirective, RadioControlDirective] }); }
126
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioGroupControlModule, imports: [CoreModule] }); }
124
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupControlModule, imports: [RadioGroupControlDirective, RadioControlDirective], exports: [CoreModule, RadioGroupControlDirective, RadioControlDirective] }); }
126
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupControlModule, imports: [CoreModule] }); }
127
127
  }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioGroupControlModule, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupControlModule, decorators: [{
129
129
  type: NgModule,
130
130
  args: [{
131
131
  imports: modules,