primeng 19.1.2 → 20.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1097) hide show
  1. package/accordion/index.d.ts +255 -3
  2. package/animateonscroll/index.d.ts +69 -3
  3. package/api/index.d.ts +1818 -3
  4. package/autocomplete/index.d.ts +922 -3
  5. package/autofocus/index.d.ts +29 -3
  6. package/avatar/index.d.ts +113 -3
  7. package/avatargroup/index.d.ts +58 -3
  8. package/badge/index.d.ts +154 -3
  9. package/base/index.d.ts +63 -5
  10. package/basecomponent/index.d.ts +54 -5
  11. package/baseeditableholder/index.d.ts +36 -0
  12. package/baseinput/index.d.ts +73 -0
  13. package/blockui/index.d.ts +112 -3
  14. package/breadcrumb/index.d.ts +177 -3
  15. package/button/index.d.ts +479 -3
  16. package/buttongroup/index.d.ts +41 -3
  17. package/card/index.d.ts +152 -3
  18. package/carousel/index.d.ts +441 -3
  19. package/cascadeselect/index.d.ts +725 -3
  20. package/chart/index.d.ts +125 -3
  21. package/checkbox/index.d.ts +244 -3
  22. package/chip/index.d.ts +163 -3
  23. package/colorpicker/index.d.ts +326 -3
  24. package/config/index.d.ts +89 -5
  25. package/confirmdialog/index.d.ts +356 -3
  26. package/confirmpopup/index.d.ts +216 -3
  27. package/contextmenu/index.d.ts +354 -3
  28. package/dataview/index.d.ts +537 -3
  29. package/datepicker/index.d.ts +1188 -3
  30. package/dialog/index.d.ts +528 -3
  31. package/divider/index.d.ts +112 -3
  32. package/dock/index.d.ts +199 -3
  33. package/dom/index.d.ts +107 -3
  34. package/dragdrop/index.d.ts +119 -3
  35. package/drawer/index.d.ts +307 -3
  36. package/dynamicdialog/index.d.ts +542 -3
  37. package/editor/index.d.ts +224 -3
  38. package/fesm2022/primeng-accordion.mjs +81 -736
  39. package/fesm2022/primeng-accordion.mjs.map +1 -1
  40. package/fesm2022/primeng-animateonscroll.mjs +10 -10
  41. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  42. package/fesm2022/primeng-api.mjs +31 -31
  43. package/fesm2022/primeng-api.mjs.map +1 -1
  44. package/fesm2022/primeng-autocomplete.mjs +564 -913
  45. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  46. package/fesm2022/primeng-autofocus.mjs +9 -18
  47. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  48. package/fesm2022/primeng-avatar.mjs +25 -123
  49. package/fesm2022/primeng-avatar.mjs.map +1 -1
  50. package/fesm2022/primeng-avatargroup.mjs +10 -10
  51. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  52. package/fesm2022/primeng-badge.mjs +45 -154
  53. package/fesm2022/primeng-badge.mjs.map +1 -1
  54. package/fesm2022/primeng-base.mjs +9 -9
  55. package/fesm2022/primeng-base.mjs.map +1 -1
  56. package/fesm2022/primeng-basecomponent.mjs +20 -27
  57. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  58. package/fesm2022/primeng-baseeditableholder.mjs +49 -0
  59. package/fesm2022/primeng-baseeditableholder.mjs.map +1 -0
  60. package/fesm2022/primeng-baseinput.mjs +85 -0
  61. package/fesm2022/primeng-baseinput.mjs.map +1 -0
  62. package/fesm2022/primeng-blockui.mjs +47 -73
  63. package/fesm2022/primeng-blockui.mjs.map +1 -1
  64. package/fesm2022/primeng-breadcrumb.mjs +137 -213
  65. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  66. package/fesm2022/primeng-button.mjs +71 -748
  67. package/fesm2022/primeng-button.mjs.map +1 -1
  68. package/fesm2022/primeng-buttongroup.mjs +39 -96
  69. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  70. package/fesm2022/primeng-card.mjs +63 -84
  71. package/fesm2022/primeng-card.mjs.map +1 -1
  72. package/fesm2022/primeng-carousel.mjs +162 -339
  73. package/fesm2022/primeng-carousel.mjs.map +1 -1
  74. package/fesm2022/primeng-cascadeselect.mjs +144 -451
  75. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  76. package/fesm2022/primeng-chart.mjs +59 -58
  77. package/fesm2022/primeng-chart.mjs.map +1 -1
  78. package/fesm2022/primeng-checkbox.mjs +106 -276
  79. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  80. package/fesm2022/primeng-chip.mjs +27 -94
  81. package/fesm2022/primeng-chip.mjs.map +1 -1
  82. package/fesm2022/primeng-colorpicker.mjs +128 -315
  83. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  84. package/fesm2022/primeng-config.mjs +14 -7
  85. package/fesm2022/primeng-config.mjs.map +1 -1
  86. package/fesm2022/primeng-confirmdialog.mjs +32 -42
  87. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  88. package/fesm2022/primeng-confirmpopup.mjs +51 -160
  89. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  90. package/fesm2022/primeng-contextmenu.mjs +84 -267
  91. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  92. package/fesm2022/primeng-dataview.mjs +211 -253
  93. package/fesm2022/primeng-dataview.mjs.map +1 -1
  94. package/fesm2022/primeng-datepicker.mjs +861 -1445
  95. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  96. package/fesm2022/primeng-dialog.mjs +84 -337
  97. package/fesm2022/primeng-dialog.mjs.map +1 -1
  98. package/fesm2022/primeng-divider.mjs +34 -139
  99. package/fesm2022/primeng-divider.mjs.map +1 -1
  100. package/fesm2022/primeng-dock.mjs +195 -315
  101. package/fesm2022/primeng-dock.mjs.map +1 -1
  102. package/fesm2022/primeng-dom.mjs +11 -1
  103. package/fesm2022/primeng-dom.mjs.map +1 -1
  104. package/fesm2022/primeng-dragdrop.mjs +10 -10
  105. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  106. package/fesm2022/primeng-drawer.mjs +102 -258
  107. package/fesm2022/primeng-drawer.mjs.map +1 -1
  108. package/fesm2022/primeng-dynamicdialog.mjs +17 -17
  109. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  110. package/fesm2022/primeng-editor.mjs +113 -1075
  111. package/fesm2022/primeng-editor.mjs.map +1 -1
  112. package/fesm2022/primeng-fieldset.mjs +44 -143
  113. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  114. package/fesm2022/primeng-fileupload.mjs +310 -286
  115. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  116. package/fesm2022/primeng-floatlabel.mjs +23 -109
  117. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  118. package/fesm2022/primeng-fluid.mjs +13 -17
  119. package/fesm2022/primeng-fluid.mjs.map +1 -1
  120. package/fesm2022/primeng-focustrap.mjs +7 -7
  121. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  122. package/fesm2022/primeng-galleria.mjs +119 -674
  123. package/fesm2022/primeng-galleria.mjs.map +1 -1
  124. package/fesm2022/primeng-iconfield.mjs +22 -66
  125. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  126. package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
  127. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  128. package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
  129. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  130. package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
  131. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  132. package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
  133. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  134. package/fesm2022/primeng-icons-angledown.mjs +3 -3
  135. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  136. package/fesm2022/primeng-icons-angleleft.mjs +3 -3
  137. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  138. package/fesm2022/primeng-icons-angleright.mjs +3 -3
  139. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  140. package/fesm2022/primeng-icons-angleup.mjs +3 -3
  141. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  142. package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
  143. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  144. package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
  145. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  146. package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
  147. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  148. package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
  149. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  150. package/fesm2022/primeng-icons-arrowright.mjs +3 -3
  151. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  152. package/fesm2022/primeng-icons-arrowup.mjs +3 -3
  153. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  154. package/fesm2022/primeng-icons-ban.mjs +3 -3
  155. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  156. package/fesm2022/primeng-icons-bars.mjs +3 -3
  157. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  158. package/fesm2022/primeng-icons-baseicon.mjs +6 -6
  159. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  160. package/fesm2022/primeng-icons-blank.mjs +3 -3
  161. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  162. package/fesm2022/primeng-icons-calendar.mjs +3 -3
  163. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  164. package/fesm2022/primeng-icons-caretleft.mjs +3 -3
  165. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  166. package/fesm2022/primeng-icons-caretright.mjs +3 -3
  167. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  168. package/fesm2022/primeng-icons-check.mjs +3 -3
  169. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  170. package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
  171. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  172. package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
  173. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  174. package/fesm2022/primeng-icons-chevronright.mjs +3 -3
  175. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  176. package/fesm2022/primeng-icons-chevronup.mjs +3 -3
  177. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  178. package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
  179. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  180. package/fesm2022/primeng-icons-eye.mjs +3 -3
  181. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  182. package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
  183. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  184. package/fesm2022/primeng-icons-filter.mjs +3 -3
  185. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  186. package/fesm2022/primeng-icons-filterfill.mjs +37 -0
  187. package/fesm2022/primeng-icons-filterfill.mjs.map +1 -0
  188. package/fesm2022/primeng-icons-filterslash.mjs +3 -3
  189. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  190. package/fesm2022/primeng-icons-home.mjs +3 -3
  191. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  192. package/fesm2022/primeng-icons-infocircle.mjs +3 -3
  193. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  194. package/fesm2022/primeng-icons-minus.mjs +3 -3
  195. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  196. package/fesm2022/primeng-icons-pencil.mjs +3 -3
  197. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  198. package/fesm2022/primeng-icons-plus.mjs +3 -3
  199. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  200. package/fesm2022/primeng-icons-refresh.mjs +3 -3
  201. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  202. package/fesm2022/primeng-icons-search.mjs +3 -3
  203. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  204. package/fesm2022/primeng-icons-searchminus.mjs +3 -3
  205. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  206. package/fesm2022/primeng-icons-searchplus.mjs +3 -3
  207. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  208. package/fesm2022/primeng-icons-sortalt.mjs +3 -3
  209. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  210. package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
  211. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  212. package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
  213. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  214. package/fesm2022/primeng-icons-spinner.mjs +3 -3
  215. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  216. package/fesm2022/primeng-icons-star.mjs +3 -3
  217. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  218. package/fesm2022/primeng-icons-starfill.mjs +3 -3
  219. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  220. package/fesm2022/primeng-icons-thlarge.mjs +3 -3
  221. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  222. package/fesm2022/primeng-icons-times.mjs +3 -3
  223. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  224. package/fesm2022/primeng-icons-timescircle.mjs +3 -3
  225. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  226. package/fesm2022/primeng-icons-trash.mjs +3 -3
  227. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  228. package/fesm2022/primeng-icons-undo.mjs +3 -3
  229. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  230. package/fesm2022/primeng-icons-upload.mjs +3 -3
  231. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  232. package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
  233. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  234. package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
  235. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  236. package/fesm2022/primeng-iftalabel.mjs +19 -78
  237. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  238. package/fesm2022/primeng-image.mjs +153 -284
  239. package/fesm2022/primeng-image.mjs.map +1 -1
  240. package/fesm2022/primeng-imagecompare.mjs +14 -99
  241. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  242. package/fesm2022/primeng-inplace.mjs +56 -86
  243. package/fesm2022/primeng-inplace.mjs.map +1 -1
  244. package/fesm2022/primeng-inputgroup.mjs +48 -130
  245. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  246. package/fesm2022/primeng-inputgroupaddon.mjs +10 -10
  247. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  248. package/fesm2022/primeng-inputicon.mjs +13 -19
  249. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  250. package/fesm2022/primeng-inputmask.mjs +93 -142
  251. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  252. package/fesm2022/primeng-inputnumber.mjs +153 -439
  253. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  254. package/fesm2022/primeng-inputotp.mjs +58 -87
  255. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  256. package/fesm2022/primeng-inputtext.mjs +52 -136
  257. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  258. package/fesm2022/primeng-keyfilter.mjs +7 -7
  259. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  260. package/fesm2022/primeng-knob.mjs +93 -152
  261. package/fesm2022/primeng-knob.mjs.map +1 -1
  262. package/fesm2022/primeng-listbox.mjs +518 -625
  263. package/fesm2022/primeng-listbox.mjs.map +1 -1
  264. package/fesm2022/primeng-megamenu.mjs +174 -587
  265. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  266. package/fesm2022/primeng-menu.mjs +171 -296
  267. package/fesm2022/primeng-menu.mjs.map +1 -1
  268. package/fesm2022/primeng-menubar.mjs +386 -694
  269. package/fesm2022/primeng-menubar.mjs.map +1 -1
  270. package/fesm2022/primeng-message.mjs +32 -336
  271. package/fesm2022/primeng-message.mjs.map +1 -1
  272. package/fesm2022/primeng-metergroup.mjs +106 -212
  273. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  274. package/fesm2022/primeng-multiselect.mjs +247 -696
  275. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  276. package/fesm2022/primeng-orderlist.mjs +156 -417
  277. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  278. package/fesm2022/primeng-organizationchart.mjs +66 -198
  279. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  280. package/fesm2022/primeng-overlay.mjs +25 -30
  281. package/fesm2022/primeng-overlay.mjs.map +1 -1
  282. package/fesm2022/primeng-overlaybadge.mjs +11 -11
  283. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  284. package/fesm2022/primeng-paginator.mjs +199 -338
  285. package/fesm2022/primeng-paginator.mjs.map +1 -1
  286. package/fesm2022/primeng-panel.mjs +182 -269
  287. package/fesm2022/primeng-panel.mjs.map +1 -1
  288. package/fesm2022/primeng-panelmenu.mjs +291 -450
  289. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  290. package/fesm2022/primeng-password.mjs +260 -389
  291. package/fesm2022/primeng-password.mjs.map +1 -1
  292. package/fesm2022/primeng-picklist.mjs +44 -272
  293. package/fesm2022/primeng-picklist.mjs.map +1 -1
  294. package/fesm2022/primeng-popover.mjs +15 -17
  295. package/fesm2022/primeng-popover.mjs.map +1 -1
  296. package/fesm2022/primeng-progressbar.mjs +36 -186
  297. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  298. package/fesm2022/primeng-progressspinner.mjs +30 -104
  299. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  300. package/fesm2022/primeng-radiobutton.mjs +101 -307
  301. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  302. package/fesm2022/primeng-rating.mjs +115 -196
  303. package/fesm2022/primeng-rating.mjs.map +1 -1
  304. package/fesm2022/primeng-ripple.mjs +27 -36
  305. package/fesm2022/primeng-ripple.mjs.map +1 -1
  306. package/fesm2022/primeng-scroller.mjs +41 -51
  307. package/fesm2022/primeng-scroller.mjs.map +1 -1
  308. package/fesm2022/primeng-scrollpanel.mjs +97 -165
  309. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  310. package/fesm2022/primeng-scrolltop.mjs +27 -68
  311. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  312. package/fesm2022/primeng-select.mjs +152 -587
  313. package/fesm2022/primeng-select.mjs.map +1 -1
  314. package/fesm2022/primeng-selectbutton.mjs +56 -88
  315. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  316. package/fesm2022/primeng-skeleton.mjs +27 -83
  317. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  318. package/fesm2022/primeng-slider.mjs +229 -353
  319. package/fesm2022/primeng-slider.mjs.map +1 -1
  320. package/fesm2022/primeng-speeddial.mjs +43 -142
  321. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  322. package/fesm2022/primeng-splitbutton.mjs +173 -242
  323. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  324. package/fesm2022/primeng-splitter.mjs +92 -243
  325. package/fesm2022/primeng-splitter.mjs.map +1 -1
  326. package/fesm2022/primeng-stepper.mjs +257 -252
  327. package/fesm2022/primeng-stepper.mjs.map +1 -1
  328. package/fesm2022/primeng-steps.mjs +40 -162
  329. package/fesm2022/primeng-steps.mjs.map +1 -1
  330. package/fesm2022/primeng-styleclass.mjs +15 -43
  331. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  332. package/fesm2022/primeng-table.mjs +810 -1272
  333. package/fesm2022/primeng-table.mjs.map +1 -1
  334. package/fesm2022/primeng-tabs.mjs +213 -196
  335. package/fesm2022/primeng-tabs.mjs.map +1 -1
  336. package/fesm2022/primeng-tag.mjs +29 -109
  337. package/fesm2022/primeng-tag.mjs.map +1 -1
  338. package/fesm2022/primeng-terminal.mjs +53 -89
  339. package/fesm2022/primeng-terminal.mjs.map +1 -1
  340. package/fesm2022/primeng-textarea.mjs +53 -150
  341. package/fesm2022/primeng-textarea.mjs.map +1 -1
  342. package/fesm2022/primeng-tieredmenu.mjs +75 -230
  343. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  344. package/fesm2022/primeng-timeline.mjs +28 -202
  345. package/fesm2022/primeng-timeline.mjs.map +1 -1
  346. package/fesm2022/primeng-toast.mjs +88 -350
  347. package/fesm2022/primeng-toast.mjs.map +1 -1
  348. package/fesm2022/primeng-togglebutton.mjs +71 -202
  349. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  350. package/fesm2022/primeng-toggleswitch.mjs +108 -220
  351. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  352. package/fesm2022/primeng-toolbar.mjs +42 -65
  353. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  354. package/fesm2022/primeng-tooltip.mjs +50 -89
  355. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  356. package/fesm2022/primeng-tree.mjs +286 -501
  357. package/fesm2022/primeng-tree.mjs.map +1 -1
  358. package/fesm2022/primeng-treeselect.mjs +351 -562
  359. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  360. package/fesm2022/primeng-treetable.mjs +619 -483
  361. package/fesm2022/primeng-treetable.mjs.map +1 -1
  362. package/fesm2022/primeng-usestyle.mjs +3 -3
  363. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  364. package/fesm2022/primeng-utils.mjs.map +1 -1
  365. package/fieldset/index.d.ts +215 -3
  366. package/fileupload/index.d.ts +784 -3
  367. package/floatlabel/index.d.ts +57 -3
  368. package/fluid/index.d.ts +46 -3
  369. package/focustrap/index.d.ts +34 -3
  370. package/galleria/index.d.ts +708 -3
  371. package/iconfield/index.d.ts +62 -3
  372. package/icons/angledoubledown/index.d.ts +9 -5
  373. package/icons/angledoubleleft/index.d.ts +9 -5
  374. package/icons/angledoubleright/index.d.ts +9 -5
  375. package/icons/angledoubleup/index.d.ts +9 -5
  376. package/icons/angledown/index.d.ts +9 -5
  377. package/icons/angleleft/index.d.ts +9 -5
  378. package/icons/angleright/index.d.ts +9 -5
  379. package/icons/angleup/index.d.ts +9 -5
  380. package/icons/arrowdown/index.d.ts +12 -5
  381. package/icons/arrowdownleft/index.d.ts +9 -5
  382. package/icons/arrowdownright/index.d.ts +9 -5
  383. package/icons/arrowleft/index.d.ts +11 -5
  384. package/icons/arrowright/index.d.ts +9 -5
  385. package/icons/arrowup/index.d.ts +11 -5
  386. package/icons/ban/index.d.ts +11 -5
  387. package/icons/bars/index.d.ts +9 -5
  388. package/icons/baseicon/index.d.ts +38 -3
  389. package/icons/blank/index.d.ts +9 -5
  390. package/icons/calendar/index.d.ts +9 -5
  391. package/icons/caretleft/index.d.ts +9 -5
  392. package/icons/caretright/index.d.ts +9 -5
  393. package/icons/check/index.d.ts +9 -5
  394. package/icons/chevrondown/index.d.ts +9 -5
  395. package/icons/chevronleft/index.d.ts +9 -5
  396. package/icons/chevronright/index.d.ts +9 -5
  397. package/icons/chevronup/index.d.ts +9 -5
  398. package/icons/exclamationtriangle/index.d.ts +12 -5
  399. package/icons/eye/index.d.ts +9 -5
  400. package/icons/eyeslash/index.d.ts +11 -5
  401. package/icons/filter/index.d.ts +11 -5
  402. package/icons/filterfill/index.d.ts +9 -0
  403. package/icons/filterslash/index.d.ts +11 -5
  404. package/icons/home/index.d.ts +11 -5
  405. package/icons/index.d.ts +53 -5
  406. package/icons/infocircle/index.d.ts +11 -5
  407. package/icons/minus/index.d.ts +9 -5
  408. package/icons/pencil/index.d.ts +11 -5
  409. package/icons/plus/index.d.ts +11 -5
  410. package/icons/refresh/index.d.ts +11 -5
  411. package/icons/search/index.d.ts +11 -5
  412. package/icons/searchminus/index.d.ts +11 -5
  413. package/icons/searchplus/index.d.ts +11 -5
  414. package/icons/sortalt/index.d.ts +11 -5
  415. package/icons/sortamountdown/index.d.ts +11 -5
  416. package/icons/sortamountupalt/index.d.ts +11 -5
  417. package/icons/spinner/index.d.ts +11 -5
  418. package/icons/star/index.d.ts +11 -5
  419. package/icons/starfill/index.d.ts +11 -5
  420. package/icons/thlarge/index.d.ts +11 -5
  421. package/icons/times/index.d.ts +9 -5
  422. package/icons/timescircle/index.d.ts +11 -5
  423. package/icons/trash/index.d.ts +11 -5
  424. package/icons/undo/index.d.ts +11 -5
  425. package/icons/upload/index.d.ts +11 -5
  426. package/icons/windowmaximize/index.d.ts +11 -5
  427. package/icons/windowminimize/index.d.ts +11 -5
  428. package/iftalabel/index.d.ts +48 -3
  429. package/image/index.d.ts +374 -3
  430. package/imagecompare/index.d.ts +91 -3
  431. package/index.d.ts +2 -5
  432. package/inplace/index.d.ts +180 -3
  433. package/inputgroup/index.d.ts +56 -3
  434. package/inputgroupaddon/index.d.ts +43 -3
  435. package/inputicon/index.d.ts +34 -3
  436. package/inputmask/index.d.ts +281 -3
  437. package/inputnumber/index.d.ts +463 -3
  438. package/inputotp/index.d.ts +205 -3
  439. package/inputtext/index.d.ts +81 -3
  440. package/keyfilter/index.d.ts +64 -3
  441. package/knob/index.d.ts +202 -3
  442. package/listbox/index.d.ts +801 -3
  443. package/megamenu/index.d.ts +406 -3
  444. package/menu/index.d.ts +338 -3
  445. package/menubar/index.d.ts +418 -3
  446. package/message/index.d.ts +193 -3
  447. package/metergroup/index.d.ts +289 -3
  448. package/multiselect/index.d.ts +1057 -3
  449. package/orderlist/index.d.ts +462 -3
  450. package/organizationchart/index.d.ts +283 -3
  451. package/overlay/index.d.ts +255 -3
  452. package/overlaybadge/index.d.ts +73 -3
  453. package/package.json +265 -296
  454. package/paginator/index.d.ts +391 -3
  455. package/panel/index.d.ts +264 -3
  456. package/panelmenu/index.d.ts +378 -3
  457. package/password/index.d.ts +432 -3
  458. package/picklist/index.d.ts +894 -3
  459. package/popover/index.d.ts +176 -3
  460. package/progressbar/index.d.ts +110 -3
  461. package/progressspinner/index.d.ts +83 -3
  462. package/radiobutton/index.d.ts +197 -3
  463. package/rating/index.d.ts +215 -3
  464. package/ripple/index.d.ts +62 -3
  465. package/scroller/index.d.ts +610 -3
  466. package/scrollpanel/index.d.ts +159 -3
  467. package/scrolltop/index.d.ts +156 -3
  468. package/select/index.d.ts +920 -3
  469. package/selectbutton/index.d.ts +218 -3
  470. package/skeleton/index.d.ts +94 -3
  471. package/slider/index.d.ts +252 -3
  472. package/speeddial/index.d.ts +452 -3
  473. package/splitbutton/index.d.ts +304 -3
  474. package/splitter/index.d.ts +237 -3
  475. package/stepper/index.d.ts +291 -3
  476. package/steps/index.d.ts +150 -3
  477. package/styleclass/index.d.ts +94 -3
  478. package/table/index.d.ts +2919 -3
  479. package/tabs/index.d.ts +323 -3
  480. package/tag/index.d.ts +112 -3
  481. package/terminal/index.d.ts +132 -3
  482. package/textarea/index.d.ts +102 -3
  483. package/tieredmenu/index.d.ts +424 -3
  484. package/timeline/index.d.ts +168 -3
  485. package/toast/index.d.ts +318 -3
  486. package/togglebutton/index.d.ts +240 -3
  487. package/toggleswitch/index.d.ts +184 -3
  488. package/toolbar/index.d.ts +116 -3
  489. package/tooltip/index.d.ts +245 -3
  490. package/tree/index.d.ts +845 -3
  491. package/treeselect/index.d.ts +646 -3
  492. package/treetable/index.d.ts +1727 -3
  493. package/ts-helpers/index.d.ts +6 -5
  494. package/usestyle/index.d.ts +15 -5
  495. package/utils/index.d.ts +43 -5
  496. package/accordion/accordion.d.ts +0 -368
  497. package/accordion/public_api.d.ts +0 -2
  498. package/accordion/style/accordionstyle.d.ts +0 -50
  499. package/animateonscroll/animateonscroll.d.ts +0 -69
  500. package/animateonscroll/public_api.d.ts +0 -1
  501. package/api/blockableui.d.ts +0 -10
  502. package/api/confirmaeventtype.d.ts +0 -8
  503. package/api/confirmation.d.ts +0 -96
  504. package/api/confirmationservice.d.ts +0 -30
  505. package/api/contextmenuservice.d.ts +0 -11
  506. package/api/filtermatchmode.d.ts +0 -22
  507. package/api/filtermetadata.d.ts +0 -18
  508. package/api/filteroperator.d.ts +0 -4
  509. package/api/filterservice.d.ts +0 -10
  510. package/api/lazyloadevent.d.ts +0 -47
  511. package/api/lazyloadmeta.d.ts +0 -19
  512. package/api/megamenuitem.d.ts +0 -130
  513. package/api/menuitem.d.ts +0 -176
  514. package/api/messageservice.d.ts +0 -32
  515. package/api/overlayoptions.d.ts +0 -188
  516. package/api/overlayservice.d.ts +0 -8
  517. package/api/primeicons.d.ts +0 -313
  518. package/api/public_api.d.ts +0 -32
  519. package/api/scrolleroptions.d.ts +0 -126
  520. package/api/selectitem.d.ts +0 -12
  521. package/api/selectitemgroup.d.ts +0 -10
  522. package/api/shared.d.ts +0 -25
  523. package/api/sortevent.d.ts +0 -12
  524. package/api/sortmeta.d.ts +0 -8
  525. package/api/tablestate.d.ts +0 -60
  526. package/api/toastmessage.d.ts +0 -20
  527. package/api/tooltipoptions.d.ts +0 -69
  528. package/api/translation.d.ts +0 -137
  529. package/api/translationkeys.d.ts +0 -50
  530. package/api/treedragdropservice.d.ts +0 -12
  531. package/api/treenode.d.ts +0 -82
  532. package/api/treenodedragevent.d.ts +0 -27
  533. package/api/treetablenode.d.ts +0 -36
  534. package/autocomplete/autocomplete.d.ts +0 -688
  535. package/autocomplete/autocomplete.interface.d.ts +0 -164
  536. package/autocomplete/public_api.d.ts +0 -3
  537. package/autocomplete/style/autocompletestyle.d.ts +0 -131
  538. package/autofocus/autofocus.d.ts +0 -35
  539. package/autofocus/public_api.d.ts +0 -1
  540. package/avatar/avatar.d.ts +0 -74
  541. package/avatar/public_api.d.ts +0 -2
  542. package/avatar/style/avatarstyle.d.ts +0 -47
  543. package/avatargroup/avatargroup.d.ts +0 -34
  544. package/avatargroup/public_api.d.ts +0 -2
  545. package/avatargroup/style/avatargroupstyle.d.ts +0 -24
  546. package/badge/badge.d.ts +0 -123
  547. package/badge/public_api.d.ts +0 -2
  548. package/badge/style/badgestyle.d.ts +0 -45
  549. package/base/base.d.ts +0 -9
  550. package/base/public_api.d.ts +0 -2
  551. package/base/style/basestyle.d.ts +0 -51
  552. package/basecomponent/basecomponent.d.ts +0 -43
  553. package/basecomponent/public_api.d.ts +0 -2
  554. package/basecomponent/style/basecomponentstyle.d.ts +0 -7
  555. package/blockui/blockui.d.ts +0 -67
  556. package/blockui/blockui.interface.d.ts +0 -11
  557. package/blockui/public_api.d.ts +0 -3
  558. package/blockui/style/blockuistyle.d.ts +0 -30
  559. package/breadcrumb/breadcrumb.d.ts +0 -72
  560. package/breadcrumb/breadcrumb.interface.d.ts +0 -38
  561. package/breadcrumb/public_api.d.ts +0 -3
  562. package/breadcrumb/style/breadcrumbstyle.d.ts +0 -69
  563. package/button/button.d.ts +0 -372
  564. package/button/button.interface.d.ts +0 -60
  565. package/button/public_api.d.ts +0 -3
  566. package/button/style/buttonstyle.d.ts +0 -66
  567. package/buttongroup/buttongroup.d.ts +0 -13
  568. package/buttongroup/public_api.d.ts +0 -2
  569. package/buttongroup/style/buttongroupstyle.d.ts +0 -30
  570. package/calendar/calendar.d.ts +0 -792
  571. package/calendar/calendar.interface.d.ts +0 -204
  572. package/calendar/index.d.ts +0 -5
  573. package/calendar/public_api.d.ts +0 -3
  574. package/calendar/style/calendarstyle.d.ts +0 -100
  575. package/card/card.d.ts +0 -60
  576. package/card/card.interface.d.ts +0 -27
  577. package/card/public_api.d.ts +0 -3
  578. package/card/style/cardstyle.d.ts +0 -65
  579. package/carousel/carousel.d.ts +0 -254
  580. package/carousel/carousel.interface.d.ts +0 -63
  581. package/carousel/public_api.d.ts +0 -3
  582. package/carousel/style/carouselstyle.d.ts +0 -129
  583. package/cascadeselect/cascadeselect.d.ts +0 -526
  584. package/cascadeselect/cascadeselect.interface.d.ts +0 -115
  585. package/cascadeselect/public_api.d.ts +0 -3
  586. package/cascadeselect/style/cascadeselectstyle.d.ts +0 -130
  587. package/chart/chart.d.ts +0 -87
  588. package/chart/public_api.d.ts +0 -2
  589. package/chart/style/chartstyle.d.ts +0 -32
  590. package/checkbox/checkbox.d.ts +0 -196
  591. package/checkbox/checkbox.interface.d.ts +0 -26
  592. package/checkbox/public_api.d.ts +0 -3
  593. package/checkbox/style/checkboxstyle.d.ts +0 -53
  594. package/chip/chip.d.ts +0 -94
  595. package/chip/chip.interface.d.ts +0 -27
  596. package/chip/public_api.d.ts +0 -3
  597. package/chip/style/chipstyle.d.ts +0 -50
  598. package/chips/chips.d.ts +0 -237
  599. package/chips/chips.interface.d.ts +0 -66
  600. package/chips/index.d.ts +0 -5
  601. package/chips/public_api.d.ts +0 -2
  602. package/chips/style/chipsstyle.d.ts +0 -69
  603. package/colorpicker/colorpicker.d.ts +0 -243
  604. package/colorpicker/colorpicker.interface.d.ts +0 -15
  605. package/colorpicker/public_api.d.ts +0 -3
  606. package/colorpicker/style/colorpickerstyle.d.ts +0 -75
  607. package/config/primeng.d.ts +0 -45
  608. package/config/provideprimeng.d.ts +0 -4
  609. package/config/public_api.d.ts +0 -3
  610. package/config/themeprovider.d.ts +0 -28
  611. package/confirmdialog/confirmdialog.d.ts +0 -267
  612. package/confirmdialog/confirmdialog.interface.d.ts +0 -39
  613. package/confirmdialog/public_api.d.ts +0 -3
  614. package/confirmdialog/style/confirmdialogstyle.d.ts +0 -50
  615. package/confirmpopup/confirmpopup.d.ts +0 -126
  616. package/confirmpopup/confirmpopup.interface.d.ts +0 -27
  617. package/confirmpopup/public_api.d.ts +0 -3
  618. package/confirmpopup/style/confirmpopupstyle.d.ts +0 -60
  619. package/contextmenu/contextmenu.d.ts +0 -267
  620. package/contextmenu/public_api.d.ts +0 -2
  621. package/contextmenu/style/contextmenustyle.d.ts +0 -83
  622. package/dataview/dataview.d.ts +0 -294
  623. package/dataview/dataview.interface.d.ts +0 -173
  624. package/dataview/public_api.d.ts +0 -3
  625. package/dataview/style/dataviewstyle.d.ts +0 -62
  626. package/datepicker/datepicker.d.ts +0 -802
  627. package/datepicker/datepicker.interface.d.ts +0 -204
  628. package/datepicker/public_api.d.ts +0 -3
  629. package/datepicker/style/datepickerstyle.d.ts +0 -266
  630. package/defer/defer.d.ts +0 -34
  631. package/defer/index.d.ts +0 -5
  632. package/defer/public_api.d.ts +0 -1
  633. package/dialog/dialog.d.ts +0 -424
  634. package/dialog/dialog.interface.d.ts +0 -31
  635. package/dialog/public_api.d.ts +0 -3
  636. package/dialog/style/dialogstyle.d.ts +0 -102
  637. package/divider/divider.d.ts +0 -45
  638. package/divider/public_api.d.ts +0 -2
  639. package/divider/style/dividerstyle.d.ts +0 -75
  640. package/dock/dock.d.ts +0 -110
  641. package/dock/dock.interface.d.ts +0 -19
  642. package/dock/public_api.d.ts +0 -3
  643. package/dock/style/dockstyle.d.ts +0 -72
  644. package/dom/connectedoverlayscrollhandler.d.ts +0 -9
  645. package/dom/domhandler.d.ts +0 -95
  646. package/dom/public_api.d.ts +0 -2
  647. package/dragdrop/dragdrop.d.ts +0 -118
  648. package/dragdrop/public_api.d.ts +0 -1
  649. package/drawer/drawer.d.ts +0 -212
  650. package/drawer/drawer.interface.d.ts +0 -27
  651. package/drawer/public_api.d.ts +0 -3
  652. package/drawer/style/drawerstyle.d.ts +0 -83
  653. package/dropdown/dropdown.d.ts +0 -649
  654. package/dropdown/dropdown.interface.d.ts +0 -154
  655. package/dropdown/index.d.ts +0 -5
  656. package/dropdown/public_api.d.ts +0 -3
  657. package/dropdown/style/dropdownstyle.d.ts +0 -72
  658. package/dynamicdialog/dialogservice.d.ts +0 -35
  659. package/dynamicdialog/dynamicdialog-config.d.ts +0 -221
  660. package/dynamicdialog/dynamicdialog-injector.d.ts +0 -7
  661. package/dynamicdialog/dynamicdialog-ref.d.ts +0 -101
  662. package/dynamicdialog/dynamicdialog.d.ts +0 -120
  663. package/dynamicdialog/dynamicdialogcontent.d.ts +0 -8
  664. package/dynamicdialog/public_api.d.ts +0 -7
  665. package/dynamicdialog/style/dynamicdialogstyle.d.ts +0 -56
  666. package/editor/editor.d.ts +0 -116
  667. package/editor/editor.interface.d.ts +0 -64
  668. package/editor/public_api.d.ts +0 -3
  669. package/editor/style/editorstyle.d.ts +0 -40
  670. package/fesm2022/primeng-calendar.mjs +0 -4647
  671. package/fesm2022/primeng-calendar.mjs.map +0 -1
  672. package/fesm2022/primeng-chips.mjs +0 -930
  673. package/fesm2022/primeng-chips.mjs.map +0 -1
  674. package/fesm2022/primeng-defer.mjs +0 -101
  675. package/fesm2022/primeng-defer.mjs.map +0 -1
  676. package/fesm2022/primeng-dropdown.mjs +0 -2429
  677. package/fesm2022/primeng-dropdown.mjs.map +0 -1
  678. package/fesm2022/primeng-inputswitch.mjs +0 -370
  679. package/fesm2022/primeng-inputswitch.mjs.map +0 -1
  680. package/fesm2022/primeng-inputtextarea.mjs +0 -262
  681. package/fesm2022/primeng-inputtextarea.mjs.map +0 -1
  682. package/fesm2022/primeng-messages.mjs +0 -655
  683. package/fesm2022/primeng-messages.mjs.map +0 -1
  684. package/fesm2022/primeng-overlaypanel.mjs +0 -657
  685. package/fesm2022/primeng-overlaypanel.mjs.map +0 -1
  686. package/fesm2022/primeng-sidebar.mjs +0 -690
  687. package/fesm2022/primeng-sidebar.mjs.map +0 -1
  688. package/fesm2022/primeng-tabmenu.mjs +0 -807
  689. package/fesm2022/primeng-tabmenu.mjs.map +0 -1
  690. package/fesm2022/primeng-tabview.mjs +0 -1184
  691. package/fesm2022/primeng-tabview.mjs.map +0 -1
  692. package/fieldset/fieldset.d.ts +0 -110
  693. package/fieldset/fieldset.interface.d.ts +0 -46
  694. package/fieldset/public_api.d.ts +0 -3
  695. package/fieldset/style/fieldsetstyle.d.ts +0 -60
  696. package/fileupload/fileupload.d.ts +0 -428
  697. package/fileupload/fileupload.interface.d.ts +0 -235
  698. package/fileupload/public_api.d.ts +0 -3
  699. package/fileupload/style/fileuploadstyle.d.ts +0 -102
  700. package/floatlabel/floatlabel.d.ts +0 -23
  701. package/floatlabel/public_api.d.ts +0 -2
  702. package/floatlabel/style/floatlabelstyle.d.ts +0 -37
  703. package/fluid/fluid.d.ts +0 -17
  704. package/fluid/public_api.d.ts +0 -2
  705. package/fluid/style/fluidstyle.d.ts +0 -30
  706. package/focustrap/focustrap.d.ts +0 -33
  707. package/focustrap/public_api.d.ts +0 -1
  708. package/galleria/galleria.d.ts +0 -417
  709. package/galleria/galleria.interface.d.ts +0 -97
  710. package/galleria/public_api.d.ts +0 -3
  711. package/galleria/style/galleriastyle.d.ts +0 -197
  712. package/iconfield/iconfield.d.ts +0 -28
  713. package/iconfield/public_api.d.ts +0 -2
  714. package/iconfield/style/iconfieldstyle.d.ts +0 -30
  715. package/icons/angledoubledown/angledoubledown.d.ts +0 -6
  716. package/icons/angledoubledown/public_api.d.ts +0 -1
  717. package/icons/angledoubleleft/angledoubleleft.d.ts +0 -6
  718. package/icons/angledoubleleft/public_api.d.ts +0 -1
  719. package/icons/angledoubleright/angledoubleright.d.ts +0 -6
  720. package/icons/angledoubleright/public_api.d.ts +0 -1
  721. package/icons/angledoubleup/angledoubleup.d.ts +0 -6
  722. package/icons/angledoubleup/public_api.d.ts +0 -1
  723. package/icons/angledown/angledown.d.ts +0 -6
  724. package/icons/angledown/public_api.d.ts +0 -1
  725. package/icons/angleleft/angleleft.d.ts +0 -6
  726. package/icons/angleleft/public_api.d.ts +0 -1
  727. package/icons/angleright/angleright.d.ts +0 -6
  728. package/icons/angleright/public_api.d.ts +0 -1
  729. package/icons/angleup/angleup.d.ts +0 -6
  730. package/icons/angleup/public_api.d.ts +0 -1
  731. package/icons/arrowdown/arrowdown.d.ts +0 -9
  732. package/icons/arrowdown/public_api.d.ts +0 -1
  733. package/icons/arrowdownleft/arrowdownleft.d.ts +0 -6
  734. package/icons/arrowdownleft/public_api.d.ts +0 -1
  735. package/icons/arrowdownright/arrowdownright.d.ts +0 -6
  736. package/icons/arrowdownright/public_api.d.ts +0 -1
  737. package/icons/arrowleft/arrowleft.d.ts +0 -8
  738. package/icons/arrowleft/public_api.d.ts +0 -1
  739. package/icons/arrowright/arrowright.d.ts +0 -6
  740. package/icons/arrowright/public_api.d.ts +0 -1
  741. package/icons/arrowup/arrowup.d.ts +0 -8
  742. package/icons/arrowup/public_api.d.ts +0 -1
  743. package/icons/ban/ban.d.ts +0 -8
  744. package/icons/ban/public_api.d.ts +0 -1
  745. package/icons/bars/bars.d.ts +0 -6
  746. package/icons/bars/public_api.d.ts +0 -1
  747. package/icons/baseicon/baseicon.d.ts +0 -17
  748. package/icons/baseicon/public_api.d.ts +0 -2
  749. package/icons/baseicon/style/baseiconstyle.d.ts +0 -20
  750. package/icons/blank/blank.d.ts +0 -6
  751. package/icons/blank/public_api.d.ts +0 -1
  752. package/icons/calendar/calendar.d.ts +0 -6
  753. package/icons/calendar/public_api.d.ts +0 -1
  754. package/icons/caretleft/caretleft.d.ts +0 -6
  755. package/icons/caretleft/public_api.d.ts +0 -1
  756. package/icons/caretright/caretright.d.ts +0 -6
  757. package/icons/caretright/public_api.d.ts +0 -1
  758. package/icons/check/check.d.ts +0 -6
  759. package/icons/check/public_api.d.ts +0 -1
  760. package/icons/chevrondown/chevrondown.d.ts +0 -6
  761. package/icons/chevrondown/public_api.d.ts +0 -1
  762. package/icons/chevronleft/chevronleft.d.ts +0 -6
  763. package/icons/chevronleft/public_api.d.ts +0 -1
  764. package/icons/chevronright/chevronright.d.ts +0 -6
  765. package/icons/chevronright/public_api.d.ts +0 -1
  766. package/icons/chevronup/chevronup.d.ts +0 -6
  767. package/icons/chevronup/public_api.d.ts +0 -1
  768. package/icons/exclamationtriangle/exclamationtriangle.d.ts +0 -9
  769. package/icons/exclamationtriangle/public_api.d.ts +0 -1
  770. package/icons/eye/eye.d.ts +0 -6
  771. package/icons/eye/public_api.d.ts +0 -1
  772. package/icons/eyeslash/eyeslash.d.ts +0 -8
  773. package/icons/eyeslash/public_api.d.ts +0 -1
  774. package/icons/filter/filter.d.ts +0 -8
  775. package/icons/filter/public_api.d.ts +0 -1
  776. package/icons/filterslash/filterslash.d.ts +0 -8
  777. package/icons/filterslash/public_api.d.ts +0 -1
  778. package/icons/home/home.d.ts +0 -8
  779. package/icons/home/public_api.d.ts +0 -1
  780. package/icons/infocircle/infocircle.d.ts +0 -8
  781. package/icons/infocircle/public_api.d.ts +0 -1
  782. package/icons/minus/minus.d.ts +0 -6
  783. package/icons/minus/public_api.d.ts +0 -1
  784. package/icons/pencil/pencil.d.ts +0 -8
  785. package/icons/pencil/public_api.d.ts +0 -1
  786. package/icons/plus/plus.d.ts +0 -8
  787. package/icons/plus/public_api.d.ts +0 -1
  788. package/icons/public_api.d.ts +0 -57
  789. package/icons/refresh/public_api.d.ts +0 -1
  790. package/icons/refresh/refresh.d.ts +0 -8
  791. package/icons/search/public_api.d.ts +0 -1
  792. package/icons/search/search.d.ts +0 -8
  793. package/icons/searchminus/public_api.d.ts +0 -1
  794. package/icons/searchminus/searchminus.d.ts +0 -8
  795. package/icons/searchplus/public_api.d.ts +0 -1
  796. package/icons/searchplus/searchplus.d.ts +0 -8
  797. package/icons/sortalt/public_api.d.ts +0 -1
  798. package/icons/sortalt/sortalt.d.ts +0 -8
  799. package/icons/sortamountdown/public_api.d.ts +0 -1
  800. package/icons/sortamountdown/sortamountdown.d.ts +0 -8
  801. package/icons/sortamountupalt/public_api.d.ts +0 -1
  802. package/icons/sortamountupalt/sortamountupalt.d.ts +0 -8
  803. package/icons/spinner/public_api.d.ts +0 -1
  804. package/icons/spinner/spinner.d.ts +0 -8
  805. package/icons/star/public_api.d.ts +0 -1
  806. package/icons/star/star.d.ts +0 -8
  807. package/icons/starfill/public_api.d.ts +0 -1
  808. package/icons/starfill/starfill.d.ts +0 -8
  809. package/icons/thlarge/public_api.d.ts +0 -1
  810. package/icons/thlarge/thlarge.d.ts +0 -8
  811. package/icons/times/public_api.d.ts +0 -1
  812. package/icons/times/times.d.ts +0 -6
  813. package/icons/timescircle/public_api.d.ts +0 -1
  814. package/icons/timescircle/timescircle.d.ts +0 -8
  815. package/icons/trash/public_api.d.ts +0 -1
  816. package/icons/trash/trash.d.ts +0 -8
  817. package/icons/undo/public_api.d.ts +0 -1
  818. package/icons/undo/undo.d.ts +0 -8
  819. package/icons/upload/public_api.d.ts +0 -1
  820. package/icons/upload/upload.d.ts +0 -8
  821. package/icons/windowmaximize/public_api.d.ts +0 -1
  822. package/icons/windowmaximize/windowmaximize.d.ts +0 -8
  823. package/icons/windowminimize/public_api.d.ts +0 -1
  824. package/icons/windowminimize/windowminimize.d.ts +0 -8
  825. package/iftalabel/iftalabel.d.ts +0 -20
  826. package/iftalabel/public_api.d.ts +0 -2
  827. package/iftalabel/style/iftalabelstyle.d.ts +0 -30
  828. package/image/image.d.ts +0 -227
  829. package/image/image.interface.d.ts +0 -63
  830. package/image/public_api.d.ts +0 -3
  831. package/image/style/imagestyle.d.ts +0 -92
  832. package/imagecompare/imagecompare.d.ts +0 -57
  833. package/imagecompare/public_api.d.ts +0 -2
  834. package/imagecompare/style/imagecomparestyle.d.ts +0 -35
  835. package/inplace/inplace.d.ts +0 -122
  836. package/inplace/inplace.interface.d.ts +0 -19
  837. package/inplace/public_api.d.ts +0 -3
  838. package/inplace/style/inplacestyle.d.ts +0 -44
  839. package/inputgroup/inputgroup.d.ts +0 -30
  840. package/inputgroup/public_api.d.ts +0 -2
  841. package/inputgroup/style/inputgroupstyle.d.ts +0 -34
  842. package/inputgroupaddon/inputgroupaddon.d.ts +0 -33
  843. package/inputgroupaddon/public_api.d.ts +0 -2
  844. package/inputgroupaddon/style/inputgroupaddonstyle.d.ts +0 -10
  845. package/inputicon/inputicon.d.ts +0 -24
  846. package/inputicon/public_api.d.ts +0 -2
  847. package/inputicon/style/inputiconstyle.d.ts +0 -10
  848. package/inputmask/inputmask.d.ts +0 -270
  849. package/inputmask/inputmask.interface.d.ts +0 -19
  850. package/inputmask/public_api.d.ts +0 -3
  851. package/inputmask/style/inputmaskstyle.d.ts +0 -35
  852. package/inputnumber/inputnumber.d.ts +0 -440
  853. package/inputnumber/inputnumber.interface.d.ts +0 -38
  854. package/inputnumber/public_api.d.ts +0 -3
  855. package/inputnumber/style/inputnumberstyle.d.ts +0 -70
  856. package/inputotp/inputotp.d.ts +0 -176
  857. package/inputotp/public_api.d.ts +0 -2
  858. package/inputotp/style/inputotpstyle.d.ts +0 -35
  859. package/inputswitch/index.d.ts +0 -5
  860. package/inputswitch/inputswitch.d.ts +0 -106
  861. package/inputswitch/inputswitch.interface.d.ts +0 -15
  862. package/inputswitch/public_api.d.ts +0 -3
  863. package/inputswitch/style/inputswitchstyle.d.ts +0 -27
  864. package/inputtext/inputtext.d.ts +0 -44
  865. package/inputtext/public_api.d.ts +0 -2
  866. package/inputtext/style/inputtextstyle.d.ts +0 -40
  867. package/inputtextarea/index.d.ts +0 -5
  868. package/inputtextarea/inputtextarea.d.ts +0 -59
  869. package/inputtextarea/public_api.d.ts +0 -2
  870. package/inputtextarea/style/textareastyle.d.ts +0 -39
  871. package/keyfilter/keyfilter.d.ts +0 -57
  872. package/keyfilter/keyfilter.interface.d.ts +0 -5
  873. package/keyfilter/public_api.d.ts +0 -2
  874. package/knob/knob.d.ts +0 -176
  875. package/knob/public_api.d.ts +0 -2
  876. package/knob/style/knobstyle.d.ts +0 -49
  877. package/listbox/listbox.d.ts +0 -556
  878. package/listbox/listbox.interface.d.ts +0 -167
  879. package/listbox/public_api.d.ts +0 -3
  880. package/listbox/style/listboxstyle.d.ts +0 -91
  881. package/megamenu/megamenu.d.ts +0 -250
  882. package/megamenu/megamenu.interface.d.ts +0 -31
  883. package/megamenu/public_api.d.ts +0 -3
  884. package/megamenu/style/megamenustyle.d.ts +0 -132
  885. package/menu/menu.d.ts +0 -239
  886. package/menu/public_api.d.ts +0 -2
  887. package/menu/style/menustyle.d.ts +0 -89
  888. package/menubar/menubar.d.ts +0 -275
  889. package/menubar/menubar.interface.d.ts +0 -40
  890. package/menubar/public_api.d.ts +0 -3
  891. package/menubar/style/menubarstyle.d.ts +0 -102
  892. package/message/message.d.ts +0 -134
  893. package/message/public_api.d.ts +0 -2
  894. package/message/style/messagestyle.d.ts +0 -59
  895. package/messages/index.d.ts +0 -5
  896. package/messages/messages.d.ts +0 -110
  897. package/messages/messages.interface.d.ts +0 -11
  898. package/messages/public_api.d.ts +0 -3
  899. package/messages/style/messagesstyle.d.ts +0 -23
  900. package/metergroup/metergroup.d.ts +0 -107
  901. package/metergroup/metergroup.interface.d.ts +0 -122
  902. package/metergroup/public_api.d.ts +0 -3
  903. package/metergroup/style/metergroupstyle.d.ts +0 -75
  904. package/multiselect/multiselect.d.ts +0 -750
  905. package/multiselect/multiselect.interface.d.ts +0 -247
  906. package/multiselect/public_api.d.ts +0 -3
  907. package/multiselect/style/multiselectstyle.d.ts +0 -153
  908. package/orderlist/orderlist.d.ts +0 -346
  909. package/orderlist/orderlist.interface.d.ts +0 -110
  910. package/orderlist/public_api.d.ts +0 -3
  911. package/orderlist/style/orderliststyle.d.ts +0 -35
  912. package/organizationchart/organizationchart.d.ts +0 -136
  913. package/organizationchart/organizationchart.interface.d.ts +0 -59
  914. package/organizationchart/public_api.d.ts +0 -3
  915. package/organizationchart/style/organizationchartstyle.d.ts +0 -89
  916. package/overlay/overlay.d.ts +0 -245
  917. package/overlay/public_api.d.ts +0 -2
  918. package/overlay/style/overlaystyle.d.ts +0 -10
  919. package/overlaybadge/overlaybadge.d.ts +0 -60
  920. package/overlaybadge/public_api.d.ts +0 -2
  921. package/overlaybadge/style/overlaybadgestyle.d.ts +0 -13
  922. package/overlaypanel/index.d.ts +0 -5
  923. package/overlaypanel/overlaypanel.d.ts +0 -170
  924. package/overlaypanel/public_api.d.ts +0 -2
  925. package/overlaypanel/style/popoverstyle.d.ts +0 -35
  926. package/paginator/paginator.d.ts +0 -223
  927. package/paginator/paginator.interface.d.ts +0 -37
  928. package/paginator/public_api.d.ts +0 -3
  929. package/paginator/style/paginatorstyle.d.ts +0 -138
  930. package/panel/panel.d.ts +0 -204
  931. package/panel/public_api.d.ts +0 -2
  932. package/panel/style/panelstyle.d.ts +0 -67
  933. package/panelmenu/panelmenu.d.ts +0 -226
  934. package/panelmenu/panelmenu.interface.d.ts +0 -23
  935. package/panelmenu/public_api.d.ts +0 -3
  936. package/panelmenu/style/panelmenustyle.d.ts +0 -124
  937. package/password/password.d.ts +0 -372
  938. package/password/public_api.d.ts +0 -2
  939. package/password/style/passwordstyle.d.ts +0 -83
  940. package/picklist/picklist.d.ts +0 -616
  941. package/picklist/picklist.interface.d.ts +0 -242
  942. package/picklist/public_api.d.ts +0 -3
  943. package/picklist/style/pickliststyle.d.ts +0 -55
  944. package/popover/popover.d.ts +0 -162
  945. package/popover/public_api.d.ts +0 -2
  946. package/popover/style/popoverstyle.d.ts +0 -14
  947. package/progressbar/progressbar.d.ts +0 -72
  948. package/progressbar/public_api.d.ts +0 -2
  949. package/progressbar/style/progressbarstyle.d.ts +0 -45
  950. package/progressspinner/progressspinner.d.ts +0 -50
  951. package/progressspinner/public_api.d.ts +0 -2
  952. package/progressspinner/style/progressspinnerstyle.d.ts +0 -40
  953. package/public_api.d.ts +0 -2
  954. package/radiobutton/public_api.d.ts +0 -3
  955. package/radiobutton/radiobutton.d.ts +0 -151
  956. package/radiobutton/radiobutton.interface.d.ts +0 -15
  957. package/radiobutton/style/radiobuttonstyle.d.ts +0 -53
  958. package/rating/public_api.d.ts +0 -3
  959. package/rating/rating.d.ts +0 -137
  960. package/rating/rating.interface.d.ts +0 -34
  961. package/rating/style/ratingstyle.d.ts +0 -57
  962. package/ripple/public_api.d.ts +0 -2
  963. package/ripple/ripple.d.ts +0 -32
  964. package/ripple/style/ripplestyle.d.ts +0 -30
  965. package/scroller/public_api.d.ts +0 -3
  966. package/scroller/scroller.d.ts +0 -373
  967. package/scroller/scroller.interface.d.ts +0 -177
  968. package/scroller/style/scrollerstyle.d.ts +0 -43
  969. package/scrollpanel/public_api.d.ts +0 -3
  970. package/scrollpanel/scrollpanel.d.ts +0 -106
  971. package/scrollpanel/scrollpanel.interface.d.ts +0 -11
  972. package/scrollpanel/style/scrollpanelstyle.d.ts +0 -50
  973. package/scrolltop/public_api.d.ts +0 -3
  974. package/scrolltop/scrolltop.d.ts +0 -100
  975. package/scrolltop/scrolltop.interface.d.ts +0 -18
  976. package/scrolltop/style/scrolltopstyle.d.ts +0 -39
  977. package/select/public_api.d.ts +0 -3
  978. package/select/select.d.ts +0 -749
  979. package/select/select.interface.d.ts +0 -154
  980. package/select/style/selectstyle.d.ts +0 -143
  981. package/selectbutton/public_api.d.ts +0 -3
  982. package/selectbutton/selectbutton.d.ts +0 -145
  983. package/selectbutton/selectbutton.interface.d.ts +0 -45
  984. package/selectbutton/style/selectbuttonstyle.d.ts +0 -34
  985. package/sidebar/index.d.ts +0 -5
  986. package/sidebar/public_api.d.ts +0 -3
  987. package/sidebar/sidebar.d.ts +0 -189
  988. package/sidebar/sidebar.interface.d.ts +0 -27
  989. package/sidebar/style/drawerstyle.d.ts +0 -46
  990. package/skeleton/public_api.d.ts +0 -2
  991. package/skeleton/skeleton.d.ts +0 -66
  992. package/skeleton/style/skeletonstyle.d.ts +0 -40
  993. package/slider/public_api.d.ts +0 -3
  994. package/slider/slider.d.ts +0 -170
  995. package/slider/slider.interface.d.ts +0 -38
  996. package/slider/style/sliderstyle.d.ts +0 -54
  997. package/speeddial/public_api.d.ts +0 -3
  998. package/speeddial/speeddial.d.ts +0 -322
  999. package/speeddial/speeddial.interface.d.ts +0 -44
  1000. package/speeddial/style/speeddialstyle.d.ts +0 -89
  1001. package/splitbutton/public_api.d.ts +0 -3
  1002. package/splitbutton/splitbutton.d.ts +0 -243
  1003. package/splitbutton/splitbutton.interface.d.ts +0 -30
  1004. package/splitbutton/style/splitbuttonstyle.d.ts +0 -46
  1005. package/splitter/public_api.d.ts +0 -3
  1006. package/splitter/splitter.d.ts +0 -166
  1007. package/splitter/splitter.interface.d.ts +0 -34
  1008. package/splitter/style/splitterstyle.d.ts +0 -42
  1009. package/stepper/public_api.d.ts +0 -2
  1010. package/stepper/stepper.d.ts +0 -175
  1011. package/stepper/style/stepperstyle.d.ts +0 -39
  1012. package/steps/public_api.d.ts +0 -2
  1013. package/steps/steps.d.ts +0 -84
  1014. package/steps/style/stepsstyle.d.ts +0 -66
  1015. package/styleclass/public_api.d.ts +0 -1
  1016. package/styleclass/styleclass.d.ts +0 -107
  1017. package/table/columnfilter.interface.d.ts +0 -247
  1018. package/table/public_api.d.ts +0 -4
  1019. package/table/style/tablestyle.d.ts +0 -327
  1020. package/table/table.d.ts +0 -1660
  1021. package/table/table.interface.d.ts +0 -671
  1022. package/tabmenu/index.d.ts +0 -5
  1023. package/tabmenu/public_api.d.ts +0 -3
  1024. package/tabmenu/style/tabmenustyle.d.ts +0 -51
  1025. package/tabmenu/tabmenu.d.ts +0 -136
  1026. package/tabmenu/tabmenu.interface.d.ts +0 -32
  1027. package/tabs/public_api.d.ts +0 -6
  1028. package/tabs/style/tabsstyle.d.ts +0 -66
  1029. package/tabs/tab.d.ts +0 -54
  1030. package/tabs/tablist.d.ts +0 -53
  1031. package/tabs/tabpanel.d.ts +0 -20
  1032. package/tabs/tabpanels.d.ts +0 -10
  1033. package/tabs/tabs.d.ts +0 -64
  1034. package/tabview/index.d.ts +0 -5
  1035. package/tabview/public_api.d.ts +0 -3
  1036. package/tabview/style/tabsstyle.d.ts +0 -66
  1037. package/tabview/tabview.d.ts +0 -278
  1038. package/tabview/tabview.interface.d.ts +0 -49
  1039. package/tag/public_api.d.ts +0 -3
  1040. package/tag/style/tagstyle.d.ts +0 -50
  1041. package/tag/tag.d.ts +0 -64
  1042. package/tag/tag.interface.d.ts +0 -11
  1043. package/terminal/public_api.d.ts +0 -3
  1044. package/terminal/style/terminalstyle.d.ts +0 -70
  1045. package/terminal/terminal.d.ts +0 -56
  1046. package/terminal/terminalservice.d.ts +0 -11
  1047. package/textarea/public_api.d.ts +0 -2
  1048. package/textarea/style/textareastyle.d.ts +0 -39
  1049. package/textarea/textarea.d.ts +0 -64
  1050. package/tieredmenu/public_api.d.ts +0 -3
  1051. package/tieredmenu/style/tieredmenustyle.d.ts +0 -97
  1052. package/tieredmenu/tieredmenu.d.ts +0 -292
  1053. package/tieredmenu/tieredmenu.interface.d.ts +0 -27
  1054. package/timeline/public_api.d.ts +0 -3
  1055. package/timeline/style/timelinestyle.d.ts +0 -62
  1056. package/timeline/timeline.d.ts +0 -70
  1057. package/timeline/timeline.interface.d.ts +0 -43
  1058. package/toast/public_api.d.ts +0 -3
  1059. package/toast/style/toaststyle.d.ts +0 -106
  1060. package/toast/toast.d.ts +0 -172
  1061. package/toast/toast.interface.d.ts +0 -52
  1062. package/togglebutton/public_api.d.ts +0 -3
  1063. package/togglebutton/style/togglebuttonstyle.d.ts +0 -49
  1064. package/togglebutton/togglebutton.d.ts +0 -137
  1065. package/togglebutton/togglebutton.interface.d.ts +0 -51
  1066. package/toggleswitch/public_api.d.ts +0 -3
  1067. package/toggleswitch/style/toggleswitchstyle.d.ts +0 -53
  1068. package/toggleswitch/toggleswitch.d.ts +0 -129
  1069. package/toggleswitch/toggleswitch.interface.d.ts +0 -15
  1070. package/toolbar/public_api.d.ts +0 -3
  1071. package/toolbar/style/toolbarstyle.d.ts +0 -45
  1072. package/toolbar/toolbar.d.ts +0 -58
  1073. package/toolbar/toolbar.interface.d.ts +0 -19
  1074. package/tooltip/public_api.d.ts +0 -2
  1075. package/tooltip/style/tooltipstyle.d.ts +0 -40
  1076. package/tooltip/tooltip.d.ts +0 -203
  1077. package/tree/public_api.d.ts +0 -3
  1078. package/tree/style/treestyle.d.ts +0 -116
  1079. package/tree/tree.d.ts +0 -541
  1080. package/tree/tree.interface.d.ts +0 -200
  1081. package/treeselect/public_api.d.ts +0 -3
  1082. package/treeselect/style/treeselectstyle.d.ts +0 -104
  1083. package/treeselect/treeselect.d.ts +0 -482
  1084. package/treeselect/treeselect.interface.d.ts +0 -108
  1085. package/treetable/public_api.d.ts +0 -3
  1086. package/treetable/style/treetablestyle.d.ts +0 -194
  1087. package/treetable/treetable.d.ts +0 -1006
  1088. package/treetable/treetable.interface.d.ts +0 -472
  1089. package/ts-helpers/public_api.d.ts +0 -1
  1090. package/ts-helpers/ts-helpers.d.ts +0 -4
  1091. package/usestyle/public_api.d.ts +0 -1
  1092. package/usestyle/usestyle.d.ts +0 -12
  1093. package/utils/inpututils.d.ts +0 -2
  1094. package/utils/objectutils.d.ts +0 -27
  1095. package/utils/public_api.d.ts +0 -5
  1096. package/utils/uniquecomponentid.d.ts +0 -2
  1097. package/utils/zindexutils.d.ts +0 -9
