@exhaustive-ui/core 3.0.0-alpha.1 → 22.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/README.md +3 -3
  2. package/fesm2022/exhaustive-ui-core-accordion.mjs +1 -1
  3. package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
  4. package/fesm2022/exhaustive-ui-core-api.mjs +4 -4
  5. package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
  6. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +433 -377
  7. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  8. package/fesm2022/exhaustive-ui-core-avatar.mjs +1 -1
  9. package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
  10. package/fesm2022/exhaustive-ui-core-avatargroup.mjs +1 -1
  11. package/fesm2022/exhaustive-ui-core-avatargroup.mjs.map +1 -1
  12. package/fesm2022/exhaustive-ui-core-badge.mjs +1 -1
  13. package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
  14. package/fesm2022/exhaustive-ui-core-blockui.mjs +1 -1
  15. package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
  16. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +1 -1
  17. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  18. package/fesm2022/exhaustive-ui-core-button.mjs +1 -1
  19. package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
  20. package/fesm2022/exhaustive-ui-core-buttongroup.mjs +1 -1
  21. package/fesm2022/exhaustive-ui-core-buttongroup.mjs.map +1 -1
  22. package/fesm2022/exhaustive-ui-core-card.mjs +1 -1
  23. package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
  24. package/fesm2022/exhaustive-ui-core-carousel.mjs +241 -207
  25. package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
  26. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +1 -1
  27. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  28. package/fesm2022/exhaustive-ui-core-chart.mjs +1 -1
  29. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  30. package/fesm2022/exhaustive-ui-core-checkbox.mjs +1 -1
  31. package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
  32. package/fesm2022/exhaustive-ui-core-chip.mjs +1 -1
  33. package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
  34. package/fesm2022/exhaustive-ui-core-colorpicker.mjs +1 -1
  35. package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
  36. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +80 -72
  37. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  38. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +110 -98
  39. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  40. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +302 -324
  41. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  42. package/fesm2022/exhaustive-ui-core-dataview.mjs +1 -1
  43. package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
  44. package/fesm2022/exhaustive-ui-core-datepicker.mjs +944 -794
  45. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  46. package/fesm2022/exhaustive-ui-core-dialog.mjs +168 -128
  47. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  48. package/fesm2022/exhaustive-ui-core-divider.mjs +1 -1
  49. package/fesm2022/exhaustive-ui-core-divider.mjs.map +1 -1
  50. package/fesm2022/exhaustive-ui-core-dock.mjs +1 -1
  51. package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
  52. package/fesm2022/exhaustive-ui-core-drawer.mjs +1 -1
  53. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  54. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +1 -1
  55. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
  56. package/fesm2022/exhaustive-ui-core-editor.mjs +1 -1
  57. package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
  58. package/fesm2022/exhaustive-ui-core-fieldset.mjs +1 -1
  59. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  60. package/fesm2022/exhaustive-ui-core-fileupload.mjs +486 -402
  61. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  62. package/fesm2022/exhaustive-ui-core-floatlabel.mjs +1 -1
  63. package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
  64. package/fesm2022/exhaustive-ui-core-fluid.mjs +1 -1
  65. package/fesm2022/exhaustive-ui-core-fluid.mjs.map +1 -1
  66. package/fesm2022/exhaustive-ui-core-galleria.mjs +1 -1
  67. package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
  68. package/fesm2022/exhaustive-ui-core-iconfield.mjs +1 -1
  69. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  70. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs +2 -2
  71. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs.map +1 -1
  72. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs +2 -2
  73. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs.map +1 -1
  74. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs +2 -2
  75. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs.map +1 -1
  76. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs +2 -2
  77. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs.map +1 -1
  78. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs +2 -2
  79. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs.map +1 -1
  80. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs +2 -2
  81. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs.map +1 -1
  82. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs +2 -2
  83. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs.map +1 -1
  84. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs +2 -2
  85. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs.map +1 -1
  86. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs +2 -2
  87. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs.map +1 -1
  88. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs +2 -2
  89. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs.map +1 -1
  90. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs +2 -2
  91. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs.map +1 -1
  92. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs +2 -2
  93. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs.map +1 -1
  94. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs +2 -2
  95. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs.map +1 -1
  96. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs +2 -2
  97. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs.map +1 -1
  98. package/fesm2022/exhaustive-ui-core-icons-ban.mjs +2 -2
  99. package/fesm2022/exhaustive-ui-core-icons-ban.mjs.map +1 -1
  100. package/fesm2022/exhaustive-ui-core-icons-bars.mjs +2 -2
  101. package/fesm2022/exhaustive-ui-core-icons-bars.mjs.map +1 -1
  102. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +1 -1
  103. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
  104. package/fesm2022/exhaustive-ui-core-icons-blank.mjs +2 -2
  105. package/fesm2022/exhaustive-ui-core-icons-blank.mjs.map +1 -1
  106. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs +2 -2
  107. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs.map +1 -1
  108. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs +2 -2
  109. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs.map +1 -1
  110. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs +2 -2
  111. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs.map +1 -1
  112. package/fesm2022/exhaustive-ui-core-icons-check.mjs +2 -2
  113. package/fesm2022/exhaustive-ui-core-icons-check.mjs.map +1 -1
  114. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs +2 -2
  115. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs.map +1 -1
  116. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs +2 -2
  117. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs.map +1 -1
  118. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs +2 -2
  119. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs.map +1 -1
  120. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs +2 -2
  121. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs.map +1 -1
  122. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs +2 -2
  123. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs.map +1 -1
  124. package/fesm2022/exhaustive-ui-core-icons-eye.mjs +2 -2
  125. package/fesm2022/exhaustive-ui-core-icons-eye.mjs.map +1 -1
  126. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs +2 -2
  127. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs.map +1 -1
  128. package/fesm2022/exhaustive-ui-core-icons-filter.mjs +2 -2
  129. package/fesm2022/exhaustive-ui-core-icons-filter.mjs.map +1 -1
  130. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs +2 -2
  131. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs.map +1 -1
  132. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs +2 -2
  133. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs.map +1 -1
  134. package/fesm2022/exhaustive-ui-core-icons-home.mjs +2 -2
  135. package/fesm2022/exhaustive-ui-core-icons-home.mjs.map +1 -1
  136. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs +2 -2
  137. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs.map +1 -1
  138. package/fesm2022/exhaustive-ui-core-icons-minus.mjs +2 -2
  139. package/fesm2022/exhaustive-ui-core-icons-minus.mjs.map +1 -1
  140. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs +2 -2
  141. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs.map +1 -1
  142. package/fesm2022/exhaustive-ui-core-icons-plus.mjs +2 -2
  143. package/fesm2022/exhaustive-ui-core-icons-plus.mjs.map +1 -1
  144. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs +2 -2
  145. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs.map +1 -1
  146. package/fesm2022/exhaustive-ui-core-icons-search.mjs +2 -2
  147. package/fesm2022/exhaustive-ui-core-icons-search.mjs.map +1 -1
  148. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs +2 -2
  149. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs.map +1 -1
  150. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs +2 -2
  151. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs.map +1 -1
  152. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs +2 -2
  153. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs.map +1 -1
  154. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs +2 -2
  155. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs.map +1 -1
  156. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs +2 -2
  157. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs.map +1 -1
  158. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs +2 -2
  159. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs.map +1 -1
  160. package/fesm2022/exhaustive-ui-core-icons-star.mjs +2 -2
  161. package/fesm2022/exhaustive-ui-core-icons-star.mjs.map +1 -1
  162. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs +2 -2
  163. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs.map +1 -1
  164. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs +2 -2
  165. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs.map +1 -1
  166. package/fesm2022/exhaustive-ui-core-icons-times.mjs +2 -2
  167. package/fesm2022/exhaustive-ui-core-icons-times.mjs.map +1 -1
  168. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs +2 -2
  169. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs.map +1 -1
  170. package/fesm2022/exhaustive-ui-core-icons-trash.mjs +2 -2
  171. package/fesm2022/exhaustive-ui-core-icons-trash.mjs.map +1 -1
  172. package/fesm2022/exhaustive-ui-core-icons-undo.mjs +2 -2
  173. package/fesm2022/exhaustive-ui-core-icons-undo.mjs.map +1 -1
  174. package/fesm2022/exhaustive-ui-core-icons-upload.mjs +2 -2
  175. package/fesm2022/exhaustive-ui-core-icons-upload.mjs.map +1 -1
  176. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs +2 -2
  177. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs.map +1 -1
  178. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs +2 -2
  179. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs.map +1 -1
  180. package/fesm2022/exhaustive-ui-core-iftalabel.mjs +1 -1
  181. package/fesm2022/exhaustive-ui-core-iftalabel.mjs.map +1 -1
  182. package/fesm2022/exhaustive-ui-core-image.mjs +1 -1
  183. package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
  184. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +1 -1
  185. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  186. package/fesm2022/exhaustive-ui-core-inplace.mjs +5 -5
  187. package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
  188. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +1 -1
  189. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  190. package/fesm2022/exhaustive-ui-core-inputmask.mjs +1 -1
  191. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  192. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +1 -1
  193. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  194. package/fesm2022/exhaustive-ui-core-inputotp.mjs +1 -1
  195. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  196. package/fesm2022/exhaustive-ui-core-inputtext.mjs +1 -1
  197. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  198. package/fesm2022/exhaustive-ui-core-knob.mjs +1 -1
  199. package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
  200. package/fesm2022/exhaustive-ui-core-listbox.mjs +304 -260
  201. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  202. package/fesm2022/exhaustive-ui-core-megamenu.mjs +7 -7
  203. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  204. package/fesm2022/exhaustive-ui-core-menu.mjs +1 -1
  205. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  206. package/fesm2022/exhaustive-ui-core-menubar.mjs +3 -3
  207. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  208. package/fesm2022/exhaustive-ui-core-message.mjs +1 -1
  209. package/fesm2022/exhaustive-ui-core-message.mjs.map +1 -1
  210. package/fesm2022/exhaustive-ui-core-metergroup.mjs +1 -1
  211. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  212. package/fesm2022/exhaustive-ui-core-motion.mjs +3 -3
  213. package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
  214. package/fesm2022/exhaustive-ui-core-multiselect.mjs +422 -334
  215. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  216. package/fesm2022/exhaustive-ui-core-orderlist.mjs +1 -1
  217. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  218. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +1 -1
  219. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  220. package/fesm2022/exhaustive-ui-core-paginator.mjs +1 -1
  221. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  222. package/fesm2022/exhaustive-ui-core-panel.mjs +1 -1
  223. package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
  224. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +5 -5
  225. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  226. package/fesm2022/exhaustive-ui-core-password.mjs +1 -1
  227. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  228. package/fesm2022/exhaustive-ui-core-picklist.mjs +427 -347
  229. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  230. package/fesm2022/exhaustive-ui-core-progressbar.mjs +1 -1
  231. package/fesm2022/exhaustive-ui-core-progressbar.mjs.map +1 -1
  232. package/fesm2022/exhaustive-ui-core-progressspinner.mjs +1 -1
  233. package/fesm2022/exhaustive-ui-core-progressspinner.mjs.map +1 -1
  234. package/fesm2022/exhaustive-ui-core-radiobutton.mjs +1 -1
  235. package/fesm2022/exhaustive-ui-core-radiobutton.mjs.map +1 -1
  236. package/fesm2022/exhaustive-ui-core-rating.mjs +1 -1
  237. package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
  238. package/fesm2022/exhaustive-ui-core-ripple.mjs +1 -1
  239. package/fesm2022/exhaustive-ui-core-ripple.mjs.map +1 -1
  240. package/fesm2022/exhaustive-ui-core-scroller.mjs +1 -1
  241. package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
  242. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +1 -1
  243. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
  244. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +1 -1
  245. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  246. package/fesm2022/exhaustive-ui-core-select.mjs +392 -338
  247. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  248. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +1 -1
  249. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  250. package/fesm2022/exhaustive-ui-core-skeleton.mjs +1 -1
  251. package/fesm2022/exhaustive-ui-core-skeleton.mjs.map +1 -1
  252. package/fesm2022/exhaustive-ui-core-slider.mjs +1 -1
  253. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  254. package/fesm2022/exhaustive-ui-core-speeddial.mjs +1 -1
  255. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  256. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +1 -1
  257. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  258. package/fesm2022/exhaustive-ui-core-splitter.mjs +1 -1
  259. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  260. package/fesm2022/exhaustive-ui-core-stepper.mjs +6 -6
  261. package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
  262. package/fesm2022/exhaustive-ui-core-steps.mjs +1 -1
  263. package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
  264. package/fesm2022/exhaustive-ui-core-table.mjs +338 -294
  265. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  266. package/fesm2022/exhaustive-ui-core-tabs.mjs +5 -5
  267. package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
  268. package/fesm2022/exhaustive-ui-core-tag.mjs +1 -1
  269. package/fesm2022/exhaustive-ui-core-tag.mjs.map +1 -1
  270. package/fesm2022/exhaustive-ui-core-terminal.mjs +1 -1
  271. package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
  272. package/fesm2022/exhaustive-ui-core-textarea.mjs +1 -1
  273. package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
  274. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +316 -326
  275. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  276. package/fesm2022/exhaustive-ui-core-timeline.mjs +1 -1
  277. package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
  278. package/fesm2022/exhaustive-ui-core-toast.mjs +1 -1
  279. package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
  280. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +1 -1
  281. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  282. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +1 -1
  283. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  284. package/fesm2022/exhaustive-ui-core-toolbar.mjs +1 -1
  285. package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
  286. package/fesm2022/exhaustive-ui-core-tooltip.mjs +1 -1
  287. package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
  288. package/fesm2022/exhaustive-ui-core-tree.mjs +1 -1
  289. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  290. package/fesm2022/exhaustive-ui-core-treeselect.mjs +12 -8
  291. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  292. package/fesm2022/exhaustive-ui-core-treetable.mjs +1 -1
  293. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  294. package/package.json +12 -12
  295. package/schematics/migrate-from-primeng/index.js +1 -1
  296. package/schematics/migrations.json +5 -5
  297. package/schematics/utils/versions.json +8 -8
  298. package/types/exhaustive-ui-core-accordion.d.ts +1 -1
  299. package/types/exhaustive-ui-core-autocomplete.d.ts +1 -1
  300. package/types/exhaustive-ui-core-avatar.d.ts +1 -1
  301. package/types/exhaustive-ui-core-avatargroup.d.ts +1 -1
  302. package/types/exhaustive-ui-core-badge.d.ts +1 -1
  303. package/types/exhaustive-ui-core-blockui.d.ts +1 -1
  304. package/types/exhaustive-ui-core-breadcrumb.d.ts +1 -1
  305. package/types/exhaustive-ui-core-button.d.ts +1 -1
  306. package/types/exhaustive-ui-core-buttongroup.d.ts +1 -1
  307. package/types/exhaustive-ui-core-card.d.ts +1 -1
  308. package/types/exhaustive-ui-core-carousel.d.ts +1 -1
  309. package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
  310. package/types/exhaustive-ui-core-chart.d.ts +1 -1
  311. package/types/exhaustive-ui-core-checkbox.d.ts +1 -1
  312. package/types/exhaustive-ui-core-chip.d.ts +1 -1
  313. package/types/exhaustive-ui-core-colorpicker.d.ts +1 -1
  314. package/types/exhaustive-ui-core-confirmdialog.d.ts +1 -1
  315. package/types/exhaustive-ui-core-confirmpopup.d.ts +1 -1
  316. package/types/exhaustive-ui-core-contextmenu.d.ts +1 -1
  317. package/types/exhaustive-ui-core-dataview.d.ts +1 -1
  318. package/types/exhaustive-ui-core-datepicker.d.ts +1 -1
  319. package/types/exhaustive-ui-core-dialog.d.ts +1 -1
  320. package/types/exhaustive-ui-core-divider.d.ts +1 -1
  321. package/types/exhaustive-ui-core-dock.d.ts +1 -1
  322. package/types/exhaustive-ui-core-drawer.d.ts +1 -1
  323. package/types/exhaustive-ui-core-dynamicdialog.d.ts +1 -1
  324. package/types/exhaustive-ui-core-editor.d.ts +1 -1
  325. package/types/exhaustive-ui-core-fieldset.d.ts +1 -1
  326. package/types/exhaustive-ui-core-fileupload.d.ts +1 -1
  327. package/types/exhaustive-ui-core-floatlabel.d.ts +1 -1
  328. package/types/exhaustive-ui-core-fluid.d.ts +1 -1
  329. package/types/exhaustive-ui-core-galleria.d.ts +1 -1
  330. package/types/exhaustive-ui-core-iconfield.d.ts +1 -1
  331. package/types/exhaustive-ui-core-icons-baseicon.d.ts +1 -1
  332. package/types/exhaustive-ui-core-iftalabel.d.ts +1 -1
  333. package/types/exhaustive-ui-core-image.d.ts +1 -1
  334. package/types/exhaustive-ui-core-imagecompare.d.ts +1 -1
  335. package/types/exhaustive-ui-core-inplace.d.ts +1 -1
  336. package/types/exhaustive-ui-core-inputgroup.d.ts +1 -1
  337. package/types/exhaustive-ui-core-inputmask.d.ts +1 -1
  338. package/types/exhaustive-ui-core-inputnumber.d.ts +1 -1
  339. package/types/exhaustive-ui-core-inputotp.d.ts +1 -1
  340. package/types/exhaustive-ui-core-inputtext.d.ts +1 -1
  341. package/types/exhaustive-ui-core-knob.d.ts +1 -1
  342. package/types/exhaustive-ui-core-listbox.d.ts +1 -1
  343. package/types/exhaustive-ui-core-megamenu.d.ts +1 -1
  344. package/types/exhaustive-ui-core-menu.d.ts +1 -1
  345. package/types/exhaustive-ui-core-menubar.d.ts +1 -1
  346. package/types/exhaustive-ui-core-message.d.ts +1 -1
  347. package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
  348. package/types/exhaustive-ui-core-multiselect.d.ts +1 -1
  349. package/types/exhaustive-ui-core-orderlist.d.ts +1 -1
  350. package/types/exhaustive-ui-core-organizationchart.d.ts +1 -1
  351. package/types/exhaustive-ui-core-paginator.d.ts +1 -1
  352. package/types/exhaustive-ui-core-panel.d.ts +1 -1
  353. package/types/exhaustive-ui-core-panelmenu.d.ts +1 -1
  354. package/types/exhaustive-ui-core-password.d.ts +1 -1
  355. package/types/exhaustive-ui-core-picklist.d.ts +1 -1
  356. package/types/exhaustive-ui-core-progressbar.d.ts +1 -1
  357. package/types/exhaustive-ui-core-progressspinner.d.ts +1 -1
  358. package/types/exhaustive-ui-core-radiobutton.d.ts +1 -1
  359. package/types/exhaustive-ui-core-rating.d.ts +1 -1
  360. package/types/exhaustive-ui-core-ripple.d.ts +1 -1
  361. package/types/exhaustive-ui-core-scroller.d.ts +1 -1
  362. package/types/exhaustive-ui-core-scrollpanel.d.ts +1 -1
  363. package/types/exhaustive-ui-core-scrolltop.d.ts +1 -1
  364. package/types/exhaustive-ui-core-select.d.ts +1 -1
  365. package/types/exhaustive-ui-core-selectbutton.d.ts +1 -1
  366. package/types/exhaustive-ui-core-skeleton.d.ts +1 -1
  367. package/types/exhaustive-ui-core-slider.d.ts +1 -1
  368. package/types/exhaustive-ui-core-speeddial.d.ts +1 -1
  369. package/types/exhaustive-ui-core-splitbutton.d.ts +1 -1
  370. package/types/exhaustive-ui-core-splitter.d.ts +1 -1
  371. package/types/exhaustive-ui-core-stepper.d.ts +1 -1
  372. package/types/exhaustive-ui-core-steps.d.ts +1 -1
  373. package/types/exhaustive-ui-core-table.d.ts +1 -1
  374. package/types/exhaustive-ui-core-tabs.d.ts +1 -1
  375. package/types/exhaustive-ui-core-tag.d.ts +1 -1
  376. package/types/exhaustive-ui-core-terminal.d.ts +1 -1
  377. package/types/exhaustive-ui-core-textarea.d.ts +1 -1
  378. package/types/exhaustive-ui-core-tieredmenu.d.ts +1 -1
  379. package/types/exhaustive-ui-core-timeline.d.ts +1 -1
  380. package/types/exhaustive-ui-core-toast.d.ts +1 -1
  381. package/types/exhaustive-ui-core-togglebutton.d.ts +1 -1
  382. package/types/exhaustive-ui-core-toggleswitch.d.ts +1 -1
  383. package/types/exhaustive-ui-core-toolbar.d.ts +1 -1
  384. package/types/exhaustive-ui-core-tooltip.d.ts +1 -1
  385. package/types/exhaustive-ui-core-tree.d.ts +1 -1
  386. package/types/exhaustive-ui-core-treeselect.d.ts +1 -1
  387. package/types/exhaustive-ui-core-treetable.d.ts +1 -1
