@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
@@ -117,7 +117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
117
117
  *
118
118
  * AutoComplete is an input component that provides real-time suggestions while being typed.
119
119
  *
120
- * [Live Demo](https://exhaustive-ui.e-xiste.com/autocomplete/)
120
+ * [Live Demo](https://exhaustive-ui.com/autocomplete/)
121
121
  *
122
122
  * @module autocompletestyle
123
123
  *
@@ -1560,159 +1560,180 @@ class AutoComplete extends BaseInput {
1560
1560
  clearTimeout(this.hideTimeout());
1561
1561
  }
1562
1562
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: AutoComplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
1563
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.1", type: AutoComplete, isStandalone: true, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: { minQueryLength: { classPropertyName: "minQueryLength", publicName: "minQueryLength", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: true, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, inputStyleClass: { classPropertyName: "inputStyleClass", publicName: "inputStyleClass", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: true, isRequired: false, transformFunction: null }, autoHighlight: { classPropertyName: "autoHighlight", publicName: "autoHighlight", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, dropdownAriaLabel: { classPropertyName: "dropdownAriaLabel", publicName: "dropdownAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: true, isRequired: false, transformFunction: null }, unique: { classPropertyName: "unique", publicName: "unique", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, completeOnFocus: { classPropertyName: "completeOnFocus", publicName: "completeOnFocus", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, dropdown: { classPropertyName: "dropdown", publicName: "dropdown", isSignal: true, isRequired: false, transformFunction: null }, showEmptyMessage: { classPropertyName: "showEmptyMessage", publicName: "showEmptyMessage", isSignal: true, isRequired: false, transformFunction: null }, dropdownMode: { classPropertyName: "dropdownMode", publicName: "dropdownMode", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, addOnTab: { classPropertyName: "addOnTab", publicName: "addOnTab", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: true, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: true, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, searchMessage: { classPropertyName: "searchMessage", publicName: "searchMessage", isSignal: true, isRequired: false, transformFunction: null }, emptySelectionMessage: { classPropertyName: "emptySelectionMessage", publicName: "emptySelectionMessage", isSignal: true, isRequired: false, transformFunction: null }, selectionMessage: { classPropertyName: "selectionMessage", publicName: "selectionMessage", isSignal: true, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, searchLocale: { classPropertyName: "searchLocale", publicName: "searchLocale", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: true, isRequired: false, transformFunction: null }, typeahead: { classPropertyName: "typeahead", publicName: "typeahead", isSignal: true, isRequired: false, transformFunction: null }, addOnBlur: { classPropertyName: "addOnBlur", publicName: "addOnBlur", isSignal: true, isRequired: false, transformFunction: null }, separator: { classPropertyName: "separator", publicName: "separator", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onAdd: "onAdd", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick", onClear: "onClear", onInputKeydown: "onInputKeydown", onKeyUp: "onKeyUp", onShow: "onShow", onHide: "onHide", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onHostClick($event)" }, properties: { "class": "cx('root')", "style": "sx('root')", "attr.data-p": "containerDataP()" } }, providers: [AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle, { provide: AUTOCOMPLETE_INSTANCE, useExisting: AutoComplete }, { provide: PARENT_INSTANCE, useExisting: AutoComplete }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true, isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true, isSignal: true }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selecteditem"], descendants: true, isSignal: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true, isSignal: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], descendants: true, isSignal: true }, { propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], descendants: true, isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true, isSignal: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], descendants: true, isSignal: true }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"], descendants: true, isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "inputEL", first: true, predicate: ["focusInput"], descendants: true, isSignal: true }, { propertyName: "multiInputEl", first: true, predicate: ["multiIn"], descendants: true, isSignal: true }, { propertyName: "multiContainerEL", first: true, predicate: ["multiContainer"], descendants: true, isSignal: true }, { propertyName: "dropdownButton", first: true, predicate: ["ddBtn"], descendants: true, isSignal: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true, isSignal: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1564
- <input
1565
- *ngIf="!multiple()"
1566
- #focusInput
1567
- [pAutoFocus]="autofocus()"
1568
- pInputText
1569
- [pt]="ptm('pcInputText')"
1570
- [class]="cn(cx('pcInputText'), inputStyleClass())"
1571
- [ngStyle]="inputStyle()"
1572
- [attr.type]="type()"
1573
- [attr.value]="inputValue()"
1574
- [variant]="$variant()"
1575
- [invalid]="invalid()"
1576
- [attr.id]="inputId()"
1577
- [attr.autocomplete]="autocomplete()"
1578
- aria-autocomplete="list"
1579
- role="combobox"
1580
- [attr.placeholder]="placeholder()"
1581
- [attr.name]="name()"
1582
- [attr.minlength]="minlength()"
1583
- [pSize]="size()"
1584
- [attr.min]="min()"
1585
- [attr.max]="max()"
1586
- [attr.pattern]="pattern()"
1587
- [attr.size]="inputSize()"
1588
- [attr.maxlength]="maxlength()"
1589
- [attr.tabindex]="!$disabled() ? tabindex() : -1"
1590
- [attr.required]="required() ? '' : undefined"
1591
- [attr.readonly]="readonly() ? '' : undefined"
1592
- [attr.disabled]="$disabled() ? '' : undefined"
1593
- [attr.aria-label]="ariaLabel()"
1594
- [attr.aria-labelledby]="ariaLabelledBy()"
1595
- [attr.aria-required]="required()"
1596
- [attr.aria-expanded]="overlayVisible() ?? false"
1597
- [attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
1598
- [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
1599
- (input)="onInput($event)"
1600
- (keydown)="onKeyDown($event)"
1601
- (change)="onInputChange($event)"
1602
- (focus)="onInputFocus($event)"
1603
- (blur)="onInputBlur($event)"
1604
- (paste)="onInputPaste($event)"
1605
- (keyup)="onInputKeyUp($event)"
1606
- [fluid]="hasFluid"
1607
- [pInputTextUnstyled]="unstyled()"
1608
- />
1609
- <ng-container *ngIf="$filled() && !$disabled() && showClear() && !loading()">
1610
- <svg data-p-icon="times" *ngIf="!clearIconTemplate() && !_clearIconTemplate()" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
1611
- <span *ngIf="clearIconTemplate() || _clearIconTemplate()" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
1612
- <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
1613
- </span>
1614
- </ng-container>
1563
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: AutoComplete, isStandalone: true, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: { minQueryLength: { classPropertyName: "minQueryLength", publicName: "minQueryLength", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: true, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, inputStyleClass: { classPropertyName: "inputStyleClass", publicName: "inputStyleClass", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: true, isRequired: false, transformFunction: null }, autoHighlight: { classPropertyName: "autoHighlight", publicName: "autoHighlight", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, dropdownAriaLabel: { classPropertyName: "dropdownAriaLabel", publicName: "dropdownAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: true, isRequired: false, transformFunction: null }, unique: { classPropertyName: "unique", publicName: "unique", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, completeOnFocus: { classPropertyName: "completeOnFocus", publicName: "completeOnFocus", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, dropdown: { classPropertyName: "dropdown", publicName: "dropdown", isSignal: true, isRequired: false, transformFunction: null }, showEmptyMessage: { classPropertyName: "showEmptyMessage", publicName: "showEmptyMessage", isSignal: true, isRequired: false, transformFunction: null }, dropdownMode: { classPropertyName: "dropdownMode", publicName: "dropdownMode", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, addOnTab: { classPropertyName: "addOnTab", publicName: "addOnTab", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: true, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: true, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, searchMessage: { classPropertyName: "searchMessage", publicName: "searchMessage", isSignal: true, isRequired: false, transformFunction: null }, emptySelectionMessage: { classPropertyName: "emptySelectionMessage", publicName: "emptySelectionMessage", isSignal: true, isRequired: false, transformFunction: null }, selectionMessage: { classPropertyName: "selectionMessage", publicName: "selectionMessage", isSignal: true, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, searchLocale: { classPropertyName: "searchLocale", publicName: "searchLocale", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: true, isRequired: false, transformFunction: null }, typeahead: { classPropertyName: "typeahead", publicName: "typeahead", isSignal: true, isRequired: false, transformFunction: null }, addOnBlur: { classPropertyName: "addOnBlur", publicName: "addOnBlur", isSignal: true, isRequired: false, transformFunction: null }, separator: { classPropertyName: "separator", publicName: "separator", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onAdd: "onAdd", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick", onClear: "onClear", onInputKeydown: "onInputKeydown", onKeyUp: "onKeyUp", onShow: "onShow", onHide: "onHide", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onHostClick($event)" }, properties: { "class": "cx('root')", "style": "sx('root')", "attr.data-p": "containerDataP()" } }, providers: [AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle, { provide: AUTOCOMPLETE_INSTANCE, useExisting: AutoComplete }, { provide: PARENT_INSTANCE, useExisting: AutoComplete }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true, isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true, isSignal: true }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selecteditem"], descendants: true, isSignal: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true, isSignal: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], descendants: true, isSignal: true }, { propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], descendants: true, isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true, isSignal: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], descendants: true, isSignal: true }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"], descendants: true, isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "inputEL", first: true, predicate: ["focusInput"], descendants: true, isSignal: true }, { propertyName: "multiInputEl", first: true, predicate: ["multiIn"], descendants: true, isSignal: true }, { propertyName: "multiContainerEL", first: true, predicate: ["multiContainer"], descendants: true, isSignal: true }, { propertyName: "dropdownButton", first: true, predicate: ["ddBtn"], descendants: true, isSignal: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true, isSignal: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1564
+ @if (!multiple()) {
1565
+ <input
1566
+ #focusInput
1567
+ [pAutoFocus]="autofocus()"
1568
+ pInputText
1569
+ [pt]="ptm('pcInputText')"
1570
+ [class]="cn(cx('pcInputText'), inputStyleClass())"
1571
+ [ngStyle]="inputStyle()"
1572
+ [attr.type]="type()"
1573
+ [attr.value]="inputValue()"
1574
+ [variant]="$variant()"
1575
+ [invalid]="invalid()"
1576
+ [attr.id]="inputId()"
1577
+ [attr.autocomplete]="autocomplete()"
1578
+ aria-autocomplete="list"
1579
+ role="combobox"
1580
+ [attr.placeholder]="placeholder()"
1581
+ [attr.name]="name()"
1582
+ [attr.minlength]="minlength()"
1583
+ [pSize]="size()"
1584
+ [attr.min]="min()"
1585
+ [attr.max]="max()"
1586
+ [attr.pattern]="pattern()"
1587
+ [attr.size]="inputSize()"
1588
+ [attr.maxlength]="maxlength()"
1589
+ [attr.tabindex]="!$disabled() ? tabindex() : -1"
1590
+ [attr.required]="required() ? '' : undefined"
1591
+ [attr.readonly]="readonly() ? '' : undefined"
1592
+ [attr.disabled]="$disabled() ? '' : undefined"
1593
+ [attr.aria-label]="ariaLabel()"
1594
+ [attr.aria-labelledby]="ariaLabelledBy()"
1595
+ [attr.aria-required]="required()"
1596
+ [attr.aria-expanded]="overlayVisible() ?? false"
1597
+ [attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
1598
+ [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
1599
+ (input)="onInput($event)"
1600
+ (keydown)="onKeyDown($event)"
1601
+ (change)="onInputChange($event)"
1602
+ (focus)="onInputFocus($event)"
1603
+ (blur)="onInputBlur($event)"
1604
+ (paste)="onInputPaste($event)"
1605
+ (keyup)="onInputKeyUp($event)"
1606
+ [fluid]="hasFluid"
1607
+ [pInputTextUnstyled]="unstyled()"
1608
+ />
1609
+ }
1610
+ @if ($filled() && !$disabled() && showClear() && !loading()) {
1611
+ @if (!clearIconTemplate() && !_clearIconTemplate()) {
1612
+ <svg data-p-icon="times" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
1613
+ }
1614
+ @if (clearIconTemplate() || _clearIconTemplate()) {
1615
+ <span [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
1616
+ <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
1617
+ </span>
1618
+ }
1619
+ }
1615
1620
 
1616
- <ul
1617
- *ngIf="multiple()"
1618
- #multiContainer
1619
- [pBind]="ptm('inputMultiple')"
1620
- [class]="cx('inputMultiple')"
1621
- [attr.data-p]="inputMultipleDataP()"
1622
- [tabindex]="-1"
1623
- role="listbox"
1624
- [attr.aria-orientation]="'horizontal'"
1625
- [attr.aria-activedescendant]="focused() ? focusedMultipleOptionId() : undefined"
1626
- (focus)="onMultipleContainerFocus($event)"
1627
- (blur)="onMultipleContainerBlur($event)"
1628
- (keydown)="onMultipleContainerKeyDown($event)"
1629
- >
1630
- <li
1631
- #token
1632
- *ngFor="let option of modelValue(); let i = index"
1633
- [pBind]="ptm('chipItem')"
1634
- [class]="cx('chipItem', { i })"
1635
- [attr.id]="_id() + '_multiple_option_' + i"
1636
- role="option"
1637
- [attr.aria-label]="getOptionLabel(option)"
1638
- [attr.aria-setsize]="modelValue().length"
1639
- [attr.aria-posinset]="i + 1"
1640
- [attr.aria-selected]="true"
1621
+ @if (multiple()) {
1622
+ <ul
1623
+ #multiContainer
1624
+ [pBind]="ptm('inputMultiple')"
1625
+ [class]="cx('inputMultiple')"
1626
+ [attr.data-p]="inputMultipleDataP()"
1627
+ [tabindex]="-1"
1628
+ role="listbox"
1629
+ [attr.aria-orientation]="'horizontal'"
1630
+ [attr.aria-activedescendant]="focused() ? focusedMultipleOptionId() : undefined"
1631
+ (focus)="onMultipleContainerFocus($event)"
1632
+ (blur)="onMultipleContainerBlur($event)"
1633
+ (keydown)="onMultipleContainerKeyDown($event)"
1641
1634
  >
1642
- <p-chip
1643
- [pt]="ptm('pcChip')"
1644
- [class]="cx('pcChip')"
1645
- [label]="!selectedItemTemplate() && !_selectedItemTemplate() && getOptionLabel(option)"
1646
- [disabled]="$disabled()"
1647
- [removable]="true"
1648
- (onRemove)="!readonly() ? removeOption($event, i) : ''"
1649
- [unstyled]="unstyled()"
1650
- >
1651
- <ng-container *ngTemplateOutlet="selectedItemTemplate() || _selectedItemTemplate(); context: { $implicit: option }"></ng-container>
1652
- <ng-template #removeicon>
1653
- <span *ngIf="!removeIconTemplate() && !_removeIconTemplate()" [pBind]="ptm('chipIcon')" [class]="cx('chipIcon')" (click)="!readonly() && !$disabled() ? removeOption($event, i) : ''">
1654
- <svg data-p-icon="times-circle" [class]="cx('chipIcon')" [attr.aria-hidden]="true" />
1655
- </span>
1656
- <span *ngIf="removeIconTemplate() || _removeIconTemplate()" [pBind]="ptm('chipIcon')" [attr.aria-hidden]="true">
1657
- <ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate(); context: { removeCallback: removeOption.bind(this), index: i, class: cx('chipIcon') }"></ng-template>
1658
- </span>
1659
- </ng-template>
1660
- </p-chip>
1661
- </li>
1662
- <li [pBind]="ptm('inputChip')" [class]="cx('inputChip')" role="option">
1663
- <input
1664
- #focusInput
1665
- #multiIn
1666
- [pAutoFocus]="autofocus()"
1667
- [pBind]="ptm('input')"
1668
- [class]="cx('pcInputText')"
1669
- [ngStyle]="inputStyle()"
1670
- [attr.type]="type()"
1671
- [attr.id]="inputId()"
1672
- [attr.autocomplete]="autocomplete()"
1673
- [attr.name]="name()"
1674
- [attr.minlength]="minlength()"
1675
- [attr.maxlength]="maxlength()"
1676
- [attr.size]="size()"
1677
- [attr.min]="min()"
1678
- [attr.max]="max()"
1679
- [attr.pattern]="pattern()"
1680
- role="combobox"
1681
- [attr.placeholder]="!$filled() ? placeholder() : null"
1682
- aria-autocomplete="list"
1683
- [attr.tabindex]="!$disabled() ? tabindex() : -1"
1684
- [attr.required]="required() ? '' : undefined"
1685
- [attr.readonly]="readonly() ? '' : undefined"
1686
- [attr.disabled]="$disabled() ? '' : undefined"
1687
- [attr.aria-label]="ariaLabel()"
1688
- [attr.aria-labelledby]="ariaLabelledBy()"
1689
- [attr.aria-required]="required()"
1690
- [attr.aria-expanded]="overlayVisible() ?? false"
1691
- [attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
1692
- [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
1693
- (input)="onInput($event)"
1694
- (keydown)="onKeyDown($event)"
1695
- (change)="onInputChange($event)"
1696
- (focus)="onInputFocus($event)"
1697
- (blur)="onInputBlur($event)"
1698
- (paste)="onInputPaste($event)"
1699
- (keyup)="onInputKeyUp($event)"
1700
- />
1701
- </li>
1702
- </ul>
1703
- <ng-container *ngIf="loading()">
1704
- <svg data-p-icon="spinner" *ngIf="!loadingIconTemplate() && !_loadingIconTemplate()" [pBind]="ptm('loader')" [class]="cx('loader')" [spin]="true" [attr.aria-hidden]="true" />
1705
- <span *ngIf="loadingIconTemplate() || _loadingIconTemplate()" [pBind]="ptm('loader')" [class]="cx('loader')" [attr.aria-hidden]="true">
1706
- <ng-template *ngTemplateOutlet="loadingIconTemplate() || _loadingIconTemplate()"></ng-template>
1707
- </span>
1708
- </ng-container>
1709
- <button #ddBtn type="button" [pBind]="ptm('dropdown')" [attr.aria-label]="dropdownAriaLabel()" [class]="cx('dropdown')" [disabled]="$disabled()" pRipple (click)="handleDropdownClick($event)" *ngIf="dropdown()" [attr.tabindex]="tabindex()">
1710
- <span *ngIf="dropdownIcon()" [ngClass]="dropdownIcon()" [attr.aria-hidden]="true"></span>
1711
- <ng-container *ngIf="!dropdownIcon()">
1712
- <svg data-p-icon="chevron-down" [pBind]="ptm('dropdown')" *ngIf="!dropdownIconTemplate() && !_dropdownIconTemplate()" />
1713
- <ng-template *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-template>
1714
- </ng-container>
1715
- </button>
1635
+ @for (option of modelValue(); track $index; let i = $index) {
1636
+ <li
1637
+ #token
1638
+ [pBind]="ptm('chipItem')"
1639
+ [class]="cx('chipItem', { i })"
1640
+ [attr.id]="_id() + '_multiple_option_' + i"
1641
+ role="option"
1642
+ [attr.aria-label]="getOptionLabel(option)"
1643
+ [attr.aria-setsize]="modelValue().length"
1644
+ [attr.aria-posinset]="i + 1"
1645
+ [attr.aria-selected]="true"
1646
+ >
1647
+ <p-chip
1648
+ [pt]="ptm('pcChip')"
1649
+ [class]="cx('pcChip')"
1650
+ [label]="!selectedItemTemplate() && !_selectedItemTemplate() && getOptionLabel(option)"
1651
+ [disabled]="$disabled()"
1652
+ [removable]="true"
1653
+ (onRemove)="!readonly() ? removeOption($event, i) : ''"
1654
+ [unstyled]="unstyled()"
1655
+ >
1656
+ <ng-container *ngTemplateOutlet="selectedItemTemplate() || _selectedItemTemplate(); context: { $implicit: option }"></ng-container>
1657
+ <ng-template #removeicon>
1658
+ @if (!removeIconTemplate() && !_removeIconTemplate()) {
1659
+ <span [pBind]="ptm('chipIcon')" [class]="cx('chipIcon')" (click)="!readonly() && !$disabled() ? removeOption($event, i) : ''">
1660
+ <svg data-p-icon="times-circle" [class]="cx('chipIcon')" [attr.aria-hidden]="true" />
1661
+ </span>
1662
+ }
1663
+ @if (removeIconTemplate() || _removeIconTemplate()) {
1664
+ <span [pBind]="ptm('chipIcon')" [attr.aria-hidden]="true">
1665
+ <ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate(); context: { removeCallback: removeOption.bind(this), index: i, class: cx('chipIcon') }"></ng-template>
1666
+ </span>
1667
+ }
1668
+ </ng-template>
1669
+ </p-chip>
1670
+ </li>
1671
+ }
1672
+ <li [pBind]="ptm('inputChip')" [class]="cx('inputChip')" role="option">
1673
+ <input
1674
+ #focusInput
1675
+ #multiIn
1676
+ [pAutoFocus]="autofocus()"
1677
+ [pBind]="ptm('input')"
1678
+ [class]="cx('pcInputText')"
1679
+ [ngStyle]="inputStyle()"
1680
+ [attr.type]="type()"
1681
+ [attr.id]="inputId()"
1682
+ [attr.autocomplete]="autocomplete()"
1683
+ [attr.name]="name()"
1684
+ [attr.minlength]="minlength()"
1685
+ [attr.maxlength]="maxlength()"
1686
+ [attr.size]="size()"
1687
+ [attr.min]="min()"
1688
+ [attr.max]="max()"
1689
+ [attr.pattern]="pattern()"
1690
+ role="combobox"
1691
+ [attr.placeholder]="!$filled() ? placeholder() : null"
1692
+ aria-autocomplete="list"
1693
+ [attr.tabindex]="!$disabled() ? tabindex() : -1"
1694
+ [attr.required]="required() ? '' : undefined"
1695
+ [attr.readonly]="readonly() ? '' : undefined"
1696
+ [attr.disabled]="$disabled() ? '' : undefined"
1697
+ [attr.aria-label]="ariaLabel()"
1698
+ [attr.aria-labelledby]="ariaLabelledBy()"
1699
+ [attr.aria-required]="required()"
1700
+ [attr.aria-expanded]="overlayVisible() ?? false"
1701
+ [attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
1702
+ [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
1703
+ (input)="onInput($event)"
1704
+ (keydown)="onKeyDown($event)"
1705
+ (change)="onInputChange($event)"
1706
+ (focus)="onInputFocus($event)"
1707
+ (blur)="onInputBlur($event)"
1708
+ (paste)="onInputPaste($event)"
1709
+ (keyup)="onInputKeyUp($event)"
1710
+ />
1711
+ </li>
1712
+ </ul>
1713
+ }
1714
+ @if (loading()) {
1715
+ @if (!loadingIconTemplate() && !_loadingIconTemplate()) {
1716
+ <svg data-p-icon="spinner" [pBind]="ptm('loader')" [class]="cx('loader')" [spin]="true" [attr.aria-hidden]="true" />
1717
+ }
1718
+ @if (loadingIconTemplate() || _loadingIconTemplate()) {
1719
+ <span [pBind]="ptm('loader')" [class]="cx('loader')" [attr.aria-hidden]="true">
1720
+ <ng-template *ngTemplateOutlet="loadingIconTemplate() || _loadingIconTemplate()"></ng-template>
1721
+ </span>
1722
+ }
1723
+ }
1724
+ @if (dropdown()) {
1725
+ <button #ddBtn type="button" [pBind]="ptm('dropdown')" [attr.aria-label]="dropdownAriaLabel()" [class]="cx('dropdown')" [disabled]="$disabled()" pRipple (click)="handleDropdownClick($event)" [attr.tabindex]="tabindex()">
1726
+ @if (dropdownIcon()) {
1727
+ <span [ngClass]="dropdownIcon()" [attr.aria-hidden]="true"></span>
1728
+ }
1729
+ @if (!dropdownIcon()) {
1730
+ @if (!dropdownIconTemplate() && !_dropdownIconTemplate()) {
1731
+ <svg data-p-icon="chevron-down" [pBind]="ptm('dropdown')" />
1732
+ }
1733
+ <ng-template *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-template>
1734
+ }
1735
+ </button>
1736
+ }
1716
1737
  <p-overlay
1717
1738
  #overlay
1718
1739
  [hostAttrSelector]="$attrSelector"
@@ -1731,43 +1752,46 @@ class AutoComplete extends BaseInput {
1731
1752
  <div [pBind]="ptm('overlay')" [class]="cn(cx('overlay'), panelStyleClass())" [ngStyle]="panelStyle()">
1732
1753
  <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
1733
1754
  <div [pBind]="ptm('listContainer')" [class]="cx('listContainer')" [style.max-height]="virtualScroll() ? 'auto' : scrollHeight()" [tabindex]="-1">
1734
- <p-scroller
1735
- *ngIf="virtualScroll()"
1736
- #scroller
1737
- [tabindex]="-1"
1738
- [pt]="ptm('virtualScroller')"
1739
- [items]="visibleOptions()"
1740
- [style]="{ height: scrollHeight() }"
1741
- [itemSize]="virtualScrollItemSize()"
1742
- [autoSize]="true"
1743
- [lazy]="lazy()"
1744
- (onLazyLoad)="onLazyLoad.emit($event)"
1745
- [options]="virtualScrollOptions()"
1746
- >
1747
- <ng-template #content let-items let-scrollerOptions="options">
1748
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1749
- </ng-template>
1750
- <ng-container *ngIf="loaderTemplate() || _loaderTemplate()">
1751
- <ng-template #loader let-scrollerOptions="options">
1752
- <ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
1755
+ @if (virtualScroll()) {
1756
+ <p-scroller
1757
+ #scroller
1758
+ [tabindex]="-1"
1759
+ [pt]="ptm('virtualScroller')"
1760
+ [items]="visibleOptions()"
1761
+ [style]="{ height: scrollHeight() }"
1762
+ [itemSize]="virtualScrollItemSize()"
1763
+ [autoSize]="true"
1764
+ [lazy]="lazy()"
1765
+ (onLazyLoad)="onLazyLoad.emit($event)"
1766
+ [options]="virtualScrollOptions()"
1767
+ >
1768
+ <ng-template #content let-items let-scrollerOptions="options">
1769
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1753
1770
  </ng-template>
1754
- </ng-container>
1755
- </p-scroller>
1756
- <ng-container *ngIf="!virtualScroll()">
1771
+ @if (loaderTemplate() || _loaderTemplate()) {
1772
+ <ng-template #loader let-scrollerOptions="options">
1773
+ <ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
1774
+ </ng-template>
1775
+ }
1776
+ </p-scroller>
1777
+ }
1778
+ @if (!virtualScroll()) {
1757
1779
  <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
1758
- </ng-container>
1780
+ }
1759
1781
  </div>
1760
1782
 
1761
1783
  <ng-template #buildInItems let-items let-scrollerOptions="options">
1762
1784
  <ul #items [pBind]="ptm('list')" [class]="cn(cx('list'), scrollerOptions.contentStyleClass)" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="_id() + '_list'" [attr.aria-label]="listLabel()">
1763
- <ng-template ngFor let-option [ngForOf]="items" let-i="index">
1764
- <ng-container *ngIf="isOptionGroup(option)">
1785
+ @for (option of items; track $index; let i = $index) {
1786
+ @if (isOptionGroup(option)) {
1765
1787
  <li [pBind]="ptm('optionGroup')" [attr.id]="_id() + '_' + getOptionIndex(i, scrollerOptions)" [class]="cx('optionGroup')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
1766
- <span *ngIf="!groupTemplate() && !_groupTemplate()">{{ getOptionGroupLabel(option.optionGroup) }}</span>
1788
+ @if (!groupTemplate() && !_groupTemplate()) {
1789
+ <span>{{ getOptionGroupLabel(option.optionGroup) }}</span>
1790
+ }
1767
1791
  <ng-container *ngTemplateOutlet="groupTemplate() || _groupTemplate(); context: { $implicit: option.optionGroup }"></ng-container>
1768
1792
  </li>
1769
- </ng-container>
1770
- <ng-container *ngIf="!isOptionGroup(option)">
1793
+ }
1794
+ @if (!isOptionGroup(option)) {
1771
1795
  <li
1772
1796
  pRipple
1773
1797
  [pBind]="getPTOptions(option, scrollerOptions, i, 'option')"
@@ -1785,7 +1809,9 @@ class AutoComplete extends BaseInput {
1785
1809
  (click)="onOptionSelect($event, option)"
1786
1810
  (mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
1787
1811
  >
1788
- <span *ngIf="!itemTemplate() && !_itemTemplate()">{{ getOptionLabel(option) }}</span>
1812
+ @if (!itemTemplate() && !_itemTemplate()) {
1813
+ <span>{{ getOptionLabel(option) }}</span>
1814
+ }
1789
1815
  <ng-container
1790
1816
  *ngTemplateOutlet="
1791
1817
  itemTemplate() || _itemTemplate();
@@ -1796,14 +1822,16 @@ class AutoComplete extends BaseInput {
1796
1822
  "
1797
1823
  ></ng-container>
1798
1824
  </li>
1799
- </ng-container>
1800
- </ng-template>
1801
- <li *ngIf="!items || (items && items.length === 0 && showEmptyMessage())" [pBind]="ptm('emptyMessage')" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
1802
- <ng-container *ngIf="!emptyTemplate() && !_emptyTemplate(); else empty">
1803
- {{ searchResultMessageText() }}
1804
- </ng-container>
1805
- <ng-container #empty *ngTemplateOutlet="emptyTemplate() || _emptyTemplate()"></ng-container>
1806
- </li>
1825
+ }
1826
+ }
1827
+ @if (!items || (items && items.length === 0 && showEmptyMessage())) {
1828
+ <li [pBind]="ptm('emptyMessage')" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
1829
+ @if (!emptyTemplate() && !_emptyTemplate()) {
1830
+ {{ searchResultMessageText() }}
1831
+ }
1832
+ <ng-container #empty *ngTemplateOutlet="emptyTemplate() || _emptyTemplate()"></ng-container>
1833
+ </li>
1834
+ }
1807
1835
  </ul>
1808
1836
  </ng-template>
1809
1837
  <ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate()"></ng-container>
@@ -1813,7 +1841,7 @@ class AutoComplete extends BaseInput {
1813
1841
  </span>
1814
1842
  </ng-template>
1815
1843
  </p-overlay>
1816
- `, 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: "component", type: Overlay, selector: "p-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { 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: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: TimesCircleIcon, selector: "[data-p-icon=\"times-circle\"]" }, { kind: "component", type: SpinnerIcon, selector: "[data-p-icon=\"spinner\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "disabled", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "ngmodule", type: SharedModule }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1844
+ `, 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: "component", type: Overlay, selector: "p-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { 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: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: TimesCircleIcon, selector: "[data-p-icon=\"times-circle\"]" }, { kind: "component", type: SpinnerIcon, selector: "[data-p-icon=\"spinner\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "disabled", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "ngmodule", type: SharedModule }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1817
1845
  }
1818
1846
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: AutoComplete, decorators: [{
1819
1847
  type: Component,
@@ -1821,158 +1849,179 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1821
1849
  selector: 'p-autoComplete, p-autocomplete, p-auto-complete',
1822
1850
  imports: [CommonModule, Overlay, InputText, Ripple, Scroller, AutoFocus, TimesCircleIcon, SpinnerIcon, ChevronDownIcon, Chip, SharedModule, TimesIcon, BindModule],
1823
1851
  template: `
1824
- <input
1825
- *ngIf="!multiple()"
1826
- #focusInput
1827
- [pAutoFocus]="autofocus()"
1828
- pInputText
1829
- [pt]="ptm('pcInputText')"
1830
- [class]="cn(cx('pcInputText'), inputStyleClass())"
1831
- [ngStyle]="inputStyle()"
1832
- [attr.type]="type()"
1833
- [attr.value]="inputValue()"
1834
- [variant]="$variant()"
1835
- [invalid]="invalid()"
1836
- [attr.id]="inputId()"
1837
- [attr.autocomplete]="autocomplete()"
1838
- aria-autocomplete="list"
1839
- role="combobox"
1840
- [attr.placeholder]="placeholder()"
1841
- [attr.name]="name()"
1842
- [attr.minlength]="minlength()"
1843
- [pSize]="size()"
1844
- [attr.min]="min()"
1845
- [attr.max]="max()"
1846
- [attr.pattern]="pattern()"
1847
- [attr.size]="inputSize()"
1848
- [attr.maxlength]="maxlength()"
1849
- [attr.tabindex]="!$disabled() ? tabindex() : -1"
1850
- [attr.required]="required() ? '' : undefined"
1851
- [attr.readonly]="readonly() ? '' : undefined"
1852
- [attr.disabled]="$disabled() ? '' : undefined"
1853
- [attr.aria-label]="ariaLabel()"
1854
- [attr.aria-labelledby]="ariaLabelledBy()"
1855
- [attr.aria-required]="required()"
1856
- [attr.aria-expanded]="overlayVisible() ?? false"
1857
- [attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
1858
- [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
1859
- (input)="onInput($event)"
1860
- (keydown)="onKeyDown($event)"
1861
- (change)="onInputChange($event)"
1862
- (focus)="onInputFocus($event)"
1863
- (blur)="onInputBlur($event)"
1864
- (paste)="onInputPaste($event)"
1865
- (keyup)="onInputKeyUp($event)"
1866
- [fluid]="hasFluid"
1867
- [pInputTextUnstyled]="unstyled()"
1868
- />
1869
- <ng-container *ngIf="$filled() && !$disabled() && showClear() && !loading()">
1870
- <svg data-p-icon="times" *ngIf="!clearIconTemplate() && !_clearIconTemplate()" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
1871
- <span *ngIf="clearIconTemplate() || _clearIconTemplate()" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
1872
- <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
1873
- </span>
1874
- </ng-container>
1852
+ @if (!multiple()) {
1853
+ <input
1854
+ #focusInput
1855
+ [pAutoFocus]="autofocus()"
1856
+ pInputText
1857
+ [pt]="ptm('pcInputText')"
1858
+ [class]="cn(cx('pcInputText'), inputStyleClass())"
1859
+ [ngStyle]="inputStyle()"
1860
+ [attr.type]="type()"
1861
+ [attr.value]="inputValue()"
1862
+ [variant]="$variant()"
1863
+ [invalid]="invalid()"
1864
+ [attr.id]="inputId()"
1865
+ [attr.autocomplete]="autocomplete()"
1866
+ aria-autocomplete="list"
1867
+ role="combobox"
1868
+ [attr.placeholder]="placeholder()"
1869
+ [attr.name]="name()"
1870
+ [attr.minlength]="minlength()"
1871
+ [pSize]="size()"
1872
+ [attr.min]="min()"
1873
+ [attr.max]="max()"
1874
+ [attr.pattern]="pattern()"
1875
+ [attr.size]="inputSize()"
1876
+ [attr.maxlength]="maxlength()"
1877
+ [attr.tabindex]="!$disabled() ? tabindex() : -1"
1878
+ [attr.required]="required() ? '' : undefined"
1879
+ [attr.readonly]="readonly() ? '' : undefined"
1880
+ [attr.disabled]="$disabled() ? '' : undefined"
1881
+ [attr.aria-label]="ariaLabel()"
1882
+ [attr.aria-labelledby]="ariaLabelledBy()"
1883
+ [attr.aria-required]="required()"
1884
+ [attr.aria-expanded]="overlayVisible() ?? false"
1885
+ [attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
1886
+ [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
1887
+ (input)="onInput($event)"
1888
+ (keydown)="onKeyDown($event)"
1889
+ (change)="onInputChange($event)"
1890
+ (focus)="onInputFocus($event)"
1891
+ (blur)="onInputBlur($event)"
1892
+ (paste)="onInputPaste($event)"
1893
+ (keyup)="onInputKeyUp($event)"
1894
+ [fluid]="hasFluid"
1895
+ [pInputTextUnstyled]="unstyled()"
1896
+ />
1897
+ }
1898
+ @if ($filled() && !$disabled() && showClear() && !loading()) {
1899
+ @if (!clearIconTemplate() && !_clearIconTemplate()) {
1900
+ <svg data-p-icon="times" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
1901
+ }
1902
+ @if (clearIconTemplate() || _clearIconTemplate()) {
1903
+ <span [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
1904
+ <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
1905
+ </span>
1906
+ }
1907
+ }
1875
1908
 
1876
- <ul
1877
- *ngIf="multiple()"
1878
- #multiContainer
1879
- [pBind]="ptm('inputMultiple')"
1880
- [class]="cx('inputMultiple')"
1881
- [attr.data-p]="inputMultipleDataP()"
1882
- [tabindex]="-1"
1883
- role="listbox"
1884
- [attr.aria-orientation]="'horizontal'"
1885
- [attr.aria-activedescendant]="focused() ? focusedMultipleOptionId() : undefined"
1886
- (focus)="onMultipleContainerFocus($event)"
1887
- (blur)="onMultipleContainerBlur($event)"
1888
- (keydown)="onMultipleContainerKeyDown($event)"
1889
- >
1890
- <li
1891
- #token
1892
- *ngFor="let option of modelValue(); let i = index"
1893
- [pBind]="ptm('chipItem')"
1894
- [class]="cx('chipItem', { i })"
1895
- [attr.id]="_id() + '_multiple_option_' + i"
1896
- role="option"
1897
- [attr.aria-label]="getOptionLabel(option)"
1898
- [attr.aria-setsize]="modelValue().length"
1899
- [attr.aria-posinset]="i + 1"
1900
- [attr.aria-selected]="true"
1909
+ @if (multiple()) {
1910
+ <ul
1911
+ #multiContainer
1912
+ [pBind]="ptm('inputMultiple')"
1913
+ [class]="cx('inputMultiple')"
1914
+ [attr.data-p]="inputMultipleDataP()"
1915
+ [tabindex]="-1"
1916
+ role="listbox"
1917
+ [attr.aria-orientation]="'horizontal'"
1918
+ [attr.aria-activedescendant]="focused() ? focusedMultipleOptionId() : undefined"
1919
+ (focus)="onMultipleContainerFocus($event)"
1920
+ (blur)="onMultipleContainerBlur($event)"
1921
+ (keydown)="onMultipleContainerKeyDown($event)"
1901
1922
  >
1902
- <p-chip
1903
- [pt]="ptm('pcChip')"
1904
- [class]="cx('pcChip')"
1905
- [label]="!selectedItemTemplate() && !_selectedItemTemplate() && getOptionLabel(option)"
1906
- [disabled]="$disabled()"
1907
- [removable]="true"
1908
- (onRemove)="!readonly() ? removeOption($event, i) : ''"
1909
- [unstyled]="unstyled()"
1910
- >
1911
- <ng-container *ngTemplateOutlet="selectedItemTemplate() || _selectedItemTemplate(); context: { $implicit: option }"></ng-container>
1912
- <ng-template #removeicon>
1913
- <span *ngIf="!removeIconTemplate() && !_removeIconTemplate()" [pBind]="ptm('chipIcon')" [class]="cx('chipIcon')" (click)="!readonly() && !$disabled() ? removeOption($event, i) : ''">
1914
- <svg data-p-icon="times-circle" [class]="cx('chipIcon')" [attr.aria-hidden]="true" />
1915
- </span>
1916
- <span *ngIf="removeIconTemplate() || _removeIconTemplate()" [pBind]="ptm('chipIcon')" [attr.aria-hidden]="true">
1917
- <ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate(); context: { removeCallback: removeOption.bind(this), index: i, class: cx('chipIcon') }"></ng-template>
1918
- </span>
1919
- </ng-template>
1920
- </p-chip>
1921
- </li>
1922
- <li [pBind]="ptm('inputChip')" [class]="cx('inputChip')" role="option">
1923
- <input
1924
- #focusInput
1925
- #multiIn
1926
- [pAutoFocus]="autofocus()"
1927
- [pBind]="ptm('input')"
1928
- [class]="cx('pcInputText')"
1929
- [ngStyle]="inputStyle()"
1930
- [attr.type]="type()"
1931
- [attr.id]="inputId()"
1932
- [attr.autocomplete]="autocomplete()"
1933
- [attr.name]="name()"
1934
- [attr.minlength]="minlength()"
1935
- [attr.maxlength]="maxlength()"
1936
- [attr.size]="size()"
1937
- [attr.min]="min()"
1938
- [attr.max]="max()"
1939
- [attr.pattern]="pattern()"
1940
- role="combobox"
1941
- [attr.placeholder]="!$filled() ? placeholder() : null"
1942
- aria-autocomplete="list"
1943
- [attr.tabindex]="!$disabled() ? tabindex() : -1"
1944
- [attr.required]="required() ? '' : undefined"
1945
- [attr.readonly]="readonly() ? '' : undefined"
1946
- [attr.disabled]="$disabled() ? '' : undefined"
1947
- [attr.aria-label]="ariaLabel()"
1948
- [attr.aria-labelledby]="ariaLabelledBy()"
1949
- [attr.aria-required]="required()"
1950
- [attr.aria-expanded]="overlayVisible() ?? false"
1951
- [attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
1952
- [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
1953
- (input)="onInput($event)"
1954
- (keydown)="onKeyDown($event)"
1955
- (change)="onInputChange($event)"
1956
- (focus)="onInputFocus($event)"
1957
- (blur)="onInputBlur($event)"
1958
- (paste)="onInputPaste($event)"
1959
- (keyup)="onInputKeyUp($event)"
1960
- />
1961
- </li>
1962
- </ul>
1963
- <ng-container *ngIf="loading()">
1964
- <svg data-p-icon="spinner" *ngIf="!loadingIconTemplate() && !_loadingIconTemplate()" [pBind]="ptm('loader')" [class]="cx('loader')" [spin]="true" [attr.aria-hidden]="true" />
1965
- <span *ngIf="loadingIconTemplate() || _loadingIconTemplate()" [pBind]="ptm('loader')" [class]="cx('loader')" [attr.aria-hidden]="true">
1966
- <ng-template *ngTemplateOutlet="loadingIconTemplate() || _loadingIconTemplate()"></ng-template>
1967
- </span>
1968
- </ng-container>
1969
- <button #ddBtn type="button" [pBind]="ptm('dropdown')" [attr.aria-label]="dropdownAriaLabel()" [class]="cx('dropdown')" [disabled]="$disabled()" pRipple (click)="handleDropdownClick($event)" *ngIf="dropdown()" [attr.tabindex]="tabindex()">
1970
- <span *ngIf="dropdownIcon()" [ngClass]="dropdownIcon()" [attr.aria-hidden]="true"></span>
1971
- <ng-container *ngIf="!dropdownIcon()">
1972
- <svg data-p-icon="chevron-down" [pBind]="ptm('dropdown')" *ngIf="!dropdownIconTemplate() && !_dropdownIconTemplate()" />
1973
- <ng-template *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-template>
1974
- </ng-container>
1975
- </button>
1923
+ @for (option of modelValue(); track $index; let i = $index) {
1924
+ <li
1925
+ #token
1926
+ [pBind]="ptm('chipItem')"
1927
+ [class]="cx('chipItem', { i })"
1928
+ [attr.id]="_id() + '_multiple_option_' + i"
1929
+ role="option"
1930
+ [attr.aria-label]="getOptionLabel(option)"
1931
+ [attr.aria-setsize]="modelValue().length"
1932
+ [attr.aria-posinset]="i + 1"
1933
+ [attr.aria-selected]="true"
1934
+ >
1935
+ <p-chip
1936
+ [pt]="ptm('pcChip')"
1937
+ [class]="cx('pcChip')"
1938
+ [label]="!selectedItemTemplate() && !_selectedItemTemplate() && getOptionLabel(option)"
1939
+ [disabled]="$disabled()"
1940
+ [removable]="true"
1941
+ (onRemove)="!readonly() ? removeOption($event, i) : ''"
1942
+ [unstyled]="unstyled()"
1943
+ >
1944
+ <ng-container *ngTemplateOutlet="selectedItemTemplate() || _selectedItemTemplate(); context: { $implicit: option }"></ng-container>
1945
+ <ng-template #removeicon>
1946
+ @if (!removeIconTemplate() && !_removeIconTemplate()) {
1947
+ <span [pBind]="ptm('chipIcon')" [class]="cx('chipIcon')" (click)="!readonly() && !$disabled() ? removeOption($event, i) : ''">
1948
+ <svg data-p-icon="times-circle" [class]="cx('chipIcon')" [attr.aria-hidden]="true" />
1949
+ </span>
1950
+ }
1951
+ @if (removeIconTemplate() || _removeIconTemplate()) {
1952
+ <span [pBind]="ptm('chipIcon')" [attr.aria-hidden]="true">
1953
+ <ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate(); context: { removeCallback: removeOption.bind(this), index: i, class: cx('chipIcon') }"></ng-template>
1954
+ </span>
1955
+ }
1956
+ </ng-template>
1957
+ </p-chip>
1958
+ </li>
1959
+ }
1960
+ <li [pBind]="ptm('inputChip')" [class]="cx('inputChip')" role="option">
1961
+ <input
1962
+ #focusInput
1963
+ #multiIn
1964
+ [pAutoFocus]="autofocus()"
1965
+ [pBind]="ptm('input')"
1966
+ [class]="cx('pcInputText')"
1967
+ [ngStyle]="inputStyle()"
1968
+ [attr.type]="type()"
1969
+ [attr.id]="inputId()"
1970
+ [attr.autocomplete]="autocomplete()"
1971
+ [attr.name]="name()"
1972
+ [attr.minlength]="minlength()"
1973
+ [attr.maxlength]="maxlength()"
1974
+ [attr.size]="size()"
1975
+ [attr.min]="min()"
1976
+ [attr.max]="max()"
1977
+ [attr.pattern]="pattern()"
1978
+ role="combobox"
1979
+ [attr.placeholder]="!$filled() ? placeholder() : null"
1980
+ aria-autocomplete="list"
1981
+ [attr.tabindex]="!$disabled() ? tabindex() : -1"
1982
+ [attr.required]="required() ? '' : undefined"
1983
+ [attr.readonly]="readonly() ? '' : undefined"
1984
+ [attr.disabled]="$disabled() ? '' : undefined"
1985
+ [attr.aria-label]="ariaLabel()"
1986
+ [attr.aria-labelledby]="ariaLabelledBy()"
1987
+ [attr.aria-required]="required()"
1988
+ [attr.aria-expanded]="overlayVisible() ?? false"
1989
+ [attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
1990
+ [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
1991
+ (input)="onInput($event)"
1992
+ (keydown)="onKeyDown($event)"
1993
+ (change)="onInputChange($event)"
1994
+ (focus)="onInputFocus($event)"
1995
+ (blur)="onInputBlur($event)"
1996
+ (paste)="onInputPaste($event)"
1997
+ (keyup)="onInputKeyUp($event)"
1998
+ />
1999
+ </li>
2000
+ </ul>
2001
+ }
2002
+ @if (loading()) {
2003
+ @if (!loadingIconTemplate() && !_loadingIconTemplate()) {
2004
+ <svg data-p-icon="spinner" [pBind]="ptm('loader')" [class]="cx('loader')" [spin]="true" [attr.aria-hidden]="true" />
2005
+ }
2006
+ @if (loadingIconTemplate() || _loadingIconTemplate()) {
2007
+ <span [pBind]="ptm('loader')" [class]="cx('loader')" [attr.aria-hidden]="true">
2008
+ <ng-template *ngTemplateOutlet="loadingIconTemplate() || _loadingIconTemplate()"></ng-template>
2009
+ </span>
2010
+ }
2011
+ }
2012
+ @if (dropdown()) {
2013
+ <button #ddBtn type="button" [pBind]="ptm('dropdown')" [attr.aria-label]="dropdownAriaLabel()" [class]="cx('dropdown')" [disabled]="$disabled()" pRipple (click)="handleDropdownClick($event)" [attr.tabindex]="tabindex()">
2014
+ @if (dropdownIcon()) {
2015
+ <span [ngClass]="dropdownIcon()" [attr.aria-hidden]="true"></span>
2016
+ }
2017
+ @if (!dropdownIcon()) {
2018
+ @if (!dropdownIconTemplate() && !_dropdownIconTemplate()) {
2019
+ <svg data-p-icon="chevron-down" [pBind]="ptm('dropdown')" />
2020
+ }
2021
+ <ng-template *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-template>
2022
+ }
2023
+ </button>
2024
+ }
1976
2025
  <p-overlay
1977
2026
  #overlay
1978
2027
  [hostAttrSelector]="$attrSelector"
@@ -1991,43 +2040,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1991
2040
  <div [pBind]="ptm('overlay')" [class]="cn(cx('overlay'), panelStyleClass())" [ngStyle]="panelStyle()">
1992
2041
  <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
1993
2042
  <div [pBind]="ptm('listContainer')" [class]="cx('listContainer')" [style.max-height]="virtualScroll() ? 'auto' : scrollHeight()" [tabindex]="-1">
1994
- <p-scroller
1995
- *ngIf="virtualScroll()"
1996
- #scroller
1997
- [tabindex]="-1"
1998
- [pt]="ptm('virtualScroller')"
1999
- [items]="visibleOptions()"
2000
- [style]="{ height: scrollHeight() }"
2001
- [itemSize]="virtualScrollItemSize()"
2002
- [autoSize]="true"
2003
- [lazy]="lazy()"
2004
- (onLazyLoad)="onLazyLoad.emit($event)"
2005
- [options]="virtualScrollOptions()"
2006
- >
2007
- <ng-template #content let-items let-scrollerOptions="options">
2008
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
2009
- </ng-template>
2010
- <ng-container *ngIf="loaderTemplate() || _loaderTemplate()">
2011
- <ng-template #loader let-scrollerOptions="options">
2012
- <ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
2043
+ @if (virtualScroll()) {
2044
+ <p-scroller
2045
+ #scroller
2046
+ [tabindex]="-1"
2047
+ [pt]="ptm('virtualScroller')"
2048
+ [items]="visibleOptions()"
2049
+ [style]="{ height: scrollHeight() }"
2050
+ [itemSize]="virtualScrollItemSize()"
2051
+ [autoSize]="true"
2052
+ [lazy]="lazy()"
2053
+ (onLazyLoad)="onLazyLoad.emit($event)"
2054
+ [options]="virtualScrollOptions()"
2055
+ >
2056
+ <ng-template #content let-items let-scrollerOptions="options">
2057
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
2013
2058
  </ng-template>
2014
- </ng-container>
2015
- </p-scroller>
2016
- <ng-container *ngIf="!virtualScroll()">
2059
+ @if (loaderTemplate() || _loaderTemplate()) {
2060
+ <ng-template #loader let-scrollerOptions="options">
2061
+ <ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
2062
+ </ng-template>
2063
+ }
2064
+ </p-scroller>
2065
+ }
2066
+ @if (!virtualScroll()) {
2017
2067
  <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
2018
- </ng-container>
2068
+ }
2019
2069
  </div>
2020
2070
 
2021
2071
  <ng-template #buildInItems let-items let-scrollerOptions="options">
2022
2072
  <ul #items [pBind]="ptm('list')" [class]="cn(cx('list'), scrollerOptions.contentStyleClass)" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="_id() + '_list'" [attr.aria-label]="listLabel()">
2023
- <ng-template ngFor let-option [ngForOf]="items" let-i="index">
2024
- <ng-container *ngIf="isOptionGroup(option)">
2073
+ @for (option of items; track $index; let i = $index) {
2074
+ @if (isOptionGroup(option)) {
2025
2075
  <li [pBind]="ptm('optionGroup')" [attr.id]="_id() + '_' + getOptionIndex(i, scrollerOptions)" [class]="cx('optionGroup')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2026
- <span *ngIf="!groupTemplate() && !_groupTemplate()">{{ getOptionGroupLabel(option.optionGroup) }}</span>
2076
+ @if (!groupTemplate() && !_groupTemplate()) {
2077
+ <span>{{ getOptionGroupLabel(option.optionGroup) }}</span>
2078
+ }
2027
2079
  <ng-container *ngTemplateOutlet="groupTemplate() || _groupTemplate(); context: { $implicit: option.optionGroup }"></ng-container>
2028
2080
  </li>
2029
- </ng-container>
2030
- <ng-container *ngIf="!isOptionGroup(option)">
2081
+ }
2082
+ @if (!isOptionGroup(option)) {
2031
2083
  <li
2032
2084
  pRipple
2033
2085
  [pBind]="getPTOptions(option, scrollerOptions, i, 'option')"
@@ -2045,7 +2097,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
2045
2097
  (click)="onOptionSelect($event, option)"
2046
2098
  (mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
2047
2099
  >
2048
- <span *ngIf="!itemTemplate() && !_itemTemplate()">{{ getOptionLabel(option) }}</span>
2100
+ @if (!itemTemplate() && !_itemTemplate()) {
2101
+ <span>{{ getOptionLabel(option) }}</span>
2102
+ }
2049
2103
  <ng-container
2050
2104
  *ngTemplateOutlet="
2051
2105
  itemTemplate() || _itemTemplate();
@@ -2056,14 +2110,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
2056
2110
  "
2057
2111
  ></ng-container>
2058
2112
  </li>
2059
- </ng-container>
2060
- </ng-template>
2061
- <li *ngIf="!items || (items && items.length === 0 && showEmptyMessage())" [pBind]="ptm('emptyMessage')" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2062
- <ng-container *ngIf="!emptyTemplate() && !_emptyTemplate(); else empty">
2063
- {{ searchResultMessageText() }}
2064
- </ng-container>
2065
- <ng-container #empty *ngTemplateOutlet="emptyTemplate() || _emptyTemplate()"></ng-container>
2066
- </li>
2113
+ }
2114
+ }
2115
+ @if (!items || (items && items.length === 0 && showEmptyMessage())) {
2116
+ <li [pBind]="ptm('emptyMessage')" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2117
+ @if (!emptyTemplate() && !_emptyTemplate()) {
2118
+ {{ searchResultMessageText() }}
2119
+ }
2120
+ <ng-container #empty *ngTemplateOutlet="emptyTemplate() || _emptyTemplate()"></ng-container>
2121
+ </li>
2122
+ }
2067
2123
  </ul>
2068
2124
  </ng-template>
2069
2125
  <ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate()"></ng-container>