@clr/angular 17.12.2 → 18.0.0-beta.2

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 +7587 -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 +9131 -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 +270 -0
  27. package/fesm2022/clr-angular-forms-checkbox.mjs.map +1 -0
  28. package/fesm2022/clr-angular-forms-combobox.mjs +1478 -0
  29. package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -0
  30. package/fesm2022/clr-angular-forms-common.mjs +1238 -0
  31. package/fesm2022/clr-angular-forms-common.mjs.map +1 -0
  32. package/fesm2022/clr-angular-forms-datalist.mjs +263 -0
  33. package/fesm2022/clr-angular-forms-datalist.mjs.map +1 -0
  34. package/fesm2022/clr-angular-forms-datepicker.mjs +3222 -0
  35. package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -0
  36. package/fesm2022/clr-angular-forms-file-input.mjs +827 -0
  37. package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -0
  38. package/fesm2022/clr-angular-forms-input.mjs +153 -0
  39. package/fesm2022/clr-angular-forms-input.mjs.map +1 -0
  40. package/fesm2022/clr-angular-forms-number-input.mjs +237 -0
  41. package/fesm2022/clr-angular-forms-number-input.mjs.map +1 -0
  42. package/fesm2022/clr-angular-forms-password.mjs +233 -0
  43. package/fesm2022/clr-angular-forms-password.mjs.map +1 -0
  44. package/fesm2022/clr-angular-forms-radio.mjs +231 -0
  45. package/fesm2022/clr-angular-forms-radio.mjs.map +1 -0
  46. package/fesm2022/clr-angular-forms-range.mjs +186 -0
  47. package/fesm2022/clr-angular-forms-range.mjs.map +1 -0
  48. package/fesm2022/clr-angular-forms-select.mjs +153 -0
  49. package/fesm2022/clr-angular-forms-select.mjs.map +1 -0
  50. package/fesm2022/clr-angular-forms-textarea.mjs +136 -0
  51. package/fesm2022/clr-angular-forms-textarea.mjs.map +1 -0
  52. package/fesm2022/clr-angular-forms.mjs +8492 -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 +1093 -0
  71. package/fesm2022/clr-angular-popover-common.mjs.map +1 -0
  72. package/fesm2022/clr-angular-popover-dropdown.mjs +492 -0
  73. package/fesm2022/clr-angular-popover-dropdown.mjs.map +1 -0
  74. package/fesm2022/clr-angular-popover-signpost.mjs +493 -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 +2355 -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 +2509 -0
  93. package/fesm2022/clr-angular-utils.mjs.map +1 -0
  94. package/fesm2022/clr-angular-wizard.mjs +2871 -0
  95. package/fesm2022/clr-angular-wizard.mjs.map +1 -0
  96. package/fesm2022/clr-angular.mjs +38714 -0
  97. package/fesm2022/clr-angular.mjs.map +1 -0
  98. package/package.json +197 -18
  99. package/popover/common/README.md +112 -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 +1840 -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 +2137 -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 +307 -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 +958 -0
  117. package/types/clr-angular-forms-file-input.d.ts +193 -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 +2088 -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 +255 -0
  135. package/types/clr-angular-popover-dropdown.d.ts +123 -0
  136. package/types/clr-angular-popover-signpost.d.ts +157 -0
  137. package/types/clr-angular-popover-tooltip.d.ts +83 -0
  138. package/types/clr-angular-popover.d.ts +602 -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 +1065 -0
  146. package/types/clr-angular-wizard.d.ts +1454 -0
  147. package/types/clr-angular.d.ts +10289 -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,1478 @@
