@odx/angular 5.7.4 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (658) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/animations/lib/expand.d.ts +44 -0
  3. package/animations/lib/fade.d.ts +70 -0
  4. package/animations/lib/slide.d.ts +21 -0
  5. package/animations/lib/wait-for-child-animations.d.ts +38 -0
  6. package/breakpoints/lib/breakpoints.config.d.ts +38 -0
  7. package/breakpoints/lib/breakpoints.service.d.ts +43 -0
  8. package/breakpoints/lib/directives/match-breakpoints.directive.d.ts +36 -0
  9. package/breakpoints/lib/helpers/configure-breakpoint.d.ts +19 -0
  10. package/cdk/a11y/lib/directives/interactive.directive.d.ts +32 -0
  11. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +22 -0
  12. package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +17 -0
  13. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +63 -0
  14. package/cdk/autocomplete-control/lib/autocomplete-control.d.ts +53 -0
  15. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +3 -0
  16. package/cdk/connected-overlay/lib/connected-overlay.service.d.ts +44 -0
  17. package/cdk/connected-overlay/lib/helpers/compute-overlay-position.d.ts +10 -0
  18. package/cdk/connected-overlay/lib/models/connected-overlay-ref.d.ts +49 -0
  19. package/cdk/custom-form-control/lib/custom-form-control.d.ts +108 -0
  20. package/cdk/custom-form-control/lib/input-control.directive.d.ts +75 -0
  21. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +25 -0
  22. package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +30 -0
  23. package/cdk/dynamic-view/lib/helpers/create-projectable-nodes.d.ts +22 -0
  24. package/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.d.ts +22 -0
  25. package/cdk/dynamic-view/lib/helpers/is-dynamic-view.d.ts +22 -0
  26. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +39 -0
  27. package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +36 -0
  28. package/cdk/event-plugins/lib/event-plugins.config.d.ts +35 -0
  29. package/cdk/event-plugins/lib/models/event-plugin.d.ts +57 -0
  30. package/cdk/event-plugins/lib/plugins/debounce-event-plugin.d.ts +32 -0
  31. package/cdk/event-plugins/lib/plugins/defer-event-plugin.d.ts +24 -0
  32. package/cdk/expandable/lib/directives/expandable-container.directive.d.ts +41 -0
  33. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +47 -0
  34. package/cdk/option-control/lib/option-control.d.ts +47 -0
  35. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +8 -0
  36. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +11 -0
  37. package/components/accordion/lib/accordion.component.d.ts +8 -0
  38. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +37 -1
  39. package/components/accordion/lib/directives/accordion-item-title.d.ts +3 -0
  40. package/components/action-group/action-group.component.d.ts +6 -0
  41. package/components/area-header/area-header.component.d.ts +8 -0
  42. package/components/area-header/directives/area-header-content.directive.d.ts +3 -0
  43. package/components/area-header/directives/area-header-subtitle.directive.d.ts +3 -0
  44. package/components/autocomplete/lib/autocomplete.component.d.ts +17 -0
  45. package/components/avatar/lib/avatar.component.d.ts +8 -0
  46. package/components/badge/lib/badge.component.d.ts +10 -0
  47. package/components/badge/lib/badge.directive.d.ts +15 -0
  48. package/components/bar/lib/bar.component.d.ts +7 -0
  49. package/components/bar/lib/directives/bar-button.directive.d.ts +3 -0
  50. package/components/bar/lib/directives/bar-label.directive.d.ts +3 -0
  51. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +3 -0
  52. package/components/button/lib/button.component.d.ts +10 -0
  53. package/components/button-group/lib/button-group.component.d.ts +15 -0
  54. package/components/calendar/lib/calendar.component.d.ts +48 -0
  55. package/components/calendar/lib/calendar.config.d.ts +41 -93
  56. package/components/calendar/lib/calendar.service.d.ts +48 -0
  57. package/components/calendar/lib/components/calendar-header/calendar-header.component.d.ts +24 -0
  58. package/components/calendar/lib/components/calendar-month/calendar-month.component.d.ts +6 -0
  59. package/components/calendar/lib/components/calendar-year/calendar-year.component.d.ts +6 -0
  60. package/components/calendar/lib/components/calendar-years/calendar-years.component.d.ts +6 -0
  61. package/components/calendar/lib/daterange.service.d.ts +16 -0
  62. package/components/calendar/lib/directives/calendar-cell.directive.d.ts +37 -9
  63. package/components/calendar/lib/directives/calendar-view.directive.d.ts +41 -9
  64. package/components/calendar/lib/pipes/date-label.pipe.d.ts +12 -21
  65. package/components/calendar/lib/services/calendar-month.service.d.ts +1 -0
  66. package/components/calendar/lib/services/calendar-year.service.d.ts +1 -0
  67. package/components/calendar/lib/services/calendar-years.service.d.ts +1 -0
  68. package/components/calendar/lib/utils/check-cell-in-range.d.ts +1 -0
  69. package/components/calendar/lib/utils/check-identical-date.d.ts +1 -0
  70. package/components/calendar/lib/utils/get-A11y-label.d.ts +2 -2
  71. package/components/calendar/lib/utils/is-date-disabled.d.ts +1 -0
  72. package/components/calendar/lib/utils/parse-date.d.ts +1 -0
  73. package/components/calendar/lib/utils/validate-daterange.d.ts +1 -0
  74. package/components/calendar/lib/utils/validate-max-date.d.ts +1 -0
  75. package/components/calendar/lib/utils/validate-min-date.d.ts +1 -0
  76. package/components/calendar/lib/utils/validate-next-date-set.d.ts +1 -0
  77. package/components/calendar/lib/utils/validate-previous-date-set.d.ts +1 -0
  78. package/components/checkbox/lib/checkbox.component.d.ts +32 -0
  79. package/components/checkbox/lib/checkbox.validator.d.ts +23 -0
  80. package/components/chip/lib/components/chip/chip.component.d.ts +14 -0
  81. package/components/chip/lib/components/chip-list/chip-list.component.d.ts +3 -0
  82. package/components/chip/lib/components/chip-list-row/chip-list-row.component.d.ts +3 -0
  83. package/components/circular-progress/lib/circular-progress.component.d.ts +20 -0
  84. package/components/content-box/lib/content-box.component.d.ts +3 -0
  85. package/components/content-box/lib/directives/content-box-footer.directive.d.ts +3 -0
  86. package/components/content-box/lib/directives/content-box-header.directive.d.ts +3 -0
  87. package/components/datepicker/lib/datepicker.component.d.ts +47 -0
  88. package/components/datepicker/lib/datepicker.config.d.ts +19 -0
  89. package/components/datepicker/lib/directives/datepicker-input-control.directive.d.ts +30 -0
  90. package/components/datepicker/lib/utils/get-datepicker-input-pattern.d.ts +2 -0
  91. package/components/datepicker/lib/utils/get-datepicker-input-value-as-date.d.ts +1 -0
  92. package/components/daterangepicker/lib/daterangepicker.component.d.ts +89 -0
  93. package/components/daterangepicker/lib/daterangepicker.config.d.ts +19 -0
  94. package/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.d.ts +30 -0
  95. package/components/daterangepicker/lib/range.validator.d.ts +15 -0
  96. package/components/daterangepicker/lib/required.validator.d.ts +6 -0
  97. package/components/daterangepicker/lib/utils/get-daterangepicker-input-pattern.d.ts +2 -0
  98. package/components/daterangepicker/lib/utils/get-daterangepicker-input-value-as-date.d.ts +1 -0
  99. package/components/dropdown/lib/dropdown.component.d.ts +16 -0
  100. package/components/dropdown/lib/dropdown.directive.d.ts +67 -0
  101. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +5 -0
  102. package/components/error-page/lib/error-page.component.d.ts +7 -0
  103. package/components/error-page/lib/error-page.config.d.ts +18 -0
  104. package/components/footer/lib/footer.component.d.ts +9 -6
  105. package/components/footer/lib/footer.config.d.ts +2 -0
  106. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +13 -0
  107. package/components/form-field/lib/components/form-group/form-group.component.d.ts +16 -0
  108. package/components/form-field/lib/directives/form-field-control.directive.d.ts +5 -0
  109. package/components/form-field/lib/directives/form-field-error.directive.d.ts +6 -0
  110. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +3 -0
  111. package/components/form-field/lib/directives/form-field-label.directive.d.ts +3 -0
  112. package/components/form-field/lib/directives/form.directive.d.ts +13 -0
  113. package/components/form-field/lib/form-field.component.d.ts +20 -0
  114. package/components/form-field/lib/form-field.service.d.ts +42 -0
  115. package/components/form-field/lib/services/form-field-error.service.d.ts +24 -0
  116. package/components/header/lib/directives/header-avatar.directive.d.ts +4 -0
  117. package/components/header/lib/directives/header-title.directive.d.ts +3 -0
  118. package/components/header/lib/header.component.d.ts +3 -0
  119. package/components/header-navigation/lib/directives/header-navigation-link.directive.d.ts +3 -0
  120. package/components/header-navigation/lib/header-navigation.component.d.ts +6 -0
  121. package/components/icon/lib/helpers/unpack-icon-identifier.d.ts +14 -0
  122. package/components/icon/lib/icon.component.d.ts +24 -0
  123. package/components/icon/lib/icon.config.d.ts +26 -0
  124. package/components/inline-message/lib/inline-message.component.d.ts +13 -0
  125. package/components/link/link.directive.d.ts +3 -0
  126. package/components/list/lib/components/expandable-list-item/expandable-list-item.component.d.ts +6 -0
  127. package/components/list/lib/components/list-item/list-item.component.d.ts +17 -1
  128. package/components/list/lib/list.component.d.ts +5 -0
  129. package/components/loading-spinner/lib/loading-spinner.component.d.ts +8 -0
  130. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +22 -0
  131. package/components/logo/logo.directive.d.ts +15 -0
  132. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +5 -1
  133. package/components/main-menu/lib/directives/main-menu-close.directive.d.ts +3 -0
  134. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +16 -0
  135. package/components/main-menu/lib/helpers/create-main-menu-links.d.ts +1 -0
  136. package/components/main-menu/lib/main-menu.component.d.ts +42 -0
  137. package/components/main-menu/lib/main-menu.config.d.ts +31 -0
  138. package/components/main-menu/lib/main-menu.service.d.ts +28 -0
  139. package/components/mainfilter-group/lib/mainfilter-group.component.d.ts +4 -0
  140. package/components/menu/lib/directives/menu-item.directive.d.ts +6 -0
  141. package/components/menu/lib/menu.component.d.ts +13 -1
  142. package/components/menu/lib/menu.directive.d.ts +31 -0
  143. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +14 -0
  144. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +3 -0
  145. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +9 -0
  146. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +21 -0
  147. package/components/modal/lib/directives/modal-close.directive.d.ts +25 -1
  148. package/components/modal/lib/directives/modal-content.directive.d.ts +3 -0
  149. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +18 -1
  150. package/components/modal/lib/helpers/inject-modal-ref.d.ts +21 -0
  151. package/components/modal/lib/helpers/provide-modal-ref.d.ts +9 -0
  152. package/components/modal/lib/modal.component.d.ts +25 -0
  153. package/components/modal/lib/modal.config.d.ts +33 -0
  154. package/components/modal/lib/modal.directive.d.ts +29 -0
  155. package/components/modal/lib/modal.service.d.ts +54 -0
  156. package/components/modal/lib/models/modal-ref.d.ts +34 -0
  157. package/components/navigation-back/lib/navigation-back.component.d.ts +3 -0
  158. package/components/notification/lib/components/notification-center/notification-center.component.d.ts +0 -2
  159. package/components/notification/lib/directives/notification-center.directive.d.ts +18 -4
  160. package/components/notification/lib/helpers/get-notifications-by-tag.d.ts +1 -0
  161. package/components/notification/lib/helpers/sort-notifications.d.ts +1 -0
  162. package/components/notification/lib/helpers/to-notification-collection.d.ts +1 -0
  163. package/components/notification/lib/models/notification-feature.d.ts +15 -0
  164. package/components/notification/lib/notification.config.d.ts +54 -0
  165. package/components/notification/lib/notification.logger.d.ts +1 -0
  166. package/components/notification/lib/notification.service.d.ts +55 -0
  167. package/components/notification/lib/notification.tokens.d.ts +3 -0
  168. package/components/notification/lib/services/notification-center.service.d.ts +9 -0
  169. package/components/paginator/lib/paginator.component.d.ts +89 -0
  170. package/components/paginator/lib/paginator.config.d.ts +24 -2
  171. package/components/progress/lib/progress.component.d.ts +15 -0
  172. package/components/radio-group/lib/radio-group.component.d.ts +11 -0
  173. package/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.d.ts +19 -0
  174. package/components/rail-navigation/lib/rail-navigation.component.d.ts +26 -0
  175. package/components/rich-list/lib/components/rich-list-content/rich-list-content.component.d.ts +4 -0
  176. package/components/rich-list/lib/components/rich-list-header/rich-list-header.component.d.ts +4 -0
  177. package/components/rich-list/lib/components/rich-list-item/rich-list-item.component.d.ts +9 -1
  178. package/components/rich-list/lib/rich-list.component.d.ts +9 -2
  179. package/components/select/lib/components/select-option/select-option.component.d.ts +39 -2
  180. package/components/select/lib/directives/select-input-control.directive.d.ts +11 -0
  181. package/components/select/lib/pipes/select-search-filter.pipe.d.ts +10 -0
  182. package/components/select/lib/select.component.d.ts +59 -0
  183. package/components/slider/lib/slider.directive.d.ts +19 -0
  184. package/components/spinbox/lib/spinbox.component.d.ts +16 -0
  185. package/components/switch/lib/switch.component.d.ts +10 -0
  186. package/components/switch/lib/switch.validator.d.ts +12 -0
  187. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +28 -0
  188. package/components/tab-bar/lib/tab-bar.component.d.ts +69 -0
  189. package/components/table/lib/components/check-cell/check-cell.component.d.ts +18 -0
  190. package/components/table/lib/components/header-title/header-title.component.d.ts +33 -1
  191. package/components/table/lib/directives/table-cell.directive.d.ts +4 -0
  192. package/components/table/lib/directives/table-row.directive.d.ts +4 -0
  193. package/components/table/lib/table.component.d.ts +36 -0
  194. package/components/timepicker/lib/timepicker.component.d.ts +11 -2
  195. package/components/timepicker/lib/utils/generate-time-stamps.d.ts +2 -1
  196. package/components/timepicker/lib/utils/ngx-mask-helper.d.ts +2 -2
  197. package/components/toast/lib/toast.config.d.ts +26 -0
  198. package/components/toast/lib/toast.service.d.ts +35 -0
  199. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +11 -0
  200. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +12 -0
  201. package/components/tooltip/lib/tooltip.component.d.ts +20 -0
  202. package/components/tooltip/lib/tooltip.directive.d.ts +35 -0
  203. package/components/wizard/lib/components/wizard-step/wizard-step.component.d.ts +34 -0
  204. package/components/wizard/lib/wizard.component.d.ts +20 -0
  205. package/esm2022/animations/lib/expand.mjs +45 -1
  206. package/esm2022/animations/lib/fade.mjs +71 -1
  207. package/esm2022/animations/lib/slide.mjs +22 -1
  208. package/esm2022/animations/lib/wait-for-child-animations.mjs +39 -1
  209. package/esm2022/breakpoints/lib/breakpoints.config.mjs +39 -1
  210. package/esm2022/breakpoints/lib/breakpoints.service.mjs +44 -1
  211. package/esm2022/breakpoints/lib/directives/match-breakpoints.directive.mjs +37 -1
  212. package/esm2022/breakpoints/lib/helpers/configure-breakpoint.mjs +20 -1
  213. package/esm2022/cdk/a11y/lib/directives/interactive.directive.mjs +33 -1
  214. package/esm2022/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +23 -1
  215. package/esm2022/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +18 -1
  216. package/esm2022/cdk/active-indicator/lib/active-indicator.directive.mjs +64 -1
  217. package/esm2022/cdk/autocomplete-control/lib/autocomplete-control.mjs +39 -1
  218. package/esm2022/cdk/checkbox-control/lib/checkbox-control.directive.mjs +4 -1
  219. package/esm2022/cdk/connected-overlay/lib/connected-overlay.service.mjs +45 -1
  220. package/esm2022/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +11 -1
  221. package/esm2022/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +50 -1
  222. package/esm2022/cdk/custom-form-control/lib/custom-form-control.mjs +109 -3
  223. package/esm2022/cdk/custom-form-control/lib/input-control.directive.mjs +76 -1
  224. package/esm2022/cdk/dynamic-view/lib/dynamic-view.directive.mjs +18 -1
  225. package/esm2022/cdk/dynamic-view/lib/dynamic-view.service.mjs +31 -1
  226. package/esm2022/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +23 -1
  227. package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +23 -1
  228. package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-view.mjs +23 -1
  229. package/esm2022/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +40 -1
  230. package/esm2022/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +37 -1
  231. package/esm2022/cdk/event-plugins/lib/event-plugins.config.mjs +36 -1
  232. package/esm2022/cdk/event-plugins/lib/models/event-plugin.mjs +45 -1
  233. package/esm2022/cdk/event-plugins/lib/plugins/debounce-event-plugin.mjs +33 -1
  234. package/esm2022/cdk/event-plugins/lib/plugins/defer-event-plugin.mjs +25 -1
  235. package/esm2022/cdk/expandable/lib/directives/expandable-container.directive.mjs +42 -1
  236. package/esm2022/cdk/expandable/lib/directives/expandable-item.directive.mjs +48 -1
  237. package/esm2022/cdk/option-control/lib/option-control.mjs +48 -1
  238. package/esm2022/cdk/radio-group-control/lib/radio-control.directive.mjs +9 -1
  239. package/esm2022/cdk/radio-group-control/lib/radio-group-control.directive.mjs +12 -1
  240. package/esm2022/components/accordion/lib/accordion.component.mjs +9 -1
  241. package/esm2022/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +31 -1
  242. package/esm2022/components/accordion/lib/directives/accordion-item-title.mjs +4 -1
  243. package/esm2022/components/action-group/action-group.component.mjs +7 -1
  244. package/esm2022/components/area-header/area-header.component.mjs +9 -1
  245. package/esm2022/components/area-header/directives/area-header-content.directive.mjs +4 -1
  246. package/esm2022/components/area-header/directives/area-header-subtitle.directive.mjs +4 -1
  247. package/esm2022/components/autocomplete/lib/autocomplete.component.mjs +18 -1
  248. package/esm2022/components/avatar/lib/avatar.component.mjs +9 -1
  249. package/esm2022/components/badge/lib/badge.component.mjs +11 -1
  250. package/esm2022/components/badge/lib/badge.directive.mjs +16 -1
  251. package/esm2022/components/bar/lib/bar.component.mjs +8 -1
  252. package/esm2022/components/bar/lib/directives/bar-button.directive.mjs +4 -1
  253. package/esm2022/components/bar/lib/directives/bar-label.directive.mjs +4 -1
  254. package/esm2022/components/breadcrumbs/lib/breadcrumbs.component.mjs +4 -1
  255. package/esm2022/components/button/lib/button.component.mjs +11 -1
  256. package/esm2022/components/button-group/lib/button-group.component.mjs +16 -1
  257. package/esm2022/components/calendar/lib/calendar.component.mjs +35 -1
  258. package/esm2022/components/calendar/lib/calendar.config.mjs +18 -12
  259. package/esm2022/components/calendar/lib/calendar.service.mjs +49 -1
  260. package/esm2022/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +19 -1
  261. package/esm2022/components/calendar/lib/components/calendar-month/calendar-month.component.mjs +9 -3
  262. package/esm2022/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +9 -3
  263. package/esm2022/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +9 -3
  264. package/esm2022/components/calendar/lib/daterange.service.mjs +17 -1
  265. package/esm2022/components/calendar/lib/directives/calendar-cell.directive.mjs +27 -2
  266. package/esm2022/components/calendar/lib/directives/calendar-view.directive.mjs +39 -1
  267. package/esm2022/components/calendar/lib/pipes/date-label.pipe.mjs +27 -9
  268. package/esm2022/components/calendar/lib/services/calendar-month.service.mjs +2 -1
  269. package/esm2022/components/calendar/lib/services/calendar-year.service.mjs +2 -1
  270. package/esm2022/components/calendar/lib/services/calendar-years.service.mjs +2 -1
  271. package/esm2022/components/calendar/lib/utils/check-cell-in-range.mjs +2 -1
  272. package/esm2022/components/calendar/lib/utils/check-identical-date.mjs +2 -1
  273. package/esm2022/components/calendar/lib/utils/get-A11y-label.mjs +11 -8
  274. package/esm2022/components/calendar/lib/utils/is-date-disabled.mjs +2 -1
  275. package/esm2022/components/calendar/lib/utils/parse-date.mjs +2 -1
  276. package/esm2022/components/calendar/lib/utils/validate-daterange.mjs +2 -1
  277. package/esm2022/components/calendar/lib/utils/validate-max-date.mjs +2 -1
  278. package/esm2022/components/calendar/lib/utils/validate-min-date.mjs +2 -1
  279. package/esm2022/components/calendar/lib/utils/validate-next-date-set.mjs +2 -1
  280. package/esm2022/components/calendar/lib/utils/validate-previous-date-set.mjs +2 -1
  281. package/esm2022/components/checkbox/lib/checkbox.component.mjs +33 -1
  282. package/esm2022/components/checkbox/lib/checkbox.validator.mjs +24 -1
  283. package/esm2022/components/chip/lib/components/chip/chip.component.mjs +15 -1
  284. package/esm2022/components/chip/lib/components/chip-list/chip-list.component.mjs +4 -1
  285. package/esm2022/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +4 -1
  286. package/esm2022/components/circular-progress/lib/circular-progress.component.mjs +21 -1
  287. package/esm2022/components/content-box/lib/content-box.component.mjs +4 -1
  288. package/esm2022/components/content-box/lib/directives/content-box-footer.directive.mjs +4 -1
  289. package/esm2022/components/content-box/lib/directives/content-box-header.directive.mjs +4 -1
  290. package/esm2022/components/datepicker/lib/datepicker.component.mjs +33 -1
  291. package/esm2022/components/datepicker/lib/datepicker.config.mjs +20 -1
  292. package/esm2022/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +31 -1
  293. package/esm2022/components/datepicker/lib/utils/get-datepicker-input-pattern.mjs +3 -1
  294. package/esm2022/components/datepicker/lib/utils/get-datepicker-input-value-as-date.mjs +2 -1
  295. package/esm2022/components/daterangepicker/lib/daterangepicker.component.mjs +65 -1
  296. package/esm2022/components/daterangepicker/lib/daterangepicker.config.mjs +20 -1
  297. package/esm2022/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.mjs +31 -1
  298. package/esm2022/components/daterangepicker/lib/range.validator.mjs +16 -1
  299. package/esm2022/components/daterangepicker/lib/required.validator.mjs +15 -1
  300. package/esm2022/components/daterangepicker/lib/utils/get-daterangepicker-input-pattern.mjs +3 -1
  301. package/esm2022/components/daterangepicker/lib/utils/get-daterangepicker-input-value-as-date.mjs +2 -1
  302. package/esm2022/components/dropdown/lib/dropdown.component.mjs +8 -1
  303. package/esm2022/components/dropdown/lib/dropdown.directive.mjs +55 -1
  304. package/esm2022/components/dropdown/lib/helpers/close-current-dropdown.mjs +6 -1
  305. package/esm2022/components/error-page/lib/error-page.component.mjs +8 -1
  306. package/esm2022/components/error-page/lib/error-page.config.mjs +9 -1
  307. package/esm2022/components/footer/lib/footer.component.mjs +10 -7
  308. package/esm2022/components/footer/lib/footer.config.mjs +3 -1
  309. package/esm2022/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +14 -1
  310. package/esm2022/components/form-field/lib/components/form-group/form-group.component.mjs +13 -1
  311. package/esm2022/components/form-field/lib/directives/form-field-control.directive.mjs +6 -1
  312. package/esm2022/components/form-field/lib/directives/form-field-error.directive.mjs +4 -1
  313. package/esm2022/components/form-field/lib/directives/form-field-hint.directive.mjs +4 -1
  314. package/esm2022/components/form-field/lib/directives/form-field-label.directive.mjs +4 -1
  315. package/esm2022/components/form-field/lib/directives/form.directive.mjs +14 -1
  316. package/esm2022/components/form-field/lib/form-field.component.mjs +14 -1
  317. package/esm2022/components/form-field/lib/form-field.service.mjs +43 -1
  318. package/esm2022/components/form-field/lib/services/form-field-error.service.mjs +25 -1
  319. package/esm2022/components/header/lib/directives/header-avatar.directive.mjs +5 -1
  320. package/esm2022/components/header/lib/directives/header-title.directive.mjs +4 -1
  321. package/esm2022/components/header/lib/header.component.mjs +4 -1
  322. package/esm2022/components/header-navigation/lib/directives/header-navigation-link.directive.mjs +4 -1
  323. package/esm2022/components/header-navigation/lib/header-navigation.component.mjs +4 -1
  324. package/esm2022/components/icon/lib/helpers/unpack-icon-identifier.mjs +15 -1
  325. package/esm2022/components/icon/lib/icon.component.mjs +25 -1
  326. package/esm2022/components/icon/lib/icon.config.mjs +20 -1
  327. package/esm2022/components/inline-message/lib/inline-message.component.mjs +14 -1
  328. package/esm2022/components/link/link.directive.mjs +4 -1
  329. package/esm2022/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +7 -1
  330. package/esm2022/components/list/lib/components/list-item/list-item.component.mjs +18 -2
  331. package/esm2022/components/list/lib/list.component.mjs +6 -1
  332. package/esm2022/components/loading-spinner/lib/loading-spinner.component.mjs +10 -2
  333. package/esm2022/components/loading-spinner/lib/loading-spinner.directive.mjs +23 -1
  334. package/esm2022/components/logo/logo.directive.mjs +16 -1
  335. package/esm2022/components/main-menu/lib/directives/main-menu-button.directive.mjs +5 -1
  336. package/esm2022/components/main-menu/lib/directives/main-menu-close.directive.mjs +4 -1
  337. package/esm2022/components/main-menu/lib/directives/main-menu-item.directive.mjs +17 -1
  338. package/esm2022/components/main-menu/lib/helpers/create-main-menu-links.mjs +2 -1
  339. package/esm2022/components/main-menu/lib/main-menu.component.mjs +37 -1
  340. package/esm2022/components/main-menu/lib/main-menu.config.mjs +32 -1
  341. package/esm2022/components/main-menu/lib/main-menu.service.mjs +29 -1
  342. package/esm2022/components/mainfilter-group/lib/mainfilter-group.component.mjs +5 -1
  343. package/esm2022/components/menu/lib/directives/menu-item.directive.mjs +7 -1
  344. package/esm2022/components/menu/lib/menu.component.mjs +13 -1
  345. package/esm2022/components/menu/lib/menu.directive.mjs +19 -1
  346. package/esm2022/components/modal/lib/components/basic-modal/basic-modal.component.mjs +15 -1
  347. package/esm2022/components/modal/lib/components/modal-footer/modal-footer.component.mjs +4 -1
  348. package/esm2022/components/modal/lib/components/modal-header/modal-header.component.mjs +4 -1
  349. package/esm2022/components/modal/lib/components/modal-hero/modal-hero.component.mjs +12 -1
  350. package/esm2022/components/modal/lib/directives/modal-close.directive.mjs +25 -1
  351. package/esm2022/components/modal/lib/directives/modal-content.directive.mjs +4 -1
  352. package/esm2022/components/modal/lib/directives/modal-dismiss.directive.mjs +18 -1
  353. package/esm2022/components/modal/lib/helpers/inject-modal-ref.mjs +22 -1
  354. package/esm2022/components/modal/lib/helpers/provide-modal-ref.mjs +10 -1
  355. package/esm2022/components/modal/lib/modal.component.mjs +21 -2
  356. package/esm2022/components/modal/lib/modal.config.mjs +34 -1
  357. package/esm2022/components/modal/lib/modal.directive.mjs +25 -1
  358. package/esm2022/components/modal/lib/modal.service.mjs +39 -1
  359. package/esm2022/components/modal/lib/models/modal-ref.mjs +34 -1
  360. package/esm2022/components/navigation-back/lib/navigation-back.component.mjs +4 -1
  361. package/esm2022/components/notification/lib/components/notification-center/notification-center.component.mjs +1 -3
  362. package/esm2022/components/notification/lib/directives/notification-center.directive.mjs +19 -5
  363. package/esm2022/components/notification/lib/helpers/get-notifications-by-tag.mjs +2 -1
  364. package/esm2022/components/notification/lib/helpers/sort-notifications.mjs +2 -1
  365. package/esm2022/components/notification/lib/helpers/to-notification-collection.mjs +2 -1
  366. package/esm2022/components/notification/lib/models/notification-feature.mjs +16 -1
  367. package/esm2022/components/notification/lib/notification.config.mjs +45 -1
  368. package/esm2022/components/notification/lib/notification.logger.mjs +2 -1
  369. package/esm2022/components/notification/lib/notification.service.mjs +56 -1
  370. package/esm2022/components/notification/lib/notification.tokens.mjs +4 -1
  371. package/esm2022/components/notification/lib/services/notification-center.service.mjs +10 -1
  372. package/esm2022/components/paginator/lib/paginator.component.mjs +90 -1
  373. package/esm2022/components/paginator/lib/paginator.config.mjs +29 -1
  374. package/esm2022/components/progress/lib/progress.component.mjs +16 -1
  375. package/esm2022/components/radio-group/lib/radio-group.component.mjs +13 -2
  376. package/esm2022/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +17 -1
  377. package/esm2022/components/rail-navigation/lib/rail-navigation.component.mjs +27 -1
  378. package/esm2022/components/rich-list/lib/components/rich-list-content/rich-list-content.component.mjs +5 -1
  379. package/esm2022/components/rich-list/lib/components/rich-list-header/rich-list-header.component.mjs +5 -1
  380. package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +10 -2
  381. package/esm2022/components/rich-list/lib/rich-list.component.mjs +10 -3
  382. package/esm2022/components/select/lib/components/select-option/select-option.component.mjs +47 -6
  383. package/esm2022/components/select/lib/directives/select-input-control.directive.mjs +12 -2
  384. package/esm2022/components/select/lib/pipes/select-search-filter.pipe.mjs +11 -1
  385. package/esm2022/components/select/lib/select.component.mjs +56 -2
  386. package/esm2022/components/slider/lib/slider.directive.mjs +20 -1
  387. package/esm2022/components/spinbox/lib/spinbox.component.mjs +17 -1
  388. package/esm2022/components/switch/lib/switch.component.mjs +11 -1
  389. package/esm2022/components/switch/lib/switch.validator.mjs +13 -1
  390. package/esm2022/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +29 -1
  391. package/esm2022/components/tab-bar/lib/tab-bar.component.mjs +70 -1
  392. package/esm2022/components/table/lib/components/check-cell/check-cell.component.mjs +19 -1
  393. package/esm2022/components/table/lib/components/header-title/header-title.component.mjs +30 -2
  394. package/esm2022/components/table/lib/directives/table-cell.directive.mjs +5 -1
  395. package/esm2022/components/table/lib/directives/table-row.directive.mjs +5 -1
  396. package/esm2022/components/table/lib/table.component.mjs +30 -1
  397. package/esm2022/components/timepicker/lib/timepicker.component.mjs +15 -6
  398. package/esm2022/components/timepicker/lib/utils/generate-time-stamps.mjs +5 -3
  399. package/esm2022/components/timepicker/lib/utils/ngx-mask-helper.mjs +3 -3
  400. package/esm2022/components/toast/lib/toast.config.mjs +27 -1
  401. package/esm2022/components/toast/lib/toast.service.mjs +36 -1
  402. package/esm2022/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +12 -1
  403. package/esm2022/components/toggle-button-group/lib/toggle-button-group.component.mjs +14 -2
  404. package/esm2022/components/tooltip/lib/tooltip.component.mjs +18 -1
  405. package/esm2022/components/tooltip/lib/tooltip.directive.mjs +36 -1
  406. package/esm2022/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +35 -1
  407. package/esm2022/components/wizard/lib/wizard.component.mjs +21 -1
  408. package/esm2022/internal/lib/helpers/fast-equals.mjs +3 -0
  409. package/esm2022/internal/lib/helpers/index.mjs +2 -1
  410. package/esm2022/internal/translate/lib/translate.config.mjs +32 -1
  411. package/esm2022/internal/translate/lib/translate.service.mjs +30 -1
  412. package/esm2022/lib/controllers/controller.mjs +26 -1
  413. package/esm2022/lib/controllers/disabled.controller.mjs +60 -1
  414. package/esm2022/lib/controllers/readonly.controller.mjs +57 -1
  415. package/esm2022/lib/directives/click-outside.directive.mjs +30 -1
  416. package/esm2022/lib/directives/delegate-focus.directive.mjs +15 -1
  417. package/esm2022/lib/services/window-ref.mjs +67 -1
  418. package/esm2022/lib/tokens/identity-matcher.mjs +25 -1
  419. package/esm2022/lib/tokens/string-search-handler.mjs +25 -1
  420. package/esm2022/lib/tokens/stringify.mjs +26 -1
  421. package/esm2022/localization/lib/features/with-http-language-header.mjs +54 -1
  422. package/esm2022/localization/lib/features/with-http-language-query-param.mjs +52 -1
  423. package/esm2022/localization/lib/loaders/browser-language-loader.mjs +33 -1
  424. package/esm2022/localization/lib/localization.config.mjs +73 -5
  425. package/esm2022/localization/lib/localization.logger.mjs +3 -0
  426. package/esm2022/localization/lib/localization.service.mjs +59 -29
  427. package/esm2022/rxjs/index.mjs +2 -2
  428. package/esm2022/rxjs/lib/delay-until.mjs +23 -1
  429. package/esm2022/rxjs/lib/from-element-mutation.mjs +22 -1
  430. package/esm2022/rxjs/lib/from-element-resize.mjs +25 -1
  431. package/esm2022/rxjs/lib/from-events.mjs +25 -1
  432. package/esm2022/rxjs/lib/from-query-list.mjs +24 -0
  433. package/esm2022/sdk/lib/application-environment.mjs +51 -1
  434. package/esm2022/theming/lib/helpers/prefers-dark-theme.mjs +19 -1
  435. package/esm2022/theming/lib/helpers/resolve-theme.mjs +26 -1
  436. package/esm2022/theming/lib/helpers/theme-storage.mjs +43 -1
  437. package/esm2022/theming/lib/theming.config.mjs +34 -1
  438. package/esm2022/theming/lib/theming.service.mjs +32 -1
  439. package/esm2022/utils/lib/decorators/pure.mjs +52 -1
  440. package/esm2022/utils/lib/helpers/angular.mjs +37 -1
  441. package/esm2022/utils/lib/helpers/array.mjs +5 -1
  442. package/esm2022/utils/lib/helpers/build-url.mjs +21 -1
  443. package/esm2022/utils/lib/helpers/build-website-url.mjs +3 -2
  444. package/esm2022/utils/lib/helpers/cache-storage-client.mjs +52 -1
  445. package/esm2022/utils/lib/helpers/coercion.mjs +18 -1
  446. package/esm2022/utils/lib/helpers/debounce.mjs +28 -1
  447. package/esm2022/utils/lib/helpers/defer-fn.mjs +21 -1
  448. package/esm2022/utils/lib/helpers/dom.mjs +71 -1
  449. package/esm2022/utils/lib/helpers/get-axis.mjs +21 -1
  450. package/esm2022/utils/lib/helpers/get-language-code.mjs +18 -1
  451. package/esm2022/utils/lib/helpers/get-opposite-side.mjs +22 -1
  452. package/esm2022/utils/lib/helpers/get-side.mjs +18 -1
  453. package/esm2022/utils/lib/helpers/get-unique-id.mjs +34 -1
  454. package/esm2022/utils/lib/helpers/match-url.mjs +41 -1
  455. package/esm2022/utils/lib/helpers/ng-changes.mjs +30 -1
  456. package/esm2022/utils/lib/helpers/provide-config.mjs +57 -1
  457. package/esm2022/utils/lib/helpers/queue.mjs +84 -1
  458. package/esm2022/utils/lib/helpers/type-guards.mjs +58 -1
  459. package/esm2022/utils/lib/helpers/until-destroyed.mjs +39 -1
  460. package/fesm2022/odx-angular-animations.mjs +173 -0
  461. package/fesm2022/odx-angular-animations.mjs.map +1 -1
  462. package/fesm2022/odx-angular-breakpoints.mjs +136 -0
  463. package/fesm2022/odx-angular-breakpoints.mjs.map +1 -1
  464. package/fesm2022/odx-angular-cdk-a11y.mjs +71 -0
  465. package/fesm2022/odx-angular-cdk-a11y.mjs.map +1 -1
  466. package/fesm2022/odx-angular-cdk-active-indicator.mjs +63 -0
  467. package/fesm2022/odx-angular-cdk-active-indicator.mjs.map +1 -1
  468. package/fesm2022/odx-angular-cdk-autocomplete-control.mjs +38 -0
  469. package/fesm2022/odx-angular-cdk-autocomplete-control.mjs.map +1 -1
  470. package/fesm2022/odx-angular-cdk-checkbox-control.mjs +3 -0
  471. package/fesm2022/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  472. package/fesm2022/odx-angular-cdk-connected-overlay.mjs +103 -0
  473. package/fesm2022/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  474. package/fesm2022/odx-angular-cdk-custom-form-control.mjs +183 -2
  475. package/fesm2022/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  476. package/fesm2022/odx-angular-cdk-dynamic-view.mjs +188 -0
  477. package/fesm2022/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  478. package/fesm2022/odx-angular-cdk-event-plugins.mjs +135 -0
  479. package/fesm2022/odx-angular-cdk-event-plugins.mjs.map +1 -1
  480. package/fesm2022/odx-angular-cdk-expandable.mjs +88 -0
  481. package/fesm2022/odx-angular-cdk-expandable.mjs.map +1 -1
  482. package/fesm2022/odx-angular-cdk-option-control.mjs +47 -0
  483. package/fesm2022/odx-angular-cdk-option-control.mjs.map +1 -1
  484. package/fesm2022/odx-angular-cdk-radio-group-control.mjs +19 -0
  485. package/fesm2022/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  486. package/fesm2022/odx-angular-components-accordion.mjs +41 -0
  487. package/fesm2022/odx-angular-components-accordion.mjs.map +1 -1
  488. package/fesm2022/odx-angular-components-action-group.mjs +6 -0
  489. package/fesm2022/odx-angular-components-action-group.mjs.map +1 -1
  490. package/fesm2022/odx-angular-components-area-header.mjs +14 -0
  491. package/fesm2022/odx-angular-components-area-header.mjs.map +1 -1
  492. package/fesm2022/odx-angular-components-autocomplete.mjs +17 -0
  493. package/fesm2022/odx-angular-components-autocomplete.mjs.map +1 -1
  494. package/fesm2022/odx-angular-components-avatar.mjs +8 -0
  495. package/fesm2022/odx-angular-components-avatar.mjs.map +1 -1
  496. package/fesm2022/odx-angular-components-badge.mjs +25 -0
  497. package/fesm2022/odx-angular-components-badge.mjs.map +1 -1
  498. package/fesm2022/odx-angular-components-bar.mjs +13 -0
  499. package/fesm2022/odx-angular-components-bar.mjs.map +1 -1
  500. package/fesm2022/odx-angular-components-breadcrumbs.mjs +3 -0
  501. package/fesm2022/odx-angular-components-breadcrumbs.mjs.map +1 -1
  502. package/fesm2022/odx-angular-components-button-group.mjs +15 -0
  503. package/fesm2022/odx-angular-components-button-group.mjs.map +1 -1
  504. package/fesm2022/odx-angular-components-button.mjs +10 -0
  505. package/fesm2022/odx-angular-components-button.mjs.map +1 -1
  506. package/fesm2022/odx-angular-components-calendar.mjs +270 -33
  507. package/fesm2022/odx-angular-components-calendar.mjs.map +1 -1
  508. package/fesm2022/odx-angular-components-checkbox.mjs +55 -0
  509. package/fesm2022/odx-angular-components-checkbox.mjs.map +1 -1
  510. package/fesm2022/odx-angular-components-chip.mjs +20 -0
  511. package/fesm2022/odx-angular-components-chip.mjs.map +1 -1
  512. package/fesm2022/odx-angular-components-circular-progress.mjs +20 -0
  513. package/fesm2022/odx-angular-components-circular-progress.mjs.map +1 -1
  514. package/fesm2022/odx-angular-components-content-box.mjs +9 -0
  515. package/fesm2022/odx-angular-components-content-box.mjs.map +1 -1
  516. package/fesm2022/odx-angular-components-datepicker.mjs +84 -0
  517. package/fesm2022/odx-angular-components-datepicker.mjs.map +1 -1
  518. package/fesm2022/odx-angular-components-daterangepicker.mjs +145 -0
  519. package/fesm2022/odx-angular-components-daterangepicker.mjs.map +1 -1
  520. package/fesm2022/odx-angular-components-dropdown.mjs +66 -0
  521. package/fesm2022/odx-angular-components-dropdown.mjs.map +1 -1
  522. package/fesm2022/odx-angular-components-error-page.mjs +15 -0
  523. package/fesm2022/odx-angular-components-error-page.mjs.map +1 -1
  524. package/fesm2022/odx-angular-components-footer.mjs +11 -6
  525. package/fesm2022/odx-angular-components-footer.mjs.map +1 -1
  526. package/fesm2022/odx-angular-components-form-field.mjs +131 -0
  527. package/fesm2022/odx-angular-components-form-field.mjs.map +1 -1
  528. package/fesm2022/odx-angular-components-header-navigation.mjs +6 -0
  529. package/fesm2022/odx-angular-components-header-navigation.mjs.map +1 -1
  530. package/fesm2022/odx-angular-components-header.mjs +10 -0
  531. package/fesm2022/odx-angular-components-header.mjs.map +1 -1
  532. package/fesm2022/odx-angular-components-icon.mjs +57 -0
  533. package/fesm2022/odx-angular-components-icon.mjs.map +1 -1
  534. package/fesm2022/odx-angular-components-inline-message.mjs +13 -0
  535. package/fesm2022/odx-angular-components-inline-message.mjs.map +1 -1
  536. package/fesm2022/odx-angular-components-link.mjs +3 -0
  537. package/fesm2022/odx-angular-components-link.mjs.map +1 -1
  538. package/fesm2022/odx-angular-components-list.mjs +28 -1
  539. package/fesm2022/odx-angular-components-list.mjs.map +1 -1
  540. package/fesm2022/odx-angular-components-loading-spinner.mjs +30 -0
  541. package/fesm2022/odx-angular-components-loading-spinner.mjs.map +1 -1
  542. package/fesm2022/odx-angular-components-logo.mjs +15 -0
  543. package/fesm2022/odx-angular-components-logo.mjs.map +1 -1
  544. package/fesm2022/odx-angular-components-main-menu.mjs +119 -0
  545. package/fesm2022/odx-angular-components-main-menu.mjs.map +1 -1
  546. package/fesm2022/odx-angular-components-mainfilter-group.mjs +4 -0
  547. package/fesm2022/odx-angular-components-mainfilter-group.mjs.map +1 -1
  548. package/fesm2022/odx-angular-components-menu.mjs +36 -0
  549. package/fesm2022/odx-angular-components-menu.mjs.map +1 -1
  550. package/fesm2022/odx-angular-components-modal.mjs +252 -0
  551. package/fesm2022/odx-angular-components-modal.mjs.map +1 -1
  552. package/fesm2022/odx-angular-components-navigation-back.mjs +3 -0
  553. package/fesm2022/odx-angular-components-navigation-back.mjs.map +1 -1
  554. package/fesm2022/odx-angular-components-notification.mjs +148 -6
  555. package/fesm2022/odx-angular-components-notification.mjs.map +1 -1
  556. package/fesm2022/odx-angular-components-paginator.mjs +117 -0
  557. package/fesm2022/odx-angular-components-paginator.mjs.map +1 -1
  558. package/fesm2022/odx-angular-components-progress.mjs +15 -0
  559. package/fesm2022/odx-angular-components-progress.mjs.map +1 -1
  560. package/fesm2022/odx-angular-components-radio-group.mjs +11 -0
  561. package/fesm2022/odx-angular-components-radio-group.mjs.map +1 -1
  562. package/fesm2022/odx-angular-components-rail-navigation.mjs +42 -0
  563. package/fesm2022/odx-angular-components-rail-navigation.mjs.map +1 -1
  564. package/fesm2022/odx-angular-components-rich-list.mjs +26 -3
  565. package/fesm2022/odx-angular-components-rich-list.mjs.map +1 -1
  566. package/fesm2022/odx-angular-components-select.mjs +122 -7
  567. package/fesm2022/odx-angular-components-select.mjs.map +1 -1
  568. package/fesm2022/odx-angular-components-slider.mjs +19 -0
  569. package/fesm2022/odx-angular-components-slider.mjs.map +1 -1
  570. package/fesm2022/odx-angular-components-spinbox.mjs +16 -0
  571. package/fesm2022/odx-angular-components-spinbox.mjs.map +1 -1
  572. package/fesm2022/odx-angular-components-switch.mjs +22 -0
  573. package/fesm2022/odx-angular-components-switch.mjs.map +1 -1
  574. package/fesm2022/odx-angular-components-tab-bar.mjs +97 -0
  575. package/fesm2022/odx-angular-components-tab-bar.mjs.map +1 -1
  576. package/fesm2022/odx-angular-components-table.mjs +84 -1
  577. package/fesm2022/odx-angular-components-table.mjs.map +1 -1
  578. package/fesm2022/odx-angular-components-timepicker.mjs +20 -9
  579. package/fesm2022/odx-angular-components-timepicker.mjs.map +1 -1
  580. package/fesm2022/odx-angular-components-toast.mjs +61 -0
  581. package/fesm2022/odx-angular-components-toast.mjs.map +1 -1
  582. package/fesm2022/odx-angular-components-toggle-button-group.mjs +23 -0
  583. package/fesm2022/odx-angular-components-toggle-button-group.mjs.map +1 -1
  584. package/fesm2022/odx-angular-components-tooltip.mjs +52 -0
  585. package/fesm2022/odx-angular-components-tooltip.mjs.map +1 -1
  586. package/fesm2022/odx-angular-components-wizard.mjs +54 -0
  587. package/fesm2022/odx-angular-components-wizard.mjs.map +1 -1
  588. package/fesm2022/odx-angular-internal-translate.mjs +60 -0
  589. package/fesm2022/odx-angular-internal-translate.mjs.map +1 -1
  590. package/fesm2022/odx-angular-internal.mjs +4 -1
  591. package/fesm2022/odx-angular-internal.mjs.map +1 -1
  592. package/fesm2022/odx-angular-localization.mjs +269 -32
  593. package/fesm2022/odx-angular-localization.mjs.map +1 -1
  594. package/fesm2022/odx-angular-rxjs.mjs +115 -5
  595. package/fesm2022/odx-angular-rxjs.mjs.map +1 -1
  596. package/fesm2022/odx-angular-sdk.mjs +50 -0
  597. package/fesm2022/odx-angular-sdk.mjs.map +1 -1
  598. package/fesm2022/odx-angular-theming.mjs +149 -0
  599. package/fesm2022/odx-angular-theming.mjs.map +1 -1
  600. package/fesm2022/odx-angular-utils.mjs +709 -1
  601. package/fesm2022/odx-angular-utils.mjs.map +1 -1
  602. package/fesm2022/odx-angular.mjs +322 -0
  603. package/fesm2022/odx-angular.mjs.map +1 -1
  604. package/internal/lib/helpers/fast-equals.d.ts +1 -0
  605. package/internal/lib/helpers/index.d.ts +1 -0
  606. package/internal/translate/lib/translate.config.d.ts +31 -0
  607. package/internal/translate/lib/translate.service.d.ts +29 -0
  608. package/lib/controllers/controller.d.ts +25 -0
  609. package/lib/controllers/disabled.controller.d.ts +59 -0
  610. package/lib/controllers/readonly.controller.d.ts +56 -0
  611. package/lib/directives/click-outside.directive.d.ts +29 -0
  612. package/lib/directives/delegate-focus.directive.d.ts +14 -0
  613. package/lib/services/window-ref.d.ts +66 -0
  614. package/lib/tokens/identity-matcher.d.ts +41 -0
  615. package/lib/tokens/string-search-handler.d.ts +39 -0
  616. package/lib/tokens/stringify.d.ts +42 -0
  617. package/localization/lib/features/with-http-language-header.d.ts +63 -0
  618. package/localization/lib/features/with-http-language-query-param.d.ts +61 -0
  619. package/localization/lib/loaders/browser-language-loader.d.ts +32 -0
  620. package/localization/lib/localization.config.d.ts +81 -2
  621. package/localization/lib/localization.logger.d.ts +3 -0
  622. package/localization/lib/localization.service.d.ts +42 -7
  623. package/package.json +8 -7
  624. package/rxjs/index.d.ts +1 -1
  625. package/rxjs/lib/delay-until.d.ts +22 -0
  626. package/rxjs/lib/from-element-mutation.d.ts +21 -0
  627. package/rxjs/lib/from-element-resize.d.ts +24 -0
  628. package/rxjs/lib/from-events.d.ts +24 -0
  629. package/rxjs/lib/from-query-list.d.ts +22 -0
  630. package/sdk/lib/application-environment.d.ts +59 -0
  631. package/theming/lib/helpers/prefers-dark-theme.d.ts +18 -0
  632. package/theming/lib/helpers/resolve-theme.d.ts +25 -0
  633. package/theming/lib/helpers/theme-storage.d.ts +42 -0
  634. package/theming/lib/theming.config.d.ts +46 -0
  635. package/theming/lib/theming.service.d.ts +31 -0
  636. package/utils/lib/decorators/pure.d.ts +51 -0
  637. package/utils/lib/helpers/angular.d.ts +36 -0
  638. package/utils/lib/helpers/array.d.ts +4 -0
  639. package/utils/lib/helpers/build-url.d.ts +20 -0
  640. package/utils/lib/helpers/build-website-url.d.ts +2 -1
  641. package/utils/lib/helpers/cache-storage-client.d.ts +51 -0
  642. package/utils/lib/helpers/coercion.d.ts +17 -0
  643. package/utils/lib/helpers/debounce.d.ts +27 -0
  644. package/utils/lib/helpers/defer-fn.d.ts +20 -0
  645. package/utils/lib/helpers/dom.d.ts +70 -0
  646. package/utils/lib/helpers/get-axis.d.ts +20 -0
  647. package/utils/lib/helpers/get-language-code.d.ts +17 -0
  648. package/utils/lib/helpers/get-opposite-side.d.ts +21 -0
  649. package/utils/lib/helpers/get-side.d.ts +17 -0
  650. package/utils/lib/helpers/get-unique-id.d.ts +33 -0
  651. package/utils/lib/helpers/match-url.d.ts +40 -0
  652. package/utils/lib/helpers/ng-changes.d.ts +52 -0
  653. package/utils/lib/helpers/provide-config.d.ts +56 -0
  654. package/utils/lib/helpers/queue.d.ts +83 -0
  655. package/utils/lib/helpers/type-guards.d.ts +57 -0
  656. package/utils/lib/helpers/until-destroyed.d.ts +38 -0
  657. package/esm2022/rxjs/lib/form-query-list.mjs +0 -5
  658. package/rxjs/lib/form-query-list.d.ts +0 -3