@@ -105,7 +105,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
105
105
  *
106
106
  * ListBox is used to select one or more values from a list of items.
107
107
  *
108
- * [Live Demo](https://exhaustive-ui.e-xiste.com/listbox/)
108
+ * [Live Demo](https://exhaustive-ui.com/listbox/)
109
109
  *
110
110
  * @module listboxstyle
111
111
  *
@@ -1317,71 +1317,79 @@ class Listbox extends BaseEditableHolder {
1317
1317
  [pBind]="ptm('hiddenFirstFocusableElement')"
1318
1318
  >
1319
1319
  </span>
1320
- <div [class]="cx('header')" *ngIf="headerFacet() || headerTemplate() || _headerTemplate()" [pBind]="ptm('header')">
1321
- <ng-content select="p-header"></ng-content>
1322
- <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate(); context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1323
- </div>
1324
- <div [class]="cx('header')" *ngIf="(checkbox() && multiple() && showToggleAll()) || filter()" [pBind]="ptm('header')">
1325
- <p-checkbox
1326
- #headerchkbox
1327
- (onChange)="onToggleAll($event)"
1328
- *ngIf="checkbox() && multiple() && showToggleAll()"
1329
- [class]="cx('optionCheckIcon')"
1330
- [ngModel]="allSelected()"
1331
- [ngModelOptions]="{ standalone: true }"
1332
- [disabled]="$disabled()"
1333
- [tabindex]="-1"
1334
- [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1335
- [binary]="true"
1336
- [attr.aria-label]="toggleAllAriaLabel()"
1337
- [pt]="ptm('pcCheckbox')"
1338
- [unstyled]="unstyled()"
1339
- >
1340
- <ng-container *ngIf="checkIconTemplate() || _checkIconTemplate()">
1341
- <ng-template #icon>
1342
- <ng-template *ngTemplateOutlet="checkIconTemplate() || _checkIconTemplate(); context: { $implicit: allSelected() }"></ng-template>
1343
- </ng-template>
1344
- </ng-container>
1345
- </p-checkbox>
1346
- <ng-container *ngIf="filterTemplate() || _filterTemplate(); else builtInFilterElement">
1347
- <ng-container *ngTemplateOutlet="filterTemplate() || _filterTemplate(); context: { options: filterOptions() }"></ng-container>
1348
- </ng-container>
1349
- <ng-template #builtInFilterElement>
1350
- @if (filter()) {
1351
- <p-iconfield [pt]="ptm('pcFilterContainer')" hostName="listbox" [unstyled]="unstyled()">
1352
- <input
1353
- #filterInput
1354
- pInputText
1355
- type="text"
1356
- [class]="cx('pcFilter')"
1357
- role="searchbox"
1358
- [value]="_filterValue() || ''"
1359
- [attr.disabled]="$disabled() ? '' : undefined"
1360
- [attr.aria-owns]="_id() + '_list'"
1361
- [attr.aria-activedescendant]="focusedOptionId()"
1362
- [attr.placeholder]="filterPlaceHolder()"
1363
- [attr.aria-label]="ariaFilterLabel()"
1364
- [attr.tabindex]="!$disabled() && !focused() ? tabindex() : -1"
1365
- (input)="onFilterChange($event)"
1366
- (keydown)="onFilterKeyDown($event)"
1367
- (blur)="onFilterBlur($event)"
1368
- [pt]="ptm('pcFilter')"
1369
- [unstyled]="unstyled()"
1370
- hostName="listbox"
1371
- />
1372
- <p-inputicon [pt]="ptm('pcFilterIconContainer')" [unstyled]="unstyled()">
1373
- <svg data-p-icon="search" *ngIf="!filterIconTemplate() && !_filterIconTemplate()" [attr.aria-hidden]="true" [pBind]="ptm('filterIcon')" />
1374
- <span *ngIf="filterIconTemplate() || _filterIconTemplate()" [attr.aria-hidden]="true">
1375
- <ng-template *ngTemplateOutlet="filterIconTemplate() || _filterIconTemplate()"></ng-template>
1376
- </span>
1377
- </p-inputicon>
1378
- </p-iconfield>
1320
+ @if (headerFacet() || headerTemplate() || _headerTemplate()) {
1321
+ <div [class]="cx('header')" [pBind]="ptm('header')">
1322
+ <ng-content select="p-header"></ng-content>
1323
+ <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate(); context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1324
+ </div>
1325
+ }
1326
+ @if ((checkbox() && multiple() && showToggleAll()) || filter()) {
1327
+ <div [class]="cx('header')" [pBind]="ptm('header')">
1328
+ @if (checkbox() && multiple() && showToggleAll()) {
1329
+ <p-checkbox
1330
+ #headerchkbox
1331
+ (onChange)="onToggleAll($event)"
1332
+ [class]="cx('optionCheckIcon')"
1333
+ [ngModel]="allSelected()"
1334
+ [ngModelOptions]="{ standalone: true }"
1335
+ [disabled]="$disabled()"
1336
+ [tabindex]="-1"
1337
+ [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1338
+ [binary]="true"
1339
+ [attr.aria-label]="toggleAllAriaLabel()"
1340
+ [pt]="ptm('pcCheckbox')"
1341
+ [unstyled]="unstyled()"
1342
+ >
1343
+ @if (checkIconTemplate() || _checkIconTemplate()) {
1344
+ <ng-template #icon>
1345
+ <ng-template *ngTemplateOutlet="checkIconTemplate() || _checkIconTemplate(); context: { $implicit: allSelected() }"></ng-template>
1346
+ </ng-template>
1347
+ }
1348
+ </p-checkbox>
1379
1349
  }
1380
- <span role="status" [pBind]="ptm('hiddenFilterResult')" [attr.aria-live]="'polite'" class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
1381
- {{ filterResultMessageText() }}
1382
- </span>
1383
- </ng-template>
1384
- </div>
1350
+ @if (filterTemplate() || _filterTemplate()) {
1351
+ <ng-container *ngTemplateOutlet="filterTemplate() || _filterTemplate(); context: { options: filterOptions() }"></ng-container>
1352
+ } @else {
1353
+ @if (filter()) {
1354
+ <p-iconfield [pt]="ptm('pcFilterContainer')" hostName="listbox" [unstyled]="unstyled()">
1355
+ <input
1356
+ #filterInput
1357
+ pInputText
1358
+ type="text"
1359
+ [class]="cx('pcFilter')"
1360
+ role="searchbox"
1361
+ [value]="_filterValue() || ''"
1362
+ [attr.disabled]="$disabled() ? '' : undefined"
1363
+ [attr.aria-owns]="_id() + '_list'"
1364
+ [attr.aria-activedescendant]="focusedOptionId()"
1365
+ [attr.placeholder]="filterPlaceHolder()"
1366
+ [attr.aria-label]="ariaFilterLabel()"
1367
+ [attr.tabindex]="!$disabled() && !focused() ? tabindex() : -1"
1368
+ (input)="onFilterChange($event)"
1369
+ (keydown)="onFilterKeyDown($event)"
1370
+ (blur)="onFilterBlur($event)"
1371
+ [pt]="ptm('pcFilter')"
1372
+ [unstyled]="unstyled()"
1373
+ hostName="listbox"
1374
+ />
1375
+ <p-inputicon [pt]="ptm('pcFilterIconContainer')" [unstyled]="unstyled()">
1376
+ @if (!filterIconTemplate() && !_filterIconTemplate()) {
1377
+ <svg data-p-icon="search" [attr.aria-hidden]="true" [pBind]="ptm('filterIcon')" />
1378
+ }
1379
+ @if (filterIconTemplate() || _filterIconTemplate()) {
1380
+ <span [attr.aria-hidden]="true">
1381
+ <ng-template *ngTemplateOutlet="filterIconTemplate() || _filterIconTemplate()"></ng-template>
1382
+ </span>
1383
+ }
1384
+ </p-inputicon>
1385
+ </p-iconfield>
1386
+ }
1387
+ <span role="status" [pBind]="ptm('hiddenFilterResult')" [attr.aria-live]="'polite'" class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
1388
+ {{ filterResultMessageText() }}
1389
+ </span>
1390
+ }
1391
+ </div>
1392
+ }
1385
1393
  <div
1386
1394
  #container
1387
1395
  [class]="cn(cx('listContainer'), listStyleClass())"
@@ -1411,32 +1419,33 @@ class Listbox extends BaseEditableHolder {
1411
1419
  }
1412
1420
  </div>
1413
1421
  } @else {
1414
- <p-scroller
1415
- [pt]="ptm('virtualScroller')"
1416
- hostName="listbox"
1417
- #scroller
1418
- *ngIf="virtualScroll()"
1419
- [items]="visibleOptions()"
1420
- [style]="{ height: scrollHeight() }"
1421
- [itemSize]="virtualScrollItemSize()"
1422
- [autoSize]="true"
1423
- [lazy]="lazy()"
1424
- [options]="virtualScrollOptions()"
1425
- (onLazyLoad)="onLazyLoad.emit($event)"
1426
- [tabindex]="scrollerTabIndex()"
1427
- >
1428
- <ng-template #content let-items let-scrollerOptions="options">
1429
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1430
- </ng-template>
1431
- @if (loaderTemplate() || _loaderTemplate()) {
1432
- <ng-template #loader let-scrollerOptions="options">
1433
- <ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
1422
+ @if (virtualScroll()) {
1423
+ <p-scroller
1424
+ [pt]="ptm('virtualScroller')"
1425
+ hostName="listbox"
1426
+ #scroller
1427
+ [items]="visibleOptions()"
1428
+ [style]="{ height: scrollHeight() }"
1429
+ [itemSize]="virtualScrollItemSize()"
1430
+ [autoSize]="true"
1431
+ [lazy]="lazy()"
1432
+ [options]="virtualScrollOptions()"
1433
+ (onLazyLoad)="onLazyLoad.emit($event)"
1434
+ [tabindex]="scrollerTabIndex()"
1435
+ >
1436
+ <ng-template #content let-items let-scrollerOptions="options">
1437
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1434
1438
  </ng-template>
1435
- }
1436
- </p-scroller>
1437
- <ng-container *ngIf="!virtualScroll()">
1439
+ @if (loaderTemplate() || _loaderTemplate()) {
1440
+ <ng-template #loader let-scrollerOptions="options">
1441
+ <ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
1442
+ </ng-template>
1443
+ }
1444
+ </p-scroller>
1445
+ }
1446
+ @if (!virtualScroll()) {
1438
1447
  <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
1439
- </ng-container>
1448
+ }
1440
1449
 
1441
1450
  <ng-template #buildInItems let-items let-scrollerOptions="options">
1442
1451
  <ul
@@ -1456,8 +1465,8 @@ class Listbox extends BaseEditableHolder {
1456
1465
  (keydown)="onListKeyDown($event)"
1457
1466
  [pBind]="ptm('list')"
1458
1467
  >
1459
- <ng-template ngFor let-option [ngForOf]="items" let-i="index">
1460
- <ng-container *ngIf="isOptionGroup(option)">
1468
+ @for (option of items; track $index; let i = $index) {
1469
+ @if (isOptionGroup(option)) {
1461
1470
  <li
1462
1471
  [attr.id]="_id() + '_' + getOptionIndex(i, scrollerOptions)"
1463
1472
  [class]="cx('optionGroup')"
@@ -1470,11 +1479,13 @@ class Listbox extends BaseEditableHolder {
1470
1479
  (cdkDragStarted)="isDragging.set(true)"
1471
1480
  (cdkDragEnded)="isDragging.set(false)"
1472
1481
  >
1473
- <span *ngIf="!groupTemplate() && !_groupTemplate()">{{ getOptionGroupLabel(option.optionGroup) }}</span>
1482
+ @if (!groupTemplate() && !_groupTemplate()) {
1483
+ <span>{{ getOptionGroupLabel(option.optionGroup) }}</span>
1484
+ }
1474
1485
  <ng-container *ngTemplateOutlet="groupTemplate() || _groupTemplate(); context: { $implicit: option.optionGroup }"></ng-container>
1475
1486
  </li>
1476
- </ng-container>
1477
- <ng-container *ngIf="!isOptionGroup(option)">
1487
+ }
1488
+ @if (!isOptionGroup(option)) {
1478
1489
  <li
1479
1490
  pRipple
1480
1491
  [class]="cx('option', { option, i, scrollerOptions })"
@@ -1501,34 +1512,41 @@ class Listbox extends BaseEditableHolder {
1501
1512
  (cdkDragStarted)="isDragging.set(true)"
1502
1513
  (cdkDragEnded)="isDragging.set(false)"
1503
1514
  >
1504
- <p-checkbox
1505
- *ngIf="checkbox() && multiple()"
1506
- [class]="cx('optionCheckIcon')"
1507
- [ngModel]="isSelected(option)"
1508
- [ngModelOptions]="{ standalone: true }"
1509
- [readonly]="true"
1510
- [disabled]="$disabled() || isOptionDisabled(option)"
1511
- [tabindex]="-1"
1512
- [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1513
- [binary]="true"
1514
- [pt]="ptm('pcCheckbox')"
1515
- hostName="listbox"
1516
- [unstyled]="unstyled()"
1517
- >
1518
- <ng-container *ngIf="checkIconTemplate() || _checkIconTemplate()">
1519
- <ng-template #icon>
1520
- <ng-template *ngTemplateOutlet="checkIconTemplate() || _checkIconTemplate(); context: { $implicit: isSelected(option) }"></ng-template>
1521
- </ng-template>
1522
- </ng-container>
1523
- </p-checkbox>
1524
- <ng-container *ngIf="checkmark()">
1525
- <ng-container *ngIf="!checkmarkTemplate() && !_checkmarkTemplate()">
1526
- <svg data-p-icon="blank" *ngIf="!isSelected(option)" [class]="cx('optionBlankIcon')" [pBind]="ptm('optionBlankIcon')" />
1527
- <svg data-p-icon="check" *ngIf="isSelected(option)" [class]="cx('optionCheckIcon')" [pBind]="ptm('optionCheckIcon')" />
1528
- </ng-container>
1515
+ @if (checkbox() && multiple()) {
1516
+ <p-checkbox
1517
+ [class]="cx('optionCheckIcon')"
1518
+ [ngModel]="isSelected(option)"
1519
+ [ngModelOptions]="{ standalone: true }"
1520
+ [readonly]="true"
1521
+ [disabled]="$disabled() || isOptionDisabled(option)"
1522
+ [tabindex]="-1"
1523
+ [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1524
+ [binary]="true"
1525
+ [pt]="ptm('pcCheckbox')"
1526
+ hostName="listbox"
1527
+ [unstyled]="unstyled()"
1528
+ >
1529
+ @if (checkIconTemplate() || _checkIconTemplate()) {
1530
+ <ng-template #icon>
1531
+ <ng-template *ngTemplateOutlet="checkIconTemplate() || _checkIconTemplate(); context: { $implicit: isSelected(option) }"></ng-template>
1532
+ </ng-template>
1533
+ }
1534
+ </p-checkbox>
1535
+ }
1536
+ @if (checkmark()) {
1537
+ @if (!checkmarkTemplate() && !_checkmarkTemplate()) {
1538
+ @if (!isSelected(option)) {
1539
+ <svg data-p-icon="blank" [class]="cx('optionBlankIcon')" [pBind]="ptm('optionBlankIcon')" />
1540
+ }
1541
+ @if (isSelected(option)) {
1542
+ <svg data-p-icon="check" [class]="cx('optionCheckIcon')" [pBind]="ptm('optionCheckIcon')" />
1543
+ }
1544
+ }
1529
1545
  <ng-container *ngTemplateOutlet="checkmarkTemplate() || _checkmarkTemplate(); context: { implicit: isSelected(option) }"></ng-container>
1530
- </ng-container>
1531
- <span *ngIf="!itemTemplate() && !_itemTemplate()">{{ getOptionLabel(option) }}</span>
1546
+ }
1547
+ @if (!itemTemplate() && !_itemTemplate()) {
1548
+ <span>{{ getOptionLabel(option) }}</span>
1549
+ }
1532
1550
  <ng-container
1533
1551
  *ngTemplateOutlet="
1534
1552
  itemTemplate() || _itemTemplate();
@@ -1541,19 +1559,23 @@ class Listbox extends BaseEditableHolder {
1541
1559
  "
1542
1560
  ></ng-container>
1543
1561
  </li>
1544
- </ng-container>
1545
- </ng-template>
1562
+ }
1563
+ }
1546
1564
  </ul>
1547
1565
  </ng-template>
1548
1566
  }
1549
1567
  </div>
1550
- <div *ngIf="footerFacet() || footerTemplate() || _footerTemplate()">
1551
- <ng-content select="p-footer"></ng-content>
1552
- <ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate(); context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1553
- </div>
1554
- <span *ngIf="isEmpty()" role="status" aria-live="polite" class="p-hidden-accessible" [pBind]="ptm('hiddenEmptyMessage')">
1555
- {{ emptyMessage() }}
1556
- </span>
1568
+ @if (footerFacet() || footerTemplate() || _footerTemplate()) {
1569
+ <div>
1570
+ <ng-content select="p-footer"></ng-content>
1571
+ <ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate(); context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1572
+ </div>
1573
+ }
1574
+ @if (isEmpty()) {
1575
+ <span role="status" aria-live="polite" class="p-hidden-accessible" [pBind]="ptm('hiddenEmptyMessage')">
1576
+ {{ emptyMessage() }}
1577
+ </span>
1578
+ }
1557
1579
  <span role="status" aria-live="polite" class="p-hidden-accessible" [pBind]="ptm('hiddenSelectedMessage')">
1558
1580
  {{ selectedMessageText() }}
1559
1581
  </span>
@@ -1567,7 +1589,7 @@ class Listbox extends BaseEditableHolder {
1567
1589
  [pBind]="ptm('hiddenLastFocusableEl')"
1568
1590
  >
1569
1591
  </span>
1570
- `, isInline: true, 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: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["hostName", "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: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName"] }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "component", type: BlankIcon, selector: "[data-p-icon=\"blank\"]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1592
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["hostName", "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: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName"] }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "component", type: BlankIcon, selector: "[data-p-icon=\"blank\"]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1571
1593
  }
1572
1594
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Listbox, decorators: [{
1573
1595
  type: Component,
@@ -1585,71 +1607,79 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1585
1607
  [pBind]="ptm('hiddenFirstFocusableElement')"
1586
1608
  >
1587
1609
  </span>
1588
- <div [class]="cx('header')" *ngIf="headerFacet() || headerTemplate() || _headerTemplate()" [pBind]="ptm('header')">
1589
- <ng-content select="p-header"></ng-content>
1590
- <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate(); context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1591
- </div>
1592
- <div [class]="cx('header')" *ngIf="(checkbox() && multiple() && showToggleAll()) || filter()" [pBind]="ptm('header')">
1593
- <p-checkbox
1594
- #headerchkbox
1595
- (onChange)="onToggleAll($event)"
1596
- *ngIf="checkbox() && multiple() && showToggleAll()"
1597
- [class]="cx('optionCheckIcon')"
1598
- [ngModel]="allSelected()"
1599
- [ngModelOptions]="{ standalone: true }"
1600
- [disabled]="$disabled()"
1601
- [tabindex]="-1"
1602
- [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1603
- [binary]="true"
1604
- [attr.aria-label]="toggleAllAriaLabel()"
1605
- [pt]="ptm('pcCheckbox')"
1606
- [unstyled]="unstyled()"
1607
- >
1608
- <ng-container *ngIf="checkIconTemplate() || _checkIconTemplate()">
1609
- <ng-template #icon>
1610
- <ng-template *ngTemplateOutlet="checkIconTemplate() || _checkIconTemplate(); context: { $implicit: allSelected() }"></ng-template>
1611
- </ng-template>
1612
- </ng-container>
1613
- </p-checkbox>
1614
- <ng-container *ngIf="filterTemplate() || _filterTemplate(); else builtInFilterElement">
1615
- <ng-container *ngTemplateOutlet="filterTemplate() || _filterTemplate(); context: { options: filterOptions() }"></ng-container>
1616
- </ng-container>
1617
- <ng-template #builtInFilterElement>
1618
- @if (filter()) {
1619
- <p-iconfield [pt]="ptm('pcFilterContainer')" hostName="listbox" [unstyled]="unstyled()">
1620
- <input
1621
- #filterInput
1622
- pInputText
1623
- type="text"
1624
- [class]="cx('pcFilter')"
1625
- role="searchbox"
1626
- [value]="_filterValue() || ''"
1627
- [attr.disabled]="$disabled() ? '' : undefined"
1628
- [attr.aria-owns]="_id() + '_list'"
1629
- [attr.aria-activedescendant]="focusedOptionId()"
1630
- [attr.placeholder]="filterPlaceHolder()"
1631
- [attr.aria-label]="ariaFilterLabel()"
1632
- [attr.tabindex]="!$disabled() && !focused() ? tabindex() : -1"
1633
- (input)="onFilterChange($event)"
1634
- (keydown)="onFilterKeyDown($event)"
1635
- (blur)="onFilterBlur($event)"
1636
- [pt]="ptm('pcFilter')"
1637
- [unstyled]="unstyled()"
1638
- hostName="listbox"
1639
- />
1640
- <p-inputicon [pt]="ptm('pcFilterIconContainer')" [unstyled]="unstyled()">
1641
- <svg data-p-icon="search" *ngIf="!filterIconTemplate() && !_filterIconTemplate()" [attr.aria-hidden]="true" [pBind]="ptm('filterIcon')" />
1642
- <span *ngIf="filterIconTemplate() || _filterIconTemplate()" [attr.aria-hidden]="true">
1643
- <ng-template *ngTemplateOutlet="filterIconTemplate() || _filterIconTemplate()"></ng-template>
1644
- </span>
1645
- </p-inputicon>
1646
- </p-iconfield>
1610
+ @if (headerFacet() || headerTemplate() || _headerTemplate()) {
1611
+ <div [class]="cx('header')" [pBind]="ptm('header')">
1612
+ <ng-content select="p-header"></ng-content>
1613
+ <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate(); context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1614
+ </div>
1615
+ }
1616
+ @if ((checkbox() && multiple() && showToggleAll()) || filter()) {
1617
+ <div [class]="cx('header')" [pBind]="ptm('header')">
1618
+ @if (checkbox() && multiple() && showToggleAll()) {
1619
+ <p-checkbox
1620
+ #headerchkbox
1621
+ (onChange)="onToggleAll($event)"
1622
+ [class]="cx('optionCheckIcon')"
1623
+ [ngModel]="allSelected()"
1624
+ [ngModelOptions]="{ standalone: true }"
1625
+ [disabled]="$disabled()"
1626
+ [tabindex]="-1"
1627
+ [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1628
+ [binary]="true"
1629
+ [attr.aria-label]="toggleAllAriaLabel()"
1630
+ [pt]="ptm('pcCheckbox')"
1631
+ [unstyled]="unstyled()"
1632
+ >
1633
+ @if (checkIconTemplate() || _checkIconTemplate()) {
1634
+ <ng-template #icon>
1635
+ <ng-template *ngTemplateOutlet="checkIconTemplate() || _checkIconTemplate(); context: { $implicit: allSelected() }"></ng-template>
1636
+ </ng-template>
1637
+ }
1638
+ </p-checkbox>
1647
1639
  }
1648
- <span role="status" [pBind]="ptm('hiddenFilterResult')" [attr.aria-live]="'polite'" class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
1649
- {{ filterResultMessageText() }}
1650
- </span>
1651
- </ng-template>
1652
- </div>
1640
+ @if (filterTemplate() || _filterTemplate()) {
1641
+ <ng-container *ngTemplateOutlet="filterTemplate() || _filterTemplate(); context: { options: filterOptions() }"></ng-container>
1642
+ } @else {
1643
+ @if (filter()) {
1644
+ <p-iconfield [pt]="ptm('pcFilterContainer')" hostName="listbox" [unstyled]="unstyled()">
1645
+ <input
1646
+ #filterInput
1647
+ pInputText
1648
+ type="text"
1649
+ [class]="cx('pcFilter')"
1650
+ role="searchbox"
1651
+ [value]="_filterValue() || ''"
1652
+ [attr.disabled]="$disabled() ? '' : undefined"
1653
+ [attr.aria-owns]="_id() + '_list'"
1654
+ [attr.aria-activedescendant]="focusedOptionId()"
1655
+ [attr.placeholder]="filterPlaceHolder()"
1656
+ [attr.aria-label]="ariaFilterLabel()"
1657
+ [attr.tabindex]="!$disabled() && !focused() ? tabindex() : -1"
1658
+ (input)="onFilterChange($event)"
1659
+ (keydown)="onFilterKeyDown($event)"
1660
+ (blur)="onFilterBlur($event)"
1661
+ [pt]="ptm('pcFilter')"
1662
+ [unstyled]="unstyled()"
1663
+ hostName="listbox"
1664
+ />
1665
+ <p-inputicon [pt]="ptm('pcFilterIconContainer')" [unstyled]="unstyled()">
1666
+ @if (!filterIconTemplate() && !_filterIconTemplate()) {
1667
+ <svg data-p-icon="search" [attr.aria-hidden]="true" [pBind]="ptm('filterIcon')" />
1668
+ }
1669
+ @if (filterIconTemplate() || _filterIconTemplate()) {
1670
+ <span [attr.aria-hidden]="true">
1671
+ <ng-template *ngTemplateOutlet="filterIconTemplate() || _filterIconTemplate()"></ng-template>
1672
+ </span>
1673
+ }
1674
+ </p-inputicon>
1675
+ </p-iconfield>
1676
+ }
1677
+ <span role="status" [pBind]="ptm('hiddenFilterResult')" [attr.aria-live]="'polite'" class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
1678
+ {{ filterResultMessageText() }}
1679
+ </span>
1680
+ }
1681
+ </div>
1682
+ }
1653
1683
  <div
1654
1684
  #container
1655
1685
  [class]="cn(cx('listContainer'), listStyleClass())"
@@ -1679,32 +1709,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1679
1709
  }
1680
1710
  </div>
1681
1711
  } @else {
1682
- <p-scroller
1683
- [pt]="ptm('virtualScroller')"
1684
- hostName="listbox"
1685
- #scroller
1686
- *ngIf="virtualScroll()"
1687
- [items]="visibleOptions()"
1688
- [style]="{ height: scrollHeight() }"
1689
- [itemSize]="virtualScrollItemSize()"
1690
- [autoSize]="true"
1691
- [lazy]="lazy()"
1692
- [options]="virtualScrollOptions()"
1693
- (onLazyLoad)="onLazyLoad.emit($event)"
1694
- [tabindex]="scrollerTabIndex()"
1695
- >
1696
- <ng-template #content let-items let-scrollerOptions="options">
1697
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1698
- </ng-template>
1699
- @if (loaderTemplate() || _loaderTemplate()) {
1700
- <ng-template #loader let-scrollerOptions="options">
1701
- <ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
1712
+ @if (virtualScroll()) {
1713
+ <p-scroller
1714
+ [pt]="ptm('virtualScroller')"
1715
+ hostName="listbox"
1716
+ #scroller
1717
+ [items]="visibleOptions()"
1718
+ [style]="{ height: scrollHeight() }"
1719
+ [itemSize]="virtualScrollItemSize()"
1720
+ [autoSize]="true"
1721
+ [lazy]="lazy()"
1722
+ [options]="virtualScrollOptions()"
1723
+ (onLazyLoad)="onLazyLoad.emit($event)"
1724
+ [tabindex]="scrollerTabIndex()"
1725
+ >
1726
+ <ng-template #content let-items let-scrollerOptions="options">
1727
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1702
1728
  </ng-template>
1703
- }
1704
- </p-scroller>
1705
- <ng-container *ngIf="!virtualScroll()">
1729
+ @if (loaderTemplate() || _loaderTemplate()) {
1730
+ <ng-template #loader let-scrollerOptions="options">
1731
+ <ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
1732
+ </ng-template>
1733
+ }
1734
+ </p-scroller>
1735
+ }
1736
+ @if (!virtualScroll()) {
1706
1737
  <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
1707
- </ng-container>
1738
+ }
1708
1739
 
1709
1740
  <ng-template #buildInItems let-items let-scrollerOptions="options">
1710
1741
  <ul
@@ -1724,8 +1755,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1724
1755
  (keydown)="onListKeyDown($event)"
1725
1756
  [pBind]="ptm('list')"
1726
1757
  >
1727
- <ng-template ngFor let-option [ngForOf]="items" let-i="index">
1728
- <ng-container *ngIf="isOptionGroup(option)">
1758
+ @for (option of items; track $index; let i = $index) {
1759
+ @if (isOptionGroup(option)) {
1729
1760
  <li
1730
1761
  [attr.id]="_id() + '_' + getOptionIndex(i, scrollerOptions)"
1731
1762
  [class]="cx('optionGroup')"
@@ -1738,11 +1769,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1738
1769
  (cdkDragStarted)="isDragging.set(true)"
1739
1770
  (cdkDragEnded)="isDragging.set(false)"
1740
1771
  >
1741
- <span *ngIf="!groupTemplate() && !_groupTemplate()">{{ getOptionGroupLabel(option.optionGroup) }}</span>
1772
+ @if (!groupTemplate() && !_groupTemplate()) {
1773
+ <span>{{ getOptionGroupLabel(option.optionGroup) }}</span>
1774
+ }
1742
1775
  <ng-container *ngTemplateOutlet="groupTemplate() || _groupTemplate(); context: { $implicit: option.optionGroup }"></ng-container>
1743
1776
  </li>
1744
- </ng-container>
1745
- <ng-container *ngIf="!isOptionGroup(option)">
1777
+ }
1778
+ @if (!isOptionGroup(option)) {
1746
1779
  <li
1747
1780
  pRipple
1748
1781
  [class]="cx('option', { option, i, scrollerOptions })"
@@ -1769,34 +1802,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1769
1802
  (cdkDragStarted)="isDragging.set(true)"
1770
1803
  (cdkDragEnded)="isDragging.set(false)"
1771
1804
  >
1772
- <p-checkbox
1773
- *ngIf="checkbox() && multiple()"
1774
- [class]="cx('optionCheckIcon')"
1775
- [ngModel]="isSelected(option)"
1776
- [ngModelOptions]="{ standalone: true }"
1777
- [readonly]="true"
1778
- [disabled]="$disabled() || isOptionDisabled(option)"
1779
- [tabindex]="-1"
1780
- [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1781
- [binary]="true"
1782
- [pt]="ptm('pcCheckbox')"
1783
- hostName="listbox"
1784
- [unstyled]="unstyled()"
1785
- >
1786
- <ng-container *ngIf="checkIconTemplate() || _checkIconTemplate()">
1787
- <ng-template #icon>
1788
- <ng-template *ngTemplateOutlet="checkIconTemplate() || _checkIconTemplate(); context: { $implicit: isSelected(option) }"></ng-template>
1789
- </ng-template>
1790
- </ng-container>
1791
- </p-checkbox>
1792
- <ng-container *ngIf="checkmark()">
1793
- <ng-container *ngIf="!checkmarkTemplate() && !_checkmarkTemplate()">
1794
- <svg data-p-icon="blank" *ngIf="!isSelected(option)" [class]="cx('optionBlankIcon')" [pBind]="ptm('optionBlankIcon')" />
1795
- <svg data-p-icon="check" *ngIf="isSelected(option)" [class]="cx('optionCheckIcon')" [pBind]="ptm('optionCheckIcon')" />
1796
- </ng-container>
1805
+ @if (checkbox() && multiple()) {
1806
+ <p-checkbox
1807
+ [class]="cx('optionCheckIcon')"
1808
+ [ngModel]="isSelected(option)"
1809
+ [ngModelOptions]="{ standalone: true }"
1810
+ [readonly]="true"
1811
+ [disabled]="$disabled() || isOptionDisabled(option)"
1812
+ [tabindex]="-1"
1813
+ [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1814
+ [binary]="true"
1815
+ [pt]="ptm('pcCheckbox')"
1816
+ hostName="listbox"
1817
+ [unstyled]="unstyled()"
1818
+ >
1819
+ @if (checkIconTemplate() || _checkIconTemplate()) {
1820
+ <ng-template #icon>
1821
+ <ng-template *ngTemplateOutlet="checkIconTemplate() || _checkIconTemplate(); context: { $implicit: isSelected(option) }"></ng-template>
1822
+ </ng-template>
1823
+ }
1824
+ </p-checkbox>
1825
+ }
1826
+ @if (checkmark()) {
1827
+ @if (!checkmarkTemplate() && !_checkmarkTemplate()) {
1828
+ @if (!isSelected(option)) {
1829
+ <svg data-p-icon="blank" [class]="cx('optionBlankIcon')" [pBind]="ptm('optionBlankIcon')" />
1830
+ }
1831
+ @if (isSelected(option)) {
1832
+ <svg data-p-icon="check" [class]="cx('optionCheckIcon')" [pBind]="ptm('optionCheckIcon')" />
1833
+ }
1834
+ }
1797
1835
  <ng-container *ngTemplateOutlet="checkmarkTemplate() || _checkmarkTemplate(); context: { implicit: isSelected(option) }"></ng-container>
1798
- </ng-container>
1799
- <span *ngIf="!itemTemplate() && !_itemTemplate()">{{ getOptionLabel(option) }}</span>
1836
+ }
1837
+ @if (!itemTemplate() && !_itemTemplate()) {
1838
+ <span>{{ getOptionLabel(option) }}</span>
1839
+ }
1800
1840
  <ng-container
1801
1841
  *ngTemplateOutlet="
1802
1842
  itemTemplate() || _itemTemplate();
@@ -1809,19 +1849,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1809
1849
  "
1810
1850
  ></ng-container>
1811
1851
  </li>
1812
- </ng-container>
1813
- </ng-template>
1852
+ }
1853
+ }
1814
1854
  </ul>
1815
1855
  </ng-template>
1816
1856
  }
1817
1857
  </div>
1818
- <div *ngIf="footerFacet() || footerTemplate() || _footerTemplate()">
1819
- <ng-content select="p-footer"></ng-content>
1820
- <ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate(); context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1821
- </div>
1822
- <span *ngIf="isEmpty()" role="status" aria-live="polite" class="p-hidden-accessible" [pBind]="ptm('hiddenEmptyMessage')">
1823
- {{ emptyMessage() }}
1824
- </span>
1858
+ @if (footerFacet() || footerTemplate() || _footerTemplate()) {
1859
+ <div>
1860
+ <ng-content select="p-footer"></ng-content>
1861
+ <ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate(); context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1862
+ </div>
1863
+ }
1864
+ @if (isEmpty()) {
1865
+ <span role="status" aria-live="polite" class="p-hidden-accessible" [pBind]="ptm('hiddenEmptyMessage')">
1866
+ {{ emptyMessage() }}
1867
+ </span>
1868
+ }
1825
1869
  <span role="status" aria-live="polite" class="p-hidden-accessible" [pBind]="ptm('hiddenSelectedMessage')">
1826
1870
  {{ selectedMessageText() }}
1827
1871
  </span>