1
+ import * as i3 from '@angular/common';
2
+ import { isPlatformBrowser, NgForOf, CommonModule } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { Injectable, ViewChild, Optional, Component, Input, Directive, PLATFORM_ID, Inject, HostListener, HostBinding, DOCUMENT, ContentChildren, EventEmitter, ContentChild, Output, Self, NgModule } from '@angular/core';
5
+ import * as i1$1 from '@angular/forms';
6
+ import { FormsModule } from '@angular/forms';
7
+ import * as i1 from '@clr/angular/forms/common';
8
+ import { ClrAbstractContainer, NgControlService, ControlIdService, ControlClassService, WrappedFormControl, ClrCommonFormsModule } from '@clr/angular/forms/common';
9
+ import * as i8 from '@clr/angular/icon';
10
+ import { ClarityIcons, successStandardIcon, errorStandardIcon, angleIcon, windowCloseIcon, ClrIcon } from '@clr/angular/icon';
11
+ import * as i4 from '@clr/angular/popover/common';
12
+ import { POPOVER_HOST_ORIGIN, ClrPopoverPosition, ClrPopoverType, ClrPopoverHostDirective, ÇlrClrPopoverModuleNext as _lrClrPopoverModuleNext } from '@clr/angular/popover/common';
13
+ import * as i5 from '@clr/angular/progress/spinner';
14
+ import { ClrSpinnerModule } from '@clr/angular/progress/spinner';
15
+ import * as i3$1 from '@clr/angular/utils';
16
+ import { ArrowKeyDirection, Keys, customFocusableItemProvider, uniqueIdFactory, ClrLoadingState, IF_ACTIVE_ID, LoadingListener, IF_ACTIVE_ID_PROVIDER, FOCUS_SERVICE_PROVIDER, ClrConditionalModule, ClrKeyFocusModule } from '@clr/angular/utils';
17
+ import { take } from 'rxjs/operators';
18
+ import { BehaviorSubject, ReplaySubject } from 'rxjs';
19
+
20
+ /*
21
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
22
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
23
+ * This software is released under MIT license.
24
+ * The full license information can be found in LICENSE in the root directory of this project.
25
+ */
26
+ class ComboboxContainerService {
27
+ constructor() {
28
+ this.labelOffset = 0;
29
+ }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ComboboxContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
31
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ComboboxContainerService }); }
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ComboboxContainerService, decorators: [{
34
+ type: Injectable
35
+ }] });
36
+
37
+ /*
38
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
39
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
40
+ * This software is released under MIT license.
41
+ * The full license information can be found in LICENSE in the root directory of this project.
42
+ */
43
+ class ClrComboboxContainer extends ClrAbstractContainer {
44
+ constructor(layoutService, controlClassService, ngControlService, containerService, el) {
45
+ super(layoutService, controlClassService, ngControlService);
46
+ this.containerService = containerService;
47
+ this.el = el;
48
+ }
49
+ ngAfterContentInit() {
50
+ if (this.label) {
51
+ this.containerService.labelText = this.label.labelText;
52
+ }
53
+ }
54
+ ngAfterViewInit() {
55
+ this.containerService.labelOffset =
56
+ this.controlContainer.nativeElement.offsetHeight - this.el.nativeElement.offsetHeight;
57
+ }
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrComboboxContainer, deps: [{ token: i1.LayoutService, optional: true }, { token: i1.ControlClassService }, { token: i1.NgControlService }, { token: ComboboxContainerService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
59
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: ClrComboboxContainer, isStandalone: false, selector: "clr-combobox-container", host: { properties: { "class.clr-form-control": "true", "class.clr-combobox-form-control": "true", "class.clr-form-control-disabled": "control?.disabled", "class.clr-row": "addGrid()" } }, providers: [NgControlService, ControlIdService, ControlClassService, ComboboxContainerService], viewQueries: [{ propertyName: "controlContainer", first: true, predicate: ["controlContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
60
+ <ng-content select="label"></ng-content>
61
+ @if (!label && addGrid()) {
62
+ <label></label>
63
+ }
64
+ <div class="clr-control-container" [ngClass]="controlClass()" #controlContainer>
65
+ <ng-content select="clr-combobox"></ng-content>
66
+ @if (showHelper) {
67
+ <ng-content select="clr-control-helper"></ng-content>
68
+ }
69
+ @if (showInvalid) {
70
+ <ng-content select="clr-control-error"></ng-content>
71
+ }
72
+ @if (showValid) {
73
+ <ng-content select="clr-control-success"></ng-content>
74
+ }
75
+ </div>
76
+ `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.ClrControlLabel, selector: "label", inputs: ["id", "for"] }] }); }
77
+ }
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrComboboxContainer, decorators: [{
79
+ type: Component,
80
+ args: [{
81
+ selector: 'clr-combobox-container',
82
+ template: `
83
+ <ng-content select="label"></ng-content>
84
+ @if (!label && addGrid()) {
85
+ <label></label>
86
+ }
87
+ <div class="clr-control-container" [ngClass]="controlClass()" #controlContainer>
88
+ <ng-content select="clr-combobox"></ng-content>
89
+ @if (showHelper) {
90
+ <ng-content select="clr-control-helper"></ng-content>
91
+ }
92
+ @if (showInvalid) {
93
+ <ng-content select="clr-control-error"></ng-content>
94
+ }
95
+ @if (showValid) {
96
+ <ng-content select="clr-control-success"></ng-content>
97
+ }
98
+ </div>
99
+ `,
100
+ host: {
101
+ '[class.clr-form-control]': 'true',
102
+ '[class.clr-combobox-form-control]': 'true',
103
+ '[class.clr-form-control-disabled]': 'control?.disabled',
104
+ '[class.clr-row]': 'addGrid()',
105
+ },
106
+ providers: [NgControlService, ControlIdService, ControlClassService, ComboboxContainerService],
107
+ standalone: false,
108
+ }]
109
+ }], ctorParameters: () => [{ type: i1.LayoutService, decorators: [{
110
+ type: Optional
111
+ }] }, { type: i1.ControlClassService }, { type: i1.NgControlService }, { type: ComboboxContainerService }, { type: i0.ElementRef }], propDecorators: { controlContainer: [{
112
+ type: ViewChild,
113
+ args: ['controlContainer']
114
+ }] } });
115
+
116
+ /*
117
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
118
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
119
+ * This software is released under MIT license.
120
+ * The full license information can be found in LICENSE in the root directory of this project.
121
+ */
122
+ class ComboboxModel {
123
+ constructor() {
124
+ this.identityFn = (item) => item;
125
+ }
126
+ }
127
+
128
+ /*
129
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
130
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
131
+ * This software is released under MIT license.
132
+ * The full license information can be found in LICENSE in the root directory of this project.
133
+ */
134
+ class MultiSelectComboboxModel extends ComboboxModel {
135
+ containsItem(item) {
136
+ if (!this.model) {
137
+ return false;
138
+ }
139
+ return this.model.some(m => this.identityFn(m) === this.identityFn(item));
140
+ }
141
+ select(item) {
142
+ this.addItem(item);
143
+ }
144
+ unselect(item) {
145
+ this.removeItem(item);
146
+ }
147
+ isEmpty() {
148
+ return !(this.model && this.model.length > 0);
149
+ }
150
+ pop() {
151
+ let item;
152
+ if (this.model && this.model.length > 0) {
153
+ item = this.model[this.model.length - 1];
154
+ this.removeItem(item);
155
+ }
156
+ return item;
157
+ }
158
+ toString(displayField, index = -1) {
159
+ let displayString = '';
160
+ if (this.model) {
161
+ // If the model is array, we can use a specific item from it, to retrieve the display value.
162
+ if (index > -1) {
163
+ if (this.model[index]) {
164
+ // If we have a defined display field, we'll use it's value as display value
165
+ if (displayField && this.model[index][displayField]) {
166
+ displayString += this.model[index][displayField];
167
+ }
168
+ else {
169
+ // If we don't have a defined display field, we'll use the toString representation of the
170
+ // item as display value.
171
+ displayString += this.model[index].toString();
172
+ }
173
+ }
174
+ }
175
+ else {
176
+ this.model.forEach((model) => {
177
+ // If we have a defined display field, we'll use it's value as display value
178
+ if (displayField && model[displayField]) {
179
+ displayString += model[displayField];
180
+ }
181
+ else {
182
+ // If we don't have a defined display field, we'll use the toString representation of the
183
+ // model as display value.
184
+ displayString += model.toString();
185
+ }
186
+ displayString += ' ';
187
+ });
188
+ }
189
+ }
190
+ return displayString.trim();
191
+ }
192
+ addItem(item) {
193
+ if (!this.containsItem(item)) {
194
+ this.model = this.model || [];
195
+ this.model.push(item);
196
+ }
197
+ }
198
+ removeItem(item) {
199
+ if (this.model === null || this.model === undefined) {
200
+ return;
201
+ }
202
+ const index = this.model.findIndex(m => this.identityFn(m) === this.identityFn(item));
203
+ if (index > -1) {
204
+ this.model.splice(index, 1);
205
+ }
206
+ // we intentionally set the model to null for form validation
207
+ if (this.model.length === 0) {
208
+ this.model = null;
209
+ }
210
+ }
211
+ }
212
+
213
+ /*
214
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
215
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
216
+ * This software is released under MIT license.
217
+ * The full license information can be found in LICENSE in the root directory of this project.
218
+ */
219
+ class SingleSelectComboboxModel extends ComboboxModel {
220
+ containsItem(item) {
221
+ return this.model !== null && this.identityFn(this.model) === this.identityFn(item);
222
+ }
223
+ select(item) {
224
+ this.model = item;
225
+ }
226
+ unselect(item) {
227
+ if (this.containsItem(item)) {
228
+ this.model = null;
229
+ }
230
+ }
231
+ isEmpty() {
232
+ return !this.model;
233
+ }
234
+ pop() {
235
+ const item = this.model;
236
+ this.model = null;
237
+ return item;
238
+ }
239
+ toString(displayField) {
240
+ if (!this.model) {
241
+ return '';
242
+ }
243
+ if (displayField && this.model[displayField]) {
244
+ return this.model[displayField];
245
+ }
246
+ else {
247
+ return this.model.toString();
248
+ }
249
+ }
250
+ }
251
+
252
+ /*
253
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
254
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
255
+ * This software is released under MIT license.
256
+ * The full license information can be found in LICENSE in the root directory of this project.
257
+ */
258
+ class ClrOptionSelected {
259
+ constructor(template) {
260
+ this.template = template;
261
+ }
262
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOptionSelected, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
263
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrOptionSelected, isStandalone: false, selector: "[clrOptionSelected]", inputs: { selected: ["clrOptionSelected", "selected"] }, ngImport: i0 }); }
264
+ }
265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOptionSelected, decorators: [{
266
+ type: Directive,
267
+ args: [{
268
+ selector: '[clrOptionSelected]',
269
+ standalone: false,
270
+ }]
271
+ }], ctorParameters: () => [{ type: i0.TemplateRef }], propDecorators: { selected: [{
272
+ type: Input,
273
+ args: ['clrOptionSelected']
274
+ }] } });
275
+
276
+ /*
277
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
278
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
279
+ * This software is released under MIT license.
280
+ * The full license information can be found in LICENSE in the root directory of this project.
281
+ */
282
+ class PseudoFocusModel extends SingleSelectComboboxModel {
283
+ constructor() {
284
+ super(...arguments);
285
+ this._focusChanged = new BehaviorSubject(null);
286
+ }
287
+ get focusChanged() {
288
+ return this._focusChanged.asObservable();
289
+ }
290
+ select(item) {
291
+ if (this.model !== item) {
292
+ this.model = item;
293
+ this._focusChanged.next(item);
294
+ }
295
+ }
296
+ }
297
+
298
+ /*
299
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
300
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
301
+ * This software is released under MIT license.
302
+ * The full license information can be found in LICENSE in the root directory of this project.
303
+ */
304
+ class OptionSelectionService {
305
+ constructor() {
306
+ this.loading = false;
307
+ this.editable = false;
308
+ this.filtering = true;
309
+ // Display all options on first open, even if filter text exists.
310
+ // https://github.com/vmware-clarity/ng-clarity/issues/386
311
+ this.showAllOptions = true;
312
+ this._currentInput = '';
313
+ this._inputChanged = new BehaviorSubject('');
314
+ this._selectionChanged = new ReplaySubject(1);
315
+ this._identityFn = (item) => item;
316
+ this.inputChanged = this._inputChanged.asObservable();
317
+ }
318
+ get displayField() {
319
+ return this._displayField;
320
+ }
321
+ set displayField(value) {
322
+ this._displayField = value;
323
+ if (this.selectionModel) {
324
+ this.selectionModel.displayField = value;
325
+ }
326
+ }
327
+ get currentInput() {
328
+ return this._currentInput;
329
+ }
330
+ set currentInput(input) {
331
+ // clear value in single selection model when input is empty
332
+ if (input === '' && !this.multiselectable) {
333
+ this.setSelectionValue(null);
334
+ }
335
+ this._currentInput = input;
336
+ this._inputChanged.next(input);
337
+ }
338
+ // This observable is for notifying the ClrOption to update its
339
+ // selection by comparing the value
340
+ get selectionChanged() {
341
+ return this._selectionChanged.asObservable();
342
+ }
343
+ get multiselectable() {
344
+ return this.selectionModel instanceof MultiSelectComboboxModel;
345
+ }
346
+ get identityFn() {
347
+ return this._identityFn;
348
+ }
349
+ set identityFn(value) {
350
+ this._identityFn = value || ((item) => item);
351
+ if (this.selectionModel) {
352
+ this.selectionModel.identityFn = this._identityFn;
353
+ }
354
+ }
355
+ select(item) {
356
+ if (item === null || item === undefined || this.selectionModel.containsItem(item)) {
357
+ return;
358
+ }
359
+ this.selectionModel.select(item);
360
+ this._selectionChanged.next(this.selectionModel);
361
+ }
362
+ toggle(item) {
363
+ if (item === null || item === undefined) {
364
+ return;
365
+ }
366
+ if (this.selectionModel.containsItem(item)) {
367
+ this.selectionModel.unselect(item);
368
+ }
369
+ else {
370
+ this.selectionModel.select(item);
371
+ }
372
+ this._selectionChanged.next(this.selectionModel);
373
+ }
374
+ unselect(item) {
375
+ if (item === null || item === undefined || !this.selectionModel.containsItem(item)) {
376
+ return;
377
+ }
378
+ this.selectionModel.unselect(item);
379
+ this._selectionChanged.next(this.selectionModel);
380
+ }
381
+ setSelectionValue(value) {
382
+ if (!this.selectionModel) {
383
+ return;
384
+ }
385
+ const current = this.selectionModel.model;
386
+ if (this.valuesEqualByIdentity(current, value)) {
387
+ return;
388
+ }
389
+ this.selectionModel.model = value;
390
+ this._selectionChanged.next(this.selectionModel);
391
+ }
392
+ parseStringToModel(value) {
393
+ if (this.displayField) {
394
+ return {
395
+ [this.displayField]: value,
396
+ };
397
+ }
398
+ return value;
399
+ }
400
+ valuesEqualByIdentity(current, value) {
401
+ if (current === value) {
402
+ return true;
403
+ }
404
+ // Check if both are null or undefined or empty string.
405
+ if ((current === null || current === undefined || current === '') &&
406
+ (value === null || value === undefined || value === '')) {
407
+ return true;
408
+ }
409
+ // Check if one is null or undefined or empty string and the other is not.
410
+ if (current === null ||
411
+ current === undefined ||
412
+ current === '' ||
413
+ value === null ||
414
+ value === undefined ||
415
+ value === '') {
416
+ return false;
417
+ }
418
+ if (this.multiselectable) {
419
+ const cur = current;
420
+ const val = value;
421
+ if (cur.length !== val.length) {
422
+ return false;
423
+ }
424
+ // We only consider values equal if they are ordered the same way.
425
+ const curIds = cur.map(this._identityFn);
426
+ const valIds = val.map(this._identityFn);
427
+ return curIds.every((id, i) => id === valIds[i]);
428
+ }
429
+ else {
430
+ return this._identityFn(current) === this._identityFn(value);
431
+ }
432
+ }
433
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OptionSelectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
434
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OptionSelectionService }); }
435
+ }
436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: OptionSelectionService, decorators: [{
437
+ type: Injectable
438
+ }], ctorParameters: () => [] });
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 ComboboxFocusHandler {
447
+ constructor(rendererFactory, popoverService, selectionService, platformId) {
448
+ this.popoverService = popoverService;
449
+ this.selectionService = selectionService;
450
+ this.platformId = platformId;
451
+ this.pseudoFocus = new PseudoFocusModel();
452
+ this.optionData = [];
453
+ this.handleFocusSubscription();
454
+ // Direct renderer injection can be problematic and leads to failing tests at least
455
+ this.renderer = rendererFactory.createRenderer(null, null);
456
+ }
457
+ get trigger() {
458
+ return this._trigger;
459
+ }
460
+ set trigger(el) {
461
+ this._trigger = el;
462
+ this.addFocusOnBlurListener(el);
463
+ }
464
+ get listbox() {
465
+ return this._listbox;
466
+ }
467
+ set listbox(el) {
468
+ this._listbox = el;
469
+ this.addFocusOnBlurListener(el);
470
+ }
471
+ get textInput() {
472
+ return this._textInput;
473
+ }
474
+ set textInput(el) {
475
+ this._textInput = el;
476
+ this.renderer.listen(el, 'keydown', event => !this.handleTextInput(event));
477
+ this.addFocusOnBlurListener(el);
478
+ }
479
+ focusInput() {
480
+ if (this.textInput && isPlatformBrowser(this.platformId)) {
481
+ this.textInput.focus({ preventScroll: true });
482
+ }
483
+ }
484
+ focusFirstActive() {
485
+ if (this.optionData.length > 0) {
486
+ if (this.selectionService.selectionModel.isEmpty()) {
487
+ this.pseudoFocus.select(this.optionData[0]);
488
+ }
489
+ else {
490
+ let firstActive;
491
+ if (this.selectionService.multiselectable) {
492
+ firstActive = this.selectionService.selectionModel.model[0];
493
+ }
494
+ else {
495
+ firstActive = this.selectionService.selectionModel.model;
496
+ }
497
+ const activeProxy = this.optionData.find(option => option.value === firstActive);
498
+ if (activeProxy) {
499
+ // active element is visible
500
+ this.pseudoFocus.select(activeProxy);
501
+ }
502
+ else {
503
+ // we have active element, but it's filtered out
504
+ this.pseudoFocus.select(this.optionData[0]);
505
+ }
506
+ this.scrollIntoSelectedModel('auto');
507
+ }
508
+ }
509
+ }
510
+ addOptionValues(options) {
511
+ this.optionData = options;
512
+ }
513
+ handleFocusSubscription() {
514
+ this.popoverService.openChange.subscribe(open => {
515
+ if (!open) {
516
+ this.pseudoFocus.model = null;
517
+ }
518
+ });
519
+ }
520
+ moveFocusTo(direction) {
521
+ let index = this.optionData.findIndex(option => option.equals(this.pseudoFocus.model));
522
+ if (direction === ArrowKeyDirection.UP) {
523
+ if (index === -1 || index === 0) {
524
+ index = this.optionData.length - 1;
525
+ }
526
+ else {
527
+ index--;
528
+ }
529
+ }
530
+ else if (direction === ArrowKeyDirection.DOWN) {
531
+ if (index === -1 || index === this.optionData.length - 1) {
532
+ index = 0;
533
+ }
534
+ else {
535
+ index++;
536
+ }
537
+ }
538
+ this.pseudoFocus.select(this.optionData[index]);
539
+ this.scrollIntoSelectedModel();
540
+ }
541
+ openAndMoveTo(direction) {
542
+ if (!this.popoverService.open) {
543
+ this.popoverService.openChange.pipe(take(1)).subscribe(open => {
544
+ if (open) {
545
+ this.moveFocusTo(direction);
546
+ }
547
+ });
548
+ this.popoverService.open = true;
549
+ }
550
+ else {
551
+ this.moveFocusTo(direction);
552
+ }
553
+ }
554
+ // this service is only interested in keys that may move the focus
555
+ handleTextInput(event) {
556
+ let preventDefault = false;
557
+ const key = event.key;
558
+ if (event) {
559
+ switch (key) {
560
+ case Keys.Enter:
561
+ if (this.popoverService.open && this.pseudoFocus.model) {
562
+ if (this.selectionService.multiselectable) {
563
+ this.selectionService.toggle(this.pseudoFocus.model.value);
564
+ }
565
+ else {
566
+ this.selectionService.select(this.pseudoFocus.model.value);
567
+ }
568
+ preventDefault = true;
569
+ }
570
+ break;
571
+ case Keys.Space:
572
+ if (!this.popoverService.open) {
573
+ this.popoverService.open = true;
574
+ preventDefault = true;
575
+ }
576
+ break;
577
+ case Keys.ArrowUp:
578
+ this.preventViewportScrolling(event);
579
+ this.openAndMoveTo(ArrowKeyDirection.UP);
580
+ preventDefault = true;
581
+ break;
582
+ case Keys.ArrowDown:
583
+ this.preventViewportScrolling(event);
584
+ this.openAndMoveTo(ArrowKeyDirection.DOWN);
585
+ preventDefault = true;
586
+ break;
587
+ default:
588
+ // Any other keypress
589
+ if (event.key !== Keys.Tab &&
590
+ !(this.selectionService.multiselectable && event.key === Keys.Backspace) &&
591
+ !(event.key === Keys.Escape) &&
592
+ !this.popoverService.open) {
593
+ this.popoverService.open = true;
594
+ }
595
+ break;
596
+ }
597
+ }
598
+ return preventDefault;
599
+ }
600
+ scrollIntoSelectedModel(behavior = 'smooth') {
601
+ if (this.pseudoFocus.model && this.pseudoFocus.model.el) {
602
+ this.pseudoFocus.model.el.scrollIntoView({ behavior, block: 'center', inline: 'nearest' });
603
+ }
604
+ }
605
+ preventViewportScrolling(event) {
606
+ event.preventDefault();
607
+ event.stopImmediatePropagation();
608
+ }
609
+ addFocusOnBlurListener(el) {
610
+ if (isPlatformBrowser(this.platformId)) {
611
+ this.renderer.listen(el, 'blur', event => {
612
+ if (this.focusOutOfComponent(event)) {
613
+ this.popoverService.open = false;
614
+ }
615
+ });
616
+ }
617
+ }
618
+ focusOutOfComponent(event) {
619
+ const target = event.relatedTarget;
620
+ return !(this.textInput.contains(target) || this.trigger.contains(target) || this.listbox.contains(target));
621
+ }
622
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ComboboxFocusHandler, deps: [{ token: i0.RendererFactory2 }, { token: i4.ClrPopoverService }, { token: OptionSelectionService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
623
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ComboboxFocusHandler }); }
624
+ }
625
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ComboboxFocusHandler, decorators: [{
626
+ type: Injectable
627
+ }], ctorParameters: () => [{ type: i0.RendererFactory2 }, { type: i4.ClrPopoverService }, { type: OptionSelectionService }, { type: undefined, decorators: [{
628
+ type: Inject,
629
+ args: [PLATFORM_ID]
630
+ }] }] });
631
+ const COMBOBOX_FOCUS_HANDLER_PROVIDER = customFocusableItemProvider(ComboboxFocusHandler);
632
+ class OptionData {
633
+ constructor(id, value) {
634
+ this.id = id;
635
+ this.value = value;
636
+ }
637
+ equals(other) {
638
+ if (!other) {
639
+ return false;
640
+ }
641
+ return this.id === other.id && this.value === other.value;
642
+ }
643
+ }
644
+
645
+ /*
646
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
647
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
648
+ * This software is released under MIT license.
649
+ * The full license information can be found in LICENSE in the root directory of this project.
650
+ */
651
+ class ClrOption {
652
+ constructor(elRef, commonStrings, focusHandler, optionSelectionService) {
653
+ this.elRef = elRef;
654
+ this.commonStrings = commonStrings;
655
+ this.focusHandler = focusHandler;
656
+ this.optionSelectionService = optionSelectionService;
657
+ // A proxy with only the necessary data to be used for a11y and the focus handler service.
658
+ this.optionProxy = new OptionData(null, null);
659
+ this.optionProxy.el = elRef.nativeElement;
660
+ }
661
+ get optionId() {
662
+ return this._id;
663
+ }
664
+ set optionId(id) {
665
+ this._id = id;
666
+ this.optionProxy.id = this._id;
667
+ }
668
+ get value() {
669
+ return this._value;
670
+ }
671
+ set value(value) {
672
+ this._value = value;
673
+ this.optionProxy.value = value;
674
+ }
675
+ get selected() {
676
+ return (this.optionSelectionService.selectionModel && this.optionSelectionService.selectionModel.containsItem(this.value));
677
+ }
678
+ get focusClass() {
679
+ return this.focusHandler.pseudoFocus.containsItem(this.optionProxy);
680
+ }
681
+ ngOnInit() {
682
+ if (!this._id) {
683
+ this._id = 'clr-option-' + uniqueIdFactory();
684
+ this.optionProxy.id = this._id;
685
+ }
686
+ }
687
+ onClick(event) {
688
+ event.stopPropagation();
689
+ if (this.optionSelectionService.multiselectable) {
690
+ this.optionSelectionService.toggle(this.value);
691
+ }
692
+ else {
693
+ this.optionSelectionService.select(this.value);
694
+ }
695
+ // As the popover stays open in multi-select mode now, we have to take focus back to the input
696
+ // This way we achieve two things:
697
+ // - do not lose focus
698
+ // - we're still able to use onBlur for "outside-click" handling
699
+ this.focusHandler.focusInput();
700
+ }
701
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOption, deps: [{ token: i0.ElementRef }, { token: i3$1.ClrCommonStringsService }, { token: ComboboxFocusHandler }, { token: OptionSelectionService }], target: i0.ɵɵFactoryTarget.Component }); }
702
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: ClrOption, isStandalone: false, selector: "clr-option", inputs: { optionId: ["id", "optionId"], value: ["clrValue", "value"] }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.clr-combobox-option": "true", "attr.role": "\"option\"", "attr.tabindex": "-1", "attr.id": "optionId", "class.active": "this.selected", "class.clr-focus": "this.focusClass" } }, ngImport: i0, template: `
703
+ <ng-content></ng-content>
704
+ @if (selected) {
705
+ <span class="clr-sr-only">{{ commonStrings.keys.comboboxSelected }}</span>
706
+ }
707
+ `, isInline: true }); }
708
+ }
709
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOption, decorators: [{
710
+ type: Component,
711
+ args: [{
712
+ selector: 'clr-option',
713
+ template: `
714
+ <ng-content></ng-content>
715
+ @if (selected) {
716
+ <span class="clr-sr-only">{{ commonStrings.keys.comboboxSelected }}</span>
717
+ }
718
+ `,
719
+ host: {
720
+ '[class.clr-combobox-option]': 'true',
721
+ '[attr.role]': '"option"',
722
+ // Do not remove. Or click-selection will not work.
723
+ '[attr.tabindex]': '-1',
724
+ '[attr.id]': 'optionId',
725
+ },
726
+ standalone: false,
727
+ }]
728
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i3$1.ClrCommonStringsService }, { type: ComboboxFocusHandler }, { type: OptionSelectionService }], propDecorators: { optionId: [{
729
+ type: Input,
730
+ args: ['id']
731
+ }], value: [{
732
+ type: Input,
733
+ args: ['clrValue']
734
+ }], selected: [{
735
+ type: HostBinding,
736
+ args: ['class.active']
737
+ }], focusClass: [{
738
+ type: HostBinding,
739
+ args: ['class.clr-focus']
740
+ }], onClick: [{
741
+ type: HostListener,
742
+ args: ['click', ['$event']]
743
+ }] } });
744
+
745
+ /*
746
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
747
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
748
+ * This software is released under MIT license.
749
+ * The full license information can be found in LICENSE in the root directory of this project.
750
+ */
751
+ let nbOptionsComponents = 0;
752
+ class ClrOptions {
753
+ constructor(optionSelectionService, id, el, commonStrings, focusHandler, popoverService, parentHost, document) {
754
+ this.optionSelectionService = optionSelectionService;
755
+ this.id = id;
756
+ this.el = el;
757
+ this.commonStrings = commonStrings;
758
+ this.focusHandler = focusHandler;
759
+ this.popoverService = popoverService;
760
+ this.document = document;
761
+ this.loading = false;
762
+ this.subscriptions = [];
763
+ if (!parentHost) {
764
+ throw new Error('clr-options should only be used inside of a clr-combobox');
765
+ }
766
+ if (!this.optionsId) {
767
+ this.optionsId = 'clr-options-' + nbOptionsComponents++;
768
+ }
769
+ }
770
+ get items() {
771
+ return this._items;
772
+ }
773
+ set items(items) {
774
+ this._items = items;
775
+ this.focusHandler.addOptionValues(this._items.map(option => option.optionProxy));
776
+ }
777
+ /**
778
+ * Tests if the list of options is empty, meaning it doesn't contain any items
779
+ */
780
+ get emptyOptions() {
781
+ return !this.optionSelectionService.loading && this.items.length === 0;
782
+ }
783
+ get editable() {
784
+ return this.optionSelectionService.editable;
785
+ }
786
+ get noResultsElementId() {
787
+ return `${this.optionsId}-no-results`;
788
+ }
789
+ ngAfterViewInit() {
790
+ this.focusHandler.listbox = this.el.nativeElement;
791
+ this.subscriptions.push(this.items.changes.subscribe(items => {
792
+ if (items.length) {
793
+ setTimeout(() => {
794
+ this.focusHandler.focusFirstActive();
795
+ });
796
+ }
797
+ else {
798
+ this.focusHandler.pseudoFocus.pop();
799
+ }
800
+ }));
801
+ }
802
+ ngOnDestroy() {
803
+ this.subscriptions.forEach(sub => sub.unsubscribe());
804
+ }
805
+ searchText(input) {
806
+ return this.commonStrings.parse(this.commonStrings.keys.comboboxSearching, { INPUT: input });
807
+ }
808
+ loadingStateChange(state) {
809
+ this.loading = state === ClrLoadingState.LOADING;
810
+ }
811
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOptions, deps: [{ token: OptionSelectionService }, { token: IF_ACTIVE_ID }, { token: i0.ElementRef }, { token: i3$1.ClrCommonStringsService }, { token: ComboboxFocusHandler }, { token: i4.ClrPopoverService }, { token: POPOVER_HOST_ORIGIN, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }
812
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: ClrOptions, isStandalone: false, selector: "clr-options", inputs: { optionsId: ["id", "optionsId"] }, host: { properties: { "class.clr-combobox-options": "true", "class.clr-combobox-options-hidden": "emptyOptions && editable", "attr.role": "\"listbox\"", "id": "optionsId" } }, providers: [{ provide: LoadingListener, useExisting: ClrOptions }], queries: [{ propertyName: "items", predicate: ClrOption, descendants: true }], ngImport: i0, template: `
813
+ @if (optionSelectionService.loading) {
814
+ <div class="clr-combobox-options-loading">
815
+ <clr-spinner clrInline>
816
+ {{ commonStrings.keys.loading }}
817
+ </clr-spinner>
818
+ <span class="clr-combobox-options-text">
819
+ {{ searchText(optionSelectionService.currentInput) }}
820
+ </span>
821
+ </div>
822
+ }
823
+
824
+ <!-- Rendered if data set is empty -->
825
+ @if (emptyOptions) {
826
+ <div [id]="noResultsElementId" role="option">
827
+ <span class="clr-combobox-options-empty-text">
828
+ {{ commonStrings.keys.comboboxNoResults }}
829
+ </span>
830
+ </div>
831
+ }
832
+
833
+ <!--Option Groups and Options will be projected here-->
834
+ <ng-content></ng-content>
835
+ `, isInline: true, dependencies: [{ kind: "component", type: i5.ClrSpinner, selector: "clr-spinner", inputs: ["clrInline", "clrInverse", "clrSmall", "clrMedium"] }] }); }
836
+ }
837
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOptions, decorators: [{
838
+ type: Component,
839
+ args: [{
840
+ selector: 'clr-options',
841
+ template: `
842
+ @if (optionSelectionService.loading) {
843
+ <div class="clr-combobox-options-loading">
844
+ <clr-spinner clrInline>
845
+ {{ commonStrings.keys.loading }}
846
+ </clr-spinner>
847
+ <span class="clr-combobox-options-text">
848
+ {{ searchText(optionSelectionService.currentInput) }}
849
+ </span>
850
+ </div>
851
+ }
852
+
853
+ <!-- Rendered if data set is empty -->
854
+ @if (emptyOptions) {
855
+ <div [id]="noResultsElementId" role="option">
856
+ <span class="clr-combobox-options-empty-text">
857
+ {{ commonStrings.keys.comboboxNoResults }}
858
+ </span>
859
+ </div>
860
+ }
861
+
862
+ <!--Option Groups and Options will be projected here-->
863
+ <ng-content></ng-content>
864
+ `,
865
+ providers: [{ provide: LoadingListener, useExisting: ClrOptions }],
866
+ host: {
867
+ '[class.clr-combobox-options]': 'true',
868
+ '[class.clr-combobox-options-hidden]': 'emptyOptions && editable',
869
+ '[attr.role]': '"listbox"',
870
+ '[id]': 'optionsId',
871
+ },
872
+ standalone: false,
873
+ }]
874
+ }], ctorParameters: () => [{ type: OptionSelectionService }, { type: undefined, decorators: [{
875
+ type: Inject,
876
+ args: [IF_ACTIVE_ID]
877
+ }] }, { type: i0.ElementRef }, { type: i3$1.ClrCommonStringsService }, { type: ComboboxFocusHandler }, { type: i4.ClrPopoverService }, { type: i0.ElementRef, decorators: [{
878
+ type: Optional
879
+ }, {
880
+ type: Inject,
881
+ args: [POPOVER_HOST_ORIGIN]
882
+ }] }, { type: undefined, decorators: [{
883
+ type: Inject,
884
+ args: [DOCUMENT]
885
+ }] }], propDecorators: { optionsId: [{
886
+ type: Input,
887
+ args: ['id']
888
+ }], items: [{
889
+ type: ContentChildren,
890
+ args: [ClrOption, { descendants: true }]
891
+ }] } });
892
+
893
+ /*
894
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
895
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
896
+ * This software is released under MIT license.
897
+ * The full license information can be found in LICENSE in the root directory of this project.
898
+ */
899
+ class ClrCombobox extends WrappedFormControl {
900
+ constructor(vcr, injector, control, renderer, el, optionSelectionService, commonStrings, popoverService, containerService, platformId, focusHandler, cdr) {
901
+ super(vcr, ClrComboboxContainer, injector, control, renderer, el);
902
+ this.control = control;
903
+ this.renderer = renderer;
904
+ this.el = el;
905
+ this.optionSelectionService = optionSelectionService;
906
+ this.commonStrings = commonStrings;
907
+ this.popoverService = popoverService;
908
+ this.containerService = containerService;
909
+ this.platformId = platformId;
910
+ this.focusHandler = focusHandler;
911
+ this.cdr = cdr;
912
+ this.placeholder = '';
913
+ this.clrInputChange = new EventEmitter(false);
914
+ this.clrOpenChange = this.popoverService.openChange;
915
+ /**
916
+ * This output should be used to set up a live region using aria-live and populate it with updates that reflect each combobox change.
917
+ */
918
+ this.clrSelectionChange = this.optionSelectionService.selectionChanged;
919
+ this.focused = false;
920
+ this.popoverPosition = ClrPopoverPosition.BOTTOM_LEFT;
921
+ this.index = 1;
922
+ this.popoverType = ClrPopoverType.DROPDOWN;
923
+ this._searchText = '';
924
+ if (control) {
925
+ control.valueAccessor = this;
926
+ }
927
+ // default to SingleSelectComboboxModel, in case the optional input [ClrMulti] isn't used
928
+ this.multiSelect = false;
929
+ }
930
+ get editable() {
931
+ return this.optionSelectionService.editable;
932
+ }
933
+ set editable(value) {
934
+ this.optionSelectionService.editable = value;
935
+ }
936
+ set identityFn(value) {
937
+ this.optionSelectionService.identityFn = value;
938
+ }
939
+ get multiSelect() {
940
+ return this.optionSelectionService.multiselectable;
941
+ }
942
+ set multiSelect(value) {
943
+ if (value) {
944
+ this.optionSelectionService.selectionModel = new MultiSelectComboboxModel();
945
+ }
946
+ else {
947
+ // in theory, setting this again should not cause errors even though we already set it in constructor,
948
+ // since the initial call to writeValue (caused by [ngModel] input) should happen after this
949
+ this.optionSelectionService.selectionModel = new SingleSelectComboboxModel();
950
+ }
951
+ this.optionSelectionService.selectionModel.identityFn = this.optionSelectionService.identityFn;
952
+ this.updateControlValue();
953
+ }
954
+ // Override the id of WrappedFormControl, as we want to move it to the embedded input.
955
+ // Otherwise, the label/component connection does not work and screen readers do not read the label.
956
+ get id() {
957
+ return this.controlIdService.id + '-combobox';
958
+ }
959
+ set id(id) {
960
+ super.id = id;
961
+ }
962
+ get searchText() {
963
+ return this._searchText;
964
+ }
965
+ set searchText(text) {
966
+ // if input text has changed since last time, fire a change event so application can react to it
967
+ if (text !== this._searchText) {
968
+ if (this.popoverService.open) {
969
+ this.optionSelectionService.showAllOptions = false;
970
+ }
971
+ this._searchText = text;
972
+ this.clrInputChange.emit(this.searchText);
973
+ }
974
+ // We need to trigger this even if unchanged, so the option-items directive will update its list
975
+ // based on the "showAllOptions" variable which may have changed in the openChange subscription below.
976
+ // The option-items directive does not listen to openChange, but it listens to currentInput changes.
977
+ this.optionSelectionService.currentInput = this.searchText;
978
+ }
979
+ get openState() {
980
+ return this.popoverService.open;
981
+ }
982
+ get multiSelectModel() {
983
+ if (!this.multiSelect) {
984
+ throw Error('multiSelectModel is not available in single selection context');
985
+ }
986
+ return this.optionSelectionService.selectionModel.model;
987
+ }
988
+ get ariaControls() {
989
+ return this.options?.optionsId;
990
+ }
991
+ get ariaOwns() {
992
+ return this.options?.optionsId;
993
+ }
994
+ get ariaDescribedBySelection() {
995
+ return 'selection-' + this.id;
996
+ }
997
+ get displayField() {
998
+ return this.optionSelectionService.displayField;
999
+ }
1000
+ get disabled() {
1001
+ return this.control?.disabled;
1002
+ }
1003
+ ngAfterContentInit() {
1004
+ this.initializeSubscriptions();
1005
+ // Initialize with preselected value
1006
+ if (!this.optionSelectionService.selectionModel.isEmpty()) {
1007
+ this.updateInputValue(this.optionSelectionService.selectionModel);
1008
+ }
1009
+ }
1010
+ ngAfterViewInit() {
1011
+ this.focusHandler.textInput = this.textbox.nativeElement;
1012
+ this.focusHandler.trigger = this.trigger.nativeElement;
1013
+ // The text input is the actual element we are wrapping
1014
+ // This assignment is needed by the wrapper, so it can set
1015
+ // the aria properties on the input element, not on the component.
1016
+ this.el = this.textbox;
1017
+ }
1018
+ onKeyUp(event) {
1019
+ // if BACKSPACE in multiselect mode, delete the last pill if text is empty
1020
+ if (this.multiSelect) {
1021
+ const multiModel = this.optionSelectionService.selectionModel.model;
1022
+ switch (event.key) {
1023
+ case Keys.Backspace:
1024
+ if (!this._searchText.length) {
1025
+ if (multiModel && multiModel.length > 0) {
1026
+ const lastItem = multiModel[multiModel.length - 1];
1027
+ this.control?.control.markAsTouched();
1028
+ this.optionSelectionService.unselect(lastItem);
1029
+ }
1030
+ }
1031
+ break;
1032
+ case Keys.Enter:
1033
+ if (this.editable && this._searchText.length > 0 && this.options.emptyOptions) {
1034
+ const parsedInput = this.optionSelectionService.parseStringToModel(this._searchText);
1035
+ this.control?.control.markAsTouched();
1036
+ this.optionSelectionService.select(parsedInput);
1037
+ this.searchText = '';
1038
+ }
1039
+ break;
1040
+ }
1041
+ }
1042
+ }
1043
+ inputId() {
1044
+ return this.controlIdService.id;
1045
+ }
1046
+ loadingStateChange(state) {
1047
+ this.optionSelectionService.loading = state === ClrLoadingState.LOADING;
1048
+ if (state !== ClrLoadingState.LOADING && isPlatformBrowser(this.platformId)) {
1049
+ setTimeout(() => {
1050
+ this.popoverService?.resetPositions();
1051
+ });
1052
+ this.focusFirstActive();
1053
+ }
1054
+ }
1055
+ unselect(item) {
1056
+ if (!this.disabled) {
1057
+ this.optionSelectionService.unselect(item);
1058
+ }
1059
+ }
1060
+ onBlur(event) {
1061
+ if (!event.relatedTarget || !this.options.el?.nativeElement.contains(event.relatedTarget)) {
1062
+ this.onTouchedCallback?.();
1063
+ this.triggerValidation();
1064
+ this.focused = false;
1065
+ }
1066
+ }
1067
+ onFocus() {
1068
+ this.focused = true;
1069
+ // fix for "expression changed" error when focus is returned to a combobox after a modal is closed
1070
+ // https://github.com/vmware-clarity/ng-clarity/issues/663
1071
+ this.cdr.detectChanges();
1072
+ }
1073
+ onChange() {
1074
+ if (this.editable && !this.multiSelect && this.options.emptyOptions) {
1075
+ const parsedInput = this.optionSelectionService.parseStringToModel(this._searchText);
1076
+ this.optionSelectionService.setSelectionValue(parsedInput);
1077
+ }
1078
+ }
1079
+ getSelectionAriaLabel() {
1080
+ if (this.containerService && this.containerService.labelText) {
1081
+ return `${this.containerService.labelText} ${this.commonStrings.keys.comboboxSelection}`;
1082
+ }
1083
+ return this.commonStrings.keys.comboboxSelection;
1084
+ }
1085
+ focusFirstActive() {
1086
+ setTimeout(() => {
1087
+ this.focusHandler.focusFirstActive();
1088
+ });
1089
+ }
1090
+ writeValue(value) {
1091
+ this.optionSelectionService.selectionModel.model = value;
1092
+ this.updateInputValue(this.optionSelectionService.selectionModel);
1093
+ }
1094
+ registerOnTouched(onTouched) {
1095
+ this.onTouchedCallback = onTouched;
1096
+ }
1097
+ registerOnChange(onChange) {
1098
+ this.onChangeCallback = onChange;
1099
+ }
1100
+ getActiveDescendant() {
1101
+ const model = this.focusHandler.pseudoFocus.model;
1102
+ return model ? model.id : this.options?.noResultsElementId;
1103
+ }
1104
+ setDisabledState() {
1105
+ // do nothing
1106
+ }
1107
+ onWrapperClick(event) {
1108
+ if (this.disabled) {
1109
+ return;
1110
+ }
1111
+ this.focusHandler.focusInput();
1112
+ if (this.editable || (!this.editable && this.trigger.nativeElement.contains(event.target))) {
1113
+ this.popoverService.toggleWithEvent(event);
1114
+ }
1115
+ }
1116
+ initializeSubscriptions() {
1117
+ this.subscriptions.push(this.optionSelectionService.selectionChanged.subscribe((newSelection) => {
1118
+ this.updateInputValue(newSelection);
1119
+ if (!this.multiSelect && newSelection && !newSelection.isEmpty()) {
1120
+ this.popoverService.open = false;
1121
+ }
1122
+ this.updateControlValue();
1123
+ if (this.multiSelect) {
1124
+ setTimeout(() => {
1125
+ this.popoverService?.updatePosition();
1126
+ });
1127
+ }
1128
+ }));
1129
+ this.subscriptions.push(this.popoverService.openChange.subscribe(open => {
1130
+ if (this.editable && !this.multiSelect) {
1131
+ if (this.searchText) {
1132
+ this.optionSelectionService.showAllOptions = false;
1133
+ this.optionSelectionService.currentInput = this.searchText;
1134
+ }
1135
+ return;
1136
+ }
1137
+ if (open) {
1138
+ this.focusFirstActive();
1139
+ }
1140
+ else {
1141
+ this.optionSelectionService.showAllOptions = true;
1142
+ }
1143
+ if (this.multiSelect) {
1144
+ this.searchText = '';
1145
+ }
1146
+ else {
1147
+ this.searchText = this.getDisplayNames(this.optionSelectionService.selectionModel.model)[0] || '';
1148
+ }
1149
+ }));
1150
+ }
1151
+ updateInputValue(model) {
1152
+ if (!this.multiSelect) {
1153
+ this.searchText = model.model ? this.getDisplayNames(model.model)[0] : '';
1154
+ if (this.searchText) {
1155
+ this.optionSelectionService.currentInput = this.searchText;
1156
+ }
1157
+ }
1158
+ }
1159
+ updateControlValue() {
1160
+ if (this.onChangeCallback) {
1161
+ this.onChangeCallback(this.optionSelectionService.selectionModel.model);
1162
+ }
1163
+ }
1164
+ getDisplayNames(model) {
1165
+ if (this.displayField) {
1166
+ if (!Array.isArray(model)) {
1167
+ model = [model];
1168
+ }
1169
+ return model.map(item => (item ? item[this.displayField] : null));
1170
+ }
1171
+ return [this.optionSelectionService.selectionModel.model];
1172
+ }
1173
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrCombobox, deps: [{ token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i1$1.NgControl, optional: true, self: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: OptionSelectionService }, { token: i3$1.ClrCommonStringsService }, { token: i4.ClrPopoverService }, { token: ComboboxContainerService, optional: true }, { token: PLATFORM_ID }, { token: ComboboxFocusHandler }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1174
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: ClrCombobox, isStandalone: false, selector: "clr-combobox", inputs: { placeholder: "placeholder", editable: ["clrEditable", "editable"], identityFn: ["clrComboboxIdentityFn", "identityFn"], multiSelect: ["clrMulti", "multiSelect"] }, outputs: { clrInputChange: "clrInputChange", clrOpenChange: "clrOpenChange", clrSelectionChange: "clrSelectionChange" }, host: { listeners: { "keydown": "onKeyUp($event)" }, properties: { "class.aria-required": "true", "class.clr-combobox": "true", "class.clr-combobox-disabled": "control?.disabled" } }, providers: [
1175
+ OptionSelectionService,
1176
+ { provide: LoadingListener, useExisting: ClrCombobox },
1177
+ IF_ACTIVE_ID_PROVIDER,
1178
+ FOCUS_SERVICE_PROVIDER,
1179
+ COMBOBOX_FOCUS_HANDLER_PROVIDER,
1180
+ ], queries: [{ propertyName: "optionSelected", first: true, predicate: ClrOptionSelected, descendants: true }, { propertyName: "options", first: true, predicate: ClrOptions, descendants: true }], viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textboxInput"], descendants: true }, { propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i4.ClrPopoverHostDirective }], ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n ~ The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<!-- The (click) handler is needed to auto-focus on input field which can not currently occupy the whole\nwidth of the component, after being wrapped to a new line -->\n<div\n class=\"clr-combobox-wrapper\"\n clrPopoverOrigin\n (click)=\"onWrapperClick($event)\"\n [class.multi]=\"multiSelect\"\n [class.invalid]=\"(control?.control.touched && control?.invalid)\"\n [class.disabled]=\"control?.disabled\"\n>\n @if (multiSelect && optionSelectionService.selectionModel.model && multiSelectModel.length > 0) {\n <span\n role=\"grid\"\n clrRovingTabindex\n [clrRovingTabindexDisabled]=\"control?.disabled\"\n clrDirection=\"both\"\n [attr.aria-label]=\"getSelectionAriaLabel()\"\n [attr.aria-disabled]=\"control?.disabled? true: null\"\n class=\"clr-combobox-pills\"\n >\n @for (item of multiSelectModel; track item; let i = $index) {\n <span class=\"label label-combobox-pill\" role=\"row\">\n <span role=\"gridcell\">\n <span class=\"clr-combobox-pill-content\" clrKeyFocusItem>\n @if (optionSelected) {\n <ng-container\n [ngTemplateOutlet]=\"optionSelected.template\"\n [ngTemplateOutletContext]=\"{$implicit: optionSelectionService.selectionModel.model[i]}\"\n ></ng-container>\n }\n </span>\n </span>\n <span role=\"gridcell\">\n <button\n clrKeyFocusItem\n type=\"button\"\n class=\"clr-combobox-remove-btn\"\n [disabled]=\"control?.disabled? true: null\"\n [attr.aria-label]=\"commonStrings.keys.comboboxDelete + ' ' + optionSelectionService.selectionModel.toString(displayField, i)\"\n (click)=\"unselect(item)\"\n >\n <cds-icon shape=\"window-close\" size=\"12\"></cds-icon>\n </button>\n </span>\n </span>\n }\n </span>\n }\n\n <input\n #textboxInput\n type=\"text\"\n role=\"combobox\"\n [id]=\"inputId()\"\n class=\"clr-input clr-combobox-input\"\n [(ngModel)]=\"searchText\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus()\"\n (change)=\"onChange()\"\n [attr.aria-expanded]=\"openState\"\n [attr.aria-owns]=\"ariaOwns\"\n aria-haspopup=\"listbox\"\n aria-autocomplete=\"list\"\n autocomplete=\"off\"\n [attr.aria-invalid]=\"control?.invalid? true: null\"\n [disabled]=\"control?.disabled? true: null\"\n [attr.aria-activedescendant]=\"getActiveDescendant()\"\n [attr.placeholder]=\"placeholder\"\n />\n\n <!-- No click handler, as it uses the handler on the .clr-combobox-wrapper -->\n <button\n #trigger\n type=\"button\"\n class=\"clr-combobox-trigger\"\n tabindex=\"-1\"\n [disabled]=\"control?.disabled || null\"\n [attr.aria-label]=\"commonStrings.keys.comboboxOpen\"\n >\n <cds-icon shape=\"angle\" direction=\"down\"></cds-icon>\n </button>\n\n <div class=\"clr-focus-indicator\" [class.clr-focus]=\"focused\"></div>\n</div>\n\n<!-- Both close handlers are handled manually.\n'outsideClickToClose' has complex handling that's necessary\nto be manual due to the component architecture -->\n<div role=\"dialog\" *clrPopoverContent=\"openState; at popoverPosition; type: popoverType;\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i8.ClrIcon, selector: "clr-icon, cds-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }, { kind: "component", type: i3$1.ClrRovingTabindex, selector: "[clrRovingTabindex]", inputs: ["clrRovingTabindex", "clrRovingTabindexDisabled"] }, { kind: "directive", type: i3$1.ClrKeyFocusItem, selector: "[clrKeyFocusItem]" }, { kind: "directive", type: i4.ClrPopoverOrigin, selector: "[clrPopoverOrigin]" }, { kind: "directive", type: i4.ClrPopoverContent, selector: "[clrPopoverContent]", inputs: ["clrPopoverContent", "clrPopoverContentAt", "clrPopoverContentAvailablePositions", "clrPopoverContentType", "clrPopoverContentOutsideClickToClose", "clrPopoverContentScrollToClose", "clrPopoverContentOrigin"] }] }); }
1181
+ }
1182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrCombobox, decorators: [{
1183
+ type: Component,
1184
+ args: [{ selector: 'clr-combobox', providers: [
1185
+ OptionSelectionService,
1186
+ { provide: LoadingListener, useExisting: ClrCombobox },
1187
+ IF_ACTIVE_ID_PROVIDER,
1188
+ FOCUS_SERVICE_PROVIDER,
1189
+ COMBOBOX_FOCUS_HANDLER_PROVIDER,
1190
+ ], hostDirectives: [ClrPopoverHostDirective], host: {
1191
+ '[class.aria-required]': 'true',
1192
+ '[class.clr-combobox]': 'true',
1193
+ '[class.clr-combobox-disabled]': 'control?.disabled',
1194
+ }, standalone: false, template: "<!--\n ~ Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n ~ The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<!-- The (click) handler is needed to auto-focus on input field which can not currently occupy the whole\nwidth of the component, after being wrapped to a new line -->\n<div\n class=\"clr-combobox-wrapper\"\n clrPopoverOrigin\n (click)=\"onWrapperClick($event)\"\n [class.multi]=\"multiSelect\"\n [class.invalid]=\"(control?.control.touched && control?.invalid)\"\n [class.disabled]=\"control?.disabled\"\n>\n @if (multiSelect && optionSelectionService.selectionModel.model && multiSelectModel.length > 0) {\n <span\n role=\"grid\"\n clrRovingTabindex\n [clrRovingTabindexDisabled]=\"control?.disabled\"\n clrDirection=\"both\"\n [attr.aria-label]=\"getSelectionAriaLabel()\"\n [attr.aria-disabled]=\"control?.disabled? true: null\"\n class=\"clr-combobox-pills\"\n >\n @for (item of multiSelectModel; track item; let i = $index) {\n <span class=\"label label-combobox-pill\" role=\"row\">\n <span role=\"gridcell\">\n <span class=\"clr-combobox-pill-content\" clrKeyFocusItem>\n @if (optionSelected) {\n <ng-container\n [ngTemplateOutlet]=\"optionSelected.template\"\n [ngTemplateOutletContext]=\"{$implicit: optionSelectionService.selectionModel.model[i]}\"\n ></ng-container>\n }\n </span>\n </span>\n <span role=\"gridcell\">\n <button\n clrKeyFocusItem\n type=\"button\"\n class=\"clr-combobox-remove-btn\"\n [disabled]=\"control?.disabled? true: null\"\n [attr.aria-label]=\"commonStrings.keys.comboboxDelete + ' ' + optionSelectionService.selectionModel.toString(displayField, i)\"\n (click)=\"unselect(item)\"\n >\n <cds-icon shape=\"window-close\" size=\"12\"></cds-icon>\n </button>\n </span>\n </span>\n }\n </span>\n }\n\n <input\n #textboxInput\n type=\"text\"\n role=\"combobox\"\n [id]=\"inputId()\"\n class=\"clr-input clr-combobox-input\"\n [(ngModel)]=\"searchText\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus()\"\n (change)=\"onChange()\"\n [attr.aria-expanded]=\"openState\"\n [attr.aria-owns]=\"ariaOwns\"\n aria-haspopup=\"listbox\"\n aria-autocomplete=\"list\"\n autocomplete=\"off\"\n [attr.aria-invalid]=\"control?.invalid? true: null\"\n [disabled]=\"control?.disabled? true: null\"\n [attr.aria-activedescendant]=\"getActiveDescendant()\"\n [attr.placeholder]=\"placeholder\"\n />\n\n <!-- No click handler, as it uses the handler on the .clr-combobox-wrapper -->\n <button\n #trigger\n type=\"button\"\n class=\"clr-combobox-trigger\"\n tabindex=\"-1\"\n [disabled]=\"control?.disabled || null\"\n [attr.aria-label]=\"commonStrings.keys.comboboxOpen\"\n >\n <cds-icon shape=\"angle\" direction=\"down\"></cds-icon>\n </button>\n\n <div class=\"clr-focus-indicator\" [class.clr-focus]=\"focused\"></div>\n</div>\n\n<!-- Both close handlers are handled manually.\n'outsideClickToClose' has complex handling that's necessary\nto be manual due to the component architecture -->\n<div role=\"dialog\" *clrPopoverContent=\"openState; at popoverPosition; type: popoverType;\">\n <ng-content></ng-content>\n</div>\n" }]
1195
+ }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1$1.NgControl, decorators: [{
1196
+ type: Self
1197
+ }, {
1198
+ type: Optional
1199
+ }] }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: OptionSelectionService }, { type: i3$1.ClrCommonStringsService }, { type: i4.ClrPopoverService }, { type: ComboboxContainerService, decorators: [{
1200
+ type: Optional
1201
+ }] }, { type: undefined, decorators: [{
1202
+ type: Inject,
1203
+ args: [PLATFORM_ID]
1204
+ }] }, { type: ComboboxFocusHandler }, { type: i0.ChangeDetectorRef }], propDecorators: { placeholder: [{
1205
+ type: Input,
1206
+ args: ['placeholder']
1207
+ }], clrInputChange: [{
1208
+ type: Output,
1209
+ args: ['clrInputChange']
1210
+ }], clrOpenChange: [{
1211
+ type: Output,
1212
+ args: ['clrOpenChange']
1213
+ }], clrSelectionChange: [{
1214
+ type: Output,
1215
+ args: ['clrSelectionChange']
1216
+ }], textbox: [{
1217
+ type: ViewChild,
1218
+ args: ['textboxInput']
1219
+ }], trigger: [{
1220
+ type: ViewChild,
1221
+ args: ['trigger']
1222
+ }], optionSelected: [{
1223
+ type: ContentChild,
1224
+ args: [ClrOptionSelected]
1225
+ }], options: [{
1226
+ type: ContentChild,
1227
+ args: [ClrOptions]
1228
+ }], editable: [{
1229
+ type: Input,
1230
+ args: ['clrEditable']
1231
+ }], identityFn: [{
1232
+ type: Input,
1233
+ args: ['clrComboboxIdentityFn']
1234
+ }], multiSelect: [{
1235
+ type: Input,
1236
+ args: ['clrMulti']
1237
+ }], onKeyUp: [{
1238
+ type: HostListener,
1239
+ args: ['keydown', ['$event']]
1240
+ }] } });
1241
+
1242
+ /*
1243
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1244
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1245
+ * This software is released under MIT license.
1246
+ * The full license information can be found in LICENSE in the root directory of this project.
1247
+ */
1248
+ class ClrOptionItems {
1249
+ constructor(template, differs, optionService, vcr) {
1250
+ this.template = template;
1251
+ this.differs = differs;
1252
+ this.optionService = optionService;
1253
+ this.subscriptions = [];
1254
+ this.filter = '';
1255
+ this.differ = null;
1256
+ this.iterableProxy = new NgForOf(vcr, template, differs);
1257
+ this.subscriptions.push(optionService.inputChanged.subscribe(filter => {
1258
+ this.filter = filter;
1259
+ if (optionService.filtering) {
1260
+ this.updateItems();
1261
+ }
1262
+ }));
1263
+ }
1264
+ set rawItems(items) {
1265
+ this._rawItems = items ? items : [];
1266
+ this.updateItems();
1267
+ }
1268
+ set trackBy(value) {
1269
+ this.iterableProxy.ngForTrackBy = value;
1270
+ }
1271
+ set field(field) {
1272
+ this._filterField = field;
1273
+ this.optionService.displayField = field;
1274
+ }
1275
+ get hasResults() {
1276
+ // explicity return `undefined` instead of `false` if the answer is not known
1277
+ return this.filteredItems ? this.filteredItems.length : undefined;
1278
+ }
1279
+ ngDoCheck() {
1280
+ if (!this.differ) {
1281
+ this.differ = this.differs.find(this.filteredItems).create(this.iterableProxy.ngForTrackBy);
1282
+ }
1283
+ if (this.differ) {
1284
+ const changes = this.differ.diff(this.filteredItems);
1285
+ if (changes) {
1286
+ this.iterableProxy.ngDoCheck();
1287
+ }
1288
+ }
1289
+ }
1290
+ ngOnDestroy() {
1291
+ this.subscriptions.forEach(sub => sub.unsubscribe());
1292
+ }
1293
+ updateItems() {
1294
+ if (!this._rawItems || this.filter === undefined || this.filter === null) {
1295
+ return;
1296
+ }
1297
+ const normalizedFilterValue = normalizeValue(this.filter);
1298
+ if (this.optionService.showAllOptions) {
1299
+ this.filteredItems = this._rawItems;
1300
+ }
1301
+ else if (this._filterField) {
1302
+ this.filteredItems = this._rawItems.filter(item => {
1303
+ const objValue = item[this._filterField];
1304
+ return objValue ? normalizeValue(objValue).includes(normalizedFilterValue) : false;
1305
+ });
1306
+ }
1307
+ else {
1308
+ // Filter by all item object values
1309
+ this.filteredItems = this._rawItems.filter(item => {
1310
+ if (typeof item !== 'object') {
1311
+ return normalizeValue(item).includes(normalizedFilterValue);
1312
+ }
1313
+ const objValues = Object.values(item).filter(value => {
1314
+ return value !== null && value !== undefined ? normalizeValue(value).includes(normalizedFilterValue) : false;
1315
+ });
1316
+ return objValues.length > 0;
1317
+ });
1318
+ }
1319
+ this.iterableProxy.ngForOf = this.filteredItems;
1320
+ }
1321
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOptionItems, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: OptionSelectionService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1322
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrOptionItems, isStandalone: false, selector: "[clrOptionItems][clrOptionItemsOf]", inputs: { rawItems: ["clrOptionItemsOf", "rawItems"], trackBy: ["clrOptionItemsTrackBy", "trackBy"], field: ["clrOptionItemsField", "field"] }, ngImport: i0 }); }
1323
+ }
1324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOptionItems, decorators: [{
1325
+ type: Directive,
1326
+ args: [{
1327
+ selector: '[clrOptionItems][clrOptionItemsOf]',
1328
+ standalone: false,
1329
+ }]
1330
+ }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: OptionSelectionService }, { type: i0.ViewContainerRef }], propDecorators: { rawItems: [{
1331
+ type: Input,
1332
+ args: ['clrOptionItemsOf']
1333
+ }], trackBy: [{
1334
+ type: Input,
1335
+ args: ['clrOptionItemsTrackBy']
1336
+ }], field: [{
1337
+ type: Input,
1338
+ args: ['clrOptionItemsField']
1339
+ }] } });
1340
+ function normalizeValue(value) {
1341
+ return value
1342
+ .toString()
1343
+ .normalize('NFD')
1344
+ .replace(/\p{Diacritic}/gu, '')
1345
+ .toLowerCase();
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
+ class ClrOptionGroup {
1355
+ constructor() {
1356
+ this.labelId = uniqueIdFactory();
1357
+ }
1358
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOptionGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1359
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: ClrOptionGroup, isStandalone: false, selector: "clr-option-group", inputs: { label: ["clrOptionGroupLabel", "label"] }, host: { properties: { "attr.role": "\"group\"", "attr.aria-labelledby": "labelId", "style.display": "clrOptionItems.hasResults ? undefined : \"none\"" } }, queries: [{ propertyName: "clrOptionItems", first: true, predicate: ClrOptionItems, descendants: true }], ngImport: i0, template: `
1360
+ <span [id]="labelId" class="clr-option-group-label" role="presentation">{{ label }}</span>
1361
+ <ng-content></ng-content>
1362
+ `, isInline: true }); }
1363
+ }
1364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrOptionGroup, decorators: [{
1365
+ type: Component,
1366
+ args: [{
1367
+ selector: 'clr-option-group',
1368
+ host: {
1369
+ '[attr.role]': '"group"',
1370
+ '[attr.aria-labelledby]': 'labelId',
1371
+ '[style.display]': 'clrOptionItems.hasResults ? undefined : "none"',
1372
+ },
1373
+ template: `
1374
+ <span [id]="labelId" class="clr-option-group-label" role="presentation">{{ label }}</span>
1375
+ <ng-content></ng-content>
1376
+ `,
1377
+ standalone: false,
1378
+ }]
1379
+ }], propDecorators: { label: [{
1380
+ type: Input,
1381
+ args: ['clrOptionGroupLabel']
1382
+ }], clrOptionItems: [{
1383
+ type: ContentChild,
1384
+ args: [ClrOptionItems]
1385
+ }] } });
1386
+
1387
+ /*
1388
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1389
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1390
+ * This software is released under MIT license.
1391
+ * The full license information can be found in LICENSE in the root directory of this project.
1392
+ */
1393
+ class ClrComboboxModule {
1394
+ constructor() {
1395
+ ClarityIcons.addIcons(successStandardIcon, errorStandardIcon, angleIcon, windowCloseIcon);
1396
+ }
1397
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrComboboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1398
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrComboboxModule, declarations: [ClrCombobox,
1399
+ ClrComboboxContainer,
1400
+ ClrOptions,
1401
+ ClrOption,
1402
+ ClrOptionGroup,
1403
+ ClrOptionSelected,
1404
+ ClrOptionItems], imports: [CommonModule,
1405
+ FormsModule,
1406
+ ClrIcon,
1407
+ ClrKeyFocusModule,
1408
+ ClrCommonFormsModule,
1409
+ ClrConditionalModule,
1410
+ _lrClrPopoverModuleNext,
1411
+ ClrSpinnerModule], exports: [ClrCommonFormsModule,
1412
+ ClrCombobox,
1413
+ ClrComboboxContainer,
1414
+ ClrOptions,
1415
+ ClrOption,
1416
+ ClrOptionGroup,
1417
+ ClrOptionSelected,
1418
+ ClrConditionalModule,
1419
+ ClrOptionItems] }); }
1420
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrComboboxModule, imports: [CommonModule,
1421
+ FormsModule,
1422
+ ClrIcon,
1423
+ ClrKeyFocusModule,
1424
+ ClrCommonFormsModule,
1425
+ ClrConditionalModule,
1426
+ _lrClrPopoverModuleNext,
1427
+ ClrSpinnerModule, ClrCommonFormsModule,
1428
+ ClrConditionalModule] }); }
1429
+ }
1430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrComboboxModule, decorators: [{
1431
+ type: NgModule,
1432
+ args: [{
1433
+ imports: [
1434
+ CommonModule,
1435
+ FormsModule,
1436
+ ClrIcon,
1437
+ ClrKeyFocusModule,
1438
+ ClrCommonFormsModule,
1439
+ ClrConditionalModule,
1440
+ _lrClrPopoverModuleNext,
1441
+ ClrSpinnerModule,
1442
+ ],
1443
+ declarations: [
1444
+ ClrCombobox,
1445
+ ClrComboboxContainer,
1446
+ ClrOptions,
1447
+ ClrOption,
1448
+ ClrOptionGroup,
1449
+ ClrOptionSelected,
1450
+ ClrOptionItems,
1451
+ ],
1452
+ exports: [
1453
+ ClrCommonFormsModule,
1454
+ ClrCombobox,
1455
+ ClrComboboxContainer,
1456
+ ClrOptions,
1457
+ ClrOption,
1458
+ ClrOptionGroup,
1459
+ ClrOptionSelected,
1460
+ ClrConditionalModule,
1461
+ ClrOptionItems,
1462
+ ],
1463
+ }]
1464
+ }], ctorParameters: () => [] });
1465
+
1466
+ /*
1467
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
1468
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
1469
+ * This software is released under MIT license.
1470
+ * The full license information can be found in LICENSE in the root directory of this project.
1471
+ */
1472
+
1473
+ /**
1474
+ * Generated bundle index. Do not edit.
1475
+ */
1476
+
1477
+ export { ClrCombobox, ClrComboboxContainer, ClrComboboxModule, ClrOption, ClrOptionGroup, ClrOptionItems, ClrOptionSelected, ClrOptions };
1478
+ //# sourceMappingURL=clr-angular-forms-combobox.mjs.map