@@ -1,13 +1,13 @@
1
1
  import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, forwardRef, EventEmitter, inject, signal, computed, effect, booleanAttribute, numberAttribute, ContentChildren, ContentChild, ViewChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
4
+ import { Injectable, forwardRef, input, EventEmitter, inject, signal, computed, booleanAttribute, numberAttribute, ContentChildren, HostListener, ContentChild, ViewChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
6
  import { resolveFieldData, isNotEmpty, uuid, findLastIndex, equals, focus, isEmpty, findSingle } from '@primeuix/utils';
7
7
  import * as i1 from 'primeng/api';
8
8
  import { TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';
9
9
  import { AutoFocus } from 'primeng/autofocus';
10
- import { BaseComponent } from 'primeng/basecomponent';
10
+ import { BaseInput } from 'primeng/baseinput';
11
11
  import { Chip } from 'primeng/chip';
12
12
  import { PrimeNG } from 'primeng/config';
13
13
  import { TimesCircleIcon, SpinnerIcon, TimesIcon, ChevronDownIcon } from 'primeng/icons';
@@ -15,329 +15,71 @@ import { InputText } from 'primeng/inputtext';
15
15
  import { Overlay } from 'primeng/overlay';
16
16
  import { Ripple } from 'primeng/ripple';
17
17
  import { Scroller } from 'primeng/scroller';
18
+ import { css, dt } from '@primeuix/styled';
19
+ import { style } from '@primeuix/styles/autocomplete';
18
20
  import { BaseStyle } from 'primeng/base';
19
21
 
20
- const theme = ({ dt }) => `
21
- .p-autocomplete {
22
- display: inline-flex;
23
- }
24
-
25
- .p-autocomplete-loader {
26
- position: absolute;
27
- top: 50%;
28
- margin-top: -0.5rem;
29
- inset-inline-end: ${dt('autocomplete.padding.x')};
30
- }
31
-
32
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-loader {
33
- inset-inline-end: calc(${dt('autocomplete.dropdown.width')} + ${dt('autocomplete.padding.x')});
34
- }
35
-
36
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input {
37
- flex: 1 1 auto;
38
- width: 1%;
39
- }
40
-
41
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input,
42
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input-multiple {
43
- border-start-end-radius: 0;
44
- border-end-end-radius: 0;
45
- }
46
-
47
- .p-autocomplete-dropdown {
48
- cursor: pointer;
49
- display: inline-flex;
50
- user-select: none;
51
- align-items: center;
52
- justify-content: center;
53
- overflow: hidden;
54
- position: relative;
55
- width: ${dt('autocomplete.dropdown.width')};
56
- border-start-end-radius: ${dt('autocomplete.dropdown.border.radius')};
57
- border-end-end-radius: ${dt('autocomplete.dropdown.border.radius')};
58
- background: ${dt('autocomplete.dropdown.background')};
59
- border: 1px solid ${dt('autocomplete.dropdown.border.color')};
60
- border-inline-start: 0 none;
61
- color: ${dt('autocomplete.dropdown.color')};
62
- transition: background ${dt('autocomplete.transition.duration')}, color ${dt('autocomplete.transition.duration')}, border-color ${dt('autocomplete.transition.duration')}, outline-color ${dt('autocomplete.transition.duration')}, box-shadow ${dt('autocomplete.transition.duration')};
63
- outline-color: transparent;
64
- }
65
-
66
- .p-autocomplete-dropdown:not(:disabled):hover {
67
- background: ${dt('autocomplete.dropdown.hover.background')};
68
- border-color: ${dt('autocomplete.dropdown.hover.border.color')};
69
- color: ${dt('autocomplete.dropdown.hover.color')};
70
- }
71
-
72
- .p-autocomplete-dropdown:not(:disabled):active {
73
- background: ${dt('autocomplete.dropdown.active.background')};
74
- border-color: ${dt('autocomplete.dropdown.active.border.color')};
75
- color: ${dt('autocomplete.dropdown.active.color')};
76
- }
77
-
78
- .p-autocomplete-dropdown:focus-visible {
79
- box-shadow: ${dt('autocomplete.dropdown.focus.ring.shadow')};
80
- outline: ${dt('autocomplete.dropdown.focus.ring.width')} ${dt('autocomplete.dropdown.focus.ring.style')} ${dt('autocomplete.dropdown.focus.ring.color')};
81
- outline-offset: ${dt('autocomplete.dropdown.focus.ring.offset')};
82
- }
83
-
84
- .p-autocomplete .p-autocomplete-overlay {
85
- min-width: 100%;
86
- }
87
-
88
- .p-autocomplete-overlay {
89
- background: ${dt('autocomplete.overlay.background')};
90
- color: ${dt('autocomplete.overlay.color')};
91
- border: 1px solid ${dt('autocomplete.overlay.border.color')};
92
- border-radius: ${dt('autocomplete.overlay.border.radius')};
93
- box-shadow: ${dt('autocomplete.overlay.shadow')};
94
- }
95
-
96
- .p-autocomplete-list-container {
97
- overflow: auto;
98
- }
99
-
100
- .p-autocomplete-list {
101
- margin: 0;
102
- list-style-type: none;
103
- display: flex;
104
- flex-direction: column;
105
- gap: ${dt('autocomplete.list.gap')};
106
- padding: ${dt('autocomplete.list.padding')};
107
- }
108
-
109
- .p-autocomplete-option {
110
- cursor: pointer;
111
- white-space: nowrap;
112
- position: relative;
113
- overflow: hidden;
114
- display: flex;
115
- align-items: center;
116
- padding: ${dt('autocomplete.option.padding')};
117
- border: 0 none;
118
- color: ${dt('autocomplete.option.color')};
119
- background: transparent;
120
- transition: background ${dt('autocomplete.transition.duration')}, color ${dt('autocomplete.transition.duration')}, border-color ${dt('autocomplete.transition.duration')};
121
- border-radius: ${dt('autocomplete.option.border.radius')};
122
- }
123
-
124
- .p-autocomplete-option:not(.p-autocomplete-option-selected):not(.p-disabled).p-focus {
125
- background: ${dt('autocomplete.option.focus.background')};
126
- color: ${dt('autocomplete.option.focus.color')};
127
- }
128
-
129
- .p-autocomplete-option-selected {
130
- background: ${dt('autocomplete.option.selected.background')};
131
- color: ${dt('autocomplete.option.selected.color')};
132
- }
133
-
134
- .p-autocomplete-option-selected.p-focus {
135
- background: ${dt('autocomplete.option.selected.focus.background')};
136
- color: ${dt('autocomplete.option.selected.focus.color')};
137
- }
138
-
139
- .p-autocomplete-option-group {
140
- margin: 0;
141
- padding: ${dt('autocomplete.option.group.padding')};
142
- color: ${dt('autocomplete.option.group.color')};
143
- background: ${dt('autocomplete.option.group.background')};
144
- font-weight: ${dt('autocomplete.option.group.font.weight')};
145
- }
146
-
147
- .p-autocomplete-input-multiple {
148
- margin: 0;
149
- list-style-type: none;
150
- cursor: text;
151
- overflow: hidden;
152
- display: flex;
153
- align-items: center;
154
- flex-wrap: wrap;
155
- padding: calc(${dt('autocomplete.padding.y')} / 2) ${dt('autocomplete.padding.x')};
156
- gap: calc(${dt('autocomplete.padding.y')} / 2);
157
- color: ${dt('autocomplete.color')};
158
- background: ${dt('autocomplete.background')};
159
- border: 1px solid ${dt('autocomplete.border.color')};
160
- border-radius: ${dt('autocomplete.border.radius')};
161
- width: 100%;
162
- transition: background ${dt('autocomplete.transition.duration')}, color ${dt('autocomplete.transition.duration')}, border-color ${dt('autocomplete.transition.duration')}, outline-color ${dt('autocomplete.transition.duration')}, box-shadow ${dt('autocomplete.transition.duration')};
163
- outline-color: transparent;
164
- box-shadow: ${dt('autocomplete.shadow')};
165
- }
166
-
167
- .p-autocomplete:not(.p-disabled):hover .p-autocomplete-input-multiple {
168
- border-color: ${dt('autocomplete.hover.border.color')};
169
- }
170
-
171
- .p-autocomplete:not(.p-disabled).p-focus .p-autocomplete-input-multiple {
172
- border-color: ${dt('autocomplete.focus.border.color')};
173
- box-shadow: ${dt('autocomplete.focus.ring.shadow')};
174
- outline: ${dt('autocomplete.focus.ring.width')} ${dt('autocomplete.focus.ring.style')} ${dt('autocomplete.focus.ring.color')};
175
- outline-offset: ${dt('autocomplete.focus.ring.offset')};
176
- }
177
-
178
- .p-autocomplete.p-invalid .p-autocomplete-input-multiple {
179
- border-color: ${dt('autocomplete.invalid.border.color')};
180
- }
181
-
182
- .p-variant-filled.p-autocomplete-input-multiple {
183
- background: ${dt('autocomplete.filled.background')};
184
- }
22
+ const theme = css `
23
+ ${style}
185
24
 
186
- .p-autocomplete:not(.p-disabled):hover .p-variant-filled.p-autocomplete-input-multiple {
187
- background: ${dt('autocomplete.filled.hover.background')};
188
- }
189
-
190
- .p-autocomplete:not(.p-disabled).p-focus .p-variant-filled.p-autocomplete-input-multiple {
191
- background: ${dt('autocomplete.filled.focus.background')};
192
- }
193
-
194
- .p-autocomplete.p-disabled {
195
- opacity: 1;
196
- }
197
-
198
- .p-autocomplete.p-disabled .p-autocomplete-input-multiple {
199
- opacity: 1;
200
- background: ${dt('autocomplete.disabled.background')};
201
- color: ${dt('autocomplete.disabled.color')};
202
- }
203
-
204
- .p-autocomplete-chip.p-chip {
205
- padding-block-start: calc(${dt('autocomplete.padding.y')} / 2);
206
- padding-block-end: calc(${dt('autocomplete.padding.y')} / 2);
207
- border-radius: ${dt('autocomplete.chip.border.radius')};
208
- }
209
-
210
- .p-autocomplete-input-multiple:has(.p-autocomplete-chip) {
211
- padding-inline-start: calc(${dt('autocomplete.padding.y')} / 2);
212
- padding-inline-end: calc(${dt('autocomplete.padding.y')} / 2);
213
- }
214
-
215
- .p-autocomplete-chip-item.p-focus .p-autocomplete-chip {
216
- background: ${dt('autocomplete.chip.focus.background')};
217
- color: ${dt('autocomplete.chip.focus.color')};
218
- }
219
-
220
- .p-autocomplete-input-chip {
221
- flex: 1 1 auto;
222
- display: inline-flex;
223
- padding-block-start: calc(${dt('autocomplete.padding.y')} / 2);
224
- padding-block-end: calc(${dt('autocomplete.padding.y')} / 2);
225
- }
226
-
227
- .p-autocomplete-input-chip input {
228
- border: 0 none;
229
- outline: 0 none;
230
- background: transparent;
231
- margin: 0;
232
- padding: 0;
233
- box-shadow: none;
234
- border-radius: 0;
235
- width: 100%;
236
- font-family: inherit;
237
- font-feature-settings: inherit;
238
- font-size: 1rem;
239
- color: inherit;
240
- }
241
-
242
- .p-autocomplete-input-chip input::placeholder {
243
- color: ${dt('autocomplete.placeholder.color')};
244
- }
245
-
246
- .p-autocomplete-empty-message {
247
- padding: ${dt('autocomplete.empty.message.padding')};
248
- }
249
-
250
- .p-autocomplete-fluid {
251
- display: flex;
252
- }
253
-
254
- .p-autocomplete-fluid:has(.p-autocomplete-dropdown) .p-autocomplete-input {
255
- width: 1%;
256
- }
257
-
258
- .p-autocomplete:has(.p-inputtext-sm) .p-autocomplete-dropdown {
259
- width: ${dt('autocomplete.dropdown.sm.width')};
260
- }
261
-
262
- .p-autocomplete:has(.p-inputtext-sm) .p-autocomplete-dropdown .p-icon {
263
- font-size: ${dt('form.field.sm.font.size')};
264
- width: ${dt('form.field.sm.font.size')};
265
- height: ${dt('form.field.sm.font.size')};
266
- }
267
-
268
- .p-autocomplete:has(.p-inputtext-lg) .p-autocomplete-dropdown {
269
- width: ${dt('autocomplete.dropdown.lg.width')};
270
- }
271
-
272
- .p-autocomplete:has(.p-inputtext-lg) .p-autocomplete-dropdown .p-icon {
273
- font-size: ${dt('form.field.lg.font.size')};
274
- width: ${dt('form.field.lg.font.size')};
275
- height: ${dt('form.field.lg.font.size')};
276
- }
25
+ /* For PrimeNG */
26
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input,
27
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple,
28
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input,
29
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-multiple p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input,
30
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple {
31
+ border-color: ${dt('autocomplete.invalid.border.color')};
32
+ }
277
33
 
278
- .p-autocomplete-clear-icon {
279
- position: absolute;
280
- top: 50%;
281
- margin-top: -0.5rem;
282
- cursor: pointer;
283
- right: ${dt('autocomplete.padding.x')};
284
- color: ${dt('autocomplete.dropdown.color')};
285
- }
34
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
35
+ p-autoComplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
36
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
37
+ p-auto-complete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
38
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
39
+ p-autocomplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple {
40
+ border-color: ${dt('autocomplete.focus.border.color')};
41
+ }
286
42
 
287
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-clear-icon {
288
- right: calc(${dt('autocomplete.padding.x')} + ${dt('autocomplete.dropdown.width')});
289
- }
290
- p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input,
291
- p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple,
292
- p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input,
293
- p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-multiple
294
- p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input,
295
- p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple {
296
- border-color: ${dt('autocomplete.invalid.border.color')};
297
- }
298
- p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
299
- p-autoComplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
300
- p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
301
- p-auto-complete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
302
- p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
303
- p-autocomplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple {
304
- border-color: ${dt('autocomplete.focus.border.color')};
305
- }
306
- p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
307
- p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
308
- p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder {
309
- color: ${dt('autocomplete.invalid.placeholder.color')};
310
- }
43
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
44
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
45
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder {
46
+ color: ${dt('autocomplete.invalid.placeholder.color')};
47
+ }
311
48
 
312
- p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
313
- p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
314
- p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder {
315
- color: ${dt('autocomplete.invalid.placeholder.color')};
316
- }`;
49
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
50
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
51
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder {
52
+ color: ${dt('autocomplete.invalid.placeholder.color')};
53
+ }
54
+ `;
317
55
  const inlineStyles = {
318
56
  root: { position: 'relative' }
319
57
  };
320
58
  const classes = {
321
- root: ({ instance }) => ({
322
- 'p-autocomplete p-component p-inputwrapper': true,
323
- 'p-disabled': instance.disabled,
324
- 'p-focus': instance.focused,
325
- 'p-inputwrapper-filled': instance.filled,
326
- 'p-inputwrapper-focus': (instance.focused && !instance.disabled) || instance.autofocus || instance.overlayVisible,
327
- 'p-autocomplete-open': instance.overlayVisible,
328
- 'p-autocomplete-clearable': instance.showClear && !instance.disabled,
329
- // 'p-invalid': instance.invalid,
330
- 'p-autocomplete-fluid': instance.hasFluid
331
- }),
332
- pcInput: 'p-autocomplete-input',
333
- inputMultiple: ({ instance }) => ({
334
- 'p-autocomplete-input-multiple': true,
335
- 'p-variant-filled': (instance.variant ?? (instance.config.inputStyle() || instance.config.inputVariant())) === 'filled'
336
- }),
59
+ root: ({ instance }) => [
60
+ 'p-autocomplete p-component p-inputwrapper',
61
+ {
62
+ 'p-invalid': instance.invalid(),
63
+ 'p-focus': instance.focused,
64
+ 'p-inputwrapper-filled': instance.$filled(),
65
+ 'p-inputwrapper-focus': (instance.focused && !instance.disabled()) || instance.autofocus || instance.overlayVisible,
66
+ 'p-autocomplete-open': instance.overlayVisible,
67
+ 'p-autocomplete-clearable': instance.showClear && !instance.disabled(),
68
+ 'p-autocomplete-fluid': instance.hasFluid
69
+ }
70
+ ],
71
+ pcInputText: 'p-autocomplete-input',
72
+ inputMultiple: ({ instance }) => [
73
+ 'p-autocomplete-input-multiple',
74
+ {
75
+ 'p-disabled': instance.disabled(),
76
+ 'p-variant-filled': instance.$variant() === 'filled'
77
+ }
78
+ ],
337
79
  chipItem: ({ instance, i }) => [
338
80
  'p-autocomplete-chip-item',
339
81
  {
340
- 'p-focus': instance.focusedMultipleOptionIndex === i
82
+ 'p-focus': instance.focusedMultipleOptionIndex() === i
341
83
  }
342
84
  ],
343
85
  pcChip: 'p-autocomplete-chip',
@@ -345,26 +87,28 @@ const classes = {
345
87
  inputChip: 'p-autocomplete-input-chip',
346
88
  loader: 'p-autocomplete-loader',
347
89
  dropdown: 'p-autocomplete-dropdown',
348
- overlay: 'p-autocomplete-overlay p-component',
90
+ overlay: ({ instance }) => ['p-autocomplete-overlay p-component', { 'p-input-filled': instance.$variant() === 'filled', 'p-ripple-disabled': instance.config.ripple() === false }],
91
+ listContainer: 'p-autocomplete-list-container',
349
92
  list: 'p-autocomplete-list',
350
93
  optionGroup: 'p-autocomplete-option-group',
351
- option: ({ instance, option, i, getItemOptions }) => ({
94
+ option: ({ instance, option, i, scrollerOptions }) => ({
352
95
  'p-autocomplete-option': true,
353
96
  'p-autocomplete-option-selected': instance.isSelected(option),
354
- 'p-focus': instance.focusedOptionIndex === instance.getOptionIndex(i, getItemOptions),
97
+ 'p-focus': instance.focusedOptionIndex() === instance.getOptionIndex(i, scrollerOptions),
355
98
  'p-disabled': instance.isOptionDisabled(option)
356
99
  }),
357
- emptyMessage: 'p-autocomplete-empty-message'
100
+ emptyMessage: 'p-autocomplete-empty-message',
101
+ clearIcon: 'p-autocomplete-clear-icon'
358
102
  };
359
103
  class AutoCompleteStyle extends BaseStyle {
360
104
  name = 'autocomplete';
361
105
  theme = theme;
362
106
  classes = classes;
363
107
  inlineStyles = inlineStyles;
364
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: AutoCompleteStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
365
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: AutoCompleteStyle });
108
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AutoCompleteStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
109
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AutoCompleteStyle });
366
110
  }
367
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: AutoCompleteStyle, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AutoCompleteStyle, decorators: [{
368
112
  type: Injectable
369
113
  }] });
