@clr/angular 17.12.2 → 18.0.0-beta.1

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