cax-design-system 2.8.4 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (681) hide show
  1. package/README.md +46 -46
  2. package/api/confirmation.d.ts +4 -10
  3. package/api/message.d.ts +0 -1
  4. package/autocomplete/autocomplete.d.ts +23 -6
  5. package/autocomplete/autocomplete.module.d.ts +8 -7
  6. package/avatar/avatar.d.ts +23 -1
  7. package/badge/badge.d.ts +4 -0
  8. package/button/button.d.ts +8 -1
  9. package/button/button.directive.d.ts +3 -1
  10. package/calendar/calendar.d.ts +33 -11
  11. package/card/card.d.ts +2 -6
  12. package/cascadeselect/cascadeselect.d.ts +32 -2
  13. package/categorycard/categorycard.d.ts +11 -0
  14. package/categorycard/categorycard.module.d.ts +7 -0
  15. package/categorycard/index.d.ts +5 -0
  16. package/categorycard/public_api.d.ts +2 -0
  17. package/checkbox/checkbox.d.ts +2 -2
  18. package/chip/chip.d.ts +3 -4
  19. package/commentbox/commentbox.d.ts +1 -1
  20. package/comments/comments.d.ts +83 -0
  21. package/comments/comments.module.d.ts +7 -0
  22. package/{chips → comments}/index.d.ts +1 -1
  23. package/comments/public_api.d.ts +2 -0
  24. package/comparecard/comaparecard.module.d.ts +11 -0
  25. package/comparecard/comparecard.component.d.ts +44 -0
  26. package/comparecard/index.d.ts +5 -0
  27. package/comparecard/public_api.d.ts +2 -0
  28. package/confirmdialog/confirmdialog.d.ts +13 -22
  29. package/divider/divider.d.ts +9 -1
  30. package/dom/domhandler.d.ts +2 -2
  31. package/dropdown/dropdown-item.d.ts +2 -1
  32. package/dropdown/dropdown.d.ts +24 -2
  33. package/editor/editor.d.ts +6 -1
  34. package/fesm2022/cax-design-system-accordion.mjs +22 -17
  35. package/fesm2022/cax-design-system-accordion.mjs.map +1 -1
  36. package/fesm2022/cax-design-system-animate.mjs +7 -7
  37. package/fesm2022/cax-design-system-animate.mjs.map +1 -1
  38. package/fesm2022/cax-design-system-animateonscroll.mjs +7 -7
  39. package/fesm2022/cax-design-system-animateonscroll.mjs.map +1 -1
  40. package/fesm2022/cax-design-system-api.mjs +37 -37
  41. package/fesm2022/cax-design-system-api.mjs.map +1 -1
  42. package/fesm2022/cax-design-system-autocomplete.mjs +101 -47
  43. package/fesm2022/cax-design-system-autocomplete.mjs.map +1 -1
  44. package/fesm2022/cax-design-system-autofocus.mjs +7 -7
  45. package/fesm2022/cax-design-system-autofocus.mjs.map +1 -1
  46. package/fesm2022/cax-design-system-avatar.mjs +39 -8
  47. package/fesm2022/cax-design-system-avatar.mjs.map +1 -1
  48. package/fesm2022/cax-design-system-avatargroup.mjs +8 -8
  49. package/fesm2022/cax-design-system-avatargroup.mjs.map +1 -1
  50. package/fesm2022/cax-design-system-badge.mjs +16 -12
  51. package/fesm2022/cax-design-system-badge.mjs.map +1 -1
  52. package/fesm2022/cax-design-system-baseicon.mjs +3 -3
  53. package/fesm2022/cax-design-system-baseicon.mjs.map +1 -1
  54. package/fesm2022/cax-design-system-blockui.mjs +7 -7
  55. package/fesm2022/cax-design-system-blockui.mjs.map +1 -1
  56. package/fesm2022/cax-design-system-breadcrumb.mjs +10 -11
  57. package/fesm2022/cax-design-system-breadcrumb.mjs.map +1 -1
  58. package/fesm2022/cax-design-system-button.mjs +93 -39
  59. package/fesm2022/cax-design-system-button.mjs.map +1 -1
  60. package/fesm2022/cax-design-system-buttongroup.mjs +7 -7
  61. package/fesm2022/cax-design-system-buttongroup.mjs.map +1 -1
  62. package/fesm2022/cax-design-system-calendar.mjs +388 -100
  63. package/fesm2022/cax-design-system-calendar.mjs.map +1 -1
  64. package/fesm2022/cax-design-system-card.mjs +12 -25
  65. package/fesm2022/cax-design-system-card.mjs.map +1 -1
  66. package/fesm2022/cax-design-system-carousel.mjs +7 -7
  67. package/fesm2022/cax-design-system-carousel.mjs.map +1 -1
  68. package/fesm2022/cax-design-system-cascadeselect.mjs +90 -30
  69. package/fesm2022/cax-design-system-cascadeselect.mjs.map +1 -1
  70. package/fesm2022/cax-design-system-categorycard.mjs +57 -0
  71. package/fesm2022/cax-design-system-categorycard.mjs.map +1 -0
  72. package/fesm2022/cax-design-system-chart.mjs +7 -7
  73. package/fesm2022/cax-design-system-chart.mjs.map +1 -1
  74. package/fesm2022/cax-design-system-checkbox.mjs +15 -14
  75. package/fesm2022/cax-design-system-checkbox.mjs.map +1 -1
  76. package/fesm2022/cax-design-system-chip.mjs +14 -12
  77. package/fesm2022/cax-design-system-chip.mjs.map +1 -1
  78. package/fesm2022/cax-design-system-colorpicker.mjs +8 -8
  79. package/fesm2022/cax-design-system-colorpicker.mjs.map +1 -1
  80. package/fesm2022/cax-design-system-commentbox.mjs +8 -8
  81. package/fesm2022/cax-design-system-commentbox.mjs.map +1 -1
  82. package/fesm2022/cax-design-system-comments.mjs +385 -0
  83. package/fesm2022/cax-design-system-comments.mjs.map +1 -0
  84. package/fesm2022/cax-design-system-comparecard.mjs +143 -0
  85. package/fesm2022/cax-design-system-comparecard.mjs.map +1 -0
  86. package/fesm2022/cax-design-system-confirmdialog.mjs +54 -50
  87. package/fesm2022/cax-design-system-confirmdialog.mjs.map +1 -1
  88. package/fesm2022/cax-design-system-confirmpopup.mjs +8 -8
  89. package/fesm2022/cax-design-system-confirmpopup.mjs.map +1 -1
  90. package/fesm2022/cax-design-system-contextmenu.mjs +10 -10
  91. package/fesm2022/cax-design-system-contextmenu.mjs.map +1 -1
  92. package/fesm2022/cax-design-system-dataview.mjs +10 -10
  93. package/fesm2022/cax-design-system-dataview.mjs.map +1 -1
  94. package/fesm2022/cax-design-system-defer.mjs +7 -7
  95. package/fesm2022/cax-design-system-defer.mjs.map +1 -1
  96. package/fesm2022/cax-design-system-dialog.mjs +12 -13
  97. package/fesm2022/cax-design-system-dialog.mjs.map +1 -1
  98. package/fesm2022/cax-design-system-divider.mjs +21 -11
  99. package/fesm2022/cax-design-system-divider.mjs.map +1 -1
  100. package/fesm2022/cax-design-system-dock.mjs +7 -7
  101. package/fesm2022/cax-design-system-dock.mjs.map +1 -1
  102. package/fesm2022/cax-design-system-dom.mjs +16 -6
  103. package/fesm2022/cax-design-system-dom.mjs.map +1 -1
  104. package/fesm2022/cax-design-system-dragdrop.mjs +10 -10
  105. package/fesm2022/cax-design-system-dragdrop.mjs.map +1 -1
  106. package/fesm2022/cax-design-system-dropdown.mjs +57 -22
  107. package/fesm2022/cax-design-system-dropdown.mjs.map +1 -1
  108. package/fesm2022/cax-design-system-dynamicdialog.mjs +15 -15
  109. package/fesm2022/cax-design-system-dynamicdialog.mjs.map +1 -1
  110. package/fesm2022/cax-design-system-editor.mjs +55 -15
  111. package/fesm2022/cax-design-system-editor.mjs.map +1 -1
  112. package/fesm2022/cax-design-system-fieldset.mjs +8 -8
  113. package/fesm2022/cax-design-system-fieldset.mjs.map +1 -1
  114. package/fesm2022/cax-design-system-fileupload.mjs +7 -7
  115. package/fesm2022/cax-design-system-fileupload.mjs.map +1 -1
  116. package/fesm2022/cax-design-system-floatlabel.mjs +7 -7
  117. package/fesm2022/cax-design-system-floatlabel.mjs.map +1 -1
  118. package/fesm2022/cax-design-system-focustrap.mjs +7 -7
  119. package/fesm2022/cax-design-system-focustrap.mjs.map +1 -1
  120. package/fesm2022/cax-design-system-galleria.mjs +19 -19
  121. package/fesm2022/cax-design-system-galleria.mjs.map +1 -1
  122. package/fesm2022/cax-design-system-iconfield.mjs +7 -7
  123. package/fesm2022/cax-design-system-iconfield.mjs.map +1 -1
  124. package/fesm2022/cax-design-system-icons-angledoubledown.mjs +3 -3
  125. package/fesm2022/cax-design-system-icons-angledoubledown.mjs.map +1 -1
  126. package/fesm2022/cax-design-system-icons-angledoubleleft.mjs +3 -3
  127. package/fesm2022/cax-design-system-icons-angledoubleleft.mjs.map +1 -1
  128. package/fesm2022/cax-design-system-icons-angledoubleright.mjs +3 -3
  129. package/fesm2022/cax-design-system-icons-angledoubleright.mjs.map +1 -1
  130. package/fesm2022/cax-design-system-icons-angledoubleup.mjs +3 -3
  131. package/fesm2022/cax-design-system-icons-angledoubleup.mjs.map +1 -1
  132. package/fesm2022/cax-design-system-icons-angledown.mjs +4 -4
  133. package/fesm2022/cax-design-system-icons-angledown.mjs.map +1 -1
  134. package/fesm2022/cax-design-system-icons-angleleft.mjs +3 -3
  135. package/fesm2022/cax-design-system-icons-angleleft.mjs.map +1 -1
  136. package/fesm2022/cax-design-system-icons-angleright.mjs +3 -3
  137. package/fesm2022/cax-design-system-icons-angleright.mjs.map +1 -1
  138. package/fesm2022/cax-design-system-icons-angleup.mjs +4 -4
  139. package/fesm2022/cax-design-system-icons-angleup.mjs.map +1 -1
  140. package/fesm2022/cax-design-system-icons-arrowdown.mjs +4 -4
  141. package/fesm2022/cax-design-system-icons-arrowdown.mjs.map +1 -1
  142. package/fesm2022/cax-design-system-icons-arrowdownleft.mjs +3 -3
  143. package/fesm2022/cax-design-system-icons-arrowdownleft.mjs.map +1 -1
  144. package/fesm2022/cax-design-system-icons-arrowdownright.mjs +3 -3
  145. package/fesm2022/cax-design-system-icons-arrowdownright.mjs.map +1 -1
  146. package/fesm2022/cax-design-system-icons-arrowleft.mjs +3 -3
  147. package/fesm2022/cax-design-system-icons-arrowleft.mjs.map +1 -1
  148. package/fesm2022/cax-design-system-icons-arrowright.mjs +3 -3
  149. package/fesm2022/cax-design-system-icons-arrowright.mjs.map +1 -1
  150. package/fesm2022/cax-design-system-icons-arrowup.mjs +4 -4
  151. package/fesm2022/cax-design-system-icons-arrowup.mjs.map +1 -1
  152. package/fesm2022/cax-design-system-icons-ban.mjs +3 -3
  153. package/fesm2022/cax-design-system-icons-ban.mjs.map +1 -1
  154. package/fesm2022/cax-design-system-icons-bars.mjs +3 -3
  155. package/fesm2022/cax-design-system-icons-bars.mjs.map +1 -1
  156. package/fesm2022/cax-design-system-icons-blank.mjs +4 -4
  157. package/fesm2022/cax-design-system-icons-blank.mjs.map +1 -1
  158. package/fesm2022/cax-design-system-icons-calendar.mjs +4 -4
  159. package/fesm2022/cax-design-system-icons-calendar.mjs.map +1 -1
  160. package/fesm2022/cax-design-system-icons-caretleft.mjs +3 -3
  161. package/fesm2022/cax-design-system-icons-caretleft.mjs.map +1 -1
  162. package/fesm2022/cax-design-system-icons-caretright.mjs +3 -3
  163. package/fesm2022/cax-design-system-icons-caretright.mjs.map +1 -1
  164. package/fesm2022/cax-design-system-icons-check.mjs +4 -4
  165. package/fesm2022/cax-design-system-icons-check.mjs.map +1 -1
  166. package/fesm2022/cax-design-system-icons-chevrondown.mjs +4 -4
  167. package/fesm2022/cax-design-system-icons-chevrondown.mjs.map +1 -1
  168. package/fesm2022/cax-design-system-icons-chevronleft.mjs +3 -3
  169. package/fesm2022/cax-design-system-icons-chevronleft.mjs.map +1 -1
  170. package/fesm2022/cax-design-system-icons-chevronright.mjs +4 -4
  171. package/fesm2022/cax-design-system-icons-chevronright.mjs.map +1 -1
  172. package/fesm2022/cax-design-system-icons-chevronup.mjs +4 -4
  173. package/fesm2022/cax-design-system-icons-chevronup.mjs.map +1 -1
  174. package/fesm2022/cax-design-system-icons-exclamationtriangle.mjs +3 -3
  175. package/fesm2022/cax-design-system-icons-exclamationtriangle.mjs.map +1 -1
  176. package/fesm2022/cax-design-system-icons-eye.mjs +4 -4
  177. package/fesm2022/cax-design-system-icons-eye.mjs.map +1 -1
  178. package/fesm2022/cax-design-system-icons-eyeslash.mjs +3 -3
  179. package/fesm2022/cax-design-system-icons-eyeslash.mjs.map +1 -1
  180. package/fesm2022/cax-design-system-icons-filter.mjs +3 -3
  181. package/fesm2022/cax-design-system-icons-filter.mjs.map +1 -1
  182. package/fesm2022/cax-design-system-icons-filterslash.mjs +4 -4
  183. package/fesm2022/cax-design-system-icons-filterslash.mjs.map +1 -1
  184. package/fesm2022/cax-design-system-icons-home.mjs +3 -3
  185. package/fesm2022/cax-design-system-icons-home.mjs.map +1 -1
  186. package/fesm2022/cax-design-system-icons-infocircle.mjs +3 -3
  187. package/fesm2022/cax-design-system-icons-infocircle.mjs.map +1 -1
  188. package/fesm2022/cax-design-system-icons-minus.mjs +3 -3
  189. package/fesm2022/cax-design-system-icons-minus.mjs.map +1 -1
  190. package/fesm2022/cax-design-system-icons-pencil.mjs +3 -3
  191. package/fesm2022/cax-design-system-icons-pencil.mjs.map +1 -1
  192. package/fesm2022/cax-design-system-icons-plus.mjs +4 -4
  193. package/fesm2022/cax-design-system-icons-plus.mjs.map +1 -1
  194. package/fesm2022/cax-design-system-icons-refresh.mjs +4 -4
  195. package/fesm2022/cax-design-system-icons-refresh.mjs.map +1 -1
  196. package/fesm2022/cax-design-system-icons-search.mjs +4 -4
  197. package/fesm2022/cax-design-system-icons-search.mjs.map +1 -1
  198. package/fesm2022/cax-design-system-icons-searchminus.mjs +4 -4
  199. package/fesm2022/cax-design-system-icons-searchminus.mjs.map +1 -1
  200. package/fesm2022/cax-design-system-icons-searchplus.mjs +4 -4
  201. package/fesm2022/cax-design-system-icons-searchplus.mjs.map +1 -1
  202. package/fesm2022/cax-design-system-icons-sortalt.mjs +3 -3
  203. package/fesm2022/cax-design-system-icons-sortalt.mjs.map +1 -1
  204. package/fesm2022/cax-design-system-icons-sortamountdown.mjs +3 -3
  205. package/fesm2022/cax-design-system-icons-sortamountdown.mjs.map +1 -1
  206. package/fesm2022/cax-design-system-icons-sortamountupalt.mjs +3 -3
  207. package/fesm2022/cax-design-system-icons-sortamountupalt.mjs.map +1 -1
  208. package/fesm2022/cax-design-system-icons-spinner.mjs +4 -4
  209. package/fesm2022/cax-design-system-icons-spinner.mjs.map +1 -1
  210. package/fesm2022/cax-design-system-icons-star.mjs +3 -3
  211. package/fesm2022/cax-design-system-icons-star.mjs.map +1 -1
  212. package/fesm2022/cax-design-system-icons-starfill.mjs +3 -3
  213. package/fesm2022/cax-design-system-icons-starfill.mjs.map +1 -1
  214. package/fesm2022/cax-design-system-icons-thlarge.mjs +3 -3
  215. package/fesm2022/cax-design-system-icons-thlarge.mjs.map +1 -1
  216. package/fesm2022/cax-design-system-icons-times.mjs +4 -4
  217. package/fesm2022/cax-design-system-icons-times.mjs.map +1 -1
  218. package/fesm2022/cax-design-system-icons-timescircle.mjs +4 -4
  219. package/fesm2022/cax-design-system-icons-timescircle.mjs.map +1 -1
  220. package/fesm2022/cax-design-system-icons-trash.mjs +4 -4
  221. package/fesm2022/cax-design-system-icons-trash.mjs.map +1 -1
  222. package/fesm2022/cax-design-system-icons-undo.mjs +4 -4
  223. package/fesm2022/cax-design-system-icons-undo.mjs.map +1 -1
  224. package/fesm2022/cax-design-system-icons-upload.mjs +3 -3
  225. package/fesm2022/cax-design-system-icons-upload.mjs.map +1 -1
  226. package/fesm2022/cax-design-system-icons-windowmaximize.mjs +3 -3
  227. package/fesm2022/cax-design-system-icons-windowmaximize.mjs.map +1 -1
  228. package/fesm2022/cax-design-system-icons-windowminimize.mjs +3 -3
  229. package/fesm2022/cax-design-system-icons-windowminimize.mjs.map +1 -1
  230. package/fesm2022/cax-design-system-image.mjs +8 -8
  231. package/fesm2022/cax-design-system-image.mjs.map +1 -1
  232. package/fesm2022/cax-design-system-inplace.mjs +13 -13
  233. package/fesm2022/cax-design-system-inplace.mjs.map +1 -1
  234. package/fesm2022/{cax-design-system-chips.mjs → cax-design-system-inputchips.mjs} +66 -27
  235. package/fesm2022/cax-design-system-inputchips.mjs.map +1 -0
  236. package/fesm2022/cax-design-system-inputgroup.mjs +54 -10
  237. package/fesm2022/cax-design-system-inputgroup.mjs.map +1 -1
  238. package/fesm2022/cax-design-system-inputgroupaddon.mjs +8 -8
  239. package/fesm2022/cax-design-system-inputgroupaddon.mjs.map +1 -1
  240. package/fesm2022/cax-design-system-inputicon.mjs +7 -7
  241. package/fesm2022/cax-design-system-inputicon.mjs.map +1 -1
  242. package/fesm2022/cax-design-system-inputmask.mjs +33 -20
  243. package/fesm2022/cax-design-system-inputmask.mjs.map +1 -1
  244. package/fesm2022/cax-design-system-inputnumber.mjs +64 -30
  245. package/fesm2022/cax-design-system-inputnumber.mjs.map +1 -1
  246. package/fesm2022/cax-design-system-inputotp.mjs +7 -7
  247. package/fesm2022/cax-design-system-inputotp.mjs.map +1 -1
  248. package/fesm2022/cax-design-system-inputswitch.mjs +7 -7
  249. package/fesm2022/cax-design-system-inputswitch.mjs.map +1 -1
  250. package/fesm2022/cax-design-system-inputtext.mjs +30 -14
  251. package/fesm2022/cax-design-system-inputtext.mjs.map +1 -1
  252. package/fesm2022/cax-design-system-inputtextarea.mjs +49 -18
  253. package/fesm2022/cax-design-system-inputtextarea.mjs.map +1 -1
  254. package/fesm2022/cax-design-system-keyfilter.mjs +7 -7
  255. package/fesm2022/cax-design-system-keyfilter.mjs.map +1 -1
  256. package/fesm2022/cax-design-system-knob.mjs +7 -7
  257. package/fesm2022/cax-design-system-knob.mjs.map +1 -1
  258. package/fesm2022/cax-design-system-listbox.mjs +39 -369
  259. package/fesm2022/cax-design-system-listbox.mjs.map +1 -1
  260. package/fesm2022/cax-design-system-logo.mjs +8 -8
  261. package/fesm2022/cax-design-system-logo.mjs.map +1 -1
  262. package/fesm2022/cax-design-system-logocard.mjs +37 -0
  263. package/fesm2022/cax-design-system-logocard.mjs.map +1 -0
  264. package/fesm2022/cax-design-system-megamenu.mjs +10 -10
  265. package/fesm2022/cax-design-system-megamenu.mjs.map +1 -1
  266. package/fesm2022/cax-design-system-menu.mjs +15 -15
  267. package/fesm2022/cax-design-system-menu.mjs.map +1 -1
  268. package/fesm2022/cax-design-system-menubar.mjs +13 -13
  269. package/fesm2022/cax-design-system-menubar.mjs.map +1 -1
  270. package/fesm2022/cax-design-system-message.mjs +7 -7
  271. package/fesm2022/cax-design-system-message.mjs.map +1 -1
  272. package/fesm2022/cax-design-system-messages.mjs +17 -44
  273. package/fesm2022/cax-design-system-messages.mjs.map +1 -1
  274. package/fesm2022/cax-design-system-metergroup.mjs +10 -10
  275. package/fesm2022/cax-design-system-metergroup.mjs.map +1 -1
  276. package/fesm2022/cax-design-system-multiselect.mjs +58 -24
  277. package/fesm2022/cax-design-system-multiselect.mjs.map +1 -1
  278. package/fesm2022/cax-design-system-navigation.mjs +193 -105
  279. package/fesm2022/cax-design-system-navigation.mjs.map +1 -1
  280. package/fesm2022/cax-design-system-orderlist.mjs +7 -7
  281. package/fesm2022/cax-design-system-orderlist.mjs.map +1 -1
  282. package/fesm2022/cax-design-system-organizationchart.mjs +11 -11
  283. package/fesm2022/cax-design-system-organizationchart.mjs.map +1 -1
  284. package/fesm2022/cax-design-system-overlay.mjs +8 -8
  285. package/fesm2022/cax-design-system-overlay.mjs.map +1 -1
  286. package/fesm2022/cax-design-system-overlaypanel.mjs +17 -11
  287. package/fesm2022/cax-design-system-overlaypanel.mjs.map +1 -1
  288. package/fesm2022/cax-design-system-paginator.mjs +8 -8
  289. package/fesm2022/cax-design-system-paginator.mjs.map +1 -1
  290. package/fesm2022/cax-design-system-panel.mjs +8 -8
  291. package/fesm2022/cax-design-system-panel.mjs.map +1 -1
  292. package/fesm2022/cax-design-system-panelmenu.mjs +14 -14
  293. package/fesm2022/cax-design-system-panelmenu.mjs.map +1 -1
  294. package/fesm2022/cax-design-system-password.mjs +14 -14
  295. package/fesm2022/cax-design-system-password.mjs.map +1 -1
  296. package/fesm2022/cax-design-system-picklist.mjs +7 -7
  297. package/fesm2022/cax-design-system-picklist.mjs.map +1 -1
  298. package/fesm2022/cax-design-system-productcard.mjs +90 -0
  299. package/fesm2022/cax-design-system-productcard.mjs.map +1 -0
  300. package/fesm2022/cax-design-system-progressbar.mjs +31 -9
  301. package/fesm2022/cax-design-system-progressbar.mjs.map +1 -1
  302. package/fesm2022/cax-design-system-progressspinner.mjs +17 -15
  303. package/fesm2022/cax-design-system-progressspinner.mjs.map +1 -1
  304. package/fesm2022/cax-design-system-radiobutton.mjs +27 -15
  305. package/fesm2022/cax-design-system-radiobutton.mjs.map +1 -1
  306. package/fesm2022/cax-design-system-rating.mjs +7 -7
  307. package/fesm2022/cax-design-system-rating.mjs.map +1 -1
  308. package/fesm2022/cax-design-system-ripple.mjs +7 -7
  309. package/fesm2022/cax-design-system-ripple.mjs.map +1 -1
  310. package/fesm2022/cax-design-system-scroller.mjs +8 -8
  311. package/fesm2022/cax-design-system-scroller.mjs.map +1 -1
  312. package/fesm2022/cax-design-system-scrollpanel.mjs +7 -7
  313. package/fesm2022/cax-design-system-scrollpanel.mjs.map +1 -1
  314. package/fesm2022/cax-design-system-scrolltop.mjs +8 -8
  315. package/fesm2022/cax-design-system-scrolltop.mjs.map +1 -1
  316. package/fesm2022/cax-design-system-selectbutton.mjs +79 -9
  317. package/fesm2022/cax-design-system-selectbutton.mjs.map +1 -1
  318. package/fesm2022/cax-design-system-sidebar.mjs +10 -10
  319. package/fesm2022/cax-design-system-sidebar.mjs.map +1 -1
  320. package/fesm2022/cax-design-system-skeleton.mjs +11 -10
  321. package/fesm2022/cax-design-system-skeleton.mjs.map +1 -1
  322. package/fesm2022/cax-design-system-slidemenu.mjs +10 -10
  323. package/fesm2022/cax-design-system-slidemenu.mjs.map +1 -1
  324. package/fesm2022/cax-design-system-slider.mjs +14 -199
  325. package/fesm2022/cax-design-system-slider.mjs.map +1 -1
  326. package/fesm2022/cax-design-system-speeddial.mjs +16 -9
  327. package/fesm2022/cax-design-system-speeddial.mjs.map +1 -1
  328. package/fesm2022/cax-design-system-spinner.mjs +7 -7
  329. package/fesm2022/cax-design-system-spinner.mjs.map +1 -1
  330. package/fesm2022/cax-design-system-splitbutton.mjs +10 -13
  331. package/fesm2022/cax-design-system-splitbutton.mjs.map +1 -1
  332. package/fesm2022/cax-design-system-splitter.mjs +8 -8
  333. package/fesm2022/cax-design-system-splitter.mjs.map +1 -1
  334. package/fesm2022/cax-design-system-stepper.mjs +20 -20
  335. package/fesm2022/cax-design-system-stepper.mjs.map +1 -1
  336. package/fesm2022/cax-design-system-steps.mjs +30 -11
  337. package/fesm2022/cax-design-system-steps.mjs.map +1 -1
  338. package/fesm2022/cax-design-system-styleclass.mjs +7 -7
  339. package/fesm2022/cax-design-system-styleclass.mjs.map +1 -1
  340. package/fesm2022/cax-design-system-subscriptioncard.mjs +97 -0
  341. package/fesm2022/cax-design-system-subscriptioncard.mjs.map +1 -0
  342. package/fesm2022/cax-design-system-table-paginator.mjs +129 -0
  343. package/fesm2022/cax-design-system-table-paginator.mjs.map +1 -0
  344. package/fesm2022/cax-design-system-table.mjs +284 -400
  345. package/fesm2022/cax-design-system-table.mjs.map +1 -1
  346. package/fesm2022/cax-design-system-tableconfiguration.mjs +19 -10
  347. package/fesm2022/cax-design-system-tableconfiguration.mjs.map +1 -1
  348. package/fesm2022/cax-design-system-tabmenu.mjs +7 -7
  349. package/fesm2022/cax-design-system-tabmenu.mjs.map +1 -1
  350. package/fesm2022/cax-design-system-tabview.mjs +168 -95
  351. package/fesm2022/cax-design-system-tabview.mjs.map +1 -1
  352. package/fesm2022/cax-design-system-tag.mjs +71 -15
  353. package/fesm2022/cax-design-system-tag.mjs.map +1 -1
  354. package/fesm2022/cax-design-system-terminal.mjs +14 -14
  355. package/fesm2022/cax-design-system-terminal.mjs.map +1 -1
  356. package/fesm2022/cax-design-system-tieredmenu.mjs +21 -14
  357. package/fesm2022/cax-design-system-tieredmenu.mjs.map +1 -1
  358. package/fesm2022/cax-design-system-timeline.mjs +8 -8
  359. package/fesm2022/cax-design-system-timeline.mjs.map +1 -1
  360. package/fesm2022/cax-design-system-toast.mjs +13 -25
  361. package/fesm2022/cax-design-system-toast.mjs.map +1 -1
  362. package/fesm2022/cax-design-system-togglebutton.mjs +9 -9
  363. package/fesm2022/cax-design-system-togglebutton.mjs.map +1 -1
  364. package/fesm2022/cax-design-system-toggleswitch.mjs +26 -8
  365. package/fesm2022/cax-design-system-toggleswitch.mjs.map +1 -1
  366. package/fesm2022/cax-design-system-toolbar.mjs +7 -7
  367. package/fesm2022/cax-design-system-toolbar.mjs.map +1 -1
  368. package/fesm2022/cax-design-system-tooltip.mjs +40 -20
  369. package/fesm2022/cax-design-system-tooltip.mjs.map +1 -1
  370. package/fesm2022/cax-design-system-tree.mjs +12 -12
  371. package/fesm2022/cax-design-system-tree.mjs.map +1 -1
  372. package/fesm2022/cax-design-system-treeselect.mjs +8 -8
  373. package/fesm2022/cax-design-system-treeselect.mjs.map +1 -1
  374. package/fesm2022/cax-design-system-treetable.mjs +55 -55
  375. package/fesm2022/cax-design-system-treetable.mjs.map +1 -1
  376. package/fesm2022/cax-design-system-tristatecheckbox.mjs +8 -8
  377. package/fesm2022/cax-design-system-tristatecheckbox.mjs.map +1 -1
  378. package/fesm2022/cax-design-system-upload.mjs +209 -96
  379. package/fesm2022/cax-design-system-upload.mjs.map +1 -1
  380. package/fesm2022/cax-design-system-utils.mjs.map +1 -1
  381. package/fesm2022/cax-design-system-virtualscroller.mjs +7 -7
  382. package/fesm2022/cax-design-system-virtualscroller.mjs.map +1 -1
  383. package/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
  384. package/fonts/Inter/Inter-VariableFont_opsz,wght.ttf +0 -0
  385. package/fonts/Inter/OFL.txt +93 -0
  386. package/fonts/Inter/README.txt +118 -0
  387. package/fonts/Inter/static/Inter_18pt-Black.ttf +0 -0
  388. package/fonts/Inter/static/Inter_18pt-BlackItalic.ttf +0 -0
  389. package/fonts/Inter/static/Inter_18pt-Bold.ttf +0 -0
  390. package/fonts/Inter/static/Inter_18pt-BoldItalic.ttf +0 -0
  391. package/fonts/Inter/static/Inter_18pt-ExtraBold.ttf +0 -0
  392. package/fonts/Inter/static/Inter_18pt-ExtraBoldItalic.ttf +0 -0
  393. package/fonts/Inter/static/Inter_18pt-ExtraLight.ttf +0 -0
  394. package/fonts/Inter/static/Inter_18pt-ExtraLightItalic.ttf +0 -0
  395. package/fonts/Inter/static/Inter_18pt-Italic.ttf +0 -0
  396. package/fonts/Inter/static/Inter_18pt-Light.ttf +0 -0
  397. package/fonts/Inter/static/Inter_18pt-LightItalic.ttf +0 -0
  398. package/fonts/Inter/static/Inter_18pt-Medium.ttf +0 -0
  399. package/fonts/Inter/static/Inter_18pt-MediumItalic.ttf +0 -0
  400. package/fonts/Inter/static/Inter_18pt-Regular.ttf +0 -0
  401. package/fonts/Inter/static/Inter_18pt-SemiBold.ttf +0 -0
  402. package/fonts/Inter/static/Inter_18pt-SemiBoldItalic.ttf +0 -0
  403. package/fonts/Inter/static/Inter_18pt-Thin.ttf +0 -0
  404. package/fonts/Inter/static/Inter_18pt-ThinItalic.ttf +0 -0
  405. package/fonts/Inter/static/Inter_24pt-Black.ttf +0 -0
  406. package/fonts/Inter/static/Inter_24pt-BlackItalic.ttf +0 -0
  407. package/fonts/Inter/static/Inter_24pt-Bold.ttf +0 -0
  408. package/fonts/Inter/static/Inter_24pt-BoldItalic.ttf +0 -0
  409. package/fonts/Inter/static/Inter_24pt-ExtraBold.ttf +0 -0
  410. package/fonts/Inter/static/Inter_24pt-ExtraBoldItalic.ttf +0 -0
  411. package/fonts/Inter/static/Inter_24pt-ExtraLight.ttf +0 -0
  412. package/fonts/Inter/static/Inter_24pt-ExtraLightItalic.ttf +0 -0
  413. package/fonts/Inter/static/Inter_24pt-Italic.ttf +0 -0
  414. package/fonts/Inter/static/Inter_24pt-Light.ttf +0 -0
  415. package/fonts/Inter/static/Inter_24pt-LightItalic.ttf +0 -0
  416. package/fonts/Inter/static/Inter_24pt-Medium.ttf +0 -0
  417. package/fonts/Inter/static/Inter_24pt-MediumItalic.ttf +0 -0
  418. package/fonts/Inter/static/Inter_24pt-Regular.ttf +0 -0
  419. package/fonts/Inter/static/Inter_24pt-SemiBold.ttf +0 -0
  420. package/fonts/Inter/static/Inter_24pt-SemiBoldItalic.ttf +0 -0
  421. package/fonts/Inter/static/Inter_24pt-Thin.ttf +0 -0
  422. package/fonts/Inter/static/Inter_24pt-ThinItalic.ttf +0 -0
  423. package/fonts/Inter/static/Inter_28pt-Black.ttf +0 -0
  424. package/fonts/Inter/static/Inter_28pt-BlackItalic.ttf +0 -0
  425. package/fonts/Inter/static/Inter_28pt-Bold.ttf +0 -0
  426. package/fonts/Inter/static/Inter_28pt-BoldItalic.ttf +0 -0
  427. package/fonts/Inter/static/Inter_28pt-ExtraBold.ttf +0 -0
  428. package/fonts/Inter/static/Inter_28pt-ExtraBoldItalic.ttf +0 -0
  429. package/fonts/Inter/static/Inter_28pt-ExtraLight.ttf +0 -0
  430. package/fonts/Inter/static/Inter_28pt-ExtraLightItalic.ttf +0 -0
  431. package/fonts/Inter/static/Inter_28pt-Italic.ttf +0 -0
  432. package/fonts/Inter/static/Inter_28pt-Light.ttf +0 -0
  433. package/fonts/Inter/static/Inter_28pt-LightItalic.ttf +0 -0
  434. package/fonts/Inter/static/Inter_28pt-Medium.ttf +0 -0
  435. package/fonts/Inter/static/Inter_28pt-MediumItalic.ttf +0 -0
  436. package/fonts/Inter/static/Inter_28pt-Regular.ttf +0 -0
  437. package/fonts/Inter/static/Inter_28pt-SemiBold.ttf +0 -0
  438. package/fonts/Inter/static/Inter_28pt-SemiBoldItalic.ttf +0 -0
  439. package/fonts/Inter/static/Inter_28pt-Thin.ttf +0 -0
  440. package/fonts/Inter/static/Inter_28pt-ThinItalic.ttf +0 -0
  441. package/inputchips/index.d.ts +5 -0
  442. package/{chips/chips.d.ts → inputchips/inputchips.d.ts} +24 -6
  443. package/{chips/chips.interface.d.ts → inputchips/inputchips.interface.d.ts} +1 -1
  444. package/inputchips/inputchips.module.d.ts +14 -0
  445. package/inputchips/public_api.d.ts +3 -0
  446. package/inputgroup/inputgroup.d.ts +32 -1
  447. package/inputmask/inputmask.d.ts +9 -3
  448. package/inputnumber/inputnumber.d.ts +30 -4
  449. package/inputtext/inputtext.component.d.ts +2 -1
  450. package/inputtext/inputtext.directive.d.ts +3 -1
  451. package/inputtextarea/inputtextarea.component.d.ts +8 -1
  452. package/inputtextarea/inputtextarea.directive.d.ts +12 -1
  453. package/listbox/listbox.d.ts +14 -16
  454. package/listbox/listbox.module.d.ts +14 -0
  455. package/listbox/public_api.d.ts +1 -0
  456. package/logocard/index.d.ts +5 -0
  457. package/logocard/logocard.d.ts +6 -0
  458. package/logocard/logocard.module.d.ts +7 -0
  459. package/logocard/public_api.d.ts +2 -0
  460. package/messages/messages.d.ts +2 -11
  461. package/messages/messages.interface.d.ts +0 -2
  462. package/multiselect/multiselect.d.ts +28 -2
  463. package/navigation/navigation.d.ts +17 -12
  464. package/overlaypanel/overlaypanel.d.ts +6 -1
  465. package/package.json +240 -220
  466. package/productcard/index.d.ts +5 -0
  467. package/productcard/productcard.d.ts +19 -0
  468. package/productcard/productcard.module.d.ts +7 -0
  469. package/productcard/public_api.d.ts +2 -0
  470. package/progressbar/progressbar.d.ts +17 -2
  471. package/radiobutton/radiobutton.d.ts +1 -0
  472. package/resources/cax.min.scss +6351 -1
  473. package/resources/cax.scss +11281 -12539
  474. package/resources/components/accordion/accordion.scss +0 -46
  475. package/resources/components/autocomplete/autocomplete.scss +249 -184
  476. package/resources/components/avatar/avatar.scss +30 -34
  477. package/resources/components/avatargroup/avatargroup.scss +10 -10
  478. package/resources/components/badge/badge.scss +68 -67
  479. package/resources/components/blockui/blockui.css +26 -26
  480. package/resources/components/breadcrumb/breadcrumb.scss +36 -33
  481. package/resources/components/button/button.scss +160 -163
  482. package/resources/components/calendar/calendar.scss +368 -231
  483. package/resources/components/card/card.scss +9 -50
  484. package/resources/components/carousel/carousel.css +71 -71
  485. package/resources/components/cascadeselect/cascadeselect.scss +104 -105
  486. package/resources/components/categorycard/categorycard.scss +46 -0
  487. package/resources/components/checkbox/checkbox.scss +30 -30
  488. package/resources/components/chip/chip.scss +6 -6
  489. package/resources/components/colorpicker/colorpicker-images.scss +7 -7
  490. package/resources/components/colorpicker/colorpicker.scss +82 -82
  491. package/resources/components/commentbox/commentbox.scss +621 -611
  492. package/resources/components/comments/comments.scss +0 -0
  493. package/resources/components/common/common.scss +183 -183
  494. package/resources/components/comparecard/comparecard.component.scss +50 -0
  495. package/resources/components/confirmpopup/confirmpopup.css +53 -53
  496. package/resources/components/contextmenu/contextmenu.css +42 -42
  497. package/resources/components/dataview/dataview.css +13 -13
  498. package/resources/components/dialog/dialog.scss +193 -171
  499. package/resources/components/divider/divider.scss +0 -86
  500. package/resources/components/dock/dock.css +107 -107
  501. package/resources/components/dropdown/dropdown.scss +93 -94
  502. package/resources/components/editor/editor.scss +97 -4
  503. package/resources/components/fieldset/fieldset.css +30 -30
  504. package/resources/components/fileupload/fileupload.css +47 -47
  505. package/resources/components/galleria/galleria.css +281 -281
  506. package/resources/components/iconfield/iconfield.css +5 -5
  507. package/resources/components/image/image.scss +97 -92
  508. package/resources/components/inplace/inplace.css +19 -19
  509. package/resources/components/{chips/chips.scss → inputchips/inputchips.scss} +181 -205
  510. package/resources/components/inputicon/inputicon.css +6 -6
  511. package/resources/components/inputmask/inputmask.scss +48 -12
  512. package/resources/components/inputnumber/inputnumber.scss +109 -109
  513. package/resources/components/inputotp/inputotp.css +2 -2
  514. package/resources/components/inputswitch/inputswitch.css +23 -23
  515. package/resources/components/inputtext/inputtext.scss +138 -145
  516. package/resources/components/inputtextarea/inputtextarea.scss +15 -10
  517. package/resources/components/knob/knob.css +20 -20
  518. package/resources/components/listbox/listbox.scss +49 -0
  519. package/resources/components/logocard/logocard.scss +6 -0
  520. package/resources/components/megamenu/megamenu.css +108 -108
  521. package/resources/components/menu/menu.scss +31 -31
  522. package/resources/components/menubar/menubar.css +81 -81
  523. package/resources/components/message/message.css +17 -17
  524. package/resources/components/messages/messages.scss +53 -55
  525. package/resources/components/multiselect/multiselect.scss +132 -132
  526. package/resources/components/navigation/navigation.scss +236 -197
  527. package/resources/components/orderlist/orderlist.css +78 -78
  528. package/resources/components/organizationchart/organizationchart.css +62 -62
  529. package/resources/components/overlay/overlay.scss +80 -80
  530. package/resources/components/overlaypanel/overlaypanel.scss +84 -66
  531. package/resources/components/paginator/paginator.scss +41 -41
  532. package/resources/components/panel/panel.css +29 -29
  533. package/resources/components/panelmenu/panelmenu.css +45 -45
  534. package/resources/components/password/password.css +54 -54
  535. package/resources/components/picklist/picklist.css +60 -60
  536. package/resources/components/productcard/productcard.scss +95 -0
  537. package/resources/components/progressbar/progressbar.scss +107 -107
  538. package/resources/components/progressspinner/progressspinner.scss +0 -94
  539. package/resources/components/radiobutton/radiobutton.scss +34 -34
  540. package/resources/components/rating/rating.css +15 -15
  541. package/resources/components/ripple/ripple.scss +29 -29
  542. package/resources/components/scroller/scroller.scss +58 -58
  543. package/resources/components/scrollpanel/scrollpanel.css +50 -50
  544. package/resources/components/scrolltop/scrolltop.css +18 -18
  545. package/resources/components/sidebar/sidebar.scss +117 -117
  546. package/resources/components/skeleton/skeleton.scss +24 -25
  547. package/resources/components/slidemenu/slidemenu.css +100 -100
  548. package/resources/components/slider/{slider.css → slider.scss} +41 -41
  549. package/resources/components/speeddial/speeddial.scss +131 -122
  550. package/resources/components/spinner/spinner.css +63 -63
  551. package/resources/components/splitbutton/splitbutton.scss +57 -53
  552. package/resources/components/splitter/splitter.scss +73 -73
  553. package/resources/components/stepper/stepper.css +9 -9
  554. package/resources/components/steps/steps.scss +49 -50
  555. package/resources/components/subscriptioncard/subscriptioncard.component.scss +65 -0
  556. package/resources/components/table/table.scss +511 -458
  557. package/resources/components/table-paginator/table-paginator.component.scss +72 -0
  558. package/resources/components/tableconfiguration/tableconfiguration.scss +3 -125
  559. package/resources/components/tabmenu/tabmenu.css +80 -80
  560. package/resources/components/tabview/tabview.scss +206 -198
  561. package/resources/components/tag/tag.scss +7 -23
  562. package/resources/components/terminal/terminal.css +24 -24
  563. package/resources/components/tieredmenu/tieredmenu.scss +55 -55
  564. package/resources/components/timeline/timeline.scss +128 -128
  565. package/resources/components/toast/toast.scss +78 -87
  566. package/resources/components/toggleswitch/toggleswitch.scss +45 -36
  567. package/resources/components/toolbar/toolbar.css +19 -19
  568. package/resources/components/tooltip/tooltip.scss +124 -124
  569. package/resources/components/tree/tree.scss +154 -154
  570. package/resources/components/treeselect/treeselect.scss +114 -114
  571. package/resources/components/treetable/treetable.css +205 -205
  572. package/resources/components/upload/upload.component.scss +84 -145
  573. package/resources/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
  574. package/resources/fonts/Inter/Inter-VariableFont_opsz,wght.ttf +0 -0
  575. package/resources/fonts/Inter/OFL.txt +93 -0
  576. package/resources/fonts/Inter/README.txt +118 -0
  577. package/resources/fonts/Inter/static/Inter_18pt-Black.ttf +0 -0
  578. package/resources/fonts/Inter/static/Inter_18pt-BlackItalic.ttf +0 -0
  579. package/resources/fonts/Inter/static/Inter_18pt-Bold.ttf +0 -0
  580. package/resources/fonts/Inter/static/Inter_18pt-BoldItalic.ttf +0 -0
  581. package/resources/fonts/Inter/static/Inter_18pt-ExtraBold.ttf +0 -0
  582. package/resources/fonts/Inter/static/Inter_18pt-ExtraBoldItalic.ttf +0 -0
  583. package/resources/fonts/Inter/static/Inter_18pt-ExtraLight.ttf +0 -0
  584. package/resources/fonts/Inter/static/Inter_18pt-ExtraLightItalic.ttf +0 -0
  585. package/resources/fonts/Inter/static/Inter_18pt-Italic.ttf +0 -0
  586. package/resources/fonts/Inter/static/Inter_18pt-Light.ttf +0 -0
  587. package/resources/fonts/Inter/static/Inter_18pt-LightItalic.ttf +0 -0
  588. package/resources/fonts/Inter/static/Inter_18pt-Medium.ttf +0 -0
  589. package/resources/fonts/Inter/static/Inter_18pt-MediumItalic.ttf +0 -0
  590. package/resources/fonts/Inter/static/Inter_18pt-Regular.ttf +0 -0
  591. package/resources/fonts/Inter/static/Inter_18pt-SemiBold.ttf +0 -0
  592. package/resources/fonts/Inter/static/Inter_18pt-SemiBoldItalic.ttf +0 -0
  593. package/resources/fonts/Inter/static/Inter_18pt-Thin.ttf +0 -0
  594. package/resources/fonts/Inter/static/Inter_18pt-ThinItalic.ttf +0 -0
  595. package/resources/fonts/Inter/static/Inter_24pt-Black.ttf +0 -0
  596. package/resources/fonts/Inter/static/Inter_24pt-BlackItalic.ttf +0 -0
  597. package/resources/fonts/Inter/static/Inter_24pt-Bold.ttf +0 -0
  598. package/resources/fonts/Inter/static/Inter_24pt-BoldItalic.ttf +0 -0
  599. package/resources/fonts/Inter/static/Inter_24pt-ExtraBold.ttf +0 -0
  600. package/resources/fonts/Inter/static/Inter_24pt-ExtraBoldItalic.ttf +0 -0
  601. package/resources/fonts/Inter/static/Inter_24pt-ExtraLight.ttf +0 -0
  602. package/resources/fonts/Inter/static/Inter_24pt-ExtraLightItalic.ttf +0 -0
  603. package/resources/fonts/Inter/static/Inter_24pt-Italic.ttf +0 -0
  604. package/resources/fonts/Inter/static/Inter_24pt-Light.ttf +0 -0
  605. package/resources/fonts/Inter/static/Inter_24pt-LightItalic.ttf +0 -0
  606. package/resources/fonts/Inter/static/Inter_24pt-Medium.ttf +0 -0
  607. package/resources/fonts/Inter/static/Inter_24pt-MediumItalic.ttf +0 -0
  608. package/resources/fonts/Inter/static/Inter_24pt-Regular.ttf +0 -0
  609. package/resources/fonts/Inter/static/Inter_24pt-SemiBold.ttf +0 -0
  610. package/resources/fonts/Inter/static/Inter_24pt-SemiBoldItalic.ttf +0 -0
  611. package/resources/fonts/Inter/static/Inter_24pt-Thin.ttf +0 -0
  612. package/resources/fonts/Inter/static/Inter_24pt-ThinItalic.ttf +0 -0
  613. package/resources/fonts/Inter/static/Inter_28pt-Black.ttf +0 -0
  614. package/resources/fonts/Inter/static/Inter_28pt-BlackItalic.ttf +0 -0
  615. package/resources/fonts/Inter/static/Inter_28pt-Bold.ttf +0 -0
  616. package/resources/fonts/Inter/static/Inter_28pt-BoldItalic.ttf +0 -0
  617. package/resources/fonts/Inter/static/Inter_28pt-ExtraBold.ttf +0 -0
  618. package/resources/fonts/Inter/static/Inter_28pt-ExtraBoldItalic.ttf +0 -0
  619. package/resources/fonts/Inter/static/Inter_28pt-ExtraLight.ttf +0 -0
  620. package/resources/fonts/Inter/static/Inter_28pt-ExtraLightItalic.ttf +0 -0
  621. package/resources/fonts/Inter/static/Inter_28pt-Italic.ttf +0 -0
  622. package/resources/fonts/Inter/static/Inter_28pt-Light.ttf +0 -0
  623. package/resources/fonts/Inter/static/Inter_28pt-LightItalic.ttf +0 -0
  624. package/resources/fonts/Inter/static/Inter_28pt-Medium.ttf +0 -0
  625. package/resources/fonts/Inter/static/Inter_28pt-MediumItalic.ttf +0 -0
  626. package/resources/fonts/Inter/static/Inter_28pt-Regular.ttf +0 -0
  627. package/resources/fonts/Inter/static/Inter_28pt-SemiBold.ttf +0 -0
  628. package/resources/fonts/Inter/static/Inter_28pt-SemiBoldItalic.ttf +0 -0
  629. package/resources/fonts/Inter/static/Inter_28pt-Thin.ttf +0 -0
  630. package/resources/fonts/Inter/static/Inter_28pt-ThinItalic.ttf +0 -0
  631. package/resources/logo/cax-intro-logo.svg +75 -0
  632. package/resources/logo/cax-sidebar-logo.svg +6 -0
  633. package/resources/logo/dataX-dark.svg +12 -12
  634. package/resources/logo/dataX-icon-dark.svg +5 -5
  635. package/resources/logo/dataX-icon.svg +5 -5
  636. package/resources/logo/dataX.svg +12 -12
  637. package/resources/styles/colors.scss +568 -397
  638. package/resources/styles/fonts.scss +15 -0
  639. package/resources/styles/transitions.scss +23 -0
  640. package/resources/styles/typography.scss +555 -116
  641. package/resources/styles/variables.scss +85 -0
  642. package/selectbutton/selectbutton.d.ts +50 -1
  643. package/slider/public_api.d.ts +1 -0
  644. package/slider/slider.d.ts +1 -8
  645. package/slider/slider.module.d.ts +9 -0
  646. package/speeddial/speeddial.d.ts +6 -1
  647. package/splitbutton/splitbutton.d.ts +2 -2
  648. package/steps/steps.d.ts +11 -4
  649. package/steps/steps.module.d.ts +2 -1
  650. package/subscriptioncard/index.d.ts +5 -0
  651. package/subscriptioncard/public_api.d.ts +2 -0
  652. package/subscriptioncard/subscriptioncard.component.d.ts +33 -0
  653. package/subscriptioncard/subscriptioncard.module.d.ts +11 -0
  654. package/table/components/column-filter/column-filter.d.ts +0 -34
  655. package/table/components/table-header-checkbox/table-header-checkbox.d.ts +3 -1
  656. package/table/directives/cell-extend.directive.d.ts +14 -0
  657. package/table/directives/cell-highlight.directive.d.ts +4 -6
  658. package/table/public_api.d.ts +1 -0
  659. package/table/table.d.ts +34 -60
  660. package/table/table.interface.d.ts +21 -0
  661. package/table/table.module.d.ts +4 -3
  662. package/table-paginator/index.d.ts +5 -0
  663. package/table-paginator/public_api.d.ts +3 -0
  664. package/table-paginator/table-paginator.component.d.ts +28 -0
  665. package/table-paginator/table-paginator.interface.d.ts +21 -0
  666. package/table-paginator/table-paginator.module.d.ts +9 -0
  667. package/tableconfiguration/tableconfiguration.d.ts +3 -1
  668. package/tabview/tabview.d.ts +14 -12
  669. package/tabview/tabview.module.d.ts +2 -1
  670. package/tag/tag.d.ts +43 -5
  671. package/terminal/terminal.d.ts +1 -1
  672. package/tieredmenu/tieredmenu.d.ts +6 -1
  673. package/toast/toast.d.ts +1 -9
  674. package/toggleswitch/toggleswitch.d.ts +5 -0
  675. package/upload/upload.component.d.ts +51 -19
  676. package/chips/chips.module.d.ts +0 -14
  677. package/chips/public_api.d.ts +0 -3
  678. package/fesm2022/cax-design-system-chips.mjs.map +0 -1
  679. package/resources/components/listbox/listbox.css +0 -40
  680. package/resources/styles/shadow-blur.scss +0 -22
  681. package/resources/styles/space-radius-border.scss +0 -49
