@clr/angular 17.12.2 → 18.0.0-beta.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 (1157) hide show
  1. package/README.md +1 -5
  2. package/fesm2022/clr-angular-accordion.mjs +355 -0
  3. package/fesm2022/clr-angular-accordion.mjs.map +1 -0
  4. package/fesm2022/clr-angular-button.mjs +713 -0
  5. package/fesm2022/clr-angular-button.mjs.map +1 -0
  6. package/fesm2022/clr-angular-collapsible-panel.mjs +201 -0
  7. package/fesm2022/clr-angular-collapsible-panel.mjs.map +1 -0
  8. package/fesm2022/clr-angular-data-datagrid.mjs +7601 -0
  9. package/fesm2022/clr-angular-data-datagrid.mjs.map +1 -0
  10. package/fesm2022/clr-angular-data-stack-view.mjs +442 -0
  11. package/fesm2022/clr-angular-data-stack-view.mjs.map +1 -0
  12. package/fesm2022/clr-angular-data-tree-view.mjs +1106 -0
  13. package/fesm2022/clr-angular-data-tree-view.mjs.map +1 -0
  14. package/fesm2022/clr-angular-data.mjs +9145 -0
  15. package/fesm2022/clr-angular-data.mjs.map +1 -0
  16. package/fesm2022/clr-angular-emphasis-alert.mjs +624 -0
  17. package/fesm2022/clr-angular-emphasis-alert.mjs.map +1 -0
  18. package/fesm2022/clr-angular-emphasis-badge.mjs +69 -0
  19. package/fesm2022/clr-angular-emphasis-badge.mjs.map +1 -0
  20. package/fesm2022/clr-angular-emphasis-common.mjs +25 -0
  21. package/fesm2022/clr-angular-emphasis-common.mjs.map +1 -0
  22. package/fesm2022/clr-angular-emphasis-label.mjs +105 -0
  23. package/fesm2022/clr-angular-emphasis-label.mjs.map +1 -0
  24. package/fesm2022/clr-angular-emphasis.mjs +807 -0
  25. package/fesm2022/clr-angular-emphasis.mjs.map +1 -0
  26. package/fesm2022/clr-angular-forms-checkbox.mjs +301 -0
  27. package/fesm2022/clr-angular-forms-checkbox.mjs.map +1 -0
  28. package/fesm2022/clr-angular-forms-combobox.mjs +1445 -0
  29. package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -0
  30. package/fesm2022/clr-angular-forms-common.mjs +1235 -0
  31. package/fesm2022/clr-angular-forms-common.mjs.map +1 -0
  32. package/fesm2022/clr-angular-forms-datalist.mjs +275 -0
  33. package/fesm2022/clr-angular-forms-datalist.mjs.map +1 -0
  34. package/fesm2022/clr-angular-forms-datepicker.mjs +3230 -0
  35. package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -0
  36. package/fesm2022/clr-angular-forms-file-input.mjs +810 -0
  37. package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -0
  38. package/fesm2022/clr-angular-forms-input.mjs +167 -0
  39. package/fesm2022/clr-angular-forms-input.mjs.map +1 -0
  40. package/fesm2022/clr-angular-forms-number-input.mjs +249 -0
  41. package/fesm2022/clr-angular-forms-number-input.mjs.map +1 -0
  42. package/fesm2022/clr-angular-forms-password.mjs +245 -0
  43. package/fesm2022/clr-angular-forms-password.mjs.map +1 -0
  44. package/fesm2022/clr-angular-forms-radio.mjs +262 -0
  45. package/fesm2022/clr-angular-forms-radio.mjs.map +1 -0
  46. package/fesm2022/clr-angular-forms-range.mjs +199 -0
  47. package/fesm2022/clr-angular-forms-range.mjs.map +1 -0
  48. package/fesm2022/clr-angular-forms-select.mjs +166 -0
  49. package/fesm2022/clr-angular-forms-select.mjs.map +1 -0
  50. package/fesm2022/clr-angular-forms-textarea.mjs +149 -0
  51. package/fesm2022/clr-angular-forms-textarea.mjs.map +1 -0
  52. package/fesm2022/clr-angular-forms.mjs +8592 -0
  53. package/fesm2022/clr-angular-forms.mjs.map +1 -0
  54. package/fesm2022/clr-angular-icon.mjs +7387 -0
  55. package/fesm2022/clr-angular-icon.mjs.map +1 -0
  56. package/fesm2022/clr-angular-layout-breadcrumbs.mjs +120 -0
  57. package/fesm2022/clr-angular-layout-breadcrumbs.mjs.map +1 -0
  58. package/fesm2022/clr-angular-layout-main-container.mjs +100 -0
  59. package/fesm2022/clr-angular-layout-main-container.mjs.map +1 -0
  60. package/fesm2022/clr-angular-layout-nav.mjs +580 -0
  61. package/fesm2022/clr-angular-layout-nav.mjs.map +1 -0
  62. package/fesm2022/clr-angular-layout-tabs.mjs +807 -0
  63. package/fesm2022/clr-angular-layout-tabs.mjs.map +1 -0
  64. package/fesm2022/clr-angular-layout-vertical-nav.mjs +507 -0
  65. package/fesm2022/clr-angular-layout-vertical-nav.mjs.map +1 -0
  66. package/fesm2022/clr-angular-layout.mjs +2086 -0
  67. package/fesm2022/clr-angular-layout.mjs.map +1 -0
  68. package/fesm2022/clr-angular-modal.mjs +618 -0
  69. package/fesm2022/clr-angular-modal.mjs.map +1 -0
  70. package/fesm2022/clr-angular-popover-common.mjs +1027 -0
  71. package/fesm2022/clr-angular-popover-common.mjs.map +1 -0
  72. package/fesm2022/clr-angular-popover-dropdown.mjs +489 -0
  73. package/fesm2022/clr-angular-popover-dropdown.mjs.map +1 -0
  74. package/fesm2022/clr-angular-popover-signpost.mjs +478 -0
  75. package/fesm2022/clr-angular-popover-signpost.mjs.map +1 -0
  76. package/fesm2022/clr-angular-popover-tooltip.mjs +293 -0
  77. package/fesm2022/clr-angular-popover-tooltip.mjs.map +1 -0
  78. package/fesm2022/clr-angular-popover.mjs +2271 -0
  79. package/fesm2022/clr-angular-popover.mjs.map +1 -0
  80. package/fesm2022/clr-angular-progress-progress-bars.mjs +217 -0
  81. package/fesm2022/clr-angular-progress-progress-bars.mjs.map +1 -0
  82. package/fesm2022/clr-angular-progress-spinner.mjs +132 -0
  83. package/fesm2022/clr-angular-progress-spinner.mjs.map +1 -0
  84. package/fesm2022/clr-angular-stepper.mjs +688 -0
  85. package/fesm2022/clr-angular-stepper.mjs.map +1 -0
  86. package/fesm2022/clr-angular-timeline.mjs +316 -0
  87. package/fesm2022/clr-angular-timeline.mjs.map +1 -0
  88. package/fesm2022/clr-angular-utils-conditional.mjs +351 -0
  89. package/fesm2022/clr-angular-utils-conditional.mjs.map +1 -0
  90. package/fesm2022/clr-angular-utils-loading.mjs +107 -0
  91. package/fesm2022/clr-angular-utils-loading.mjs.map +1 -0
  92. package/fesm2022/clr-angular-utils.mjs +2544 -0
  93. package/fesm2022/clr-angular-utils.mjs.map +1 -0
  94. package/fesm2022/clr-angular-wizard.mjs +2863 -0
  95. package/fesm2022/clr-angular-wizard.mjs.map +1 -0
  96. package/fesm2022/clr-angular.mjs +38771 -0
  97. package/fesm2022/clr-angular.mjs.map +1 -0
  98. package/package.json +197 -18
  99. package/popover/common/README.md +110 -0
  100. package/types/clr-angular-accordion.d.ts +100 -0
  101. package/types/clr-angular-button.d.ts +169 -0
  102. package/types/clr-angular-collapsible-panel.d.ts +73 -0
  103. package/types/clr-angular-data-datagrid.d.ts +1850 -0
  104. package/types/clr-angular-data-stack-view.d.ts +87 -0
  105. package/types/clr-angular-data-tree-view.d.ts +220 -0
  106. package/types/clr-angular-data.d.ts +2147 -0
  107. package/types/clr-angular-emphasis-alert.d.ts +175 -0
  108. package/types/clr-angular-emphasis-badge.d.ts +25 -0
  109. package/types/clr-angular-emphasis-common.d.ts +6 -0
  110. package/types/clr-angular-emphasis-label.d.ts +29 -0
  111. package/types/clr-angular-emphasis.d.ts +231 -0
  112. package/types/clr-angular-forms-checkbox.d.ts +69 -0
  113. package/types/clr-angular-forms-combobox.d.ts +300 -0
  114. package/types/clr-angular-forms-common.d.ts +336 -0
  115. package/types/clr-angular-forms-datalist.d.ts +59 -0
  116. package/types/clr-angular-forms-datepicker.d.ts +951 -0
  117. package/types/clr-angular-forms-file-input.d.ts +190 -0
  118. package/types/clr-angular-forms-input.d.ts +29 -0
  119. package/types/clr-angular-forms-number-input.d.ts +43 -0
  120. package/types/clr-angular-forms-password.d.ts +52 -0
  121. package/types/clr-angular-forms-radio.d.ts +50 -0
  122. package/types/clr-angular-forms-range.d.ts +37 -0
  123. package/types/clr-angular-forms-select.d.ts +36 -0
  124. package/types/clr-angular-forms-textarea.d.ts +29 -0
  125. package/types/clr-angular-forms.d.ts +2072 -0
  126. package/types/clr-angular-icon.d.ts +1498 -0
  127. package/types/clr-angular-layout-breadcrumbs.d.ts +45 -0
  128. package/types/clr-angular-layout-main-container.d.ts +28 -0
  129. package/types/clr-angular-layout-nav.d.ts +138 -0
  130. package/types/clr-angular-layout-tabs.d.ts +158 -0
  131. package/types/clr-angular-layout-vertical-nav.d.ts +128 -0
  132. package/types/clr-angular-layout.d.ts +476 -0
  133. package/types/clr-angular-modal.d.ts +160 -0
  134. package/types/clr-angular-popover-common.d.ts +230 -0
  135. package/types/clr-angular-popover-dropdown.d.ts +122 -0
  136. package/types/clr-angular-popover-signpost.d.ts +149 -0
  137. package/types/clr-angular-popover-tooltip.d.ts +83 -0
  138. package/types/clr-angular-popover.d.ts +568 -0
  139. package/{progress/progress-bars/progress-bar.d.ts → types/clr-angular-progress-progress-bars.d.ts} +15 -3
  140. package/{progress/spinner/spinner.d.ts → types/clr-angular-progress-spinner.d.ts} +15 -3
  141. package/types/clr-angular-stepper.d.ts +179 -0
  142. package/types/clr-angular-timeline.d.ts +86 -0
  143. package/types/clr-angular-utils-conditional.d.ts +132 -0
  144. package/types/clr-angular-utils-loading.d.ts +38 -0
  145. package/types/clr-angular-utils.d.ts +1075 -0
  146. package/types/clr-angular-wizard.d.ts +1451 -0
  147. package/types/clr-angular.d.ts +10257 -0
  148. package/accordion/accordion-content.d.ts +0 -5
  149. package/accordion/accordion-description.d.ts +0 -5
  150. package/accordion/accordion-panel.d.ts +0 -45
  151. package/accordion/accordion-title.d.ts +0 -5
  152. package/accordion/accordion.d.ts +0 -20
  153. package/accordion/accordion.module.d.ts +0 -16
  154. package/accordion/chocolate/accordion-oompa-loompa.d.ts +0 -12
  155. package/accordion/chocolate/accordion-willy-wonka.d.ts +0 -6
  156. package/accordion/enums/accordion-status.enum.d.ts +0 -5
  157. package/accordion/enums/accordion-strategy.enum.d.ts +0 -4
  158. package/accordion/index.d.ts +0 -10
  159. package/accordion/models/accordion.model.d.ts +0 -27
  160. package/accordion/providers/accordion.service.d.ts +0 -17
  161. package/accordion/stepper/chocolate/stepper-oompa-loompa.d.ts +0 -12
  162. package/accordion/stepper/chocolate/stepper-willy-wonka.d.ts +0 -6
  163. package/accordion/stepper/index.d.ts +0 -4
  164. package/accordion/stepper/models/stepper.model.d.ts +0 -29
  165. package/accordion/stepper/providers/stepper.service.d.ts +0 -23
  166. package/accordion/stepper/step-button.d.ts +0 -21
  167. package/accordion/stepper/stepper-panel.d.ts +0 -28
  168. package/accordion/stepper/stepper.d.ts +0 -26
  169. package/accordion/stepper/stepper.module.d.ts +0 -14
  170. package/accordion/utils/animation.d.ts +0 -2
  171. package/button/button-group/button-group.d.ts +0 -60
  172. package/button/button-group/button-group.module.d.ts +0 -13
  173. package/button/button-group/button.d.ts +0 -40
  174. package/button/button-group/index.d.ts +0 -3
  175. package/button/button-loading/index.d.ts +0 -2
  176. package/button/button-loading/loading-button.d.ts +0 -17
  177. package/button/button-loading/loading-button.module.d.ts +0 -10
  178. package/button/button.module.d.ts +0 -9
  179. package/button/index.d.ts +0 -3
  180. package/button/providers/button-group-focus-handler.service.d.ts +0 -32
  181. package/button/providers/button-group-focus.enum.d.ts +0 -4
  182. package/button/providers/button-in-group.service.d.ts +0 -10
  183. package/clr-angular.module.d.ts +0 -25
  184. package/data/data.module.d.ts +0 -9
  185. package/data/datagrid/built-in/comparators/datagrid-property-comparator.d.ts +0 -7
  186. package/data/datagrid/built-in/filters/datagrid-numeric-filter-impl.d.ts +0 -37
  187. package/data/datagrid/built-in/filters/datagrid-numeric-filter.d.ts +0 -58
  188. package/data/datagrid/built-in/filters/datagrid-property-numeric-filter.d.ts +0 -8
  189. package/data/datagrid/built-in/filters/datagrid-property-string-filter.d.ts +0 -8
  190. package/data/datagrid/built-in/filters/datagrid-string-filter-impl.d.ts +0 -39
  191. package/data/datagrid/built-in/filters/datagrid-string-filter.d.ts +0 -60
  192. package/data/datagrid/built-in/nested-property.d.ts +0 -10
  193. package/data/datagrid/chocolate/actionable-oompa-loompa.d.ts +0 -12
  194. package/data/datagrid/chocolate/datagrid-willy-wonka.d.ts +0 -6
  195. package/data/datagrid/chocolate/expandable-oompa-loompa.d.ts +0 -12
  196. package/data/datagrid/datagrid-action-bar.d.ts +0 -5
  197. package/data/datagrid/datagrid-action-overflow.d.ts +0 -28
  198. package/data/datagrid/datagrid-cell.d.ts +0 -21
  199. package/data/datagrid/datagrid-column-separator.d.ts +0 -36
  200. package/data/datagrid/datagrid-column-toggle-button.d.ts +0 -16
  201. package/data/datagrid/datagrid-column-toggle-trackby.d.ts +0 -6
  202. package/data/datagrid/datagrid-column-toggle.d.ts +0 -30
  203. package/data/datagrid/datagrid-column.d.ts +0 -92
  204. package/data/datagrid/datagrid-detail-body.d.ts +0 -5
  205. package/data/datagrid/datagrid-detail-header.d.ts +0 -14
  206. package/data/datagrid/datagrid-detail-registerer.d.ts +0 -9
  207. package/data/datagrid/datagrid-detail.d.ts +0 -17
  208. package/data/datagrid/datagrid-filter.d.ts +0 -40
  209. package/data/datagrid/datagrid-footer.d.ts +0 -17
  210. package/data/datagrid/datagrid-hideable-column.d.ts +0 -41
  211. package/data/datagrid/datagrid-if-detail.d.ts +0 -28
  212. package/data/datagrid/datagrid-if-expanded.service.d.ts +0 -18
  213. package/data/datagrid/datagrid-items.d.ts +0 -28
  214. package/data/datagrid/datagrid-page-size.d.ts +0 -13
  215. package/data/datagrid/datagrid-pagination.d.ts +0 -73
  216. package/data/datagrid/datagrid-placeholder.d.ts +0 -12
  217. package/data/datagrid/datagrid-row-detail.d.ts +0 -34
  218. package/data/datagrid/datagrid-row.d.ts +0 -109
  219. package/data/datagrid/datagrid-selection-cell.directive.d.ts +0 -9
  220. package/data/datagrid/datagrid-single-selection.directive.d.ts +0 -21
  221. package/data/datagrid/datagrid-virtual-scroll.directive.d.ts +0 -80
  222. package/data/datagrid/datagrid.d.ts +0 -149
  223. package/data/datagrid/datagrid.module.d.ts +0 -60
  224. package/data/datagrid/enums/column-changes.enum.d.ts +0 -6
  225. package/data/datagrid/enums/display-mode.enum.d.ts +0 -4
  226. package/data/datagrid/enums/render-step.enum.d.ts +0 -7
  227. package/data/datagrid/enums/selection-type.d.ts +0 -5
  228. package/data/datagrid/enums/sort-order.enum.d.ts +0 -12
  229. package/data/datagrid/index.d.ts +0 -50
  230. package/data/datagrid/interfaces/column-state.interface.d.ts +0 -14
  231. package/data/datagrid/interfaces/comparator.interface.d.ts +0 -3
  232. package/data/datagrid/interfaces/filter.interface.d.ts +0 -8
  233. package/data/datagrid/interfaces/key-nav-grid-strategy.interface.d.ts +0 -11
  234. package/data/datagrid/interfaces/numeric-filter.interface.d.ts +0 -3
  235. package/data/datagrid/interfaces/state.interface.d.ts +0 -14
  236. package/data/datagrid/interfaces/string-filter.interface.d.ts +0 -3
  237. package/data/datagrid/interfaces/virtual-scroll-data-range.interface.d.ts +0 -5
  238. package/data/datagrid/providers/column-resizer.service.d.ts +0 -22
  239. package/data/datagrid/providers/column-state.provider.d.ts +0 -9
  240. package/data/datagrid/providers/columns.service.d.ts +0 -18
  241. package/data/datagrid/providers/custom-filter.d.ts +0 -2
  242. package/data/datagrid/providers/detail.service.d.ts +0 -28
  243. package/data/datagrid/providers/display-mode.service.d.ts +0 -14
  244. package/data/datagrid/providers/filters.d.ts +0 -44
  245. package/data/datagrid/providers/global-expandable-rows.d.ts +0 -16
  246. package/data/datagrid/providers/items.d.ts +0 -84
  247. package/data/datagrid/providers/page.d.ts +0 -62
  248. package/data/datagrid/providers/row-action-service.d.ts +0 -12
  249. package/data/datagrid/providers/selection.d.ts +0 -105
  250. package/data/datagrid/providers/sort.d.ts +0 -44
  251. package/data/datagrid/providers/state-debouncer.provider.d.ts +0 -14
  252. package/data/datagrid/providers/state.provider.d.ts +0 -24
  253. package/data/datagrid/providers/table-size.service.d.ts +0 -17
  254. package/data/datagrid/render/cell-renderer.d.ts +0 -18
  255. package/data/datagrid/render/constants.d.ts +0 -4
  256. package/data/datagrid/render/header-renderer.d.ts +0 -34
  257. package/data/datagrid/render/main-renderer.d.ts +0 -71
  258. package/data/datagrid/render/noop-dom-adapter.d.ts +0 -13
  259. package/data/datagrid/render/render-organizer.d.ts +0 -12
  260. package/data/datagrid/render/row-detail-renderer.d.ts +0 -11
  261. package/data/datagrid/render/row-renderer.d.ts +0 -17
  262. package/data/datagrid/utils/datagrid-filter-registrar.d.ts +0 -18
  263. package/data/datagrid/utils/key-navigation-grid.controller.d.ts +0 -32
  264. package/data/datagrid/utils/key-navigation-strategies/default.d.ts +0 -15
  265. package/data/datagrid/utils/key-navigation-strategies/expanded-columns-row.d.ts +0 -12
  266. package/data/datagrid/utils/key-navigation-strategies/expanded-row.d.ts +0 -12
  267. package/data/datagrid/utils/key-navigation-utils.d.ts +0 -24
  268. package/data/datagrid/wrapped-cell.d.ts +0 -10
  269. package/data/datagrid/wrapped-column.d.ts +0 -10
  270. package/data/datagrid/wrapped-row.d.ts +0 -10
  271. package/data/index.d.ts +0 -4
  272. package/data/stack-view/index.d.ts +0 -6
  273. package/data/stack-view/stack-block.d.ts +0 -37
  274. package/data/stack-view/stack-content-input.d.ts +0 -6
  275. package/data/stack-view/stack-header.d.ts +0 -8
  276. package/data/stack-view/stack-view-custom-tags.d.ts +0 -15
  277. package/data/stack-view/stack-view.d.ts +0 -5
  278. package/data/stack-view/stack-view.module.d.ts +0 -18
  279. package/data/tree-view/index.d.ts +0 -6
  280. package/data/tree-view/models/async-array.d.ts +0 -3
  281. package/data/tree-view/models/declarative-tree-node.model.d.ts +0 -9
  282. package/data/tree-view/models/recursive-tree-node.model.d.ts +0 -18
  283. package/data/tree-view/models/selected-state.enum.d.ts +0 -5
  284. package/data/tree-view/models/tree-node.model.d.ts +0 -23
  285. package/data/tree-view/recursive-children.d.ts +0 -22
  286. package/data/tree-view/recursive-for-of.d.ts +0 -22
  287. package/data/tree-view/tree-features.service.d.ts +0 -22
  288. package/data/tree-view/tree-focus-manager.service.d.ts +0 -32
  289. package/data/tree-view/tree-node-link.d.ts +0 -10
  290. package/data/tree-view/tree-node.d.ts +0 -59
  291. package/data/tree-view/tree-view.module.d.ts +0 -17
  292. package/data/tree-view/tree.d.ts +0 -22
  293. package/emphasis/alert/alert-item.d.ts +0 -8
  294. package/emphasis/alert/alert-text.d.ts +0 -9
  295. package/emphasis/alert/alert.d.ts +0 -40
  296. package/emphasis/alert/alert.module.d.ts +0 -18
  297. package/emphasis/alert/alerts-pager.d.ts +0 -31
  298. package/emphasis/alert/alerts.d.ts +0 -32
  299. package/emphasis/alert/index.d.ts +0 -6
  300. package/emphasis/alert/providers/icon-and-types.service.d.ts +0 -18
  301. package/emphasis/alert/providers/multi-alert.service.d.ts +0 -28
  302. package/emphasis/alert/utils/alert-info-object.d.ts +0 -5
  303. package/emphasis/alert/utils/alert-types.d.ts +0 -1
  304. package/emphasis/emphasis.module.d.ts +0 -7
  305. package/emphasis/index.d.ts +0 -2
  306. package/esm2020/accordion/accordion-content.mjs +0 -21
  307. package/esm2020/accordion/accordion-description.mjs +0 -22
  308. package/esm2020/accordion/accordion-panel.mjs +0 -141
  309. package/esm2020/accordion/accordion-title.mjs +0 -22
  310. package/esm2020/accordion/accordion.mjs +0 -62
  311. package/esm2020/accordion/accordion.module.mjs +0 -56
  312. package/esm2020/accordion/chocolate/accordion-oompa-loompa.mjs +0 -34
  313. package/esm2020/accordion/chocolate/accordion-willy-wonka.mjs +0 -20
  314. package/esm2020/accordion/enums/accordion-status.enum.mjs +0 -13
  315. package/esm2020/accordion/enums/accordion-strategy.enum.mjs +0 -12
  316. package/esm2020/accordion/index.mjs +0 -17
  317. package/esm2020/accordion/models/accordion.model.mjs +0 -61
  318. package/esm2020/accordion/providers/accordion.service.mjs +0 -48
  319. package/esm2020/accordion/stepper/chocolate/stepper-oompa-loompa.mjs +0 -34
  320. package/esm2020/accordion/stepper/chocolate/stepper-willy-wonka.mjs +0 -20
  321. package/esm2020/accordion/stepper/index.mjs +0 -11
  322. package/esm2020/accordion/stepper/models/stepper.model.mjs +0 -146
  323. package/esm2020/accordion/stepper/providers/stepper.service.mjs +0 -75
  324. package/esm2020/accordion/stepper/step-button.mjs +0 -62
  325. package/esm2020/accordion/stepper/stepper-panel.mjs +0 -96
  326. package/esm2020/accordion/stepper/stepper.mjs +0 -105
  327. package/esm2020/accordion/stepper/stepper.module.mjs +0 -31
  328. package/esm2020/accordion/utils/animation.mjs +0 -31
  329. package/esm2020/button/button-group/button-group.mjs +0 -164
  330. package/esm2020/button/button-group/button-group.module.mjs +0 -28
  331. package/esm2020/button/button-group/button.mjs +0 -175
  332. package/esm2020/button/button-group/index.mjs +0 -10
  333. package/esm2020/button/button-loading/index.mjs +0 -9
  334. package/esm2020/button/button-loading/loading-button.mjs +0 -164
  335. package/esm2020/button/button-loading/loading-button.module.mjs +0 -25
  336. package/esm2020/button/button.module.mjs +0 -26
  337. package/esm2020/button/index.mjs +0 -10
  338. package/esm2020/button/providers/button-group-focus-handler.service.mjs +0 -97
  339. package/esm2020/button/providers/button-group-focus.enum.mjs +0 -12
  340. package/esm2020/button/providers/button-in-group.service.mjs +0 -26
  341. package/esm2020/clr-angular.mjs +0 -5
  342. package/esm2020/clr-angular.module.mjs +0 -93
  343. package/esm2020/data/data.module.mjs +0 -23
  344. package/esm2020/data/datagrid/built-in/comparators/datagrid-property-comparator.mjs +0 -46
  345. package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter-impl.mjs +0 -93
  346. package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter.mjs +0 -259
  347. package/esm2020/data/datagrid/built-in/filters/datagrid-property-numeric-filter.mjs +0 -28
  348. package/esm2020/data/datagrid/built-in/filters/datagrid-property-string-filter.mjs +0 -27
  349. package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter-impl.mjs +0 -82
  350. package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter.mjs +0 -185
  351. package/esm2020/data/datagrid/built-in/nested-property.mjs +0 -38
  352. package/esm2020/data/datagrid/chocolate/actionable-oompa-loompa.mjs +0 -34
  353. package/esm2020/data/datagrid/chocolate/datagrid-willy-wonka.mjs +0 -20
  354. package/esm2020/data/datagrid/chocolate/expandable-oompa-loompa.mjs +0 -34
  355. package/esm2020/data/datagrid/datagrid-action-bar.mjs +0 -21
  356. package/esm2020/data/datagrid/datagrid-action-overflow.mjs +0 -166
  357. package/esm2020/data/datagrid/datagrid-cell.mjs +0 -40
  358. package/esm2020/data/datagrid/datagrid-column-separator.mjs +0 -171
  359. package/esm2020/data/datagrid/datagrid-column-toggle-button.mjs +0 -65
  360. package/esm2020/data/datagrid/datagrid-column-toggle-trackby.mjs +0 -8
  361. package/esm2020/data/datagrid/datagrid-column-toggle.mjs +0 -204
  362. package/esm2020/data/datagrid/datagrid-column.mjs +0 -420
  363. package/esm2020/data/datagrid/datagrid-detail-body.mjs +0 -31
  364. package/esm2020/data/datagrid/datagrid-detail-header.mjs +0 -67
  365. package/esm2020/data/datagrid/datagrid-detail-registerer.mjs +0 -37
  366. package/esm2020/data/datagrid/datagrid-detail.mjs +0 -98
  367. package/esm2020/data/datagrid/datagrid-filter.mjs +0 -186
  368. package/esm2020/data/datagrid/datagrid-footer.mjs +0 -78
  369. package/esm2020/data/datagrid/datagrid-hideable-column.mjs +0 -106
  370. package/esm2020/data/datagrid/datagrid-if-detail.mjs +0 -96
  371. package/esm2020/data/datagrid/datagrid-if-expanded.service.mjs +0 -55
  372. package/esm2020/data/datagrid/datagrid-items.mjs +0 -72
  373. package/esm2020/data/datagrid/datagrid-page-size.mjs +0 -63
  374. package/esm2020/data/datagrid/datagrid-pagination.mjs +0 -388
  375. package/esm2020/data/datagrid/datagrid-placeholder.mjs +0 -42
  376. package/esm2020/data/datagrid/datagrid-row-detail.mjs +0 -116
  377. package/esm2020/data/datagrid/datagrid-row.mjs +0 -372
  378. package/esm2020/data/datagrid/datagrid-selection-cell.directive.mjs +0 -37
  379. package/esm2020/data/datagrid/datagrid-single-selection.directive.mjs +0 -74
  380. package/esm2020/data/datagrid/datagrid-virtual-scroll.directive.mjs +0 -340
  381. package/esm2020/data/datagrid/datagrid.mjs +0 -556
  382. package/esm2020/data/datagrid/datagrid.module.mjs +0 -238
  383. package/esm2020/data/datagrid/enums/column-changes.enum.mjs +0 -16
  384. package/esm2020/data/datagrid/enums/display-mode.enum.mjs +0 -12
  385. package/esm2020/data/datagrid/enums/render-step.enum.mjs +0 -15
  386. package/esm2020/data/datagrid/enums/selection-type.mjs +0 -13
  387. package/esm2020/data/datagrid/enums/sort-order.enum.mjs +0 -20
  388. package/esm2020/data/datagrid/index.mjs +0 -56
  389. package/esm2020/data/datagrid/interfaces/column-state.interface.mjs +0 -8
  390. package/esm2020/data/datagrid/interfaces/comparator.interface.mjs +0 -8
  391. package/esm2020/data/datagrid/interfaces/filter.interface.mjs +0 -8
  392. package/esm2020/data/datagrid/interfaces/key-nav-grid-strategy.interface.mjs +0 -8
  393. package/esm2020/data/datagrid/interfaces/numeric-filter.interface.mjs +0 -8
  394. package/esm2020/data/datagrid/interfaces/state.interface.mjs +0 -8
  395. package/esm2020/data/datagrid/interfaces/string-filter.interface.mjs +0 -8
  396. package/esm2020/data/datagrid/interfaces/virtual-scroll-data-range.interface.mjs +0 -8
  397. package/esm2020/data/datagrid/providers/column-resizer.service.mjs +0 -58
  398. package/esm2020/data/datagrid/providers/column-state.provider.mjs +0 -19
  399. package/esm2020/data/datagrid/providers/columns.service.mjs +0 -63
  400. package/esm2020/data/datagrid/providers/custom-filter.mjs +0 -9
  401. package/esm2020/data/datagrid/providers/detail.service.mjs +0 -76
  402. package/esm2020/data/datagrid/providers/display-mode.service.mjs +0 -36
  403. package/esm2020/data/datagrid/providers/filters.mjs +0 -112
  404. package/esm2020/data/datagrid/providers/global-expandable-rows.mjs +0 -34
  405. package/esm2020/data/datagrid/providers/items.mjs +0 -177
  406. package/esm2020/data/datagrid/providers/page.mjs +0 -156
  407. package/esm2020/data/datagrid/providers/row-action-service.mjs +0 -31
  408. package/esm2020/data/datagrid/providers/selection.mjs +0 -365
  409. package/esm2020/data/datagrid/providers/sort.mjs +0 -86
  410. package/esm2020/data/datagrid/providers/state-debouncer.provider.mjs +0 -43
  411. package/esm2020/data/datagrid/providers/state.provider.mjs +0 -75
  412. package/esm2020/data/datagrid/providers/table-size.service.mjs +0 -45
  413. package/esm2020/data/datagrid/render/cell-renderer.mjs +0 -59
  414. package/esm2020/data/datagrid/render/constants.mjs +0 -13
  415. package/esm2020/data/datagrid/render/header-renderer.mjs +0 -117
  416. package/esm2020/data/datagrid/render/main-renderer.mjs +0 -285
  417. package/esm2020/data/datagrid/render/noop-dom-adapter.mjs +0 -48
  418. package/esm2020/data/datagrid/render/render-organizer.mjs +0 -39
  419. package/esm2020/data/datagrid/render/row-detail-renderer.mjs +0 -31
  420. package/esm2020/data/datagrid/render/row-renderer.mjs +0 -62
  421. package/esm2020/data/datagrid/utils/datagrid-filter-registrar.mjs +0 -43
  422. package/esm2020/data/datagrid/utils/key-navigation-grid.controller.mjs +0 -155
  423. package/esm2020/data/datagrid/utils/key-navigation-strategies/default.mjs +0 -132
  424. package/esm2020/data/datagrid/utils/key-navigation-strategies/expanded-columns-row.mjs +0 -129
  425. package/esm2020/data/datagrid/utils/key-navigation-strategies/expanded-row.mjs +0 -165
  426. package/esm2020/data/datagrid/utils/key-navigation-utils.mjs +0 -121
  427. package/esm2020/data/datagrid/wrapped-cell.mjs +0 -37
  428. package/esm2020/data/datagrid/wrapped-column.mjs +0 -38
  429. package/esm2020/data/datagrid/wrapped-row.mjs +0 -38
  430. package/esm2020/data/index.mjs +0 -11
  431. package/esm2020/data/stack-view/index.mjs +0 -13
  432. package/esm2020/data/stack-view/stack-block.mjs +0 -236
  433. package/esm2020/data/stack-view/stack-content-input.mjs +0 -27
  434. package/esm2020/data/stack-view/stack-header.mjs +0 -37
  435. package/esm2020/data/stack-view/stack-view-custom-tags.mjs +0 -57
  436. package/esm2020/data/stack-view/stack-view.mjs +0 -23
  437. package/esm2020/data/stack-view/stack-view.module.mjs +0 -53
  438. package/esm2020/data/tree-view/index.mjs +0 -13
  439. package/esm2020/data/tree-view/models/async-array.mjs +0 -11
  440. package/esm2020/data/tree-view/models/declarative-tree-node.model.mjs +0 -37
  441. package/esm2020/data/tree-view/models/recursive-tree-node.model.mjs +0 -77
  442. package/esm2020/data/tree-view/models/selected-state.enum.mjs +0 -17
  443. package/esm2020/data/tree-view/models/tree-node.model.mjs +0 -116
  444. package/esm2020/data/tree-view/recursive-children.mjs +0 -88
  445. package/esm2020/data/tree-view/recursive-for-of.mjs +0 -57
  446. package/esm2020/data/tree-view/tree-features.service.mjs +0 -38
  447. package/esm2020/data/tree-view/tree-focus-manager.service.mjs +0 -190
  448. package/esm2020/data/tree-view/tree-node-link.mjs +0 -30
  449. package/esm2020/data/tree-view/tree-node.mjs +0 -348
  450. package/esm2020/data/tree-view/tree-view.module.mjs +0 -35
  451. package/esm2020/data/tree-view/tree.mjs +0 -102
  452. package/esm2020/emphasis/alert/alert-item.mjs +0 -52
  453. package/esm2020/emphasis/alert/alert-text.mjs +0 -23
  454. package/esm2020/emphasis/alert/alert.mjs +0 -142
  455. package/esm2020/emphasis/alert/alert.module.mjs +0 -36
  456. package/esm2020/emphasis/alert/alerts-pager.mjs +0 -87
  457. package/esm2020/emphasis/alert/alerts.mjs +0 -102
  458. package/esm2020/emphasis/alert/index.mjs +0 -13
  459. package/esm2020/emphasis/alert/providers/icon-and-types.service.mjs +0 -90
  460. package/esm2020/emphasis/alert/providers/multi-alert.service.mjs +0 -97
  461. package/esm2020/emphasis/alert/utils/alert-info-object.mjs +0 -8
  462. package/esm2020/emphasis/alert/utils/alert-types.mjs +0 -9
  463. package/esm2020/emphasis/emphasis.module.mjs +0 -21
  464. package/esm2020/emphasis/index.mjs +0 -9
  465. package/esm2020/forms/checkbox/checkbox-container.mjs +0 -136
  466. package/esm2020/forms/checkbox/checkbox-wrapper.mjs +0 -70
  467. package/esm2020/forms/checkbox/checkbox.mjs +0 -53
  468. package/esm2020/forms/checkbox/checkbox.module.mjs +0 -33
  469. package/esm2020/forms/checkbox/index.mjs +0 -11
  470. package/esm2020/forms/combobox/combobox-container.mjs +0 -106
  471. package/esm2020/forms/combobox/combobox.mjs +0 -360
  472. package/esm2020/forms/combobox/combobox.module.mjs +0 -97
  473. package/esm2020/forms/combobox/index.mjs +0 -15
  474. package/esm2020/forms/combobox/model/combobox.model.mjs +0 -9
  475. package/esm2020/forms/combobox/model/multi-select-combobox.model.mjs +0 -82
  476. package/esm2020/forms/combobox/model/pseudo-focus.model.mjs +0 -24
  477. package/esm2020/forms/combobox/model/single-select-combobox.model.mjs +0 -39
  478. package/esm2020/forms/combobox/option-group.mjs +0 -42
  479. package/esm2020/forms/combobox/option-items.directive.mjs +0 -110
  480. package/esm2020/forms/combobox/option-selected.directive.mjs +0 -25
  481. package/esm2020/forms/combobox/option.mjs +0 -103
  482. package/esm2020/forms/combobox/options.mjs +0 -156
  483. package/esm2020/forms/combobox/providers/combobox-container.service.mjs +0 -19
  484. package/esm2020/forms/combobox/providers/combobox-focus-handler.service.mjs +0 -222
  485. package/esm2020/forms/combobox/providers/option-selection.service.mjs +0 -85
  486. package/esm2020/forms/common/abstract-container.mjs +0 -135
  487. package/esm2020/forms/common/abstract-control.mjs +0 -51
  488. package/esm2020/forms/common/common.module.mjs +0 -78
  489. package/esm2020/forms/common/control-container.mjs +0 -84
  490. package/esm2020/forms/common/control.mjs +0 -31
  491. package/esm2020/forms/common/error.mjs +0 -38
  492. package/esm2020/forms/common/form.mjs +0 -54
  493. package/esm2020/forms/common/helper.mjs +0 -37
  494. package/esm2020/forms/common/if-control-state/abstract-if-state.mjs +0 -46
  495. package/esm2020/forms/common/if-control-state/if-control-state.service.mjs +0 -57
  496. package/esm2020/forms/common/if-control-state/if-error.mjs +0 -75
  497. package/esm2020/forms/common/if-control-state/if-success.mjs +0 -48
  498. package/esm2020/forms/common/index.mjs +0 -21
  499. package/esm2020/forms/common/label.mjs +0 -102
  500. package/esm2020/forms/common/layout.mjs +0 -32
  501. package/esm2020/forms/common/providers/container-id.service.mjs +0 -39
  502. package/esm2020/forms/common/providers/control-class.service.mjs +0 -53
  503. package/esm2020/forms/common/providers/control-id.service.mjs +0 -32
  504. package/esm2020/forms/common/providers/focus.service.mjs +0 -26
  505. package/esm2020/forms/common/providers/layout.service.mjs +0 -58
  506. package/esm2020/forms/common/providers/mark-control.service.mjs +0 -26
  507. package/esm2020/forms/common/providers/ng-control.service.mjs +0 -53
  508. package/esm2020/forms/common/success.mjs +0 -38
  509. package/esm2020/forms/common/wrapped-control.mjs +0 -191
  510. package/esm2020/forms/datalist/datalist-container.mjs +0 -121
  511. package/esm2020/forms/datalist/datalist-input.mjs +0 -63
  512. package/esm2020/forms/datalist/datalist.mjs +0 -49
  513. package/esm2020/forms/datalist/datalist.module.mjs +0 -32
  514. package/esm2020/forms/datalist/index.mjs +0 -11
  515. package/esm2020/forms/datalist/providers/datalist-id.service.mjs +0 -32
  516. package/esm2020/forms/datepicker/calendar.mjs +0 -175
  517. package/esm2020/forms/datepicker/date-container.mjs +0 -365
  518. package/esm2020/forms/datepicker/date-end-input.mjs +0 -60
  519. package/esm2020/forms/datepicker/date-input.mjs +0 -294
  520. package/esm2020/forms/datepicker/date-input.validator.mjs +0 -100
  521. package/esm2020/forms/datepicker/date-single-input.mjs +0 -63
  522. package/esm2020/forms/datepicker/date-start-input.mjs +0 -61
  523. package/esm2020/forms/datepicker/datepicker-action-buttons.mjs +0 -59
  524. package/esm2020/forms/datepicker/datepicker-view-manager.mjs +0 -74
  525. package/esm2020/forms/datepicker/datepicker.module.mjs +0 -111
  526. package/esm2020/forms/datepicker/day.mjs +0 -145
  527. package/esm2020/forms/datepicker/daypicker.mjs +0 -81
  528. package/esm2020/forms/datepicker/index.mjs +0 -21
  529. package/esm2020/forms/datepicker/interfaces/date-range.interface.mjs +0 -8
  530. package/esm2020/forms/datepicker/interfaces/day-of-week.interface.mjs +0 -8
  531. package/esm2020/forms/datepicker/model/calendar-view.model.mjs +0 -182
  532. package/esm2020/forms/datepicker/model/calendar.model.mjs +0 -79
  533. package/esm2020/forms/datepicker/model/day-view.model.mjs +0 -25
  534. package/esm2020/forms/datepicker/model/day.model.mjs +0 -72
  535. package/esm2020/forms/datepicker/model/year-range.model.mjs +0 -61
  536. package/esm2020/forms/datepicker/monthpicker.mjs +0 -325
  537. package/esm2020/forms/datepicker/providers/date-form-control.service.mjs +0 -37
  538. package/esm2020/forms/datepicker/providers/date-io.service.mjs +0 -195
  539. package/esm2020/forms/datepicker/providers/date-navigation.service.mjs +0 -195
  540. package/esm2020/forms/datepicker/providers/datepicker-enabled.service.mjs +0 -47
  541. package/esm2020/forms/datepicker/providers/datepicker-focus.service.mjs +0 -48
  542. package/esm2020/forms/datepicker/providers/locale-helper.service.mjs +0 -102
  543. package/esm2020/forms/datepicker/providers/view-manager.service.mjs +0 -42
  544. package/esm2020/forms/datepicker/utils/constants.mjs +0 -38
  545. package/esm2020/forms/datepicker/utils/date-utils.mjs +0 -50
  546. package/esm2020/forms/datepicker/yearpicker.mjs +0 -304
  547. package/esm2020/forms/file-input/file-input-container.mjs +0 -245
  548. package/esm2020/forms/file-input/file-input-validator-errors.mjs +0 -8
  549. package/esm2020/forms/file-input/file-input-validator.mjs +0 -101
  550. package/esm2020/forms/file-input/file-input-value-accessor.mjs +0 -53
  551. package/esm2020/forms/file-input/file-input.helpers.mjs +0 -22
  552. package/esm2020/forms/file-input/file-input.mjs +0 -77
  553. package/esm2020/forms/file-input/file-input.module.mjs +0 -74
  554. package/esm2020/forms/file-input/file-list.mjs +0 -160
  555. package/esm2020/forms/file-input/file-messages-template.mjs +0 -26
  556. package/esm2020/forms/file-input/file-messages.mjs +0 -61
  557. package/esm2020/forms/file-input/index.mjs +0 -16
  558. package/esm2020/forms/forms.module.mjs +0 -73
  559. package/esm2020/forms/index.mjs +0 -21
  560. package/esm2020/forms/input/index.mjs +0 -10
  561. package/esm2020/forms/input/input-container.mjs +0 -92
  562. package/esm2020/forms/input/input.mjs +0 -40
  563. package/esm2020/forms/input/input.module.mjs +0 -33
  564. package/esm2020/forms/number-input/index.mjs +0 -10
  565. package/esm2020/forms/number-input/number-input-container.mjs +0 -148
  566. package/esm2020/forms/number-input/number-input.mjs +0 -79
  567. package/esm2020/forms/number-input/number-input.module.mjs +0 -32
  568. package/esm2020/forms/password/index.mjs +0 -10
  569. package/esm2020/forms/password/password-container.mjs +0 -180
  570. package/esm2020/forms/password/password.mjs +0 -64
  571. package/esm2020/forms/password/password.module.mjs +0 -32
  572. package/esm2020/forms/radio/index.mjs +0 -11
  573. package/esm2020/forms/radio/radio-container.mjs +0 -150
  574. package/esm2020/forms/radio/radio-wrapper.mjs +0 -44
  575. package/esm2020/forms/radio/radio.mjs +0 -29
  576. package/esm2020/forms/radio/radio.module.mjs +0 -33
  577. package/esm2020/forms/range/index.mjs +0 -10
  578. package/esm2020/forms/range/range-container.mjs +0 -137
  579. package/esm2020/forms/range/range.mjs +0 -30
  580. package/esm2020/forms/range/range.module.mjs +0 -32
  581. package/esm2020/forms/select/index.mjs +0 -10
  582. package/esm2020/forms/select/select-container.mjs +0 -114
  583. package/esm2020/forms/select/select.mjs +0 -31
  584. package/esm2020/forms/select/select.module.mjs +0 -32
  585. package/esm2020/forms/textarea/index.mjs +0 -10
  586. package/esm2020/forms/textarea/textarea-container.mjs +0 -84
  587. package/esm2020/forms/textarea/textarea.mjs +0 -31
  588. package/esm2020/forms/textarea/textarea.module.mjs +0 -32
  589. package/esm2020/icon/icon.mjs +0 -29
  590. package/esm2020/icon/icon.module.mjs +0 -25
  591. package/esm2020/icon/index.mjs +0 -9
  592. package/esm2020/index.mjs +0 -23
  593. package/esm2020/layout/breadcrumbs/breadcrumb-item.mjs +0 -24
  594. package/esm2020/layout/breadcrumbs/breadcrumbs.constants.mjs +0 -8
  595. package/esm2020/layout/breadcrumbs/breadcrumbs.mjs +0 -46
  596. package/esm2020/layout/breadcrumbs/breadcrumbs.module.mjs +0 -28
  597. package/esm2020/layout/breadcrumbs/index.mjs +0 -11
  598. package/esm2020/layout/breadcrumbs/model/breadcrumbs.model.mjs +0 -8
  599. package/esm2020/layout/index.mjs +0 -13
  600. package/esm2020/layout/layout.module.mjs +0 -25
  601. package/esm2020/layout/main-container/index.mjs +0 -9
  602. package/esm2020/layout/main-container/main-container.mjs +0 -62
  603. package/esm2020/layout/main-container/main-container.module.mjs +0 -26
  604. package/esm2020/layout/nav/aria-current-link.mjs +0 -32
  605. package/esm2020/layout/nav/chocolate/index.mjs +0 -9
  606. package/esm2020/layout/nav/chocolate/main-container-willy-wonka.mjs +0 -20
  607. package/esm2020/layout/nav/chocolate/nav-detection-oompa-loompa.mjs +0 -36
  608. package/esm2020/layout/nav/header.mjs +0 -154
  609. package/esm2020/layout/nav/index.mjs +0 -12
  610. package/esm2020/layout/nav/nav-level.mjs +0 -197
  611. package/esm2020/layout/nav/navigation.module.mjs +0 -45
  612. package/esm2020/layout/nav/providers/responsive-navigation.service.mjs +0 -61
  613. package/esm2020/layout/nav/responsive-nav-codes.mjs +0 -21
  614. package/esm2020/layout/nav/responsive-nav-control-message.mjs +0 -19
  615. package/esm2020/layout/tabs/chocolate/active-oompa-loompa.mjs +0 -39
  616. package/esm2020/layout/tabs/chocolate/tabs-willy-wonka.mjs +0 -20
  617. package/esm2020/layout/tabs/enums/tabs-layout.enum.mjs +0 -12
  618. package/esm2020/layout/tabs/index.mjs +0 -17
  619. package/esm2020/layout/tabs/providers/tabs.service.mjs +0 -46
  620. package/esm2020/layout/tabs/tab-action.directive.mjs +0 -22
  621. package/esm2020/layout/tabs/tab-content.mjs +0 -87
  622. package/esm2020/layout/tabs/tab-link.directive.mjs +0 -105
  623. package/esm2020/layout/tabs/tab-overflow-content.mjs +0 -23
  624. package/esm2020/layout/tabs/tab.mjs +0 -47
  625. package/esm2020/layout/tabs/tabs-actions.mjs +0 -39
  626. package/esm2020/layout/tabs/tabs-id.provider.mjs +0 -17
  627. package/esm2020/layout/tabs/tabs.mjs +0 -327
  628. package/esm2020/layout/tabs/tabs.module.mjs +0 -67
  629. package/esm2020/layout/vertical-nav/index.mjs +0 -13
  630. package/esm2020/layout/vertical-nav/providers/vertical-nav-group-registration.service.mjs +0 -25
  631. package/esm2020/layout/vertical-nav/providers/vertical-nav-group.service.mjs +0 -26
  632. package/esm2020/layout/vertical-nav/providers/vertical-nav-icon.service.mjs +0 -28
  633. package/esm2020/layout/vertical-nav/providers/vertical-nav.service.mjs +0 -55
  634. package/esm2020/layout/vertical-nav/vertical-nav-group-children.mjs +0 -20
  635. package/esm2020/layout/vertical-nav/vertical-nav-group.mjs +0 -162
  636. package/esm2020/layout/vertical-nav/vertical-nav-icon.mjs +0 -28
  637. package/esm2020/layout/vertical-nav/vertical-nav-link.mjs +0 -57
  638. package/esm2020/layout/vertical-nav/vertical-nav.mjs +0 -85
  639. package/esm2020/layout/vertical-nav/vertical-nav.module.mjs +0 -50
  640. package/esm2020/modal/index.mjs +0 -14
  641. package/esm2020/modal/modal-body.mjs +0 -65
  642. package/esm2020/modal/modal-configuration.service.mjs +0 -21
  643. package/esm2020/modal/modal-host.component.mjs +0 -29
  644. package/esm2020/modal/modal-stack.service.mjs +0 -53
  645. package/esm2020/modal/modal.mjs +0 -185
  646. package/esm2020/modal/modal.module.mjs +0 -33
  647. package/esm2020/modal/side-panel.mjs +0 -227
  648. package/esm2020/modal/side-panel.module.mjs +0 -28
  649. package/esm2020/popover/common/abstract-popover.mjs +0 -138
  650. package/esm2020/popover/common/popover-host-anchor.token.mjs +0 -9
  651. package/esm2020/popover/common/popover-options.interface.mjs +0 -8
  652. package/esm2020/popover/common/popover.mjs +0 -267
  653. package/esm2020/popover/dropdown/dropdown-item.mjs +0 -105
  654. package/esm2020/popover/dropdown/dropdown-menu.mjs +0 -115
  655. package/esm2020/popover/dropdown/dropdown-trigger.mjs +0 -51
  656. package/esm2020/popover/dropdown/dropdown.mjs +0 -53
  657. package/esm2020/popover/dropdown/dropdown.module.mjs +0 -30
  658. package/esm2020/popover/dropdown/index.mjs +0 -13
  659. package/esm2020/popover/dropdown/menu-positions.mjs +0 -17
  660. package/esm2020/popover/dropdown/providers/dropdown-focus-handler.service.mjs +0 -186
  661. package/esm2020/popover/dropdown/providers/dropdown.service.mjs +0 -34
  662. package/esm2020/popover/index.mjs +0 -11
  663. package/esm2020/popover/popover.module.mjs +0 -23
  664. package/esm2020/popover/signpost/index.mjs +0 -12
  665. package/esm2020/popover/signpost/providers/signpost-focus-manager.service.mjs +0 -24
  666. package/esm2020/popover/signpost/providers/signpost-id.service.mjs +0 -26
  667. package/esm2020/popover/signpost/signpost-content.mjs +0 -179
  668. package/esm2020/popover/signpost/signpost-positions.mjs +0 -23
  669. package/esm2020/popover/signpost/signpost-title.mjs +0 -21
  670. package/esm2020/popover/signpost/signpost-trigger.mjs +0 -90
  671. package/esm2020/popover/signpost/signpost.mjs +0 -94
  672. package/esm2020/popover/signpost/signpost.module.mjs +0 -46
  673. package/esm2020/popover/tooltip/index.mjs +0 -11
  674. package/esm2020/popover/tooltip/providers/tooltip-id.service.mjs +0 -26
  675. package/esm2020/popover/tooltip/providers/tooltip-mouse.service.mjs +0 -44
  676. package/esm2020/popover/tooltip/tooltip-content.mjs +0 -135
  677. package/esm2020/popover/tooltip/tooltip-trigger.mjs +0 -62
  678. package/esm2020/popover/tooltip/tooltip.mjs +0 -29
  679. package/esm2020/popover/tooltip/tooltip.module.mjs +0 -29
  680. package/esm2020/progress/progress-bars/index.mjs +0 -9
  681. package/esm2020/progress/progress-bars/progress-bar.mjs +0 -177
  682. package/esm2020/progress/progress-bars/progress-bar.module.mjs +0 -25
  683. package/esm2020/progress/spinner/index.mjs +0 -9
  684. package/esm2020/progress/spinner/spinner.mjs +0 -95
  685. package/esm2020/progress/spinner/spinner.module.mjs +0 -25
  686. package/esm2020/timeline/enums/timeline-layout.enum.mjs +0 -12
  687. package/esm2020/timeline/enums/timeline-step-state.enum.mjs +0 -15
  688. package/esm2020/timeline/index.mjs +0 -15
  689. package/esm2020/timeline/interface/icon-attribute.interface.mjs +0 -8
  690. package/esm2020/timeline/providers/timeline-icon-attribute.service.mjs +0 -55
  691. package/esm2020/timeline/timeline-step-description.mjs +0 -21
  692. package/esm2020/timeline/timeline-step-header.mjs +0 -21
  693. package/esm2020/timeline/timeline-step-title.mjs +0 -31
  694. package/esm2020/timeline/timeline-step.mjs +0 -97
  695. package/esm2020/timeline/timeline.mjs +0 -36
  696. package/esm2020/timeline/timeline.module.mjs +0 -49
  697. package/esm2020/utils/animations/collapse/collapse.mjs +0 -17
  698. package/esm2020/utils/animations/collapse/index.mjs +0 -8
  699. package/esm2020/utils/animations/constants.mjs +0 -14
  700. package/esm2020/utils/animations/expandable-animation/base-expandable-animation.mjs +0 -46
  701. package/esm2020/utils/animations/expandable-animation/expandable-animation.directive.mjs +0 -56
  702. package/esm2020/utils/animations/expandable-animation/expandable-animation.mjs +0 -49
  703. package/esm2020/utils/animations/expandable-animation/expandable-animation.module.mjs +0 -26
  704. package/esm2020/utils/animations/expandable-animation/index.mjs +0 -12
  705. package/esm2020/utils/animations/fade/fade.mjs +0 -15
  706. package/esm2020/utils/animations/fade/index.mjs +0 -8
  707. package/esm2020/utils/animations/fade-slide/fade-slide.mjs +0 -31
  708. package/esm2020/utils/animations/fade-slide/index.mjs +0 -8
  709. package/esm2020/utils/animations/index.mjs +0 -12
  710. package/esm2020/utils/animations/slide/index.mjs +0 -8
  711. package/esm2020/utils/animations/slide/slide.mjs +0 -31
  712. package/esm2020/utils/assert/assert.helpers.mjs +0 -10
  713. package/esm2020/utils/breakpoints/breakpoints.mjs +0 -24
  714. package/esm2020/utils/cdk/cdk-drag.module.mjs +0 -58
  715. package/esm2020/utils/cdk/cdk-trap-focus.module.mjs +0 -53
  716. package/esm2020/utils/chocolate/oompa-loompa.mjs +0 -33
  717. package/esm2020/utils/chocolate/willy-wonka.mjs +0 -37
  718. package/esm2020/utils/component/is-boolean-attribute-set.mjs +0 -19
  719. package/esm2020/utils/conditional/conditional.module.mjs +0 -27
  720. package/esm2020/utils/conditional/if-active.directive.mjs +0 -98
  721. package/esm2020/utils/conditional/if-active.service.mjs +0 -71
  722. package/esm2020/utils/conditional/if-expanded.directive.mjs +0 -96
  723. package/esm2020/utils/conditional/if-expanded.service.mjs +0 -60
  724. package/esm2020/utils/conditional/if-open.directive.mjs +0 -81
  725. package/esm2020/utils/conditional/index.mjs +0 -11
  726. package/esm2020/utils/destroy/destroy.service.mjs +0 -45
  727. package/esm2020/utils/destroy/index.mjs +0 -8
  728. package/esm2020/utils/dom-adapter/dom-adapter.mjs +0 -62
  729. package/esm2020/utils/enums/keys.enum.mjs +0 -33
  730. package/esm2020/utils/focus/arrow-key-direction.enum.mjs +0 -14
  731. package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.mjs +0 -90
  732. package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.module.mjs +0 -27
  733. package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.provider.mjs +0 -15
  734. package/esm2020/utils/focus/focus-on-view-init/index.mjs +0 -10
  735. package/esm2020/utils/focus/focus-trap/index.mjs +0 -8
  736. package/esm2020/utils/focus/focus-trap/standalone-cdk-trap-focus.directive.mjs +0 -35
  737. package/esm2020/utils/focus/focus.service.mjs +0 -95
  738. package/esm2020/utils/focus/focusable-item/basic-focusable-item.service.mjs +0 -55
  739. package/esm2020/utils/focus/focusable-item/custom-focusable-item-provider.mjs +0 -17
  740. package/esm2020/utils/focus/focusable-item/focusable-item.mjs +0 -9
  741. package/esm2020/utils/focus/focusable-item/linkers.mjs +0 -35
  742. package/esm2020/utils/focus/key-focus/enums/focus-direction.enum.mjs +0 -13
  743. package/esm2020/utils/focus/key-focus/index.mjs +0 -9
  744. package/esm2020/utils/focus/key-focus/interfaces.mjs +0 -8
  745. package/esm2020/utils/focus/key-focus/key-focus-item.mjs +0 -35
  746. package/esm2020/utils/focus/key-focus/key-focus.mjs +0 -199
  747. package/esm2020/utils/focus/key-focus/key-focus.module.mjs +0 -27
  748. package/esm2020/utils/focus/key-focus/roving-tabindex.mjs +0 -103
  749. package/esm2020/utils/focus/key-focus/util.mjs +0 -45
  750. package/esm2020/utils/focus/wrap-observable.mjs +0 -20
  751. package/esm2020/utils/forms/validation.mjs +0 -21
  752. package/esm2020/utils/host-wrapping/empty-anchor.mjs +0 -19
  753. package/esm2020/utils/host-wrapping/host-wrapper.mjs +0 -42
  754. package/esm2020/utils/host-wrapping/host-wrapping.module.mjs +0 -25
  755. package/esm2020/utils/i18n/common-strings.default.mjs +0 -137
  756. package/esm2020/utils/i18n/common-strings.interface.mjs +0 -8
  757. package/esm2020/utils/i18n/common-strings.service.mjs +0 -48
  758. package/esm2020/utils/i18n/index.mjs +0 -10
  759. package/esm2020/utils/id-generator/id-generator.service.mjs +0 -11
  760. package/esm2020/utils/index.mjs +0 -15
  761. package/esm2020/utils/loading/index.mjs +0 -10
  762. package/esm2020/utils/loading/loading-listener.mjs +0 -13
  763. package/esm2020/utils/loading/loading.mjs +0 -58
  764. package/esm2020/utils/loading/loading.module.mjs +0 -25
  765. package/esm2020/utils/outside-click/index.mjs +0 -10
  766. package/esm2020/utils/outside-click/outside-click.mjs +0 -49
  767. package/esm2020/utils/outside-click/outside-click.module.mjs +0 -25
  768. package/esm2020/utils/popover/enums/alignment.enum.mjs +0 -13
  769. package/esm2020/utils/popover/enums/axis.enum.mjs +0 -12
  770. package/esm2020/utils/popover/enums/positions.enum.mjs +0 -60
  771. package/esm2020/utils/popover/enums/side.enum.mjs +0 -12
  772. package/esm2020/utils/popover/enums/viewport-violation.enum.mjs +0 -14
  773. package/esm2020/utils/popover/index.mjs +0 -21
  774. package/esm2020/utils/popover/interfaces/popover-content-offset.interface.mjs +0 -8
  775. package/esm2020/utils/popover/interfaces/popover-position.interface.mjs +0 -8
  776. package/esm2020/utils/popover/interfaces/visibility-coords.interface.mjs +0 -8
  777. package/esm2020/utils/popover/popover-anchor.mjs +0 -26
  778. package/esm2020/utils/popover/popover-close-button.mjs +0 -52
  779. package/esm2020/utils/popover/popover-content.mjs +0 -161
  780. package/esm2020/utils/popover/popover-host.directive.mjs +0 -37
  781. package/esm2020/utils/popover/popover-open-close-button.mjs +0 -43
  782. package/esm2020/utils/popover/popover.module.mjs +0 -26
  783. package/esm2020/utils/popover/position-operators.mjs +0 -180
  784. package/esm2020/utils/popover/providers/popover-events.service.mjs +0 -142
  785. package/esm2020/utils/popover/providers/popover-position.service.mjs +0 -230
  786. package/esm2020/utils/popover/providers/popover-toggle.service.mjs +0 -75
  787. package/esm2020/utils/popover/stop-escape-propagation.directive.mjs +0 -43
  788. package/esm2020/utils/scrolling/scrolling-service.mjs +0 -31
  789. package/esm2020/utils/template-ref/index.mjs +0 -10
  790. package/esm2020/utils/template-ref/template-ref-container.mjs +0 -30
  791. package/esm2020/utils/template-ref/template-ref.module.mjs +0 -25
  792. package/esm2020/wizard/heading-level.mjs +0 -8
  793. package/esm2020/wizard/index.mjs +0 -20
  794. package/esm2020/wizard/providers/button-hub.service.mjs +0 -64
  795. package/esm2020/wizard/providers/header-actions.service.mjs +0 -36
  796. package/esm2020/wizard/providers/page-collection.service.mjs +0 -360
  797. package/esm2020/wizard/providers/wizard-navigation.service.mjs +0 -575
  798. package/esm2020/wizard/wizard-button.mjs +0 -188
  799. package/esm2020/wizard/wizard-header-action.mjs +0 -77
  800. package/esm2020/wizard/wizard-page-buttons.mjs +0 -22
  801. package/esm2020/wizard/wizard-page-header-actions.mjs +0 -22
  802. package/esm2020/wizard/wizard-page-navtitle.mjs +0 -22
  803. package/esm2020/wizard/wizard-page-title.mjs +0 -25
  804. package/esm2020/wizard/wizard-page.mjs +0 -652
  805. package/esm2020/wizard/wizard-stepnav-item.mjs +0 -204
  806. package/esm2020/wizard/wizard-stepnav.mjs +0 -55
  807. package/esm2020/wizard/wizard-title.mjs +0 -22
  808. package/esm2020/wizard/wizard.mjs +0 -525
  809. package/esm2020/wizard/wizard.module.mjs +0 -73
  810. package/fesm2015/clr-angular.mjs +0 -31527
  811. package/fesm2015/clr-angular.mjs.map +0 -1
  812. package/fesm2020/clr-angular.mjs +0 -31343
  813. package/fesm2020/clr-angular.mjs.map +0 -1
  814. package/forms/checkbox/checkbox-container.d.ts +0 -25
  815. package/forms/checkbox/checkbox-wrapper.d.ts +0 -22
  816. package/forms/checkbox/checkbox.d.ts +0 -20
  817. package/forms/checkbox/checkbox.module.d.ts +0 -14
  818. package/forms/checkbox/index.d.ts +0 -4
  819. package/forms/combobox/combobox-container.d.ts +0 -18
  820. package/forms/combobox/combobox.d.ts +0 -87
  821. package/forms/combobox/combobox.module.d.ts +0 -22
  822. package/forms/combobox/index.d.ts +0 -8
  823. package/forms/combobox/model/combobox.model.d.ts +0 -9
  824. package/forms/combobox/model/multi-select-combobox.model.d.ts +0 -12
  825. package/forms/combobox/model/pseudo-focus.model.d.ts +0 -7
  826. package/forms/combobox/model/single-select-combobox.model.d.ts +0 -10
  827. package/forms/combobox/option-group.d.ts +0 -9
  828. package/forms/combobox/option-items.directive.d.ts +0 -28
  829. package/forms/combobox/option-selected.directive.d.ts +0 -13
  830. package/forms/combobox/option.d.ts +0 -25
  831. package/forms/combobox/options.d.ts +0 -36
  832. package/forms/combobox/providers/combobox-container.service.d.ts +0 -7
  833. package/forms/combobox/providers/combobox-focus-handler.service.d.ts +0 -48
  834. package/forms/combobox/providers/option-selection.service.d.ts +0 -24
  835. package/forms/common/abstract-container.d.ts +0 -47
  836. package/forms/common/abstract-control.d.ts +0 -18
  837. package/forms/common/common.module.d.ts +0 -19
  838. package/forms/common/control-container.d.ts +0 -6
  839. package/forms/common/control.d.ts +0 -11
  840. package/forms/common/error.d.ts +0 -12
  841. package/forms/common/form.d.ts +0 -16
  842. package/forms/common/helper.d.ts +0 -12
  843. package/forms/common/if-control-state/abstract-if-state.d.ts +0 -18
  844. package/forms/common/if-control-state/if-control-state.service.d.ts +0 -17
  845. package/forms/common/if-control-state/if-error.d.ts +0 -19
  846. package/forms/common/if-control-state/if-success.d.ts +0 -16
  847. package/forms/common/index.d.ts +0 -14
  848. package/forms/common/label.d.ts +0 -32
  849. package/forms/common/layout.d.ts +0 -11
  850. package/forms/common/providers/container-id.service.d.ts +0 -18
  851. package/forms/common/providers/control-class.service.d.ts +0 -13
  852. package/forms/common/providers/control-id.service.d.ts +0 -11
  853. package/forms/common/providers/focus.service.d.ts +0 -9
  854. package/forms/common/providers/layout.service.d.ts +0 -23
  855. package/forms/common/providers/mark-control.service.d.ts +0 -9
  856. package/forms/common/providers/ng-control.service.d.ts +0 -27
  857. package/forms/common/success.d.ts +0 -12
  858. package/forms/common/wrapped-control.d.ts +0 -46
  859. package/forms/datalist/datalist-container.d.ts +0 -14
  860. package/forms/datalist/datalist-input.d.ts +0 -18
  861. package/forms/datalist/datalist.d.ts +0 -14
  862. package/forms/datalist/datalist.module.d.ts +0 -13
  863. package/forms/datalist/index.d.ts +0 -4
  864. package/forms/datalist/providers/datalist-id.service.d.ts +0 -11
  865. package/forms/datepicker/calendar.d.ts +0 -65
  866. package/forms/datepicker/date-container.d.ts +0 -72
  867. package/forms/datepicker/date-end-input.d.ts +0 -15
  868. package/forms/datepicker/date-input.d.ts +0 -67
  869. package/forms/datepicker/date-input.validator.d.ts +0 -27
  870. package/forms/datepicker/date-single-input.d.ts +0 -15
  871. package/forms/datepicker/date-start-input.d.ts +0 -15
  872. package/forms/datepicker/datepicker-action-buttons.d.ts +0 -16
  873. package/forms/datepicker/datepicker-view-manager.d.ts +0 -30
  874. package/forms/datepicker/datepicker.module.d.ts +0 -29
  875. package/forms/datepicker/day.d.ts +0 -40
  876. package/forms/datepicker/daypicker.d.ts +0 -44
  877. package/forms/datepicker/index.d.ts +0 -14
  878. package/forms/datepicker/interfaces/date-range.interface.d.ts +0 -13
  879. package/forms/datepicker/interfaces/day-of-week.interface.d.ts +0 -4
  880. package/forms/datepicker/model/calendar-view.model.d.ts +0 -74
  881. package/forms/datepicker/model/calendar.model.d.ts +0 -35
  882. package/forms/datepicker/model/day-view.model.d.ts +0 -16
  883. package/forms/datepicker/model/day.model.d.ts +0 -30
  884. package/forms/datepicker/model/year-range.model.d.ts +0 -34
  885. package/forms/datepicker/monthpicker.d.ts +0 -87
  886. package/forms/datepicker/providers/date-form-control.service.d.ts +0 -14
  887. package/forms/datepicker/providers/date-io.service.d.ts +0 -39
  888. package/forms/datepicker/providers/date-navigation.service.d.ts +0 -94
  889. package/forms/datepicker/providers/datepicker-enabled.service.d.ts +0 -15
  890. package/forms/datepicker/providers/datepicker-focus.service.d.ts +0 -16
  891. package/forms/datepicker/providers/locale-helper.service.d.ts +0 -46
  892. package/forms/datepicker/providers/view-manager.service.d.ts +0 -17
  893. package/forms/datepicker/utils/constants.d.ts +0 -24
  894. package/forms/datepicker/utils/date-utils.d.ts +0 -16
  895. package/forms/datepicker/yearpicker.d.ts +0 -78
  896. package/forms/file-input/file-input-container.d.ts +0 -27
  897. package/forms/file-input/file-input-validator-errors.d.ts +0 -52
  898. package/forms/file-input/file-input-validator.d.ts +0 -14
  899. package/forms/file-input/file-input-value-accessor.d.ts +0 -15
  900. package/forms/file-input/file-input.d.ts +0 -23
  901. package/forms/file-input/file-input.helpers.d.ts +0 -3
  902. package/forms/file-input/file-input.module.d.ts +0 -17
  903. package/forms/file-input/file-list.d.ts +0 -18
  904. package/forms/file-input/file-messages-template.d.ts +0 -19
  905. package/forms/file-input/file-messages.d.ts +0 -17
  906. package/forms/file-input/index.d.ts +0 -9
  907. package/forms/forms.module.d.ts +0 -20
  908. package/forms/index.d.ts +0 -14
  909. package/forms/input/index.d.ts +0 -3
  910. package/forms/input/input-container.d.ts +0 -6
  911. package/forms/input/input.d.ts +0 -11
  912. package/forms/input/input.module.d.ts +0 -13
  913. package/forms/number-input/index.d.ts +0 -3
  914. package/forms/number-input/number-input-container.d.ts +0 -17
  915. package/forms/number-input/number-input.d.ts +0 -22
  916. package/forms/number-input/number-input.module.d.ts +0 -13
  917. package/forms/password/index.d.ts +0 -3
  918. package/forms/password/password-container.d.ts +0 -32
  919. package/forms/password/password.d.ts +0 -16
  920. package/forms/password/password.module.d.ts +0 -13
  921. package/forms/radio/index.d.ts +0 -4
  922. package/forms/radio/radio-container.d.ts +0 -28
  923. package/forms/radio/radio-wrapper.d.ts +0 -9
  924. package/forms/radio/radio.d.ts +0 -10
  925. package/forms/radio/radio.module.d.ts +0 -14
  926. package/forms/range/index.d.ts +0 -3
  927. package/forms/range/range-container.d.ts +0 -22
  928. package/forms/range/range.d.ts +0 -10
  929. package/forms/range/range.module.d.ts +0 -13
  930. package/forms/select/index.d.ts +0 -3
  931. package/forms/select/select-container.d.ts +0 -20
  932. package/forms/select/select.d.ts +0 -11
  933. package/forms/select/select.module.d.ts +0 -13
  934. package/forms/textarea/index.d.ts +0 -3
  935. package/forms/textarea/textarea-container.d.ts +0 -6
  936. package/forms/textarea/textarea.d.ts +0 -11
  937. package/forms/textarea/textarea.module.d.ts +0 -13
  938. package/icon/icon.d.ts +0 -9
  939. package/icon/icon.module.d.ts +0 -10
  940. package/icon/index.d.ts +0 -2
  941. package/index.d.ts +0 -16
  942. package/layout/breadcrumbs/breadcrumb-item.d.ts +0 -5
  943. package/layout/breadcrumbs/breadcrumbs.constants.d.ts +0 -1
  944. package/layout/breadcrumbs/breadcrumbs.d.ts +0 -17
  945. package/layout/breadcrumbs/breadcrumbs.module.d.ts +0 -12
  946. package/layout/breadcrumbs/index.d.ts +0 -4
  947. package/layout/breadcrumbs/model/breadcrumbs.model.d.ts +0 -9
  948. package/layout/index.d.ts +0 -6
  949. package/layout/layout.module.d.ts +0 -11
  950. package/layout/main-container/index.d.ts +0 -2
  951. package/layout/main-container/main-container.d.ts +0 -17
  952. package/layout/main-container/main-container.module.d.ts +0 -11
  953. package/layout/nav/aria-current-link.d.ts +0 -13
  954. package/layout/nav/chocolate/index.d.ts +0 -2
  955. package/layout/nav/chocolate/main-container-willy-wonka.d.ts +0 -6
  956. package/layout/nav/chocolate/nav-detection-oompa-loompa.d.ts +0 -12
  957. package/layout/nav/header.d.ts +0 -31
  958. package/layout/nav/index.d.ts +0 -5
  959. package/layout/nav/nav-level.d.ts +0 -35
  960. package/layout/nav/navigation.module.d.ts +0 -16
  961. package/layout/nav/providers/responsive-navigation.service.d.ts +0 -18
  962. package/layout/nav/responsive-nav-codes.d.ts +0 -14
  963. package/layout/nav/responsive-nav-control-message.d.ts +0 -7
  964. package/layout/tabs/chocolate/active-oompa-loompa.d.ts +0 -13
  965. package/layout/tabs/chocolate/tabs-willy-wonka.d.ts +0 -6
  966. package/layout/tabs/enums/tabs-layout.enum.d.ts +0 -4
  967. package/layout/tabs/index.d.ts +0 -11
  968. package/layout/tabs/providers/tabs.service.d.ts +0 -16
  969. package/layout/tabs/tab-action.directive.d.ts +0 -5
  970. package/layout/tabs/tab-content.d.ts +0 -18
  971. package/layout/tabs/tab-link.directive.d.ts +0 -25
  972. package/layout/tabs/tab-overflow-content.d.ts +0 -5
  973. package/layout/tabs/tab.d.ts +0 -17
  974. package/layout/tabs/tabs-actions.d.ts +0 -7
  975. package/layout/tabs/tabs-id.provider.d.ts +0 -7
  976. package/layout/tabs/tabs.d.ts +0 -50
  977. package/layout/tabs/tabs.module.d.ts +0 -23
  978. package/layout/vertical-nav/index.d.ts +0 -6
  979. package/layout/vertical-nav/providers/vertical-nav-group-registration.service.d.ts +0 -8
  980. package/layout/vertical-nav/providers/vertical-nav-group.service.d.ts +0 -9
  981. package/layout/vertical-nav/providers/vertical-nav-icon.service.d.ts +0 -9
  982. package/layout/vertical-nav/providers/vertical-nav.service.d.ts +0 -17
  983. package/layout/vertical-nav/vertical-nav-group-children.d.ts +0 -5
  984. package/layout/vertical-nav/vertical-nav-group.d.ts +0 -32
  985. package/layout/vertical-nav/vertical-nav-icon.d.ts +0 -10
  986. package/layout/vertical-nav/vertical-nav-link.d.ts +0 -10
  987. package/layout/vertical-nav/vertical-nav.d.ts +0 -28
  988. package/layout/vertical-nav/vertical-nav.module.d.ts +0 -18
  989. package/modal/index.d.ts +0 -7
  990. package/modal/modal-body.d.ts +0 -22
  991. package/modal/modal-configuration.service.d.ts +0 -7
  992. package/modal/modal-host.component.d.ts +0 -5
  993. package/modal/modal-stack.service.d.ts +0 -15
  994. package/modal/modal.d.ts +0 -43
  995. package/modal/modal.module.d.ts +0 -15
  996. package/modal/side-panel.d.ts +0 -53
  997. package/modal/side-panel.module.d.ts +0 -13
  998. package/popover/common/abstract-popover.d.ts +0 -35
  999. package/popover/common/popover-host-anchor.token.d.ts +0 -2
  1000. package/popover/common/popover-options.interface.d.ts +0 -7
  1001. package/popover/common/popover.d.ts +0 -30
  1002. package/popover/dropdown/dropdown-item.d.ts +0 -27
  1003. package/popover/dropdown/dropdown-menu.d.ts +0 -15
  1004. package/popover/dropdown/dropdown-trigger.d.ts +0 -16
  1005. package/popover/dropdown/dropdown.d.ts +0 -17
  1006. package/popover/dropdown/dropdown.module.d.ts +0 -15
  1007. package/popover/dropdown/index.d.ts +0 -6
  1008. package/popover/dropdown/menu-positions.d.ts +0 -1
  1009. package/popover/dropdown/providers/dropdown-focus-handler.service.d.ts +0 -49
  1010. package/popover/dropdown/providers/dropdown.service.d.ts +0 -16
  1011. package/popover/index.d.ts +0 -4
  1012. package/popover/popover.module.d.ts +0 -9
  1013. package/popover/signpost/index.d.ts +0 -5
  1014. package/popover/signpost/providers/signpost-focus-manager.service.d.ts +0 -8
  1015. package/popover/signpost/providers/signpost-id.service.d.ts +0 -9
  1016. package/popover/signpost/signpost-content.d.ts +0 -57
  1017. package/popover/signpost/signpost-positions.d.ts +0 -10
  1018. package/popover/signpost/signpost-title.d.ts +0 -5
  1019. package/popover/signpost/signpost-trigger.d.ts +0 -29
  1020. package/popover/signpost/signpost.d.ts +0 -27
  1021. package/popover/signpost/signpost.module.d.ts +0 -17
  1022. package/popover/tooltip/index.d.ts +0 -4
  1023. package/popover/tooltip/providers/tooltip-id.service.d.ts +0 -9
  1024. package/popover/tooltip/providers/tooltip-mouse.service.d.ts +0 -15
  1025. package/popover/tooltip/tooltip-content.d.ts +0 -25
  1026. package/popover/tooltip/tooltip-trigger.d.ts +0 -18
  1027. package/popover/tooltip/tooltip.d.ts +0 -6
  1028. package/popover/tooltip/tooltip.module.d.ts +0 -14
  1029. package/progress/progress-bars/index.d.ts +0 -2
  1030. package/progress/progress-bars/progress-bar.module.d.ts +0 -10
  1031. package/progress/spinner/index.d.ts +0 -2
  1032. package/progress/spinner/spinner.module.d.ts +0 -10
  1033. package/src/utils/popover/README.md +0 -139
  1034. package/timeline/enums/timeline-layout.enum.d.ts +0 -4
  1035. package/timeline/enums/timeline-step-state.enum.d.ts +0 -7
  1036. package/timeline/index.d.ts +0 -8
  1037. package/timeline/interface/icon-attribute.interface.d.ts +0 -6
  1038. package/timeline/providers/timeline-icon-attribute.service.d.ts +0 -12
  1039. package/timeline/timeline-step-description.d.ts +0 -5
  1040. package/timeline/timeline-step-header.d.ts +0 -5
  1041. package/timeline/timeline-step-title.d.ts +0 -15
  1042. package/timeline/timeline-step.d.ts +0 -19
  1043. package/timeline/timeline.d.ts +0 -8
  1044. package/timeline/timeline.module.d.ts +0 -15
  1045. package/utils/animations/collapse/collapse.d.ts +0 -2
  1046. package/utils/animations/collapse/index.d.ts +0 -1
  1047. package/utils/animations/constants.d.ts +0 -2
  1048. package/utils/animations/expandable-animation/base-expandable-animation.d.ts +0 -16
  1049. package/utils/animations/expandable-animation/expandable-animation.d.ts +0 -16
  1050. package/utils/animations/expandable-animation/expandable-animation.directive.d.ts +0 -16
  1051. package/utils/animations/expandable-animation/expandable-animation.module.d.ts +0 -9
  1052. package/utils/animations/expandable-animation/index.d.ts +0 -4
  1053. package/utils/animations/fade/fade.d.ts +0 -2
  1054. package/utils/animations/fade/index.d.ts +0 -1
  1055. package/utils/animations/fade-slide/fade-slide.d.ts +0 -2
  1056. package/utils/animations/fade-slide/index.d.ts +0 -1
  1057. package/utils/animations/index.d.ts +0 -5
  1058. package/utils/animations/slide/index.d.ts +0 -1
  1059. package/utils/animations/slide/slide.d.ts +0 -2
  1060. package/utils/assert/assert.helpers.d.ts +0 -1
  1061. package/utils/breakpoints/breakpoints.d.ts +0 -15
  1062. package/utils/cdk/cdk-drag.module.d.ts +0 -25
  1063. package/utils/cdk/cdk-trap-focus.module.d.ts +0 -24
  1064. package/utils/chocolate/oompa-loompa.d.ts +0 -13
  1065. package/utils/chocolate/willy-wonka.d.ts +0 -11
  1066. package/utils/component/is-boolean-attribute-set.d.ts +0 -1
  1067. package/utils/conditional/conditional.module.d.ts +0 -12
  1068. package/utils/conditional/if-active.directive.d.ts +0 -38
  1069. package/utils/conditional/if-active.service.d.ts +0 -45
  1070. package/utils/conditional/if-expanded.directive.d.ts +0 -24
  1071. package/utils/conditional/if-expanded.service.d.ts +0 -20
  1072. package/utils/conditional/if-open.directive.d.ts +0 -36
  1073. package/utils/conditional/index.d.ts +0 -4
  1074. package/utils/destroy/destroy.service.d.ts +0 -32
  1075. package/utils/destroy/index.d.ts +0 -1
  1076. package/utils/dom-adapter/dom-adapter.d.ts +0 -12
  1077. package/utils/enums/keys.enum.d.ts +0 -24
  1078. package/utils/focus/arrow-key-direction.enum.d.ts +0 -6
  1079. package/utils/focus/focus-on-view-init/focus-on-view-init.d.ts +0 -19
  1080. package/utils/focus/focus-on-view-init/focus-on-view-init.module.d.ts +0 -10
  1081. package/utils/focus/focus-on-view-init/focus-on-view-init.provider.d.ts +0 -6
  1082. package/utils/focus/focus-on-view-init/index.d.ts +0 -3
  1083. package/utils/focus/focus-trap/index.d.ts +0 -1
  1084. package/utils/focus/focus-trap/standalone-cdk-trap-focus.directive.d.ts +0 -13
  1085. package/utils/focus/focus.service.d.ts +0 -26
  1086. package/utils/focus/focusable-item/basic-focusable-item.service.d.ts +0 -20
  1087. package/utils/focus/focusable-item/custom-focusable-item-provider.d.ts +0 -6
  1088. package/utils/focus/focusable-item/focusable-item.d.ts +0 -12
  1089. package/utils/focus/focusable-item/linkers.d.ts +0 -13
  1090. package/utils/focus/key-focus/enums/focus-direction.enum.d.ts +0 -5
  1091. package/utils/focus/key-focus/index.d.ts +0 -2
  1092. package/utils/focus/key-focus/interfaces.d.ts +0 -5
  1093. package/utils/focus/key-focus/key-focus-item.d.ts +0 -11
  1094. package/utils/focus/key-focus/key-focus.d.ts +0 -44
  1095. package/utils/focus/key-focus/key-focus.module.d.ts +0 -10
  1096. package/utils/focus/key-focus/roving-tabindex.d.ts +0 -19
  1097. package/utils/focus/key-focus/util.d.ts +0 -3
  1098. package/utils/focus/wrap-observable.d.ts +0 -2
  1099. package/utils/forms/validation.d.ts +0 -2
  1100. package/utils/host-wrapping/empty-anchor.d.ts +0 -5
  1101. package/utils/host-wrapping/host-wrapper.d.ts +0 -11
  1102. package/utils/host-wrapping/host-wrapping.module.d.ts +0 -10
  1103. package/utils/i18n/common-strings.default.d.ts +0 -2
  1104. package/utils/i18n/common-strings.interface.d.ts +0 -309
  1105. package/utils/i18n/common-strings.service.d.ts +0 -21
  1106. package/utils/i18n/index.d.ts +0 -3
  1107. package/utils/id-generator/id-generator.service.d.ts +0 -1
  1108. package/utils/index.d.ts +0 -8
  1109. package/utils/loading/index.d.ts +0 -3
  1110. package/utils/loading/loading-listener.d.ts +0 -8
  1111. package/utils/loading/loading.d.ts +0 -20
  1112. package/utils/loading/loading.module.d.ts +0 -10
  1113. package/utils/outside-click/index.d.ts +0 -3
  1114. package/utils/outside-click/outside-click.d.ts +0 -11
  1115. package/utils/outside-click/outside-click.module.d.ts +0 -8
  1116. package/utils/popover/enums/alignment.enum.d.ts +0 -5
  1117. package/utils/popover/enums/axis.enum.d.ts +0 -4
  1118. package/utils/popover/enums/positions.enum.d.ts +0 -23
  1119. package/utils/popover/enums/side.enum.d.ts +0 -4
  1120. package/utils/popover/enums/viewport-violation.enum.d.ts +0 -6
  1121. package/utils/popover/index.d.ts +0 -14
  1122. package/utils/popover/interfaces/popover-content-offset.interface.d.ts +0 -4
  1123. package/utils/popover/interfaces/popover-position.interface.d.ts +0 -16
  1124. package/utils/popover/interfaces/visibility-coords.interface.d.ts +0 -6
  1125. package/utils/popover/popover-anchor.d.ts +0 -8
  1126. package/utils/popover/popover-close-button.d.ts +0 -17
  1127. package/utils/popover/popover-content.d.ts +0 -42
  1128. package/utils/popover/popover-host.directive.d.ts +0 -6
  1129. package/utils/popover/popover-open-close-button.d.ts +0 -13
  1130. package/utils/popover/popover.module.d.ts +0 -10
  1131. package/utils/popover/position-operators.d.ts +0 -10
  1132. package/utils/popover/providers/popover-events.service.d.ts +0 -34
  1133. package/utils/popover/providers/popover-position.service.d.ts +0 -24
  1134. package/utils/popover/providers/popover-toggle.service.d.ts +0 -28
  1135. package/utils/popover/stop-escape-propagation.directive.d.ts +0 -14
  1136. package/utils/scrolling/scrolling-service.d.ts +0 -9
  1137. package/utils/template-ref/index.d.ts +0 -3
  1138. package/utils/template-ref/template-ref-container.d.ts +0 -7
  1139. package/utils/template-ref/template-ref.module.d.ts +0 -8
  1140. package/wizard/heading-level.d.ts +0 -1
  1141. package/wizard/index.d.ts +0 -13
  1142. package/wizard/providers/button-hub.service.d.ts +0 -20
  1143. package/wizard/providers/header-actions.service.d.ts +0 -15
  1144. package/wizard/providers/page-collection.service.d.ts +0 -196
  1145. package/wizard/providers/wizard-navigation.service.d.ts +0 -366
  1146. package/wizard/wizard-button.d.ts +0 -28
  1147. package/wizard/wizard-header-action.d.ts +0 -12
  1148. package/wizard/wizard-page-buttons.d.ts +0 -8
  1149. package/wizard/wizard-page-header-actions.d.ts +0 -8
  1150. package/wizard/wizard-page-navtitle.d.ts +0 -8
  1151. package/wizard/wizard-page-title.d.ts +0 -10
  1152. package/wizard/wizard-page.d.ts +0 -494
  1153. package/wizard/wizard-stepnav-item.d.ts +0 -42
  1154. package/wizard/wizard-stepnav.d.ts +0 -9
  1155. package/wizard/wizard-title.d.ts +0 -7
  1156. package/wizard/wizard.d.ts +0 -256
  1157. package/wizard/wizard.module.d.ts +0 -22
