@odx/angular 6.0.0 → 6.1.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 (669) hide show
  1. package/CHANGELOG.md +22 -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/dynamic-view/lib/tokens/dynamic-view-context.d.ts +4 -0
  29. package/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.d.ts +10 -0
  30. package/cdk/event-plugins/lib/event-plugins.config.d.ts +35 -0
  31. package/cdk/event-plugins/lib/models/event-plugin.d.ts +57 -0
  32. package/cdk/event-plugins/lib/plugins/debounce-event-plugin.d.ts +32 -0
  33. package/cdk/event-plugins/lib/plugins/defer-event-plugin.d.ts +24 -0
  34. package/cdk/expandable/lib/directives/expandable-container.directive.d.ts +41 -0
  35. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +47 -0
  36. package/cdk/option-control/lib/option-control.d.ts +47 -0
  37. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +8 -0
  38. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +11 -0
  39. package/components/accordion/lib/accordion.component.d.ts +8 -0
  40. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +37 -1
  41. package/components/accordion/lib/directives/accordion-item-title.d.ts +3 -0
  42. package/components/action-group/action-group.component.d.ts +6 -0
  43. package/components/area-header/area-header.component.d.ts +8 -0
  44. package/components/area-header/directives/area-header-content.directive.d.ts +3 -0
  45. package/components/area-header/directives/area-header-subtitle.directive.d.ts +3 -0
  46. package/components/autocomplete/lib/autocomplete.component.d.ts +18 -0
  47. package/components/avatar/lib/avatar.component.d.ts +8 -0
  48. package/components/badge/lib/badge.component.d.ts +10 -0
  49. package/components/badge/lib/badge.directive.d.ts +15 -0
  50. package/components/bar/lib/bar.component.d.ts +7 -0
  51. package/components/bar/lib/directives/bar-button.directive.d.ts +3 -0
  52. package/components/bar/lib/directives/bar-label.directive.d.ts +3 -0
  53. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +3 -0
  54. package/components/button/lib/button.component.d.ts +10 -0
  55. package/components/button-group/lib/button-group.component.d.ts +15 -0
  56. package/components/calendar/lib/calendar.component.d.ts +48 -0
  57. package/components/calendar/lib/calendar.config.d.ts +17 -0
  58. package/components/calendar/lib/calendar.service.d.ts +48 -0
  59. package/components/calendar/lib/components/calendar-header/calendar-header.component.d.ts +24 -0
  60. package/components/calendar/lib/components/calendar-month/calendar-month.component.d.ts +6 -0
  61. package/components/calendar/lib/components/calendar-year/calendar-year.component.d.ts +6 -0
  62. package/components/calendar/lib/components/calendar-years/calendar-years.component.d.ts +6 -0
  63. package/components/calendar/lib/daterange.service.d.ts +16 -0
  64. package/components/calendar/lib/directives/calendar-cell.directive.d.ts +37 -0
  65. package/components/calendar/lib/directives/calendar-view.directive.d.ts +41 -0
  66. package/components/calendar/lib/pipes/date-label.pipe.d.ts +5 -0
  67. package/components/calendar/lib/services/calendar-month.service.d.ts +1 -0
  68. package/components/calendar/lib/services/calendar-year.service.d.ts +1 -0
  69. package/components/calendar/lib/services/calendar-years.service.d.ts +1 -0
  70. package/components/calendar/lib/utils/check-cell-in-range.d.ts +1 -0
  71. package/components/calendar/lib/utils/check-identical-date.d.ts +1 -0
  72. package/components/calendar/lib/utils/get-A11y-label.d.ts +1 -0
  73. package/components/calendar/lib/utils/is-date-disabled.d.ts +1 -0
  74. package/components/calendar/lib/utils/parse-date.d.ts +1 -0
  75. package/components/calendar/lib/utils/validate-daterange.d.ts +1 -0
  76. package/components/calendar/lib/utils/validate-max-date.d.ts +1 -0
  77. package/components/calendar/lib/utils/validate-min-date.d.ts +1 -0
  78. package/components/calendar/lib/utils/validate-next-date-set.d.ts +1 -0
  79. package/components/calendar/lib/utils/validate-previous-date-set.d.ts +1 -0
  80. package/components/checkbox/lib/checkbox.component.d.ts +32 -0
  81. package/components/checkbox/lib/checkbox.validator.d.ts +23 -0
  82. package/components/chip/lib/components/chip/chip.component.d.ts +14 -0
  83. package/components/chip/lib/components/chip-list/chip-list.component.d.ts +3 -0
  84. package/components/chip/lib/components/chip-list-row/chip-list-row.component.d.ts +3 -0
  85. package/components/circular-progress/lib/circular-progress.component.d.ts +20 -0
  86. package/components/content-box/lib/content-box.component.d.ts +3 -0
  87. package/components/content-box/lib/directives/content-box-footer.directive.d.ts +3 -0
  88. package/components/content-box/lib/directives/content-box-header.directive.d.ts +3 -0
  89. package/components/datepicker/lib/datepicker.component.d.ts +47 -0
  90. package/components/datepicker/lib/datepicker.config.d.ts +19 -0
  91. package/components/datepicker/lib/directives/datepicker-input-control.directive.d.ts +30 -0
  92. package/components/datepicker/lib/utils/get-datepicker-input-pattern.d.ts +2 -0
  93. package/components/datepicker/lib/utils/get-datepicker-input-value-as-date.d.ts +1 -0
  94. package/components/daterangepicker/lib/daterangepicker.component.d.ts +89 -0
  95. package/components/daterangepicker/lib/daterangepicker.config.d.ts +19 -0
  96. package/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.d.ts +30 -0
  97. package/components/daterangepicker/lib/range.validator.d.ts +15 -0
  98. package/components/daterangepicker/lib/required.validator.d.ts +6 -0
  99. package/components/daterangepicker/lib/utils/get-daterangepicker-input-pattern.d.ts +2 -0
  100. package/components/daterangepicker/lib/utils/get-daterangepicker-input-value-as-date.d.ts +1 -0
  101. package/components/dropdown/lib/dropdown.component.d.ts +16 -0
  102. package/components/dropdown/lib/dropdown.directive.d.ts +67 -0
  103. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +5 -0
  104. package/components/error-page/lib/error-page.component.d.ts +7 -0
  105. package/components/error-page/lib/error-page.config.d.ts +18 -0
  106. package/components/footer/lib/footer.component.d.ts +9 -6
  107. package/components/footer/lib/footer.config.d.ts +2 -0
  108. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +13 -0
  109. package/components/form-field/lib/components/form-group/form-group.component.d.ts +16 -0
  110. package/components/form-field/lib/directives/form-field-control.directive.d.ts +5 -0
  111. package/components/form-field/lib/directives/form-field-error.directive.d.ts +6 -0
  112. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +3 -0
  113. package/components/form-field/lib/directives/form-field-label.directive.d.ts +3 -0
  114. package/components/form-field/lib/directives/form.directive.d.ts +13 -0
  115. package/components/form-field/lib/form-field.component.d.ts +20 -0
  116. package/components/form-field/lib/form-field.service.d.ts +42 -0
  117. package/components/form-field/lib/services/form-field-error.service.d.ts +24 -0
  118. package/components/header/lib/directives/header-avatar.directive.d.ts +4 -0
  119. package/components/header/lib/directives/header-title.directive.d.ts +3 -0
  120. package/components/header/lib/header.component.d.ts +3 -0
  121. package/components/header-navigation/lib/directives/header-navigation-link.directive.d.ts +3 -0
  122. package/components/header-navigation/lib/header-navigation.component.d.ts +6 -0
  123. package/components/icon/lib/helpers/unpack-icon-identifier.d.ts +14 -0
  124. package/components/icon/lib/icon.component.d.ts +24 -0
  125. package/components/icon/lib/icon.config.d.ts +26 -0
  126. package/components/inline-message/lib/inline-message.component.d.ts +13 -0
  127. package/components/link/link.directive.d.ts +3 -0
  128. package/components/list/lib/components/expandable-list-item/expandable-list-item.component.d.ts +6 -0
  129. package/components/list/lib/components/list-item/list-item.component.d.ts +17 -1
  130. package/components/list/lib/list.component.d.ts +5 -0
  131. package/components/loading-spinner/lib/loading-spinner.component.d.ts +8 -0
  132. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +22 -0
  133. package/components/logo/logo.directive.d.ts +15 -0
  134. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +5 -1
  135. package/components/main-menu/lib/directives/main-menu-close.directive.d.ts +3 -0
  136. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +16 -0
  137. package/components/main-menu/lib/helpers/create-main-menu-links.d.ts +1 -0
  138. package/components/main-menu/lib/main-menu.component.d.ts +42 -0
  139. package/components/main-menu/lib/main-menu.config.d.ts +31 -0
  140. package/components/main-menu/lib/main-menu.service.d.ts +28 -0
  141. package/components/mainfilter-group/lib/mainfilter-group.component.d.ts +4 -0
  142. package/components/menu/lib/directives/menu-item.directive.d.ts +6 -0
  143. package/components/menu/lib/menu.component.d.ts +13 -1
  144. package/components/menu/lib/menu.directive.d.ts +31 -0
  145. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +14 -0
  146. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +3 -0
  147. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +9 -0
  148. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +21 -0
  149. package/components/modal/lib/directives/modal-close.directive.d.ts +25 -1
  150. package/components/modal/lib/directives/modal-content.directive.d.ts +3 -0
  151. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +18 -1
  152. package/components/modal/lib/helpers/inject-modal-ref.d.ts +21 -0
  153. package/components/modal/lib/helpers/provide-modal-ref.d.ts +9 -0
  154. package/components/modal/lib/modal.component.d.ts +25 -0
  155. package/components/modal/lib/modal.config.d.ts +33 -0
  156. package/components/modal/lib/modal.directive.d.ts +29 -0
  157. package/components/modal/lib/modal.service.d.ts +54 -0
  158. package/components/modal/lib/models/modal-ref.d.ts +34 -0
  159. package/components/navigation-back/lib/navigation-back.component.d.ts +3 -0
  160. package/components/notification/lib/components/notification-center/notification-center.component.d.ts +0 -2
  161. package/components/notification/lib/directives/notification-center.directive.d.ts +18 -4
  162. package/components/notification/lib/helpers/get-notifications-by-tag.d.ts +1 -0
  163. package/components/notification/lib/helpers/sort-notifications.d.ts +1 -0
  164. package/components/notification/lib/helpers/to-notification-collection.d.ts +1 -0
  165. package/components/notification/lib/models/notification-feature.d.ts +15 -0
  166. package/components/notification/lib/notification.config.d.ts +54 -0
  167. package/components/notification/lib/notification.logger.d.ts +1 -0
  168. package/components/notification/lib/notification.service.d.ts +55 -0
  169. package/components/notification/lib/notification.tokens.d.ts +3 -0
  170. package/components/notification/lib/services/notification-center.service.d.ts +9 -0
  171. package/components/paginator/lib/paginator.component.d.ts +89 -0
  172. package/components/paginator/lib/paginator.config.d.ts +24 -2
  173. package/components/progress/lib/progress.component.d.ts +15 -0
  174. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +18 -1
  175. package/components/radio-group/lib/radio-group.component.d.ts +11 -0
  176. package/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.d.ts +19 -0
  177. package/components/rail-navigation/lib/rail-navigation.component.d.ts +26 -0
  178. package/components/rich-list/lib/components/rich-list-content/rich-list-content.component.d.ts +4 -0
  179. package/components/rich-list/lib/components/rich-list-header/rich-list-header.component.d.ts +4 -0
  180. package/components/rich-list/lib/components/rich-list-item/rich-list-item.component.d.ts +9 -1
  181. package/components/rich-list/lib/rich-list.component.d.ts +9 -2
  182. package/components/select/lib/components/select-option/select-option.component.d.ts +39 -2
  183. package/components/select/lib/directives/select-input-control.directive.d.ts +11 -0
  184. package/components/select/lib/pipes/select-search-filter.pipe.d.ts +10 -0
  185. package/components/select/lib/select.component.d.ts +59 -0
  186. package/components/slider/lib/slider.directive.d.ts +19 -0
  187. package/components/spinbox/lib/spinbox.component.d.ts +16 -0
  188. package/components/switch/lib/switch.component.d.ts +10 -0
  189. package/components/switch/lib/switch.validator.d.ts +12 -0
  190. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +28 -0
  191. package/components/tab-bar/lib/tab-bar.component.d.ts +69 -0
  192. package/components/table/lib/components/check-cell/check-cell.component.d.ts +18 -0
  193. package/components/table/lib/components/header-title/header-title.component.d.ts +33 -1
  194. package/components/table/lib/directives/table-cell.directive.d.ts +4 -0
  195. package/components/table/lib/directives/table-row.directive.d.ts +4 -0
  196. package/components/table/lib/table.component.d.ts +36 -0
  197. package/components/timepicker/lib/timepicker.component.d.ts +11 -2
  198. package/components/timepicker/lib/utils/generate-time-stamps.d.ts +2 -1
  199. package/components/timepicker/lib/utils/ngx-mask-helper.d.ts +2 -2
  200. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +5 -4
  201. package/components/toast/lib/models/toast.d.ts +4 -2
  202. package/components/toast/lib/toast.config.d.ts +26 -0
  203. package/components/toast/lib/toast.service.d.ts +35 -0
  204. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +11 -0
  205. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +12 -0
  206. package/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.d.ts +7 -0
  207. package/components/tooltip/lib/tooltip.component.d.ts +20 -0
  208. package/components/tooltip/lib/tooltip.directive.d.ts +35 -0
  209. package/components/wizard/lib/components/wizard-step/wizard-step.component.d.ts +34 -0
  210. package/components/wizard/lib/wizard.component.d.ts +20 -0
  211. package/esm2022/animations/lib/expand.mjs +45 -1
  212. package/esm2022/animations/lib/fade.mjs +71 -1
  213. package/esm2022/animations/lib/slide.mjs +22 -1
  214. package/esm2022/animations/lib/wait-for-child-animations.mjs +39 -1
  215. package/esm2022/breakpoints/lib/breakpoints.config.mjs +39 -1
  216. package/esm2022/breakpoints/lib/breakpoints.service.mjs +44 -1
  217. package/esm2022/breakpoints/lib/directives/match-breakpoints.directive.mjs +37 -1
  218. package/esm2022/breakpoints/lib/helpers/configure-breakpoint.mjs +20 -1
  219. package/esm2022/cdk/a11y/lib/directives/interactive.directive.mjs +33 -1
  220. package/esm2022/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +23 -1
  221. package/esm2022/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +18 -1
  222. package/esm2022/cdk/active-indicator/lib/active-indicator.directive.mjs +64 -1
  223. package/esm2022/cdk/autocomplete-control/lib/autocomplete-control.mjs +40 -2
  224. package/esm2022/cdk/checkbox-control/lib/checkbox-control.directive.mjs +4 -1
  225. package/esm2022/cdk/connected-overlay/lib/connected-overlay.service.mjs +45 -1
  226. package/esm2022/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +11 -1
  227. package/esm2022/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +50 -1
  228. package/esm2022/cdk/custom-form-control/lib/custom-form-control.mjs +109 -3
  229. package/esm2022/cdk/custom-form-control/lib/input-control.directive.mjs +76 -1
  230. package/esm2022/cdk/dynamic-view/lib/dynamic-view.directive.mjs +18 -1
  231. package/esm2022/cdk/dynamic-view/lib/dynamic-view.service.mjs +31 -1
  232. package/esm2022/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +23 -1
  233. package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +23 -1
  234. package/esm2022/cdk/dynamic-view/lib/helpers/is-dynamic-view.mjs +23 -1
  235. package/esm2022/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +40 -1
  236. package/esm2022/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +37 -1
  237. package/esm2022/cdk/dynamic-view/lib/tokens/dynamic-view-context.mjs +5 -1
  238. package/esm2022/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +11 -1
  239. package/esm2022/cdk/event-plugins/lib/event-plugins.config.mjs +36 -1
  240. package/esm2022/cdk/event-plugins/lib/models/event-plugin.mjs +45 -1
  241. package/esm2022/cdk/event-plugins/lib/plugins/debounce-event-plugin.mjs +33 -1
  242. package/esm2022/cdk/event-plugins/lib/plugins/defer-event-plugin.mjs +25 -1
  243. package/esm2022/cdk/expandable/lib/directives/expandable-container.directive.mjs +42 -1
  244. package/esm2022/cdk/expandable/lib/directives/expandable-item.directive.mjs +48 -1
  245. package/esm2022/cdk/option-control/lib/option-control.mjs +48 -1
  246. package/esm2022/cdk/radio-group-control/lib/radio-control.directive.mjs +9 -1
  247. package/esm2022/cdk/radio-group-control/lib/radio-group-control.directive.mjs +12 -1
  248. package/esm2022/components/accordion/lib/accordion.component.mjs +9 -1
  249. package/esm2022/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +31 -1
  250. package/esm2022/components/accordion/lib/directives/accordion-item-title.mjs +4 -1
  251. package/esm2022/components/action-group/action-group.component.mjs +7 -1
  252. package/esm2022/components/area-header/area-header.component.mjs +9 -1
  253. package/esm2022/components/area-header/directives/area-header-content.directive.mjs +4 -1
  254. package/esm2022/components/area-header/directives/area-header-subtitle.directive.mjs +4 -1
  255. package/esm2022/components/autocomplete/lib/autocomplete.component.mjs +29 -5
  256. package/esm2022/components/avatar/lib/avatar.component.mjs +9 -1
  257. package/esm2022/components/badge/lib/badge.component.mjs +11 -1
  258. package/esm2022/components/badge/lib/badge.directive.mjs +16 -1
  259. package/esm2022/components/bar/lib/bar.component.mjs +8 -1
  260. package/esm2022/components/bar/lib/directives/bar-button.directive.mjs +4 -1
  261. package/esm2022/components/bar/lib/directives/bar-label.directive.mjs +4 -1
  262. package/esm2022/components/breadcrumbs/lib/breadcrumbs.component.mjs +4 -1
  263. package/esm2022/components/button/lib/button.component.mjs +11 -1
  264. package/esm2022/components/button-group/lib/button-group.component.mjs +16 -1
  265. package/esm2022/components/calendar/lib/calendar.component.mjs +35 -1
  266. package/esm2022/components/calendar/lib/calendar.config.mjs +18 -1
  267. package/esm2022/components/calendar/lib/calendar.service.mjs +49 -1
  268. package/esm2022/components/calendar/lib/components/calendar-header/calendar-header.component.mjs +19 -1
  269. package/esm2022/components/calendar/lib/components/calendar-month/calendar-month.component.mjs +7 -1
  270. package/esm2022/components/calendar/lib/components/calendar-year/calendar-year.component.mjs +7 -1
  271. package/esm2022/components/calendar/lib/components/calendar-years/calendar-years.component.mjs +7 -1
  272. package/esm2022/components/calendar/lib/daterange.service.mjs +17 -1
  273. package/esm2022/components/calendar/lib/directives/calendar-cell.directive.mjs +26 -1
  274. package/esm2022/components/calendar/lib/directives/calendar-view.directive.mjs +39 -1
  275. package/esm2022/components/calendar/lib/pipes/date-label.pipe.mjs +6 -1
  276. package/esm2022/components/calendar/lib/services/calendar-month.service.mjs +2 -1
  277. package/esm2022/components/calendar/lib/services/calendar-year.service.mjs +2 -1
  278. package/esm2022/components/calendar/lib/services/calendar-years.service.mjs +2 -1
  279. package/esm2022/components/calendar/lib/utils/check-cell-in-range.mjs +2 -1
  280. package/esm2022/components/calendar/lib/utils/check-identical-date.mjs +2 -1
  281. package/esm2022/components/calendar/lib/utils/get-A11y-label.mjs +2 -1
  282. package/esm2022/components/calendar/lib/utils/is-date-disabled.mjs +2 -1
  283. package/esm2022/components/calendar/lib/utils/parse-date.mjs +2 -1
  284. package/esm2022/components/calendar/lib/utils/validate-daterange.mjs +2 -1
  285. package/esm2022/components/calendar/lib/utils/validate-max-date.mjs +2 -1
  286. package/esm2022/components/calendar/lib/utils/validate-min-date.mjs +2 -1
  287. package/esm2022/components/calendar/lib/utils/validate-next-date-set.mjs +2 -1
  288. package/esm2022/components/calendar/lib/utils/validate-previous-date-set.mjs +2 -1
  289. package/esm2022/components/checkbox/lib/checkbox.component.mjs +33 -1
  290. package/esm2022/components/checkbox/lib/checkbox.validator.mjs +24 -1
  291. package/esm2022/components/chip/lib/components/chip/chip.component.mjs +15 -1
  292. package/esm2022/components/chip/lib/components/chip-list/chip-list.component.mjs +4 -1
  293. package/esm2022/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +4 -1
  294. package/esm2022/components/circular-progress/lib/circular-progress.component.mjs +21 -1
  295. package/esm2022/components/content-box/lib/content-box.component.mjs +4 -1
  296. package/esm2022/components/content-box/lib/directives/content-box-footer.directive.mjs +4 -1
  297. package/esm2022/components/content-box/lib/directives/content-box-header.directive.mjs +4 -1
  298. package/esm2022/components/datepicker/lib/datepicker.component.mjs +33 -1
  299. package/esm2022/components/datepicker/lib/datepicker.config.mjs +20 -1
  300. package/esm2022/components/datepicker/lib/directives/datepicker-input-control.directive.mjs +31 -1
  301. package/esm2022/components/datepicker/lib/utils/get-datepicker-input-pattern.mjs +3 -1
  302. package/esm2022/components/datepicker/lib/utils/get-datepicker-input-value-as-date.mjs +2 -1
  303. package/esm2022/components/daterangepicker/lib/daterangepicker.component.mjs +65 -1
  304. package/esm2022/components/daterangepicker/lib/daterangepicker.config.mjs +20 -1
  305. package/esm2022/components/daterangepicker/lib/directives/daterangepicker-input-control.directive.mjs +31 -1
  306. package/esm2022/components/daterangepicker/lib/range.validator.mjs +16 -1
  307. package/esm2022/components/daterangepicker/lib/required.validator.mjs +15 -1
  308. package/esm2022/components/daterangepicker/lib/utils/get-daterangepicker-input-pattern.mjs +3 -1
  309. package/esm2022/components/daterangepicker/lib/utils/get-daterangepicker-input-value-as-date.mjs +2 -1
  310. package/esm2022/components/dropdown/lib/dropdown.component.mjs +8 -1
  311. package/esm2022/components/dropdown/lib/dropdown.directive.mjs +55 -1
  312. package/esm2022/components/dropdown/lib/helpers/close-current-dropdown.mjs +6 -1
  313. package/esm2022/components/error-page/lib/error-page.component.mjs +8 -1
  314. package/esm2022/components/error-page/lib/error-page.config.mjs +9 -1
  315. package/esm2022/components/footer/lib/footer.component.mjs +10 -7
  316. package/esm2022/components/footer/lib/footer.config.mjs +3 -1
  317. package/esm2022/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +14 -1
  318. package/esm2022/components/form-field/lib/components/form-group/form-group.component.mjs +13 -1
  319. package/esm2022/components/form-field/lib/directives/form-field-control.directive.mjs +6 -1
  320. package/esm2022/components/form-field/lib/directives/form-field-error.directive.mjs +4 -1
  321. package/esm2022/components/form-field/lib/directives/form-field-hint.directive.mjs +4 -1
  322. package/esm2022/components/form-field/lib/directives/form-field-label.directive.mjs +4 -1
  323. package/esm2022/components/form-field/lib/directives/form.directive.mjs +14 -1
  324. package/esm2022/components/form-field/lib/form-field.component.mjs +14 -1
  325. package/esm2022/components/form-field/lib/form-field.service.mjs +43 -1
  326. package/esm2022/components/form-field/lib/services/form-field-error.service.mjs +25 -1
  327. package/esm2022/components/header/lib/directives/header-avatar.directive.mjs +5 -1
  328. package/esm2022/components/header/lib/directives/header-title.directive.mjs +4 -1
  329. package/esm2022/components/header/lib/header.component.mjs +4 -1
  330. package/esm2022/components/header-navigation/lib/directives/header-navigation-link.directive.mjs +4 -1
  331. package/esm2022/components/header-navigation/lib/header-navigation.component.mjs +4 -1
  332. package/esm2022/components/icon/lib/helpers/unpack-icon-identifier.mjs +15 -1
  333. package/esm2022/components/icon/lib/icon.component.mjs +25 -1
  334. package/esm2022/components/icon/lib/icon.config.mjs +20 -1
  335. package/esm2022/components/inline-message/lib/inline-message.component.mjs +14 -1
  336. package/esm2022/components/link/link.directive.mjs +4 -1
  337. package/esm2022/components/list/lib/components/expandable-list-item/expandable-list-item.component.mjs +7 -1
  338. package/esm2022/components/list/lib/components/list-item/list-item.component.mjs +18 -2
  339. package/esm2022/components/list/lib/list.component.mjs +6 -1
  340. package/esm2022/components/loading-spinner/lib/loading-spinner.component.mjs +10 -2
  341. package/esm2022/components/loading-spinner/lib/loading-spinner.directive.mjs +23 -1
  342. package/esm2022/components/logo/logo.directive.mjs +16 -1
  343. package/esm2022/components/main-menu/lib/directives/main-menu-button.directive.mjs +5 -1
  344. package/esm2022/components/main-menu/lib/directives/main-menu-close.directive.mjs +4 -1
  345. package/esm2022/components/main-menu/lib/directives/main-menu-item.directive.mjs +17 -1
  346. package/esm2022/components/main-menu/lib/helpers/create-main-menu-links.mjs +2 -1
  347. package/esm2022/components/main-menu/lib/main-menu.component.mjs +37 -1
  348. package/esm2022/components/main-menu/lib/main-menu.config.mjs +32 -1
  349. package/esm2022/components/main-menu/lib/main-menu.service.mjs +29 -1
  350. package/esm2022/components/mainfilter-group/lib/mainfilter-group.component.mjs +5 -1
  351. package/esm2022/components/menu/lib/directives/menu-item.directive.mjs +7 -1
  352. package/esm2022/components/menu/lib/menu.component.mjs +13 -1
  353. package/esm2022/components/menu/lib/menu.directive.mjs +19 -1
  354. package/esm2022/components/modal/lib/components/basic-modal/basic-modal.component.mjs +15 -1
  355. package/esm2022/components/modal/lib/components/modal-footer/modal-footer.component.mjs +4 -1
  356. package/esm2022/components/modal/lib/components/modal-header/modal-header.component.mjs +4 -1
  357. package/esm2022/components/modal/lib/components/modal-hero/modal-hero.component.mjs +12 -1
  358. package/esm2022/components/modal/lib/directives/modal-close.directive.mjs +25 -1
  359. package/esm2022/components/modal/lib/directives/modal-content.directive.mjs +4 -1
  360. package/esm2022/components/modal/lib/directives/modal-dismiss.directive.mjs +18 -1
  361. package/esm2022/components/modal/lib/helpers/inject-modal-ref.mjs +22 -1
  362. package/esm2022/components/modal/lib/helpers/provide-modal-ref.mjs +10 -1
  363. package/esm2022/components/modal/lib/modal.component.mjs +21 -2
  364. package/esm2022/components/modal/lib/modal.config.mjs +34 -1
  365. package/esm2022/components/modal/lib/modal.directive.mjs +25 -1
  366. package/esm2022/components/modal/lib/modal.service.mjs +39 -1
  367. package/esm2022/components/modal/lib/models/modal-ref.mjs +34 -1
  368. package/esm2022/components/navigation-back/lib/navigation-back.component.mjs +4 -1
  369. package/esm2022/components/notification/lib/components/notification-center/notification-center.component.mjs +1 -3
  370. package/esm2022/components/notification/lib/directives/notification-center.directive.mjs +19 -5
  371. package/esm2022/components/notification/lib/helpers/get-notifications-by-tag.mjs +2 -1
  372. package/esm2022/components/notification/lib/helpers/sort-notifications.mjs +2 -1
  373. package/esm2022/components/notification/lib/helpers/to-notification-collection.mjs +2 -1
  374. package/esm2022/components/notification/lib/models/notification-feature.mjs +16 -1
  375. package/esm2022/components/notification/lib/notification.config.mjs +45 -1
  376. package/esm2022/components/notification/lib/notification.logger.mjs +2 -1
  377. package/esm2022/components/notification/lib/notification.service.mjs +56 -1
  378. package/esm2022/components/notification/lib/notification.tokens.mjs +4 -1
  379. package/esm2022/components/notification/lib/services/notification-center.service.mjs +10 -1
  380. package/esm2022/components/paginator/lib/paginator.component.mjs +90 -1
  381. package/esm2022/components/paginator/lib/paginator.config.mjs +29 -1
  382. package/esm2022/components/progress/lib/progress.component.mjs +16 -1
  383. package/esm2022/components/radio-group/lib/components/radio-button/radio-button.component.mjs +20 -3
  384. package/esm2022/components/radio-group/lib/radio-group.component.mjs +13 -2
  385. package/esm2022/components/rail-navigation/lib/components/rail-navigation-item/rail-navigation-item.component.mjs +17 -1
  386. package/esm2022/components/rail-navigation/lib/rail-navigation.component.mjs +27 -1
  387. package/esm2022/components/rich-list/lib/components/rich-list-content/rich-list-content.component.mjs +5 -1
  388. package/esm2022/components/rich-list/lib/components/rich-list-header/rich-list-header.component.mjs +5 -1
  389. package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +10 -2
  390. package/esm2022/components/rich-list/lib/rich-list.component.mjs +10 -3
  391. package/esm2022/components/select/lib/components/select-option/select-option.component.mjs +49 -7
  392. package/esm2022/components/select/lib/directives/select-input-control.directive.mjs +12 -2
  393. package/esm2022/components/select/lib/pipes/select-search-filter.pipe.mjs +11 -1
  394. package/esm2022/components/select/lib/select.component.mjs +59 -5
  395. package/esm2022/components/slider/lib/slider.directive.mjs +20 -1
  396. package/esm2022/components/spinbox/lib/spinbox.component.mjs +17 -1
  397. package/esm2022/components/switch/lib/switch.component.mjs +11 -1
  398. package/esm2022/components/switch/lib/switch.validator.mjs +13 -1
  399. package/esm2022/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +29 -1
  400. package/esm2022/components/tab-bar/lib/tab-bar.component.mjs +71 -1
  401. package/esm2022/components/table/lib/components/check-cell/check-cell.component.mjs +19 -1
  402. package/esm2022/components/table/lib/components/header-title/header-title.component.mjs +30 -2
  403. package/esm2022/components/table/lib/directives/table-cell.directive.mjs +5 -1
  404. package/esm2022/components/table/lib/directives/table-row.directive.mjs +5 -1
  405. package/esm2022/components/table/lib/table.component.mjs +30 -1
  406. package/esm2022/components/timepicker/lib/timepicker.component.mjs +15 -6
  407. package/esm2022/components/timepicker/lib/utils/generate-time-stamps.mjs +5 -3
  408. package/esm2022/components/timepicker/lib/utils/ngx-mask-helper.mjs +3 -3
  409. package/esm2022/components/toast/lib/components/toast-container/toast-container.component.mjs +3 -3
  410. package/esm2022/components/toast/lib/components/toast-item/toast-item.component.mjs +5 -3
  411. package/esm2022/components/toast/lib/models/toast.mjs +1 -1
  412. package/esm2022/components/toast/lib/toast.config.mjs +27 -1
  413. package/esm2022/components/toast/lib/toast.service.mjs +36 -1
  414. package/esm2022/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +12 -1
  415. package/esm2022/components/toggle-button-group/lib/toggle-button-group.component.mjs +14 -2
  416. package/esm2022/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.mjs +8 -1
  417. package/esm2022/components/tooltip/lib/tooltip.component.mjs +18 -1
  418. package/esm2022/components/tooltip/lib/tooltip.directive.mjs +36 -1
  419. package/esm2022/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +35 -1
  420. package/esm2022/components/wizard/lib/wizard.component.mjs +21 -1
  421. package/esm2022/internal/lib/helpers/decorator-property-name.mjs +9 -1
  422. package/esm2022/internal/translate/lib/translate.config.mjs +32 -1
  423. package/esm2022/internal/translate/lib/translate.service.mjs +30 -1
  424. package/esm2022/lib/controllers/controller.mjs +26 -1
  425. package/esm2022/lib/controllers/disabled.controller.mjs +60 -1
  426. package/esm2022/lib/controllers/readonly.controller.mjs +57 -1
  427. package/esm2022/lib/directives/click-outside.directive.mjs +30 -1
  428. package/esm2022/lib/directives/delegate-focus.directive.mjs +15 -1
  429. package/esm2022/lib/services/window-ref.mjs +67 -1
  430. package/esm2022/lib/tokens/identity-matcher.mjs +25 -1
  431. package/esm2022/lib/tokens/string-search-handler.mjs +25 -1
  432. package/esm2022/lib/tokens/stringify.mjs +26 -1
  433. package/esm2022/localization/lib/features/with-http-language-header.mjs +54 -1
  434. package/esm2022/localization/lib/features/with-http-language-query-param.mjs +52 -1
  435. package/esm2022/localization/lib/loaders/browser-language-loader.mjs +33 -1
  436. package/esm2022/localization/lib/localization.config.mjs +71 -1
  437. package/esm2022/localization/lib/localization.service.mjs +42 -3
  438. package/esm2022/localization/lib/models/localization-feature.mjs +8 -1
  439. package/esm2022/rxjs/index.mjs +2 -2
  440. package/esm2022/rxjs/lib/delay-until.mjs +23 -1
  441. package/esm2022/rxjs/lib/from-element-mutation.mjs +22 -1
  442. package/esm2022/rxjs/lib/from-element-resize.mjs +25 -1
  443. package/esm2022/rxjs/lib/from-events.mjs +25 -1
  444. package/esm2022/rxjs/lib/from-query-list.mjs +24 -0
  445. package/esm2022/sdk/lib/application-environment.mjs +51 -1
  446. package/esm2022/theming/lib/helpers/prefers-dark-theme.mjs +19 -1
  447. package/esm2022/theming/lib/helpers/resolve-theme.mjs +26 -1
  448. package/esm2022/theming/lib/helpers/theme-storage.mjs +43 -1
  449. package/esm2022/theming/lib/theming.config.mjs +34 -1
  450. package/esm2022/theming/lib/theming.service.mjs +32 -1
  451. package/esm2022/utils/lib/decorators/pure.mjs +52 -1
  452. package/esm2022/utils/lib/helpers/angular.mjs +37 -1
  453. package/esm2022/utils/lib/helpers/array.mjs +5 -1
  454. package/esm2022/utils/lib/helpers/build-url.mjs +21 -1
  455. package/esm2022/utils/lib/helpers/build-website-url.mjs +3 -2
  456. package/esm2022/utils/lib/helpers/cache-storage-client.mjs +52 -1
  457. package/esm2022/utils/lib/helpers/coercion.mjs +18 -1
  458. package/esm2022/utils/lib/helpers/debounce.mjs +28 -1
  459. package/esm2022/utils/lib/helpers/defer-fn.mjs +21 -1
  460. package/esm2022/utils/lib/helpers/dom.mjs +71 -1
  461. package/esm2022/utils/lib/helpers/get-axis.mjs +21 -1
  462. package/esm2022/utils/lib/helpers/get-language-code.mjs +18 -1
  463. package/esm2022/utils/lib/helpers/get-opposite-side.mjs +22 -1
  464. package/esm2022/utils/lib/helpers/get-side.mjs +18 -1
  465. package/esm2022/utils/lib/helpers/get-unique-id.mjs +34 -1
  466. package/esm2022/utils/lib/helpers/match-url.mjs +41 -1
  467. package/esm2022/utils/lib/helpers/ng-changes.mjs +30 -1
  468. package/esm2022/utils/lib/helpers/provide-config.mjs +57 -1
  469. package/esm2022/utils/lib/helpers/queue.mjs +84 -1
  470. package/esm2022/utils/lib/helpers/type-guards.mjs +58 -1
  471. package/esm2022/utils/lib/helpers/until-destroyed.mjs +39 -1
  472. package/fesm2022/odx-angular-animations.mjs +173 -0
  473. package/fesm2022/odx-angular-animations.mjs.map +1 -1
  474. package/fesm2022/odx-angular-breakpoints.mjs +136 -0
  475. package/fesm2022/odx-angular-breakpoints.mjs.map +1 -1
  476. package/fesm2022/odx-angular-cdk-a11y.mjs +71 -0
  477. package/fesm2022/odx-angular-cdk-a11y.mjs.map +1 -1
  478. package/fesm2022/odx-angular-cdk-active-indicator.mjs +63 -0
  479. package/fesm2022/odx-angular-cdk-active-indicator.mjs.map +1 -1
  480. package/fesm2022/odx-angular-cdk-autocomplete-control.mjs +39 -1
  481. package/fesm2022/odx-angular-cdk-autocomplete-control.mjs.map +1 -1
  482. package/fesm2022/odx-angular-cdk-checkbox-control.mjs +3 -0
  483. package/fesm2022/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  484. package/fesm2022/odx-angular-cdk-connected-overlay.mjs +103 -0
  485. package/fesm2022/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  486. package/fesm2022/odx-angular-cdk-custom-form-control.mjs +183 -2
  487. package/fesm2022/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  488. package/fesm2022/odx-angular-cdk-dynamic-view.mjs +202 -0
  489. package/fesm2022/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  490. package/fesm2022/odx-angular-cdk-event-plugins.mjs +135 -0
  491. package/fesm2022/odx-angular-cdk-event-plugins.mjs.map +1 -1
  492. package/fesm2022/odx-angular-cdk-expandable.mjs +88 -0
  493. package/fesm2022/odx-angular-cdk-expandable.mjs.map +1 -1
  494. package/fesm2022/odx-angular-cdk-option-control.mjs +47 -0
  495. package/fesm2022/odx-angular-cdk-option-control.mjs.map +1 -1
  496. package/fesm2022/odx-angular-cdk-radio-group-control.mjs +19 -0
  497. package/fesm2022/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  498. package/fesm2022/odx-angular-components-accordion.mjs +41 -0
  499. package/fesm2022/odx-angular-components-accordion.mjs.map +1 -1
  500. package/fesm2022/odx-angular-components-action-group.mjs +6 -0
  501. package/fesm2022/odx-angular-components-action-group.mjs.map +1 -1
  502. package/fesm2022/odx-angular-components-area-header.mjs +14 -0
  503. package/fesm2022/odx-angular-components-area-header.mjs.map +1 -1
  504. package/fesm2022/odx-angular-components-autocomplete.mjs +28 -4
  505. package/fesm2022/odx-angular-components-autocomplete.mjs.map +1 -1
  506. package/fesm2022/odx-angular-components-avatar.mjs +8 -0
  507. package/fesm2022/odx-angular-components-avatar.mjs.map +1 -1
  508. package/fesm2022/odx-angular-components-badge.mjs +25 -0
  509. package/fesm2022/odx-angular-components-badge.mjs.map +1 -1
  510. package/fesm2022/odx-angular-components-bar.mjs +13 -0
  511. package/fesm2022/odx-angular-components-bar.mjs.map +1 -1
  512. package/fesm2022/odx-angular-components-breadcrumbs.mjs +3 -0
  513. package/fesm2022/odx-angular-components-breadcrumbs.mjs.map +1 -1
  514. package/fesm2022/odx-angular-components-button-group.mjs +15 -0
  515. package/fesm2022/odx-angular-components-button-group.mjs.map +1 -1
  516. package/fesm2022/odx-angular-components-button.mjs +10 -0
  517. package/fesm2022/odx-angular-components-button.mjs.map +1 -1
  518. package/fesm2022/odx-angular-components-calendar.mjs +232 -0
  519. package/fesm2022/odx-angular-components-calendar.mjs.map +1 -1
  520. package/fesm2022/odx-angular-components-checkbox.mjs +55 -0
  521. package/fesm2022/odx-angular-components-checkbox.mjs.map +1 -1
  522. package/fesm2022/odx-angular-components-chip.mjs +20 -0
  523. package/fesm2022/odx-angular-components-chip.mjs.map +1 -1
  524. package/fesm2022/odx-angular-components-circular-progress.mjs +20 -0
  525. package/fesm2022/odx-angular-components-circular-progress.mjs.map +1 -1
  526. package/fesm2022/odx-angular-components-content-box.mjs +9 -0
  527. package/fesm2022/odx-angular-components-content-box.mjs.map +1 -1
  528. package/fesm2022/odx-angular-components-datepicker.mjs +84 -0
  529. package/fesm2022/odx-angular-components-datepicker.mjs.map +1 -1
  530. package/fesm2022/odx-angular-components-daterangepicker.mjs +145 -0
  531. package/fesm2022/odx-angular-components-daterangepicker.mjs.map +1 -1
  532. package/fesm2022/odx-angular-components-dropdown.mjs +66 -0
  533. package/fesm2022/odx-angular-components-dropdown.mjs.map +1 -1
  534. package/fesm2022/odx-angular-components-error-page.mjs +15 -0
  535. package/fesm2022/odx-angular-components-error-page.mjs.map +1 -1
  536. package/fesm2022/odx-angular-components-footer.mjs +11 -6
  537. package/fesm2022/odx-angular-components-footer.mjs.map +1 -1
  538. package/fesm2022/odx-angular-components-form-field.mjs +131 -0
  539. package/fesm2022/odx-angular-components-form-field.mjs.map +1 -1
  540. package/fesm2022/odx-angular-components-header-navigation.mjs +6 -0
  541. package/fesm2022/odx-angular-components-header-navigation.mjs.map +1 -1
  542. package/fesm2022/odx-angular-components-header.mjs +10 -0
  543. package/fesm2022/odx-angular-components-header.mjs.map +1 -1
  544. package/fesm2022/odx-angular-components-icon.mjs +57 -0
  545. package/fesm2022/odx-angular-components-icon.mjs.map +1 -1
  546. package/fesm2022/odx-angular-components-inline-message.mjs +13 -0
  547. package/fesm2022/odx-angular-components-inline-message.mjs.map +1 -1
  548. package/fesm2022/odx-angular-components-link.mjs +3 -0
  549. package/fesm2022/odx-angular-components-link.mjs.map +1 -1
  550. package/fesm2022/odx-angular-components-list.mjs +28 -1
  551. package/fesm2022/odx-angular-components-list.mjs.map +1 -1
  552. package/fesm2022/odx-angular-components-loading-spinner.mjs +30 -0
  553. package/fesm2022/odx-angular-components-loading-spinner.mjs.map +1 -1
  554. package/fesm2022/odx-angular-components-logo.mjs +15 -0
  555. package/fesm2022/odx-angular-components-logo.mjs.map +1 -1
  556. package/fesm2022/odx-angular-components-main-menu.mjs +119 -0
  557. package/fesm2022/odx-angular-components-main-menu.mjs.map +1 -1
  558. package/fesm2022/odx-angular-components-mainfilter-group.mjs +4 -0
  559. package/fesm2022/odx-angular-components-mainfilter-group.mjs.map +1 -1
  560. package/fesm2022/odx-angular-components-menu.mjs +36 -0
  561. package/fesm2022/odx-angular-components-menu.mjs.map +1 -1
  562. package/fesm2022/odx-angular-components-modal.mjs +252 -0
  563. package/fesm2022/odx-angular-components-modal.mjs.map +1 -1
  564. package/fesm2022/odx-angular-components-navigation-back.mjs +3 -0
  565. package/fesm2022/odx-angular-components-navigation-back.mjs.map +1 -1
  566. package/fesm2022/odx-angular-components-notification.mjs +148 -6
  567. package/fesm2022/odx-angular-components-notification.mjs.map +1 -1
  568. package/fesm2022/odx-angular-components-paginator.mjs +117 -0
  569. package/fesm2022/odx-angular-components-paginator.mjs.map +1 -1
  570. package/fesm2022/odx-angular-components-progress.mjs +15 -0
  571. package/fesm2022/odx-angular-components-progress.mjs.map +1 -1
  572. package/fesm2022/odx-angular-components-radio-group.mjs +30 -2
  573. package/fesm2022/odx-angular-components-radio-group.mjs.map +1 -1
  574. package/fesm2022/odx-angular-components-rail-navigation.mjs +42 -0
  575. package/fesm2022/odx-angular-components-rail-navigation.mjs.map +1 -1
  576. package/fesm2022/odx-angular-components-rich-list.mjs +26 -3
  577. package/fesm2022/odx-angular-components-rich-list.mjs.map +1 -1
  578. package/fesm2022/odx-angular-components-select.mjs +126 -11
  579. package/fesm2022/odx-angular-components-select.mjs.map +1 -1
  580. package/fesm2022/odx-angular-components-slider.mjs +19 -0
  581. package/fesm2022/odx-angular-components-slider.mjs.map +1 -1
  582. package/fesm2022/odx-angular-components-spinbox.mjs +16 -0
  583. package/fesm2022/odx-angular-components-spinbox.mjs.map +1 -1
  584. package/fesm2022/odx-angular-components-switch.mjs +22 -0
  585. package/fesm2022/odx-angular-components-switch.mjs.map +1 -1
  586. package/fesm2022/odx-angular-components-tab-bar.mjs +98 -0
  587. package/fesm2022/odx-angular-components-tab-bar.mjs.map +1 -1
  588. package/fesm2022/odx-angular-components-table.mjs +84 -1
  589. package/fesm2022/odx-angular-components-table.mjs.map +1 -1
  590. package/fesm2022/odx-angular-components-timepicker.mjs +20 -9
  591. package/fesm2022/odx-angular-components-timepicker.mjs.map +1 -1
  592. package/fesm2022/odx-angular-components-toast.mjs +67 -4
  593. package/fesm2022/odx-angular-components-toast.mjs.map +1 -1
  594. package/fesm2022/odx-angular-components-toggle-button-group.mjs +23 -0
  595. package/fesm2022/odx-angular-components-toggle-button-group.mjs.map +1 -1
  596. package/fesm2022/odx-angular-components-tooltip.mjs +59 -0
  597. package/fesm2022/odx-angular-components-tooltip.mjs.map +1 -1
  598. package/fesm2022/odx-angular-components-wizard.mjs +54 -0
  599. package/fesm2022/odx-angular-components-wizard.mjs.map +1 -1
  600. package/fesm2022/odx-angular-internal-translate.mjs +60 -0
  601. package/fesm2022/odx-angular-internal-translate.mjs.map +1 -1
  602. package/fesm2022/odx-angular-internal.mjs +8 -0
  603. package/fesm2022/odx-angular-internal.mjs.map +1 -1
  604. package/fesm2022/odx-angular-localization.mjs +254 -2
  605. package/fesm2022/odx-angular-localization.mjs.map +1 -1
  606. package/fesm2022/odx-angular-rxjs.mjs +115 -5
  607. package/fesm2022/odx-angular-rxjs.mjs.map +1 -1
  608. package/fesm2022/odx-angular-sdk.mjs +50 -0
  609. package/fesm2022/odx-angular-sdk.mjs.map +1 -1
  610. package/fesm2022/odx-angular-theming.mjs +149 -0
  611. package/fesm2022/odx-angular-theming.mjs.map +1 -1
  612. package/fesm2022/odx-angular-utils.mjs +709 -1
  613. package/fesm2022/odx-angular-utils.mjs.map +1 -1
  614. package/fesm2022/odx-angular.mjs +322 -0
  615. package/fesm2022/odx-angular.mjs.map +1 -1
  616. package/internal/lib/helpers/decorator-property-name.d.ts +8 -0
  617. package/internal/translate/lib/translate.config.d.ts +31 -0
  618. package/internal/translate/lib/translate.service.d.ts +29 -0
  619. package/lib/controllers/controller.d.ts +25 -0
  620. package/lib/controllers/disabled.controller.d.ts +59 -0
  621. package/lib/controllers/readonly.controller.d.ts +56 -0
  622. package/lib/directives/click-outside.directive.d.ts +29 -0
  623. package/lib/directives/delegate-focus.directive.d.ts +14 -0
  624. package/lib/services/window-ref.d.ts +66 -0
  625. package/lib/tokens/identity-matcher.d.ts +41 -0
  626. package/lib/tokens/string-search-handler.d.ts +39 -0
  627. package/lib/tokens/stringify.d.ts +42 -0
  628. package/localization/lib/features/with-http-language-header.d.ts +63 -0
  629. package/localization/lib/features/with-http-language-query-param.d.ts +61 -0
  630. package/localization/lib/loaders/browser-language-loader.d.ts +32 -0
  631. package/localization/lib/localization.config.d.ts +81 -0
  632. package/localization/lib/localization.service.d.ts +39 -0
  633. package/localization/lib/models/localization-feature.d.ts +7 -0
  634. package/package.json +1 -1
  635. package/rxjs/index.d.ts +1 -1
  636. package/rxjs/lib/delay-until.d.ts +22 -0
  637. package/rxjs/lib/from-element-mutation.d.ts +21 -0
  638. package/rxjs/lib/from-element-resize.d.ts +24 -0
  639. package/rxjs/lib/from-events.d.ts +24 -0
  640. package/rxjs/lib/from-query-list.d.ts +22 -0
  641. package/sdk/lib/application-environment.d.ts +59 -0
  642. package/theming/lib/helpers/prefers-dark-theme.d.ts +18 -0
  643. package/theming/lib/helpers/resolve-theme.d.ts +25 -0
  644. package/theming/lib/helpers/theme-storage.d.ts +42 -0
  645. package/theming/lib/theming.config.d.ts +46 -0
  646. package/theming/lib/theming.service.d.ts +31 -0
  647. package/utils/lib/decorators/pure.d.ts +51 -0
  648. package/utils/lib/helpers/angular.d.ts +36 -0
  649. package/utils/lib/helpers/array.d.ts +4 -0
  650. package/utils/lib/helpers/build-url.d.ts +20 -0
  651. package/utils/lib/helpers/build-website-url.d.ts +2 -1
  652. package/utils/lib/helpers/cache-storage-client.d.ts +51 -0
  653. package/utils/lib/helpers/coercion.d.ts +17 -0
  654. package/utils/lib/helpers/debounce.d.ts +27 -0
  655. package/utils/lib/helpers/defer-fn.d.ts +20 -0
  656. package/utils/lib/helpers/dom.d.ts +70 -0
  657. package/utils/lib/helpers/get-axis.d.ts +20 -0
  658. package/utils/lib/helpers/get-language-code.d.ts +17 -0
  659. package/utils/lib/helpers/get-opposite-side.d.ts +21 -0
  660. package/utils/lib/helpers/get-side.d.ts +17 -0
  661. package/utils/lib/helpers/get-unique-id.d.ts +33 -0
  662. package/utils/lib/helpers/match-url.d.ts +40 -0
  663. package/utils/lib/helpers/ng-changes.d.ts +52 -0
  664. package/utils/lib/helpers/provide-config.d.ts +56 -0
  665. package/utils/lib/helpers/queue.d.ts +83 -0
  666. package/utils/lib/helpers/type-guards.d.ts +57 -0
  667. package/utils/lib/helpers/until-destroyed.d.ts +38 -0
  668. package/esm2022/rxjs/lib/form-query-list.mjs +0 -5
  669. package/rxjs/lib/form-query-list.d.ts +0 -3