@@ -2,8 +2,52 @@ import { VirtualElement } from '@floating-ui/dom';
2
2
  import { DynamicViewRenderingOptions } from '@odx/angular/cdk/dynamic-view';
3
3
  import { ConnectedOverlayOptions, ConnectedOverlayRef } from './models';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * Service for creating and managing connected overlays. These overlays are UI elements such as popovers, tooltips,
7
+ * or dropdown menus that are positioned relative to a reference element in the DOM. This service leverages the `DynamicViewService`
8
+ * for dynamic component rendering and provides a streamlined API for creating overlays with custom positioning and options.
9
+ *
10
+ * Use the `ConnectedOverlayService` to dynamically create an overlay next to a specific element in your Angular application.
11
+ * This example demonstrates creating a connected overlay next to a button element when the button is clicked.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * import { Component, ElementRef, ViewChild } from '@angular/core';
16
+ * import { ConnectedOverlayService, ConnectedOverlayOptions } from '@odx/angular/cdk/connected-overlay';
17
+ *
18
+ * @Component({
19
+ * selector: 'app-example',
20
+ * template: `<button #triggerElement>Click me</button>`,
21
+ * })
22
+ * class AppComponent {
23
+ * @ViewChild('triggerElement') triggerElementRef!: ElementRef;
24
+ *
25
+ * constructor(private connectedOverlayService: ConnectedOverlayService) {}
26
+ *
27
+ * showOverlay(): void {
28
+ * const options: Partial<ConnectedOverlayOptions> = {
29
+ * position: 'bottom-start',
30
+ * showArrow: true,
31
+ * content: 'Hello, world!',
32
+ * };
33
+ *
34
+ * this.connectedOverlayService.createOverlay(this.triggerElementRef.nativeElement, options);
35
+ * }
36
+ * }
37
+ * ```
38
+ *
39
+ * This service simplifies the process of creating dynamic, positionally aware overlays that enhance the interactivity
40
+ * and visual appeal of Angular applications.
41
+ */
5
42
  export declare class ConnectedOverlayService {
6
43
  private readonly dynamicViewService;
44
+ /**
45
+ * Creates a connected overlay.
46
+ * @param referenceElement - The reference element to which the overlay will be connected.
47
+ * @param options - Optional configuration for the connected overlay.
48
+ * @param renderingOptions - Optional rendering options for the connected overlay.
49
+ * @returns {ConnectedOverlayRef} The created Connected Overlay reference instance.
50
+ */
7
51
  createOverlay(referenceElement: VirtualElement, options?: Partial<ConnectedOverlayOptions>, renderingOptions?: Partial<DynamicViewRenderingOptions>): ConnectedOverlayRef;
8
52
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectedOverlayService, never>;
9
53
  static ɵprov: i0.ɵɵInjectableDeclaration<ConnectedOverlayService>;
@@ -1,3 +1,13 @@
1
1
  import { ComputePositionReturn, VirtualElement } from '@floating-ui/dom';
2
2
  import { ConnectedOverlayOptions } from '../models';
3
+ /**
4
+ * Computes the position of an overlay element relative to a reference element.
5
+ *
6
+ * @param referenceElement - The reference element to position the overlay relative to.
7
+ * @param overlayElement - The overlay element to be positioned.
8
+ * @param contentElement - The content element within the overlay.
9
+ * @param arrowElement - The arrow element within the overlay.
10
+ * @param options - The options for positioning the overlay.
11
+ * @returns A promise that resolves to the computed position of the overlay.
12
+ */
3
13
  export declare function computeOverlayPosition(referenceElement: VirtualElement, overlayElement: HTMLElement, contentElement: HTMLElement, arrowElement: HTMLElement, options: ConnectedOverlayOptions): Promise<ComputePositionReturn>;
@@ -2,11 +2,60 @@ import { DynamicViewRef } from '@odx/angular/cdk/dynamic-view';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ConnectedOverlayComponent } from '../connected-overlay.component';
4
4
  import { ConnectedOverlayOptions } from './connected-overlay-options';
5
+ /**
6
+ * A reference to a connected overlay created by the `ConnectedOverlayService`. This class provides methods to interact
7
+ * with the overlay, such as updating its options or closing it. It encapsulates the `DynamicViewRef` for the overlay's instance,
8
+ * allowing for direct manipulation of the overlay's state and behavior.
9
+ *
10
+ * This example demonstrates how to use a `ConnectedOverlayRef` to update and close a connected overlay in response
11
+ * to user interactions.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * class MyComponent {
16
+ * private overlayRef?: ConnectedOverlayRef;
17
+ *
18
+ * constructor(private overlayService: ConnectedOverlayService) {}
19
+ *
20
+ * openOverlay() {
21
+ * this.overlayRef = this.overlayService.createOverlay(this.someElementRef.nativeElement, { position: 'bottom' });
22
+ * }
23
+ *
24
+ * updateOverlayPosition() {
25
+ * if (this.overlayRef) {
26
+ * this.overlayRef.update({ position: 'top' });
27
+ * }
28
+ * }
29
+ *
30
+ * closeOverlay() {
31
+ * this.overlayRef?.close();
32
+ * }
33
+ * }
34
+ * ```
35
+ *
36
+ * In this example, `MyComponent` uses the `ConnectedOverlayService` to create an overlay. It stores a reference to
37
+ * the created overlay in `overlayRef`, allowing it to update the overlay's position or close it when necessary.
38
+ */
5
39
  export declare class ConnectedOverlayRef {
6
40
  private readonly dynamicViewRef;
7
41
  readonly element: Element;
42
+ /**
43
+ * An Observable that emits when the overlay is closed.
44
+ *
45
+ * @emits {void} - Emits when the overlay is closed.
46
+ */
8
47
  readonly onClose$: Observable<void>;
9
48
  constructor(dynamicViewRef: DynamicViewRef<typeof ConnectedOverlayComponent>);
49
+ /**
50
+ * Updates the connected overlay with new options.
51
+ *
52
+ * @param options - The new options to be applied to the connected overlay.
53
+ */
10
54
  update(options: Partial<ConnectedOverlayOptions>): void;
55
+ /**
56
+ * Closes the connected overlay.
57
+ *
58
+ * @returns {void}
59
+ */
11
60
  close(): void;
12
61
  }