@@ -1 +1 @@
1
- {"version":3,"file":"cax-design-system-dragdrop.mjs","sources":["../../src/app/components/dragdrop/dragdrop.ts","../../src/app/components/dragdrop/dragdrop.module.ts","../../src/app/components/dragdrop/cax-design-system-dragdrop.ts"],"sourcesContent":["import { AfterViewInit, Directive, ElementRef, EventEmitter, HostListener, Input, NgZone, OnDestroy, Output, Renderer2, booleanAttribute } from '@angular/core';\nimport { DomHandler } from 'cax-design-system/dom';\nimport { VoidListener } from 'cax-design-system/ts-helpers';\n/**\n * caxDraggable directive apply draggable behavior to any element.\n * @group Components\n */\n@Directive({\n selector: '[caxDraggable]',\n standalone: false,\n host: {\n class: 'cax-element'\n }\n})\nexport class Draggable implements AfterViewInit, OnDestroy {\n @Input('caxDraggable') scope: string | undefined;\n /**\n * Defines the cursor style.\n * @group Props\n */\n @Input() dragEffect: 'none' | 'copy' | 'copyLink' | 'copyMove' | 'link' | 'linkMove' | 'move' | 'all' | 'uninitialized' | undefined;\n /**\n * Selector to define the drag handle, by default anywhere on the target element is a drag handle to start dragging.\n * @group Props\n */\n @Input() dragHandle: string | undefined;\n /**\n * Callback to invoke when drag begins.\n * @param {DragEvent} event - Drag event.\n * @group Emits\n */\n @Output() onDragStart: EventEmitter<DragEvent> = new EventEmitter();\n /**\n * Callback to invoke when drag ends.\n * @param {DragEvent} event - Drag event.\n * @group Emits\n */\n @Output() onDragEnd: EventEmitter<DragEvent> = new EventEmitter();\n /**\n * Callback to invoke on dragging.\n * @param {DragEvent} event - Drag event.\n * @group Emits\n */\n @Output() onDrag: EventEmitter<DragEvent> = new EventEmitter();\n\n handle: any;\n\n dragListener: VoidListener;\n\n mouseDownListener: VoidListener;\n\n mouseUpListener: VoidListener;\n\n _caxDraggableDisabled: boolean = false;\n\n constructor(\n public el: ElementRef,\n public zone: NgZone,\n private renderer: Renderer2\n ) {}\n\n @Input() get caxDraggableDisabled(): boolean {\n return this._caxDraggableDisabled;\n }\n set caxDraggableDisabled(_caxDraggableDisabled: boolean) {\n this._caxDraggableDisabled = _caxDraggableDisabled;\n\n if (this._caxDraggableDisabled) {\n this.unbindMouseListeners();\n } else {\n this.el.nativeElement.draggable = true;\n this.bindMouseListeners();\n }\n }\n\n ngAfterViewInit() {\n if (!this.caxDraggableDisabled) {\n this.el.nativeElement.draggable = true;\n this.bindMouseListeners();\n }\n }\n\n bindDragListener() {\n if (!this.dragListener) {\n this.zone.runOutsideAngular(() => {\n this.dragListener = this.renderer.listen(this.el.nativeElement, 'drag', this.drag.bind(this));\n });\n }\n }\n\n unbindDragListener() {\n if (this.dragListener) {\n this.zone.runOutsideAngular(() => {\n this.dragListener && this.dragListener();\n this.dragListener = null;\n });\n }\n }\n\n bindMouseListeners() {\n if (!this.mouseDownListener && !this.mouseUpListener) {\n this.zone.runOutsideAngular(() => {\n this.mouseDownListener = this.renderer.listen(this.el.nativeElement, 'mousedown', this.mousedown.bind(this));\n this.mouseUpListener = this.renderer.listen(this.el.nativeElement, 'mouseup', this.mouseup.bind(this));\n });\n }\n }\n\n unbindMouseListeners() {\n if (this.mouseDownListener && this.mouseUpListener) {\n this.zone.runOutsideAngular(() => {\n this.mouseDownListener && this.mouseDownListener();\n this.mouseUpListener && this.mouseUpListener();\n this.mouseDownListener = null;\n this.mouseUpListener = null;\n });\n }\n }\n\n drag(event: DragEvent) {\n this.onDrag.emit(event);\n }\n\n @HostListener('dragstart', ['$event'])\n dragStart(event: DragEvent) {\n if (this.allowDrag() && !this.caxDraggableDisabled) {\n if (this.dragEffect) {\n (event.dataTransfer as DataTransfer).effectAllowed = this.dragEffect;\n }\n (event.dataTransfer as DataTransfer).setData('text', this.scope!);\n\n this.onDragStart.emit(event);\n\n this.bindDragListener();\n } else {\n event.preventDefault();\n }\n }\n\n @HostListener('dragend', ['$event'])\n dragEnd(event: DragEvent) {\n this.onDragEnd.emit(event);\n this.unbindDragListener();\n }\n\n mousedown(event: MouseEvent) {\n this.handle = event.target;\n }\n\n mouseup(event: MouseEvent) {\n this.handle = null;\n }\n\n allowDrag(): boolean {\n if (this.dragHandle && this.handle) return DomHandler.matches(this.handle, this.dragHandle);\n else return true;\n }\n\n ngOnDestroy() {\n this.unbindDragListener();\n this.unbindMouseListeners();\n }\n}\n/**\n * caxDroppable directive apply droppable behavior to any element.\n * @group Components\n */\n@Directive({\n selector: '[caxDroppable]',\n standalone: false,\n host: {\n class: 'cax-element'\n }\n})\nexport class Droppable implements AfterViewInit, OnDestroy {\n @Input('caxDroppable') scope: string | string[] | undefined;\n /**\n * Whether the element is droppable, useful for conditional cases.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) caxDroppableDisabled: boolean = false;\n /**\n * Defines the cursor style, valid values are none, copy, move, link, copyMove, copyLink, linkMove and all.\n * @group Props\n */\n @Input() dropEffect: 'none' | 'copy' | 'link' | 'move' | undefined;\n /**\n * Callback to invoke when a draggable enters drop area.\n * @group Emits\n */\n @Output() onDragEnter: EventEmitter<DragEvent> = new EventEmitter();\n /**\n * Callback to invoke when a draggable leave drop area.\n * @group Emits\n */\n @Output() onDragLeave: EventEmitter<DragEvent> = new EventEmitter();\n /**\n * Callback to invoke when a draggable is dropped onto drop area.\n * @group Emits\n */\n @Output() onDrop: EventEmitter<DragEvent> = new EventEmitter();\n\n constructor(\n public el: ElementRef,\n public zone: NgZone,\n private renderer: Renderer2\n ) {}\n\n dragOverListener: VoidListener;\n\n ngAfterViewInit() {\n if (!this.caxDroppableDisabled) {\n this.bindDragOverListener();\n }\n }\n\n bindDragOverListener() {\n if (!this.dragOverListener) {\n this.zone.runOutsideAngular(() => {\n this.dragOverListener = this.renderer.listen(this.el.nativeElement, 'dragover', this.dragOver.bind(this));\n });\n }\n }\n\n unbindDragOverListener() {\n if (this.dragOverListener) {\n this.zone.runOutsideAngular(() => {\n this.dragOverListener && this.dragOverListener();\n this.dragOverListener = null;\n });\n }\n }\n\n dragOver(event: DragEvent) {\n event.preventDefault();\n }\n\n @HostListener('drop', ['$event'])\n drop(event: DragEvent) {\n if (this.allowDrop(event)) {\n DomHandler.removeClass(this.el.nativeElement, 'cax-draggable-enter');\n event.preventDefault();\n this.onDrop.emit(event);\n }\n }\n\n @HostListener('dragenter', ['$event'])\n dragEnter(event: DragEvent) {\n event.preventDefault();\n\n if (this.dropEffect) {\n (event.dataTransfer as DataTransfer).dropEffect = this.dropEffect;\n }\n\n DomHandler.addClass(this.el.nativeElement, 'cax-draggable-enter');\n this.onDragEnter.emit(event);\n }\n\n @HostListener('dragleave', ['$event'])\n dragLeave(event: DragEvent) {\n event.preventDefault();\n\n if (!this.el.nativeElement.contains(event.relatedTarget)) {\n DomHandler.removeClass(this.el.nativeElement, 'cax-draggable-enter');\n this.onDragLeave.emit(event);\n }\n }\n\n allowDrop(event: DragEvent): boolean {\n let dragScope = (event.dataTransfer as DataTransfer).getData('text');\n if (typeof this.scope == 'string' && dragScope == this.scope) {\n return true;\n } else if (Array.isArray(this.scope)) {\n for (let j = 0; j < this.scope.length; j++) {\n if (dragScope == this.scope[j]) {\n return true;\n }\n }\n }\n return false;\n }\n\n ngOnDestroy() {\n this.unbindDragOverListener();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { Draggable, Droppable } from './dragdrop';\n\n@NgModule({\n imports: [CommonModule],\n exports: [Draggable, Droppable],\n declarations: [Draggable, Droppable]\n})\nexport class DragDropModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;AAGA;;;AAGG;MAQU,SAAS,CAAA;AA0CP,IAAA,EAAA;AACA,IAAA,IAAA;AACC,IAAA,QAAA;AA3CW,IAAA,KAAK;AAC5B;;;AAGG;AACM,IAAA,UAAU;AACnB;;;AAGG;AACM,IAAA,UAAU;AACnB;;;;AAIG;AACO,IAAA,WAAW,GAA4B,IAAI,YAAY,EAAE;AACnE;;;;AAIG;AACO,IAAA,SAAS,GAA4B,IAAI,YAAY,EAAE;AACjE;;;;AAIG;AACO,IAAA,MAAM,GAA4B,IAAI,YAAY,EAAE;AAE9D,IAAA,MAAM;AAEN,IAAA,YAAY;AAEZ,IAAA,iBAAiB;AAEjB,IAAA,eAAe;IAEf,qBAAqB,GAAY,KAAK;AAEtC,IAAA,WAAA,CACW,EAAc,EACd,IAAY,EACX,QAAmB,EAAA;QAFpB,IAAE,CAAA,EAAA,GAAF,EAAE;QACF,IAAI,CAAA,IAAA,GAAJ,IAAI;QACH,IAAQ,CAAA,QAAA,GAAR,QAAQ;;AAGpB,IAAA,IAAa,oBAAoB,GAAA;QAC7B,OAAO,IAAI,CAAC,qBAAqB;;IAErC,IAAI,oBAAoB,CAAC,qBAA8B,EAAA;AACnD,QAAA,IAAI,CAAC,qBAAqB,GAAG,qBAAqB;AAElD,QAAA,IAAI,IAAI,CAAC,qBAAqB,EAAE;YAC5B,IAAI,CAAC,oBAAoB,EAAE;;aACxB;YACH,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,SAAS,GAAG,IAAI;YACtC,IAAI,CAAC,kBAAkB,EAAE;;;IAIjC,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AA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAJb,YAAY,CAAA,EAAA,CAAA;;4FAIb,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;AAC/B,oBAAA,YAAY,EAAE,CAAC,SAAS,EAAE,SAAS;AACtC,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"cax-design-system-dragdrop.mjs","sources":["../../src/app/components/dragdrop/dragdrop.ts","../../src/app/components/dragdrop/dragdrop.module.ts","../../src/app/components/dragdrop/cax-design-system-dragdrop.ts"],"sourcesContent":["import { AfterViewInit, Directive, ElementRef, EventEmitter, HostListener, Input, NgZone, OnDestroy, Output, Renderer2, booleanAttribute } from '@angular/core';\nimport { DomHandler } from 'cax-design-system/dom';\nimport { VoidListener } from 'cax-design-system/ts-helpers';\n/**\n * caxDraggable directive apply draggable behavior to any element.\n * @group Components\n */\n@Directive({\n selector: '[caxDraggable]',\n standalone: false,\n host: {\n class: 'cax-element'\n }\n})\nexport class Draggable implements AfterViewInit, OnDestroy {\n @Input('caxDraggable') scope: string | undefined;\n /**\n * Defines the cursor style.\n * @group Props\n */\n @Input() dragEffect: 'none' | 'copy' | 'copyLink' | 'copyMove' | 'link' | 'linkMove' | 'move' | 'all' | 'uninitialized' | undefined;\n /**\n * Selector to define the drag handle, by default anywhere on the target element is a drag handle to start dragging.\n * @group Props\n */\n @Input() dragHandle: string | undefined;\n /**\n * Callback to invoke when drag begins.\n * @param {DragEvent} event - Drag event.\n * @group Emits\n */\n @Output() onDragStart: EventEmitter<DragEvent> = new EventEmitter();\n /**\n * Callback to invoke when drag ends.\n * @param {DragEvent} event - Drag event.\n * @group Emits\n */\n @Output() onDragEnd: EventEmitter<DragEvent> = new EventEmitter();\n /**\n * Callback to invoke on dragging.\n * @param {DragEvent} event - Drag event.\n * @group Emits\n */\n @Output() onDrag: EventEmitter<DragEvent> = new EventEmitter();\n\n handle: any;\n\n dragListener: VoidListener;\n\n mouseDownListener: VoidListener;\n\n mouseUpListener: VoidListener;\n\n _caxDraggableDisabled: boolean = false;\n\n constructor(\n public el: ElementRef,\n public zone: NgZone,\n private renderer: Renderer2\n ) {}\n\n @Input() get caxDraggableDisabled(): boolean {\n return this._caxDraggableDisabled;\n }\n set caxDraggableDisabled(_caxDraggableDisabled: boolean) {\n this._caxDraggableDisabled = _caxDraggableDisabled;\n\n if (this._caxDraggableDisabled) {\n this.unbindMouseListeners();\n } else {\n this.el.nativeElement.draggable = true;\n this.bindMouseListeners();\n }\n }\n\n ngAfterViewInit() {\n if (!this.caxDraggableDisabled) {\n this.el.nativeElement.draggable = true;\n this.bindMouseListeners();\n }\n }\n\n bindDragListener() {\n if (!this.dragListener) {\n this.zone.runOutsideAngular(() => {\n this.dragListener = this.renderer.listen(this.el.nativeElement, 'drag', this.drag.bind(this));\n });\n }\n }\n\n unbindDragListener() {\n if (this.dragListener) {\n this.zone.runOutsideAngular(() => {\n this.dragListener && this.dragListener();\n this.dragListener = null;\n });\n }\n }\n\n bindMouseListeners() {\n if (!this.mouseDownListener && !this.mouseUpListener) {\n this.zone.runOutsideAngular(() => {\n this.mouseDownListener = this.renderer.listen(this.el.nativeElement, 'mousedown', this.mousedown.bind(this));\n this.mouseUpListener = this.renderer.listen(this.el.nativeElement, 'mouseup', this.mouseup.bind(this));\n });\n }\n }\n\n unbindMouseListeners() {\n if (this.mouseDownListener && this.mouseUpListener) {\n this.zone.runOutsideAngular(() => {\n this.mouseDownListener && this.mouseDownListener();\n this.mouseUpListener && this.mouseUpListener();\n this.mouseDownListener = null;\n this.mouseUpListener = null;\n });\n }\n }\n\n drag(event: DragEvent) {\n this.onDrag.emit(event);\n }\n\n @HostListener('dragstart', ['$event'])\n dragStart(event: DragEvent) {\n if (this.allowDrag() && !this.caxDraggableDisabled) {\n if (this.dragEffect) {\n (event.dataTransfer as DataTransfer).effectAllowed = this.dragEffect;\n }\n (event.dataTransfer as DataTransfer).setData('text', this.scope!);\n\n this.onDragStart.emit(event);\n\n this.bindDragListener();\n } else {\n event.preventDefault();\n }\n }\n\n @HostListener('dragend', ['$event'])\n dragEnd(event: DragEvent) {\n this.onDragEnd.emit(event);\n this.unbindDragListener();\n }\n\n mousedown(event: MouseEvent) {\n this.handle = event.target;\n }\n\n mouseup(event: MouseEvent) {\n this.handle = null;\n }\n\n allowDrag(): boolean {\n if (this.dragHandle && this.handle) return DomHandler.matches(this.handle, this.dragHandle);\n else return true;\n }\n\n ngOnDestroy() {\n this.unbindDragListener();\n this.unbindMouseListeners();\n }\n}\n/**\n * caxDroppable directive apply droppable behavior to any element.\n * @group Components\n */\n@Directive({\n selector: '[caxDroppable]',\n standalone: false,\n host: {\n class: 'cax-element'\n }\n})\nexport class Droppable implements AfterViewInit, OnDestroy {\n @Input('caxDroppable') scope: string | string[] | undefined;\n /**\n * Whether the element is droppable, useful for conditional cases.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) caxDroppableDisabled: boolean = false;\n /**\n * Defines the cursor style, valid values are none, copy, move, link, copyMove, copyLink, linkMove and all.\n * @group Props\n */\n @Input() dropEffect: 'none' | 'copy' | 'link' | 'move' | undefined;\n /**\n * Callback to invoke when a draggable enters drop area.\n * @group Emits\n */\n @Output() onDragEnter: EventEmitter<DragEvent> = new EventEmitter();\n /**\n * Callback to invoke when a draggable leave drop area.\n * @group Emits\n */\n @Output() onDragLeave: EventEmitter<DragEvent> = new EventEmitter();\n /**\n * Callback to invoke when a draggable is dropped onto drop area.\n * @group Emits\n */\n @Output() onDrop: EventEmitter<DragEvent> = new EventEmitter();\n\n constructor(\n public el: ElementRef,\n public zone: NgZone,\n private renderer: Renderer2\n ) {}\n\n dragOverListener: VoidListener;\n\n ngAfterViewInit() {\n if (!this.caxDroppableDisabled) {\n this.bindDragOverListener();\n }\n }\n\n bindDragOverListener() {\n if (!this.dragOverListener) {\n this.zone.runOutsideAngular(() => {\n this.dragOverListener = this.renderer.listen(this.el.nativeElement, 'dragover', this.dragOver.bind(this));\n });\n }\n }\n\n unbindDragOverListener() {\n if (this.dragOverListener) {\n this.zone.runOutsideAngular(() => {\n this.dragOverListener && this.dragOverListener();\n this.dragOverListener = null;\n });\n }\n }\n\n dragOver(event: DragEvent) {\n event.preventDefault();\n }\n\n @HostListener('drop', ['$event'])\n drop(event: DragEvent) {\n if (this.allowDrop(event)) {\n DomHandler.removeClass(this.el.nativeElement, 'cax-draggable-enter');\n event.preventDefault();\n this.onDrop.emit(event);\n }\n }\n\n @HostListener('dragenter', ['$event'])\n dragEnter(event: DragEvent) {\n event.preventDefault();\n\n if (this.dropEffect) {\n (event.dataTransfer as DataTransfer).dropEffect = this.dropEffect;\n }\n\n DomHandler.addClass(this.el.nativeElement, 'cax-draggable-enter');\n this.onDragEnter.emit(event);\n }\n\n @HostListener('dragleave', ['$event'])\n dragLeave(event: DragEvent) {\n event.preventDefault();\n\n if (!this.el.nativeElement.contains(event.relatedTarget)) {\n DomHandler.removeClass(this.el.nativeElement, 'cax-draggable-enter');\n this.onDragLeave.emit(event);\n }\n }\n\n allowDrop(event: DragEvent): boolean {\n let dragScope = (event.dataTransfer as DataTransfer).getData('text');\n if (typeof this.scope == 'string' && dragScope == this.scope) {\n return true;\n } else if (Array.isArray(this.scope)) {\n for (let j = 0; j < this.scope.length; j++) {\n if (dragScope == this.scope[j]) {\n return true;\n }\n }\n }\n return false;\n }\n\n ngOnDestroy() {\n this.unbindDragOverListener();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { Draggable, Droppable } from './dragdrop';\n\n@NgModule({\n imports: [CommonModule],\n exports: [Draggable, Droppable],\n declarations: [Draggable, Droppable]\n})\nexport class DragDropModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names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AA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAJb,YAAY,CAAA,EAAA,CAAA;;4FAIb,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;AAC/B,oBAAA,YAAY,EAAE,CAAC,SAAS,EAAE,SAAS;AACtC,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -1,10 +1,10 @@
1
1
  import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { EventEmitter, booleanAttribute, numberAttribute, Output, Input, Component, forwardRef, signal, computed, effect, ContentChildren, ViewChild, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
4
+ import { EventEmitter, booleanAttribute, numberAttribute, Output, Input, Component, forwardRef, signal, computed, effect, ContentChildren, ContentChild, ViewChild, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
6
  import * as i1 from 'cax-design-system/api';
7
- import { TranslationKeys, SharedModule, CaxTemplate } from 'cax-design-system/api';
7
+ import { TranslationKeys, SharedModule, Footer, CaxTemplate } from 'cax-design-system/api';
8
8
  import * as i6 from 'cax-design-system/autofocus';
9
9
  import { AutoFocusModule } from 'cax-design-system/autofocus';
10
10
  import { DomHandler } from 'cax-design-system/dom';
@@ -17,10 +17,9 @@ import * as i4 from 'cax-design-system/tooltip';
17
17
  import { TooltipModule } from 'cax-design-system/tooltip';
18
18
  import { ObjectUtils, UniqueComponentId } from 'cax-design-system/utils';
19
19
  import { TimesIcon } from 'cax-design-system/icons/times';
20
- import { ChevronDownIcon } from 'cax-design-system/icons/chevrondown';
21
- import { SearchIcon } from 'cax-design-system/icons/search';
22
20
  import { BlankIcon } from 'cax-design-system/icons/blank';
23
21
  import { CheckIcon } from 'cax-design-system/icons/check';
22
+ import { Divider } from 'cax-design-system/divider';
24
23
 
25
24
  class DropdownItem {
26
25
  id;
@@ -35,6 +34,7 @@ class DropdownItem {
35
34
  ariaSetSize;
36
35
  template;
37
36
  checkmark;
37
+ size = 'md';
38
38
  onClick = new EventEmitter();
39
39
  onMouseEnter = new EventEmitter();
40
40
  ngOnInit() { }
@@ -44,14 +44,14 @@ class DropdownItem {
44
44
  onOptionMouseEnter(event) {
45
45
  this.onMouseEnter.emit(event);
46
46
  }
47
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DropdownItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
48
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.16", type: DropdownItem, isStandalone: true, selector: "cax-dropdownItem", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], focused: ["focused", "focused", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], visible: ["visible", "visible", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", template: "template", checkmark: ["checkmark", "checkmark", booleanAttribute] }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, host: { classAttribute: "cax-element" }, ngImport: i0, template: "<li\r\n [id]=\"id\"\r\n (click)=\"onOptionClick($event)\"\r\n (mouseenter)=\"onOptionMouseEnter($event)\"\r\n role=\"option\"\r\n caxRipple\r\n [attr.aria-label]=\"label\"\r\n [attr.aria-setsize]=\"ariaSetSize\"\r\n [attr.aria-posinset]=\"ariaPosInset\"\r\n [attr.aria-selected]=\"selected\"\r\n [attr.data-cax-focused]=\"focused\"\r\n [attr.data-cax-highlight]=\"selected\"\r\n [attr.data-cax-disabled]=\"disabled\"\r\n [ngStyle]=\"{ height: itemSize + 'px' }\"\r\n [ngClass]=\"{ 'cax-dropdown-item': true, 'cax-highlight': selected, 'cax-disabled': disabled, 'cax-focus': focused }\"\r\n>\r\n <ng-container *ngIf=\"checkmark\">\r\n <CheckIcon *ngIf=\"selected\" [styleClass]=\"'cax-dropdown-check-icon'\" />\r\n <BlankIcon *ngIf=\"!selected\" [styleClass]=\"'cax-dropdown-blank-icon'\" />\r\n </ng-container>\r\n <span *ngIf=\"!template\">{{ label ?? 'empty' }}</span>\r\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: option }\"></ng-container>\r\n</li>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: BlankIcon, selector: "BlankIcon" }, { kind: "component", type: CheckIcon, selector: "CheckIcon" }] });
47
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: DropdownItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
48
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.21", type: DropdownItem, isStandalone: true, selector: "cax-dropdownItem", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], focused: ["focused", "focused", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], visible: ["visible", "visible", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", template: "template", checkmark: ["checkmark", "checkmark", booleanAttribute], size: "size" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, host: { classAttribute: "cax-element" }, ngImport: i0, template: "<li\n [id]=\"id\"\n (click)=\"onOptionClick($event)\"\n (mouseenter)=\"onOptionMouseEnter($event)\"\n role=\"option\"\n caxRipple\n [attr.aria-label]=\"label\"\n [attr.aria-setsize]=\"ariaSetSize\"\n [attr.aria-posinset]=\"ariaPosInset\"\n [attr.aria-selected]=\"selected\"\n [attr.data-cax-focused]=\"focused\"\n [attr.data-cax-highlight]=\"selected\"\n [attr.data-cax-disabled]=\"disabled\"\n [ngStyle]=\"{ height: itemSize + 'px' }\"\n [ngClass]=\"{ 'cax-dropdown-item': true, 'cax-highlight': selected, 'cax-disabled': disabled, 'cax-focus': focused }\"\n>\n <ng-container *ngIf=\"checkmark\">\n <CheckIcon *ngIf=\"selected\" [styleClass]=\"'cax-dropdown-check-icon'\" />\n <BlankIcon *ngIf=\"!selected\" [styleClass]=\"'cax-dropdown-blank-icon'\" />\n </ng-container>\n <span *ngIf=\"!template\" [ngClass]=\"{'cax-text-action-sm-medium': size === 'sm', 'cax-text-action-md-regular': size === 'md', 'cax-text-action-lg-regular': size === 'lg'}\">{{ label ?? 'empty' }}</span>\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: option }\"></ng-container>\n</li>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: BlankIcon, selector: "BlankIcon" }, { kind: "component", type: CheckIcon, selector: "CheckIcon" }] });
49
49
  }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DropdownItem, decorators: [{
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: DropdownItem, decorators: [{
51
51
  type: Component,
52
52
  args: [{ selector: 'cax-dropdownItem', standalone: true, imports: [CommonModule, BlankIcon, CheckIcon], host: {
53
53
  class: 'cax-element'
54
- }, template: "<li\r\n [id]=\"id\"\r\n (click)=\"onOptionClick($event)\"\r\n (mouseenter)=\"onOptionMouseEnter($event)\"\r\n role=\"option\"\r\n caxRipple\r\n [attr.aria-label]=\"label\"\r\n [attr.aria-setsize]=\"ariaSetSize\"\r\n [attr.aria-posinset]=\"ariaPosInset\"\r\n [attr.aria-selected]=\"selected\"\r\n [attr.data-cax-focused]=\"focused\"\r\n [attr.data-cax-highlight]=\"selected\"\r\n [attr.data-cax-disabled]=\"disabled\"\r\n [ngStyle]=\"{ height: itemSize + 'px' }\"\r\n [ngClass]=\"{ 'cax-dropdown-item': true, 'cax-highlight': selected, 'cax-disabled': disabled, 'cax-focus': focused }\"\r\n>\r\n <ng-container *ngIf=\"checkmark\">\r\n <CheckIcon *ngIf=\"selected\" [styleClass]=\"'cax-dropdown-check-icon'\" />\r\n <BlankIcon *ngIf=\"!selected\" [styleClass]=\"'cax-dropdown-blank-icon'\" />\r\n </ng-container>\r\n <span *ngIf=\"!template\">{{ label ?? 'empty' }}</span>\r\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: option }\"></ng-container>\r\n</li>\r\n" }]
54
+ }, template: "<li\n [id]=\"id\"\n (click)=\"onOptionClick($event)\"\n (mouseenter)=\"onOptionMouseEnter($event)\"\n role=\"option\"\n caxRipple\n [attr.aria-label]=\"label\"\n [attr.aria-setsize]=\"ariaSetSize\"\n [attr.aria-posinset]=\"ariaPosInset\"\n [attr.aria-selected]=\"selected\"\n [attr.data-cax-focused]=\"focused\"\n [attr.data-cax-highlight]=\"selected\"\n [attr.data-cax-disabled]=\"disabled\"\n [ngStyle]=\"{ height: itemSize + 'px' }\"\n [ngClass]=\"{ 'cax-dropdown-item': true, 'cax-highlight': selected, 'cax-disabled': disabled, 'cax-focus': focused }\"\n>\n <ng-container *ngIf=\"checkmark\">\n <CheckIcon *ngIf=\"selected\" [styleClass]=\"'cax-dropdown-check-icon'\" />\n <BlankIcon *ngIf=\"!selected\" [styleClass]=\"'cax-dropdown-blank-icon'\" />\n </ng-container>\n <span *ngIf=\"!template\" [ngClass]=\"{'cax-text-action-sm-medium': size === 'sm', 'cax-text-action-md-regular': size === 'md', 'cax-text-action-lg-regular': size === 'lg'}\">{{ label ?? 'empty' }}</span>\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: option }\"></ng-container>\n</li>\n" }]
55
55
  }], propDecorators: { id: [{
56
56
  type: Input
57
57
  }], option: [{
@@ -82,6 +82,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
82
82
  }], checkmark: [{
83
83
  type: Input,
84
84
  args: [{ transform: booleanAttribute }]
85
+ }], size: [{
86
+ type: Input
85
87
  }], onClick: [{
86
88
  type: Output
87
89
  }], onMouseEnter: [{
@@ -177,7 +179,7 @@ class Dropdown {
177
179
  this._placeholder.set(val);
178
180
  }
179
181
  get placeholder() {
180
- return this._placeholder.asReadonly();
182
+ return this._placeholder();
181
183
  }
182
184
  /**
183
185
  * Icon to display in loading state.
@@ -199,6 +201,11 @@ class Dropdown {
199
201
  * @group Props
200
202
  */
201
203
  variant = 'outlined';
204
+ /**
205
+ * Size of the component.
206
+ * @group Props
207
+ */
208
+ size = 'md';
202
209
  /**
203
210
  * Identifier of the accessible input element.
204
211
  * @group Props
@@ -395,6 +402,21 @@ class Dropdown {
395
402
  * @group Props
396
403
  */
397
404
  labelText;
405
+ /**
406
+ * When present, it specifies that the component is invalid.
407
+ * @group Props
408
+ */
409
+ invalid = false;
410
+ /**
411
+ * Text to display when validation fails.
412
+ * @group Props
413
+ */
414
+ errorText;
415
+ /**
416
+ * Helper text to display below the input.
417
+ * @group Props
418
+ */
419
+ successText;
398
420
  get disabled() {
399
421
  return this._disabled;
400
422
  }
@@ -562,6 +584,7 @@ class Dropdown {
562
584
  overlayViewChild;
563
585
  firstHiddenFocusableElementOnOverlay;
564
586
  lastHiddenFocusableElementOnOverlay;
587
+ footerFacet;
565
588
  templates;
566
589
  _disabled;
567
590
  itemsWrapper;
@@ -632,7 +655,7 @@ class Dropdown {
632
655
  const label = this.label();
633
656
  return {
634
657
  'cax-dropdown-label cax-inputtext': true,
635
- 'cax-placeholder': this.placeholder() && label === this.placeholder(),
658
+ 'cax-placeholder': this.placeholder && label === this.placeholder,
636
659
  'cax-dropdown-label-empty': !this.editable && !this.selectedItemTemplate && (label === undefined || label === null || label === 'cax-emptylabel' || label.length === 0)
637
660
  };
638
661
  }
@@ -679,7 +702,7 @@ class Dropdown {
679
702
  const options = this.getAllVisibleAndNonVisibleOptions();
680
703
  // use isOptionEqualsModelValue for the use case where the dropdown is initalized with a disabled option
681
704
  const selectedOptionIndex = options.findIndex((option) => this.isOptionValueEqualsModelValue(option));
682
- return selectedOptionIndex !== -1 ? this.getOptionLabel(options[selectedOptionIndex]) : this.placeholder() || 'cax-emptylabel';
705
+ return selectedOptionIndex !== -1 ? this.getOptionLabel(options[selectedOptionIndex]) : this.placeholder || 'cax-emptylabel';
683
706
  });
684
707
  filled = computed(() => {
685
708
  if (typeof this.modelValue() === 'string')
@@ -810,7 +833,7 @@ class Dropdown {
810
833
  this.onOptionSelect(null, this.visibleOptions()[this.focusedOptionIndex()], false);
811
834
  }
812
835
  if (this.autoDisplayFirst && (this.modelValue() === null || this.modelValue() === undefined)) {
813
- if (!this.placeholder()) {
836
+ if (!this.placeholder) {
814
837
  const ind = this.findFirstOptionIndex();
815
838
  this.onOptionSelect(null, this.visibleOptions()[ind], false, true);
816
839
  }
@@ -849,7 +872,7 @@ class Dropdown {
849
872
  this.cd.markForCheck();
850
873
  }
851
874
  allowModelChange() {
852
- return this.autoDisplayFirst && !this.placeholder() && (this.modelValue() === undefined || this.modelValue() === null) && !this.editable && this.options && this.options.length;
875
+ return this.autoDisplayFirst && !this.placeholder && (this.modelValue() === undefined || this.modelValue() === null) && !this.editable && this.options && this.options.length;
853
876
  }
854
877
  isSelectedOptionEmpty() {
855
878
  return ObjectUtils.isEmpty(this.selectedOption);
@@ -1454,16 +1477,16 @@ class Dropdown {
1454
1477
  this.onClear.emit(event);
1455
1478
  this.resetFilter();
1456
1479
  }
1457
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: Dropdown, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.FilterService }, { token: i1.caxConfig }], target: i0.ɵɵFactoryTarget.Component });
1458
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.16", type: Dropdown, isStandalone: true, selector: "cax-dropdown", inputs: { id: "id", scrollHeight: "scrollHeight", filter: ["filter", "filter", booleanAttribute], name: "name", style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", readonly: ["readonly", "readonly", booleanAttribute], required: ["required", "required", booleanAttribute], editable: ["editable", "editable", booleanAttribute], appendTo: "appendTo", tabindex: ["tabindex", "tabindex", numberAttribute], placeholder: "placeholder", loadingIcon: "loadingIcon", filterPlaceholder: "filterPlaceholder", filterLocale: "filterLocale", variant: "variant", inputId: "inputId", dataKey: "dataKey", filterBy: "filterBy", filterFields: "filterFields", autofocus: ["autofocus", "autofocus", booleanAttribute], resetFilterOnHide: ["resetFilterOnHide", "resetFilterOnHide", booleanAttribute], checkmark: ["checkmark", "checkmark", booleanAttribute], dropdownIcon: "dropdownIcon", loading: ["loading", "loading", booleanAttribute], optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", autoDisplayFirst: ["autoDisplayFirst", "autoDisplayFirst", booleanAttribute], group: ["group", "group", booleanAttribute], showClear: ["showClear", "showClear", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", filterMatchMode: "filterMatchMode", maxlength: ["maxlength", "maxlength", numberAttribute], tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], autofocusFilter: ["autofocusFilter", "autofocusFilter", booleanAttribute], autoShowPanelOnPrintableCharacterKeyDown: ["autoShowPanelOnPrintableCharacterKeyDown", "autoShowPanelOnPrintableCharacterKeyDown", booleanAttribute], labelText: "labelText", disabled: "disabled", itemSize: "itemSize", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", filterValue: "filterValue", options: "options" }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onShow: "onShow", onHide: "onHide", onClear: "onClear", onLazyLoad: "onLazyLoad" }, host: { properties: { "class.cax-inputwrapper-filled": "filled()", "class.cax-inputwrapper-focus": "focused || overlayVisible" }, classAttribute: "cax-element cax-inputwrapper" }, providers: [DROPDOWN_VALUE_ACCESSOR], queries: [{ propertyName: "templates", predicate: CaxTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }, { propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "editableInputViewChild", first: true, predicate: ["editableInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }], ngImport: i0, template: "<div [ngClass]=\"{'cax-dropdown-main-label': labelText}\">\r\n <label *ngIf=\"labelText\" [ngClass]=\"labelTextClass\">{{ labelText }}</label>\r\n</div>\r\n<div #container [attr.id]=\"id\" [ngClass]=\"containerClass\" (click)=\"onContainerClick($event)\" [ngStyle]=\"style\" [class]=\"styleClass\">\r\n <span\r\n #focusInput\r\n [ngClass]=\"inputClass\"\r\n *ngIf=\"!editable\"\r\n [caxTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [positionStyle]=\"tooltipPositionStyle\"\r\n [tooltipStyleClass]=\"tooltipStyleClass\"\r\n [attr.aria-disabled]=\"disabled\"\r\n [attr.id]=\"inputId\"\r\n role=\"combobox\"\r\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\r\n [attr.aria-labelledby]=\"ariaLabelledBy\"\r\n [attr.aria-haspopup]=\"'listbox'\"\r\n [attr.aria-expanded]=\"overlayVisible ?? false\"\r\n [attr.aria-controls]=\"overlayVisible ? id + '_list' : null\"\r\n [attr.tabindex]=\"!disabled ? tabindex : -1\"\r\n caxAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n [attr.aria-required]=\"required\"\r\n [attr.required]=\"required\"\r\n >\r\n <ng-container *ngIf=\"!selectedItemTemplate; else defaultPlaceholder\">{{ label() === 'cax-emptylabel' ? '&nbsp;' : label() }}</ng-container>\r\n <ng-container *ngIf=\"selectedItemTemplate && !isSelectedOptionEmpty()\" [ngTemplateOutlet]=\"selectedItemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: selectedOption }\"></ng-container>\r\n <ng-template #defaultPlaceholder>\r\n <span *ngIf=\"isSelectedOptionEmpty()\">{{ label() === 'cax-emptylabel' ? '&nbsp;' : label() }}</span>\r\n </ng-template>\r\n </span>\r\n <input\r\n *ngIf=\"editable\"\r\n #editableInput\r\n type=\"text\"\r\n [attr.id]=\"inputId\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"inputClass\"\r\n [disabled]=\"disabled\"\r\n aria-haspopup=\"listbox\"\r\n [attr.placeholder]=\"modelValue() === undefined || modelValue() === null ? placeholder() : undefined\"\r\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\r\n (input)=\"onEditableInput($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n caxAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n />\r\n <ng-container *ngIf=\"isVisibleClearIcon\">\r\n <TimesIcon [styleClass]=\"'cax-dropdown-clear-icon'\" (click)=\"clear($event)\" *ngIf=\"!clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\" />\r\n <span class=\"cax-dropdown-clear-icon\" (click)=\"clear($event)\" *ngIf=\"clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\">\r\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\r\n </span>\r\n </ng-container>\r\n\r\n <div class=\"cax-dropdown-trigger\" role=\"button\" aria-label=\"dropdown trigger\" (mousedown)=\"onMouseDown($event)\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"overlayVisible ?? false\" [attr.data-pc-section]=\"'trigger'\">\r\n <ng-container *ngIf=\"loading; else elseBlock\">\r\n <ng-container *ngIf=\"loadingIconTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingIconTemplate\"></ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"!loadingIconTemplate\">\r\n <span *ngIf=\"loadingIcon\" [ngClass]=\"'cax-dropdown-trigger-icon pi-spin ' + loadingIcon\" aria-hidden=\"true\"></span>\r\n <span *ngIf=\"!loadingIcon\" [class]=\"'cax-dropdown-trigger-icon pi pi-spinner pi-spin'\" aria-hidden=\"true\"></span>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-template #elseBlock>\r\n <ng-container *ngIf=\"!dropdownIconTemplate\">\r\n <span class=\"cax-dropdown-trigger-icon\" *ngIf=\"dropdownIcon\" [ngClass]=\"dropdownIcon\"></span>\r\n <!-- <ChevronDownIcon *ngIf=\"!dropdownIcon\" [styleClass]=\"'cax-dropdown-trigger-icon'\" /> -->\r\n <i *ngIf=\"!dropdownIcon && !overlayVisible\" class=\"cax cax-alt-arrow-down\"></i>\r\n <i *ngIf=\"!dropdownIcon && overlayVisible\" class=\"cax cax-alt-arrow-up\"></i>\r\n </ng-container>\r\n <span *ngIf=\"dropdownIconTemplate\" class=\"cax-dropdown-trigger-icon\">\r\n <ng-template *ngTemplateOutlet=\"dropdownIconTemplate\"></ng-template>\r\n </span>\r\n </ng-template>\r\n </div>\r\n\r\n <cax-overlay\r\n #overlay\r\n [(visible)]=\"overlayVisible\"\r\n [options]=\"overlayOptions\"\r\n [target]=\"'@parent'\"\r\n [appendTo]=\"appendTo\"\r\n [autoZIndex]=\"autoZIndex\"\r\n [baseZIndex]=\"baseZIndex\"\r\n [showTransitionOptions]=\"showTransitionOptions\"\r\n [hideTransitionOptions]=\"hideTransitionOptions\"\r\n (onAnimationStart)=\"onOverlayAnimationStart($event)\"\r\n (onHide)=\"hide()\"\r\n >\r\n <ng-template caxTemplate=\"content\">\r\n <div [ngClass]=\"'cax-dropdown-panel cax-component'\" [ngStyle]=\"panelStyle\" [class]=\"panelStyleClass\">\r\n <span\r\n #firstHiddenFocusableEl\r\n role=\"presentation\"\r\n class=\"cax-hidden-accessible cax-hidden-focusable\"\r\n [attr.tabindex]=\"0\"\r\n (focus)=\"onFirstHiddenFocus($event)\"\r\n [attr.data-cax-hidden-accessible]=\"true\"\r\n [attr.data-cax-hidden-focusable]=\"true\"\r\n >\r\n </span>\r\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\r\n <div class=\"cax-dropdown-header\" *ngIf=\"filter\" (click)=\"$event.stopPropagation()\">\r\n <ng-container *ngIf=\"filterTemplate; else builtInFilterElement\">\r\n <ng-container *ngTemplateOutlet=\"filterTemplate; context: { options: filterOptions }\"></ng-container>\r\n </ng-container>\r\n <ng-template #builtInFilterElement>\r\n <div class=\"cax-dropdown-filter-container\">\r\n <input\r\n #filter\r\n type=\"text\"\r\n role=\"searchbox\"\r\n autocomplete=\"off\"\r\n [attr.placeholder]=\"filterPlaceholder || 'Search...'\"\r\n [value]=\"_filterValue() || ''\"\r\n class=\"cax-dropdown-filter cax-inputtext cax-component\"\r\n [ngClass]=\"{ 'cax-variant-filled': variant === 'filled' || config.inputStyle() === 'filled' }\"\r\n [attr.placeholder]=\"filterPlaceholder\"\r\n [attr.aria-owns]=\"id + '_list'\"\r\n (input)=\"onFilterInputChange($event)\"\r\n [attr.aria-label]=\"ariaFilterLabel\"\r\n [attr.aria-activedescendant]=\"focusedOptionId\"\r\n (keydown)=\"onFilterKeyDown($event)\"\r\n (blur)=\"onFilterBlur($event)\"\r\n />\r\n <SearchIcon *ngIf=\"!filterIconTemplate\" [styleClass]=\"'cax-dropdown-filter-icon'\" />\r\n <span *ngIf=\"filterIconTemplate\" class=\"cax-dropdown-filter-icon\">\r\n <ng-template *ngTemplateOutlet=\"filterIconTemplate\"></ng-template>\r\n </span>\r\n <i *ngIf=\"_filterValue()\" class=\"cax cax-close-circle cax-dropdown-filter-clear-icon\" (click)=\"resetFilter()\"></i>\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div\r\n class=\"cax-dropdown-items-wrapper\"\r\n [ngStyle]=\"{\r\n 'max-height': virtualScroll ? 'auto' : scrollHeight || 'auto'\r\n }\"\r\n tabindex=\"0\"\r\n >\r\n <cax-scroller\r\n *ngIf=\"virtualScroll\"\r\n #scroller\r\n [items]=\"visibleOptions()\"\r\n [style]=\"{ height: scrollHeight }\"\r\n [itemSize]=\"virtualScrollItemSize || _itemSize\"\r\n [autoSize]=\"true\"\r\n [lazy]=\"lazy\"\r\n (onLazyLoad)=\"onLazyLoad.emit($event)\"\r\n [options]=\"virtualScrollOptions\"\r\n >\r\n <ng-template caxTemplate=\"content\" let-items let-scrollerOptions=\"options\">\r\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: items, options: scrollerOptions }\"></ng-container>\r\n </ng-template>\r\n <ng-container *ngIf=\"loaderTemplate\">\r\n <ng-template caxTemplate=\"loader\" let-scrollerOptions=\"options\">\r\n <ng-container *ngTemplateOutlet=\"loaderTemplate; context: { options: scrollerOptions }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </cax-scroller>\r\n <ng-container *ngIf=\"!virtualScroll\">\r\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: visibleOptions(), options: {} }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #buildInItems let-items let-scrollerOptions=\"options\">\r\n <ul #items [attr.id]=\"id + '_list'\" [attr.aria-label]=\"listLabel\" class=\"cax-dropdown-items\" [ngClass]=\"scrollerOptions.contentStyleClass\" [ngStyle]=\"scrollerOptions.contentStyle\" role=\"listbox\">\r\n <ng-template ngFor let-option [ngForOf]=\"items\" let-i=\"index\">\r\n <ng-container *ngIf=\"isOptionGroup(option)\">\r\n <li class=\"cax-dropdown-item-group\" [attr.id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <span *ngIf=\"!groupTemplate\">{{ getOptionGroupLabel(option.optionGroup) }}</span>\r\n <ng-container *ngTemplateOutlet=\"groupTemplate; context: { $implicit: option.optionGroup }\"></ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"!isOptionGroup(option)\">\r\n <cax-dropdownItem\r\n [id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\"\r\n [option]=\"option\"\r\n [checkmark]=\"checkmark\"\r\n [selected]=\"isSelected(option)\"\r\n [label]=\"getOptionLabel(option)\"\r\n [disabled]=\"isOptionDisabled(option)\"\r\n [template]=\"itemTemplate\"\r\n [focused]=\"focusedOptionIndex() === getOptionIndex(i, scrollerOptions)\"\r\n [ariaPosInset]=\"getAriaPosInset(getOptionIndex(i, scrollerOptions))\"\r\n [ariaSetSize]=\"ariaSetSize\"\r\n (onClick)=\"onOptionSelect($event, option)\"\r\n (onMouseEnter)=\"onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))\"\r\n ></cax-dropdownItem>\r\n </ng-container>\r\n </ng-template>\r\n <li *ngIf=\"filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <ng-container *ngIf=\"!emptyFilterTemplate && !emptyTemplate; else emptyFilter\"> {{ emptyFilterMessageLabel }} </ng-container>\r\n <ng-container #emptyFilter *ngTemplateOutlet=\"emptyFilterTemplate || emptyTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"!filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <ng-container *ngIf=\"!emptyTemplate; else empty\"> {{ emptyMessageLabel }} </ng-container>\r\n <ng-container #empty *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </li>\r\n </ul>\r\n </ng-template>\r\n </div>\r\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\r\n <span\r\n #lastHiddenFocusableEl\r\n role=\"presentation\"\r\n class=\"cax-hidden-accessible cax-hidden-focusable\"\r\n [attr.tabindex]=\"0\"\r\n (focus)=\"onLastHiddenFocus($event)\"\r\n [attr.data-cax-hidden-accessible]=\"true\"\r\n [attr.data-cax-hidden-focusable]=\"true\"\r\n ></span>\r\n </div>\r\n </ng-template>\r\n </cax-overlay>\r\n</div>\r\n", styles: ["@layer cax{.cax-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none;width:100%;height:40px}.cax-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.cax-dropdown-main-label{font-weight:500;font-size:14px;line-height:20px;margin-bottom:8px}.cax-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.cax-dropdown-trigger-icon{transition:transform .3s ease}.cax-dropdown-open .cax-dropdown-trigger-icon{transform:rotate(180deg)}.cax-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.cax-dropdown-label-empty{overflow:hidden;opacity:0}input.cax-dropdown-label{cursor:default}.cax-dropdown-items-wrapper{overflow:auto}.cax-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden;font-weight:500}.cax-dropdown-item-group{cursor:auto}.cax-dropdown-items{margin:0;padding:0;list-style-type:none}.cax-fluid .cax-dropdown{display:flex}.cax-fluid .cax-dropdown .cax-dropdown-label{width:1%}.cax-float-label .cax-dropdown .cax-placeholder{opacity:0}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "component", type: i3.Overlay, selector: "cax-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: i1.CaxTemplate, selector: "[caxTemplate]", inputs: ["type", "caxTemplate"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[caxTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "caxTooltip", "tooltipDisabled", "tooltipOptions", "linkUrl", "linkText"] }, { kind: "ngmodule", type: RippleModule }, { kind: "ngmodule", type: ScrollerModule }, { kind: "component", type: i5.Scroller, selector: "cax-scroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "ngmodule", type: AutoFocusModule }, { kind: "directive", type: i6.AutoFocus, selector: "[caxAutoFocus]", inputs: ["autofocus"] }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: SearchIcon, selector: "SearchIcon" }, { kind: "component", type: DropdownItem, selector: "cax-dropdownItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark"], outputs: ["onClick", "onMouseEnter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1480
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: Dropdown, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.FilterService }, { token: i1.caxConfig }], target: i0.ɵɵFactoryTarget.Component });
1481
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.21", type: Dropdown, isStandalone: true, selector: "cax-dropdown", inputs: { id: "id", scrollHeight: "scrollHeight", filter: ["filter", "filter", booleanAttribute], name: "name", style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", readonly: ["readonly", "readonly", booleanAttribute], required: ["required", "required", booleanAttribute], editable: ["editable", "editable", booleanAttribute], appendTo: "appendTo", tabindex: ["tabindex", "tabindex", numberAttribute], placeholder: "placeholder", loadingIcon: "loadingIcon", filterPlaceholder: "filterPlaceholder", filterLocale: "filterLocale", variant: "variant", size: "size", inputId: "inputId", dataKey: "dataKey", filterBy: "filterBy", filterFields: "filterFields", autofocus: ["autofocus", "autofocus", booleanAttribute], resetFilterOnHide: ["resetFilterOnHide", "resetFilterOnHide", booleanAttribute], checkmark: ["checkmark", "checkmark", booleanAttribute], dropdownIcon: "dropdownIcon", loading: ["loading", "loading", booleanAttribute], optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", autoDisplayFirst: ["autoDisplayFirst", "autoDisplayFirst", booleanAttribute], group: ["group", "group", booleanAttribute], showClear: ["showClear", "showClear", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", filterMatchMode: "filterMatchMode", maxlength: ["maxlength", "maxlength", numberAttribute], tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], autofocusFilter: ["autofocusFilter", "autofocusFilter", booleanAttribute], autoShowPanelOnPrintableCharacterKeyDown: ["autoShowPanelOnPrintableCharacterKeyDown", "autoShowPanelOnPrintableCharacterKeyDown", booleanAttribute], labelText: "labelText", invalid: ["invalid", "invalid", booleanAttribute], errorText: "errorText", successText: "successText", disabled: "disabled", itemSize: "itemSize", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", filterValue: "filterValue", options: "options" }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onShow: "onShow", onHide: "onHide", onClear: "onClear", onLazyLoad: "onLazyLoad" }, host: { properties: { "class.cax-inputwrapper-filled": "filled()", "class.cax-inputwrapper-focus": "focused || overlayVisible" }, classAttribute: "cax-element cax-inputwrapper" }, providers: [DROPDOWN_VALUE_ACCESSOR], queries: [{ propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "templates", predicate: CaxTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }, { propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "editableInputViewChild", first: true, predicate: ["editableInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }], ngImport: i0, template: "<div class=\"cax-input-container\" [class]=\"styleClass\" [ngClass]=\"['cax-dropdown-' + size]\" [ngStyle]=\"style\" [class.cax-disabled]=\"disabled\">\n <div *ngIf=\"labelText\" [ngClass]=\"{'cax-dropdown-main-label': labelText}\">\n <label *ngIf=\"labelText\" [ngClass]=\"{'cax-text-action-sm-semibold': size === 'sm', 'cax-text-action-md-semibold': size === 'md', 'cax-text-action-lg-semibold': size === 'lg'}\">{{ labelText }}</label>\n </div>\n <div #container [attr.id]=\"id\" [ngClass]=\"containerClass\" (click)=\"onContainerClick($event)\">\n <span\n #focusInput\n [ngClass]=\"inputClass\"\n *ngIf=\"!editable\"\n [caxTooltip]=\"tooltip\"\n [tooltipPosition]=\"tooltipPosition\"\n [positionStyle]=\"tooltipPositionStyle\"\n [tooltipStyleClass]=\"tooltipStyleClass\"\n [attr.aria-disabled]=\"disabled\"\n [attr.id]=\"inputId\"\n role=\"combobox\"\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-haspopup]=\"'listbox'\"\n [attr.aria-expanded]=\"overlayVisible ?? false\"\n [attr.aria-controls]=\"overlayVisible ? id + '_list' : null\"\n [attr.tabindex]=\"!disabled ? tabindex : -1\"\n caxAutoFocus\n [autofocus]=\"autofocus\"\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keydown)=\"onKeyDown($event)\"\n [attr.aria-required]=\"required\"\n [attr.required]=\"required\"\n [class.cax-text-action-sm-medium]=\"size === 'sm'\"\n [class.cax-text-action-md-regular]=\"size === 'md'\"\n [class.cax-text-action-lg-regular]=\"size === 'lg'\"\n >\n <ng-container *ngIf=\"!selectedItemTemplate; else defaultPlaceholder\">{{ label() === 'cax-emptylabel' ? '&nbsp;' : label() }}</ng-container>\n <ng-container *ngIf=\"selectedItemTemplate && !isSelectedOptionEmpty()\" [ngTemplateOutlet]=\"selectedItemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: selectedOption }\"></ng-container>\n <ng-template #defaultPlaceholder>\n <span *ngIf=\"isSelectedOptionEmpty()\">{{ label() === 'cax-emptylabel' ? '&nbsp;' : label() }}</span>\n </ng-template>\n </span>\n <input\n *ngIf=\"editable\"\n #editableInput\n type=\"text\"\n [attr.id]=\"inputId\"\n [attr.maxlength]=\"maxlength\"\n [ngClass]=\"inputClass\"\n [disabled]=\"disabled\"\n aria-haspopup=\"listbox\"\n [attr.placeholder]=\"modelValue() === undefined || modelValue() === null ? placeholder : undefined\"\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\n (input)=\"onEditableInput($event)\"\n (keydown)=\"onKeyDown($event)\"\n caxAutoFocus\n [autofocus]=\"autofocus\"\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n [class.cax-text-action-sm-medium]=\"size === 'sm'\"\n [class.cax-text-action-md-regular]=\"size === 'md'\"\n [class.cax-text-action-lg-regular]=\"size === 'lg'\"\n />\n <ng-container *ngIf=\"isVisibleClearIcon\">\n <TimesIcon [styleClass]=\"'cax-dropdown-clear-icon'\" (click)=\"clear($event)\" *ngIf=\"!clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\" />\n <span class=\"cax-dropdown-clear-icon\" (click)=\"clear($event)\" *ngIf=\"clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\n </span>\n </ng-container>\n\n <div class=\"cax-dropdown-trigger\" role=\"button\" aria-label=\"dropdown trigger\" (mousedown)=\"onMouseDown($event)\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"overlayVisible ?? false\" [attr.data-pc-section]=\"'trigger'\">\n <ng-container *ngIf=\"loading; else elseBlock\">\n <ng-container *ngIf=\"loadingIconTemplate\">\n <ng-container *ngTemplateOutlet=\"loadingIconTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!loadingIconTemplate\">\n <span *ngIf=\"loadingIcon\" [ngClass]=\"'cax-dropdown-trigger-icon pi-spin ' + loadingIcon\" aria-hidden=\"true\"></span>\n <span *ngIf=\"!loadingIcon\" [class]=\"'cax-dropdown-trigger-icon pi pi-spinner pi-spin'\" aria-hidden=\"true\"></span>\n </ng-container>\n </ng-container>\n\n <ng-template #elseBlock>\n <ng-container *ngIf=\"!dropdownIconTemplate\">\n <span class=\"cax-dropdown-trigger-icon\" *ngIf=\"dropdownIcon\" [ngClass]=\"dropdownIcon\"></span>\n <!-- <ChevronDownIcon *ngIf=\"!dropdownIcon\" [styleClass]=\"'cax-dropdown-trigger-icon'\" /> -->\n <i *ngIf=\"!dropdownIcon && !overlayVisible\" class=\"cax cax-alt-arrow-down\"></i>\n <i *ngIf=\"!dropdownIcon && overlayVisible\" class=\"cax cax-alt-arrow-up\"></i>\n </ng-container>\n <span *ngIf=\"dropdownIconTemplate\" class=\"cax-dropdown-trigger-icon\">\n <ng-template *ngTemplateOutlet=\"dropdownIconTemplate\"></ng-template>\n </span>\n </ng-template>\n </div>\n\n <cax-overlay\n #overlay\n [(visible)]=\"overlayVisible\"\n [options]=\"overlayOptions\"\n [target]=\"'@parent'\"\n [appendTo]=\"appendTo\"\n [autoZIndex]=\"autoZIndex\"\n [baseZIndex]=\"baseZIndex\"\n [showTransitionOptions]=\"showTransitionOptions\"\n [hideTransitionOptions]=\"hideTransitionOptions\"\n (onAnimationStart)=\"onOverlayAnimationStart($event)\"\n (onHide)=\"hide()\"\n >\n <ng-template caxTemplate=\"content\">\n <div [ngClass]=\"'cax-dropdown-panel cax-component'\" [ngStyle]=\"panelStyle\" [class]=\"panelStyleClass\">\n <span\n #firstHiddenFocusableEl\n role=\"presentation\"\n class=\"cax-hidden-accessible cax-hidden-focusable\"\n [attr.tabindex]=\"0\"\n (focus)=\"onFirstHiddenFocus($event)\"\n [attr.data-cax-hidden-accessible]=\"true\"\n [attr.data-cax-hidden-focusable]=\"true\"\n >\n </span>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n <div class=\"cax-dropdown-header\" *ngIf=\"filter\" (click)=\"$event.stopPropagation()\">\n <ng-container *ngIf=\"filterTemplate; else builtInFilterElement\">\n <ng-container *ngTemplateOutlet=\"filterTemplate; context: { options: filterOptions }\"></ng-container>\n </ng-container>\n <ng-template #builtInFilterElement>\n <div class=\"cax-dropdown-filter-container\">\n <input\n #filter\n type=\"text\"\n role=\"searchbox\"\n autocomplete=\"off\"\n [attr.placeholder]=\"filterPlaceholder || 'Search...'\"\n [value]=\"_filterValue() || ''\"\n class=\"cax-dropdown-filter cax-inputtext cax-component\"\n [ngClass]=\"{ 'cax-variant-filled': variant === 'filled' || config.inputStyle() === 'filled' }\"\n [attr.placeholder]=\"filterPlaceholder\"\n [attr.aria-owns]=\"id + '_list'\"\n (input)=\"onFilterInputChange($event)\"\n [attr.aria-label]=\"ariaFilterLabel\"\n [attr.aria-activedescendant]=\"focusedOptionId\"\n (keydown)=\"onFilterKeyDown($event)\"\n (blur)=\"onFilterBlur($event)\"\n />\n <!-- <SearchIcon *ngIf=\"!filterIconTemplate\" [styleClass]=\"'cax-dropdown-filter-icon'\" /> -->\n <span class=\"cax cax-magnifier cax-dropdown-filter-icon\" *ngIf=\"!filterIconTemplate\"></span>\n <span *ngIf=\"filterIconTemplate\" class=\"cax-dropdown-filter-icon\">\n <ng-template *ngTemplateOutlet=\"filterIconTemplate\"></ng-template>\n </span>\n <i *ngIf=\"_filterValue()\" class=\"cax cax-close-circle cax-dropdown-filter-clear-icon\" (click)=\"resetFilter()\"></i>\n </div>\n </ng-template>\n </div>\n <div\n class=\"cax-dropdown-items-wrapper\"\n [ngStyle]=\"{\n 'max-height': virtualScroll ? 'auto' : scrollHeight || 'auto'\n }\"\n tabindex=\"0\"\n >\n <cax-scroller\n *ngIf=\"virtualScroll\"\n #scroller\n [items]=\"visibleOptions()\"\n [style]=\"{ height: scrollHeight }\"\n [itemSize]=\"virtualScrollItemSize || _itemSize\"\n [autoSize]=\"true\"\n [lazy]=\"lazy\"\n (onLazyLoad)=\"onLazyLoad.emit($event)\"\n [options]=\"virtualScrollOptions\"\n >\n <ng-template caxTemplate=\"content\" let-items let-scrollerOptions=\"options\">\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: items, options: scrollerOptions }\"></ng-container>\n </ng-template>\n <ng-container *ngIf=\"loaderTemplate\">\n <ng-template caxTemplate=\"loader\" let-scrollerOptions=\"options\">\n <ng-container *ngTemplateOutlet=\"loaderTemplate; context: { options: scrollerOptions }\"></ng-container>\n </ng-template>\n </ng-container>\n </cax-scroller>\n <ng-container *ngIf=\"!virtualScroll\">\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: visibleOptions(), options: {} }\"></ng-container>\n </ng-container>\n\n <ng-template #buildInItems let-items let-scrollerOptions=\"options\">\n <ul #items [attr.id]=\"id + '_list'\" [attr.aria-label]=\"listLabel\" class=\"cax-dropdown-items\" [ngClass]=\"scrollerOptions.contentStyleClass\" [ngStyle]=\"scrollerOptions.contentStyle\" role=\"listbox\">\n <ng-template ngFor let-option [ngForOf]=\"items\" let-i=\"index\">\n <ng-container *ngIf=\"isOptionGroup(option)\">\n <li class=\"cax-dropdown-item-group\" [attr.id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\n <span *ngIf=\"!groupTemplate\">{{ getOptionGroupLabel(option.optionGroup) }}</span>\n <ng-container *ngTemplateOutlet=\"groupTemplate; context: { $implicit: option.optionGroup }\"></ng-container>\n </li>\n </ng-container>\n <ng-container *ngIf=\"!isOptionGroup(option)\">\n <cax-dropdownItem\n [id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\"\n [option]=\"option\"\n [checkmark]=\"checkmark\"\n [size]=\"size\"\n [selected]=\"isSelected(option)\"\n [label]=\"getOptionLabel(option)\"\n [disabled]=\"isOptionDisabled(option)\"\n [template]=\"itemTemplate\"\n [focused]=\"focusedOptionIndex() === getOptionIndex(i, scrollerOptions)\"\n [ariaPosInset]=\"getAriaPosInset(getOptionIndex(i, scrollerOptions))\"\n [ariaSetSize]=\"ariaSetSize\"\n (onClick)=\"onOptionSelect($event, option)\"\n (onMouseEnter)=\"onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))\"\n ></cax-dropdownItem>\n </ng-container>\n </ng-template>\n <li *ngIf=\"filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\n <ng-container *ngIf=\"!emptyFilterTemplate && !emptyTemplate; else emptyFilter\"> {{ emptyFilterMessageLabel }} </ng-container>\n <ng-container #emptyFilter *ngTemplateOutlet=\"emptyFilterTemplate || emptyTemplate\"></ng-container>\n </li>\n <li *ngIf=\"!filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\n <ng-container *ngIf=\"!emptyTemplate; else empty\"> {{ emptyMessageLabel }} </ng-container>\n <ng-container #empty *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </li>\n </ul>\n </ng-template>\n </div>\n <div *ngIf=\"footerFacet || footerTemplate\" style=\"padding: 0 12px\">\n <cax-divider [style]=\"{margin: '0px'}\" type=\"solid\" />\n </div>\n <div class=\"cax-dropdown-footer\" *ngIf=\"footerFacet || footerTemplate\">\n <ng-content select=\"cax-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n <span\n #lastHiddenFocusableEl\n role=\"presentation\"\n class=\"cax-hidden-accessible cax-hidden-focusable\"\n [attr.tabindex]=\"0\"\n (focus)=\"onLastHiddenFocus($event)\"\n [attr.data-cax-hidden-accessible]=\"true\"\n [attr.data-cax-hidden-focusable]=\"true\"\n ></span>\n </div>\n </ng-template>\n </cax-overlay>\n </div>\n <!-- Error Message with conditional opacity -->\n <small *ngIf=\"invalid\" class=\"cax-error\" [ngClass]=\"{'cax-text-action-sm-medium': size === 'sm', 'cax-text-action-md-regular': size === 'md', 'cax-text-action-lg-regular': size === 'lg'}\"> {{ errorText }} </small>\n\n <!-- Helper Text with conditional opacity -->\n <small *ngIf=\"successText && !invalid\" class=\"cax-helper-text\" [ngClass]=\"{'cax-text-action-sm-medium': size === 'sm', 'cax-text-action-md-regular': size === 'md', 'cax-text-action-lg-regular': size === 'lg'}\"> {{ successText }} </small>\n</div>\n", styles: ["@layer cax{.cax-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none;width:100%;height:40px}.cax-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.cax-dropdown-main-label{font-weight:600;font-size:14px;line-height:20px}.cax-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.cax-dropdown-trigger-icon{transition:transform .3s ease}.cax-dropdown-open .cax-dropdown-trigger-icon{transform:rotate(180deg)}.cax-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.cax-dropdown-label-empty{overflow:hidden;opacity:0}input.cax-dropdown-label{cursor:default}.cax-dropdown-items-wrapper{overflow:auto}.cax-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden;font-weight:500}.cax-dropdown-item-group{cursor:auto}.cax-dropdown-items{margin:0;padding:0;list-style-type:none}.cax-fluid .cax-dropdown{display:flex}.cax-fluid .cax-dropdown .cax-dropdown-label{width:1%}.cax-float-label .cax-dropdown .cax-placeholder{opacity:0}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "component", type: i3.Overlay, selector: "cax-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: i1.CaxTemplate, selector: "[caxTemplate]", inputs: ["type", "caxTemplate"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[caxTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "caxTooltip", "tooltipDisabled", "tooltipOptions", "linkUrl", "linkText"] }, { kind: "ngmodule", type: RippleModule }, { kind: "ngmodule", type: ScrollerModule }, { kind: "component", type: i5.Scroller, selector: "cax-scroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "ngmodule", type: AutoFocusModule }, { kind: "directive", type: i6.AutoFocus, selector: "[caxAutoFocus]", inputs: ["autofocus"] }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: DropdownItem, selector: "cax-dropdownItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark", "size"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Divider, selector: "cax-divider", inputs: ["style", "styleClass", "layout", "type", "align", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1459
1482
  }
1460
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: Dropdown, decorators: [{
1483
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: Dropdown, decorators: [{
1461
1484
  type: Component,
1462
- args: [{ selector: 'cax-dropdown', standalone: true, imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, RippleModule, ScrollerModule, AutoFocusModule, TimesIcon, ChevronDownIcon, SearchIcon, DropdownItem], host: {
1485
+ args: [{ selector: 'cax-dropdown', standalone: true, imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, RippleModule, ScrollerModule, AutoFocusModule, TimesIcon, DropdownItem, Divider], host: {
1463
1486
  class: 'cax-element cax-inputwrapper',
1464
1487
  '[class.cax-inputwrapper-filled]': 'filled()',
1465
1488
  '[class.cax-inputwrapper-focus]': 'focused || overlayVisible'
1466
- }, providers: [DROPDOWN_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div [ngClass]=\"{'cax-dropdown-main-label': labelText}\">\r\n <label *ngIf=\"labelText\" [ngClass]=\"labelTextClass\">{{ labelText }}</label>\r\n</div>\r\n<div #container [attr.id]=\"id\" [ngClass]=\"containerClass\" (click)=\"onContainerClick($event)\" [ngStyle]=\"style\" [class]=\"styleClass\">\r\n <span\r\n #focusInput\r\n [ngClass]=\"inputClass\"\r\n *ngIf=\"!editable\"\r\n [caxTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [positionStyle]=\"tooltipPositionStyle\"\r\n [tooltipStyleClass]=\"tooltipStyleClass\"\r\n [attr.aria-disabled]=\"disabled\"\r\n [attr.id]=\"inputId\"\r\n role=\"combobox\"\r\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\r\n [attr.aria-labelledby]=\"ariaLabelledBy\"\r\n [attr.aria-haspopup]=\"'listbox'\"\r\n [attr.aria-expanded]=\"overlayVisible ?? false\"\r\n [attr.aria-controls]=\"overlayVisible ? id + '_list' : null\"\r\n [attr.tabindex]=\"!disabled ? tabindex : -1\"\r\n caxAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n [attr.aria-required]=\"required\"\r\n [attr.required]=\"required\"\r\n >\r\n <ng-container *ngIf=\"!selectedItemTemplate; else defaultPlaceholder\">{{ label() === 'cax-emptylabel' ? '&nbsp;' : label() }}</ng-container>\r\n <ng-container *ngIf=\"selectedItemTemplate && !isSelectedOptionEmpty()\" [ngTemplateOutlet]=\"selectedItemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: selectedOption }\"></ng-container>\r\n <ng-template #defaultPlaceholder>\r\n <span *ngIf=\"isSelectedOptionEmpty()\">{{ label() === 'cax-emptylabel' ? '&nbsp;' : label() }}</span>\r\n </ng-template>\r\n </span>\r\n <input\r\n *ngIf=\"editable\"\r\n #editableInput\r\n type=\"text\"\r\n [attr.id]=\"inputId\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"inputClass\"\r\n [disabled]=\"disabled\"\r\n aria-haspopup=\"listbox\"\r\n [attr.placeholder]=\"modelValue() === undefined || modelValue() === null ? placeholder() : undefined\"\r\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\r\n (input)=\"onEditableInput($event)\"\r\n (keydown)=\"onKeyDown($event)\"\r\n caxAutoFocus\r\n [autofocus]=\"autofocus\"\r\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\r\n (focus)=\"onInputFocus($event)\"\r\n (blur)=\"onInputBlur($event)\"\r\n />\r\n <ng-container *ngIf=\"isVisibleClearIcon\">\r\n <TimesIcon [styleClass]=\"'cax-dropdown-clear-icon'\" (click)=\"clear($event)\" *ngIf=\"!clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\" />\r\n <span class=\"cax-dropdown-clear-icon\" (click)=\"clear($event)\" *ngIf=\"clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\">\r\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\r\n </span>\r\n </ng-container>\r\n\r\n <div class=\"cax-dropdown-trigger\" role=\"button\" aria-label=\"dropdown trigger\" (mousedown)=\"onMouseDown($event)\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"overlayVisible ?? false\" [attr.data-pc-section]=\"'trigger'\">\r\n <ng-container *ngIf=\"loading; else elseBlock\">\r\n <ng-container *ngIf=\"loadingIconTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingIconTemplate\"></ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"!loadingIconTemplate\">\r\n <span *ngIf=\"loadingIcon\" [ngClass]=\"'cax-dropdown-trigger-icon pi-spin ' + loadingIcon\" aria-hidden=\"true\"></span>\r\n <span *ngIf=\"!loadingIcon\" [class]=\"'cax-dropdown-trigger-icon pi pi-spinner pi-spin'\" aria-hidden=\"true\"></span>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-template #elseBlock>\r\n <ng-container *ngIf=\"!dropdownIconTemplate\">\r\n <span class=\"cax-dropdown-trigger-icon\" *ngIf=\"dropdownIcon\" [ngClass]=\"dropdownIcon\"></span>\r\n <!-- <ChevronDownIcon *ngIf=\"!dropdownIcon\" [styleClass]=\"'cax-dropdown-trigger-icon'\" /> -->\r\n <i *ngIf=\"!dropdownIcon && !overlayVisible\" class=\"cax cax-alt-arrow-down\"></i>\r\n <i *ngIf=\"!dropdownIcon && overlayVisible\" class=\"cax cax-alt-arrow-up\"></i>\r\n </ng-container>\r\n <span *ngIf=\"dropdownIconTemplate\" class=\"cax-dropdown-trigger-icon\">\r\n <ng-template *ngTemplateOutlet=\"dropdownIconTemplate\"></ng-template>\r\n </span>\r\n </ng-template>\r\n </div>\r\n\r\n <cax-overlay\r\n #overlay\r\n [(visible)]=\"overlayVisible\"\r\n [options]=\"overlayOptions\"\r\n [target]=\"'@parent'\"\r\n [appendTo]=\"appendTo\"\r\n [autoZIndex]=\"autoZIndex\"\r\n [baseZIndex]=\"baseZIndex\"\r\n [showTransitionOptions]=\"showTransitionOptions\"\r\n [hideTransitionOptions]=\"hideTransitionOptions\"\r\n (onAnimationStart)=\"onOverlayAnimationStart($event)\"\r\n (onHide)=\"hide()\"\r\n >\r\n <ng-template caxTemplate=\"content\">\r\n <div [ngClass]=\"'cax-dropdown-panel cax-component'\" [ngStyle]=\"panelStyle\" [class]=\"panelStyleClass\">\r\n <span\r\n #firstHiddenFocusableEl\r\n role=\"presentation\"\r\n class=\"cax-hidden-accessible cax-hidden-focusable\"\r\n [attr.tabindex]=\"0\"\r\n (focus)=\"onFirstHiddenFocus($event)\"\r\n [attr.data-cax-hidden-accessible]=\"true\"\r\n [attr.data-cax-hidden-focusable]=\"true\"\r\n >\r\n </span>\r\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\r\n <div class=\"cax-dropdown-header\" *ngIf=\"filter\" (click)=\"$event.stopPropagation()\">\r\n <ng-container *ngIf=\"filterTemplate; else builtInFilterElement\">\r\n <ng-container *ngTemplateOutlet=\"filterTemplate; context: { options: filterOptions }\"></ng-container>\r\n </ng-container>\r\n <ng-template #builtInFilterElement>\r\n <div class=\"cax-dropdown-filter-container\">\r\n <input\r\n #filter\r\n type=\"text\"\r\n role=\"searchbox\"\r\n autocomplete=\"off\"\r\n [attr.placeholder]=\"filterPlaceholder || 'Search...'\"\r\n [value]=\"_filterValue() || ''\"\r\n class=\"cax-dropdown-filter cax-inputtext cax-component\"\r\n [ngClass]=\"{ 'cax-variant-filled': variant === 'filled' || config.inputStyle() === 'filled' }\"\r\n [attr.placeholder]=\"filterPlaceholder\"\r\n [attr.aria-owns]=\"id + '_list'\"\r\n (input)=\"onFilterInputChange($event)\"\r\n [attr.aria-label]=\"ariaFilterLabel\"\r\n [attr.aria-activedescendant]=\"focusedOptionId\"\r\n (keydown)=\"onFilterKeyDown($event)\"\r\n (blur)=\"onFilterBlur($event)\"\r\n />\r\n <SearchIcon *ngIf=\"!filterIconTemplate\" [styleClass]=\"'cax-dropdown-filter-icon'\" />\r\n <span *ngIf=\"filterIconTemplate\" class=\"cax-dropdown-filter-icon\">\r\n <ng-template *ngTemplateOutlet=\"filterIconTemplate\"></ng-template>\r\n </span>\r\n <i *ngIf=\"_filterValue()\" class=\"cax cax-close-circle cax-dropdown-filter-clear-icon\" (click)=\"resetFilter()\"></i>\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div\r\n class=\"cax-dropdown-items-wrapper\"\r\n [ngStyle]=\"{\r\n 'max-height': virtualScroll ? 'auto' : scrollHeight || 'auto'\r\n }\"\r\n tabindex=\"0\"\r\n >\r\n <cax-scroller\r\n *ngIf=\"virtualScroll\"\r\n #scroller\r\n [items]=\"visibleOptions()\"\r\n [style]=\"{ height: scrollHeight }\"\r\n [itemSize]=\"virtualScrollItemSize || _itemSize\"\r\n [autoSize]=\"true\"\r\n [lazy]=\"lazy\"\r\n (onLazyLoad)=\"onLazyLoad.emit($event)\"\r\n [options]=\"virtualScrollOptions\"\r\n >\r\n <ng-template caxTemplate=\"content\" let-items let-scrollerOptions=\"options\">\r\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: items, options: scrollerOptions }\"></ng-container>\r\n </ng-template>\r\n <ng-container *ngIf=\"loaderTemplate\">\r\n <ng-template caxTemplate=\"loader\" let-scrollerOptions=\"options\">\r\n <ng-container *ngTemplateOutlet=\"loaderTemplate; context: { options: scrollerOptions }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </cax-scroller>\r\n <ng-container *ngIf=\"!virtualScroll\">\r\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: visibleOptions(), options: {} }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #buildInItems let-items let-scrollerOptions=\"options\">\r\n <ul #items [attr.id]=\"id + '_list'\" [attr.aria-label]=\"listLabel\" class=\"cax-dropdown-items\" [ngClass]=\"scrollerOptions.contentStyleClass\" [ngStyle]=\"scrollerOptions.contentStyle\" role=\"listbox\">\r\n <ng-template ngFor let-option [ngForOf]=\"items\" let-i=\"index\">\r\n <ng-container *ngIf=\"isOptionGroup(option)\">\r\n <li class=\"cax-dropdown-item-group\" [attr.id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <span *ngIf=\"!groupTemplate\">{{ getOptionGroupLabel(option.optionGroup) }}</span>\r\n <ng-container *ngTemplateOutlet=\"groupTemplate; context: { $implicit: option.optionGroup }\"></ng-container>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"!isOptionGroup(option)\">\r\n <cax-dropdownItem\r\n [id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\"\r\n [option]=\"option\"\r\n [checkmark]=\"checkmark\"\r\n [selected]=\"isSelected(option)\"\r\n [label]=\"getOptionLabel(option)\"\r\n [disabled]=\"isOptionDisabled(option)\"\r\n [template]=\"itemTemplate\"\r\n [focused]=\"focusedOptionIndex() === getOptionIndex(i, scrollerOptions)\"\r\n [ariaPosInset]=\"getAriaPosInset(getOptionIndex(i, scrollerOptions))\"\r\n [ariaSetSize]=\"ariaSetSize\"\r\n (onClick)=\"onOptionSelect($event, option)\"\r\n (onMouseEnter)=\"onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))\"\r\n ></cax-dropdownItem>\r\n </ng-container>\r\n </ng-template>\r\n <li *ngIf=\"filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <ng-container *ngIf=\"!emptyFilterTemplate && !emptyTemplate; else emptyFilter\"> {{ emptyFilterMessageLabel }} </ng-container>\r\n <ng-container #emptyFilter *ngTemplateOutlet=\"emptyFilterTemplate || emptyTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"!filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\r\n <ng-container *ngIf=\"!emptyTemplate; else empty\"> {{ emptyMessageLabel }} </ng-container>\r\n <ng-container #empty *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </li>\r\n </ul>\r\n </ng-template>\r\n </div>\r\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\r\n <span\r\n #lastHiddenFocusableEl\r\n role=\"presentation\"\r\n class=\"cax-hidden-accessible cax-hidden-focusable\"\r\n [attr.tabindex]=\"0\"\r\n (focus)=\"onLastHiddenFocus($event)\"\r\n [attr.data-cax-hidden-accessible]=\"true\"\r\n [attr.data-cax-hidden-focusable]=\"true\"\r\n ></span>\r\n </div>\r\n </ng-template>\r\n </cax-overlay>\r\n</div>\r\n", styles: ["@layer cax{.cax-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none;width:100%;height:40px}.cax-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.cax-dropdown-main-label{font-weight:500;font-size:14px;line-height:20px;margin-bottom:8px}.cax-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.cax-dropdown-trigger-icon{transition:transform .3s ease}.cax-dropdown-open .cax-dropdown-trigger-icon{transform:rotate(180deg)}.cax-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.cax-dropdown-label-empty{overflow:hidden;opacity:0}input.cax-dropdown-label{cursor:default}.cax-dropdown-items-wrapper{overflow:auto}.cax-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden;font-weight:500}.cax-dropdown-item-group{cursor:auto}.cax-dropdown-items{margin:0;padding:0;list-style-type:none}.cax-fluid .cax-dropdown{display:flex}.cax-fluid .cax-dropdown .cax-dropdown-label{width:1%}.cax-float-label .cax-dropdown .cax-placeholder{opacity:0}}\n"] }]
1489
+ }, providers: [DROPDOWN_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"cax-input-container\" [class]=\"styleClass\" [ngClass]=\"['cax-dropdown-' + size]\" [ngStyle]=\"style\" [class.cax-disabled]=\"disabled\">\n <div *ngIf=\"labelText\" [ngClass]=\"{'cax-dropdown-main-label': labelText}\">\n <label *ngIf=\"labelText\" [ngClass]=\"{'cax-text-action-sm-semibold': size === 'sm', 'cax-text-action-md-semibold': size === 'md', 'cax-text-action-lg-semibold': size === 'lg'}\">{{ labelText }}</label>\n </div>\n <div #container [attr.id]=\"id\" [ngClass]=\"containerClass\" (click)=\"onContainerClick($event)\">\n <span\n #focusInput\n [ngClass]=\"inputClass\"\n *ngIf=\"!editable\"\n [caxTooltip]=\"tooltip\"\n [tooltipPosition]=\"tooltipPosition\"\n [positionStyle]=\"tooltipPositionStyle\"\n [tooltipStyleClass]=\"tooltipStyleClass\"\n [attr.aria-disabled]=\"disabled\"\n [attr.id]=\"inputId\"\n role=\"combobox\"\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-haspopup]=\"'listbox'\"\n [attr.aria-expanded]=\"overlayVisible ?? false\"\n [attr.aria-controls]=\"overlayVisible ? id + '_list' : null\"\n [attr.tabindex]=\"!disabled ? tabindex : -1\"\n caxAutoFocus\n [autofocus]=\"autofocus\"\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keydown)=\"onKeyDown($event)\"\n [attr.aria-required]=\"required\"\n [attr.required]=\"required\"\n [class.cax-text-action-sm-medium]=\"size === 'sm'\"\n [class.cax-text-action-md-regular]=\"size === 'md'\"\n [class.cax-text-action-lg-regular]=\"size === 'lg'\"\n >\n <ng-container *ngIf=\"!selectedItemTemplate; else defaultPlaceholder\">{{ label() === 'cax-emptylabel' ? '&nbsp;' : label() }}</ng-container>\n <ng-container *ngIf=\"selectedItemTemplate && !isSelectedOptionEmpty()\" [ngTemplateOutlet]=\"selectedItemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: selectedOption }\"></ng-container>\n <ng-template #defaultPlaceholder>\n <span *ngIf=\"isSelectedOptionEmpty()\">{{ label() === 'cax-emptylabel' ? '&nbsp;' : label() }}</span>\n </ng-template>\n </span>\n <input\n *ngIf=\"editable\"\n #editableInput\n type=\"text\"\n [attr.id]=\"inputId\"\n [attr.maxlength]=\"maxlength\"\n [ngClass]=\"inputClass\"\n [disabled]=\"disabled\"\n aria-haspopup=\"listbox\"\n [attr.placeholder]=\"modelValue() === undefined || modelValue() === null ? placeholder : undefined\"\n [attr.aria-label]=\"ariaLabel || (label() === 'cax-emptylabel' ? undefined : label())\"\n (input)=\"onEditableInput($event)\"\n (keydown)=\"onKeyDown($event)\"\n caxAutoFocus\n [autofocus]=\"autofocus\"\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n [class.cax-text-action-sm-medium]=\"size === 'sm'\"\n [class.cax-text-action-md-regular]=\"size === 'md'\"\n [class.cax-text-action-lg-regular]=\"size === 'lg'\"\n />\n <ng-container *ngIf=\"isVisibleClearIcon\">\n <TimesIcon [styleClass]=\"'cax-dropdown-clear-icon'\" (click)=\"clear($event)\" *ngIf=\"!clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\" />\n <span class=\"cax-dropdown-clear-icon\" (click)=\"clear($event)\" *ngIf=\"clearIconTemplate\" [attr.data-pc-section]=\"'clearicon'\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\n </span>\n </ng-container>\n\n <div class=\"cax-dropdown-trigger\" role=\"button\" aria-label=\"dropdown trigger\" (mousedown)=\"onMouseDown($event)\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"overlayVisible ?? false\" [attr.data-pc-section]=\"'trigger'\">\n <ng-container *ngIf=\"loading; else elseBlock\">\n <ng-container *ngIf=\"loadingIconTemplate\">\n <ng-container *ngTemplateOutlet=\"loadingIconTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!loadingIconTemplate\">\n <span *ngIf=\"loadingIcon\" [ngClass]=\"'cax-dropdown-trigger-icon pi-spin ' + loadingIcon\" aria-hidden=\"true\"></span>\n <span *ngIf=\"!loadingIcon\" [class]=\"'cax-dropdown-trigger-icon pi pi-spinner pi-spin'\" aria-hidden=\"true\"></span>\n </ng-container>\n </ng-container>\n\n <ng-template #elseBlock>\n <ng-container *ngIf=\"!dropdownIconTemplate\">\n <span class=\"cax-dropdown-trigger-icon\" *ngIf=\"dropdownIcon\" [ngClass]=\"dropdownIcon\"></span>\n <!-- <ChevronDownIcon *ngIf=\"!dropdownIcon\" [styleClass]=\"'cax-dropdown-trigger-icon'\" /> -->\n <i *ngIf=\"!dropdownIcon && !overlayVisible\" class=\"cax cax-alt-arrow-down\"></i>\n <i *ngIf=\"!dropdownIcon && overlayVisible\" class=\"cax cax-alt-arrow-up\"></i>\n </ng-container>\n <span *ngIf=\"dropdownIconTemplate\" class=\"cax-dropdown-trigger-icon\">\n <ng-template *ngTemplateOutlet=\"dropdownIconTemplate\"></ng-template>\n </span>\n </ng-template>\n </div>\n\n <cax-overlay\n #overlay\n [(visible)]=\"overlayVisible\"\n [options]=\"overlayOptions\"\n [target]=\"'@parent'\"\n [appendTo]=\"appendTo\"\n [autoZIndex]=\"autoZIndex\"\n [baseZIndex]=\"baseZIndex\"\n [showTransitionOptions]=\"showTransitionOptions\"\n [hideTransitionOptions]=\"hideTransitionOptions\"\n (onAnimationStart)=\"onOverlayAnimationStart($event)\"\n (onHide)=\"hide()\"\n >\n <ng-template caxTemplate=\"content\">\n <div [ngClass]=\"'cax-dropdown-panel cax-component'\" [ngStyle]=\"panelStyle\" [class]=\"panelStyleClass\">\n <span\n #firstHiddenFocusableEl\n role=\"presentation\"\n class=\"cax-hidden-accessible cax-hidden-focusable\"\n [attr.tabindex]=\"0\"\n (focus)=\"onFirstHiddenFocus($event)\"\n [attr.data-cax-hidden-accessible]=\"true\"\n [attr.data-cax-hidden-focusable]=\"true\"\n >\n </span>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n <div class=\"cax-dropdown-header\" *ngIf=\"filter\" (click)=\"$event.stopPropagation()\">\n <ng-container *ngIf=\"filterTemplate; else builtInFilterElement\">\n <ng-container *ngTemplateOutlet=\"filterTemplate; context: { options: filterOptions }\"></ng-container>\n </ng-container>\n <ng-template #builtInFilterElement>\n <div class=\"cax-dropdown-filter-container\">\n <input\n #filter\n type=\"text\"\n role=\"searchbox\"\n autocomplete=\"off\"\n [attr.placeholder]=\"filterPlaceholder || 'Search...'\"\n [value]=\"_filterValue() || ''\"\n class=\"cax-dropdown-filter cax-inputtext cax-component\"\n [ngClass]=\"{ 'cax-variant-filled': variant === 'filled' || config.inputStyle() === 'filled' }\"\n [attr.placeholder]=\"filterPlaceholder\"\n [attr.aria-owns]=\"id + '_list'\"\n (input)=\"onFilterInputChange($event)\"\n [attr.aria-label]=\"ariaFilterLabel\"\n [attr.aria-activedescendant]=\"focusedOptionId\"\n (keydown)=\"onFilterKeyDown($event)\"\n (blur)=\"onFilterBlur($event)\"\n />\n <!-- <SearchIcon *ngIf=\"!filterIconTemplate\" [styleClass]=\"'cax-dropdown-filter-icon'\" /> -->\n <span class=\"cax cax-magnifier cax-dropdown-filter-icon\" *ngIf=\"!filterIconTemplate\"></span>\n <span *ngIf=\"filterIconTemplate\" class=\"cax-dropdown-filter-icon\">\n <ng-template *ngTemplateOutlet=\"filterIconTemplate\"></ng-template>\n </span>\n <i *ngIf=\"_filterValue()\" class=\"cax cax-close-circle cax-dropdown-filter-clear-icon\" (click)=\"resetFilter()\"></i>\n </div>\n </ng-template>\n </div>\n <div\n class=\"cax-dropdown-items-wrapper\"\n [ngStyle]=\"{\n 'max-height': virtualScroll ? 'auto' : scrollHeight || 'auto'\n }\"\n tabindex=\"0\"\n >\n <cax-scroller\n *ngIf=\"virtualScroll\"\n #scroller\n [items]=\"visibleOptions()\"\n [style]=\"{ height: scrollHeight }\"\n [itemSize]=\"virtualScrollItemSize || _itemSize\"\n [autoSize]=\"true\"\n [lazy]=\"lazy\"\n (onLazyLoad)=\"onLazyLoad.emit($event)\"\n [options]=\"virtualScrollOptions\"\n >\n <ng-template caxTemplate=\"content\" let-items let-scrollerOptions=\"options\">\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: items, options: scrollerOptions }\"></ng-container>\n </ng-template>\n <ng-container *ngIf=\"loaderTemplate\">\n <ng-template caxTemplate=\"loader\" let-scrollerOptions=\"options\">\n <ng-container *ngTemplateOutlet=\"loaderTemplate; context: { options: scrollerOptions }\"></ng-container>\n </ng-template>\n </ng-container>\n </cax-scroller>\n <ng-container *ngIf=\"!virtualScroll\">\n <ng-container *ngTemplateOutlet=\"buildInItems; context: { $implicit: visibleOptions(), options: {} }\"></ng-container>\n </ng-container>\n\n <ng-template #buildInItems let-items let-scrollerOptions=\"options\">\n <ul #items [attr.id]=\"id + '_list'\" [attr.aria-label]=\"listLabel\" class=\"cax-dropdown-items\" [ngClass]=\"scrollerOptions.contentStyleClass\" [ngStyle]=\"scrollerOptions.contentStyle\" role=\"listbox\">\n <ng-template ngFor let-option [ngForOf]=\"items\" let-i=\"index\">\n <ng-container *ngIf=\"isOptionGroup(option)\">\n <li class=\"cax-dropdown-item-group\" [attr.id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\n <span *ngIf=\"!groupTemplate\">{{ getOptionGroupLabel(option.optionGroup) }}</span>\n <ng-container *ngTemplateOutlet=\"groupTemplate; context: { $implicit: option.optionGroup }\"></ng-container>\n </li>\n </ng-container>\n <ng-container *ngIf=\"!isOptionGroup(option)\">\n <cax-dropdownItem\n [id]=\"id + '_' + getOptionIndex(i, scrollerOptions)\"\n [option]=\"option\"\n [checkmark]=\"checkmark\"\n [size]=\"size\"\n [selected]=\"isSelected(option)\"\n [label]=\"getOptionLabel(option)\"\n [disabled]=\"isOptionDisabled(option)\"\n [template]=\"itemTemplate\"\n [focused]=\"focusedOptionIndex() === getOptionIndex(i, scrollerOptions)\"\n [ariaPosInset]=\"getAriaPosInset(getOptionIndex(i, scrollerOptions))\"\n [ariaSetSize]=\"ariaSetSize\"\n (onClick)=\"onOptionSelect($event, option)\"\n (onMouseEnter)=\"onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))\"\n ></cax-dropdownItem>\n </ng-container>\n </ng-template>\n <li *ngIf=\"filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\n <ng-container *ngIf=\"!emptyFilterTemplate && !emptyTemplate; else emptyFilter\"> {{ emptyFilterMessageLabel }} </ng-container>\n <ng-container #emptyFilter *ngTemplateOutlet=\"emptyFilterTemplate || emptyTemplate\"></ng-container>\n </li>\n <li *ngIf=\"!filterValue && isEmpty()\" class=\"cax-dropdown-empty-message\" [ngStyle]=\"{ height: scrollerOptions.itemSize + 'px' }\" role=\"option\">\n <ng-container *ngIf=\"!emptyTemplate; else empty\"> {{ emptyMessageLabel }} </ng-container>\n <ng-container #empty *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </li>\n </ul>\n </ng-template>\n </div>\n <div *ngIf=\"footerFacet || footerTemplate\" style=\"padding: 0 12px\">\n <cax-divider [style]=\"{margin: '0px'}\" type=\"solid\" />\n </div>\n <div class=\"cax-dropdown-footer\" *ngIf=\"footerFacet || footerTemplate\">\n <ng-content select=\"cax-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n <span\n #lastHiddenFocusableEl\n role=\"presentation\"\n class=\"cax-hidden-accessible cax-hidden-focusable\"\n [attr.tabindex]=\"0\"\n (focus)=\"onLastHiddenFocus($event)\"\n [attr.data-cax-hidden-accessible]=\"true\"\n [attr.data-cax-hidden-focusable]=\"true\"\n ></span>\n </div>\n </ng-template>\n </cax-overlay>\n </div>\n <!-- Error Message with conditional opacity -->\n <small *ngIf=\"invalid\" class=\"cax-error\" [ngClass]=\"{'cax-text-action-sm-medium': size === 'sm', 'cax-text-action-md-regular': size === 'md', 'cax-text-action-lg-regular': size === 'lg'}\"> {{ errorText }} </small>\n\n <!-- Helper Text with conditional opacity -->\n <small *ngIf=\"successText && !invalid\" class=\"cax-helper-text\" [ngClass]=\"{'cax-text-action-sm-medium': size === 'sm', 'cax-text-action-md-regular': size === 'md', 'cax-text-action-lg-regular': size === 'lg'}\"> {{ successText }} </small>\n</div>\n", styles: ["@layer cax{.cax-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none;width:100%;height:40px}.cax-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.cax-dropdown-main-label{font-weight:600;font-size:14px;line-height:20px}.cax-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.cax-dropdown-trigger-icon{transition:transform .3s ease}.cax-dropdown-open .cax-dropdown-trigger-icon{transform:rotate(180deg)}.cax-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.cax-dropdown-label-empty{overflow:hidden;opacity:0}input.cax-dropdown-label{cursor:default}.cax-dropdown-items-wrapper{overflow:auto}.cax-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden;font-weight:500}.cax-dropdown-item-group{cursor:auto}.cax-dropdown-items{margin:0;padding:0;list-style-type:none}.cax-fluid .cax-dropdown{display:flex}.cax-fluid .cax-dropdown .cax-dropdown-label{width:1%}.cax-float-label .cax-dropdown .cax-placeholder{opacity:0}}\n"] }]
1467
1490
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.FilterService }, { type: i1.caxConfig }], propDecorators: { id: [{
1468
1491
  type: Input
1469
1492
  }], scrollHeight: [{
@@ -1505,6 +1528,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
1505
1528
  type: Input
1506
1529
  }], variant: [{
1507
1530
  type: Input
1531
+ }], size: [{
1532
+ type: Input
1508
1533
  }], inputId: [{
1509
1534
  type: Input
1510
1535
  }], dataKey: [{
@@ -1599,6 +1624,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
1599
1624
  args: [{ transform: booleanAttribute }]
1600
1625
  }], labelText: [{
1601
1626
  type: Input
1627
+ }], invalid: [{
1628
+ type: Input,
1629
+ args: [{ transform: booleanAttribute }]
1630
+ }], errorText: [{
1631
+ type: Input
1632
+ }], successText: [{
1633
+ type: Input
1602
1634
  }], disabled: [{
1603
1635
  type: Input
1604
1636
  }], itemSize: [{
@@ -1660,17 +1692,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
1660
1692
  }], lastHiddenFocusableElementOnOverlay: [{
1661
1693
  type: ViewChild,
1662
1694
  args: ['lastHiddenFocusableEl']
1695
+ }], footerFacet: [{
1696
+ type: ContentChild,
1697
+ args: [Footer]
1663
1698
  }], templates: [{
1664
1699
  type: ContentChildren,
1665
1700
  args: [CaxTemplate]
1666
1701
  }] } });
1667
1702
 
1668
1703
  class DropdownModule {
1669
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1670
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: DropdownModule, imports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule], exports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule] });
1671
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DropdownModule, imports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule, OverlayModule, SharedModule, ScrollerModule] });
1704
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1705
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.21", ngImport: i0, type: DropdownModule, imports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule], exports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule] });
1706
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: DropdownModule, imports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule, OverlayModule, SharedModule, ScrollerModule] });
1672
1707
  }
1673
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DropdownModule, decorators: [{
1708
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: DropdownModule, decorators: [{
1674
1709
  type: NgModule,
1675
1710
  args: [{
1676
1711
  imports: [Dropdown, DropdownItem, OverlayModule, SharedModule, ScrollerModule],