@@ -0,0 +1,2544 @@
1
+ import { FormControl, FormGroup } from '@angular/forms';
2
+ import * as i0 from '@angular/core';
3
+ import { Injectable, EventEmitter, Output, Input, Directive, NgModule, TemplateRef, ViewChild, Component, ElementRef, HostListener, HostBinding, Optional, InjectionToken, Inject, PLATFORM_ID, DOCUMENT, ContentChildren, SkipSelf, Renderer2 } from '@angular/core';
4
+ import { CommonModule, isPlatformBrowser } from '@angular/common';
5
+ import * as i2 from '@angular/animations';
6
+ import { animation, style, animate, state, transition, trigger, useAnimation } from '@angular/animations';
7
+ import { Subject, fromEvent, Observable, isObservable, of } from 'rxjs';
8
+ import { ClrLoadingState as ClrLoadingState$1 } from '@clr/angular/utils/loading';
9
+ import { takeUntil } from 'rxjs/operators';
10
+ import * as i1 from '@angular/cdk/a11y';
11
+ import { CdkTrapFocus } from '@angular/cdk/a11y';
12
+ import * as i2$1 from '@angular/cdk/drag-drop';
13
+ import { CdkDrag, CDK_DROP_LIST, CDK_DRAG_CONFIG } from '@angular/cdk/drag-drop';
14
+ import * as i1$1 from '@angular/cdk/bidi';
15
+
16
+ /*
17
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
18
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
19
+ * This software is released under MIT license.
20
+ * The full license information can be found in LICENSE in the root directory of this project.
21
+ */
22
+ function triggerAllFormControlValidation(formGroup) {
23
+ Object.keys(formGroup.controls).forEach(field => {
24
+ const control = formGroup.get(field);
25
+ if (control instanceof FormControl) {
26
+ control.markAsTouched();
27
+ control.markAsDirty();
28
+ control.updateValueAndValidity();
29
+ }
30
+ else if (control instanceof FormGroup) {
31
+ triggerAllFormControlValidation(control);
32
+ }
33
+ });
34
+ }
35
+
36
+ /*
37
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
38
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
39
+ * This software is released under MIT license.
40
+ * The full license information can be found in LICENSE in the root directory of this project.
41
+ */
42
+ /*
43
+ * If we someday want to be able to render the datagrid in a webworker,
44
+ * this is where we would test if we're in headless mode. Right now it's not testing anything, but any access
45
+ * to native DOM elements' methods and properties in the Datagrid happens here.
46
+ */
47
+ class DomAdapter {
48
+ /*
49
+ We clone the element and take its measurements from outside the grid
50
+ so we don't trigger reflow for the whole datagrid.
51
+ */
52
+ userDefinedWidth(element) {
53
+ const clonedElement = element.cloneNode(true);
54
+ if (clonedElement.id) {
55
+ clonedElement.id = clonedElement.id + '-clone';
56
+ }
57
+ clonedElement.classList.add('datagrid-cell-width-zero');
58
+ document.body.appendChild(clonedElement);
59
+ const userDefinedWidth = this.clientRect(clonedElement).width;
60
+ clonedElement.remove();
61
+ return userDefinedWidth;
62
+ }
63
+ scrollBarWidth(element) {
64
+ return element.offsetWidth - element.clientWidth;
65
+ }
66
+ scrollWidth(element) {
67
+ return element.scrollWidth || 0;
68
+ }
69
+ computedHeight(element) {
70
+ return parseInt(getComputedStyle(element).getPropertyValue('height'), 10);
71
+ }
72
+ clientRect(element) {
73
+ const elementClientRect = element.getBoundingClientRect();
74
+ return {
75
+ top: parseInt(elementClientRect.top, 10),
76
+ bottom: parseInt(elementClientRect.bottom, 10),
77
+ left: parseInt(elementClientRect.left, 10),
78
+ right: parseInt(elementClientRect.right, 10),
79
+ width: parseInt(elementClientRect.width, 10),
80
+ height: parseInt(elementClientRect.height, 10),
81
+ };
82
+ }
83
+ minWidth(element) {
84
+ return parseInt(getComputedStyle(element).getPropertyValue('min-width'), 10);
85
+ }
86
+ focus(element) {
87
+ element.focus();
88
+ }
89
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: DomAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
90
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: DomAdapter }); }
91
+ }
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: DomAdapter, decorators: [{
93
+ type: Injectable
94
+ }] });
95
+
96
+ /*
97
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
98
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
99
+ * This software is released under MIT license.
100
+ * The full license information can be found in LICENSE in the root directory of this project.
101
+ */
102
+ class MockDomAdapter extends DomAdapter {
103
+ constructor() {
104
+ super(...arguments);
105
+ this._userDefinedWidth = 0;
106
+ this._scrollBarWidth = 0;
107
+ this._scrollWidth = 0;
108
+ this._computedHeight = 0;
109
+ }
110
+ userDefinedWidth(_element) {
111
+ return this._userDefinedWidth;
112
+ }
113
+ scrollBarWidth(_element) {
114
+ return this._scrollBarWidth;
115
+ }
116
+ scrollWidth(_element) {
117
+ return this._scrollWidth;
118
+ }
119
+ computedHeight(_element) {
120
+ return this._computedHeight;
121
+ }
122
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MockDomAdapter, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
123
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MockDomAdapter }); }
124
+ }
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MockDomAdapter, decorators: [{
126
+ type: Injectable
127
+ }] });
128
+ const MOCK_DOM_ADAPTER_PROVIDER = {
129
+ provide: DomAdapter,
130
+ useClass: MockDomAdapter,
131
+ };
132
+
133
+ /*
134
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
135
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
136
+ * This software is released under MIT license.
137
+ * The full license information can be found in LICENSE in the root directory of this project.
138
+ */
139
+ class OutsideClick {
140
+ constructor(host, renderer, ngZone) {
141
+ this.strict = false;
142
+ this.outsideClick = new EventEmitter(false);
143
+ ngZone.runOutsideAngular(() => {
144
+ this.documentClickListener = renderer.listen('document', 'click', (event) => {
145
+ // Compare the element in the DOM on which the mouse was clicked
146
+ // with the current actionMenu native HTML element.
147
+ if (host.nativeElement === event.target) {
148
+ return;
149
+ }
150
+ if (!this.strict && host.nativeElement.contains(event.target)) {
151
+ return;
152
+ }
153
+ // We'll run change detection only if the click event actually happened outside of
154
+ // the host element.
155
+ ngZone.run(() => {
156
+ this.outsideClick.emit(event);
157
+ });
158
+ });
159
+ });
160
+ }
161
+ ngOnDestroy() {
162
+ this.documentClickListener();
163
+ }
164
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OutsideClick, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
165
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: OutsideClick, isStandalone: false, selector: "[clrOutsideClick]", inputs: { strict: ["clrStrict", "strict"] }, outputs: { outsideClick: "clrOutsideClick" }, ngImport: i0 }); }
166
+ }
167
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OutsideClick, decorators: [{
168
+ type: Directive,
169
+ args: [{
170
+ selector: '[clrOutsideClick]',
171
+ standalone: false,
172
+ }]
173
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }], propDecorators: { strict: [{
174
+ type: Input,
175
+ args: ['clrStrict']
176
+ }], outsideClick: [{
177
+ type: Output,
178
+ args: ['clrOutsideClick']
179
+ }] } });
180
+
181
+ /*
182
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
183
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
184
+ * This software is released under MIT license.
185
+ * The full license information can be found in LICENSE in the root directory of this project.
186
+ */
187
+ const OUSTIDE_CLICK_DIRECTIVES = [OutsideClick];
188
+ class ClrOutsideClickModule {
189
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOutsideClickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
190
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrOutsideClickModule, declarations: [OutsideClick], imports: [CommonModule], exports: [OutsideClick] }); }
191
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOutsideClickModule, imports: [CommonModule] }); }
192
+ }
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOutsideClickModule, decorators: [{
194
+ type: NgModule,
195
+ args: [{
196
+ imports: [CommonModule],
197
+ declarations: [OUSTIDE_CLICK_DIRECTIVES],
198
+ exports: [OUSTIDE_CLICK_DIRECTIVES],
199
+ }]
200
+ }] });
201
+
202
+ /*
203
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
204
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
205
+ * This software is released under MIT license.
206
+ * The full license information can be found in LICENSE in the root directory of this project.
207
+ */
208
+
209
+ /*
210
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
211
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
212
+ * This software is released under MIT license.
213
+ * The full license information can be found in LICENSE in the root directory of this project.
214
+ */
215
+ class TemplateRefContainer {
216
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TemplateRefContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
217
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: TemplateRefContainer, isStandalone: false, selector: "ng-component", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
218
+ <ng-template>
219
+ <ng-content></ng-content>
220
+ </ng-template>
221
+ `, isInline: true }); }
222
+ }
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TemplateRefContainer, decorators: [{
224
+ type: Component,
225
+ args: [{
226
+ template: `
227
+ <ng-template>
228
+ <ng-content></ng-content>
229
+ </ng-template>
230
+ `,
231
+ standalone: false,
232
+ }]
233
+ }], propDecorators: { template: [{
234
+ type: ViewChild,
235
+ args: [TemplateRef]
236
+ }] } });
237
+
238
+ /*
239
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
240
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
241
+ * This software is released under MIT license.
242
+ * The full license information can be found in LICENSE in the root directory of this project.
243
+ */
244
+ class ClrTemplateRefModule {
245
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTemplateRefModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
246
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrTemplateRefModule, declarations: [TemplateRefContainer], imports: [CommonModule], exports: [TemplateRefContainer] }); }
247
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTemplateRefModule, imports: [CommonModule] }); }
248
+ }
249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTemplateRefModule, decorators: [{
250
+ type: NgModule,
251
+ args: [{
252
+ imports: [CommonModule],
253
+ declarations: [TemplateRefContainer],
254
+ exports: [TemplateRefContainer],
255
+ }]
256
+ }] });
257
+
258
+ /*
259
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
260
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
261
+ * This software is released under MIT license.
262
+ * The full license information can be found in LICENSE in the root directory of this project.
263
+ */
264
+
265
+ /*
266
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
267
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
268
+ * This software is released under MIT license.
269
+ * The full license information can be found in LICENSE in the root directory of this project.
270
+ */
271
+ /**
272
+ * TODO:
273
+ * Using core functions like:
274
+ * - pluckPixelValue
275
+ * - getCssPropertyValue
276
+ *
277
+ * to get the value of the design token.
278
+ *
279
+ * Note: Memoization/Cache usage possible.
280
+ */
281
+ // iPad mini screen width
282
+ // http://stephen.io/mediaqueries/#iPadMini
283
+ const DATEPICKER_ENABLE_BREAKPOINT = 768;
284
+ const SMALL_BREAKPOINT = 576;
285
+ const MEDIUM_BREAKPOINT = 768;
286
+ const LARGE_BREAKPOINT = 992;
287
+ const EXTRA_LARGE_BREAKPOINT = 1200;
288
+
289
+ /*
290
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
291
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
292
+ * This software is released under MIT license.
293
+ * The full license information can be found in LICENSE in the root directory of this project.
294
+ */
295
+ class EmptyAnchor {
296
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: EmptyAnchor, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
297
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: EmptyAnchor, isStandalone: false, selector: "ng-component", ngImport: i0, template: '', isInline: true }); }
298
+ }
299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: EmptyAnchor, decorators: [{
300
+ type: Component,
301
+ args: [{
302
+ template: '',
303
+ standalone: false,
304
+ }]
305
+ }] });
306
+
307
+ /*
308
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
309
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
310
+ * This software is released under MIT license.
311
+ * The full license information can be found in LICENSE in the root directory of this project.
312
+ */
313
+ /**
314
+ * HostWrapper must be called in OnInit to ensure that the Views are ready. If its called in a constructor the view is
315
+ * still undefined.
316
+ * TODO - make sure these comment annotations do not break ng-packgr.
317
+ */
318
+ class HostWrapper {
319
+ constructor(containerType, vcr, index = 0) {
320
+ this.injector = vcr.injector;
321
+ // If the host is already wrapped, we don't do anything
322
+ if (!this.injector.get(containerType, null)) {
323
+ const el = this.injector.get(ElementRef);
324
+ // We need a new anchor, since we're projecting the current one.
325
+ vcr.createComponent(EmptyAnchor);
326
+ // Craft the element array based on what slot to use. Angular only uses the index to determine
327
+ // which ng-content to project into, so if you have more than one ng-content you'll need to set
328
+ // the index in the constructor appropriately
329
+ const element = [];
330
+ element[index] = [el.nativeElement];
331
+ // We're assuming only one projection slot, but in more complex cases we might want to provide
332
+ // a different array of projected elements.
333
+ const containerRef = vcr.createComponent(containerType, {
334
+ projectableNodes: element,
335
+ });
336
+ // We can now remove the useless anchor
337
+ vcr.remove(0);
338
+ // We keep the wrapper's injector to access the dependencies that weren't available before.
339
+ this.injector = containerRef.injector;
340
+ }
341
+ }
342
+ get(token, notFoundValue) {
343
+ return this.injector.get(token, notFoundValue);
344
+ }
345
+ }
346
+
347
+ /*
348
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
349
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
350
+ * This software is released under MIT license.
351
+ * The full license information can be found in LICENSE in the root directory of this project.
352
+ */
353
+ /**
354
+ * Internal module, please do not export!
355
+ */
356
+ class ClrHostWrappingModule {
357
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrHostWrappingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
358
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrHostWrappingModule, declarations: [EmptyAnchor], exports: [EmptyAnchor] }); }
359
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrHostWrappingModule }); }
360
+ }
361
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrHostWrappingModule, decorators: [{
362
+ type: NgModule,
363
+ args: [{
364
+ declarations: [EmptyAnchor],
365
+ exports: [EmptyAnchor],
366
+ }]
367
+ }] });
368
+
369
+ /*
370
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
371
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
372
+ * This software is released under MIT license.
373
+ * The full license information can be found in LICENSE in the root directory of this project.
374
+ */
375
+
376
+ /*
377
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
378
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
379
+ * This software is released under MIT license.
380
+ * The full license information can be found in LICENSE in the root directory of this project.
381
+ */
382
+ function assertNever(value) {
383
+ throw new Error(`Unhandled value: ${value}`);
384
+ }
385
+
386
+ /*
387
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
388
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
389
+ * This software is released under MIT license.
390
+ * The full license information can be found in LICENSE in the root directory of this project.
391
+ */
392
+ function isBooleanAttributeSet(value) {
393
+ // for null just return false no need to check anything
394
+ if (value === null) {
395
+ return false;
396
+ }
397
+ if (typeof value === 'string') {
398
+ // Empty string is valid, 'true' as string is also valid
399
+ return value.length >= 0;
400
+ }
401
+ // Boolean value will be read as it is, everything else is false
402
+ return typeof value === 'boolean' ? value : false;
403
+ }
404
+
405
+ /*
406
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
407
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
408
+ * This software is released under MIT license.
409
+ * The full license information can be found in LICENSE in the root directory of this project.
410
+ */
411
+ const defaultAnimationTiming = '0.2s ease-in-out';
412
+ const defaultExpandAnimation = animation([style({ height: '{{ startHeight }}px' }), animate(defaultAnimationTiming, style({ height: '*' }))], {
413
+ params: {
414
+ startHeight: 0, // default
415
+ },
416
+ });
417
+
418
+ /*
419
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
420
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
421
+ * This software is released under MIT license.
422
+ * The full license information can be found in LICENSE in the root directory of this project.
423
+ */
424
+ function collapse() {
425
+ 'use strict';
426
+ return [
427
+ state('true', style({ height: 0, 'overflow-y': 'hidden' })),
428
+ transition('true => false', [animate(defaultAnimationTiming, style({ height: '*', 'overflow-y': 'hidden' }))]),
429
+ transition('false => true', [style({ height: '*', 'overflow-y': 'hidden' }), animate(defaultAnimationTiming)]),
430
+ ];
431
+ }
432
+
433
+ /*
434
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
435
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
436
+ * This software is released under MIT license.
437
+ * The full license information can be found in LICENSE in the root directory of this project.
438
+ */
439
+
440
+ /*
441
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
442
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
443
+ * This software is released under MIT license.
444
+ * The full license information can be found in LICENSE in the root directory of this project.
445
+ */
446
+ class BaseExpandableAnimation {
447
+ constructor(element, domAdapter, renderer) {
448
+ this.element = element;
449
+ this.domAdapter = domAdapter;
450
+ this.renderer = renderer;
451
+ this.startHeight = 0;
452
+ }
453
+ updateStartHeight() {
454
+ this.startHeight = this.domAdapter.computedHeight(this.element.nativeElement) || 0;
455
+ }
456
+ initAnimationEffects() {
457
+ this.renderer.setStyle(this.element.nativeElement, 'overflow', 'hidden');
458
+ }
459
+ cleanupAnimationEffects(cancelAnimations = false) {
460
+ this.renderer.removeStyle(this.element.nativeElement, 'overflow');
461
+ // A "safe" auto-update of the height ensuring basic OOTB user experience .
462
+ // Prone to small jumps in initial animation height if data was changed in the meantime, the window was resized, etc.
463
+ // For optimal behavior call manually updateStartHeight() from the parent component before initiating the update.
464
+ this.updateStartHeight();
465
+ if (cancelAnimations) {
466
+ this.cancelElementAnimations();
467
+ }
468
+ }
469
+ cancelElementAnimations() {
470
+ this.element.nativeElement.getAnimations().forEach(animation => {
471
+ if (animation.playState === 'finished') {
472
+ animation.cancel(); // clears animation-style set on the element
473
+ }
474
+ });
475
+ }
476
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: BaseExpandableAnimation, deps: [{ token: i0.ElementRef }, { token: DomAdapter }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
477
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: BaseExpandableAnimation, isStandalone: true, ngImport: i0 }); }
478
+ }
479
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: BaseExpandableAnimation, decorators: [{
480
+ type: Directive
481
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: DomAdapter }, { type: i0.Renderer2 }] });
482
+
483
+ /*
484
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
485
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
486
+ * This software is released under MIT license.
487
+ * The full license information can be found in LICENSE in the root directory of this project.
488
+ */
489
+ class ClrExpandableAnimation extends BaseExpandableAnimation {
490
+ constructor() {
491
+ super(...arguments);
492
+ this.clrExpandTrigger = false;
493
+ }
494
+ get expandAnimation() {
495
+ return { value: this.clrExpandTrigger, params: { startHeight: this.startHeight } };
496
+ }
497
+ animationStart(event) {
498
+ if (event.fromState !== 'void') {
499
+ this.initAnimationEffects();
500
+ }
501
+ }
502
+ animationDone(event) {
503
+ if (event.fromState !== 'void') {
504
+ this.cleanupAnimationEffects();
505
+ }
506
+ }
507
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrExpandableAnimation, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
508
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: ClrExpandableAnimation, isStandalone: false, selector: "clr-expandable-animation", inputs: { clrExpandTrigger: "clrExpandTrigger" }, host: { listeners: { "@expandAnimation.start": "animationStart($event)", "@expandAnimation.done": "animationDone($event)" }, properties: { "@expandAnimation": "this.expandAnimation" } }, providers: [DomAdapter], usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{display:block}\n"], animations: [trigger('expandAnimation', [transition('true <=> false', [useAnimation(defaultExpandAnimation)])])] }); }
509
+ }
510
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrExpandableAnimation, decorators: [{
511
+ type: Component,
512
+ args: [{ selector: 'clr-expandable-animation', template: `<ng-content></ng-content>`, animations: [trigger('expandAnimation', [transition('true <=> false', [useAnimation(defaultExpandAnimation)])])], providers: [DomAdapter], standalone: false, styles: [":host{display:block}\n"] }]
513
+ }], propDecorators: { clrExpandTrigger: [{
514
+ type: Input
515
+ }], expandAnimation: [{
516
+ type: HostBinding,
517
+ args: ['@expandAnimation']
518
+ }], animationStart: [{
519
+ type: HostListener,
520
+ args: ['@expandAnimation.start', ['$event']]
521
+ }], animationDone: [{
522
+ type: HostListener,
523
+ args: ['@expandAnimation.done', ['$event']]
524
+ }] } });
525
+
526
+ /*
527
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
528
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
529
+ * This software is released under MIT license.
530
+ * The full license information can be found in LICENSE in the root directory of this project.
531
+ */
532
+ class ClrExpandableAnimationDirective extends BaseExpandableAnimation {
533
+ constructor(element, domAdapter, renderer, builder) {
534
+ super(element, domAdapter, renderer);
535
+ this.builder = builder;
536
+ this.expanded = false;
537
+ }
538
+ ngOnChanges(changes) {
539
+ if (changes['expanded'] && !changes['expanded'].firstChange) {
540
+ Promise.resolve().then(() => this.playAnimation());
541
+ }
542
+ }
543
+ ngOnDestroy() {
544
+ this.player?.destroy();
545
+ }
546
+ playAnimation() {
547
+ if (this.player) {
548
+ this.player.destroy();
549
+ }
550
+ this.player = this.builder
551
+ .build([useAnimation(defaultExpandAnimation, { params: { startHeight: this.startHeight } })])
552
+ .create(this.element.nativeElement);
553
+ this.player.onStart(() => this.initAnimationEffects());
554
+ this.player.onDone(() => this.cleanupAnimationEffects(true));
555
+ this.player.play();
556
+ }
557
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrExpandableAnimationDirective, deps: [{ token: i0.ElementRef }, { token: DomAdapter }, { token: i0.Renderer2 }, { token: i2.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Directive }); }
558
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrExpandableAnimationDirective, isStandalone: false, selector: "[clrExpandableAnimation]", inputs: { expanded: ["clrExpandableAnimation", "expanded"] }, host: { properties: { "class.clr-expandable-animation": "true" } }, providers: [DomAdapter], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
559
+ }
560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrExpandableAnimationDirective, decorators: [{
561
+ type: Directive,
562
+ args: [{
563
+ selector: '[clrExpandableAnimation]',
564
+ providers: [DomAdapter],
565
+ host: {
566
+ '[class.clr-expandable-animation]': 'true',
567
+ },
568
+ standalone: false,
569
+ }]
570
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: DomAdapter }, { type: i0.Renderer2 }, { type: i2.AnimationBuilder }], propDecorators: { expanded: [{
571
+ type: Input,
572
+ args: ['clrExpandableAnimation']
573
+ }] } });
574
+
575
+ /*
576
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
577
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
578
+ * This software is released under MIT license.
579
+ * The full license information can be found in LICENSE in the root directory of this project.
580
+ */
581
+ const EXPANDABLE_ANIMATION_DIRECTIVES = [ClrExpandableAnimation, ClrExpandableAnimationDirective];
582
+ class ClrExpandableAnimationModule {
583
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrExpandableAnimationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
584
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrExpandableAnimationModule, declarations: [ClrExpandableAnimation, ClrExpandableAnimationDirective], imports: [CommonModule], exports: [ClrExpandableAnimation, ClrExpandableAnimationDirective] }); }
585
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrExpandableAnimationModule, imports: [CommonModule] }); }
586
+ }
587
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrExpandableAnimationModule, decorators: [{
588
+ type: NgModule,
589
+ args: [{
590
+ imports: [CommonModule],
591
+ declarations: [EXPANDABLE_ANIMATION_DIRECTIVES],
592
+ exports: [EXPANDABLE_ANIMATION_DIRECTIVES],
593
+ }]
594
+ }] });
595
+
596
+ /*
597
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
598
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
599
+ * This software is released under MIT license.
600
+ * The full license information can be found in LICENSE in the root directory of this project.
601
+ */
602
+
603
+ /*
604
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
605
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
606
+ * This software is released under MIT license.
607
+ * The full license information can be found in LICENSE in the root directory of this project.
608
+ */
609
+ function fade(opacity = 1) {
610
+ return [
611
+ transition('void => *', [style({ opacity: 0 }), animate(defaultAnimationTiming, style({ opacity: opacity }))]),
612
+ transition('* => void', [animate(defaultAnimationTiming, style({ opacity: 0 }))]),
613
+ ];
614
+ }
615
+
616
+ /*
617
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
618
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
619
+ * This software is released under MIT license.
620
+ * The full license information can be found in LICENSE in the root directory of this project.
621
+ */
622
+
623
+ /*
624
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
625
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
626
+ * This software is released under MIT license.
627
+ * The full license information can be found in LICENSE in the root directory of this project.
628
+ */
629
+ function fadeSlide(direction) {
630
+ let transform = null;
631
+ if (direction === 'up') {
632
+ transform = 'translate(0, 25%)';
633
+ }
634
+ else if (direction === 'down') {
635
+ transform = 'translate(0, -25%)';
636
+ }
637
+ else if (direction === 'left') {
638
+ transform = 'translate(25%, 0)';
639
+ }
640
+ else if (direction === 'right') {
641
+ transform = 'translate(-25%, 0)';
642
+ }
643
+ else {
644
+ throw new Error('Unknown direction ' + direction + ' for slide animation.');
645
+ }
646
+ return [
647
+ transition('void => *', [style({ opacity: 0, transform: transform }), animate(defaultAnimationTiming)]),
648
+ transition('* => void', [animate(defaultAnimationTiming, style({ opacity: 0, transform: transform }))]),
649
+ ];
650
+ }
651
+
652
+ /*
653
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
654
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
655
+ * This software is released under MIT license.
656
+ * The full license information can be found in LICENSE in the root directory of this project.
657
+ */
658
+
659
+ /*
660
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
661
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
662
+ * This software is released under MIT license.
663
+ * The full license information can be found in LICENSE in the root directory of this project.
664
+ */
665
+ function slide(direction) {
666
+ let transform = null;
667
+ if (direction === 'up') {
668
+ transform = 'translate(0, 25%)';
669
+ }
670
+ else if (direction === 'down') {
671
+ transform = 'translate(0, -25%)';
672
+ }
673
+ else if (direction === 'left') {
674
+ transform = 'translate(25%, 0)';
675
+ }
676
+ else if (direction === 'right') {
677
+ transform = 'translate(-25%, 0)';
678
+ }
679
+ else {
680
+ throw new Error('Unknown direction ' + direction + ' for slide animation.');
681
+ }
682
+ return [
683
+ transition('void => *', [style({ transform: transform }), animate(defaultAnimationTiming)]),
684
+ transition('* => void', [animate(defaultAnimationTiming, style({ transform: transform }))]),
685
+ ];
686
+ }
687
+
688
+ /*
689
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
690
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
691
+ * This software is released under MIT license.
692
+ * The full license information can be found in LICENSE in the root directory of this project.
693
+ */
694
+
695
+ /*
696
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
697
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
698
+ * This software is released under MIT license.
699
+ * The full license information can be found in LICENSE in the root directory of this project.
700
+ */
701
+
702
+ /*
703
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
704
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
705
+ * This software is released under MIT license.
706
+ * The full license information can be found in LICENSE in the root directory of this project.
707
+ */
708
+ /**
709
+ * This is an abstract class because we need it to still be a valid token for dependency injection after transpiling.
710
+ * This does not mean you should extend it, simply implementing it is fine.
711
+ */
712
+ class LoadingListener {
713
+ }
714
+
715
+ /*
716
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
717
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
718
+ * This software is released under MIT license.
719
+ * The full license information can be found in LICENSE in the root directory of this project.
720
+ */
721
+ var ClrLoadingState;
722
+ (function (ClrLoadingState) {
723
+ ClrLoadingState[ClrLoadingState["DEFAULT"] = 0] = "DEFAULT";
724
+ ClrLoadingState[ClrLoadingState["LOADING"] = 1] = "LOADING";
725
+ ClrLoadingState[ClrLoadingState["SUCCESS"] = 2] = "SUCCESS";
726
+ ClrLoadingState[ClrLoadingState["ERROR"] = 3] = "ERROR";
727
+ })(ClrLoadingState || (ClrLoadingState = {}));
728
+ class ClrLoading {
729
+ // We find the first parent that handles something loading
730
+ constructor(listener) {
731
+ this.listener = listener;
732
+ this._loadingState = ClrLoadingState.DEFAULT;
733
+ }
734
+ get loadingState() {
735
+ return this._loadingState;
736
+ }
737
+ set loadingState(value) {
738
+ if (value === true) {
739
+ value = ClrLoadingState.LOADING;
740
+ }
741
+ else if (!value) {
742
+ value = ClrLoadingState.DEFAULT;
743
+ }
744
+ if (value === this._loadingState) {
745
+ return;
746
+ }
747
+ this._loadingState = value;
748
+ if (this.listener) {
749
+ this.listener.loadingStateChange(value);
750
+ }
751
+ }
752
+ ngOnDestroy() {
753
+ this.loadingState = ClrLoadingState.DEFAULT;
754
+ }
755
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrLoading, deps: [{ token: LoadingListener, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
756
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrLoading, isStandalone: false, selector: "[clrLoading]", inputs: { loadingState: ["clrLoading", "loadingState"] }, ngImport: i0 }); }
757
+ }
758
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrLoading, decorators: [{
759
+ type: Directive,
760
+ args: [{
761
+ selector: '[clrLoading]',
762
+ standalone: false,
763
+ }]
764
+ }], ctorParameters: () => [{ type: LoadingListener, decorators: [{
765
+ type: Optional
766
+ }] }], propDecorators: { loadingState: [{
767
+ type: Input,
768
+ args: ['clrLoading']
769
+ }] } });
770
+
771
+ /*
772
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
773
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
774
+ * This software is released under MIT license.
775
+ * The full license information can be found in LICENSE in the root directory of this project.
776
+ */
777
+ const CLR_LOADING_DIRECTIVES = [ClrLoading];
778
+ class ClrLoadingModule {
779
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
780
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrLoadingModule, declarations: [ClrLoading], imports: [CommonModule], exports: [ClrLoading] }); }
781
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrLoadingModule, imports: [CommonModule] }); }
782
+ }
783
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrLoadingModule, decorators: [{
784
+ type: NgModule,
785
+ args: [{
786
+ imports: [CommonModule],
787
+ declarations: [CLR_LOADING_DIRECTIVES],
788
+ exports: [CLR_LOADING_DIRECTIVES],
789
+ }]
790
+ }] });
791
+
792
+ /*
793
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
794
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
795
+ * This software is released under MIT license.
796
+ * The full license information can be found in LICENSE in the root directory of this project.
797
+ */
798
+
799
+ /*
800
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
801
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
802
+ * This software is released under MIT license.
803
+ * The full license information can be found in LICENSE in the root directory of this project.
804
+ */
805
+ let activeCounter = 0;
806
+ const IF_ACTIVE_ID = new InjectionToken('IF_ACTIVE_ID');
807
+ function tokenFactory() {
808
+ return ++activeCounter;
809
+ }
810
+ const IF_ACTIVE_ID_PROVIDER = {
811
+ provide: IF_ACTIVE_ID,
812
+ useFactory: tokenFactory,
813
+ };
814
+ /*********
815
+ * @class IfActiveService
816
+ *
817
+ * @description
818
+ * An injectable service used by IfActive structural directives and the components that implement IfActive in their
819
+ * templates. It holds the value of the current state and provides an Observable that both the directive and the
820
+ * implementing component can subscribe to in order to take action on current value changes.
821
+ *
822
+ */
823
+ class IfActiveService {
824
+ constructor() {
825
+ /********
826
+ * @property _currentChange
827
+ *
828
+ * @description
829
+ * A RXJS Subject that updates and provides subscriptions to for the current current state of a component template
830
+ * implemting the IfActive structural directive.
831
+ *
832
+ */
833
+ this._currentChange = new Subject();
834
+ }
835
+ /*********
836
+ *
837
+ * @description
838
+ * A getter function that provides an observable for the _current Subject.
839
+ *
840
+ */
841
+ get currentChange() {
842
+ return this._currentChange.asObservable();
843
+ }
844
+ /*********
845
+ *
846
+ * @description
847
+ * A property that gets/sets the current state of _current for this instance of IfActive structural directive.
848
+ * And, broadcasts the new value to all subscribers.
849
+ *
850
+ */
851
+ get current() {
852
+ return this._current;
853
+ }
854
+ set current(value) {
855
+ if (this._current !== value) {
856
+ this._current = value;
857
+ this._currentChange.next(value);
858
+ }
859
+ }
860
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: IfActiveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
861
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: IfActiveService }); }
862
+ }
863
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: IfActiveService, decorators: [{
864
+ type: Injectable
865
+ }] });
866
+
867
+ /*
868
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
869
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
870
+ * This software is released under MIT license.
871
+ * The full license information can be found in LICENSE in the root directory of this project.
872
+ */
873
+ /**********
874
+ *
875
+ * @class ClrIfActive
876
+ *
877
+ * @description
878
+ * A structural directive that controls whether or not the associated TemplateRef is instantiated or not.
879
+ * It makes use of a Component instance level service: IfActiveService to maintain state between itself and
880
+ * the component using it in the component template.
881
+ *
882
+ */
883
+ class ClrIfActive {
884
+ constructor(ifActiveService, id, template, container) {
885
+ this.ifActiveService = ifActiveService;
886
+ this.id = id;
887
+ this.template = template;
888
+ this.container = container;
889
+ /**********
890
+ * @property activeChange
891
+ *
892
+ * @description
893
+ * An event emitter that emits when the active property is set to allow for 2way binding when the directive is
894
+ * used with de-structured / de-sugared syntax.
895
+ *
896
+ */
897
+ this.activeChange = new EventEmitter(false);
898
+ this.wasActive = false;
899
+ this.checkAndUpdateView(ifActiveService.current);
900
+ this.subscription = ifActiveService.currentChange.subscribe(newCurrentId => {
901
+ this.checkAndUpdateView(newCurrentId);
902
+ });
903
+ }
904
+ /**
905
+ * @description
906
+ * A property that gets/sets IfActiveService.active with value.
907
+ *
908
+ */
909
+ get active() {
910
+ return this.ifActiveService.current === this.id;
911
+ }
912
+ set active(value) {
913
+ if (value) {
914
+ this.ifActiveService.current = this.id;
915
+ }
916
+ }
917
+ ngOnDestroy() {
918
+ this.subscription.unsubscribe();
919
+ }
920
+ /**
921
+ * @description
922
+ * Function that takes a any value and either created an embedded view for the associated ViewContainerRef or,
923
+ * Clears all views from the ViewContainerRef
924
+ */
925
+ updateView(value) {
926
+ if (value) {
927
+ this.container.createEmbeddedView(this.template);
928
+ }
929
+ else {
930
+ this.container.clear();
931
+ }
932
+ }
933
+ checkAndUpdateView(currentId) {
934
+ const isNowActive = currentId === this.id;
935
+ // only emit if the new active state is changed since last time.
936
+ if (isNowActive !== this.wasActive) {
937
+ this.updateView(isNowActive);
938
+ this.activeChange.emit(isNowActive);
939
+ this.wasActive = isNowActive;
940
+ }
941
+ }
942
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrIfActive, deps: [{ token: IfActiveService }, { token: IF_ACTIVE_ID }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
943
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrIfActive, isStandalone: true, selector: "[clrIfActive]", inputs: { active: ["clrIfActive", "active"] }, outputs: { activeChange: "clrIfActiveChange" }, ngImport: i0 }); }
944
+ }
945
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrIfActive, decorators: [{
946
+ type: Directive,
947
+ args: [{
948
+ selector: '[clrIfActive]',
949
+ }]
950
+ }], ctorParameters: () => [{ type: IfActiveService }, { type: undefined, decorators: [{
951
+ type: Inject,
952
+ args: [IF_ACTIVE_ID]
953
+ }] }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }], propDecorators: { activeChange: [{
954
+ type: Output,
955
+ args: ['clrIfActiveChange']
956
+ }], active: [{
957
+ type: Input,
958
+ args: ['clrIfActive']
959
+ }] } });
960
+
961
+ /*
962
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
963
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
964
+ * This software is released under MIT license.
965
+ * The full license information can be found in LICENSE in the root directory of this project.
966
+ */
967
+ class IfExpandService {
968
+ constructor() {
969
+ this.expandable = 0;
970
+ this.hasExpandTemplate = false;
971
+ this._loading = false;
972
+ this._expanded = false;
973
+ this._expandChange = new Subject();
974
+ }
975
+ get loading() {
976
+ return this._loading;
977
+ }
978
+ set loading(value) {
979
+ value = !!value;
980
+ if (value !== this._loading) {
981
+ this._loading = value;
982
+ }
983
+ }
984
+ get expanded() {
985
+ return this._expanded;
986
+ }
987
+ set expanded(value) {
988
+ value = !!value;
989
+ if (value !== this._expanded) {
990
+ this._expanded = value;
991
+ this._expandChange.next(value);
992
+ }
993
+ }
994
+ get expandChange() {
995
+ return this._expandChange.asObservable();
996
+ }
997
+ toggle() {
998
+ this.expanded = !this._expanded;
999
+ }
1000
+ loadingStateChange(state) {
1001
+ switch (state) {
1002
+ case ClrLoadingState$1.LOADING:
1003
+ this.loading = true;
1004
+ break;
1005
+ default:
1006
+ this.loading = false;
1007
+ break;
1008
+ }
1009
+ }
1010
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: IfExpandService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1011
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: IfExpandService }); }
1012
+ }
1013
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: IfExpandService, decorators: [{
1014
+ type: Injectable
1015
+ }] });
1016
+
1017
+ /*
1018
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1019
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1020
+ * This software is released under MIT license.
1021
+ * The full license information can be found in LICENSE in the root directory of this project.
1022
+ */
1023
+ class ClrIfExpanded {
1024
+ constructor(template, container, el, renderer, expand) {
1025
+ this.template = template;
1026
+ this.container = container;
1027
+ this.el = el;
1028
+ this.renderer = renderer;
1029
+ this.expand = expand;
1030
+ this.expandedChange = new EventEmitter(true);
1031
+ this._expanded = false;
1032
+ /**
1033
+ * Subscriptions to all the services and queries changes
1034
+ */
1035
+ this._subscriptions = [];
1036
+ this._subscriptions.push(expand.expandChange.subscribe(() => {
1037
+ this.updateView();
1038
+ this.expandedChange.emit(expand.expanded);
1039
+ }));
1040
+ expand.hasExpandTemplate = !!template;
1041
+ }
1042
+ get expanded() {
1043
+ return this._expanded;
1044
+ }
1045
+ set expanded(value) {
1046
+ if (typeof value === 'boolean') {
1047
+ this.expand.expanded = value;
1048
+ this._expanded = value;
1049
+ }
1050
+ }
1051
+ ngOnInit() {
1052
+ this.expand.expandable++;
1053
+ this.updateView();
1054
+ }
1055
+ ngOnDestroy() {
1056
+ this.expand.expandable--;
1057
+ this._subscriptions.forEach((sub) => sub.unsubscribe());
1058
+ }
1059
+ updateView() {
1060
+ if (this.expand.expanded && this.container.length !== 0) {
1061
+ return;
1062
+ }
1063
+ if (this.template) {
1064
+ if (this.expand.expanded) {
1065
+ // Should we pass a context? I don't see anything useful to pass right now,
1066
+ // but we can come back to it in the future as a solution for additional features.
1067
+ this.container.createEmbeddedView(this.template);
1068
+ }
1069
+ else {
1070
+ // TODO: Move when we move the animation logic to Datagrid Row Expand
1071
+ // We clear before the animation is over. Not ideal, but doing better would involve a much heavier
1072
+ // process for very little gain. Once Angular animations are dynamic enough, we should be able to
1073
+ // get the optimal behavior.
1074
+ this.container.clear();
1075
+ }
1076
+ }
1077
+ else {
1078
+ try {
1079
+ // If we don't have a template ref, we fallback to a crude display: none for now.
1080
+ if (this.expand.expanded) {
1081
+ this.renderer.setStyle(this.el.nativeElement, 'display', null);
1082
+ }
1083
+ else {
1084
+ this.renderer.setStyle(this.el.nativeElement, 'display', 'none');
1085
+ }
1086
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1087
+ }
1088
+ catch (e) {
1089
+ // We catch the case where clrIfExpanded was put on a non-DOM element, and we just do nothing
1090
+ }
1091
+ }
1092
+ }
1093
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrIfExpanded, deps: [{ token: i0.TemplateRef, optional: true }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: IfExpandService }], target: i0.ɵɵFactoryTarget.Directive }); }
1094
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrIfExpanded, isStandalone: true, selector: "[clrIfExpanded]", inputs: { expanded: ["clrIfExpanded", "expanded"] }, outputs: { expandedChange: "clrIfExpandedChange" }, ngImport: i0 }); }
1095
+ }
1096
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrIfExpanded, decorators: [{
1097
+ type: Directive,
1098
+ args: [{
1099
+ selector: '[clrIfExpanded]',
1100
+ }]
1101
+ }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
1102
+ type: Optional
1103
+ }] }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: IfExpandService }], propDecorators: { expandedChange: [{
1104
+ type: Output,
1105
+ args: ['clrIfExpandedChange']
1106
+ }], expanded: [{
1107
+ type: Input,
1108
+ args: ['clrIfExpanded']
1109
+ }] } });
1110
+
1111
+ /*
1112
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1113
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1114
+ * This software is released under MIT license.
1115
+ * The full license information can be found in LICENSE in the root directory of this project.
1116
+ */
1117
+ const CONDITIONAL_DIRECTIVES = [ClrIfActive, ClrIfExpanded];
1118
+ class ClrConditionalModule {
1119
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrConditionalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1120
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrConditionalModule, imports: [CommonModule, ClrIfActive, ClrIfExpanded], exports: [ClrIfActive, ClrIfExpanded] }); }
1121
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrConditionalModule, imports: [CommonModule] }); }
1122
+ }
1123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrConditionalModule, decorators: [{
1124
+ type: NgModule,
1125
+ args: [{
1126
+ imports: [CommonModule, CONDITIONAL_DIRECTIVES],
1127
+ exports: [CONDITIONAL_DIRECTIVES],
1128
+ }]
1129
+ }] });
1130
+
1131
+ /*
1132
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1133
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1134
+ * This software is released under MIT license.
1135
+ * The full license information can be found in LICENSE in the root directory of this project.
1136
+ */
1137
+
1138
+ /*
1139
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1140
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1141
+ * This software is released under MIT license.
1142
+ * The full license information can be found in LICENSE in the root directory of this project.
1143
+ */
1144
+ const commonStringsDefault = {
1145
+ open: 'Open',
1146
+ close: 'Close',
1147
+ show: 'Show',
1148
+ hide: 'Hide',
1149
+ apply: 'Apply',
1150
+ cancel: 'Cancel',
1151
+ expand: 'Expand',
1152
+ collapse: 'Collapse',
1153
+ more: 'More',
1154
+ select: 'Select',
1155
+ selectAll: 'Select All',
1156
+ previous: 'Previous',
1157
+ next: 'Next',
1158
+ current: 'Jump to current',
1159
+ info: 'Info',
1160
+ success: 'Success',
1161
+ warning: 'Warning',
1162
+ danger: 'Error',
1163
+ neutral: 'Neutral',
1164
+ unknown: 'Unknown',
1165
+ rowActions: 'Available actions',
1166
+ pickColumns: 'Manage Columns',
1167
+ showColumns: 'Show Columns',
1168
+ sortColumn: 'Sort Column',
1169
+ firstPage: 'First Page',
1170
+ lastPage: 'Last Page',
1171
+ nextPage: 'Next Page',
1172
+ previousPage: 'Previous Page',
1173
+ currentPage: 'Current Page',
1174
+ totalPages: 'Total Pages',
1175
+ filterItems: 'Filter items',
1176
+ minValue: 'Min value',
1177
+ maxValue: 'Max value',
1178
+ modalContentStart: 'Beginning of Modal Content',
1179
+ modalContentEnd: 'End of Modal Content',
1180
+ sidePanelPin: 'Pin Side Panel',
1181
+ showColumnsMenuDescription: 'Show or hide columns menu',
1182
+ allColumnsSelected: 'All columns selected',
1183
+ signpostToggle: 'Signpost Toggle',
1184
+ signpostClose: 'Close',
1185
+ loading: 'Loading',
1186
+ // Datagrid
1187
+ detailPaneStart: 'Start of row details',
1188
+ detailPaneEnd: 'End of row details',
1189
+ singleSelectionAriaLabel: 'Single selection header',
1190
+ singleActionableAriaLabel: 'Single actionable header',
1191
+ detailExpandableAriaLabel: 'Toggle more row content',
1192
+ datagridFilterAriaLabel: '{COLUMN} filter',
1193
+ datagridFilterLabel: '{COLUMN} filter',
1194
+ datagridFilterDialogAriaLabel: 'Filter dialog',
1195
+ columnSeparatorAriaLabel: 'Column resize handle',
1196
+ columnSeparatorDescription: 'Use left or right key to resize the column',
1197
+ fromLabel: 'From',
1198
+ toLabel: 'To',
1199
+ // Alert
1200
+ alertCloseButtonAriaLabel: 'Close alert',
1201
+ alertNextAlertAriaLabel: 'Next alert message, {CURRENT} of {COUNT}',
1202
+ alertPreviousAlertAriaLabel: 'Previous alert message, {CURRENT} of {COUNT}',
1203
+ // Date Picker
1204
+ datepickerDialogLabel: 'Choose date',
1205
+ datepickerToggleChooseDateLabel: 'Choose date',
1206
+ datepickerToggleChangeDateLabel: 'Change date, {SELECTED_DATE}',
1207
+ datepickerPreviousMonth: 'Previous month',
1208
+ datepickerCurrentMonth: 'Current month',
1209
+ datepickerNextMonth: 'Next month',
1210
+ datepickerPreviousDecade: 'Previous decade',
1211
+ datepickerNextDecade: 'Next decade',
1212
+ datepickerCurrentDecade: 'Current decade',
1213
+ datepickerSelectMonthText: 'Select month, the current month is {CALENDAR_MONTH}',
1214
+ datepickerSelectYearText: 'Select year, the current year is {CALENDAR_YEAR}',
1215
+ datepickerSelectedLabel: '{FULL_DATE} - Selected',
1216
+ // Stack View
1217
+ stackViewChanged: 'Value changed.',
1218
+ // Responsive Nav
1219
+ responsiveNavToggleOpen: 'Open navigation menu',
1220
+ responsiveNavToggleClose: 'Close navigation menu',
1221
+ responsiveNavOverflowOpen: 'Open navigation overflow menu',
1222
+ responsiveNavOverflowClose: 'Close navigation overflow menu',
1223
+ //Vertical Nav
1224
+ verticalNavToggle: 'Toggle vertical navigation',
1225
+ // Timeline steps
1226
+ timelineStepNotStarted: 'Not started',
1227
+ timelineStepCurrent: 'Current',
1228
+ timelineStepSuccess: 'Completed',
1229
+ timelineStepError: 'Error',
1230
+ timelineStepProcessing: 'In progress',
1231
+ // Combobox
1232
+ comboboxDelete: 'Delete selected option',
1233
+ comboboxSearching: 'Searching for matches for "{INPUT}"',
1234
+ comboboxSelection: 'Selection',
1235
+ comboboxSelected: 'Selected',
1236
+ comboboxNoResults: 'No results',
1237
+ comboboxOpen: 'Show options',
1238
+ // Datagrid expandable rows
1239
+ datagridExpandableBeginningOf: 'Beginning of',
1240
+ datagridExpandableEndOf: 'End of',
1241
+ datagridExpandableRowContent: 'Expandable row content',
1242
+ datagridExpandableRowsHelperText: `Screen reader table commands may not work for viewing expanded content, please use your screen reader's browse mode to read the content exposed by this button`,
1243
+ // Wizard
1244
+ wizardStep: 'Step',
1245
+ wizardStepCurrent: 'Current',
1246
+ wizardStepSuccess: 'Completed',
1247
+ wizardStepError: 'Error',
1248
+ wizardStepnavAriaLabel: 'Wizard steps',
1249
+ /**
1250
+ * Password Input
1251
+ * Screen-reader text for the hide/show password field button
1252
+ */
1253
+ passwordHide: 'Hide password for {LABEL}',
1254
+ passwordShow: 'Show password for {LABEL}',
1255
+ /**
1256
+ * Datagrid footer; sr-only text after the number of selected rows.
1257
+ */
1258
+ selectedRows: 'Selected rows',
1259
+ // Accordion/Stepper
1260
+ stepComplete: 'Step {STEP} complete',
1261
+ stepError: 'Error in step {STEP}',
1262
+ // File input
1263
+ browse: 'Browse',
1264
+ fileCount: '{COUNT} files',
1265
+ clearFile: 'Clear {FILE}',
1266
+ clearFiles: 'Clear {COUNT} files',
1267
+ // Tree
1268
+ selectedTreeNode: 'selected',
1269
+ unselectedTreeNode: 'unselected',
1270
+ // Breadcrumbs
1271
+ breadcrumbsLabel: 'breadcrumbs',
1272
+ expandBreadcrumbsLabel: 'Expand breadcrumbs',
1273
+ };
1274
+
1275
+ /*
1276
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1277
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1278
+ * This software is released under MIT license.
1279
+ * The full license information can be found in LICENSE in the root directory of this project.
1280
+ */
1281
+ class ClrCommonStringsService {
1282
+ constructor() {
1283
+ this._strings = commonStringsDefault;
1284
+ }
1285
+ /**
1286
+ * Access to all of the keys as strings
1287
+ */
1288
+ get keys() {
1289
+ return this._strings;
1290
+ }
1291
+ /**
1292
+ * Allows you to pass in new overrides for localization
1293
+ */
1294
+ localize(overrides) {
1295
+ this._strings = { ...this._strings, ...overrides };
1296
+ }
1297
+ /**
1298
+ * Parse a string with a set of tokens to replace
1299
+ */
1300
+ parse(source, tokens = {}) {
1301
+ const names = Object.keys(tokens);
1302
+ let output = source;
1303
+ if (names.length) {
1304
+ names.forEach(name => {
1305
+ output = output.replace(`{${name}}`, tokens[name]);
1306
+ });
1307
+ }
1308
+ return output;
1309
+ }
1310
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrCommonStringsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1311
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrCommonStringsService, providedIn: 'root' }); }
1312
+ }
1313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrCommonStringsService, decorators: [{
1314
+ type: Injectable,
1315
+ args: [{
1316
+ providedIn: 'root',
1317
+ }]
1318
+ }] });
1319
+
1320
+ /*
1321
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1322
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1323
+ * This software is released under MIT license.
1324
+ * The full license information can be found in LICENSE in the root directory of this project.
1325
+ */
1326
+
1327
+ /*
1328
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1329
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1330
+ * This software is released under MIT license.
1331
+ * The full license information can be found in LICENSE in the root directory of this project.
1332
+ */
1333
+
1334
+ /*
1335
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1336
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1337
+ * This software is released under MIT license.
1338
+ * The full license information can be found in LICENSE in the root directory of this project.
1339
+ */
1340
+ const FOCUS_ON_VIEW_INIT = new InjectionToken('FOCUS_ON_VIEW_INIT');
1341
+ // This provider holds the default value for clrFocusOnViewInit directive's isEnabled property.
1342
+ // So users can interject this provider and set their own value for this provider.
1343
+ const FOCUS_ON_VIEW_INIT_PROVIDER = {
1344
+ provide: FOCUS_ON_VIEW_INIT,
1345
+ useValue: true,
1346
+ };
1347
+
1348
+ /*
1349
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1350
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1351
+ * This software is released under MIT license.
1352
+ * The full license information can be found in LICENSE in the root directory of this project.
1353
+ */
1354
+ /* This directive is for guiding the document focus to the newly added content when its view is initialized
1355
+ so that assistive technologies can read its content. */
1356
+ class ClrFocusOnViewInit {
1357
+ constructor(el, platformId, focusOnViewInit, document, renderer, ngZone) {
1358
+ this.el = el;
1359
+ this.platformId = platformId;
1360
+ this.focusOnViewInit = focusOnViewInit;
1361
+ this.renderer = renderer;
1362
+ this.directFocus = true; // true if the element gets focused without need to set tabindex;
1363
+ this.destroy$ = new Subject();
1364
+ this._isEnabled = focusOnViewInit;
1365
+ // Angular compiler doesn't understand the type Document
1366
+ // when working out the metadata for injectable parameters,
1367
+ // even though it understands the injection token DOCUMENT
1368
+ // https://github.com/angular/angular/issues/20351
1369
+ this.document = document;
1370
+ ngZone.runOutsideAngular(() => fromEvent(el.nativeElement, 'focusout')
1371
+ .pipe(takeUntil(this.destroy$))
1372
+ .subscribe(() => {
1373
+ if (!this.directFocus) {
1374
+ // manually set attributes and styles should be removed
1375
+ renderer.removeAttribute(el.nativeElement, 'tabindex');
1376
+ renderer.setStyle(el.nativeElement, 'outline', null);
1377
+ }
1378
+ }));
1379
+ }
1380
+ set isEnabled(value) {
1381
+ if (this.focusOnViewInit && typeof value === 'boolean') {
1382
+ this._isEnabled = value;
1383
+ }
1384
+ }
1385
+ ngAfterViewInit() {
1386
+ this.focus();
1387
+ }
1388
+ ngOnDestroy() {
1389
+ this.destroy$.next();
1390
+ }
1391
+ focus() {
1392
+ if (!isPlatformBrowser(this.platformId)) {
1393
+ return;
1394
+ }
1395
+ if (!this._isEnabled) {
1396
+ return;
1397
+ }
1398
+ if (this.document && this.document.activeElement !== this.el.nativeElement) {
1399
+ this.el.nativeElement.focus();
1400
+ if (this.document.activeElement !== this.el.nativeElement) {
1401
+ // if it's not directly focused now, it means it was a non-interactive element
1402
+ // so we need to give it a tabindex.
1403
+ this.directFocus = false;
1404
+ this.renderer.setAttribute(this.el.nativeElement, 'tabindex', '-1');
1405
+ this.renderer.setStyle(this.el.nativeElement, 'outline', 'none');
1406
+ this.el.nativeElement.focus();
1407
+ }
1408
+ }
1409
+ }
1410
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrFocusOnViewInit, deps: [{ token: i0.ElementRef }, { token: PLATFORM_ID }, { token: FOCUS_ON_VIEW_INIT }, { token: DOCUMENT }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1411
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrFocusOnViewInit, isStandalone: false, selector: "[clrFocusOnViewInit]", inputs: { isEnabled: ["clrFocusOnViewInit", "isEnabled"] }, ngImport: i0 }); }
1412
+ }
1413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrFocusOnViewInit, decorators: [{
1414
+ type: Directive,
1415
+ args: [{
1416
+ selector: '[clrFocusOnViewInit]',
1417
+ standalone: false,
1418
+ }]
1419
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
1420
+ type: Inject,
1421
+ args: [PLATFORM_ID]
1422
+ }] }, { type: undefined, decorators: [{
1423
+ type: Inject,
1424
+ args: [FOCUS_ON_VIEW_INIT]
1425
+ }] }, { type: undefined, decorators: [{
1426
+ type: Inject,
1427
+ args: [DOCUMENT]
1428
+ }] }, { type: i0.Renderer2 }, { type: i0.NgZone }], propDecorators: { isEnabled: [{
1429
+ type: Input,
1430
+ args: ['clrFocusOnViewInit']
1431
+ }] } });
1432
+
1433
+ /*
1434
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1435
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1436
+ * This software is released under MIT license.
1437
+ * The full license information can be found in LICENSE in the root directory of this project.
1438
+ */
1439
+ const FOCUS_ON_VIEW_INIT_DIRECTIVES = [ClrFocusOnViewInit];
1440
+ class ClrFocusOnViewInitModule {
1441
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrFocusOnViewInitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1442
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrFocusOnViewInitModule, declarations: [ClrFocusOnViewInit], imports: [CommonModule], exports: [ClrFocusOnViewInit] }); }
1443
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrFocusOnViewInitModule, providers: [FOCUS_ON_VIEW_INIT_PROVIDER], imports: [CommonModule] }); }
1444
+ }
1445
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrFocusOnViewInitModule, decorators: [{
1446
+ type: NgModule,
1447
+ args: [{
1448
+ imports: [CommonModule],
1449
+ declarations: [FOCUS_ON_VIEW_INIT_DIRECTIVES],
1450
+ providers: [FOCUS_ON_VIEW_INIT_PROVIDER],
1451
+ exports: [FOCUS_ON_VIEW_INIT_DIRECTIVES],
1452
+ }]
1453
+ }] });
1454
+
1455
+ /*
1456
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1457
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1458
+ * This software is released under MIT license.
1459
+ * The full license information can be found in LICENSE in the root directory of this project.
1460
+ */
1461
+
1462
+ /*
1463
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1464
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1465
+ * This software is released under MIT license.
1466
+ * The full license information can be found in LICENSE in the root directory of this project.
1467
+ */
1468
+ class ClrStandaloneCdkTrapFocus extends CdkTrapFocus {
1469
+ /**
1470
+ * Include the constructor to forward all the dependencies to the base class
1471
+ * as a workaround to fix Angular "ɵɵinvalidFactoryDep" error after upgrading storybook
1472
+ * https://github.com/storybookjs/storybook/issues/23534
1473
+ */
1474
+ constructor(elementRef, focusTrapFactory, document) {
1475
+ super(elementRef, focusTrapFactory, document);
1476
+ }
1477
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrStandaloneCdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1478
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrStandaloneCdkTrapFocus, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
1479
+ }
1480
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrStandaloneCdkTrapFocus, decorators: [{
1481
+ type: Directive,
1482
+ args: [{
1483
+ standalone: true,
1484
+ }]
1485
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.FocusTrapFactory }, { type: undefined, decorators: [{
1486
+ type: Optional
1487
+ }, {
1488
+ type: Inject,
1489
+ args: [DOCUMENT]
1490
+ }] }] });
1491
+
1492
+ /*
1493
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1494
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1495
+ * This software is released under MIT license.
1496
+ * The full license information can be found in LICENSE in the root directory of this project.
1497
+ */
1498
+
1499
+ /*
1500
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1501
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1502
+ * This software is released under MIT license.
1503
+ * The full license information can be found in LICENSE in the root directory of this project.
1504
+ */
1505
+ var ClrFocusDirection;
1506
+ (function (ClrFocusDirection) {
1507
+ ClrFocusDirection["VERTICAL"] = "vertical";
1508
+ ClrFocusDirection["HORIZONTAL"] = "horizontal";
1509
+ ClrFocusDirection["BOTH"] = "both";
1510
+ })(ClrFocusDirection || (ClrFocusDirection = {}));
1511
+
1512
+ /*
1513
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1514
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1515
+ * This software is released under MIT license.
1516
+ * The full license information can be found in LICENSE in the root directory of this project.
1517
+ */
1518
+ class ClrKeyFocusItem {
1519
+ constructor(elementRef, platformId) {
1520
+ this.elementRef = elementRef;
1521
+ this.platformId = platformId;
1522
+ }
1523
+ get nativeElement() {
1524
+ return this.elementRef.nativeElement;
1525
+ }
1526
+ focus() {
1527
+ if (isPlatformBrowser(this.platformId)) {
1528
+ this.elementRef.nativeElement.focus();
1529
+ }
1530
+ }
1531
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrKeyFocusItem, deps: [{ token: i0.ElementRef }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive }); }
1532
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrKeyFocusItem, isStandalone: false, selector: "[clrKeyFocusItem]", ngImport: i0 }); }
1533
+ }
1534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrKeyFocusItem, decorators: [{
1535
+ type: Directive,
1536
+ args: [{
1537
+ selector: '[clrKeyFocusItem]',
1538
+ standalone: false,
1539
+ }]
1540
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
1541
+ type: Inject,
1542
+ args: [PLATFORM_ID]
1543
+ }] }] });
1544
+
1545
+ /*
1546
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1547
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1548
+ * This software is released under MIT license.
1549
+ * The full license information can be found in LICENSE in the root directory of this project.
1550
+ */
1551
+ var Keys;
1552
+ (function (Keys) {
1553
+ Keys["ArrowLeft"] = "ArrowLeft";
1554
+ Keys["ArrowUp"] = "ArrowUp";
1555
+ Keys["ArrowRight"] = "ArrowRight";
1556
+ Keys["ArrowDown"] = "ArrowDown";
1557
+ Keys["Backspace"] = "Backspace";
1558
+ Keys["Tab"] = "Tab";
1559
+ Keys["Enter"] = "Enter";
1560
+ Keys["Escape"] = "Escape";
1561
+ Keys["Space"] = "Space";
1562
+ Keys["Spacebar"] = " ";
1563
+ Keys["Home"] = "Home";
1564
+ Keys["End"] = "End";
1565
+ Keys["PageDown"] = "PageDown";
1566
+ Keys["PageUp"] = "PageUp";
1567
+ })(Keys || (Keys = {}));
1568
+ var IEKeys;
1569
+ (function (IEKeys) {
1570
+ IEKeys["ArrowUp"] = "Up";
1571
+ IEKeys["ArrowDown"] = "Down";
1572
+ IEKeys["ArrowRight"] = "Right";
1573
+ IEKeys["ArrowLeft"] = "Left";
1574
+ IEKeys["Space"] = "Spacebar";
1575
+ IEKeys["Escape"] = "Esc";
1576
+ })(IEKeys || (IEKeys = {}));
1577
+
1578
+ /*
1579
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1580
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1581
+ * This software is released under MIT license.
1582
+ * The full license information can be found in LICENSE in the root directory of this project.
1583
+ */
1584
+ function normalizeKey(key) {
1585
+ if (key === Keys.ArrowUp || key === IEKeys.ArrowUp) {
1586
+ return Keys.ArrowUp;
1587
+ }
1588
+ else if (key === Keys.ArrowDown || key === IEKeys.ArrowDown) {
1589
+ return Keys.ArrowDown;
1590
+ }
1591
+ else if (key === Keys.ArrowRight || key === IEKeys.ArrowRight) {
1592
+ return Keys.ArrowRight;
1593
+ }
1594
+ else if (key === Keys.ArrowLeft || key === IEKeys.ArrowLeft) {
1595
+ return Keys.ArrowLeft;
1596
+ }
1597
+ else if (key === Keys.Space || key === IEKeys.Space) {
1598
+ return Keys.Space;
1599
+ }
1600
+ else if (key === Keys.Escape || key === IEKeys.Escape) {
1601
+ return Keys.Escape;
1602
+ }
1603
+ else {
1604
+ return key;
1605
+ }
1606
+ }
1607
+ function preventArrowKeyScroll(event) {
1608
+ const key = normalizeKey(event.key);
1609
+ if (key === Keys.ArrowUp || key === Keys.ArrowDown || key === Keys.ArrowLeft || key === Keys.ArrowRight) {
1610
+ // prevent element container scroll
1611
+ // MDN references this is really the only way to prevent native browser interactions
1612
+ // https://developer.mozilla.org/en-US/docs/Web/Accessibility/Keyboard-navigable_JavaScript_widgets
1613
+ event.preventDefault();
1614
+ }
1615
+ }
1616
+ function isKeyEitherLetterOrNumber(event) {
1617
+ const char = event.key;
1618
+ // Only letter characters differ when they switch between lowercase and uppercase, whether it's an English or non-English letter.
1619
+ return char.toLowerCase() !== char.toUpperCase() || (char >= '0' && char <= '9');
1620
+ }
1621
+
1622
+ /*
1623
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1624
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1625
+ * This software is released under MIT license.
1626
+ * The full license information can be found in LICENSE in the root directory of this project.
1627
+ */
1628
+ class ClrKeyFocus {
1629
+ constructor(elementRef) {
1630
+ this.elementRef = elementRef;
1631
+ this.direction = ClrFocusDirection.VERTICAL;
1632
+ this.focusOnLoad = false;
1633
+ this.subscriptions = [];
1634
+ this.focusChange = new EventEmitter();
1635
+ this._current = 0;
1636
+ }
1637
+ /**
1638
+ * Here we use `any` cause any other type require reworking all methods below and a lot of more ifs.
1639
+ * this method will only work with array with FocusableItems anyway so any other value will be ignored.
1640
+ */
1641
+ get focusableItems() {
1642
+ if (this._focusableItems) {
1643
+ return this._focusableItems;
1644
+ }
1645
+ else if (this.clrKeyFocusItems) {
1646
+ return this.clrKeyFocusItems.toArray();
1647
+ }
1648
+ return [];
1649
+ }
1650
+ set focusableItems(elements) {
1651
+ // We accept a list of focusable elements (HTMLElements or existing Directives) or auto query for clrKeyFocusItem
1652
+ // We accept a list reference in the cases where we cannot use ContentChildren to query
1653
+ // ContentChildren can be unavailable if content is projected outside the scope of the component (see tabs).
1654
+ if (Array.isArray(elements) && elements.length) {
1655
+ this._focusableItems = elements;
1656
+ this.initializeFocus();
1657
+ }
1658
+ }
1659
+ get nativeElement() {
1660
+ return this.elementRef.nativeElement;
1661
+ }
1662
+ get current() {
1663
+ return this._current;
1664
+ }
1665
+ set current(value) {
1666
+ if (this._current !== value) {
1667
+ this._current = value;
1668
+ }
1669
+ }
1670
+ get currentItem() {
1671
+ return this.focusableItems[this._current];
1672
+ }
1673
+ get currentItemElement() {
1674
+ return this.currentItem.nativeElement ? this.currentItem.nativeElement : this.currentItem;
1675
+ }
1676
+ ngAfterContentInit() {
1677
+ this.subscriptions.push(this.listenForItemUpdates());
1678
+ this.initializeFocus();
1679
+ }
1680
+ ngOnDestroy() {
1681
+ this.subscriptions.forEach(s => s.unsubscribe());
1682
+ }
1683
+ handleKeyboardEvent(event) {
1684
+ // Make sure event was originated on the current item's element
1685
+ if (this.currentItemElement !== event.target) {
1686
+ const position = this.getItemPosition(event.target);
1687
+ if (this.positionInRange(position)) {
1688
+ this.current = position;
1689
+ }
1690
+ }
1691
+ if (this.prevKeyPressed(event) && this.currentFocusIsNotFirstItem()) {
1692
+ this.moveTo(this.current - 1);
1693
+ }
1694
+ else if (this.nextKeyPressed(event) && this.currentFocusIsNotLastItem()) {
1695
+ this.moveTo(this.current + 1);
1696
+ }
1697
+ else if (event.code === Keys.Home) {
1698
+ this.moveTo(0);
1699
+ }
1700
+ else if (event.code === Keys.End) {
1701
+ this.moveTo(this.focusableItems.length - 1);
1702
+ }
1703
+ preventArrowKeyScroll(event);
1704
+ }
1705
+ setClickedItemCurrent(event) {
1706
+ const position = this.getItemPosition(event.target);
1707
+ if (position > -1) {
1708
+ this.moveTo(position);
1709
+ }
1710
+ }
1711
+ focusCurrent() {
1712
+ this.currentItem.focus();
1713
+ this.focusChange.next(this._current);
1714
+ }
1715
+ moveTo(position) {
1716
+ if (this.positionInRange(position)) {
1717
+ this.current = position;
1718
+ this.focusCurrent();
1719
+ }
1720
+ }
1721
+ positionInRange(position) {
1722
+ return position >= 0 && position < this.focusableItems.length;
1723
+ }
1724
+ currentFocusIsNotFirstItem() {
1725
+ return this._current - 1 >= 0;
1726
+ }
1727
+ currentFocusIsNotLastItem() {
1728
+ return this._current + 1 < this.focusableItems.length;
1729
+ }
1730
+ initializeFocus() {
1731
+ if (this.focusableItems && this.focusableItems.length) {
1732
+ // It is possible that the focus was on an element, whose index is no longer available.
1733
+ // This can happen when some of the focusable elements are being removed.
1734
+ // In such cases, the new focus is initialized on the last focusable element.
1735
+ if (this._current >= this.focusableItems.length) {
1736
+ this._current = this.focusableItems.length - 1;
1737
+ }
1738
+ if (this.focusOnLoad) {
1739
+ this.currentItem.focus();
1740
+ this.focusChange.emit();
1741
+ }
1742
+ }
1743
+ }
1744
+ nextKeyPressed(event) {
1745
+ const key = normalizeKey(event.key);
1746
+ switch (this.direction) {
1747
+ case ClrFocusDirection.VERTICAL:
1748
+ return key === Keys.ArrowDown;
1749
+ case ClrFocusDirection.HORIZONTAL:
1750
+ return key === Keys.ArrowRight;
1751
+ case ClrFocusDirection.BOTH:
1752
+ return key === Keys.ArrowDown || key === Keys.ArrowRight;
1753
+ default:
1754
+ return false;
1755
+ }
1756
+ }
1757
+ prevKeyPressed(event) {
1758
+ const key = normalizeKey(event.key);
1759
+ switch (this.direction) {
1760
+ case ClrFocusDirection.VERTICAL:
1761
+ return key === Keys.ArrowUp;
1762
+ case ClrFocusDirection.HORIZONTAL:
1763
+ return key === Keys.ArrowLeft;
1764
+ case ClrFocusDirection.BOTH:
1765
+ return key === Keys.ArrowUp || key === Keys.ArrowLeft;
1766
+ default:
1767
+ return false;
1768
+ }
1769
+ }
1770
+ getItemPosition(item) {
1771
+ if (this._focusableItems) {
1772
+ return this.focusableItems.indexOf(item);
1773
+ }
1774
+ else {
1775
+ return this.focusableItems.map(_item => _item.nativeElement).indexOf(item);
1776
+ }
1777
+ }
1778
+ listenForItemUpdates() {
1779
+ return this.clrKeyFocusItems.changes.subscribe(() => {
1780
+ this.initializeFocus();
1781
+ });
1782
+ }
1783
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrKeyFocus, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
1784
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: ClrKeyFocus, isStandalone: false, selector: "[clrKeyFocus]", inputs: { direction: ["clrDirection", "direction"], focusOnLoad: ["clrFocusOnLoad", "focusOnLoad"], focusableItems: ["clrKeyFocus", "focusableItems"] }, outputs: { focusChange: "clrFocusChange" }, host: { listeners: { "keydown": "handleKeyboardEvent($event)", "click": "setClickedItemCurrent($event)" } }, queries: [{ propertyName: "clrKeyFocusItems", predicate: ClrKeyFocusItem, descendants: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
1785
+ }
1786
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrKeyFocus, decorators: [{
1787
+ type: Component,
1788
+ args: [{
1789
+ selector: '[clrKeyFocus]',
1790
+ template: '<ng-content></ng-content>',
1791
+ standalone: false,
1792
+ }]
1793
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { direction: [{
1794
+ type: Input,
1795
+ args: ['clrDirection']
1796
+ }], focusOnLoad: [{
1797
+ type: Input,
1798
+ args: ['clrFocusOnLoad']
1799
+ }], clrKeyFocusItems: [{
1800
+ type: ContentChildren,
1801
+ args: [ClrKeyFocusItem, { descendants: true }]
1802
+ }], focusChange: [{
1803
+ type: Output,
1804
+ args: ['clrFocusChange']
1805
+ }], focusableItems: [{
1806
+ type: Input,
1807
+ args: ['clrKeyFocus']
1808
+ }], handleKeyboardEvent: [{
1809
+ type: HostListener,
1810
+ args: ['keydown', ['$event']]
1811
+ }], setClickedItemCurrent: [{
1812
+ type: HostListener,
1813
+ args: ['click', ['$event']]
1814
+ }] } });
1815
+
1816
+ /*
1817
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1818
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1819
+ * This software is released under MIT license.
1820
+ * The full license information can be found in LICENSE in the root directory of this project.
1821
+ */
1822
+ class ClrRovingTabindex extends ClrKeyFocus {
1823
+ constructor(elementRef, renderer) {
1824
+ super(elementRef);
1825
+ this.renderer = renderer;
1826
+ this.disabled = false;
1827
+ }
1828
+ // Proxy the input, as the selector name from parent class will still be "clrKeyFocus".
1829
+ get rovingIndexItems() {
1830
+ return this.focusableItems;
1831
+ }
1832
+ set rovingIndexItems(elements) {
1833
+ this.focusableItems = elements;
1834
+ }
1835
+ set rovingTabindexDisabled(disabled) {
1836
+ this.disabled = disabled;
1837
+ if (this.currentItem) {
1838
+ this.setTabindex(this.currentItem, disabled ? -1 : 0);
1839
+ }
1840
+ }
1841
+ handleKeyboardEvent(event) {
1842
+ if (this.prevKeyPressed(event) && this.currentFocusIsNotFirstItem()) {
1843
+ this.updateTabindex(this.current - 1);
1844
+ }
1845
+ else if (this.nextKeyPressed(event) && this.currentFocusIsNotLastItem()) {
1846
+ this.updateTabindex(this.current + 1);
1847
+ }
1848
+ else if (event.code === Keys.Home) {
1849
+ this.updateTabindex(0);
1850
+ }
1851
+ else if (event.code === Keys.End) {
1852
+ this.updateTabindex(this.focusableItems.length - 1);
1853
+ }
1854
+ super.handleKeyboardEvent(event);
1855
+ }
1856
+ setClickedItemCurrent(event) {
1857
+ let position;
1858
+ if (this.focusableItems[0].nativeElement) {
1859
+ position = this.focusableItems.map(item => item.nativeElement).indexOf(event.target);
1860
+ }
1861
+ else {
1862
+ position = this.focusableItems.indexOf(event.target);
1863
+ }
1864
+ if (position > -1) {
1865
+ this.updateTabindex(position);
1866
+ }
1867
+ super.setClickedItemCurrent(event);
1868
+ }
1869
+ initializeFocus() {
1870
+ if (this.focusableItems && this.focusableItems.length) {
1871
+ this.focusableItems.forEach(item => {
1872
+ this.setTabindex(item, -1);
1873
+ });
1874
+ // It is possible that the focus was on an element, whose index is no longer available.
1875
+ // This can happen when some of the focusable elements are being removed.
1876
+ // In such cases, the new focus is initialized on the last focusable element.
1877
+ if (this.current >= this.focusableItems.length) {
1878
+ this.current = this.focusableItems.length - 1;
1879
+ }
1880
+ if (!this.disabled && this.currentItem) {
1881
+ this.setTabindex(this.currentItem, 0);
1882
+ }
1883
+ }
1884
+ super.initializeFocus();
1885
+ }
1886
+ updateTabindex(newIndex) {
1887
+ this.setTabindex(this.currentItem, -1);
1888
+ this.setTabindex(this.focusableItems[newIndex], 0);
1889
+ }
1890
+ setTabindex(item, value) {
1891
+ if (item instanceof HTMLElement) {
1892
+ this.renderer.setAttribute(item, 'tabindex', value.toString());
1893
+ }
1894
+ else {
1895
+ this.renderer.setAttribute(item.nativeElement, 'tabindex', value.toString());
1896
+ }
1897
+ }
1898
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrRovingTabindex, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1899
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: ClrRovingTabindex, isStandalone: false, selector: "[clrRovingTabindex]", inputs: { rovingIndexItems: ["clrRovingTabindex", "rovingIndexItems"], rovingTabindexDisabled: ["clrRovingTabindexDisabled", "rovingTabindexDisabled"] }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
1900
+ }
1901
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrRovingTabindex, decorators: [{
1902
+ type: Component,
1903
+ args: [{
1904
+ selector: '[clrRovingTabindex]',
1905
+ template: '<ng-content></ng-content>',
1906
+ standalone: false,
1907
+ }]
1908
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { rovingIndexItems: [{
1909
+ type: Input,
1910
+ args: ['clrRovingTabindex']
1911
+ }], rovingTabindexDisabled: [{
1912
+ type: Input,
1913
+ args: ['clrRovingTabindexDisabled']
1914
+ }] } });
1915
+
1916
+ /*
1917
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1918
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1919
+ * This software is released under MIT license.
1920
+ * The full license information can be found in LICENSE in the root directory of this project.
1921
+ */
1922
+ const KEY_FOCUS_DIRECTIVES = [ClrKeyFocus, ClrRovingTabindex, ClrKeyFocusItem];
1923
+ class ClrKeyFocusModule {
1924
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrKeyFocusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1925
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrKeyFocusModule, declarations: [ClrKeyFocus, ClrRovingTabindex, ClrKeyFocusItem], imports: [CommonModule], exports: [ClrKeyFocus, ClrRovingTabindex, ClrKeyFocusItem] }); }
1926
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrKeyFocusModule, imports: [CommonModule] }); }
1927
+ }
1928
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrKeyFocusModule, decorators: [{
1929
+ type: NgModule,
1930
+ args: [{
1931
+ imports: [CommonModule],
1932
+ declarations: [KEY_FOCUS_DIRECTIVES],
1933
+ exports: [KEY_FOCUS_DIRECTIVES],
1934
+ }]
1935
+ }] });
1936
+
1937
+ /*
1938
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1939
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1940
+ * This software is released under MIT license.
1941
+ * The full license information can be found in LICENSE in the root directory of this project.
1942
+ */
1943
+
1944
+ /*
1945
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1946
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1947
+ * This software is released under MIT license.
1948
+ * The full license information can be found in LICENSE in the root directory of this project.
1949
+ */
1950
+ class FocusableItem {
1951
+ }
1952
+
1953
+ /*
1954
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1955
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1956
+ * This software is released under MIT license.
1957
+ * The full license information can be found in LICENSE in the root directory of this project.
1958
+ */
1959
+ class MockFocusableItem {
1960
+ constructor(id) {
1961
+ this.id = id;
1962
+ this.disabled = false;
1963
+ }
1964
+ focus() {
1965
+ // Do nothing
1966
+ }
1967
+ blur() {
1968
+ // Do nothing
1969
+ }
1970
+ activate() {
1971
+ // Do nothing
1972
+ }
1973
+ }
1974
+
1975
+ /*
1976
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1977
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1978
+ * This software is released under MIT license.
1979
+ * The full license information can be found in LICENSE in the root directory of this project.
1980
+ */
1981
+ let NB_INSTANCES = 0;
1982
+ function uniqueIdFactory() {
1983
+ return 'clr-id-' + NB_INSTANCES++;
1984
+ }
1985
+
1986
+ /*
1987
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1988
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1989
+ * This software is released under MIT license.
1990
+ * The full license information can be found in LICENSE in the root directory of this project.
1991
+ */
1992
+ class BasicFocusableItem {
1993
+ constructor(el, renderer, platformId) {
1994
+ this.el = el;
1995
+ this.renderer = renderer;
1996
+ this.platformId = platformId;
1997
+ this.id = uniqueIdFactory();
1998
+ this.disabled = false;
1999
+ renderer.setAttribute(el.nativeElement, 'id', this.id);
2000
+ renderer.setAttribute(el.nativeElement, 'tabindex', '-1');
2001
+ }
2002
+ focus() {
2003
+ if (isPlatformBrowser(this.platformId)) {
2004
+ this.renderer.setAttribute(this.el.nativeElement, 'tabindex', '0');
2005
+ this.el.nativeElement.focus();
2006
+ this.el.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'nearest' });
2007
+ }
2008
+ }
2009
+ blur() {
2010
+ if (isPlatformBrowser(this.platformId)) {
2011
+ this.renderer.setAttribute(this.el.nativeElement, 'tabindex', '-1');
2012
+ this.el.nativeElement.blur();
2013
+ }
2014
+ }
2015
+ activate() {
2016
+ if (isPlatformBrowser(this.platformId)) {
2017
+ this.el.nativeElement.click();
2018
+ }
2019
+ }
2020
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: BasicFocusableItem, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
2021
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: BasicFocusableItem }); }
2022
+ }
2023
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: BasicFocusableItem, decorators: [{
2024
+ type: Injectable
2025
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
2026
+ type: Inject,
2027
+ args: [PLATFORM_ID]
2028
+ }] }] });
2029
+ const BASIC_FOCUSABLE_ITEM_PROVIDER = [
2030
+ {
2031
+ provide: FocusableItem,
2032
+ useClass: BasicFocusableItem,
2033
+ },
2034
+ ];
2035
+
2036
+ /*
2037
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2038
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2039
+ * This software is released under MIT license.
2040
+ * The full license information can be found in LICENSE in the root directory of this project.
2041
+ */
2042
+ function customFocusableItemProvider(implementation) {
2043
+ return [
2044
+ implementation,
2045
+ {
2046
+ provide: FocusableItem,
2047
+ useExisting: implementation,
2048
+ },
2049
+ ];
2050
+ }
2051
+
2052
+ /*
2053
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2054
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2055
+ * This software is released under MIT license.
2056
+ * The full license information can be found in LICENSE in the root directory of this project.
2057
+ */
2058
+ class Linkers {
2059
+ /**
2060
+ * Links a set of focusable items to a parent along one direction
2061
+ */
2062
+ static linkParent(items, parent, direction) {
2063
+ items.forEach(item => (item[direction] = parent));
2064
+ }
2065
+ /**
2066
+ * Double-links a set of focusable items vertically, possibly looping
2067
+ */
2068
+ static linkVertical(items, loop = true) {
2069
+ items.forEach((item, index) => {
2070
+ if (index > 0) {
2071
+ item.up = items[index - 1];
2072
+ }
2073
+ if (index < items.length - 1) {
2074
+ item.down = items[index + 1];
2075
+ }
2076
+ });
2077
+ if (loop && items.length > 1) {
2078
+ items[0].up = items[items.length - 1];
2079
+ items[items.length - 1].down = items[0];
2080
+ }
2081
+ }
2082
+ }
2083
+ // Right now I only need the two linkers above, but we can easily add more linkers. A couple examples:
2084
+ // export function linkHorizontal(items: FocusableItem[], loop = true);
2085
+ // export function linkTable(items: FocusableItem[][]);
2086
+
2087
+ /*
2088
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2089
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2090
+ * This software is released under MIT license.
2091
+ * The full license information can be found in LICENSE in the root directory of this project.
2092
+ */
2093
+ function wrapObservable(observable, onSubscribe, onUnsubscribe) {
2094
+ return Observable.create((observer) => {
2095
+ onSubscribe(observer);
2096
+ const subscription = observable.subscribe(observer);
2097
+ return () => {
2098
+ subscription.unsubscribe();
2099
+ if (onUnsubscribe) {
2100
+ onUnsubscribe(observer);
2101
+ }
2102
+ };
2103
+ });
2104
+ }
2105
+
2106
+ /*
2107
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2108
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2109
+ * This software is released under MIT license.
2110
+ * The full license information can be found in LICENSE in the root directory of this project.
2111
+ */
2112
+ var ArrowKeyDirection;
2113
+ (function (ArrowKeyDirection) {
2114
+ ArrowKeyDirection["UP"] = "up";
2115
+ ArrowKeyDirection["DOWN"] = "down";
2116
+ ArrowKeyDirection["LEFT"] = "left";
2117
+ ArrowKeyDirection["RIGHT"] = "right";
2118
+ })(ArrowKeyDirection || (ArrowKeyDirection = {}));
2119
+
2120
+ /*
2121
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2122
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2123
+ * This software is released under MIT license.
2124
+ * The full license information can be found in LICENSE in the root directory of this project.
2125
+ */
2126
+ class FocusService {
2127
+ constructor(renderer) {
2128
+ this.renderer = renderer;
2129
+ this._unlistenFuncsMap = new Map();
2130
+ }
2131
+ get current() {
2132
+ return this._current;
2133
+ }
2134
+ reset(first) {
2135
+ this._current = first;
2136
+ }
2137
+ registerContainer(el) {
2138
+ // The following listeners return false when there was an action to take for the key pressed,
2139
+ // in order to prevent the default behavior of that key.
2140
+ const unlistenFuncs = [];
2141
+ unlistenFuncs.push(this.renderer.listen(el, 'keydown.arrowup', () => !this.move(ArrowKeyDirection.UP)));
2142
+ unlistenFuncs.push(this.renderer.listen(el, 'keydown.arrowdown', () => !this.move(ArrowKeyDirection.DOWN)));
2143
+ unlistenFuncs.push(this.renderer.listen(el, 'keydown.arrowleft', () => !this.move(ArrowKeyDirection.LEFT)));
2144
+ // arrow right can be used only for nested triggers.
2145
+ // unlistenFuncs.push(this.renderer.listen(el, 'keydown.arrowright', () => !this.move(ArrowKeyDirection.RIGHT)));
2146
+ unlistenFuncs.push(this.renderer.listen(el, 'keydown.space', () => !this.activateCurrent()));
2147
+ unlistenFuncs.push(this.renderer.listen(el, 'keydown.enter', () => !this.activateCurrent()));
2148
+ this._unlistenFuncsMap.set(el, unlistenFuncs);
2149
+ }
2150
+ moveTo(item) {
2151
+ /**
2152
+ * Make sure that item is not undefined,
2153
+ * This is safety net in the case that someone sometime decide to
2154
+ * call this method without having FocusableItem.
2155
+ */
2156
+ if (item === undefined) {
2157
+ return;
2158
+ }
2159
+ if (this.current) {
2160
+ this.current.blur();
2161
+ }
2162
+ item.focus();
2163
+ this._current = item;
2164
+ }
2165
+ move(direction) {
2166
+ let moved = false;
2167
+ if (this.current) {
2168
+ const next = this.current[direction];
2169
+ if (next) {
2170
+ // Turning the value into an Observable isn't great, but it's the fastest way to avoid code duplication.
2171
+ // If performance ever matters for this, we can refactor using additional private methods.
2172
+ const nextObs = isObservable(next) ? next : of(next);
2173
+ nextObs.subscribe(item => {
2174
+ if (item) {
2175
+ this.moveTo(item);
2176
+ moved = true;
2177
+ }
2178
+ });
2179
+ }
2180
+ }
2181
+ return moved;
2182
+ }
2183
+ activateCurrent() {
2184
+ if (this.current && this.current.activate) {
2185
+ this.current.activate();
2186
+ return true;
2187
+ }
2188
+ return false;
2189
+ }
2190
+ detachListeners(el) {
2191
+ const unlistenFuncs = this._unlistenFuncsMap.get(el);
2192
+ unlistenFuncs?.forEach(unlisten => unlisten());
2193
+ this._unlistenFuncsMap.delete(el);
2194
+ }
2195
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: FocusService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
2196
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: FocusService }); }
2197
+ }
2198
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: FocusService, decorators: [{
2199
+ type: Injectable
2200
+ }], ctorParameters: () => [{ type: i0.Renderer2 }] });
2201
+ function clrFocusServiceFactory(existing, renderer) {
2202
+ return existing || new FocusService(renderer);
2203
+ }
2204
+ const FOCUS_SERVICE_PROVIDER = {
2205
+ provide: FocusService,
2206
+ useFactory: clrFocusServiceFactory,
2207
+ deps: [[new Optional(), new SkipSelf(), FocusService], Renderer2],
2208
+ };
2209
+
2210
+ /*
2211
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2212
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2213
+ * This software is released under MIT license.
2214
+ * The full license information can be found in LICENSE in the root directory of this project.
2215
+ */
2216
+ class ScrollingService {
2217
+ constructor(_document) {
2218
+ this._document = _document;
2219
+ }
2220
+ stopScrolling() {
2221
+ this._document.body.classList.add('no-scrolling');
2222
+ }
2223
+ resumeScrolling() {
2224
+ if (this._document.body.classList.contains('no-scrolling')) {
2225
+ this._document.body.classList.remove('no-scrolling');
2226
+ }
2227
+ }
2228
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ScrollingService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2229
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ScrollingService }); }
2230
+ }
2231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ScrollingService, decorators: [{
2232
+ type: Injectable
2233
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
2234
+ type: Inject,
2235
+ args: [DOCUMENT]
2236
+ }] }] });
2237
+
2238
+ /**
2239
+ * This is just a copy of CdkDrag so it can be used independent of the rest of the CdkDragDropModule.
2240
+ */
2241
+ class CdkDragModule_CdkDrag extends CdkDrag {
2242
+ /**
2243
+ * Include the constructor to forward all the dependencies to the base class
2244
+ * as a workaround to fix Angular "ɵɵinvalidFactoryDep" error after upgrading storybook
2245
+ * https://github.com/storybookjs/storybook/issues/23534
2246
+ */
2247
+ constructor(elementRef, dropContainer, document, ngZone, viewContainerRef, config, dir, dragDrop, changeDetectorRef) {
2248
+ super(elementRef, dropContainer, document, ngZone, viewContainerRef, config, dir, dragDrop, changeDetectorRef);
2249
+ }
2250
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkDragModule_CdkDrag, deps: [{ token: i0.ElementRef }, { token: CDK_DROP_LIST, optional: true }, { token: DOCUMENT, optional: true }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: CDK_DRAG_CONFIG, optional: true }, { token: i1$1.Directionality }, { token: i2$1.DragDrop }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
2251
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: CdkDragModule_CdkDrag, isStandalone: false, selector: "[cdkDrag]", usesInheritance: true, ngImport: i0 }); }
2252
+ }
2253
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkDragModule_CdkDrag, decorators: [{
2254
+ type: Directive,
2255
+ args: [{
2256
+ selector: '[cdkDrag]',
2257
+ standalone: false,
2258
+ }]
2259
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
2260
+ type: Optional
2261
+ }, {
2262
+ type: Inject,
2263
+ args: [CDK_DROP_LIST]
2264
+ }] }, { type: undefined, decorators: [{
2265
+ type: Optional
2266
+ }, {
2267
+ type: Inject,
2268
+ args: [DOCUMENT]
2269
+ }] }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
2270
+ type: Optional
2271
+ }, {
2272
+ type: Inject,
2273
+ args: [CDK_DRAG_CONFIG]
2274
+ }] }, { type: i1$1.Directionality }, { type: i2$1.DragDrop }, { type: i0.ChangeDetectorRef }] });
2275
+ /**
2276
+ * This module allows us to avoid importing all of CdkDragDropModule which results in a smaller application bundle.
2277
+ */
2278
+ class CdkDragModule {
2279
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkDragModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2280
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: CdkDragModule, declarations: [CdkDragModule_CdkDrag], exports: [CdkDragModule_CdkDrag] }); }
2281
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkDragModule }); }
2282
+ }
2283
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkDragModule, decorators: [{
2284
+ type: NgModule,
2285
+ args: [{
2286
+ declarations: [CdkDragModule_CdkDrag],
2287
+ exports: [CdkDragModule_CdkDrag],
2288
+ }]
2289
+ }] });
2290
+
2291
+ /*
2292
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2293
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2294
+ * This software is released under MIT license.
2295
+ * The full license information can be found in LICENSE in the root directory of this project.
2296
+ */
2297
+ /**
2298
+ * This is just a copy of CdkTrapFocus so it can be used independent of the rest of the A11yModule.
2299
+ */
2300
+ class CdkTrapFocusModule_CdkTrapFocus extends CdkTrapFocus {
2301
+ /**
2302
+ * Include the constructor to forward all the dependencies to the base class
2303
+ * as a workaround to fix Angular "ɵɵinvalidFactoryDep" error after upgrading storybook
2304
+ * https://github.com/storybookjs/storybook/issues/23534
2305
+ */
2306
+ constructor(elementRef, focusTrapFactory, document) {
2307
+ super(elementRef, focusTrapFactory, document);
2308
+ }
2309
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkTrapFocusModule_CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
2310
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: CdkTrapFocusModule_CdkTrapFocus, isStandalone: false, selector: "[cdkTrapFocus]", usesInheritance: true, ngImport: i0 }); }
2311
+ }
2312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkTrapFocusModule_CdkTrapFocus, decorators: [{
2313
+ type: Directive,
2314
+ args: [{
2315
+ selector: '[cdkTrapFocus]',
2316
+ standalone: false,
2317
+ }]
2318
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.FocusTrapFactory }, { type: undefined, decorators: [{
2319
+ type: Optional
2320
+ }, {
2321
+ type: Inject,
2322
+ args: [DOCUMENT]
2323
+ }] }] });
2324
+ /**
2325
+ * This module allows us to avoid importing all of A11yModule which results in a smaller application bundle.
2326
+ */
2327
+ class CdkTrapFocusModule {
2328
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkTrapFocusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2329
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: CdkTrapFocusModule, declarations: [CdkTrapFocusModule_CdkTrapFocus], exports: [CdkTrapFocusModule_CdkTrapFocus] }); }
2330
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkTrapFocusModule }); }
2331
+ }
2332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CdkTrapFocusModule, decorators: [{
2333
+ type: NgModule,
2334
+ args: [{
2335
+ declarations: [CdkTrapFocusModule_CdkTrapFocus],
2336
+ exports: [CdkTrapFocusModule_CdkTrapFocus],
2337
+ }]
2338
+ }] });
2339
+
2340
+ /*
2341
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2342
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2343
+ * This software is released under MIT license.
2344
+ * The full license information can be found in LICENSE in the root directory of this project.
2345
+ */
2346
+ /**
2347
+ * @description
2348
+ *
2349
+ * Developers should explicitly add this service to providers; it then can be injected
2350
+ * into a constructor and used as a notifier for the `takeUntil` operator. This eliminates
2351
+ * the need for boilerplates with subscriptions, and we don't need to implement the `OnDestroy`
2352
+ * interface and teardown subscriptions there.
2353
+ *
2354
+ * This can be used as follows:
2355
+ * ```ts
2356
+ * @Component({
2357
+ * selector: 'clr-button-group',
2358
+ * templateUrl: 'button-group.html',
2359
+ * providers: [ClrDestroyService],
2360
+ * })
2361
+ * export class ClrButtonGroup {
2362
+ * constructor(public buttonGroupNewService: ButtonInGroupService, private destroy$: ClrDestroyService) {}
2363
+ *
2364
+ * ngAfterContentInit() {
2365
+ * this.buttonGroupNewService.changes.pipe(takeUntil(this.destroy$)).subscribe(button => this.rearrangeButton(button));
2366
+ * }
2367
+ * }
2368
+ * ```
2369
+ */
2370
+ class ClrDestroyService extends Subject {
2371
+ ngOnDestroy() {
2372
+ this.next();
2373
+ this.complete();
2374
+ }
2375
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrDestroyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2376
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrDestroyService }); }
2377
+ }
2378
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrDestroyService, decorators: [{
2379
+ type: Injectable
2380
+ }] });
2381
+
2382
+ /*
2383
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2384
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2385
+ * This software is released under MIT license.
2386
+ * The full license information can be found in LICENSE in the root directory of this project.
2387
+ */
2388
+
2389
+ /*
2390
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2391
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2392
+ * This software is released under MIT license.
2393
+ * The full license information can be found in LICENSE in the root directory of this project.
2394
+ */
2395
+
2396
+ /*
2397
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2398
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2399
+ * This software is released under MIT license.
2400
+ * The full license information can be found in LICENSE in the root directory of this project.
2401
+ */
2402
+ /**
2403
+ * A (clockwise) enumeration for positions around an element.
2404
+ *
2405
+ * A B C
2406
+ * L ----------- D
2407
+ * | |
2408
+ * | |
2409
+ * K | | E
2410
+ * | |
2411
+ * | |
2412
+ * J ----------- F
2413
+ * I H G
2414
+ *
2415
+ * TOP_LEFT = A
2416
+ * TOP_CENTER = B
2417
+ * TOP_RIGHT = C
2418
+ * RIGHT_TOP = D
2419
+ * RIGHT_CENTER = E
2420
+ * RIGHT_BOTTOM = F
2421
+ * BOTTOM_RIGHT = G
2422
+ * BOTTOM_CENTER = H
2423
+ * BOTTOM_LEFT = I
2424
+ * LEFT_BOTTOM = J
2425
+ * LEFT_CENTER = K
2426
+ * LEFT_TOP = L
2427
+ *
2428
+ *
2429
+ * Consumers tell us that they want something to display on the TOP_LEFT of the trigger and that they want the
2430
+ * _content_ container to anchor/orient AT the bottom left.
2431
+ * In order to calculate the position for the content I need to match up the anchor/toggle ClrPosition with the
2432
+ * content ClrPosition.
2433
+ *
2434
+ * Anchor TOP_LEFT **AT** Content BOTTOM_LEFT.
2435
+ * -----------
2436
+ * | |
2437
+ * | |
2438
+ * | content |
2439
+ * | |
2440
+ * | |
2441
+ * -----------
2442
+ * |/
2443
+ * -----------
2444
+ * | |
2445
+ * | |
2446
+ * | trigger |
2447
+ * | |
2448
+ * | |
2449
+ * -----------
2450
+ *
2451
+ */
2452
+ var ClrPosition;
2453
+ (function (ClrPosition) {
2454
+ ClrPosition[ClrPosition["TOP_LEFT"] = 0] = "TOP_LEFT";
2455
+ ClrPosition[ClrPosition["TOP_CENTER"] = 1] = "TOP_CENTER";
2456
+ ClrPosition[ClrPosition["TOP_RIGHT"] = 2] = "TOP_RIGHT";
2457
+ ClrPosition[ClrPosition["RIGHT_TOP"] = 3] = "RIGHT_TOP";
2458
+ ClrPosition[ClrPosition["RIGHT_CENTER"] = 4] = "RIGHT_CENTER";
2459
+ ClrPosition[ClrPosition["RIGHT_BOTTOM"] = 5] = "RIGHT_BOTTOM";
2460
+ ClrPosition[ClrPosition["BOTTOM_RIGHT"] = 6] = "BOTTOM_RIGHT";
2461
+ ClrPosition[ClrPosition["BOTTOM_CENTER"] = 7] = "BOTTOM_CENTER";
2462
+ ClrPosition[ClrPosition["BOTTOM_LEFT"] = 8] = "BOTTOM_LEFT";
2463
+ ClrPosition[ClrPosition["LEFT_BOTTOM"] = 9] = "LEFT_BOTTOM";
2464
+ ClrPosition[ClrPosition["LEFT_CENTER"] = 10] = "LEFT_CENTER";
2465
+ ClrPosition[ClrPosition["LEFT_TOP"] = 11] = "LEFT_TOP";
2466
+ })(ClrPosition || (ClrPosition = {}));
2467
+
2468
+ /*
2469
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2470
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2471
+ * This software is released under MIT license.
2472
+ * The full license information can be found in LICENSE in the root directory of this project.
2473
+ */
2474
+ /*
2475
+ * After a conversation with the Angular core team, it turns out we don't have much of a choice for our
2476
+ * declarative API, we need to fight against change detection and its one-way flow. This is
2477
+ * currently the least dirty solution to do what we want.
2478
+ *
2479
+ * Do not modify or even use this class unless you know exactly what you're doing.
2480
+ * It has the potential to trigger change detection loops or kill app performances.
2481
+ */
2482
+ class WillyWonka {
2483
+ constructor() {
2484
+ this.disableChocolateCheck = false;
2485
+ this._chocolate = new Subject();
2486
+ }
2487
+ get chocolate() {
2488
+ return this._chocolate.asObservable();
2489
+ }
2490
+ ngAfterViewChecked() {
2491
+ if (!this.disableChocolateCheck) {
2492
+ this._chocolate.next();
2493
+ }
2494
+ }
2495
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: WillyWonka, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2496
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: WillyWonka, isStandalone: true, ngImport: i0 }); }
2497
+ }
2498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: WillyWonka, decorators: [{
2499
+ type: Directive
2500
+ }] });
2501
+
2502
+ /*
2503
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2504
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2505
+ * This software is released under MIT license.
2506
+ * The full license information can be found in LICENSE in the root directory of this project.
2507
+ */
2508
+ class OompaLoompa {
2509
+ // FIXME: Request Injector once we move to Angular 4.2+, it'll allow easier refactors
2510
+ constructor(cdr, willyWonka) {
2511
+ this.subscription = willyWonka.chocolate.subscribe(() => {
2512
+ if (this.latestFlavor !== this.flavor) {
2513
+ willyWonka.disableChocolateCheck = true;
2514
+ cdr.detectChanges();
2515
+ willyWonka.disableChocolateCheck = false;
2516
+ }
2517
+ });
2518
+ }
2519
+ ngAfterContentChecked() {
2520
+ this.latestFlavor = this.flavor;
2521
+ }
2522
+ ngOnDestroy() {
2523
+ this.subscription.unsubscribe();
2524
+ }
2525
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OompaLoompa, deps: [{ token: i0.ChangeDetectorRef }, { token: WillyWonka }], target: i0.ɵɵFactoryTarget.Directive }); }
2526
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: OompaLoompa, isStandalone: true, ngImport: i0 }); }
2527
+ }
2528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OompaLoompa, decorators: [{
2529
+ type: Directive
2530
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: WillyWonka }] });
2531
+
2532
+ /*
2533
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
2534
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
2535
+ * This software is released under MIT license.
2536
+ * The full license information can be found in LICENSE in the root directory of this project.
2537
+ */
2538
+
2539
+ /**
2540
+ * Generated bundle index. Do not edit.
2541
+ */
2542
+
2543
+ export { ArrowKeyDirection, BASIC_FOCUSABLE_ITEM_PROVIDER, BaseExpandableAnimation, BasicFocusableItem, CLR_LOADING_DIRECTIVES, CONDITIONAL_DIRECTIVES, CdkDragModule, CdkDragModule_CdkDrag, CdkTrapFocusModule, CdkTrapFocusModule_CdkTrapFocus, ClrCommonStringsService, ClrConditionalModule, ClrDestroyService, ClrExpandableAnimation, ClrExpandableAnimationDirective, ClrExpandableAnimationModule, ClrFocusOnViewInit, ClrFocusOnViewInitModule, ClrHostWrappingModule, ClrIfActive, ClrIfExpanded, ClrKeyFocus, ClrKeyFocusItem, ClrKeyFocusModule, ClrLoading, ClrLoadingModule, ClrLoadingState, ClrOutsideClickModule, ClrPosition, ClrRovingTabindex, ClrStandaloneCdkTrapFocus, ClrTemplateRefModule, DATEPICKER_ENABLE_BREAKPOINT, DomAdapter, EXPANDABLE_ANIMATION_DIRECTIVES, EXTRA_LARGE_BREAKPOINT, EmptyAnchor, FOCUS_ON_VIEW_INIT, FOCUS_ON_VIEW_INIT_DIRECTIVES, FOCUS_SERVICE_PROVIDER, FocusService, FocusableItem, HostWrapper, IEKeys, IF_ACTIVE_ID, IF_ACTIVE_ID_PROVIDER, IfActiveService, IfExpandService, Keys, LARGE_BREAKPOINT, Linkers, LoadingListener, MEDIUM_BREAKPOINT, MOCK_DOM_ADAPTER_PROVIDER, MockDomAdapter, MockFocusableItem, OUSTIDE_CLICK_DIRECTIVES, OompaLoompa, OutsideClick, SMALL_BREAKPOINT, ScrollingService, TemplateRefContainer, WillyWonka, assertNever, clrFocusServiceFactory, collapse, commonStringsDefault, customFocusableItemProvider, defaultAnimationTiming, defaultExpandAnimation, fade, fadeSlide, isBooleanAttributeSet, isKeyEitherLetterOrNumber, normalizeKey, preventArrowKeyScroll, slide, tokenFactory, triggerAllFormControlValidation, uniqueIdFactory, wrapObservable };
2544
+ //# sourceMappingURL=clr-angular-utils.mjs.map