@@ -2,6 +2,17 @@ import { ControlValueAccessor, NgControl, ValidatorFn } from '@angular/forms';
2
2
  import { Controller, DisabledController, ReadonlyController } from '@odx/angular';
3
3
  import { ControlDirective } from './control.directive';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * An abstract directive that serves as a base for custom form controls, integrating seamlessly with Angular Forms.
7
+ * It incorporates common form control behaviors such as handling disabled and readonly states, validation, and more.
8
+ *
9
+ * This approach allows the creation of highly reusable and consistent form controls within Angular applications,
10
+ * simplifying the integration with Angular Forms and the handling of common form behaviors.
11
+ *
12
+ * Extends Controller to provide a consistent API for managing state changes and subscriptions.
13
+ *
14
+ * @see {Controller}
15
+ */
5
16
  export declare abstract class CustomFormControl<T> extends Controller implements ControlValueAccessor {
6
17
  private static CURRENT_INDEX;
7
18
  private readonly requiredValidator;
@@ -9,24 +20,121 @@ export declare abstract class CustomFormControl<T> extends Controller implements
9
20
  protected readonly disabledController: DisabledController | null;
10
21
  protected readonly readonlyController: ReadonlyController | null;
11
22
  protected readonly ngControl: NgControl | null;
23
+ /**
24
+ * A unique identifier for the custom form control. If not provided, a unique ID is generated automatically.
25
+ * This can be useful for associating form control with a label.
26
+ *
27
+ * @type {string}
28
+ */
12
29
  id: string | null;
30
+ /**
31
+ * The name attribute for the custom form control. Defaults to a unique name if not provided.
32
+ * This is useful when the form control is part of a form and needs to be identified.
33
+ *
34
+ * @type {string}
35
+ */
13
36
  name: string;
37
+ /**
38
+ * The tabindex attribute for the custom form control. Can be used to control the order of focus navigation.
39
+ *
40
+ * @type {string | null}
41
+ */
14
42
  tabindex: string | null;
43
+ /**
44
+ * An array of error codes to ignore. If an error code is included in this array, the form control will not
45
+ * consider it as an error state. Useful for ignoring specific validation errors.
46
+ *
47
+ * @type {string[]}
48
+ */
15
49
  ignoreErrors: string[];
50
+ /**
51
+ * The current value of the form control. Setting this value updates the internal state and marks the control
52
+ * for checking changes. Getting this value returns the current internal value of the control.
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * this.customInputControl.value = 'newValue'; // Sets the value
57
+ * const currentValue = this.customInputControl.value; // Gets the current value
58
+ * ```
59
+ */
16
60
  set value(value: T);
61
+ /**
62
+ * Gets the value of the custom form control.
63
+ *
64
+ * @returns {T} - The value of the custom form control.
65
+ */
17
66
  get value(): T;
67
+ /**
68
+ * Indicates whether the form control currently has an error. This takes into account any ignored errors.
69
+ *
70
+ * @returns {boolean} - True if the form control has an error, false otherwise.
71
+ *
72
+ * @example
73
+ * ```ts
74
+ * if (this.customInputControl.hasError) { ... }
75
+ * ```
76
+ */
18
77
  get hasError(): boolean;
78
+ /**
79
+ * Indicates whether the form control is currently disabled.
80
+ *
81
+ * @returns {boolean} - True if the form control is disabled, false otherwise.
82
+ *
83
+ * @example
84
+ * ```ts
85
+ * if (this.customInputControl.isDisabled) { ... }
86
+ * ```
87
+ */
19
88
  get isDisabled(): boolean;
89
+ /**
90
+ * Indicates whether the form control is currently in a readonly state.
91
+ *
92
+ * @returns {boolean} - True if the form control is readonly, false otherwise.
93
+ *
94
+ * @example
95
+ * ```ts
96
+ * if (this.customInputControl.isReadonly) { ... }
97
+ * ```
98
+ */
20
99
  get isReadonly(): boolean;
100
+ /**
101
+ * Indicates whether the form control is marked as required, either through Validators.required, Validators.requiredTrue,
102
+ * or by a required attribute on a parent form field.
103
+ *
104
+ * @returns {boolean} - True if the form control is required, false otherwise.
105
+ *
106
+ * @example
107
+ * ````ts
108
+ * if (this.customInputControl.isRequired) { ... }
109
+ * ````
110
+ */
21
111
  get isRequired(): boolean;
112
+ /**
113
+ * A reference to the `ControlDirective` if it exists within the same host. This allows for direct interaction
114
+ * with the underlying form control directive.
115
+ *
116
+ * @type {ControlDirective | null}
117
+ *
118
+ * @example
119
+ * ```ts
120
+ * this.customInputControl.control?.focus();
121
+ * ```
122
+ */
22
123
  readonly control: ControlDirective | null;
23
124
  constructor(initialValue: T);
125
+ /** @internal */
24
126
  onTouched(): void;
127
+ /** @internal */
25
128
  onChange(_value: T): void;
129
+ /** @internal */
26
130
  registerOnChange(fn: (value: T) => void): void;
131
+ /** @internal */
27
132
  registerOnTouched(fn: () => void): void;
133
+ /** @internal */
28
134
  setDisabledState(isDisabled: boolean): void;
135
+ /** @internal */
29
136
  writeValue(value: T): void;
137
+ /** @internal */
30
138
  updateValue(value: T): void;
31
139
  protected hasValidator(validator: ValidatorFn): boolean;
32
140
  private hasNonIgnoredError;
@@ -1,12 +1,87 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * An abstract directive that facilitates handling input changes, focusing, and blurring programmatically for input elements.
4
+ * It provides a reactive `valueChange$` observable to subscribe to input changes.
5
+ * This directive can be extended to create more specific input handlers.
6
+ *
7
+ * @example
8
+ * Extending InputControlDirective in a custom directive:
9
+ * ```ts
10
+ * @Directive({
11
+ * selector: '[appCustomInput]',
12
+ * standalone: true,
13
+ * })
14
+ * export class CustomInputDirective extends InputControlDirective {
15
+ * // Custom logic here
16
+ * }
17
+ * ```
18
+ *
19
+ * Using the directive in a component template:
20
+ * ```html
21
+ * <input appCustomInput type="text" />
22
+ * ```
23
+ *
24
+ * Subscribing to input changes in the component:
25
+ * ```ts
26
+ * @Component({...})
27
+ * export class MyComponent implements AfterViewInit {
28
+ * @ViewChild(CustomInputDirective) customInputDirective!: CustomInputDirective;
29
+ *
30
+ * ngAfterViewInit(): void {
31
+ * this.customInputDirective.valueChange$.subscribe(value => {
32
+ * console.log('Input value changed to:', value);
33
+ * });
34
+ * }
35
+ * }
36
+ *
37
+ * // Focusing the input programmatically
38
+ * this.customInputDirective.focus();
39
+ *
40
+ * // Blurring the input programmatically
41
+ * this.customInputDirective.blur();
42
+ *
43
+ * // Resetting the input value programmatically
44
+ * this.customInputDirective.reset();
45
+ * ```
46
+ */
2
47
  export declare abstract class InputControlDirective {
3
48
  protected readonly takeUntilDestroyed: <T>() => import("rxjs").MonoTypeOperatorFunction<T>;
4
49
  readonly element: import("@angular/core").ElementRef<HTMLInputElement>;
50
+ /**
51
+ * Represents an observable stream of value changes for the input control.
52
+ *
53
+ * @emits {string} input value changes.
54
+ */
5
55
  valueChange$: import("rxjs").Observable<string>;
56
+ /**
57
+ * Gets the current value of the input element.
58
+ *
59
+ * @type {string} The current value of the input element.
60
+ */
6
61
  get nativeElementValue(): string;
62
+ /**
63
+ * Sets the value of the input element.
64
+ *
65
+ * @param {string} value - The value to set.
66
+ */
7
67
  set nativeElementValue(value: string);
68
+ /**
69
+ * Sets focus on the input element.
70
+ *
71
+ * @returns {void}
72
+ */
8
73
  focus(): void;
74
+ /**
75
+ * Removes focus from the input element.
76
+ *
77
+ * @returns {void}
78
+ */
9
79
  blur(): void;
80
+ /**
81
+ * Resets the input element value to an empty string.
82
+ *
83
+ * @returns {void}
84
+ */
10
85
  reset(): void;
11
86
  static ɵfac: i0.ɵɵFactoryDeclaration<InputControlDirective, never>;
12
87
  static ɵdir: i0.ɵɵDirectiveDeclaration<InputControlDirective, never, never, {}, {}, never, never, true, never>;
@@ -2,18 +2,43 @@ import { Injector, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
2
  import { NgChanges } from '@odx/angular/utils';
3
3
  import { DynamicContent, DynamicViewRef, GetDynamicViewContext } from './facade';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * A directive that dynamically renders content based on the provided input. It supports rendering
7
+ * Angular components, templates, and text content, allowing for dynamic and flexible content
8
+ * management within Angular applications.
9
+ *
10
+ * @template T - A type parameter that extends `DynamicContent<unknown>`, representing the type of content to be dynamically rendered.
11
+ */
5
12
  export declare class DynamicViewDirective<T extends DynamicContent<unknown> = DynamicContent<unknown>> implements OnDestroy, OnInit, OnChanges {
6
13
  private readonly dynamicViewService;
7
14
  private readonly viewContainer;
8
15
  private readonly template;
9
16
  private viewRef;
10
17
  private contentViewRef;
18
+ /**
19
+ * The content to be dynamically rendered. This can be a component, template reference, or text content.
20
+ * The content is wrapped in a `DynamicViewRef`, providing additional control over the dynamically rendered view.
21
+ */
11
22
  content?: T | DynamicViewRef<T> | null;
23
+ /**
24
+ * An optional injector to be used for dynamically created components. This allows for custom dependency injection
25
+ * into dynamically rendered components.
26
+ */
12
27
  injector?: Injector;
28
+ /**
29
+ * An optional context providing function for dynamically created views. This function returns the context
30
+ * object to be passed to the dynamically rendered content, allowing for dynamic interaction with the content.
31
+ */
13
32
  context?: GetDynamicViewContext<T>;
14
33
  ngOnInit(): void;
15
34
  ngOnChanges(changes: NgChanges<DynamicViewDirective<DynamicContent>>): void;
16
35
  ngOnDestroy(): void;
36
+ /**
37
+ * Retrieves the current `DynamicViewRef` associated with the rendered content, providing access
38
+ * to the view reference for additional operations like updating context or manual destruction.
39
+ *
40
+ * @returns {DynamicViewRef<T> | null} The current view reference for the dynamically rendered content, if available.
41
+ */
17
42
  getView(): DynamicViewRef<T> | null;
18
43
  private render;
19
44
  private destroy;
@@ -1,9 +1,39 @@
1
1
  import { DynamicContent, DynamicViewRef } from './facade';
2
2
  import { DynamicViewOptions } from './models';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * A service for creating and managing dynamic views in an Angular application.
6
+ * It supports rendering Angular components, templates, and text content dynamically,
7
+ * allowing for flexible and dynamic content composition.
8
+ */
4
9
  export declare class DynamicViewService {
5
10
  private readonly injector;
6
11
  private readonly defaultHost;
12
+ /**
13
+ * Creates and returns a reference to a dynamic view based on the provided content and options.
14
+ * The method supports dynamic creation of components, template references, and text content,
15
+ * providing a unified API for dynamic content rendering.
16
+ *
17
+ * @template T - The type of the content to be dynamically rendered.
18
+ * @param {T} content - The content to be rendered dynamically. This can be a component class,
19
+ * a template reference, or text content.
20
+ * @param {Partial<DynamicViewOptions<T>>} [options={}] - Optional configuration for the dynamic view creation,
21
+ * including a custom injector, context, host element, and additional providers for the dynamic component's injector.
22
+ * @returns {DynamicViewRef<T>} A reference to the dynamically created view, encapsulating the rendered content
23
+ * and providing methods for interaction and management.
24
+ * @throws {Error} Throws an error if the content type is not supported.
25
+ * @example
26
+ * ```ts
27
+ * // Create a dynamic view for a component
28
+ * const componentRef = dynamicViewService.createView(MyComponent, { context: { ... } });
29
+ *
30
+ * // Create a dynamic view for a template reference
31
+ * const templateRef = dynamicViewService.createView(myTemplate, { context: { ... } });
32
+ *
33
+ * // Create a dynamic view for text content
34
+ * const textRef = dynamicViewService.createView('Dynamic text content', {});
35
+ * ```
36
+ */
7
37
  createView<T extends DynamicContent>(content: T, options?: Partial<DynamicViewOptions<T>>): DynamicViewRef<T>;
8
38
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicViewService, never>;
9
39
  static ɵprov: i0.ɵɵInjectableDeclaration<DynamicViewService>;
@@ -1,2 +1,24 @@
1
1
  import { Type } from '@angular/core';
2
+ /**
3
+ * Prepares an array of node arrays suitable for projection into the `<ng-content>` slots
4
+ * of a dynamically created Angular component based on its content selectors.
5
+ *
6
+ * The function inspects the component's content selectors and aligns the provided nodes
7
+ * for projection according to these selectors. A selector of '*' indicates that the nodes
8
+ * should be projected into this slot. If a content selector does not match '*', an empty
9
+ * array is returned for that slot, indicating no nodes are projected into it.
10
+ *
11
+ * @param {Type<unknown>} component - The component class for which the projectable nodes are being prepared.
12
+ * @param {Node[]} nodes - The nodes intended for projection into the component's `<ng-content>` slots.
13
+ * @returns {Node[][]} An array of node arrays, each corresponding to a `<ng-content>` slot in the component.
14
+ * Each sub-array contains nodes to be projected into the respective `<ng-content>` slot, based on the component's content selectors.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * // Given a component with two `<ng-content>` slots, the first without a selector and the second with the selector `<ng-content select=".selector-class">`,
19
+ * const nodes = [document.createTextNode('Hello'), document.createElement('div')];
20
+ * const projectableNodes = createProjectableNodes(MyComponent, nodes);
21
+ * // projectableNodes would be `[[TextNode, DivElement], []]` for a component with selectors ['*', '.selector-class']
22
+ * ```
23
+ */
2
24
  export declare function createProjectableNodes(component: Type<unknown>, nodes: Node[]): Node[][];
@@ -1,2 +1,24 @@
1
1
  import { DynamicTextContent } from '../facade';
2
+ /**
3
+ * Type guard function to check if a given value is considered dynamic text content.
4
+ * Dynamic text content can either be a plain string or an Observable. This function
5
+ * facilitates type-safe handling of dynamic text content by checking the type of the value.
6
+ *
7
+ * @param {unknown} value - The value to be checked.
8
+ * @returns {value is DynamicTextContent} Returns `true` if the value is a string or an Observable,
9
+ * indicating it can be used as dynamic text content; otherwise, returns `false`.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * // Example usage of the isDynamicTextContent function
14
+ * const textValue: unknown = getTextValue(); // This function may return either string or Observable
15
+ *
16
+ * if (isDynamicTextContent(textValue)) {
17
+ * // The type of textValue is now narrowed to DynamicTextContent (string | Observable)
18
+ * console.log('The value can be used as dynamic text content.');
19
+ * } else {
20
+ * console.log('The value is not suitable as dynamic text content.');
21
+ * }
22
+ * ```
23
+ */
2
24
  export declare function isDynamicTextContent(value: unknown): value is DynamicTextContent;
@@ -1,2 +1,24 @@
1
1
  import { DynamicContent, DynamicViewRef } from '../facade';
2
+ /**
3
+ * Type guard function to check if a given value is a reference to a dynamically created view.
4
+ * This helps in distinguishing between dynamic view references (`DynamicComponentRef` or `DynamicTemplateRef`)
5
+ * and other types of values, facilitating type-safe operations on dynamic views.
6
+ *
7
+ * @param {unknown} value - The value to check.
8
+ * @returns {value is DynamicViewRef<DynamicContent>} `true` if the value is an instance of `DynamicComponentRef`
9
+ * or `DynamicTemplateRef`, indicating it is a dynamic view reference; otherwise, `false`.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * // Given a value that could be a dynamic view reference or something else
14
+ * const value: unknown = getSomeValue();
15
+ *
16
+ * if (isDynamicView(value)) {
17
+ * // TypeScript now knows `value` is a dynamic view reference, so you can access its methods safely
18
+ * value.detectChanges();
19
+ * } else {
20
+ * console.log('Value is not a dynamic view reference');
21
+ * }
22
+ * ```
23
+ */
2
24
  export declare function isDynamicView(value: unknown): value is DynamicViewRef<DynamicContent>;
@@ -5,16 +5,55 @@ import { DynamicViewOptions } from './dynamic-view-options';
5
5
  export interface DynamicComponentOptions<T extends Type<unknown>> extends DynamicViewOptions<T> {
6
6
  component: T;
7
7
  }
8
+ /**
9
+ * The DynamicComponentRef class is a powerful utility for dynamically creating and managing
10
+ * Angular components at runtime. It encapsulates the logic for component creation, input handling,
11
+ * and lifecycle management, making it easier to work with dynamic components in complex applications.
12
+ *
13
+ * A reference to a dynamically created component, providing methods to manage its lifecycle,
14
+ * detect changes, and update its inputs based on a context.
15
+ *
16
+ * @template T - The type of the component being managed.
17
+ * @template C - The type of the context used to update the component's inputs.
18
+ */
8
19
  export declare class DynamicComponentRef<T extends Type<unknown>, C extends GetDynamicViewContext<T>> implements DynamicViewRef<T> {
9
20
  private readonly options;
10
21
  private readonly application;
11
22
  private componentRef;
12
23
  private componentInputs;
13
24
  constructor(options: DynamicComponentOptions<T>);
25
+ /**
26
+ * Triggers change detection for the dynamically created component, ensuring that any updates to inputs
27
+ * or internal state are reflected in the view.
28
+ */
14
29
  detectChanges(): void;
30
+ /**
31
+ * Destroys the dynamically created component, cleaning up resources and detaching it from the application view.
32
+ */
15
33
  destroy(): void;
34
+ /**
35
+ * Retrieves the native element associated with the dynamically created component's host view.
36
+ *
37
+ * @returns {Element} The native DOM element of the component.
38
+ */
16
39
  getElement(): Element;
40
+ /**
41
+ * Updates the component's inputs based on the provided context. Merges the new context with the existing
42
+ * context and applies the combined context as inputs to the component.
43
+ *
44
+ * @param {C} context - The context containing new values for the component's inputs.
45
+ */
17
46
  update(context: C): void;
47
+ /**
48
+ * Retrieves the current context used for the component's inputs.
49
+ *
50
+ * @returns {GetDynamicViewContext<T>} The current context object.
51
+ */
18
52
  getContext(): GetDynamicViewContext<T>;
53
+ /**
54
+ * Retrieves the view reference associated with the dynamically created component.
55
+ *
56
+ * @returns {ViewRef | null} The view reference, or null if the component has not been created or has been destroyed.
57
+ */
19
58
  getView(): ViewRef | null;
20
59
  }
@@ -4,16 +4,52 @@ import { DynamicViewOptions } from './dynamic-view-options';
4
4
  export interface DynamicTemplateOptions<T extends NgTemplateRef<unknown>> extends DynamicViewOptions<T> {
5
5
  template: T;
6
6
  }
7
+ /**
8
+ * A reference to a dynamically created template, offering methods to manage its lifecycle,
9
+ * detect changes, and update its context. It encapsulates the logic for creating and manipulating
10
+ * an `EmbeddedViewRef` from a given `TemplateRef`.
11
+ *
12
+ * @template T - The type of the `NgTemplateRef` being managed.
13
+ */
7
14
  export declare class DynamicTemplateRef<T extends NgTemplateRef<unknown> = NgTemplateRef<unknown>> implements DynamicViewRef<T> {
8
15
  private readonly options;
9
16
  private readonly application;
10
17
  private embeddedViewRef;
11
18
  constructor(options: DynamicTemplateOptions<T>);
19
+ /**
20
+ * Triggers change detection on the embedded view created from the template, ensuring that any updates
21
+ * to the context or internal state are reflected in the view.
22
+ */
12
23
  detectChanges(): void;
24
+ /**
25
+ * Destroys the embedded view associated with the template, cleaning up resources and detaching it from the
26
+ * application view if necessary.
27
+ */
13
28
  destroy(): void;
29
+ /**
30
+ * Retrieves the native element associated with the template's embedded view's root node.
31
+ *
32
+ * @returns {Element} The native DOM element of the embedded view's root node, if available.
33
+ */
14
34
  getElement(): Element;
35
+ /**
36
+ * Updates the context of the embedded view based on the provided context object. Merges the new context
37
+ * with the existing one and applies the combined context to the embedded view.
38
+ *
39
+ * @param {GetDynamicViewContext<T>} context - The context containing new values for the template's view.
40
+ */
15
41
  update(context: GetDynamicViewContext<T>): void;
42
+ /**
43
+ * Retrieves the current context used for the template's view.
44
+ *
45
+ * @returns {GetDynamicViewContext<T>} The current context object.
46
+ */
16
47
  getContext(): GetDynamicViewContext<T>;
48
+ /**
49
+ * Retrieves the view reference (`ViewRef`) associated with the dynamically created template's embedded view.
50
+ *
51
+ * @returns {ViewRef | null} The view reference, or null if the template has not been instantiated or has been destroyed.
52
+ */
17
53
  getView(): ViewRef | null;
18
54
  private create;
19
55
  }
@@ -1,3 +1,38 @@
1
1
  import { EnvironmentProviders, Provider } from '@angular/core';
2
2
  export declare const EVENT_PLUGINS: Provider[];
3
+ /**
4
+ * Provides a set of custom event plugins to Angular's event handling system. This function
5
+ * registers custom event plugins like `DebounceEventPlugin` and `DeferEventPlugin`, enhancing
6
+ * the capabilities of Angular's native event management. By using `EVENT_MANAGER_PLUGINS`, these
7
+ * plugins are integrated into Angular's event system and can be utilized in templates and components
8
+ * to handle events with custom behaviors such as debouncing or deferring event execution.
9
+ *
10
+ * @example
11
+ * Registering the event plugins in an Angular module:
12
+ * ```ts
13
+ * @NgModule({
14
+ * imports: [
15
+ * BrowserModule,
16
+ * BrowserAnimationsModule,
17
+ * // other imports...
18
+ * ],
19
+ * declarations: [AppComponent],
20
+ * providers: [
21
+ * provideEventPlugins(),
22
+ * ],
23
+ * bootstrap: [AppComponent],
24
+ * })
25
+ * export class AppModule {}
26
+ * ```
27
+ * Assuming `DebounceEventPlugin` modifies event names with a `.debounce` modifier:
28
+ * ```html
29
+ * <button (click.debounce)="handleDebouncedClick($event)">Click Me</button>
30
+ * ```
31
+ * Assuming `DeferEventPlugin` modifies event names with a `.defer` modifier:
32
+ * ```html
33
+ * <div (mouseenter.defer)="handleDeferredMouseEnter($event)"></div>
34
+ * ```
35
+ *
36
+ * @returns {EnvironmentProviders} - A configuration object for Angular's DI system, to be used with `makeEnvironmentProviders`.
37
+ */
3
38
  export declare function provideEventPlugins(): EnvironmentProviders;