370
114
  /**
@@ -385,7 +129,7 @@ var AutoCompleteClasses;
385
129
  /**
386
130
  * Class name of the input element
387
131
  */
388
- AutoCompleteClasses["pcInput"] = "p-autocomplete-input";
132
+ AutoCompleteClasses["pcInputText"] = "p-autocomplete-input";
389
133
  /**
390
134
  * Class name of the input multiple element
391
135
  */
@@ -434,6 +178,10 @@ var AutoCompleteClasses;
434
178
  * Class name of the empty message element
435
179
  */
436
180
  AutoCompleteClasses["emptyMessage"] = "p-autocomplete-empty-message";
181
+ /**
182
+ * Class name of the clear icon
183
+ */
184
+ AutoCompleteClasses["clearIcon"] = "p-autocomplete-clear-icon";
437
185
  })(AutoCompleteClasses || (AutoCompleteClasses = {}));
438
186
 
439
187
  const AUTOCOMPLETE_VALUE_ACCESSOR = {
@@ -445,24 +193,25 @@ const AUTOCOMPLETE_VALUE_ACCESSOR = {
445
193
  * AutoComplete is an input component that provides real-time suggestions when being typed.
446
194
  * @group Components
447
195
  */
448
- class AutoComplete extends BaseComponent {
196
+ class AutoComplete extends BaseInput {
449
197
  overlayService;
450
198
  zone;
451
199
  /**
452
200
  * Minimum number of characters to initiate a search.
201
+ * @deprecated since v20.0.0, use `minQueryLength` instead.
453
202
  * @group Props
454
203
  */
455
204
  minLength = 1;
456
205
  /**
457
- * Delay between keystrokes to wait before sending a query.
206
+ * Minimum number of characters to initiate a search.
458
207
  * @group Props
459
208
  */
460
- delay = 300;
209
+ minQueryLength;
461
210
  /**
462
- * Inline style of the component.
211
+ * Delay between keystrokes to wait before sending a query.
463
212
  * @group Props
464
213
  */
465
- style;
214
+ delay = 300;
466
215
  /**
467
216
  * Inline style of the overlay panel element.
468
217
  * @group Props
@@ -470,6 +219,7 @@ class AutoComplete extends BaseComponent {
470
219
  panelStyle;
471
220
  /**
472
221
  * Style class of the component.
222
+ * @deprecated since v20.0.0, use `class` instead.
473
223
  * @group Props
474
224
  */
475
225
  styleClass;
@@ -503,11 +253,6 @@ class AutoComplete extends BaseComponent {
503
253
  * @group Props
504
254
  */
505
255
  readonly;
506
- /**
507
- * When present, it specifies that the component should be disabled.
508
- * @group Props
509
- */
510
- disabled;
511
256
  /**
512
257
  * Maximum height of the suggestions panel.
513
258
  * @group Props
@@ -533,31 +278,6 @@ class AutoComplete extends BaseComponent {
533
278
  * @group Props
534
279
  */
535
280
  virtualScrollOptions;
536
- /**
537
- * Maximum number of character allows in the input field.
538
- * @group Props
539
- */
540
- maxlength;
541
- /**
542
- * Name of the input element.
543
- * @group Props
544
- */
545
- name;
546
- /**
547
- * When present, it specifies that an input field must be filled out before submitting the form.
548
- * @group Props
549
- */
550
- required;
551
- /**
552
- * Defines the size of the component.
553
- * @group Props
554
- */
555
- size;
556
- /**
557
- * Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
558
- * @group Props
559
- */
560
- appendTo;
561
281
  /**
562
282
  * When enabled, highlights the first item in the list by default.
563
283
  * @group Props
@@ -623,12 +343,6 @@ class AutoComplete extends BaseComponent {
623
343
  * @group Props
624
344
  */
625
345
  showClear = false;
626
- /**
627
- * Field of a suggested object to resolve and display.
628
- * @group Props
629
- * @deprecated use optionLabel property instead
630
- */
631
- field;
632
346
  /**
633
347
  * Displays a button next to the input field when enabled.
634
348
  * @group Props
@@ -710,18 +424,6 @@ class AutoComplete extends BaseComponent {
710
424
  this._suggestions.set(value);
711
425
  this.handleSuggestionsChange();
712
426
  }
713
- /**
714
- * Element dimensions of option for virtual scrolling.
715
- * @group Props
716
- * @deprecated use virtualScrollItemSize property instead.
717
- */
718
- get itemSize() {
719
- return this._itemSize;
720
- }
721
- set itemSize(val) {
722
- this._itemSize = val;
723
- console.log('The itemSize property is deprecated, use virtualScrollItemSize property instead.');
724
- }
725
427
  /**
726
428
  * Property name or getter function to use as the label of an option.
727
429
  * @group Props
@@ -787,15 +489,11 @@ class AutoComplete extends BaseComponent {
787
489
  */
788
490
  typeahead = true;
789
491
  /**
790
- * Specifies the input variant of the component.
791
- * @group Props
792
- */
793
- variant;
794
- /**
795
- * Spans 100% width of the container when enabled.
492
+ * Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
493
+ * @defaultValue 'self'
796
494
  * @group Props
797
495
  */
798
- fluid = false;
496
+ appendTo = input(undefined);
799
497
  /**
800
498
  * Callback to invoke to search for suggestions.
801
499
  * @param {AutoCompleteCompleteEvent} event - Custom complete event.
@@ -862,7 +560,6 @@ class AutoComplete extends BaseComponent {
862
560
  * @group Emits
863
561
  */
864
562
  onLazyLoad = new EventEmitter();
865
- containerEL;
866
563
  inputEL;
867
564
  multiInputEl;
868
565
  multiContainerEL;
@@ -870,7 +567,6 @@ class AutoComplete extends BaseComponent {
870
567
  itemsViewChild;
871
568
  scroller;
872
569
  overlayViewChild;
873
- _itemSize;
874
570
  itemsWrapper;
875
571
  /**
876
572
  * Custom item template.
@@ -927,6 +623,9 @@ class AutoComplete extends BaseComponent {
927
623
  * @group Templates
928
624
  */
929
625
  dropdownIconTemplate;
626
+ onHostClick(event) {
627
+ this.onContainerClick(event);
628
+ }
930
629
  primeng = inject(PrimeNG);
931
630
  value;
932
631
  _suggestions = signal(null);
@@ -938,13 +637,6 @@ class AutoComplete extends BaseComponent {
938
637
  highlightOption;
939
638
  highlightOptionChanged;
940
639
  focused = false;
941
- _filled;
942
- get filled() {
943
- return this._filled;
944
- }
945
- set filled(value) {
946
- this._filled = value;
947
- }
948
640
  loading;
949
641
  scrollHandler;
950
642
  listId;
@@ -961,10 +653,10 @@ class AutoComplete extends BaseComponent {
961
653
  _loadingIconTemplate;
962
654
  _clearIconTemplate;
963
655
  _dropdownIconTemplate;
964
- modelValue = signal(null);
965
656
  focusedMultipleOptionIndex = signal(-1);
966
657
  focusedOptionIndex = signal(-1);
967
658
  _componentStyle = inject(AutoCompleteStyle);
659
+ $appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo());
968
660
  visibleOptions = computed(() => {
969
661
  return this.group ? this.flatOptions(this._suggestions()) : this._suggestions() || [];
970
662
  });
@@ -990,25 +682,6 @@ class AutoComplete extends BaseComponent {
990
682
  get focusedOptionId() {
991
683
  return this.focusedOptionIndex() !== -1 ? `${this.id}_${this.focusedOptionIndex()}` : null;
992
684
  }
993
- get rootClass() {
994
- return this._componentStyle.classes.root({ instance: this });
995
- }
996
- get inputMultipleClass() {
997
- return this._componentStyle.classes.inputMultiple({ instance: this });
998
- }
999
- get panelClass() {
1000
- return {
1001
- 'p-autocomplete-overlay p-component': true,
1002
- 'p-input-filled': this.config.inputStyle() === 'filled' || this.config.inputVariant() === 'filled',
1003
- 'p-ripple-disabled': this.config.ripple() === false
1004
- };
1005
- }
1006
- get inputClass() {
1007
- return {
1008
- 'p-autocomplete-input': !this.multiple,
1009
- 'p-autocomplete-dd-input': this.dropdown
1010
- };
1011
- }
1012
685
  get searchResultMessageText() {
1013
686
  return isNotEmpty(this.visibleOptions()) && this.overlayVisible ? this.searchMessageText.replaceAll('{0}', this.visibleOptions().length) : this.emptySearchMessageText;
1014
687
  }
@@ -1025,7 +698,7 @@ class AutoComplete extends BaseComponent {
1025
698
  return this.emptySelectionMessage || this.config.translation.emptySelectionMessage || '';
1026
699
  }
1027
700
  get selectedMessageText() {
1028
- return this.hasSelectedOption() ? this.selectionMessageText.replaceAll('{0}', this.multiple ? this.modelValue().length : '1') : this.emptySelectionMessageText;
701
+ return this.hasSelectedOption() ? this.selectionMessageText.replaceAll('{0}', this.multiple ? this.modelValue()?.length : '1') : this.emptySelectionMessageText;
1029
702
  }
1030
703
  get ariaSetSize() {
1031
704
  return this.visibleOptions().filter((option) => !this.isOptionGroup(option)).length;
@@ -1042,21 +715,10 @@ class AutoComplete extends BaseComponent {
1042
715
  chipItemClass(index) {
1043
716
  return this._componentStyle.classes.chipItem({ instance: this, i: index });
1044
717
  }
1045
- optionClass(option, i, scrollerOptions) {
1046
- return {
1047
- 'p-autocomplete-option': true,
1048
- 'p-autocomplete-option-selected': this.isSelected(option),
1049
- 'p-focus': this.focusedOptionIndex() === this.getOptionIndex(i, scrollerOptions),
1050
- 'p-disabled': this.isOptionDisabled(option)
1051
- };
1052
- }
1053
718
  constructor(overlayService, zone) {
1054
719
  super();
1055
720
  this.overlayService = overlayService;
1056
721
  this.zone = zone;
1057
- effect(() => {
1058
- this.filled = isNotEmpty(this.modelValue());
1059
- });
1060
722
  }
1061
723
  ngOnInit() {
1062
724
  super.ngOnInit();
@@ -1200,7 +862,7 @@ class AutoComplete extends BaseComponent {
1200
862
  return this.dataKey; // TODO: The 'optionValue' properties can be added.
1201
863
  }
1202
864
  onContainerClick(event) {
1203
- if (this.disabled || this.loading || this.isInputClicked(event) || this.isDropdownClicked(event)) {
865
+ if (this.disabled() || this.loading || this.isInputClicked(event) || this.isDropdownClicked(event)) {
1204
866
  return;
1205
867
  }
1206
868
  if (!this.overlayViewChild || !this.overlayViewChild.overlayViewChild?.nativeElement.contains(event.target)) {
@@ -1224,12 +886,13 @@ class AutoComplete extends BaseComponent {
1224
886
  }
1225
887
  onInput(event) {
1226
888
  if (this.typeahead) {
889
+ const _minLength = this.minQueryLength || this.minLength;
1227
890
  if (this.searchTimeout) {
1228
891
  clearTimeout(this.searchTimeout);
1229
892
  }
1230
893
  let query = event.target.value;
1231
- if (this.maxlength !== null) {
1232
- query = query.split('').slice(0, this.maxlength).join('');
894
+ if (this.maxlength() !== null) {
895
+ query = query.split('').slice(0, this.maxlength()).join('');
1233
896
  }
1234
897
  if (!this.multiple && !this.forceSelection) {
1235
898
  this.updateModel(query);
@@ -1241,7 +904,7 @@ class AutoComplete extends BaseComponent {
1241
904
  }, this.delay / 2);
1242
905
  }
1243
906
  else {
1244
- if (query.length >= this.minLength) {
907
+ if (query.length >= _minLength) {
1245
908
  this.focusedOptionIndex.set(-1);
1246
909
  this.searchTimeout = setTimeout(() => {
1247
910
  this.search(event, query, 'input');
@@ -1270,7 +933,7 @@ class AutoComplete extends BaseComponent {
1270
933
  }
1271
934
  }
1272
935
  onInputFocus(event) {
1273
- if (this.disabled) {
936
+ if (this.disabled()) {
1274
937
  // For ScreenReaders
1275
938
  return;
1276
939
  }
@@ -1285,7 +948,7 @@ class AutoComplete extends BaseComponent {
1285
948
  this.onFocus.emit(event);
1286
949
  }
1287
950
  onMultipleContainerFocus(event) {
1288
- if (this.disabled) {
951
+ if (this.disabled()) {
1289
952
  // For ScreenReaders
1290
953
  return;
1291
954
  }
@@ -1296,7 +959,7 @@ class AutoComplete extends BaseComponent {
1296
959
  this.focused = false;
1297
960
  }
1298
961
  onMultipleContainerKeyDown(event) {
1299
- if (this.disabled) {
962
+ if (this.disabled()) {
1300
963
  event.preventDefault();
1301
964
  return;
1302
965
  }
@@ -1328,7 +991,7 @@ class AutoComplete extends BaseComponent {
1328
991
  this.onKeyUp.emit(event);
1329
992
  }
1330
993
  onKeyDown(event) {
1331
- if (this.disabled) {
994
+ if (this.disabled()) {
1332
995
  event.preventDefault();
1333
996
  return;
1334
997
  }
@@ -1405,11 +1068,6 @@ class AutoComplete extends BaseComponent {
1405
1068
  event.stopPropagation();
1406
1069
  }
1407
1070
  }
1408
- get hasFluid() {
1409
- const nativeElement = this.el.nativeElement;
1410
- const fluidComponent = nativeElement.closest('p-fluid');
1411
- return this.fluid || !!fluidComponent;
1412
- }
1413
1071
  onArrowLeftKey(event) {
1414
1072
  const target = event.currentTarget;
1415
1073
  this.focusedOptionIndex.set(-1);
@@ -1550,7 +1208,7 @@ class AutoComplete extends BaseComponent {
1550
1208
  }
1551
1209
  updateModel(value) {
1552
1210
  this.value = value;
1553
- this.modelValue.set(value);
1211
+ this.writeModelValue(value);
1554
1212
  this.onModelChange(value);
1555
1213
  this.updateInputValue();
1556
1214
  this.cd.markForCheck();
@@ -1627,7 +1285,7 @@ class AutoComplete extends BaseComponent {
1627
1285
  }
1628
1286
  writeValue(value) {
1629
1287
  this.value = value;
1630
- this.modelValue.set(value);
1288
+ this.writeModelValue(value);
1631
1289
  this.updateInputValue();
1632
1290
  this.cd.markForCheck();
1633
1291
  }
@@ -1643,7 +1301,7 @@ class AutoComplete extends BaseComponent {
1643
1301
  : index) + 1);
1644
1302
  }
1645
1303
  getOptionLabel(option) {
1646
- return this.field || this.optionLabel ? resolveFieldData(option, this.field || this.optionLabel) : option && option.label != undefined ? option.label : option;
1304
+ return this.optionLabel ? resolveFieldData(option, this.optionLabel) : option && option.label != undefined ? option.label : option;
1647
1305
  }
1648
1306
  getOptionValue(option) {
1649
1307
  return this.optionValue ? resolveFieldData(option, this.optionValue) : option && option.value != undefined ? option.value : option;
@@ -1663,10 +1321,6 @@ class AutoComplete extends BaseComponent {
1663
1321
  registerOnTouched(fn) {
1664
1322
  this.onModelTouched = fn;
1665
1323
  }
1666
- setDisabledState(val) {
1667
- this.disabled = val;
1668
- this.cd.markForCheck();
1669
- }
1670
1324
  onOverlayAnimationStart(event) {
1671
1325
  if (event.toState === 'visible') {
1672
1326
  this.itemsWrapper = findSingle(this.overlayViewChild.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-autocomplete-panel');
@@ -1697,476 +1351,497 @@ class AutoComplete extends BaseComponent {
1697
1351
  }
1698
1352
  super.ngOnDestroy();
1699
1353
  }
1700
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: AutoComplete, deps: [{ token: i1.OverlayService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1701
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.8", type: AutoComplete, isStandalone: true, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: { minLength: ["minLength", "minLength", numberAttribute], delay: ["delay", "delay", numberAttribute], style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", inputStyle: "inputStyle", inputId: "inputId", inputStyleClass: "inputStyleClass", placeholder: "placeholder", readonly: ["readonly", "readonly", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], scrollHeight: "scrollHeight", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", maxlength: ["maxlength", "maxlength", (value) => numberAttribute(value, null)], name: "name", required: ["required", "required", booleanAttribute], size: "size", appendTo: "appendTo", autoHighlight: ["autoHighlight", "autoHighlight", booleanAttribute], forceSelection: ["forceSelection", "forceSelection", booleanAttribute], type: "type", autoZIndex: ["autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], ariaLabel: "ariaLabel", dropdownAriaLabel: "dropdownAriaLabel", ariaLabelledBy: "ariaLabelledBy", dropdownIcon: "dropdownIcon", unique: ["unique", "unique", booleanAttribute], group: ["group", "group", booleanAttribute], completeOnFocus: ["completeOnFocus", "completeOnFocus", booleanAttribute], showClear: ["showClear", "showClear", booleanAttribute], field: "field", dropdown: ["dropdown", "dropdown", booleanAttribute], showEmptyMessage: ["showEmptyMessage", "showEmptyMessage", booleanAttribute], dropdownMode: "dropdownMode", multiple: ["multiple", "multiple", booleanAttribute], tabindex: ["tabindex", "tabindex", numberAttribute], dataKey: "dataKey", emptyMessage: "emptyMessage", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", autofocus: ["autofocus", "autofocus", booleanAttribute], autocomplete: "autocomplete", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", overlayOptions: "overlayOptions", suggestions: "suggestions", itemSize: "itemSize", optionLabel: "optionLabel", optionValue: "optionValue", id: "id", searchMessage: "searchMessage", emptySelectionMessage: "emptySelectionMessage", selectionMessage: "selectionMessage", autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: ["searchLocale", "searchLocale", booleanAttribute], optionDisabled: "optionDisabled", focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], typeahead: ["typeahead", "typeahead", booleanAttribute], variant: "variant", fluid: ["fluid", "fluid", booleanAttribute] }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick", onClear: "onClear", onKeyUp: "onKeyUp", onShow: "onShow", onHide: "onHide", onLazyLoad: "onLazyLoad" }, providers: [AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selecteditem"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], descendants: true }, { propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], descendants: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], descendants: true }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"], descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "containerEL", first: true, predicate: ["container"], descendants: true }, { propertyName: "inputEL", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "multiInputEl", first: true, predicate: ["multiIn"], descendants: true }, { propertyName: "multiContainerEL", first: true, predicate: ["multiContainer"], descendants: true }, { propertyName: "dropdownButton", first: true, predicate: ["ddBtn"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1702
- <div #container [ngClass]="rootClass" [ngStyle]="style" style="position: relative;" [class]="styleClass" (click)="onContainerClick($event)">
1703
- <input
1704
- *ngIf="!multiple"
1705
- #focusInput
1706
- [pAutoFocus]="autofocus"
1707
- pInputText
1708
- [ngClass]="'p-autocomplete-input'"
1709
- [ngStyle]="inputStyle"
1710
- [class]="inputStyleClass"
1711
- [type]="type"
1712
- [attr.value]="inputValue()"
1713
- [variant]="variant"
1714
- [attr.id]="inputId"
1715
- [autocomplete]="autocomplete"
1716
- [required]="required"
1717
- [name]="name"
1718
- aria-autocomplete="list"
1719
- role="combobox"
1720
- [attr.placeholder]="placeholder"
1721
- [pSize]="size"
1722
- [attr.maxlength]="maxlength"
1723
- [tabindex]="!disabled ? tabindex : -1"
1724
- [readonly]="readonly"
1725
- [disabled]="disabled"
1726
- [attr.aria-label]="ariaLabel"
1727
- [attr.aria-labelledby]="ariaLabelledBy"
1728
- [attr.aria-required]="required"
1729
- [attr.aria-expanded]="overlayVisible ?? false"
1730
- [attr.aria-controls]="overlayVisible ? id + '_list' : null"
1731
- [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
1732
- (input)="onInput($event)"
1733
- (keydown)="onKeyDown($event)"
1734
- (change)="onInputChange($event)"
1735
- (focus)="onInputFocus($event)"
1736
- (blur)="onInputBlur($event)"
1737
- (paste)="onInputPaste($event)"
1738
- (keyup)="onInputKeyUp($event)"
1739
- [fluid]="hasFluid"
1740
- />
1741
- <ng-container *ngIf="filled && !disabled && showClear && !loading">
1742
- <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [styleClass]="'p-autocomplete-clear-icon'" (click)="clear()" [attr.aria-hidden]="true" />
1743
- <span *ngIf="clearIconTemplate || _clearIconTemplate" class="p-autocomplete-clear-icon" (click)="clear()" [attr.aria-hidden]="true">
1744
- <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
1745
- </span>
1746
- </ng-container>
1354
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AutoComplete, deps: [{ token: i1.OverlayService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1355
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.6", type: AutoComplete, isStandalone: true, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: { minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: false, isRequired: false, transformFunction: numberAttribute }, minQueryLength: { classPropertyName: "minQueryLength", publicName: "minQueryLength", isSignal: false, isRequired: false, transformFunction: numberAttribute }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: false, isRequired: false, transformFunction: numberAttribute }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, inputStyleClass: { classPropertyName: "inputStyleClass", publicName: "inputStyleClass", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: false, isRequired: false, transformFunction: numberAttribute }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: false, isRequired: false, transformFunction: null }, autoHighlight: { classPropertyName: "autoHighlight", publicName: "autoHighlight", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, dropdownAriaLabel: { classPropertyName: "dropdownAriaLabel", publicName: "dropdownAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: false, isRequired: false, transformFunction: null }, unique: { classPropertyName: "unique", publicName: "unique", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, group: { classPropertyName: "group", publicName: "group", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, completeOnFocus: { classPropertyName: "completeOnFocus", publicName: "completeOnFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdown: { classPropertyName: "dropdown", publicName: "dropdown", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showEmptyMessage: { classPropertyName: "showEmptyMessage", publicName: "showEmptyMessage", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdownMode: { classPropertyName: "dropdownMode", publicName: "dropdownMode", isSignal: false, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: false, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: false, isRequired: false, transformFunction: null }, showTransitionOptions: { classPropertyName: "showTransitionOptions", publicName: "showTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransitionOptions: { classPropertyName: "hideTransitionOptions", publicName: "hideTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: false, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: false, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: false, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: false, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: false, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: false, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: false, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, searchMessage: { classPropertyName: "searchMessage", publicName: "searchMessage", isSignal: false, isRequired: false, transformFunction: null }, emptySelectionMessage: { classPropertyName: "emptySelectionMessage", publicName: "emptySelectionMessage", isSignal: false, isRequired: false, transformFunction: null }, selectionMessage: { classPropertyName: "selectionMessage", publicName: "selectionMessage", isSignal: false, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, searchLocale: { classPropertyName: "searchLocale", publicName: "searchLocale", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: false, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, typeahead: { classPropertyName: "typeahead", publicName: "typeahead", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick", onClear: "onClear", onKeyUp: "onKeyUp", onShow: "onShow", onHide: "onHide", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onHostClick($event)" }, properties: { "class": "cn(cx('root'), styleClass)", "style": "sx('root')" } }, providers: [AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selecteditem"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], descendants: true }, { propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], descendants: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], descendants: true }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"], descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "inputEL", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "multiInputEl", first: true, predicate: ["multiIn"], descendants: true }, { propertyName: "multiContainerEL", first: true, predicate: ["multiContainer"], descendants: true }, { propertyName: "dropdownButton", first: true, predicate: ["ddBtn"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1356
+ <input
1357
+ *ngIf="!multiple"
1358
+ #focusInput
1359
+ [pAutoFocus]="autofocus"
1360
+ pInputText
1361
+ [class]="cn(cx('pcInputText'), inputStyleClass)"
1362
+ [ngStyle]="inputStyle"
1363
+ [attr.type]="type"
1364
+ [attr.value]="inputValue()"
1365
+ [variant]="$variant()"
1366
+ [invalid]="invalid()"
1367
+ [attr.id]="inputId"
1368
+ [attr.autocomplete]="autocomplete"
1369
+ aria-autocomplete="list"
1370
+ role="combobox"
1371
+ [attr.placeholder]="placeholder"
1372
+ [attr.name]="name()"
1373
+ [attr.minlength]="minlength()"
1374
+ [pSize]="size()"
1375
+ [attr.min]="min()"
1376
+ [attr.max]="max()"
1377
+ [attr.pattern]="pattern()"
1378
+ [attr.size]="inputSize()"
1379
+ [attr.maxlength]="maxlength()"
1380
+ [attr.tabindex]="!disabled() ? tabindex : -1"
1381
+ [attr.required]="required() ? '' : undefined"
1382
+ [attr.readonly]="readonly ? '' : undefined"
1383
+ [attr.disabled]="disabled() ? '' : undefined"
1384
+ [attr.aria-label]="ariaLabel"
1385
+ [attr.aria-labelledby]="ariaLabelledBy"
1386
+ [attr.aria-required]="required()"
1387
+ [attr.aria-expanded]="overlayVisible ?? false"
1388
+ [attr.aria-controls]="overlayVisible ? id + '_list' : null"
1389
+ [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
1390
+ (input)="onInput($event)"
1391
+ (keydown)="onKeyDown($event)"
1392
+ (change)="onInputChange($event)"
1393
+ (focus)="onInputFocus($event)"
1394
+ (blur)="onInputBlur($event)"
1395
+ (paste)="onInputPaste($event)"
1396
+ (keyup)="onInputKeyUp($event)"
1397
+ [fluid]="hasFluid"
1398
+ />
1399
+ <ng-container *ngIf="$filled() && !disabled() && showClear && !loading">
1400
+ <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [styleClass]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
1401
+ <span *ngIf="clearIconTemplate || _clearIconTemplate" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
1402
+ <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
1403
+ </span>
1404
+ </ng-container>
1747
1405
 
1748
- <ul
1749
- *ngIf="multiple"
1750
- #multiContainer
1751
- [ngClass]="inputMultipleClass"
1752
- [tabindex]="-1"
1753
- role="listbox"
1754
- [attr.aria-orientation]="'horizontal'"
1755
- [attr.aria-activedescendant]="focused ? focusedMultipleOptionId : undefined"
1756
- (focus)="onMultipleContainerFocus($event)"
1757
- (blur)="onMultipleContainerBlur($event)"
1758
- (keydown)="onMultipleContainerKeyDown($event)"
1406
+ <ul
1407
+ *ngIf="multiple"
1408
+ #multiContainer
1409
+ [class]="cx('inputMultiple')"
1410
+ [tabindex]="-1"
1411
+ role="listbox"
1412
+ [attr.aria-orientation]="'horizontal'"
1413
+ [attr.aria-activedescendant]="focused ? focusedMultipleOptionId : undefined"
1414
+ (focus)="onMultipleContainerFocus($event)"
1415
+ (blur)="onMultipleContainerBlur($event)"
1416
+ (keydown)="onMultipleContainerKeyDown($event)"
1417
+ >
1418
+ <li
1419
+ #token
1420
+ *ngFor="let option of modelValue(); let i = index"
1421
+ [class]="cx('chipItem', { i })"
1422
+ [attr.id]="id + '_multiple_option_' + i"
1423
+ role="option"
1424
+ [attr.aria-label]="getOptionLabel(option)"
1425
+ [attr.aria-setsize]="modelValue().length"
1426
+ [attr.aria-posinset]="i + 1"
1427
+ [attr.aria-selected]="true"
1759
1428
  >
1760
- <li
1761
- #token
1762
- *ngFor="let option of modelValue(); let i = index"
1763
- [ngClass]="{ 'p-autocomplete-chip-item': true, 'p-focus': focusedMultipleOptionIndex() === i }"
1764
- [attr.id]="id + '_multiple_option_' + i"
1765
- role="option"
1766
- [attr.aria-label]="getOptionLabel(option)"
1767
- [attr.aria-setsize]="modelValue().length"
1768
- [attr.aria-posinset]="i + 1"
1769
- [attr.aria-selected]="true"
1770
- >
1771
- <p-chip styleClass="p-autocomplete-chip" [label]="!selectedItemTemplate && !_selectedItemTemplate && getOptionLabel(option)" [removable]="true" (onRemove)="!readonly ? removeOption($event, i) : ''">
1772
- <ng-container *ngTemplateOutlet="selectedItemTemplate || _selectedItemTemplate; context: { $implicit: option }"></ng-container>
1773
- <ng-template #removeicon>
1774
- <span *ngIf="!removeIconTemplate && !_removeIconTemplate" class="p-autocomplete-chip-icon" (click)="!readonly ? removeOption($event, i) : ''">
1775
- <TimesCircleIcon [styleClass]="'p-autocomplete-chip-icon'" [attr.aria-hidden]="true" />
1776
- </span>
1777
- <span *ngIf="removeIconTemplate || _removeIconTemplate" [attr.aria-hidden]="true">
1778
- <ng-template *ngTemplateOutlet="removeIconTemplate || _removeIconTemplate; context: { removeCallback: removeOption.bind(this), index: i, class: 'p-autocomplete-chip-icon' }"></ng-template>
1779
- </span>
1780
- </ng-template>
1781
- </p-chip>
1782
- </li>
1783
- <li class="p-autocomplete-input-chip" role="option">
1784
- <input
1785
- #focusInput
1786
- [pAutoFocus]="autofocus"
1787
- [ngClass]="inputClass"
1788
- [ngStyle]="inputStyle"
1789
- [class]="inputStyleClass"
1790
- [attr.type]="type"
1791
- [attr.id]="inputId"
1792
- [autocomplete]="autocomplete"
1793
- [required]="required"
1794
- [attr.name]="name"
1795
- role="combobox"
1796
- [attr.placeholder]="!filled ? placeholder : null"
1797
- aria-autocomplete="list"
1798
- [attr.maxlength]="maxlength"
1799
- [tabindex]="!disabled ? tabindex : -1"
1800
- [readonly]="readonly"
1801
- [disabled]="disabled"
1802
- [attr.aria-label]="ariaLabel"
1803
- [attr.aria-labelledby]="ariaLabelledBy"
1804
- [attr.aria-required]="required"
1805
- [attr.aria-expanded]="overlayVisible ?? false"
1806
- [attr.aria-controls]="overlayVisible ? id + '_list' : null"
1807
- [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
1808
- (input)="onInput($event)"
1809
- (keydown)="onKeyDown($event)"
1810
- (change)="onInputChange($event)"
1811
- (focus)="onInputFocus($event)"
1812
- (blur)="onInputBlur($event)"
1813
- (paste)="onInputPaste($event)"
1814
- (keyup)="onInputKeyUp($event)"
1815
- />
1816
- </li>
1817
- </ul>
1818
- <ng-container *ngIf="loading">
1819
- <SpinnerIcon *ngIf="!loadingIconTemplate && !_loadingIconTemplate" [styleClass]="'p-autocomplete-loader'" [spin]="true" [attr.aria-hidden]="true" />
1820
- <span *ngIf="loadingIconTemplate || _loadingIconTemplate" class="p-autocomplete-loader pi-spin " [attr.aria-hidden]="true">
1821
- <ng-template *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-template>
1822
- </span>
1429
+ <p-chip [class]="cx('pcChip')" [label]="!selectedItemTemplate && !_selectedItemTemplate && getOptionLabel(option)" [removable]="true" (onRemove)="!readonly ? removeOption($event, i) : ''">
1430
+ <ng-container *ngTemplateOutlet="selectedItemTemplate || _selectedItemTemplate; context: { $implicit: option }"></ng-container>
1431
+ <ng-template #removeicon>
1432
+ <span *ngIf="!removeIconTemplate && !_removeIconTemplate" [class]="cx('chipIcon')" (click)="!readonly ? removeOption($event, i) : ''">
1433
+ <TimesCircleIcon [styleClass]="cx('chipIcon')" [attr.aria-hidden]="true" />
1434
+ </span>
1435
+ <span *ngIf="removeIconTemplate || _removeIconTemplate" [attr.aria-hidden]="true">
1436
+ <ng-template *ngTemplateOutlet="removeIconTemplate || _removeIconTemplate; context: { removeCallback: removeOption.bind(this), index: i, class: cx('chipIcon') }"></ng-template>
1437
+ </span>
1438
+ </ng-template>
1439
+ </p-chip>
1440
+ </li>
1441
+ <li [class]="cx('inputChip')" role="option">
1442
+ <input
1443
+ #focusInput
1444
+ [pAutoFocus]="autofocus"
1445
+ [class]="cx('pcInputText')"
1446
+ [ngStyle]="inputStyle"
1447
+ [attr.type]="type"
1448
+ [attr.id]="inputId"
1449
+ [attr.autocomplete]="autocomplete"
1450
+ [attr.name]="name()"
1451
+ [attr.minlength]="minlength()"
1452
+ [attr.maxlength]="maxlength()"
1453
+ [attr.size]="size()"
1454
+ [attr.min]="min()"
1455
+ [attr.max]="max()"
1456
+ [attr.pattern]="pattern()"
1457
+ role="combobox"
1458
+ [attr.placeholder]="!$filled() ? placeholder : null"
1459
+ aria-autocomplete="list"
1460
+ [attr.tabindex]="!disabled() ? tabindex : -1"
1461
+ [attr.required]="required() ? '' : undefined"
1462
+ [attr.readonly]="readonly ? '' : undefined"
1463
+ [attr.disabled]="disabled() ? '' : undefined"
1464
+ [attr.aria-label]="ariaLabel"
1465
+ [attr.aria-labelledby]="ariaLabelledBy"
1466
+ [attr.aria-required]="required()"
1467
+ [attr.aria-expanded]="overlayVisible ?? false"
1468
+ [attr.aria-controls]="overlayVisible ? id + '_list' : null"
1469
+ [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
1470
+ (input)="onInput($event)"
1471
+ (keydown)="onKeyDown($event)"
1472
+ (change)="onInputChange($event)"
1473
+ (focus)="onInputFocus($event)"
1474
+ (blur)="onInputBlur($event)"
1475
+ (paste)="onInputPaste($event)"
1476
+ (keyup)="onInputKeyUp($event)"
1477
+ />
1478
+ </li>
1479
+ </ul>
1480
+ <ng-container *ngIf="loading">
1481
+ <SpinnerIcon *ngIf="!loadingIconTemplate && !_loadingIconTemplate" [styleClass]="cx('loader')" [spin]="true" [attr.aria-hidden]="true" />
1482
+ <span *ngIf="loadingIconTemplate || _loadingIconTemplate" [class]="cx('loader')" [attr.aria-hidden]="true">
1483
+ <ng-template *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-template>
1484
+ </span>
1485
+ </ng-container>
1486
+ <button #ddBtn type="button" [attr.aria-label]="dropdownAriaLabel" [class]="cx('dropdown')" [disabled]="disabled()" pRipple (click)="handleDropdownClick($event)" *ngIf="dropdown" [attr.tabindex]="tabindex">
1487
+ <span *ngIf="dropdownIcon" [ngClass]="dropdownIcon" [attr.aria-hidden]="true"></span>
1488
+ <ng-container *ngIf="!dropdownIcon">
1489
+ <ChevronDownIcon *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate" />
1490
+ <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate"></ng-template>
1823
1491
  </ng-container>
1824
- <button #ddBtn type="button" [attr.aria-label]="dropdownAriaLabel" class="p-autocomplete-dropdown" [disabled]="disabled" pRipple (click)="handleDropdownClick($event)" *ngIf="dropdown" [attr.tabindex]="tabindex">
1825
- <span *ngIf="dropdownIcon" [ngClass]="dropdownIcon" [attr.aria-hidden]="true"></span>
1826
- <ng-container *ngIf="!dropdownIcon">
1827
- <ChevronDownIcon *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate" />
1828
- <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate"></ng-template>
1829
- </ng-container>
1830
- </button>
1831
- <p-overlay
1832
- #overlay
1833
- [(visible)]="overlayVisible"
1834
- [options]="overlayOptions"
1835
- [target]="'@parent'"
1836
- [appendTo]="appendTo"
1837
- [showTransitionOptions]="showTransitionOptions"
1838
- [hideTransitionOptions]="hideTransitionOptions"
1839
- (onAnimationStart)="onOverlayAnimationStart($event)"
1840
- (onHide)="hide()"
1841
- >
1842
- <ng-template #content>
1843
- <div [ngClass]="panelClass" [ngStyle]="panelStyle" [class]="panelStyleClass">
1844
- <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
1845
- <div class="p-autocomplete-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight">
1846
- <p-scroller
1847
- *ngIf="virtualScroll"
1848
- #scroller
1849
- [items]="visibleOptions()"
1850
- [style]="{ height: scrollHeight }"
1851
- [itemSize]="virtualScrollItemSize || _itemSize"
1852
- [autoSize]="true"
1853
- [lazy]="lazy"
1854
- (onLazyLoad)="onLazyLoad.emit($event)"
1855
- [options]="virtualScrollOptions"
1856
- >
1857
- <ng-template #content let-items let-scrollerOptions="options">
1858
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1492
+ </button>
1493
+ <p-overlay
1494
+ #overlay
1495
+ [hostAttrSelector]="attrSelector"
1496
+ [(visible)]="overlayVisible"
1497
+ [options]="overlayOptions"
1498
+ [target]="'@parent'"
1499
+ [appendTo]="$appendTo()"
1500
+ [showTransitionOptions]="showTransitionOptions"
1501
+ [hideTransitionOptions]="hideTransitionOptions"
1502
+ (onAnimationStart)="onOverlayAnimationStart($event)"
1503
+ (onHide)="hide()"
1504
+ >
1505
+ <ng-template #content>
1506
+ <div [class]="cn(cx('overlay'), panelStyleClass)" [ngStyle]="panelStyle">
1507
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
1508
+ <div [class]="cx('listContainer')" [style.max-height]="virtualScroll ? 'auto' : scrollHeight">
1509
+ <p-scroller
1510
+ *ngIf="virtualScroll"
1511
+ #scroller
1512
+ [items]="visibleOptions()"
1513
+ [style]="{ height: scrollHeight }"
1514
+ [itemSize]="virtualScrollItemSize"
1515
+ [autoSize]="true"
1516
+ [lazy]="lazy"
1517
+ (onLazyLoad)="onLazyLoad.emit($event)"
1518
+ [options]="virtualScrollOptions"
1519
+ >
1520
+ <ng-template #content let-items let-scrollerOptions="options">
1521
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1522
+ </ng-template>
1523
+ <ng-container *ngIf="loaderTemplate || _loaderTemplate">
1524
+ <ng-template #loader let-scrollerOptions="options">
1525
+ <ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
1859
1526
  </ng-template>
1860
- <ng-container *ngIf="loaderTemplate || _loaderTemplate">
1861
- <ng-template #loader let-scrollerOptions="options">
1862
- <ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
1863
- </ng-template>
1864
- </ng-container>
1865
- </p-scroller>
1866
- <ng-container *ngIf="!virtualScroll">
1867
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
1868
1527
  </ng-container>
1869
- </div>
1870
-
1871
- <ng-template #buildInItems let-items let-scrollerOptions="options">
1872
- <ul #items class="p-autocomplete-list" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="id + '_list'" [attr.aria-label]="listLabel">
1873
- <ng-template ngFor let-option [ngForOf]="items" let-i="index">
1874
- <ng-container *ngIf="isOptionGroup(option)">
1875
- <li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-autocomplete-option-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
1876
- <span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
1877
- <ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
1878
- </li>
1879
- </ng-container>
1880
- <ng-container *ngIf="!isOptionGroup(option)">
1881
- <li
1882
- pRipple
1883
- [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
1884
- [ngClass]="optionClass(option, i, scrollerOptions)"
1885
- [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
1886
- role="option"
1887
- [attr.aria-label]="getOptionLabel(option)"
1888
- [attr.aria-selected]="isSelected(option)"
1889
- [attr.aria-disabled]="isOptionDisabled(option)"
1890
- [attr.data-p-focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
1891
- [attr.aria-setsize]="ariaSetSize"
1892
- [attr.aria-posinset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
1893
- (click)="onOptionSelect($event, option)"
1894
- (mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
1895
- >
1896
- <span *ngIf="!itemTemplate && !_itemTemplate">{{ getOptionLabel(option) }}</span>
1897
- <ng-container
1898
- *ngTemplateOutlet="
1899
- itemTemplate || _itemTemplate;
1900
- context: {
1901
- $implicit: option,
1902
- index: scrollerOptions.getOptions ? scrollerOptions.getOptions(i) : i
1903
- }
1904
- "
1905
- ></ng-container>
1906
- </li>
1907
- </ng-container>
1908
- </ng-template>
1909
- <li *ngIf="!items || (items && items.length === 0 && showEmptyMessage)" class="p-autocomplete-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
1910
- <ng-container *ngIf="!emptyTemplate && !_emptyTemplate; else empty">
1911
- {{ searchResultMessageText }}
1912
- </ng-container>
1913
- <ng-container #empty *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
1914
- </li>
1915
- </ul>
1916
- </ng-template>
1917
- <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
1528
+ </p-scroller>
1529
+ <ng-container *ngIf="!virtualScroll">
1530
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
1531
+ </ng-container>
1918
1532
  </div>
1919
- <span role="status" aria-live="polite" class="p-hidden-accessible">
1920
- {{ selectedMessageText }}
1921
- </span>
1922
- </ng-template>
1923
- </p-overlay>
1924
- </div>
1925
- `, 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: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["autofocus", "pAutoFocus"] }, { kind: "component", type: TimesCircleIcon, selector: "TimesCircleIcon" }, { kind: "component", type: SpinnerIcon, selector: "SpinnerIcon" }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "style", "styleClass", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1533
+
1534
+ <ng-template #buildInItems let-items let-scrollerOptions="options">
1535
+ <ul #items [class]="cn(cx('list'), scrollerOptions.contentStyleClass)" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="id + '_list'" [attr.aria-label]="listLabel">
1536
+ <ng-template ngFor let-option [ngForOf]="items" let-i="index">
1537
+ <ng-container *ngIf="isOptionGroup(option)">
1538
+ <li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" [class]="cx('optionGroup')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
1539
+ <span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
1540
+ <ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
1541
+ </li>
1542
+ </ng-container>
1543
+ <ng-container *ngIf="!isOptionGroup(option)">
1544
+ <li
1545
+ pRipple
1546
+ [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
1547
+ [class]="cx('option', { option, i, scrollerOptions })"
1548
+ [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
1549
+ role="option"
1550
+ [attr.aria-label]="getOptionLabel(option)"
1551
+ [attr.aria-selected]="isSelected(option)"
1552
+ [attr.aria-disabled]="isOptionDisabled(option)"
1553
+ [attr.data-p-focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
1554
+ [attr.aria-setsize]="ariaSetSize"
1555
+ [attr.aria-posinset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
1556
+ (click)="onOptionSelect($event, option)"
1557
+ (mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
1558
+ >
1559
+ <span *ngIf="!itemTemplate && !_itemTemplate">{{ getOptionLabel(option) }}</span>
1560
+ <ng-container
1561
+ *ngTemplateOutlet="
1562
+ itemTemplate || _itemTemplate;
1563
+ context: {
1564
+ $implicit: option,
1565
+ index: scrollerOptions.getOptions ? scrollerOptions.getOptions(i) : i
1566
+ }
1567
+ "
1568
+ ></ng-container>
1569
+ </li>
1570
+ </ng-container>
1571
+ </ng-template>
1572
+ <li *ngIf="!items || (items && items.length === 0 && showEmptyMessage)" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
1573
+ <ng-container *ngIf="!emptyTemplate && !_emptyTemplate; else empty">
1574
+ {{ searchResultMessageText }}
1575
+ </ng-container>
1576
+ <ng-container #empty *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
1577
+ </li>
1578
+ </ul>
1579
+ </ng-template>
1580
+ <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
1581
+ </div>
1582
+ <span role="status" aria-live="polite" class="p-hidden-accessible">
1583
+ {{ selectedMessageText }}
1584
+ </span>
1585
+ </ng-template>
1586
+ </p-overlay>
1587
+ `, 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: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["pSize", "variant", "fluid"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: TimesCircleIcon, selector: "TimesCircleIcon" }, { kind: "component", type: SpinnerIcon, selector: "SpinnerIcon" }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "styleClass", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1926
1588
  }
1927
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: AutoComplete, decorators: [{
1589
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AutoComplete, decorators: [{
1928
1590
  type: Component,
1929
1591
  args: [{
1930
1592
  selector: 'p-autoComplete, p-autocomplete, p-auto-complete',
1931
1593
  standalone: true,
1932
1594
  imports: [CommonModule, Overlay, InputText, Ripple, Scroller, AutoFocus, TimesCircleIcon, SpinnerIcon, TimesIcon, ChevronDownIcon, Chip, SharedModule],
1933
1595
  template: `
1934
- <div #container [ngClass]="rootClass" [ngStyle]="style" style="position: relative;" [class]="styleClass" (click)="onContainerClick($event)">
1935
- <input
1936
- *ngIf="!multiple"
1937
- #focusInput
1938
- [pAutoFocus]="autofocus"
1939
- pInputText
1940
- [ngClass]="'p-autocomplete-input'"
1941
- [ngStyle]="inputStyle"
1942
- [class]="inputStyleClass"
1943
- [type]="type"
1944
- [attr.value]="inputValue()"
1945
- [variant]="variant"
1946
- [attr.id]="inputId"
1947
- [autocomplete]="autocomplete"
1948
- [required]="required"
1949
- [name]="name"
1950
- aria-autocomplete="list"
1951
- role="combobox"
1952
- [attr.placeholder]="placeholder"
1953
- [pSize]="size"
1954
- [attr.maxlength]="maxlength"
1955
- [tabindex]="!disabled ? tabindex : -1"
1956
- [readonly]="readonly"
1957
- [disabled]="disabled"
1958
- [attr.aria-label]="ariaLabel"
1959
- [attr.aria-labelledby]="ariaLabelledBy"
1960
- [attr.aria-required]="required"
1961
- [attr.aria-expanded]="overlayVisible ?? false"
1962
- [attr.aria-controls]="overlayVisible ? id + '_list' : null"
1963
- [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
1964
- (input)="onInput($event)"
1965
- (keydown)="onKeyDown($event)"
1966
- (change)="onInputChange($event)"
1967
- (focus)="onInputFocus($event)"
1968
- (blur)="onInputBlur($event)"
1969
- (paste)="onInputPaste($event)"
1970
- (keyup)="onInputKeyUp($event)"
1971
- [fluid]="hasFluid"
1972
- />
1973
- <ng-container *ngIf="filled && !disabled && showClear && !loading">
1974
- <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [styleClass]="'p-autocomplete-clear-icon'" (click)="clear()" [attr.aria-hidden]="true" />
1975
- <span *ngIf="clearIconTemplate || _clearIconTemplate" class="p-autocomplete-clear-icon" (click)="clear()" [attr.aria-hidden]="true">
1976
- <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
1977
- </span>
1978
- </ng-container>
1596
+ <input
1597
+ *ngIf="!multiple"
1598
+ #focusInput
1599
+ [pAutoFocus]="autofocus"
1600
+ pInputText
1601
+ [class]="cn(cx('pcInputText'), inputStyleClass)"
1602
+ [ngStyle]="inputStyle"
1603
+ [attr.type]="type"
1604
+ [attr.value]="inputValue()"
1605
+ [variant]="$variant()"
1606
+ [invalid]="invalid()"
1607
+ [attr.id]="inputId"
1608
+ [attr.autocomplete]="autocomplete"
1609
+ aria-autocomplete="list"
1610
+ role="combobox"
1611
+ [attr.placeholder]="placeholder"
1612
+ [attr.name]="name()"
1613
+ [attr.minlength]="minlength()"
1614
+ [pSize]="size()"
1615
+ [attr.min]="min()"
1616
+ [attr.max]="max()"
1617
+ [attr.pattern]="pattern()"
1618
+ [attr.size]="inputSize()"
1619
+ [attr.maxlength]="maxlength()"
1620
+ [attr.tabindex]="!disabled() ? tabindex : -1"
1621
+ [attr.required]="required() ? '' : undefined"
1622
+ [attr.readonly]="readonly ? '' : undefined"
1623
+ [attr.disabled]="disabled() ? '' : undefined"
1624
+ [attr.aria-label]="ariaLabel"
1625
+ [attr.aria-labelledby]="ariaLabelledBy"
1626
+ [attr.aria-required]="required()"
1627
+ [attr.aria-expanded]="overlayVisible ?? false"
1628
+ [attr.aria-controls]="overlayVisible ? id + '_list' : null"
1629
+ [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
1630
+ (input)="onInput($event)"
1631
+ (keydown)="onKeyDown($event)"
1632
+ (change)="onInputChange($event)"
1633
+ (focus)="onInputFocus($event)"
1634
+ (blur)="onInputBlur($event)"
1635
+ (paste)="onInputPaste($event)"
1636
+ (keyup)="onInputKeyUp($event)"
1637
+ [fluid]="hasFluid"
1638
+ />
1639
+ <ng-container *ngIf="$filled() && !disabled() && showClear && !loading">
1640
+ <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [styleClass]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
1641
+ <span *ngIf="clearIconTemplate || _clearIconTemplate" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
1642
+ <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
1643
+ </span>
1644
+ </ng-container>
1979
1645
 
1980
- <ul
1981
- *ngIf="multiple"
1982
- #multiContainer
1983
- [ngClass]="inputMultipleClass"
1984
- [tabindex]="-1"
1985
- role="listbox"
1986
- [attr.aria-orientation]="'horizontal'"
1987
- [attr.aria-activedescendant]="focused ? focusedMultipleOptionId : undefined"
1988
- (focus)="onMultipleContainerFocus($event)"
1989
- (blur)="onMultipleContainerBlur($event)"
1990
- (keydown)="onMultipleContainerKeyDown($event)"
1646
+ <ul
1647
+ *ngIf="multiple"
1648
+ #multiContainer
1649
+ [class]="cx('inputMultiple')"
1650
+ [tabindex]="-1"
1651
+ role="listbox"
1652
+ [attr.aria-orientation]="'horizontal'"
1653
+ [attr.aria-activedescendant]="focused ? focusedMultipleOptionId : undefined"
1654
+ (focus)="onMultipleContainerFocus($event)"
1655
+ (blur)="onMultipleContainerBlur($event)"
1656
+ (keydown)="onMultipleContainerKeyDown($event)"
1657
+ >
1658
+ <li
1659
+ #token
1660
+ *ngFor="let option of modelValue(); let i = index"
1661
+ [class]="cx('chipItem', { i })"
1662
+ [attr.id]="id + '_multiple_option_' + i"
1663
+ role="option"
1664
+ [attr.aria-label]="getOptionLabel(option)"
1665
+ [attr.aria-setsize]="modelValue().length"
1666
+ [attr.aria-posinset]="i + 1"
1667
+ [attr.aria-selected]="true"
1991
1668
  >
1992
- <li
1993
- #token
1994
- *ngFor="let option of modelValue(); let i = index"
1995
- [ngClass]="{ 'p-autocomplete-chip-item': true, 'p-focus': focusedMultipleOptionIndex() === i }"
1996
- [attr.id]="id + '_multiple_option_' + i"
1997
- role="option"
1998
- [attr.aria-label]="getOptionLabel(option)"
1999
- [attr.aria-setsize]="modelValue().length"
2000
- [attr.aria-posinset]="i + 1"
2001
- [attr.aria-selected]="true"
2002
- >
2003
- <p-chip styleClass="p-autocomplete-chip" [label]="!selectedItemTemplate && !_selectedItemTemplate && getOptionLabel(option)" [removable]="true" (onRemove)="!readonly ? removeOption($event, i) : ''">
2004
- <ng-container *ngTemplateOutlet="selectedItemTemplate || _selectedItemTemplate; context: { $implicit: option }"></ng-container>
2005
- <ng-template #removeicon>
2006
- <span *ngIf="!removeIconTemplate && !_removeIconTemplate" class="p-autocomplete-chip-icon" (click)="!readonly ? removeOption($event, i) : ''">
2007
- <TimesCircleIcon [styleClass]="'p-autocomplete-chip-icon'" [attr.aria-hidden]="true" />
2008
- </span>
2009
- <span *ngIf="removeIconTemplate || _removeIconTemplate" [attr.aria-hidden]="true">
2010
- <ng-template *ngTemplateOutlet="removeIconTemplate || _removeIconTemplate; context: { removeCallback: removeOption.bind(this), index: i, class: 'p-autocomplete-chip-icon' }"></ng-template>
2011
- </span>
2012
- </ng-template>
2013
- </p-chip>
2014
- </li>
2015
- <li class="p-autocomplete-input-chip" role="option">
2016
- <input
2017
- #focusInput
2018
- [pAutoFocus]="autofocus"
2019
- [ngClass]="inputClass"
2020
- [ngStyle]="inputStyle"
2021
- [class]="inputStyleClass"
2022
- [attr.type]="type"
2023
- [attr.id]="inputId"
2024
- [autocomplete]="autocomplete"
2025
- [required]="required"
2026
- [attr.name]="name"
2027
- role="combobox"
2028
- [attr.placeholder]="!filled ? placeholder : null"
2029
- aria-autocomplete="list"
2030
- [attr.maxlength]="maxlength"
2031
- [tabindex]="!disabled ? tabindex : -1"
2032
- [readonly]="readonly"
2033
- [disabled]="disabled"
2034
- [attr.aria-label]="ariaLabel"
2035
- [attr.aria-labelledby]="ariaLabelledBy"
2036
- [attr.aria-required]="required"
2037
- [attr.aria-expanded]="overlayVisible ?? false"
2038
- [attr.aria-controls]="overlayVisible ? id + '_list' : null"
2039
- [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
2040
- (input)="onInput($event)"
2041
- (keydown)="onKeyDown($event)"
2042
- (change)="onInputChange($event)"
2043
- (focus)="onInputFocus($event)"
2044
- (blur)="onInputBlur($event)"
2045
- (paste)="onInputPaste($event)"
2046
- (keyup)="onInputKeyUp($event)"
2047
- />
2048
- </li>
2049
- </ul>
2050
- <ng-container *ngIf="loading">
2051
- <SpinnerIcon *ngIf="!loadingIconTemplate && !_loadingIconTemplate" [styleClass]="'p-autocomplete-loader'" [spin]="true" [attr.aria-hidden]="true" />
2052
- <span *ngIf="loadingIconTemplate || _loadingIconTemplate" class="p-autocomplete-loader pi-spin " [attr.aria-hidden]="true">
2053
- <ng-template *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-template>
2054
- </span>
1669
+ <p-chip [class]="cx('pcChip')" [label]="!selectedItemTemplate && !_selectedItemTemplate && getOptionLabel(option)" [removable]="true" (onRemove)="!readonly ? removeOption($event, i) : ''">
1670
+ <ng-container *ngTemplateOutlet="selectedItemTemplate || _selectedItemTemplate; context: { $implicit: option }"></ng-container>
1671
+ <ng-template #removeicon>
1672
+ <span *ngIf="!removeIconTemplate && !_removeIconTemplate" [class]="cx('chipIcon')" (click)="!readonly ? removeOption($event, i) : ''">
1673
+ <TimesCircleIcon [styleClass]="cx('chipIcon')" [attr.aria-hidden]="true" />
1674
+ </span>
1675
+ <span *ngIf="removeIconTemplate || _removeIconTemplate" [attr.aria-hidden]="true">
1676
+ <ng-template *ngTemplateOutlet="removeIconTemplate || _removeIconTemplate; context: { removeCallback: removeOption.bind(this), index: i, class: cx('chipIcon') }"></ng-template>
1677
+ </span>
1678
+ </ng-template>
1679
+ </p-chip>
1680
+ </li>
1681
+ <li [class]="cx('inputChip')" role="option">
1682
+ <input
1683
+ #focusInput
1684
+ [pAutoFocus]="autofocus"
1685
+ [class]="cx('pcInputText')"
1686
+ [ngStyle]="inputStyle"
1687
+ [attr.type]="type"
1688
+ [attr.id]="inputId"
1689
+ [attr.autocomplete]="autocomplete"
1690
+ [attr.name]="name()"
1691
+ [attr.minlength]="minlength()"
1692
+ [attr.maxlength]="maxlength()"
1693
+ [attr.size]="size()"
1694
+ [attr.min]="min()"
1695
+ [attr.max]="max()"
1696
+ [attr.pattern]="pattern()"
1697
+ role="combobox"
1698
+ [attr.placeholder]="!$filled() ? placeholder : null"
1699
+ aria-autocomplete="list"
1700
+ [attr.tabindex]="!disabled() ? tabindex : -1"
1701
+ [attr.required]="required() ? '' : undefined"
1702
+ [attr.readonly]="readonly ? '' : undefined"
1703
+ [attr.disabled]="disabled() ? '' : undefined"
1704
+ [attr.aria-label]="ariaLabel"
1705
+ [attr.aria-labelledby]="ariaLabelledBy"
1706
+ [attr.aria-required]="required()"
1707
+ [attr.aria-expanded]="overlayVisible ?? false"
1708
+ [attr.aria-controls]="overlayVisible ? id + '_list' : null"
1709
+ [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
1710
+ (input)="onInput($event)"
1711
+ (keydown)="onKeyDown($event)"
1712
+ (change)="onInputChange($event)"
1713
+ (focus)="onInputFocus($event)"
1714
+ (blur)="onInputBlur($event)"
1715
+ (paste)="onInputPaste($event)"
1716
+ (keyup)="onInputKeyUp($event)"
1717
+ />
1718
+ </li>
1719
+ </ul>
1720
+ <ng-container *ngIf="loading">
1721
+ <SpinnerIcon *ngIf="!loadingIconTemplate && !_loadingIconTemplate" [styleClass]="cx('loader')" [spin]="true" [attr.aria-hidden]="true" />
1722
+ <span *ngIf="loadingIconTemplate || _loadingIconTemplate" [class]="cx('loader')" [attr.aria-hidden]="true">
1723
+ <ng-template *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-template>
1724
+ </span>
1725
+ </ng-container>
1726
+ <button #ddBtn type="button" [attr.aria-label]="dropdownAriaLabel" [class]="cx('dropdown')" [disabled]="disabled()" pRipple (click)="handleDropdownClick($event)" *ngIf="dropdown" [attr.tabindex]="tabindex">
1727
+ <span *ngIf="dropdownIcon" [ngClass]="dropdownIcon" [attr.aria-hidden]="true"></span>
1728
+ <ng-container *ngIf="!dropdownIcon">
1729
+ <ChevronDownIcon *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate" />
1730
+ <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate"></ng-template>
2055
1731
  </ng-container>
2056
- <button #ddBtn type="button" [attr.aria-label]="dropdownAriaLabel" class="p-autocomplete-dropdown" [disabled]="disabled" pRipple (click)="handleDropdownClick($event)" *ngIf="dropdown" [attr.tabindex]="tabindex">
2057
- <span *ngIf="dropdownIcon" [ngClass]="dropdownIcon" [attr.aria-hidden]="true"></span>
2058
- <ng-container *ngIf="!dropdownIcon">
2059
- <ChevronDownIcon *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate" />
2060
- <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate"></ng-template>
2061
- </ng-container>
2062
- </button>
2063
- <p-overlay
2064
- #overlay
2065
- [(visible)]="overlayVisible"
2066
- [options]="overlayOptions"
2067
- [target]="'@parent'"
2068
- [appendTo]="appendTo"
2069
- [showTransitionOptions]="showTransitionOptions"
2070
- [hideTransitionOptions]="hideTransitionOptions"
2071
- (onAnimationStart)="onOverlayAnimationStart($event)"
2072
- (onHide)="hide()"
2073
- >
2074
- <ng-template #content>
2075
- <div [ngClass]="panelClass" [ngStyle]="panelStyle" [class]="panelStyleClass">
2076
- <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
2077
- <div class="p-autocomplete-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight">
2078
- <p-scroller
2079
- *ngIf="virtualScroll"
2080
- #scroller
2081
- [items]="visibleOptions()"
2082
- [style]="{ height: scrollHeight }"
2083
- [itemSize]="virtualScrollItemSize || _itemSize"
2084
- [autoSize]="true"
2085
- [lazy]="lazy"
2086
- (onLazyLoad)="onLazyLoad.emit($event)"
2087
- [options]="virtualScrollOptions"
2088
- >
2089
- <ng-template #content let-items let-scrollerOptions="options">
2090
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1732
+ </button>
1733
+ <p-overlay
1734
+ #overlay
1735
+ [hostAttrSelector]="attrSelector"
1736
+ [(visible)]="overlayVisible"
1737
+ [options]="overlayOptions"
1738
+ [target]="'@parent'"
1739
+ [appendTo]="$appendTo()"
1740
+ [showTransitionOptions]="showTransitionOptions"
1741
+ [hideTransitionOptions]="hideTransitionOptions"
1742
+ (onAnimationStart)="onOverlayAnimationStart($event)"
1743
+ (onHide)="hide()"
1744
+ >
1745
+ <ng-template #content>
1746
+ <div [class]="cn(cx('overlay'), panelStyleClass)" [ngStyle]="panelStyle">
1747
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
1748
+ <div [class]="cx('listContainer')" [style.max-height]="virtualScroll ? 'auto' : scrollHeight">
1749
+ <p-scroller
1750
+ *ngIf="virtualScroll"
1751
+ #scroller
1752
+ [items]="visibleOptions()"
1753
+ [style]="{ height: scrollHeight }"
1754
+ [itemSize]="virtualScrollItemSize"
1755
+ [autoSize]="true"
1756
+ [lazy]="lazy"
1757
+ (onLazyLoad)="onLazyLoad.emit($event)"
1758
+ [options]="virtualScrollOptions"
1759
+ >
1760
+ <ng-template #content let-items let-scrollerOptions="options">
1761
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1762
+ </ng-template>
1763
+ <ng-container *ngIf="loaderTemplate || _loaderTemplate">
1764
+ <ng-template #loader let-scrollerOptions="options">
1765
+ <ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
2091
1766
  </ng-template>
2092
- <ng-container *ngIf="loaderTemplate || _loaderTemplate">
2093
- <ng-template #loader let-scrollerOptions="options">
2094
- <ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
2095
- </ng-template>
2096
- </ng-container>
2097
- </p-scroller>
2098
- <ng-container *ngIf="!virtualScroll">
2099
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
2100
1767
  </ng-container>
2101
- </div>
2102
-
2103
- <ng-template #buildInItems let-items let-scrollerOptions="options">
2104
- <ul #items class="p-autocomplete-list" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="id + '_list'" [attr.aria-label]="listLabel">
2105
- <ng-template ngFor let-option [ngForOf]="items" let-i="index">
2106
- <ng-container *ngIf="isOptionGroup(option)">
2107
- <li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-autocomplete-option-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2108
- <span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
2109
- <ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
2110
- </li>
2111
- </ng-container>
2112
- <ng-container *ngIf="!isOptionGroup(option)">
2113
- <li
2114
- pRipple
2115
- [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
2116
- [ngClass]="optionClass(option, i, scrollerOptions)"
2117
- [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
2118
- role="option"
2119
- [attr.aria-label]="getOptionLabel(option)"
2120
- [attr.aria-selected]="isSelected(option)"
2121
- [attr.aria-disabled]="isOptionDisabled(option)"
2122
- [attr.data-p-focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
2123
- [attr.aria-setsize]="ariaSetSize"
2124
- [attr.aria-posinset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
2125
- (click)="onOptionSelect($event, option)"
2126
- (mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
2127
- >
2128
- <span *ngIf="!itemTemplate && !_itemTemplate">{{ getOptionLabel(option) }}</span>
2129
- <ng-container
2130
- *ngTemplateOutlet="
2131
- itemTemplate || _itemTemplate;
2132
- context: {
2133
- $implicit: option,
2134
- index: scrollerOptions.getOptions ? scrollerOptions.getOptions(i) : i
2135
- }
2136
- "
2137
- ></ng-container>
2138
- </li>
2139
- </ng-container>
2140
- </ng-template>
2141
- <li *ngIf="!items || (items && items.length === 0 && showEmptyMessage)" class="p-autocomplete-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2142
- <ng-container *ngIf="!emptyTemplate && !_emptyTemplate; else empty">
2143
- {{ searchResultMessageText }}
2144
- </ng-container>
2145
- <ng-container #empty *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
2146
- </li>
2147
- </ul>
2148
- </ng-template>
2149
- <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
1768
+ </p-scroller>
1769
+ <ng-container *ngIf="!virtualScroll">
1770
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
1771
+ </ng-container>
2150
1772
  </div>
2151
- <span role="status" aria-live="polite" class="p-hidden-accessible">
2152
- {{ selectedMessageText }}
2153
- </span>
2154
- </ng-template>
2155
- </p-overlay>
2156
- </div>
1773
+
1774
+ <ng-template #buildInItems let-items let-scrollerOptions="options">
1775
+ <ul #items [class]="cn(cx('list'), scrollerOptions.contentStyleClass)" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="id + '_list'" [attr.aria-label]="listLabel">
1776
+ <ng-template ngFor let-option [ngForOf]="items" let-i="index">
1777
+ <ng-container *ngIf="isOptionGroup(option)">
1778
+ <li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" [class]="cx('optionGroup')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
1779
+ <span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
1780
+ <ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
1781
+ </li>
1782
+ </ng-container>
1783
+ <ng-container *ngIf="!isOptionGroup(option)">
1784
+ <li
1785
+ pRipple
1786
+ [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
1787
+ [class]="cx('option', { option, i, scrollerOptions })"
1788
+ [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
1789
+ role="option"
1790
+ [attr.aria-label]="getOptionLabel(option)"
1791
+ [attr.aria-selected]="isSelected(option)"
1792
+ [attr.aria-disabled]="isOptionDisabled(option)"
1793
+ [attr.data-p-focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
1794
+ [attr.aria-setsize]="ariaSetSize"
1795
+ [attr.aria-posinset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
1796
+ (click)="onOptionSelect($event, option)"
1797
+ (mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
1798
+ >
1799
+ <span *ngIf="!itemTemplate && !_itemTemplate">{{ getOptionLabel(option) }}</span>
1800
+ <ng-container
1801
+ *ngTemplateOutlet="
1802
+ itemTemplate || _itemTemplate;
1803
+ context: {
1804
+ $implicit: option,
1805
+ index: scrollerOptions.getOptions ? scrollerOptions.getOptions(i) : i
1806
+ }
1807
+ "
1808
+ ></ng-container>
1809
+ </li>
1810
+ </ng-container>
1811
+ </ng-template>
1812
+ <li *ngIf="!items || (items && items.length === 0 && showEmptyMessage)" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
1813
+ <ng-container *ngIf="!emptyTemplate && !_emptyTemplate; else empty">
1814
+ {{ searchResultMessageText }}
1815
+ </ng-container>
1816
+ <ng-container #empty *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
1817
+ </li>
1818
+ </ul>
1819
+ </ng-template>
1820
+ <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
1821
+ </div>
1822
+ <span role="status" aria-live="polite" class="p-hidden-accessible">
1823
+ {{ selectedMessageText }}
1824
+ </span>
1825
+ </ng-template>
1826
+ </p-overlay>
2157
1827
  `,
2158
1828
  providers: [AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle],
2159
1829
  changeDetection: ChangeDetectionStrategy.OnPush,
2160
- encapsulation: ViewEncapsulation.None
1830
+ encapsulation: ViewEncapsulation.None,
1831
+ host: {
1832
+ '[class]': "cn(cx('root'), styleClass)",
1833
+ '[style]': "sx('root')"
1834
+ }
2161
1835
  }]
2162
1836
  }], ctorParameters: () => [{ type: i1.OverlayService }, { type: i0.NgZone }], propDecorators: { minLength: [{
2163
1837
  type: Input,
2164
1838
  args: [{ transform: numberAttribute }]
1839
+ }], minQueryLength: [{
1840
+ type: Input,
1841
+ args: [{ transform: numberAttribute }]
2165
1842
  }], delay: [{
2166
1843
  type: Input,
2167
1844
  args: [{ transform: numberAttribute }]
2168
- }], style: [{
2169
- type: Input
2170
1845
  }], panelStyle: [{
2171
1846
  type: Input
2172
1847
  }], styleClass: [{
@@ -2184,9 +1859,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
2184
1859
  }], readonly: [{
2185
1860
  type: Input,
2186
1861
  args: [{ transform: booleanAttribute }]
2187
- }], disabled: [{
2188
- type: Input,
2189
- args: [{ transform: booleanAttribute }]
2190
1862
  }], scrollHeight: [{
2191
1863
  type: Input
2192
1864
  }], lazy: [{
@@ -2200,18 +1872,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
2200
1872
  args: [{ transform: numberAttribute }]
2201
1873
  }], virtualScrollOptions: [{
2202
1874
  type: Input
2203
- }], maxlength: [{
2204
- type: Input,
2205
- args: [{ transform: (value) => numberAttribute(value, null) }]
2206
- }], name: [{
2207
- type: Input
2208
- }], required: [{
2209
- type: Input,
2210
- args: [{ transform: booleanAttribute }]
2211
- }], size: [{
2212
- type: Input
2213
- }], appendTo: [{
2214
- type: Input
2215
1875
  }], autoHighlight: [{
2216
1876
  type: Input,
2217
1877
  args: [{ transform: booleanAttribute }]
@@ -2246,8 +1906,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
2246
1906
  }], showClear: [{
2247
1907
  type: Input,
2248
1908
  args: [{ transform: booleanAttribute }]
2249
- }], field: [{
2250
- type: Input
2251
1909
  }], dropdown: [{
2252
1910
  type: Input,
2253
1911
  args: [{ transform: booleanAttribute }]
@@ -2283,8 +1941,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
2283
1941
  type: Input
2284
1942
  }], suggestions: [{
2285
1943
  type: Input
2286
- }], itemSize: [{
2287
- type: Input
2288
1944
  }], optionLabel: [{
2289
1945
  type: Input
2290
1946
  }], optionValue: [{
@@ -2314,11 +1970,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
2314
1970
  }], typeahead: [{
2315
1971
  type: Input,
2316
1972
  args: [{ transform: booleanAttribute }]
2317
- }], variant: [{
2318
- type: Input
2319
- }], fluid: [{
2320
- type: Input,
2321
- args: [{ transform: booleanAttribute }]
2322
1973
  }], completeMethod: [{
2323
1974
  type: Output
2324
1975
  }], onSelect: [{
@@ -2341,9 +1992,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
2341
1992
  type: Output
2342
1993
  }], onLazyLoad: [{
2343
1994
  type: Output
2344
- }], containerEL: [{
2345
- type: ViewChild,
2346
- args: ['container']
2347
1995
  }], inputEL: [{
2348
1996
  type: ViewChild,
2349
1997
  args: ['focusInput']
@@ -2398,16 +2046,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
2398
2046
  }], dropdownIconTemplate: [{
2399
2047
  type: ContentChild,
2400
2048
  args: ['dropdownicon']
2049
+ }], onHostClick: [{
2050
+ type: HostListener,
2051
+ args: ['click', ['$event']]
2401
2052
  }], templates: [{
2402
2053
  type: ContentChildren,
2403
2054
  args: [PrimeTemplate]
2404
2055
  }] } });
2405
2056
  class AutoCompleteModule {
2406
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2407
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.8", ngImport: i0, type: AutoCompleteModule, imports: [AutoComplete], exports: [AutoComplete, SharedModule] });
2408
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: AutoCompleteModule, imports: [AutoComplete, SharedModule] });
2057
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2058
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AutoCompleteModule, imports: [AutoComplete], exports: [AutoComplete, SharedModule] });
2059
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AutoCompleteModule, imports: [AutoComplete, SharedModule] });
2409
2060
  }
2410
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: AutoCompleteModule, decorators: [{
2061
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AutoCompleteModule, decorators: [{
2411
2062
  type: NgModule,
2412
2063
  args: [{
2413
2064
  imports: [AutoComplete],