@@ -1,7 +1,66 @@
1
1
  import { ApplicationRef, InjectionToken } from '@angular/core';
2
2
  import { CacheStorageClient } from '@odx/angular/utils';
3
+ /**
4
+ * A function type definition for loading environment data for an application.
5
+ * It's a generic loader function that accepts parameters and returns a Promise of environment data.
6
+ *
7
+ * @template EnvironmentData The type of the environment data to be loaded.
8
+ * @template Params The types of the parameters accepted by the loader function.
9
+ * @param {...Params} args - Parameters passed to the loader function.
10
+ * @returns {Promise<EnvironmentData>} A promise resolving to the loaded environment data.
11
+ */
3
12
  export type ApplicationEnvironmentLoader<EnvironmentData, Params extends unknown[]> = (...args: Params) => Promise<EnvironmentData>;
13
+ /**
14
+ * Creates a loader function for fetching application environment data over HTTP and caching it.
15
+ * Utilizes `CacheStorageClient` for caching the fetched data to optimize performance and reduce network load.
16
+ *
17
+ * @template Data The type of the data expected from the HTTP request.
18
+ * @param {Function} handler - A function that processes the fetched data and returns a promise resolving to the desired environment data format.
19
+ * @returns {ApplicationEnvironmentLoader<Data, Parameters<CacheStorageClient['request']>>} A loader function that fetches, caches, and processes environment data.
20
+ * @example
21
+ * const environmentLoader = createHttpApplicationEnvironmentLoader(async (dto) => {
22
+ * return { apiEndpoint: dto.apiEndpoint, featureFlags: dto.featureFlags };
23
+ * });
24
+ */
4
25
  export declare function createHttpApplicationEnvironmentLoader<Data>(handler: (dto: unknown) => Promise<Data>): ApplicationEnvironmentLoader<Data, Parameters<CacheStorageClient['request']>>;
26
+ /**
27
+ * The application environment module can be used to load environment data before application startup,
28
+ * that can be used to load environment variables from an external URL.
29
+ *
30
+ * @template Data The type of the environment data.
31
+ * @template Params The types of the parameters accepted by the loader function.
32
+ * @param {ApplicationEnvironmentLoader<Data, Params>} loader - A loader function that asynchronously loads the environment data.
33
+ * @returns An object containing utilities for working with the application environment, including the InjectionToken
34
+ * and functions for loading and bootstrapping the application with the environment.
35
+ * @example
36
+ * To add an application environment to your Angular application, follow the following steps:
37
+ * 1. Create the application environment with your loader:
38
+ * ```ts
39
+ * import { createApplicationEnvironment, createHttpApplicationEnvironmentLoader } from '@odx/angular/sdk';
40
+ * import { z } from 'zod';
41
+ *
42
+ * export const ApplicationConfigSchema = z.object({
43
+ * environment: z.enum(['dev', 'stage', 'prod']),
44
+ * appName: z.string().default('App'),
45
+ * });
46
+ *
47
+ * const httpEnvironmentLoader = createHttpApplicationEnvironmentLoader((res) => res.json().then(ApplicationConfigSchema.parse));
48
+ * export const { injectApplicationEnvironment, bootstrapApplicationWithEnvironment } = createApplicationEnvironment(httpEnvironmentLoader);
49
+ * ```
50
+ * This example creates an HTTP environment loader which parses the response as JSON and validate it against a schema
51
+ *
52
+ * 2. Provide the application environment:
53
+ * ```ts
54
+ * bootstrapApplicationWithEnvironment(['assets/config.json'], AppComponent, { providers: [] });
55
+ * ```
56
+ *
57
+ * 3. Use the application environment via DI
58
+ * ```ts
59
+ * class MyService {
60
+ * private readonly environment = injectApplicationEnvironment();
61
+ * }
62
+ * ```
63
+ */
5
64
  export declare function createApplicationEnvironment<Data, Params extends unknown[]>(loader: ApplicationEnvironmentLoader<Data, Params>): {
6
65
  APPLICATION_ENVIRONMENT: InjectionToken<Data>;
7
66
  injectApplicationEnvironment: () => Data;
@@ -1 +1,19 @@
1
+ /**
2
+ * Determines whether the user's system preferences indicate a preference for dark themes.
3
+ * This is achieved by querying the '(prefers-color-scheme: dark)' media feature, which reflects
4
+ * the user's preference for a light or dark color scheme in their operating system's UI.
5
+ *
6
+ * @param {Window} view - The window object, typically `window`, from which to access the matchMedia method.
7
+ * @returns {boolean} `true` if the user prefers a dark theme, otherwise `false`.
8
+ *
9
+ * @example
10
+ * Example usage in a web application to toggle themes:
11
+ * ```ts
12
+ * if (prefersDarkTheme(window)) {
13
+ * document.body.classList.add('dark-theme');
14
+ * } else {
15
+ * document.body.classList.remove('dark-theme');
16
+ * }
17
+ * ```
18
+ */
1
19
  export declare function prefersDarkTheme(view: Window): boolean;
@@ -1,2 +1,27 @@
1
1
  import { Theme } from '../models';
2
+ /**
3
+ * Resolves the specified theme by checking if it exists in the predefined list of available themes.
4
+ * This function ensures that only valid themes are used in the application, providing a safeguard
5
+ * against invalid theme names and facilitating the dynamic application of themes.
6
+ *
7
+ * @param {string | null} [theme] - The name of the theme to resolve. It's optional and can be `null`.
8
+ * @returns {Theme | null} - Returns the resolved `Theme` object if the theme is found within the list of `availableThemes`;
9
+ * otherwise, returns `null` to indicate the theme is not recognized or available.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * // Assuming 'dark' and 'light' are in the availableThemes array
14
+ * console.log(resolveTheme('dark')); // Outputs the 'dark' Theme object
15
+ * console.log(resolveTheme('unknown')); // Outputs null
16
+ *
17
+ * // Using resolveTheme to apply a user-selected theme
18
+ * const userSelectedTheme = getUserSelectedTheme(); // This function gets the user's theme choice
19
+ * const themeToApply = resolveTheme(userSelectedTheme);
20
+ * if (themeToApply) {
21
+ * applyTheme(themeToApply); // This function applies the resolved theme to the application
22
+ * } else {
23
+ * console.warn('Selected theme is not available.');
24
+ * }
25
+ * ```
26
+ */
2
27
  export declare function resolveTheme(theme?: string | null): Theme | null;
@@ -1,4 +1,46 @@
1
1
  import { Theme } from '../models';
2
+ /**
3
+ * The key used to store the selected theme in `Storage`.
4
+ * This constant ensures consistent access to the theme setting across the application.
5
+ */
2
6
  export declare const THEME_STORAGE_NAME = "@odx/angular/theming:SelectedTheme";
7
+ /**
8
+ * Saves the specified theme to storage. This function abstracts the storage interaction,
9
+ * providing a fail-safe mechanism to avoid exceptions if the storage is not available.
10
+ *
11
+ * @param {Storage | null | undefined} storage - The storage mechanism to use, typically `localStorage` or `sessionStorage`.
12
+ * @param {Theme} theme - The theme to save. Should be a value that is recognized by the application's theming system.
13
+ * @throws Will silently catch and ignore any exceptions caused by storage limitations or permissions.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * // Example usage with localStorage
18
+ * saveTheme(localStorage, 'dark');
19
+ *
20
+ * // Using sessionStorage instead
21
+ * saveTheme(sessionStorage, 'light');
22
+ * ```
23
+ */
3
24
  export declare function saveTheme(storage: Storage | null | undefined, theme: Theme): void;
25
+ /**
26
+ * Reads the theme from storage, attempting to resolve it to a valid application theme.
27
+ * If the theme cannot be found or is invalid, `null` is returned. This function also provides
28
+ * error handling for any storage access issues, ensuring the application can gracefully handle
29
+ * scenarios where storage is not available or accessible.
30
+ *
31
+ * @param {Storage | null} [storage] - The storage mechanism to use, typically `localStorage` or `sessionStorage`.
32
+ * @returns {Theme | null} - The resolved theme if found and valid; otherwise, `null`.
33
+ * @throws Will silently catch and ignore any exceptions caused by storage access, returning `null`.
34
+ *
35
+ * @example
36
+ * ```ts
37
+ * // Reading theme from localStorage
38
+ * const theme = readTheme(localStorage);
39
+ * if (theme) {
40
+ * applyTheme(theme); // Assuming applyTheme is a function to apply the theme
41
+ * } else {
42
+ * console.warn('No saved theme found or theme is invalid.');
43
+ * }
44
+ * ```
45
+ */
4
46
  export declare function readTheme(storage?: Storage | null): Theme | null;
@@ -1,10 +1,56 @@
1
1
  import { EnvironmentProviders } from '@angular/core';
2
2
  import { ConfigDependencies, ConfigProvider } from '@odx/angular/utils';
3
3
  import { Theme } from './models';
4
+ /**
5
+ * Defines the structure for theming configuration options in the application.
6
+ */
4
7
  export interface ThemingConfig {
8
+ /**
9
+ * Determines whether the theme should be auto-detected based on system preferences.
10
+ */
5
11
  autoDetect: boolean;
12
+ /**
13
+ * Specifies the default theme to be used if auto-detection is not enabled or fails.
14
+ */
6
15
  defaultTheme: Theme;
16
+ /**
17
+ * The storage mechanism (like `localStorage` or `sessionStorage`) to persist theme settings,
18
+ * or `null` to disable persistence.
19
+ */
7
20
  storage?: Storage | null;
8
21
  }
22
+ /**
23
+ * Utility created by `createConfigTokens` for managing theming configuration tokens and functions.
24
+ * Provides easy access to theming configuration, default values, and dependency injection utilities.
25
+ */
9
26
  export declare const ThemingConfig: import("@angular/core").InjectionToken<Partial<ThemingConfig>>, injectThemingConfig: () => ThemingConfig, provideThemingConfig: <D extends ConfigDependencies<unknown> = ConfigDependencies<Partial<ThemingConfig>>>(config: ConfigProvider<Partial<ThemingConfig>, D>) => import("@angular/core").FactoryProvider | import("@angular/core").ValueProvider;
27
+ /**
28
+ * Provides the theming configuration to the application and initializes the `ThemingService`
29
+ * based on the provided configuration. This function simplifies the setup of a dynamic theming
30
+ * system, integrating with Angular's environment initializers to ensure proper initialization.
31
+ *
32
+ * @template D - The dependencies required by the theming configuration, if any.
33
+ * @param {ConfigProvider<Partial<ThemingConfig>, D>} config - The theming configuration or a configuration factory provider.
34
+ * @returns {EnvironmentProviders} An array of providers for setting up theming in the application.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * // Providing a simple theming configuration
39
+ * provideTheming({
40
+ * autoDetect: true,
41
+ * defaultTheme: Theme.DARK,
42
+ * storage: localStorage,
43
+ * });
44
+ *
45
+ * // Providing a theming configuration with dependencies
46
+ * provideTheming({
47
+ * useFactory: (deps: Dependencies) => ({
48
+ * autoDetect: deps.setting,
49
+ * defaultTheme: Theme.DARK,
50
+ * storage: localStorage,
51
+ * }),
52
+ * deps: [SomeDependency],
53
+ * });
54
+ * ```
55
+ */
10
56
  export declare function provideTheming<D extends ConfigDependencies = ConfigDependencies<ThemingConfig>>(config: ConfigProvider<Partial<ThemingConfig>, D>): EnvironmentProviders;
@@ -1,17 +1,48 @@
1
1
  import { Theme } from './models';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare const THEME_ATTRIBUTE_NAME = "odxTheme";
4
+ /**
5
+ * Manages theming for the application. It allows for dynamic theme selection, automatically saves theme preferences,
6
+ * and applies the user's preferred theme or the default theme based on configuration settings.
7
+ *
8
+ * The service leverages the BehaviorSubject pattern to reactively handle theme changes across the application,
9
+ * ensuring that subscribers are notified whenever the theme changes. It also interacts with the DOM directly
10
+ * to apply the current theme and with the provided storage mechanism to persist theme preferences.
11
+ */
4
12
  export declare class ThemingService {
5
13
  private readonly config;
6
14
  private readonly document;
7
15
  private readonly windowRef;
8
16
  private readonly theme$$;
17
+ /**
18
+ * An observable stream of the current theme, emitting values whenever the theme changes.
19
+ * Subscribers to this observable can react to theme changes in real-time.
20
+ */
9
21
  readonly theme$: import("rxjs").Observable<Theme>;
10
22
  constructor();
23
+ /**
24
+ * Selects and applies a given theme by updating the BehaviorSubject and persisting the preference.
25
+ *
26
+ * @param {Theme} theme - The theme to apply.
27
+ */
11
28
  selectTheme(theme: Theme): void;
29
+ /**
30
+ * Retrieves the currently selected theme.
31
+ *
32
+ * @returns {Theme} The currently selected theme.
33
+ */
12
34
  getSelectedTheme(): Theme;
35
+ /**
36
+ * Toggles between dark and light themes, depending on the current theme.
37
+ */
13
38
  toggleDarkMode(): void;
39
+ /**
40
+ * Enables the dark mode theme.
41
+ */
14
42
  enableDarkMode(): void;
43
+ /**
44
+ * Enables the light mode theme.
45
+ */
15
46
  enableLightMode(): void;
16
47
  private getInitialTheme;
17
48
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemingService, never>;
@@ -1 +1,52 @@
1
+ /**
2
+ * A decorator that transforms a class method or getter into a pure function. For methods, it caches the result
3
+ * of the first invocation with a given set of arguments and returns the cached result on subsequent invocations
4
+ * with the same arguments. For getters, it caches the result of the first access and returns the cached value
5
+ * on subsequent accesses.
6
+ *
7
+ * This decorator is intended to improve performance by avoiding unnecessary recalculations or processing
8
+ * when the inputs have not changed.
9
+ *
10
+ * @template T The type of the property being decorated.
11
+ * @param {object} _target The prototype of the class.
12
+ * @param {string} propertyKey The name of the method or getter.
13
+ * @param {TypedPropertyDescriptor<T>} descriptor The property descriptor for the method or getter.
14
+ * @throws {Error} Throws an error if applied to non-function properties.
15
+ * @returns {TypedPropertyDescriptor<T>} A new descriptor with the getter or method patched for pure behavior.
16
+ *
17
+ * @example
18
+ * Usage with a getter:
19
+ * ```ts
20
+ * class ExampleClass {
21
+ * private _value: number = Math.random();
22
+ *
23
+ * @Pure
24
+ * get value(): number {
25
+ * console.log('Getter called');
26
+ * return this._value;
27
+ * }
28
+ * }
29
+ *
30
+ * const example = new ExampleClass();
31
+ * console.log(example.value); // Logs 'Getter called' and the value
32
+ * console.log(example.value); // Logs only the value, without calling the getter again
33
+ * ```
34
+ *
35
+ * Usage with a method:
36
+ * ```ts
37
+ * class Counter {
38
+ * private count = 0;
39
+ *
40
+ * @Pure
41
+ * increment(step: number) {
42
+ * console.log('Increment called');
43
+ * return (this.count += step);
44
+ * }
45
+ * }
46
+ *
47
+ * const counter = new Counter();
48
+ * console.log(counter.increment(1)); // Logs 'Increment called' and 1
49
+ * console.log(counter.increment(1)); // Logs 1 without calling increment again
50
+ * ```
51
+ */
1
52
  export declare function Pure<T>(_target: object, propertyKey: string, { get, enumerable, value }: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T>;
@@ -1,9 +1,45 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
+ /**
4
+ * Binds an observable to toggle a CSS class on the host element based on the truthiness of the emitted values.
5
+ * The subscription automatically ends when the component is destroyed.
6
+ *
7
+ * @template T The type of items emitted by the source observable.
8
+ * @param {Observable<T> | null | undefined} source$ The observable source emitting truthy or falsy values.
9
+ * @param {string} cssClass The CSS class to toggle based on the emitted values.
10
+ */
3
11
  export declare function reactiveClassBinding<T>(source$: Observable<T> | null | undefined, cssClass: string): void;
12
+ /**
13
+ * Binds an observable to update attributes on the host element with the emitted values.
14
+ * The subscription automatically ends when the component is destroyed.
15
+ *
16
+ * @template T The type of items emitted by the source observable.
17
+ * @param {Observable<T> | null | undefined} source$ The observable source.
18
+ * @param {...string[]} attributes The attributes to set on the host element based on the emitted values.
19
+ */
4
20
  export declare function reactiveAttributeBinding<T>(source$: Observable<T> | null | undefined, ...attributes: string[]): void;
21
+ /**
22
+ * Injects the ElementRef of the host element in an Angular component or directive.
23
+ *
24
+ * @template T The expected type of the native element.
25
+ * @returns {ElementRef<T>} The injected ElementRef instance.
26
+ */
5
27
  export declare function injectElement<T = HTMLElement>(): ElementRef<T>;
28
+ /**
29
+ * Tracking function for use with `*ngFor` that tracks items by their index.
30
+ *
31
+ * @param {number} index The index of the item in the iterable.
32
+ * @returns {number} The index, used as the trackBy identity.
33
+ */
6
34
  export declare function trackByIndex(index: number): number;
35
+ /**
36
+ * Tracking function for use with `*ngFor` that tracks items by their unique ID.
37
+ *
38
+ * @template T The type of the items in the iterable, must have an 'id' property.
39
+ * @param {number} _ The index of the item in the iterable, not used.
40
+ * @param {T} item The item in the iterable.
41
+ * @returns {T['id']} The item's ID, used as the trackBy identity.
42
+ */
7
43
  export declare function trackById<T extends {
8
44
  id: string | number | symbol;
9
45
  }>(_: number, { id }: T): T['id'];
@@ -7,8 +7,10 @@
7
7
  * @param {K} key - The key whose values are to be plucked from each object in the array.
8
8
  * @returns {Array<T[K]>} An array of values corresponding to the specified key from each object.
9
9
  * @example
10
+ * ```ts
10
11
  * const users = [{ name: 'Alice' }, { name: 'Bob' }];
11
12
  * const names = pluckFromArray(users, 'name'); // ['Alice', 'Bob']
13
+ * ```
12
14
  */
13
15
  export declare function pluckFromArray<T, K extends keyof T>(arr: T[], key: K): Array<T[K]>;
14
16
  export type OrderByDirection = 'ASC' | 'DESC';
@@ -20,7 +22,9 @@ export type OrderByDirection = 'ASC' | 'DESC';
20
22
  * @param {OrderByDirection} [direction='ASC'] - The direction to sort ('ASC' for ascending, 'DESC' for descending).
21
23
  * @returns {(a: T, b: T) => number} A compare function that can be used in the array sort method.
22
24
  * @example
25
+ * ```ts
23
26
  * const items = [{ value: 10 }, { value: 5 }, { value: 7 }];
24
27
  * const sortedItems = items.sort(orderBy('value', 'ASC')); // Sorted by value in ascending order
28
+ * ```
25
29
  */
26
30
  export declare function orderBy<T>(key: keyof T, direction?: OrderByDirection): (a: T, b: T) => number;
@@ -1 +1,21 @@
1
+ /**
2
+ * Constructs a URL string from provided segments, ensuring proper slash separation without duplications.
3
+ * It gracefully handles `null`, `undefined`, and symbol values by omitting them from the final URL.
4
+ * Additionally, the function preserves the protocol part of the URL, if specified.
5
+ *
6
+ * @param {...Array<string | number | symbol | null | undefined>} args - The segments to concatenate into a URL.
7
+ * Can be a mix of strings, numbers, symbols (converted to strings), or `null`/`undefined` (which are omitted).
8
+ * @returns {string} The constructed URL string with correctly formatted slashes.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * // Basic usage
13
+ * console.log(buildUrl('http://example.com', 'path', 'to', 'resource'));
14
+ * // Outputs: "http://example.com/path/to/resource"
15
+ *
16
+ * // Removing duplicate slashes
17
+ * console.log(buildUrl('http://example.com/', '/path/', '//to', '/resource/'));
18
+ * // Outputs: "http://example.com/path/to/resource/"
19
+ * ```
20
+ */
1
21
  export declare function buildUrl(...args: Array<string | number | symbol | null | undefined>): string;
@@ -15,11 +15,12 @@ export declare const DRAEGER_WEBSITE_URL = "https://www.draeger.com";
15
15
  * @returns {string} The fully constructed URL, including the base URL and all provided path segments.
16
16
  *
17
17
  * @example
18
+ * ```ts
18
19
  * // Returns 'https://www.draeger.com/about-us'
19
20
  * const url = buildWebsiteUrl('about-us');
20
21
  *
21
- * @example
22
22
  * // Can also handle multiple segments, returning 'https://www.draeger.com/products/search/123'
23
23
  * const productUrl = buildWebsiteUrl('products', 'search', 123);
24
+ * ```
24
25
  */
25
26
  export declare function buildWebsiteUrl(...segments: Array<string | number | symbol | null | undefined>): string;
@@ -1,12 +1,63 @@
1
+ /**
2
+ * The HTTP 'Etag' header, used for web cache validation.
3
+ */
1
4
  export declare const HTTP_ETAG_HEADER = "Etag";
5
+ /**
6
+ * The HTTP 'If-None-Match' header, used in conditional requests to compare against the ETag.
7
+ */
2
8
  export declare const HTTP_IF_NONE_MATCH_HEADER = "If-None-Match";
9
+ /**
10
+ * The HTTP 'Cache-Control' header, used to specify directives for caching mechanisms in requests and responses.
11
+ */
3
12
  export declare const HTTP_CACHE_CONTROL_HEADER = "Cache-Control";
13
+ /**
14
+ * A client for managing cache storage for web applications. It simplifies interactions with the Cache Storage API,
15
+ * allowing for the caching, retrieval, and deletion of request responses. This class uses HTTP caching headers to
16
+ * optimize network requests and cache management.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * // Creating an instance of CacheStorageClient
21
+ * const cacheClient = new CacheStorageClient('my-cache');
22
+ *
23
+ * // Requesting and caching data
24
+ * cacheClient.request('https://api.example.com/data').then(data => {
25
+ * console.log(data);
26
+ * });
27
+ *
28
+ * // Deleting a specific cache entry
29
+ * cacheClient.delete('https://api.example.com/data');
30
+ *
31
+ * // Clearing all cache entries
32
+ * cacheClient.deleteAll();
33
+ * ```
34
+ */
4
35
  export declare class CacheStorageClient {
5
36
  private readonly cacheKey;
6
37
  private readonly cacheStorage;
7
38
  constructor(cacheKey: string, cacheStorage?: CacheStorage);
39
+ /**
40
+ * Deletes a specific cache entry.
41
+ *
42
+ * @param {RequestInfo | URL} request - The request or URL to delete from the cache.
43
+ * @returns {Promise<boolean>} A promise that resolves to a boolean indicating whether the deletion was successful.
44
+ */
8
45
  delete(request: RequestInfo | URL): Promise<boolean>;
46
+ /**
47
+ * Deletes all entries from the cache.
48
+ *
49
+ * @returns {Promise<void>} A promise that resolves when all entries have been deleted.
50
+ */
9
51
  deleteAll(): Promise<void>;
52
+ /**
53
+ * Performs a request, caching the response if applicable. If a response is cached for the request and still valid,
54
+ * it returns the cached response instead of making a new network request.
55
+ *
56
+ * @template T - The expected response data type.
57
+ * @param {RequestInfo | URL} requestInfo - The request information or URL to fetch and cache.
58
+ * @param {(response: Response) => boolean} [shouldDelete=({ status }) => status >= 400 && status < 500] - An optional function to determine if the cache entry should be deleted based on the response.
59
+ * @returns {Promise<T | null>} A promise that resolves to the response data, or null if the request fails.
60
+ */
10
61
  request<T>(requestInfo: RequestInfo | URL, shouldDelete?: ({ status }: Response) => boolean): Promise<T | null>;
11
62
  protected getCache(): Promise<Cache>;
12
63
  protected prepareRequest(cache: Cache, requestInfo: RequestInfo | URL): Promise<Request>;
@@ -1,2 +1,19 @@
1
+ /**
2
+ * Coerces a value to an array. If the value is already an array, it is returned directly.
3
+ * If the value is not an array, it is wrapped in an array. This utility is useful for
4
+ * handling values that can be either single values or arrays, ensuring consistent array handling.
5
+ *
6
+ * @param {string | string[]} value - The value to coerce to an array. Can be a single string or an array of strings.
7
+ * @returns {string[]} The coerced value as an array of strings.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * // Coercing a single string to an array
12
+ * console.log(arrayAttribute('singleValue')); // Outputs: ['singleValue']
13
+ *
14
+ * // Returning an array directly
15
+ * console.log(arrayAttribute(['value1', 'value2'])); // Outputs: ['value1', 'value2']
16
+ * ```
17
+ */
1
18
  export declare function arrayAttribute(value: string | string[]): string[];
2
19
  export { coerceArray, coerceCssPixelValue, coerceElement, coerceStringArray } from '@angular/cdk/coercion';
@@ -1 +1,28 @@
1
+ /**
2
+ * Creates a debounced function that delays invoking the provided function until after `delay` milliseconds
3
+ * have elapsed since the last time the debounced function was invoked. Optionally, the function can be
4
+ * triggered immediately on the first call, then debounced for subsequent calls.
5
+ *
6
+ * @template Args - A tuple representing the types of arguments the `func` accepts.
7
+ * @param {(...args: Args) => void} func - The function to debounce.
8
+ * @param {number} delay - The number of milliseconds to delay.
9
+ * @param {boolean} [immediate=false] - Whether to trigger the function immediately on the first call,
10
+ * and then debounce subsequent calls.
11
+ * @returns {(...args: Args) => void} A new, debounced function.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * // Example usage with a window resize event
16
+ * const handleResize = debounce(() => {
17
+ * console.log('Window resized');
18
+ * }, 250);
19
+ * window.addEventListener('resize', handleResize);
20
+ *
21
+ * // Example using immediate invocation
22
+ * const processKeyPress = debounce((event) => {
23
+ * console.log('Key pressed:', event.key);
24
+ * }, 200, true);
25
+ * document.addEventListener('keypress', processKeyPress);
26
+ * ```
27
+ */
1
28
  export declare function debounce<Args extends unknown[]>(func: (...args: Args) => void, delay: number, immediate?: boolean): (...args: Args) => void;
@@ -1 +1,21 @@
1
+ /**
2
+ * Defers the execution of a function until the current call stack is clear.
3
+ * This is achieved by using `setTimeout` with a delay of `0`, effectively placing the function
4
+ * at the end of the event queue and allowing the browser to complete any pending tasks before execution.
5
+ *
6
+ * @param {() => void} fn - The function to be deferred.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * // Deferring a simple function
11
+ * deferFn(() => console.log('This will be logged after the current execution context completes.'));
12
+ *
13
+ * // Using deferFn to update the UI after a synchronous operation
14
+ * function updateUI() {
15
+ * // UI update logic here
16
+ * }
17
+ * // Assume we're inside a synchronous block of code that updates data
18
+ * deferFn(updateUI); // Ensures UI is updated after data changes are fully applied
19
+ * ```
20
+ */
1
21
  export declare function deferFn(fn: () => void): void;
@@ -1,12 +1,82 @@
1
1
  import { Subscriber } from 'rxjs';
2
+ /**
3
+ * Applies a set of CSS styles to an HTML element.
4
+ *
5
+ * @param {HTMLElement} element - The element to apply styles to.
6
+ * @param {Partial<CSSStyleDeclaration | Record<keyof CSSStyleDeclaration, string | null>>} styles - An object containing CSS properties and values to apply.
7
+ */
2
8
  export declare function applyStyles(element: HTMLElement, styles: Partial<CSSStyleDeclaration | Record<keyof CSSStyleDeclaration, string | null>>): void;
9
+ /**
10
+ * Converts a boolean value to a corresponding attribute string.
11
+ *
12
+ * @param {boolean} state - The boolean state to convert.
13
+ * @returns {string} 'true' if the state is true; otherwise, 'false'.
14
+ */
3
15
  export declare function booleanToAttributeString(state: boolean): string;
16
+ /**
17
+ * Converts a boolean value to 'true' or null, useful for setting attributes based on boolean conditions.
18
+ *
19
+ * @param {boolean} state - The boolean state to convert.
20
+ * @returns {string | null} 'true' if the state is true; otherwise, null.
21
+ */
4
22
  export declare function booleanToOptionalAttributeString(state: boolean): string | null;
23
+ /**
24
+ * Converts a numeric value to a pixel string, appending 'px' to the number.
25
+ *
26
+ * @param {unknown} value - The value to convert to pixels.
27
+ * @returns {`${number}px`} The value in pixels, or '0px' if the input is not a number.
28
+ */
5
29
  export declare function px(value: unknown): `${number}px`;
30
+ /**
31
+ * Generates a CSS translate3d string for given x and y values.
32
+ *
33
+ * @param {string | 0} x - The translation value along the x-axis.
34
+ * @param {string | 0} y - The translation value along the y-axis.
35
+ * @returns {`translate3d(${string | 0}, ${string | 0}, 0)`} The CSS translate3d value.
36
+ */
6
37
  export declare function cssTranslate(x: string | 0, y: string | 0): `translate3d(${string | 0}, ${string | 0}, 0)`;
38
+ /**
39
+ * Disables or re-enables CSS transitions on an element.
40
+ *
41
+ * @param {HTMLElement} element - The element to modify.
42
+ * @param {boolean} disabled - Whether to disable CSS transitions.
43
+ */
7
44
  export declare function disableCSSTransitions(element: HTMLElement, disabled: boolean): void;
45
+ /**
46
+ * Forces the browser to reflow the layout, useful for triggering CSS transitions or animations.
47
+ *
48
+ * @param {HTMLElement} element - The element to force a reflow on.
49
+ */
8
50
  export declare function forceLayoutReflow(element: HTMLElement): void;
51
+ /**
52
+ * Sets an attribute on an HTML element, converting the value to a string if necessary.
53
+ *
54
+ * @param {HTMLElement} element - The element to set the attribute on.
55
+ * @param {string} attribute - The name of the attribute to set.
56
+ * @param {unknown} value - The value of the attribute; will be converted to a string if it's not null or undefined.
57
+ */
9
58
  export declare function setAttribute(element: HTMLElement, attribute: string, value?: unknown): void;
59
+ /**
60
+ * Creates a ResizeObserver instance safely, falling back to a dummy if the API is not supported.
61
+ *
62
+ * @param {ResizeObserverCallback} callback - The callback to execute when an observed element's size changes.
63
+ * @returns {ResizeObserver} A ResizeObserver instance or a dummy object with no-op methods if unsupported.
64
+ */
10
65
  export declare function createResizeObserver(callback: ResizeObserverCallback): ResizeObserver;
66
+ /**
67
+ * Creates a MutationObserver instance safely, falling back to a dummy if the API is not supported.
68
+ *
69
+ * @param {Subscriber<MutationRecord>} observer - The RxJS Subscriber to emit next values to.
70
+ * @param {(mutations: MutationRecord[]) => boolean} callback - The callback that determines whether to notify the observer based on mutations.
71
+ * @returns {MutationObserver} A MutationObserver instance or a dummy object with no-op methods if unsupported.
72
+ */
11
73
  export declare function createMutationObserver(observer: Subscriber<MutationRecord>, callback: (mutations: MutationRecord[]) => boolean): MutationObserver;
74
+ /**
75
+ * Checks whether one element contains another in the DOM tree.
76
+ *
77
+ * @param {Element | null} parent - The parent element.
78
+ * @param {Element | null} other - The element to check for containment.
79
+ * @param {boolean} [inclusive=true] - Whether to consider an element as containing itself.
80
+ * @returns {boolean} True if the parent contains the other element; false otherwise.
81
+ */
12
82
  export declare function containsElement(parent?: Element | null, other?: Element | null, inclusive?: boolean): boolean;