primeng 18.0.0-rc.1 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. package/LICENSE.md +1 -1
  2. package/accordion/accordion.d.ts +2 -4
  3. package/api/primeicons.d.ts +3 -3
  4. package/api/scrolleroptions.d.ts +10 -0
  5. package/api/selectitemgroup.d.ts +2 -2
  6. package/api/shared.d.ts +2 -2
  7. package/autocomplete/autocomplete.d.ts +6 -7
  8. package/badge/badge.d.ts +16 -2
  9. package/blockui/blockui.d.ts +2 -2
  10. package/breadcrumb/breadcrumb.d.ts +3 -4
  11. package/button/button.d.ts +3 -4
  12. package/calendar/calendar.d.ts +12 -12
  13. package/card/card.d.ts +2 -2
  14. package/carousel/carousel.d.ts +3 -3
  15. package/cascadeselect/cascadeselect.d.ts +31 -15
  16. package/cascadeselect/style/cascadeselectstyle.d.ts +8 -1
  17. package/checkbox/checkbox.d.ts +2 -2
  18. package/chip/chip.d.ts +2 -2
  19. package/config/primeng.d.ts +12 -6
  20. package/config/provideprimeng.d.ts +1 -12
  21. package/config/themeprovider.d.ts +10 -4
  22. package/confirmdialog/confirmdialog.d.ts +4 -3
  23. package/confirmpopup/confirmpopup.d.ts +3 -4
  24. package/contextmenu/contextmenu.d.ts +2 -2
  25. package/dataview/dataview.d.ts +9 -10
  26. package/datepicker/datepicker.d.ts +8 -8
  27. package/defer/defer.d.ts +2 -0
  28. package/dialog/dialog.d.ts +4 -4
  29. package/drawer/drawer.d.ts +2 -2
  30. package/dropdown/dropdown.d.ts +0 -23
  31. package/editor/editor.d.ts +2 -2
  32. package/esm2022/accordion/accordion.mjs +9 -35
  33. package/esm2022/accordion/style/accordionstyle.mjs +9 -7
  34. package/esm2022/api/primeicons.mjs +4 -4
  35. package/esm2022/api/scrolleroptions.mjs +1 -1
  36. package/esm2022/api/selectitemgroup.mjs +1 -1
  37. package/esm2022/api/shared.mjs +6 -6
  38. package/esm2022/autocomplete/autocomplete.mjs +272 -308
  39. package/esm2022/autocomplete/style/autocompletestyle.mjs +16 -15
  40. package/esm2022/avatar/avatar.mjs +3 -3
  41. package/esm2022/avatar/style/avatarstyle.mjs +3 -3
  42. package/esm2022/badge/badge.mjs +33 -3
  43. package/esm2022/badge/style/badgestyle.mjs +3 -3
  44. package/esm2022/base/style/basestyle.mjs +6 -4
  45. package/esm2022/basecomponent/basecomponent.mjs +8 -2
  46. package/esm2022/blockui/blockui.mjs +6 -6
  47. package/esm2022/breadcrumb/breadcrumb.mjs +94 -101
  48. package/esm2022/breadcrumb/style/breadcrumbstyle.mjs +5 -1
  49. package/esm2022/button/button.mjs +19 -37
  50. package/esm2022/button/style/buttonstyle.mjs +17 -7
  51. package/esm2022/buttongroup/style/buttongroupstyle.mjs +9 -9
  52. package/esm2022/calendar/calendar.mjs +115 -115
  53. package/esm2022/calendar/style/calendarstyle.mjs +5 -5
  54. package/esm2022/card/card.mjs +10 -9
  55. package/esm2022/carousel/carousel.mjs +20 -19
  56. package/esm2022/carousel/style/carouselstyle.mjs +10 -1
  57. package/esm2022/cascadeselect/cascadeselect.mjs +182 -107
  58. package/esm2022/cascadeselect/style/cascadeselectstyle.mjs +37 -22
  59. package/esm2022/checkbox/checkbox.mjs +8 -8
  60. package/esm2022/chip/chip.mjs +10 -10
  61. package/esm2022/chip/style/chipstyle.mjs +2 -2
  62. package/esm2022/colorpicker/colorpicker.mjs +2 -2
  63. package/esm2022/colorpicker/style/colorpickerstyle.mjs +29 -1
  64. package/esm2022/config/primeng.mjs +14 -18
  65. package/esm2022/config/provideprimeng.mjs +11 -3
  66. package/esm2022/config/themeprovider.mjs +10 -16
  67. package/esm2022/confirmdialog/confirmdialog.mjs +26 -18
  68. package/esm2022/confirmpopup/confirmpopup.mjs +45 -36
  69. package/esm2022/contextmenu/contextmenu.mjs +13 -13
  70. package/esm2022/contextmenu/style/contextmenustyle.mjs +11 -1
  71. package/esm2022/dataview/dataview.mjs +39 -113
  72. package/esm2022/datepicker/datepicker.mjs +93 -93
  73. package/esm2022/datepicker/style/datepickerstyle.mjs +23 -16
  74. package/esm2022/defer/defer.mjs +7 -1
  75. package/esm2022/dialog/dialog.mjs +44 -43
  76. package/esm2022/dialog/style/dialogstyle.mjs +22 -1
  77. package/esm2022/divider/style/dividerstyle.mjs +18 -14
  78. package/esm2022/dock/style/dockstyle.mjs +11 -1
  79. package/esm2022/drawer/drawer.mjs +11 -11
  80. package/esm2022/drawer/style/drawerstyle.mjs +5 -1
  81. package/esm2022/dropdown/dropdown.mjs +4 -18
  82. package/esm2022/dropdown/style/dropdownstyle.mjs +4 -4
  83. package/esm2022/dynamicdialog/dialogservice.mjs +2 -2
  84. package/esm2022/editor/editor.mjs +1 -1
  85. package/esm2022/editor/style/editorstyle.mjs +52 -158
  86. package/esm2022/fieldset/fieldset.mjs +20 -21
  87. package/esm2022/fileupload/fileupload.mjs +108 -68
  88. package/esm2022/floatlabel/style/floatlabelstyle.mjs +5 -5
  89. package/esm2022/galleria/galleria.mjs +6 -1
  90. package/esm2022/galleria/style/galleriastyle.mjs +18 -1
  91. package/esm2022/iconfield/style/iconfieldstyle.mjs +2 -2
  92. package/esm2022/iftalabel/iftalabel.mjs +6 -6
  93. package/esm2022/iftalabel/style/iftalabelstyle.mjs +5 -5
  94. package/esm2022/image/image.mjs +37 -70
  95. package/esm2022/image/style/imagestyle.mjs +7 -7
  96. package/esm2022/imagecompare/imagecompare.mjs +158 -0
  97. package/esm2022/imagecompare/primeng-imagecompare.mjs +5 -0
  98. package/esm2022/imagecompare/public_api.mjs +3 -0
  99. package/esm2022/imagecompare/style/imagecomparestyle.mjs +124 -0
  100. package/esm2022/inplace/inplace.mjs +8 -8
  101. package/esm2022/inputmask/inputmask.mjs +13 -13
  102. package/esm2022/inputmask/style/inputmaskstyle.mjs +14 -7
  103. package/esm2022/inputnumber/inputnumber.mjs +44 -46
  104. package/esm2022/inputnumber/style/inputnumberstyle.mjs +27 -19
  105. package/esm2022/inputotp/inputotp.mjs +4 -16
  106. package/esm2022/inputtext/inputtext.mjs +11 -10
  107. package/esm2022/inputtext/style/inputtextstyle.mjs +15 -9
  108. package/esm2022/keyfilter/keyfilter.mjs +4 -3
  109. package/esm2022/listbox/listbox.mjs +8 -53
  110. package/esm2022/megamenu/megamenu.mjs +18 -18
  111. package/esm2022/megamenu/style/megamenustyle.mjs +17 -1
  112. package/esm2022/menu/menu.mjs +47 -29
  113. package/esm2022/menubar/menubar.mjs +25 -25
  114. package/esm2022/menubar/style/menubarstyle.mjs +22 -2
  115. package/esm2022/message/message.mjs +12 -12
  116. package/esm2022/messages/messages.mjs +2 -1
  117. package/esm2022/metergroup/style/metergroupstyle.mjs +9 -9
  118. package/esm2022/multiselect/multiselect.mjs +214 -202
  119. package/esm2022/multiselect/style/multiselectstyle.mjs +13 -18
  120. package/esm2022/orderlist/orderlist.mjs +38 -80
  121. package/esm2022/organizationchart/style/organizationchartstyle.mjs +11 -22
  122. package/esm2022/overlay/style/overlaystyle.mjs +2 -2
  123. package/esm2022/overlaypanel/overlaypanel.mjs +25 -25
  124. package/esm2022/paginator/paginator.mjs +48 -48
  125. package/esm2022/paginator/style/paginatorstyle.mjs +10 -3
  126. package/esm2022/panel/panel.mjs +17 -37
  127. package/esm2022/panelmenu/panelmenu.mjs +32 -43
  128. package/esm2022/panelmenu/style/panelmenustyle.mjs +13 -5
  129. package/esm2022/password/password.mjs +53 -30
  130. package/esm2022/password/style/passwordstyle.mjs +14 -6
  131. package/esm2022/picklist/picklist.mjs +136 -112
  132. package/esm2022/popover/popover.mjs +22 -26
  133. package/esm2022/progressbar/style/progressbarstyle.mjs +29 -29
  134. package/esm2022/radiobutton/style/radiobuttonstyle.mjs +2 -2
  135. package/esm2022/rating/rating.mjs +12 -12
  136. package/esm2022/ripple/ripple.mjs +5 -2
  137. package/esm2022/scroller/scroller.mjs +9 -9
  138. package/esm2022/scrollpanel/scrollpanel.mjs +4 -4
  139. package/esm2022/scrollpanel/style/scrollpanelstyle.mjs +3 -2
  140. package/esm2022/scrolltop/style/scrolltopstyle.mjs +7 -2
  141. package/esm2022/select/select.mjs +70 -116
  142. package/esm2022/select/style/selectstyle.mjs +14 -23
  143. package/esm2022/selectbutton/style/selectbuttonstyle.mjs +5 -5
  144. package/esm2022/sidebar/sidebar.mjs +2 -2
  145. package/esm2022/skeleton/style/skeletonstyle.mjs +15 -2
  146. package/esm2022/slider/slider.mjs +18 -11
  147. package/esm2022/slider/style/sliderstyle.mjs +6 -6
  148. package/esm2022/speeddial/speeddial.mjs +1 -16
  149. package/esm2022/speeddial/style/speeddialstyle.mjs +2 -2
  150. package/esm2022/splitbutton/splitbutton.mjs +8 -8
  151. package/esm2022/splitbutton/style/splitbuttonstyle.mjs +9 -9
  152. package/esm2022/splitter/splitter.mjs +79 -29
  153. package/esm2022/splitter/style/splitterstyle.mjs +5 -4
  154. package/esm2022/stepper/style/stepperstyle.mjs +6 -1
  155. package/esm2022/styleclass/styleclass.mjs +2 -2
  156. package/esm2022/table/style/tablestyle.mjs +14 -7
  157. package/esm2022/table/table.mjs +6649 -6669
  158. package/esm2022/tabmenu/tabmenu.mjs +15 -33
  159. package/esm2022/tabs/tab.mjs +4 -3
  160. package/esm2022/tabs/tablist.mjs +9 -6
  161. package/esm2022/tabview/tabview.mjs +72 -64
  162. package/esm2022/terminal/style/terminalstyle.mjs +2 -2
  163. package/esm2022/textarea/style/textareastyle.mjs +9 -7
  164. package/esm2022/textarea/textarea.mjs +9 -9
  165. package/esm2022/tieredmenu/style/tieredmenustyle.mjs +6 -1
  166. package/esm2022/tieredmenu/tieredmenu.mjs +13 -13
  167. package/esm2022/timeline/style/timelinestyle.mjs +2 -1
  168. package/esm2022/timeline/timeline.mjs +1 -16
  169. package/esm2022/toast/style/toaststyle.mjs +7 -1
  170. package/esm2022/togglebutton/style/togglebuttonstyle.mjs +2 -2
  171. package/esm2022/toggleswitch/toggleswitch.mjs +1 -10
  172. package/esm2022/tooltip/tooltip.mjs +34 -26
  173. package/esm2022/tree/style/treestyle.mjs +20 -8
  174. package/esm2022/tree/tree.mjs +138 -97
  175. package/esm2022/treeselect/style/treeselectstyle.mjs +15 -15
  176. package/esm2022/treeselect/treeselect.mjs +50 -50
  177. package/esm2022/treetable/style/treetablestyle.mjs +4 -4
  178. package/esm2022/treetable/treetable.mjs +20 -4
  179. package/esm2022/usestyle/usestyle.mjs +3 -2
  180. package/fesm2022/primeng-accordion.mjs +16 -40
  181. package/fesm2022/primeng-accordion.mjs.map +1 -1
  182. package/fesm2022/primeng-api.mjs +8 -8
  183. package/fesm2022/primeng-api.mjs.map +1 -1
  184. package/fesm2022/primeng-autocomplete.mjs +286 -321
  185. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  186. package/fesm2022/primeng-avatar.mjs +4 -4
  187. package/fesm2022/primeng-avatar.mjs.map +1 -1
  188. package/fesm2022/primeng-badge.mjs +34 -4
  189. package/fesm2022/primeng-badge.mjs.map +1 -1
  190. package/fesm2022/primeng-base.mjs +5 -3
  191. package/fesm2022/primeng-base.mjs.map +1 -1
  192. package/fesm2022/primeng-basecomponent.mjs +7 -1
  193. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  194. package/fesm2022/primeng-blockui.mjs +5 -5
  195. package/fesm2022/primeng-blockui.mjs.map +1 -1
  196. package/fesm2022/primeng-breadcrumb.mjs +97 -100
  197. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  198. package/fesm2022/primeng-button.mjs +34 -42
  199. package/fesm2022/primeng-button.mjs.map +1 -1
  200. package/fesm2022/primeng-buttongroup.mjs +8 -8
  201. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  202. package/fesm2022/primeng-calendar.mjs +118 -118
  203. package/fesm2022/primeng-calendar.mjs.map +1 -1
  204. package/fesm2022/primeng-card.mjs +9 -8
  205. package/fesm2022/primeng-card.mjs.map +1 -1
  206. package/fesm2022/primeng-carousel.mjs +28 -18
  207. package/fesm2022/primeng-carousel.mjs.map +1 -1
  208. package/fesm2022/primeng-cascadeselect.mjs +218 -128
  209. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  210. package/fesm2022/primeng-checkbox.mjs +7 -7
  211. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  212. package/fesm2022/primeng-chip.mjs +10 -10
  213. package/fesm2022/primeng-chip.mjs.map +1 -1
  214. package/fesm2022/primeng-colorpicker.mjs +29 -1
  215. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  216. package/fesm2022/primeng-config.mjs +38 -39
  217. package/fesm2022/primeng-config.mjs.map +1 -1
  218. package/fesm2022/primeng-confirmdialog.mjs +25 -17
  219. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  220. package/fesm2022/primeng-confirmpopup.mjs +44 -35
  221. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  222. package/fesm2022/primeng-contextmenu.mjs +22 -12
  223. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  224. package/fesm2022/primeng-dataview.mjs +38 -112
  225. package/fesm2022/primeng-dataview.mjs.map +1 -1
  226. package/fesm2022/primeng-datepicker.mjs +114 -107
  227. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  228. package/fesm2022/primeng-defer.mjs +6 -0
  229. package/fesm2022/primeng-defer.mjs.map +1 -1
  230. package/fesm2022/primeng-dialog.mjs +64 -42
  231. package/fesm2022/primeng-dialog.mjs.map +1 -1
  232. package/fesm2022/primeng-divider.mjs +17 -13
  233. package/fesm2022/primeng-divider.mjs.map +1 -1
  234. package/fesm2022/primeng-dock.mjs +10 -0
  235. package/fesm2022/primeng-dock.mjs.map +1 -1
  236. package/fesm2022/primeng-drawer.mjs +14 -10
  237. package/fesm2022/primeng-drawer.mjs.map +1 -1
  238. package/fesm2022/primeng-dropdown.mjs +6 -20
  239. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  240. package/fesm2022/primeng-dynamicdialog.mjs +1 -1
  241. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  242. package/fesm2022/primeng-editor.mjs +51 -157
  243. package/fesm2022/primeng-editor.mjs.map +1 -1
  244. package/fesm2022/primeng-fieldset.mjs +19 -20
  245. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  246. package/fesm2022/primeng-fileupload.mjs +107 -67
  247. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  248. package/fesm2022/primeng-floatlabel.mjs +4 -4
  249. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  250. package/fesm2022/primeng-galleria.mjs +22 -0
  251. package/fesm2022/primeng-galleria.mjs.map +1 -1
  252. package/fesm2022/primeng-iconfield.mjs +1 -1
  253. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  254. package/fesm2022/primeng-iftalabel.mjs +9 -9
  255. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  256. package/fesm2022/primeng-image.mjs +42 -75
  257. package/fesm2022/primeng-image.mjs.map +1 -1
  258. package/fesm2022/primeng-imagecompare.mjs +286 -0
  259. package/fesm2022/primeng-imagecompare.mjs.map +1 -0
  260. package/fesm2022/primeng-inplace.mjs +7 -7
  261. package/fesm2022/primeng-inplace.mjs.map +1 -1
  262. package/fesm2022/primeng-inputmask.mjs +25 -18
  263. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  264. package/fesm2022/primeng-inputnumber.mjs +69 -63
  265. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  266. package/fesm2022/primeng-inputotp.mjs +3 -15
  267. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  268. package/fesm2022/primeng-inputtext.mjs +24 -17
  269. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  270. package/fesm2022/primeng-keyfilter.mjs +3 -2
  271. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  272. package/fesm2022/primeng-listbox.mjs +7 -52
  273. package/fesm2022/primeng-listbox.mjs.map +1 -1
  274. package/fesm2022/primeng-megamenu.mjs +33 -17
  275. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  276. package/fesm2022/primeng-menu.mjs +46 -28
  277. package/fesm2022/primeng-menu.mjs.map +1 -1
  278. package/fesm2022/primeng-menubar.mjs +45 -25
  279. package/fesm2022/primeng-menubar.mjs.map +1 -1
  280. package/fesm2022/primeng-message.mjs +11 -11
  281. package/fesm2022/primeng-message.mjs.map +1 -1
  282. package/fesm2022/primeng-messages.mjs +1 -0
  283. package/fesm2022/primeng-messages.mjs.map +1 -1
  284. package/fesm2022/primeng-metergroup.mjs +8 -8
  285. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  286. package/fesm2022/primeng-multiselect.mjs +225 -218
  287. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  288. package/fesm2022/primeng-orderlist.mjs +37 -79
  289. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  290. package/fesm2022/primeng-organizationchart.mjs +10 -21
  291. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  292. package/fesm2022/primeng-overlay.mjs +1 -1
  293. package/fesm2022/primeng-overlay.mjs.map +1 -1
  294. package/fesm2022/primeng-overlaypanel.mjs +24 -24
  295. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  296. package/fesm2022/primeng-paginator.mjs +56 -49
  297. package/fesm2022/primeng-paginator.mjs.map +1 -1
  298. package/fesm2022/primeng-panel.mjs +16 -36
  299. package/fesm2022/primeng-panel.mjs.map +1 -1
  300. package/fesm2022/primeng-panelmenu.mjs +43 -46
  301. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  302. package/fesm2022/primeng-password.mjs +65 -34
  303. package/fesm2022/primeng-password.mjs.map +1 -1
  304. package/fesm2022/primeng-picklist.mjs +135 -111
  305. package/fesm2022/primeng-picklist.mjs.map +1 -1
  306. package/fesm2022/primeng-popover.mjs +21 -25
  307. package/fesm2022/primeng-popover.mjs.map +1 -1
  308. package/fesm2022/primeng-progressbar.mjs +28 -28
  309. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  310. package/fesm2022/primeng-radiobutton.mjs +1 -1
  311. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  312. package/fesm2022/primeng-rating.mjs +11 -11
  313. package/fesm2022/primeng-rating.mjs.map +1 -1
  314. package/fesm2022/primeng-ripple.mjs +4 -1
  315. package/fesm2022/primeng-ripple.mjs.map +1 -1
  316. package/fesm2022/primeng-scroller.mjs +8 -8
  317. package/fesm2022/primeng-scroller.mjs.map +1 -1
  318. package/fesm2022/primeng-scrollpanel.mjs +5 -4
  319. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  320. package/fesm2022/primeng-scrolltop.mjs +6 -1
  321. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  322. package/fesm2022/primeng-select.mjs +82 -137
  323. package/fesm2022/primeng-select.mjs.map +1 -1
  324. package/fesm2022/primeng-selectbutton.mjs +4 -4
  325. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  326. package/fesm2022/primeng-sidebar.mjs +1 -1
  327. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  328. package/fesm2022/primeng-skeleton.mjs +14 -1
  329. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  330. package/fesm2022/primeng-slider.mjs +22 -15
  331. package/fesm2022/primeng-slider.mjs.map +1 -1
  332. package/fesm2022/primeng-speeddial.mjs +1 -16
  333. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  334. package/fesm2022/primeng-splitbutton.mjs +15 -15
  335. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  336. package/fesm2022/primeng-splitter.mjs +84 -33
  337. package/fesm2022/primeng-splitter.mjs.map +1 -1
  338. package/fesm2022/primeng-stepper.mjs +5 -0
  339. package/fesm2022/primeng-stepper.mjs.map +1 -1
  340. package/fesm2022/primeng-styleclass.mjs +1 -1
  341. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  342. package/fesm2022/primeng-table.mjs +6663 -6676
  343. package/fesm2022/primeng-table.mjs.map +1 -1
  344. package/fesm2022/primeng-tabmenu.mjs +14 -32
  345. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  346. package/fesm2022/primeng-tabs.mjs +11 -7
  347. package/fesm2022/primeng-tabs.mjs.map +1 -1
  348. package/fesm2022/primeng-tabview.mjs +71 -63
  349. package/fesm2022/primeng-tabview.mjs.map +1 -1
  350. package/fesm2022/primeng-terminal.mjs +1 -1
  351. package/fesm2022/primeng-terminal.mjs.map +1 -1
  352. package/fesm2022/primeng-textarea.mjs +16 -14
  353. package/fesm2022/primeng-textarea.mjs.map +1 -1
  354. package/fesm2022/primeng-tieredmenu.mjs +17 -12
  355. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  356. package/fesm2022/primeng-timeline.mjs +1 -15
  357. package/fesm2022/primeng-timeline.mjs.map +1 -1
  358. package/fesm2022/primeng-toast.mjs +6 -0
  359. package/fesm2022/primeng-toast.mjs.map +1 -1
  360. package/fesm2022/primeng-togglebutton.mjs +1 -1
  361. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  362. package/fesm2022/primeng-toggleswitch.mjs +0 -9
  363. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  364. package/fesm2022/primeng-tooltip.mjs +33 -25
  365. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  366. package/fesm2022/primeng-tree.mjs +156 -103
  367. package/fesm2022/primeng-tree.mjs.map +1 -1
  368. package/fesm2022/primeng-treeselect.mjs +63 -63
  369. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  370. package/fesm2022/primeng-treetable.mjs +22 -6
  371. package/fesm2022/primeng-treetable.mjs.map +1 -1
  372. package/fesm2022/primeng-usestyle.mjs +2 -1
  373. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  374. package/fieldset/fieldset.d.ts +3 -3
  375. package/fileupload/fileupload.d.ts +21 -5
  376. package/iftalabel/iftalabel.d.ts +2 -2
  377. package/image/image.d.ts +6 -7
  378. package/imagecompare/imagecompare.d.ts +52 -0
  379. package/imagecompare/index.d.ts +5 -0
  380. package/imagecompare/public_api.d.ts +2 -0
  381. package/imagecompare/style/imagecomparestyle.d.ts +35 -0
  382. package/inplace/inplace.d.ts +2 -2
  383. package/inputmask/inputmask.d.ts +2 -2
  384. package/inputnumber/inputnumber.d.ts +4 -5
  385. package/inputotp/inputotp.d.ts +1 -2
  386. package/inputtext/inputtext.d.ts +2 -2
  387. package/listbox/listbox.d.ts +2 -3
  388. package/megamenu/megamenu.d.ts +4 -4
  389. package/menu/menu.d.ts +10 -4
  390. package/menubar/menubar.d.ts +5 -5
  391. package/message/message.d.ts +2 -2
  392. package/multiselect/multiselect.d.ts +16 -16
  393. package/orderlist/orderlist.d.ts +10 -11
  394. package/overlaypanel/overlaypanel.d.ts +3 -4
  395. package/package.json +172 -166
  396. package/paginator/paginator.d.ts +6 -6
  397. package/panel/panel.d.ts +3 -4
  398. package/panelmenu/panelmenu.d.ts +2 -3
  399. package/password/password.d.ts +9 -5
  400. package/popover/popover.d.ts +7 -5
  401. package/rating/rating.d.ts +4 -4
  402. package/scroller/scroller.d.ts +2 -2
  403. package/select/select.d.ts +12 -13
  404. package/speeddial/speeddial.d.ts +2 -3
  405. package/splitbutton/splitbutton.d.ts +2 -2
  406. package/splitter/splitter.d.ts +11 -5
  407. package/splitter/style/splitterstyle.d.ts +0 -13
  408. package/table/table.d.ts +934 -995
  409. package/tabmenu/tabmenu.d.ts +5 -6
  410. package/tabview/tabview.d.ts +4 -5
  411. package/textarea/textarea.d.ts +2 -2
  412. package/tieredmenu/tieredmenu.d.ts +2 -2
  413. package/timeline/timeline.d.ts +0 -1
  414. package/toggleswitch/toggleswitch.d.ts +0 -1
  415. package/tooltip/tooltip.d.ts +2 -1
  416. package/tree/style/treestyle.d.ts +1 -1
  417. package/tree/tree.d.ts +9 -7
  418. package/treeselect/treeselect.d.ts +9 -9
@@ -8,7 +8,6 @@ import * as i1 from 'primeng/api';
8
8
  import { TranslationKeys, SharedModule } from 'primeng/api';
9
9
  import { AutoFocus } from 'primeng/autofocus';
10
10
  import { BaseComponent } from 'primeng/basecomponent';
11
- import { Button } from 'primeng/button';
12
11
  import { Chip } from 'primeng/chip';
13
12
  import { PrimeNG } from 'primeng/config';
14
13
  import { TimesCircleIcon, SpinnerIcon, TimesIcon, ChevronDownIcon } from 'primeng/icons';
@@ -87,9 +86,6 @@ const theme = ({ dt }) => `
87
86
  }
88
87
 
89
88
  .p-autocomplete-overlay {
90
- position: absolute;
91
- top: 0;
92
- left: 0;
93
89
  background: ${dt('autocomplete.overlay.background')};
94
90
  color: ${dt('autocomplete.overlay.color')};
95
91
  border: 1px solid ${dt('autocomplete.overlay.border.color')};
@@ -275,16 +271,6 @@ const theme = ({ dt }) => `
275
271
  height: ${dt('form.field.lg.font.size')};
276
272
  }
277
273
 
278
- /* For PrimeNG */
279
-
280
- p-autocomplete.ng-invalid.ng-dirty > .p-autocomplete.p-inputwrapper > .p-autocomplete-input.p-inputtext {
281
- border-color: ${dt('autocomplete.invalid.border.color')};
282
- }
283
-
284
- p-autocomplete.ng-invalid.ng-dirty > .p-autocomplete.p-inputwrapper > .p-autocomplete-input-multiple {
285
- border-color: ${dt('autocomplete.invalid.border.color')};
286
- }
287
-
288
274
  .p-autocomplete-clear-icon {
289
275
  position: absolute;
290
276
  top: 50%;
@@ -294,11 +280,25 @@ p-autocomplete.ng-invalid.ng-dirty > .p-autocomplete.p-inputwrapper > .p-autocom
294
280
  color: ${dt('autocomplete.dropdown.color')};
295
281
  }
296
282
 
283
+ .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-clear-icon {
284
+ right: calc(${dt('autocomplete.padding.x')} + ${dt('autocomplete.dropdown.width')});
285
+ }
286
+
287
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input,
288
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple {
289
+ border-color: ${dt('autocomplete.invalid.border.color')};
290
+ }
291
+
292
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
293
+ p-autocomplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple {
294
+ border-color: ${dt('autocomplete.focus.border.color')};
295
+ }
296
+
297
297
  p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder {
298
298
  color: ${dt('autocomplete.invalid.placeholder.color')};
299
299
  }
300
300
 
301
- p-autocomplete.ng-invalid.ng-dirty .p-inputtext::placeholder {
301
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder {
302
302
  color: ${dt('autocomplete.invalid.placeholder.color')};
303
303
  }`;
304
304
  const inlineStyles = {
@@ -452,19 +452,19 @@ const _c25 = () => ({});
452
452
  const _c26 = (a0, a1) => ({ $implicit: a0, index: a1 });
453
453
  function AutoComplete_input_2_Template(rf, ctx) { if (rf & 1) {
454
454
  const _r2 = i0.ɵɵgetCurrentView();
455
- i0.ɵɵelementStart(0, "input", 23, 3);
455
+ i0.ɵɵelementStart(0, "input", 19, 3);
456
456
  i0.ɵɵlistener("input", function AutoComplete_input_2_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInput($event)); })("keydown", function AutoComplete_input_2_Template_input_keydown_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onKeyDown($event)); })("change", function AutoComplete_input_2_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputChange($event)); })("focus", function AutoComplete_input_2_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputFocus($event)); })("blur", function AutoComplete_input_2_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputBlur($event)); })("paste", function AutoComplete_input_2_Template_input_paste_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputPaste($event)); })("keyup", function AutoComplete_input_2_Template_input_keyup_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputKeyUp($event)); });
457
457
  i0.ɵɵelementEnd();
458
458
  } if (rf & 2) {
459
459
  let tmp_26_0;
460
460
  const ctx_r2 = i0.ɵɵnextContext();
461
461
  i0.ɵɵclassMap(ctx_r2.inputStyleClass);
462
- i0.ɵɵproperty("pAutoFocus", ctx_r2.autofocus)("ngClass", "p-autocomplete-input")("ngStyle", ctx_r2.inputStyle)("type", ctx_r2.type)("variant", ctx_r2.variant)("autocomplete", ctx_r2.autocomplete)("required", ctx_r2.required)("name", ctx_r2.name)("size", ctx_r2.size)("tabindex", !ctx_r2.disabled ? ctx_r2.tabindex : -1)("readonly", ctx_r2.readonly)("disabled", ctx_r2.disabled)("fluid", ctx_r2.hasFluid());
462
+ i0.ɵɵproperty("pAutoFocus", ctx_r2.autofocus)("ngClass", "p-autocomplete-input")("ngStyle", ctx_r2.inputStyle)("type", ctx_r2.type)("variant", ctx_r2.variant)("autocomplete", ctx_r2.autocomplete)("required", ctx_r2.required)("name", ctx_r2.name)("pSize", ctx_r2.size)("tabindex", !ctx_r2.disabled ? ctx_r2.tabindex : -1)("readonly", ctx_r2.readonly)("disabled", ctx_r2.disabled)("fluid", ctx_r2.hasFluid());
463
463
  i0.ɵɵattribute("value", ctx_r2.inputValue())("id", ctx_r2.inputId)("placeholder", ctx_r2.placeholder)("maxlength", ctx_r2.maxlength)("aria-label", ctx_r2.ariaLabel)("aria-labelledby", ctx_r2.ariaLabelledBy)("aria-required", ctx_r2.required)("aria-expanded", (tmp_26_0 = ctx_r2.overlayVisible) !== null && tmp_26_0 !== undefined ? tmp_26_0 : false)("aria-controls", ctx_r2.overlayVisible ? ctx_r2.id + "_list" : null)("aria-activedescendant", ctx_r2.focused ? ctx_r2.focusedOptionId : undefined);
464
464
  } }
465
465
  function AutoComplete_ng_container_3_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
466
466
  const _r4 = i0.ɵɵgetCurrentView();
467
- i0.ɵɵelementStart(0, "TimesIcon", 26);
467
+ i0.ɵɵelementStart(0, "TimesIcon", 22);
468
468
  i0.ɵɵlistener("click", function AutoComplete_ng_container_3_TimesIcon_1_Template_TimesIcon_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.clear()); });
469
469
  i0.ɵɵelementEnd();
470
470
  } if (rf & 2) {
@@ -477,35 +477,35 @@ function AutoComplete_ng_container_3_span_2_1_Template(rf, ctx) { if (rf & 1) {
477
477
  } }
478
478
  function AutoComplete_ng_container_3_span_2_Template(rf, ctx) { if (rf & 1) {
479
479
  const _r5 = i0.ɵɵgetCurrentView();
480
- i0.ɵɵelementStart(0, "span", 27);
480
+ i0.ɵɵelementStart(0, "span", 23);
481
481
  i0.ɵɵlistener("click", function AutoComplete_ng_container_3_span_2_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.clear()); });
482
- i0.ɵɵtemplate(1, AutoComplete_ng_container_3_span_2_1_Template, 1, 0, null, 19);
482
+ i0.ɵɵtemplate(1, AutoComplete_ng_container_3_span_2_1_Template, 1, 0, null, 24);
483
483
  i0.ɵɵelementEnd();
484
484
  } if (rf & 2) {
485
485
  const ctx_r2 = i0.ɵɵnextContext(2);
486
486
  i0.ɵɵattribute("aria-hidden", true);
487
487
  i0.ɵɵadvance();
488
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.clearIconTemplate);
488
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.cleariconTemplate);
489
489
  } }
490
490
  function AutoComplete_ng_container_3_Template(rf, ctx) { if (rf & 1) {
491
491
  i0.ɵɵelementContainerStart(0);
492
- i0.ɵɵtemplate(1, AutoComplete_ng_container_3_TimesIcon_1_Template, 1, 2, "TimesIcon", 24)(2, AutoComplete_ng_container_3_span_2_Template, 2, 2, "span", 25);
492
+ i0.ɵɵtemplate(1, AutoComplete_ng_container_3_TimesIcon_1_Template, 1, 2, "TimesIcon", 20)(2, AutoComplete_ng_container_3_span_2_Template, 2, 2, "span", 21);
493
493
  i0.ɵɵelementContainerEnd();
494
494
  } if (rf & 2) {
495
495
  const ctx_r2 = i0.ɵɵnextContext();
496
496
  i0.ɵɵadvance();
497
- i0.ɵɵproperty("ngIf", !ctx_r2.clearIconTemplate);
497
+ i0.ɵɵproperty("ngIf", !ctx_r2.cleariconTemplate);
498
498
  i0.ɵɵadvance();
499
- i0.ɵɵproperty("ngIf", ctx_r2.clearIconTemplate);
499
+ i0.ɵɵproperty("ngIf", ctx_r2.cleariconTemplate);
500
500
  } }
501
501
  function AutoComplete_ul_4_li_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
502
502
  i0.ɵɵelementContainer(0);
503
503
  } }
504
504
  function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
505
505
  const _r7 = i0.ɵɵgetCurrentView();
506
- i0.ɵɵelementStart(0, "span", 36);
506
+ i0.ɵɵelementStart(0, "span", 33);
507
507
  i0.ɵɵlistener("click", function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_ng_template_1_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const i_r8 = i0.ɵɵnextContext(3).index; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(!ctx_r2.readonly ? ctx_r2.removeOption($event, i_r8) : ""); });
508
- i0.ɵɵelement(1, "TimesCircleIcon", 37);
508
+ i0.ɵɵelement(1, "TimesCircleIcon", 34);
509
509
  i0.ɵɵelementEnd();
510
510
  } if (rf & 2) {
511
511
  i0.ɵɵadvance();
@@ -518,15 +518,15 @@ function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_Template(rf, ctx) { if (
518
518
  i0.ɵɵelementContainerEnd();
519
519
  } }
520
520
  function AutoComplete_ul_4_li_2_p_chip_3_Template(rf, ctx) { if (rf & 1) {
521
- i0.ɵɵelementStart(0, "p-chip", 35);
522
- i0.ɵɵtemplate(1, AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_Template, 3, 0, "ng-container", 14);
521
+ i0.ɵɵelementStart(0, "p-chip", 32);
522
+ i0.ɵɵtemplate(1, AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_Template, 3, 0, "ng-container", 15);
523
523
  i0.ɵɵelementEnd();
524
524
  } if (rf & 2) {
525
525
  const option_r9 = i0.ɵɵnextContext().$implicit;
526
526
  const ctx_r2 = i0.ɵɵnextContext(2);
527
527
  i0.ɵɵproperty("label", ctx_r2.getOptionLabel(option_r9))("removable", true);
528
528
  i0.ɵɵadvance();
529
- i0.ɵɵproperty("ngIf", !ctx_r2.removeIconTemplate);
529
+ i0.ɵɵproperty("ngIf", !ctx_r2.removeiconTemplate);
530
530
  } }
531
531
  function AutoComplete_ul_4_li_2_span_4_1_ng_template_0_Template(rf, ctx) { }
532
532
  function AutoComplete_ul_4_li_2_span_4_1_Template(rf, ctx) { if (rf & 1) {
@@ -534,17 +534,17 @@ function AutoComplete_ul_4_li_2_span_4_1_Template(rf, ctx) { if (rf & 1) {
534
534
  } }
535
535
  function AutoComplete_ul_4_li_2_span_4_Template(rf, ctx) { if (rf & 1) {
536
536
  i0.ɵɵelementStart(0, "span");
537
- i0.ɵɵtemplate(1, AutoComplete_ul_4_li_2_span_4_1_Template, 1, 0, null, 33);
537
+ i0.ɵɵtemplate(1, AutoComplete_ul_4_li_2_span_4_1_Template, 1, 0, null, 30);
538
538
  i0.ɵɵelementEnd();
539
539
  } if (rf & 2) {
540
540
  const ctx_r2 = i0.ɵɵnextContext(3);
541
541
  i0.ɵɵattribute("aria-hidden", true);
542
542
  i0.ɵɵadvance();
543
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.removeIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c21));
543
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.removeiconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c21));
544
544
  } }
545
545
  function AutoComplete_ul_4_li_2_Template(rf, ctx) { if (rf & 1) {
546
- i0.ɵɵelementStart(0, "li", 32, 5);
547
- i0.ɵɵtemplate(2, AutoComplete_ul_4_li_2_ng_container_2_Template, 1, 0, "ng-container", 33)(3, AutoComplete_ul_4_li_2_p_chip_3_Template, 2, 3, "p-chip", 34)(4, AutoComplete_ul_4_li_2_span_4_Template, 2, 4, "span", 14);
546
+ i0.ɵɵelementStart(0, "li", 29, 5);
547
+ i0.ɵɵtemplate(2, AutoComplete_ul_4_li_2_ng_container_2_Template, 1, 0, "ng-container", 30)(3, AutoComplete_ul_4_li_2_p_chip_3_Template, 2, 3, "p-chip", 31)(4, AutoComplete_ul_4_li_2_span_4_Template, 2, 4, "span", 15);
548
548
  i0.ɵɵelementEnd();
549
549
  } if (rf & 2) {
550
550
  const option_r9 = ctx.$implicit;
@@ -553,18 +553,18 @@ function AutoComplete_ul_4_li_2_Template(rf, ctx) { if (rf & 1) {
553
553
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c19, ctx_r2.focusedMultipleOptionIndex() === i_r8));
554
554
  i0.ɵɵattribute("id", ctx_r2.id + "_multiple_option_" + i_r8)("aria-label", ctx_r2.getOptionLabel(option_r9))("aria-setsize", ctx_r2.modelValue().length)("aria-posinset", i_r8 + 1)("aria-selected", true);
555
555
  i0.ɵɵadvance(2);
556
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.selectedItemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(12, _c20, option_r9));
556
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.selecteditemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(12, _c20, option_r9));
557
557
  i0.ɵɵadvance();
558
- i0.ɵɵproperty("ngIf", !ctx_r2.selectedItemTemplate);
558
+ i0.ɵɵproperty("ngIf", !ctx_r2.selecteditemTemplate);
559
559
  i0.ɵɵadvance();
560
- i0.ɵɵproperty("ngIf", ctx_r2.removeIconTemplate);
560
+ i0.ɵɵproperty("ngIf", ctx_r2.removeiconTemplate);
561
561
  } }
562
562
  function AutoComplete_ul_4_Template(rf, ctx) { if (rf & 1) {
563
563
  const _r6 = i0.ɵɵgetCurrentView();
564
- i0.ɵɵelementStart(0, "ul", 28, 4);
564
+ i0.ɵɵelementStart(0, "ul", 25, 4);
565
565
  i0.ɵɵlistener("focus", function AutoComplete_ul_4_Template_ul_focus_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onMultipleContainerFocus($event)); })("blur", function AutoComplete_ul_4_Template_ul_blur_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onMultipleContainerBlur($event)); })("keydown", function AutoComplete_ul_4_Template_ul_keydown_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onMultipleContainerKeyDown($event)); });
566
- i0.ɵɵtemplate(2, AutoComplete_ul_4_li_2_Template, 5, 14, "li", 29);
567
- i0.ɵɵelementStart(3, "li", 30)(4, "input", 31, 3);
566
+ i0.ɵɵtemplate(2, AutoComplete_ul_4_li_2_Template, 5, 14, "li", 26);
567
+ i0.ɵɵelementStart(3, "li", 27)(4, "input", 28, 3);
568
568
  i0.ɵɵlistener("input", function AutoComplete_ul_4_Template_input_input_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInput($event)); })("keydown", function AutoComplete_ul_4_Template_input_keydown_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onKeyDown($event)); })("change", function AutoComplete_ul_4_Template_input_change_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputChange($event)); })("focus", function AutoComplete_ul_4_Template_input_focus_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputFocus($event)); })("blur", function AutoComplete_ul_4_Template_input_blur_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputBlur($event)); })("paste", function AutoComplete_ul_4_Template_input_paste_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputPaste($event)); })("keyup", function AutoComplete_ul_4_Template_input_keyup_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputKeyUp($event)); });
569
569
  i0.ɵɵelementEnd()()();
570
570
  } if (rf & 2) {
@@ -580,7 +580,7 @@ function AutoComplete_ul_4_Template(rf, ctx) { if (rf & 1) {
580
580
  i0.ɵɵattribute("type", ctx_r2.type)("id", ctx_r2.inputId)("name", ctx_r2.name)("placeholder", !ctx_r2.filled ? ctx_r2.placeholder : null)("maxlength", ctx_r2.maxlength)("aria-label", ctx_r2.ariaLabel)("aria-labelledby", ctx_r2.ariaLabelledBy)("aria-required", ctx_r2.required)("aria-expanded", (tmp_28_0 = ctx_r2.overlayVisible) !== null && tmp_28_0 !== undefined ? tmp_28_0 : false)("aria-controls", ctx_r2.overlayVisible ? ctx_r2.id + "_list" : null)("aria-activedescendant", ctx_r2.focused ? ctx_r2.focusedOptionId : undefined);
581
581
  } }
582
582
  function AutoComplete_ng_container_5_SpinnerIcon_1_Template(rf, ctx) { if (rf & 1) {
583
- i0.ɵɵelement(0, "SpinnerIcon", 40);
583
+ i0.ɵɵelement(0, "SpinnerIcon", 37);
584
584
  } if (rf & 2) {
585
585
  i0.ɵɵproperty("styleClass", "p-autocomplete-loader")("spin", true);
586
586
  i0.ɵɵattribute("aria-hidden", true);
@@ -590,28 +590,28 @@ function AutoComplete_ng_container_5_span_2_1_Template(rf, ctx) { if (rf & 1) {
590
590
  i0.ɵɵtemplate(0, AutoComplete_ng_container_5_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
591
591
  } }
592
592
  function AutoComplete_ng_container_5_span_2_Template(rf, ctx) { if (rf & 1) {
593
- i0.ɵɵelementStart(0, "span", 41);
594
- i0.ɵɵtemplate(1, AutoComplete_ng_container_5_span_2_1_Template, 1, 0, null, 19);
593
+ i0.ɵɵelementStart(0, "span", 38);
594
+ i0.ɵɵtemplate(1, AutoComplete_ng_container_5_span_2_1_Template, 1, 0, null, 24);
595
595
  i0.ɵɵelementEnd();
596
596
  } if (rf & 2) {
597
597
  const ctx_r2 = i0.ɵɵnextContext(2);
598
598
  i0.ɵɵattribute("aria-hidden", true);
599
599
  i0.ɵɵadvance();
600
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loadingIconTemplate);
600
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loadingiconTemplate);
601
601
  } }
602
602
  function AutoComplete_ng_container_5_Template(rf, ctx) { if (rf & 1) {
603
603
  i0.ɵɵelementContainerStart(0);
604
- i0.ɵɵtemplate(1, AutoComplete_ng_container_5_SpinnerIcon_1_Template, 1, 3, "SpinnerIcon", 38)(2, AutoComplete_ng_container_5_span_2_Template, 2, 2, "span", 39);
604
+ i0.ɵɵtemplate(1, AutoComplete_ng_container_5_SpinnerIcon_1_Template, 1, 3, "SpinnerIcon", 35)(2, AutoComplete_ng_container_5_span_2_Template, 2, 2, "span", 36);
605
605
  i0.ɵɵelementContainerEnd();
606
606
  } if (rf & 2) {
607
607
  const ctx_r2 = i0.ɵɵnextContext();
608
608
  i0.ɵɵadvance();
609
- i0.ɵɵproperty("ngIf", !ctx_r2.loadingIconTemplate);
609
+ i0.ɵɵproperty("ngIf", !ctx_r2.loadingiconTemplate);
610
610
  i0.ɵɵadvance();
611
- i0.ɵɵproperty("ngIf", ctx_r2.loadingIconTemplate);
611
+ i0.ɵɵproperty("ngIf", ctx_r2.loadingiconTemplate);
612
612
  } }
613
613
  function AutoComplete_button_6_span_2_Template(rf, ctx) { if (rf & 1) {
614
- i0.ɵɵelement(0, "span", 44);
614
+ i0.ɵɵelement(0, "span", 41);
615
615
  } if (rf & 2) {
616
616
  const ctx_r2 = i0.ɵɵnextContext(2);
617
617
  i0.ɵɵproperty("ngClass", ctx_r2.dropdownIcon);
@@ -626,20 +626,20 @@ function AutoComplete_button_6_ng_container_3_2_Template(rf, ctx) { if (rf & 1)
626
626
  } }
627
627
  function AutoComplete_button_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
628
628
  i0.ɵɵelementContainerStart(0);
629
- i0.ɵɵtemplate(1, AutoComplete_button_6_ng_container_3_ChevronDownIcon_1_Template, 1, 0, "ChevronDownIcon", 14)(2, AutoComplete_button_6_ng_container_3_2_Template, 1, 0, null, 19);
629
+ i0.ɵɵtemplate(1, AutoComplete_button_6_ng_container_3_ChevronDownIcon_1_Template, 1, 0, "ChevronDownIcon", 15)(2, AutoComplete_button_6_ng_container_3_2_Template, 1, 0, null, 24);
630
630
  i0.ɵɵelementContainerEnd();
631
631
  } if (rf & 2) {
632
632
  const ctx_r2 = i0.ɵɵnextContext(2);
633
633
  i0.ɵɵadvance();
634
- i0.ɵɵproperty("ngIf", !ctx_r2.dropdownIconTemplate);
634
+ i0.ɵɵproperty("ngIf", !ctx_r2.dropdowniconTemplate);
635
635
  i0.ɵɵadvance();
636
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.dropdownIconTemplate);
636
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.dropdowniconTemplate);
637
637
  } }
638
638
  function AutoComplete_button_6_Template(rf, ctx) { if (rf & 1) {
639
639
  const _r10 = i0.ɵɵgetCurrentView();
640
- i0.ɵɵelementStart(0, "button", 42, 7);
640
+ i0.ɵɵelementStart(0, "button", 39, 7);
641
641
  i0.ɵɵlistener("click", function AutoComplete_button_6_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.handleDropdownClick($event)); });
642
- i0.ɵɵtemplate(2, AutoComplete_button_6_span_2_Template, 1, 2, "span", 43)(3, AutoComplete_button_6_ng_container_3_Template, 3, 2, "ng-container", 14);
642
+ i0.ɵɵtemplate(2, AutoComplete_button_6_span_2_Template, 1, 2, "span", 40)(3, AutoComplete_button_6_ng_container_3_Template, 3, 2, "ng-container", 15);
643
643
  i0.ɵɵelementEnd();
644
644
  } if (rf & 2) {
645
645
  const ctx_r2 = i0.ɵɵnextContext();
@@ -650,184 +650,213 @@ function AutoComplete_button_6_Template(rf, ctx) { if (rf & 1) {
650
650
  i0.ɵɵadvance();
651
651
  i0.ɵɵproperty("ngIf", !ctx_r2.dropdownIcon);
652
652
  } }
653
- function AutoComplete_ng_container_10_Template(rf, ctx) { if (rf & 1) {
653
+ function AutoComplete_ng_template_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
654
654
  i0.ɵɵelementContainer(0);
655
655
  } }
656
- function AutoComplete_p_scroller_12_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
656
+ function AutoComplete_ng_template_9_p_scroller_3_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
657
657
  i0.ɵɵelementContainer(0);
658
658
  } }
659
- function AutoComplete_p_scroller_12_ng_template_2_Template(rf, ctx) { if (rf & 1) {
660
- i0.ɵɵtemplate(0, AutoComplete_p_scroller_12_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 33);
659
+ function AutoComplete_ng_template_9_p_scroller_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
660
+ i0.ɵɵtemplate(0, AutoComplete_ng_template_9_p_scroller_3_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 30);
661
661
  } if (rf & 2) {
662
662
  const items_r12 = ctx.$implicit;
663
663
  const scrollerOptions_r13 = ctx.options;
664
664
  i0.ɵɵnextContext(2);
665
- const buildInItems_r14 = i0.ɵɵreference(15);
665
+ const buildInItems_r14 = i0.ɵɵreference(6);
666
666
  i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r14)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c23, items_r12, scrollerOptions_r13));
667
667
  } }
668
- function AutoComplete_p_scroller_12_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
668
+ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
669
669
  i0.ɵɵelementContainer(0);
670
670
  } }
671
- function AutoComplete_p_scroller_12_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
672
- i0.ɵɵtemplate(0, AutoComplete_p_scroller_12_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 33);
671
+ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
672
+ i0.ɵɵtemplate(0, AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 30);
673
673
  } if (rf & 2) {
674
674
  const scrollerOptions_r15 = ctx.options;
675
- const ctx_r2 = i0.ɵɵnextContext(3);
676
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c24, scrollerOptions_r15));
675
+ i0.ɵɵnextContext();
676
+ const loader_r16 = i0.ɵɵreference(2);
677
+ i0.ɵɵproperty("ngTemplateOutlet", loader_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c24, scrollerOptions_r15));
677
678
  } }
678
- function AutoComplete_p_scroller_12_ng_container_4_Template(rf, ctx) { if (rf & 1) {
679
+ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
679
680
  i0.ɵɵelementContainerStart(0);
680
- i0.ɵɵtemplate(1, AutoComplete_p_scroller_12_ng_container_4_ng_template_1_Template, 1, 4, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
681
+ i0.ɵɵtemplate(1, AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_Template, 1, 4, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
681
682
  i0.ɵɵelementContainerEnd();
682
683
  } }
683
- function AutoComplete_p_scroller_12_Template(rf, ctx) { if (rf & 1) {
684
+ function AutoComplete_ng_template_9_p_scroller_3_Template(rf, ctx) { if (rf & 1) {
684
685
  const _r11 = i0.ɵɵgetCurrentView();
685
- i0.ɵɵelementStart(0, "p-scroller", 45, 8);
686
- i0.ɵɵlistener("onLazyLoad", function AutoComplete_p_scroller_12_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onLazyLoad.emit($event)); });
687
- i0.ɵɵtemplate(2, AutoComplete_p_scroller_12_ng_template_2_Template, 1, 5, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor)(4, AutoComplete_p_scroller_12_ng_container_4_Template, 3, 0, "ng-container", 14);
686
+ i0.ɵɵelementStart(0, "p-scroller", 46, 9);
687
+ i0.ɵɵlistener("onLazyLoad", function AutoComplete_ng_template_9_p_scroller_3_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onLazyLoad.emit($event)); });
688
+ i0.ɵɵtemplate(2, AutoComplete_ng_template_9_p_scroller_3_ng_template_2_Template, 1, 5, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(4, AutoComplete_ng_template_9_p_scroller_3_ng_container_4_Template, 3, 0, "ng-container", 15);
688
689
  i0.ɵɵelementEnd();
689
690
  } if (rf & 2) {
690
- const ctx_r2 = i0.ɵɵnextContext();
691
+ const ctx_r2 = i0.ɵɵnextContext(2);
691
692
  i0.ɵɵstyleMap(i0.ɵɵpureFunction1(8, _c22, ctx_r2.scrollHeight));
692
693
  i0.ɵɵproperty("items", ctx_r2.visibleOptions())("itemSize", ctx_r2.virtualScrollItemSize || ctx_r2._itemSize)("autoSize", true)("lazy", ctx_r2.lazy)("options", ctx_r2.virtualScrollOptions);
693
694
  i0.ɵɵadvance(4);
694
695
  i0.ɵɵproperty("ngIf", ctx_r2.loaderTemplate);
695
696
  } }
696
- function AutoComplete_ng_container_13_ng_container_1_Template(rf, ctx) { if (rf & 1) {
697
+ function AutoComplete_ng_template_9_ng_container_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
697
698
  i0.ɵɵelementContainer(0);
698
699
  } }
699
- function AutoComplete_ng_container_13_Template(rf, ctx) { if (rf & 1) {
700
+ function AutoComplete_ng_template_9_ng_container_4_Template(rf, ctx) { if (rf & 1) {
700
701
  i0.ɵɵelementContainerStart(0);
701
- i0.ɵɵtemplate(1, AutoComplete_ng_container_13_ng_container_1_Template, 1, 0, "ng-container", 33);
702
+ i0.ɵɵtemplate(1, AutoComplete_ng_template_9_ng_container_4_ng_container_1_Template, 1, 0, "ng-container", 30);
702
703
  i0.ɵɵelementContainerEnd();
703
704
  } if (rf & 2) {
705
+ i0.ɵɵnextContext();
706
+ const buildInItems_r14 = i0.ɵɵreference(6);
704
707
  const ctx_r2 = i0.ɵɵnextContext();
705
- const buildInItems_r14 = i0.ɵɵreference(15);
706
708
  i0.ɵɵadvance();
707
709
  i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r14)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c23, ctx_r2.visibleOptions(), i0.ɵɵpureFunction0(2, _c25)));
708
710
  } }
709
- function AutoComplete_ng_template_14_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
711
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
710
712
  i0.ɵɵelementStart(0, "span");
711
713
  i0.ɵɵtext(1);
712
714
  i0.ɵɵelementEnd();
713
715
  } if (rf & 2) {
714
- const option_r16 = i0.ɵɵnextContext(2).$implicit;
715
- const ctx_r2 = i0.ɵɵnextContext(2);
716
+ const option_r17 = i0.ɵɵnextContext(2).$implicit;
717
+ const ctx_r2 = i0.ɵɵnextContext(3);
716
718
  i0.ɵɵadvance();
717
- i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r16.optionGroup));
719
+ i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r17.optionGroup));
718
720
  } }
719
- function AutoComplete_ng_template_14_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
721
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
720
722
  i0.ɵɵelementContainer(0);
721
723
  } }
722
- function AutoComplete_ng_template_14_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
724
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
723
725
  i0.ɵɵelementContainerStart(0);
724
- i0.ɵɵelementStart(1, "li", 49);
725
- i0.ɵɵtemplate(2, AutoComplete_ng_template_14_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 14)(3, AutoComplete_ng_template_14_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 33);
726
+ i0.ɵɵelementStart(1, "li", 50);
727
+ i0.ɵɵtemplate(2, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 15)(3, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 30);
726
728
  i0.ɵɵelementEnd();
727
729
  i0.ɵɵelementContainerEnd();
728
730
  } if (rf & 2) {
729
- const ctx_r16 = i0.ɵɵnextContext();
730
- const option_r16 = ctx_r16.$implicit;
731
- const i_r18 = ctx_r16.index;
732
- const scrollerOptions_r19 = i0.ɵɵnextContext().options;
733
- const ctx_r2 = i0.ɵɵnextContext();
731
+ const ctx_r17 = i0.ɵɵnextContext();
732
+ const option_r17 = ctx_r17.$implicit;
733
+ const i_r19 = ctx_r17.index;
734
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
735
+ const ctx_r2 = i0.ɵɵnextContext(2);
734
736
  i0.ɵɵadvance();
735
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c22, scrollerOptions_r19.itemSize + "px"));
736
- i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19));
737
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c22, scrollerOptions_r20.itemSize + "px"));
738
+ i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20));
737
739
  i0.ɵɵadvance();
738
740
  i0.ɵɵproperty("ngIf", !ctx_r2.groupTemplate);
739
741
  i0.ɵɵadvance();
740
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c20, option_r16.optionGroup));
742
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c20, option_r17.optionGroup));
741
743
  } }
742
- function AutoComplete_ng_template_14_ng_template_2_ng_container_1_span_2_Template(rf, ctx) { if (rf & 1) {
744
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_span_2_Template(rf, ctx) { if (rf & 1) {
743
745
  i0.ɵɵelementStart(0, "span");
744
746
  i0.ɵɵtext(1);
745
747
  i0.ɵɵelementEnd();
746
748
  } if (rf & 2) {
747
- const option_r16 = i0.ɵɵnextContext(2).$implicit;
748
- const ctx_r2 = i0.ɵɵnextContext(2);
749
+ const option_r17 = i0.ɵɵnextContext(2).$implicit;
750
+ const ctx_r2 = i0.ɵɵnextContext(3);
749
751
  i0.ɵɵadvance();
750
- i0.ɵɵtextInterpolate(ctx_r2.getOptionLabel(option_r16));
752
+ i0.ɵɵtextInterpolate(ctx_r2.getOptionLabel(option_r17));
751
753
  } }
752
- function AutoComplete_ng_template_14_ng_template_2_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
754
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
753
755
  i0.ɵɵelementContainer(0);
754
756
  } }
755
- function AutoComplete_ng_template_14_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
756
- const _r20 = i0.ɵɵgetCurrentView();
757
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
758
+ const _r21 = i0.ɵɵgetCurrentView();
757
759
  i0.ɵɵelementContainerStart(0);
758
- i0.ɵɵelementStart(1, "li", 50);
759
- i0.ɵɵlistener("click", function AutoComplete_ng_template_14_ng_template_2_ng_container_1_Template_li_click_1_listener($event) { i0.ɵɵrestoreView(_r20); const option_r16 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onOptionSelect($event, option_r16)); })("mouseenter", function AutoComplete_ng_template_14_ng_template_2_ng_container_1_Template_li_mouseenter_1_listener($event) { i0.ɵɵrestoreView(_r20); const i_r18 = i0.ɵɵnextContext().index; const scrollerOptions_r19 = i0.ɵɵnextContext().options; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onOptionMouseEnter($event, ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19))); });
760
- i0.ɵɵtemplate(2, AutoComplete_ng_template_14_ng_template_2_ng_container_1_span_2_Template, 2, 1, "span", 14)(3, AutoComplete_ng_template_14_ng_template_2_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 33);
760
+ i0.ɵɵelementStart(1, "li", 51);
761
+ i0.ɵɵlistener("click", function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template_li_click_1_listener($event) { i0.ɵɵrestoreView(_r21); const option_r17 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onOptionSelect($event, option_r17)); })("mouseenter", function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template_li_mouseenter_1_listener($event) { i0.ɵɵrestoreView(_r21); const i_r19 = i0.ɵɵnextContext().index; const scrollerOptions_r20 = i0.ɵɵnextContext().options; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onOptionMouseEnter($event, ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))); });
762
+ i0.ɵɵtemplate(2, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_span_2_Template, 2, 1, "span", 15)(3, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 30);
761
763
  i0.ɵɵelementEnd();
762
764
  i0.ɵɵelementContainerEnd();
763
765
  } if (rf & 2) {
764
- const ctx_r16 = i0.ɵɵnextContext();
765
- const option_r16 = ctx_r16.$implicit;
766
- const i_r18 = ctx_r16.index;
767
- const scrollerOptions_r19 = i0.ɵɵnextContext().options;
768
- const ctx_r2 = i0.ɵɵnextContext();
766
+ const ctx_r17 = i0.ɵɵnextContext();
767
+ const option_r17 = ctx_r17.$implicit;
768
+ const i_r19 = ctx_r17.index;
769
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
770
+ const ctx_r2 = i0.ɵɵnextContext(2);
769
771
  i0.ɵɵadvance();
770
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c22, scrollerOptions_r19.itemSize + "px"))("ngClass", ctx_r2.optionClass(option_r16, i_r18, scrollerOptions_r19));
771
- i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19))("aria-label", ctx_r2.getOptionLabel(option_r16))("aria-selected", ctx_r2.isSelected(option_r16))("aria-disabled", ctx_r2.isOptionDisabled(option_r16))("data-p-focused", ctx_r2.focusedOptionIndex() === ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19))("aria-setsize", ctx_r2.ariaSetSize)("aria-posinset", ctx_r2.getAriaPosInset(ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19)));
772
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c22, scrollerOptions_r20.itemSize + "px"))("ngClass", ctx_r2.optionClass(option_r17, i_r19, scrollerOptions_r20));
773
+ i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))("aria-label", ctx_r2.getOptionLabel(option_r17))("aria-selected", ctx_r2.isSelected(option_r17))("aria-disabled", ctx_r2.isOptionDisabled(option_r17))("data-p-focused", ctx_r2.focusedOptionIndex() === ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))("aria-setsize", ctx_r2.ariaSetSize)("aria-posinset", ctx_r2.getAriaPosInset(ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20)));
772
774
  i0.ɵɵadvance();
773
775
  i0.ɵɵproperty("ngIf", !ctx_r2.itemTemplate);
774
776
  i0.ɵɵadvance();
775
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(14, _c26, option_r16, scrollerOptions_r19.getOptions ? scrollerOptions_r19.getOptions(i_r18) : i_r18));
777
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(14, _c26, option_r17, scrollerOptions_r20.getOptions ? scrollerOptions_r20.getOptions(i_r19) : i_r19));
776
778
  } }
777
- function AutoComplete_ng_template_14_ng_template_2_Template(rf, ctx) { if (rf & 1) {
778
- i0.ɵɵtemplate(0, AutoComplete_ng_template_14_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 14)(1, AutoComplete_ng_template_14_ng_template_2_ng_container_1_Template, 4, 17, "ng-container", 14);
779
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
780
+ i0.ɵɵtemplate(0, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 15)(1, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template, 4, 17, "ng-container", 15);
779
781
  } if (rf & 2) {
780
- const option_r16 = ctx.$implicit;
781
- const ctx_r2 = i0.ɵɵnextContext(2);
782
- i0.ɵɵproperty("ngIf", ctx_r2.isOptionGroup(option_r16));
782
+ const option_r17 = ctx.$implicit;
783
+ const ctx_r2 = i0.ɵɵnextContext(3);
784
+ i0.ɵɵproperty("ngIf", ctx_r2.isOptionGroup(option_r17));
783
785
  i0.ɵɵadvance();
784
- i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r16));
786
+ i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r17));
785
787
  } }
786
- function AutoComplete_ng_template_14_li_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
787
- i0.ɵɵtext(0);
788
+ function AutoComplete_ng_template_9_ng_template_5_li_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
789
+ i0.ɵɵelementContainerStart(0);
790
+ i0.ɵɵtext(1);
791
+ i0.ɵɵelementContainerEnd();
788
792
  } if (rf & 2) {
789
- const ctx_r2 = i0.ɵɵnextContext(3);
793
+ const ctx_r2 = i0.ɵɵnextContext(4);
794
+ i0.ɵɵadvance();
790
795
  i0.ɵɵtextInterpolate1(" ", ctx_r2.searchResultMessageText, " ");
791
796
  } }
792
- function AutoComplete_ng_template_14_li_3_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
793
- i0.ɵɵelementContainer(0);
794
- } }
795
- function AutoComplete_ng_template_14_li_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
796
- i0.ɵɵtemplate(0, AutoComplete_ng_template_14_li_3_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 19);
797
- } if (rf & 2) {
798
- const ctx_r2 = i0.ɵɵnextContext(3);
799
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyTemplate);
797
+ function AutoComplete_ng_template_9_ng_template_5_li_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
798
+ i0.ɵɵelementContainer(0, null, 12);
800
799
  } }
801
- function AutoComplete_ng_template_14_li_3_Template(rf, ctx) { if (rf & 1) {
802
- i0.ɵɵelementStart(0, "li", 51);
803
- i0.ɵɵtemplate(1, AutoComplete_ng_template_14_li_3_Conditional_1_Template, 1, 1)(2, AutoComplete_ng_template_14_li_3_Conditional_2_Template, 1, 1, "ng-container");
800
+ function AutoComplete_ng_template_9_ng_template_5_li_3_Template(rf, ctx) { if (rf & 1) {
801
+ i0.ɵɵelementStart(0, "li", 52);
802
+ i0.ɵɵtemplate(1, AutoComplete_ng_template_9_ng_template_5_li_3_ng_container_1_Template, 2, 1, "ng-container", 53)(2, AutoComplete_ng_template_9_ng_template_5_li_3_ng_container_2_Template, 2, 0, "ng-container", 24);
804
803
  i0.ɵɵelementEnd();
805
804
  } if (rf & 2) {
806
- const scrollerOptions_r19 = i0.ɵɵnextContext().options;
807
- const ctx_r2 = i0.ɵɵnextContext();
808
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c22, scrollerOptions_r19.itemSize + "px"));
805
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
806
+ const ctx_r2 = i0.ɵɵnextContext(2);
807
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(4, _c22, scrollerOptions_r20.itemSize + "px"));
808
+ i0.ɵɵadvance();
809
+ i0.ɵɵproperty("ngIf", !ctx_r2.emptyTemplate)("ngIfElse", ctx_r2.empty);
809
810
  i0.ɵɵadvance();
810
- i0.ɵɵconditional(!ctx_r2.emptyTemplate ? 1 : 2);
811
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyTemplate);
811
812
  } }
812
- function AutoComplete_ng_template_14_Template(rf, ctx) { if (rf & 1) {
813
- i0.ɵɵelementStart(0, "ul", 46, 11);
814
- i0.ɵɵtemplate(2, AutoComplete_ng_template_14_ng_template_2_Template, 2, 2, "ng-template", 47)(3, AutoComplete_ng_template_14_li_3_Template, 3, 4, "li", 48);
813
+ function AutoComplete_ng_template_9_ng_template_5_Template(rf, ctx) { if (rf & 1) {
814
+ i0.ɵɵelementStart(0, "ul", 47, 11);
815
+ i0.ɵɵtemplate(2, AutoComplete_ng_template_9_ng_template_5_ng_template_2_Template, 2, 2, "ng-template", 48)(3, AutoComplete_ng_template_9_ng_template_5_li_3_Template, 3, 6, "li", 49);
815
816
  i0.ɵɵelementEnd();
816
817
  } if (rf & 2) {
817
- const items_r21 = ctx.$implicit;
818
- const scrollerOptions_r19 = ctx.options;
819
- const ctx_r2 = i0.ɵɵnextContext();
820
- i0.ɵɵstyleMap(scrollerOptions_r19.contentStyle);
821
- i0.ɵɵproperty("ngClass", scrollerOptions_r19.contentStyleClass);
818
+ const items_r22 = ctx.$implicit;
819
+ const scrollerOptions_r20 = ctx.options;
820
+ const ctx_r2 = i0.ɵɵnextContext(2);
821
+ i0.ɵɵstyleMap(scrollerOptions_r20.contentStyle);
822
+ i0.ɵɵproperty("ngClass", scrollerOptions_r20.contentStyleClass);
822
823
  i0.ɵɵattribute("id", ctx_r2.id + "_list")("aria-label", ctx_r2.listLabel);
823
824
  i0.ɵɵadvance(2);
824
- i0.ɵɵproperty("ngForOf", items_r21);
825
+ i0.ɵɵproperty("ngForOf", items_r22);
825
826
  i0.ɵɵadvance();
826
- i0.ɵɵproperty("ngIf", !items_r21 || items_r21 && items_r21.length === 0 && ctx_r2.showEmptyMessage);
827
+ i0.ɵɵproperty("ngIf", !items_r22 || items_r22 && items_r22.length === 0 && ctx_r2.showEmptyMessage);
827
828
  } }
828
- function AutoComplete_ng_container_16_Template(rf, ctx) { if (rf & 1) {
829
+ function AutoComplete_ng_template_9_ng_container_7_Template(rf, ctx) { if (rf & 1) {
829
830
  i0.ɵɵelementContainer(0);
830
831
  } }
832
+ function AutoComplete_ng_template_9_Template(rf, ctx) { if (rf & 1) {
833
+ i0.ɵɵelementStart(0, "div", 42);
834
+ i0.ɵɵtemplate(1, AutoComplete_ng_template_9_ng_container_1_Template, 1, 0, "ng-container", 24);
835
+ i0.ɵɵelementStart(2, "div", 43);
836
+ i0.ɵɵtemplate(3, AutoComplete_ng_template_9_p_scroller_3_Template, 5, 10, "p-scroller", 44)(4, AutoComplete_ng_template_9_ng_container_4_Template, 2, 6, "ng-container", 15);
837
+ i0.ɵɵelementEnd();
838
+ i0.ɵɵtemplate(5, AutoComplete_ng_template_9_ng_template_5_Template, 4, 7, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor)(7, AutoComplete_ng_template_9_ng_container_7_Template, 1, 0, "ng-container", 24);
839
+ i0.ɵɵelementEnd();
840
+ i0.ɵɵelementStart(8, "span", 45);
841
+ i0.ɵɵtext(9);
842
+ i0.ɵɵelementEnd();
843
+ } if (rf & 2) {
844
+ const ctx_r2 = i0.ɵɵnextContext();
845
+ i0.ɵɵclassMap(ctx_r2.panelStyleClass);
846
+ i0.ɵɵproperty("ngClass", ctx_r2.panelClass)("ngStyle", ctx_r2.panelStyle);
847
+ i0.ɵɵadvance();
848
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.headerTemplate);
849
+ i0.ɵɵadvance();
850
+ i0.ɵɵstyleProp("max-height", ctx_r2.virtualScroll ? "auto" : ctx_r2.scrollHeight);
851
+ i0.ɵɵadvance();
852
+ i0.ɵɵproperty("ngIf", ctx_r2.virtualScroll);
853
+ i0.ɵɵadvance();
854
+ i0.ɵɵproperty("ngIf", !ctx_r2.virtualScroll);
855
+ i0.ɵɵadvance(3);
856
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.footerTemplate);
857
+ i0.ɵɵadvance(2);
858
+ i0.ɵɵtextInterpolate1(" ", ctx_r2.selectedMessageText, " ");
859
+ } }
831
860
  const AUTOCOMPLETE_VALUE_ACCESSOR = {
832
861
  provide: NG_VALUE_ACCESSOR,
833
862
  useExisting: forwardRef(() => AutoComplete),
@@ -1288,7 +1317,7 @@ class AutoComplete extends BaseComponent {
1288
1317
  * Custom selected item template.
1289
1318
  * @group Templates
1290
1319
  */
1291
- selectedItemTemplate;
1320
+ selecteditemTemplate;
1292
1321
  /**
1293
1322
  * Custom group item template.
1294
1323
  * @group Templates
@@ -1303,22 +1332,22 @@ class AutoComplete extends BaseComponent {
1303
1332
  * Custom remove icon template.
1304
1333
  * @group Templates
1305
1334
  */
1306
- removeIconTemplate;
1335
+ removeiconTemplate;
1307
1336
  /**
1308
1337
  * Custom loading icon template.
1309
1338
  * @group Templates
1310
1339
  */
1311
- loadingIconTemplate;
1340
+ loadingiconTemplate;
1312
1341
  /**
1313
1342
  * Custom clear icon template.
1314
1343
  * @group Templates
1315
1344
  */
1316
- clearIconTemplate;
1345
+ cleariconTemplate;
1317
1346
  /**
1318
1347
  * Custom dropdown icon template.
1319
1348
  * @group Templates
1320
1349
  */
1321
- dropdownIconTemplate;
1350
+ dropdowniconTemplate;
1322
1351
  primeng = inject(PrimeNG);
1323
1352
  value;
1324
1353
  _suggestions = signal(null);
@@ -1457,51 +1486,9 @@ class AutoComplete extends BaseComponent {
1457
1486
  });
1458
1487
  }
1459
1488
  }
1460
- ngAfterContentInit() {
1461
- this.templates.forEach((item) => {
1462
- switch (item.getType()) {
1463
- case 'item':
1464
- this.itemTemplate = item.template;
1465
- break;
1466
- case 'group':
1467
- this.groupTemplate = item.template;
1468
- break;
1469
- case 'selectedItem':
1470
- this.selectedItemTemplate = item.template;
1471
- break;
1472
- case 'header':
1473
- this.headerTemplate = item.template;
1474
- break;
1475
- case 'empty':
1476
- this.emptyTemplate = item.template;
1477
- break;
1478
- case 'footer':
1479
- this.footerTemplate = item.template;
1480
- break;
1481
- case 'loader':
1482
- this.loaderTemplate = item.template;
1483
- break;
1484
- case 'removetokenicon':
1485
- this.removeIconTemplate = item.template;
1486
- break;
1487
- case 'loadingicon':
1488
- this.loadingIconTemplate = item.template;
1489
- break;
1490
- case 'clearicon':
1491
- this.clearIconTemplate = item.template;
1492
- break;
1493
- case 'dropdownicon':
1494
- this.dropdownIconTemplate = item.template;
1495
- break;
1496
- default:
1497
- this.itemTemplate = item.template;
1498
- break;
1499
- }
1500
- });
1501
- }
1502
1489
  handleSuggestionsChange() {
1503
1490
  if (this.loading) {
1504
- this._suggestions() ? this.show() : !!this.emptyTemplate ? this.show() : this.hide();
1491
+ this._suggestions()?.length > 0 ? this.show() : !!this.emptyTemplate ? this.show() : this.hide();
1505
1492
  const focusedOptionIndex = this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
1506
1493
  this.focusedOptionIndex.set(focusedOptionIndex);
1507
1494
  this.suggestionsUpdated = true;
@@ -2095,13 +2082,13 @@ class AutoComplete extends BaseComponent {
2095
2082
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyTemplate = _t.first);
2096
2083
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
2097
2084
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
2098
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectedItemTemplate = _t.first);
2085
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selecteditemTemplate = _t.first);
2099
2086
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.groupTemplate = _t.first);
2100
2087
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderTemplate = _t.first);
2101
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.removeIconTemplate = _t.first);
2102
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loadingIconTemplate = _t.first);
2103
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearIconTemplate = _t.first);
2104
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownIconTemplate = _t.first);
2088
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.removeiconTemplate = _t.first);
2089
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loadingiconTemplate = _t.first);
2090
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.cleariconTemplate = _t.first);
2091
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdowniconTemplate = _t.first);
2105
2092
  } }, viewQuery: function AutoComplete_Query(rf, ctx) { if (rf & 1) {
2106
2093
  i0.ɵɵviewQuery(_c11, 5);
2107
2094
  i0.ɵɵviewQuery(_c12, 5);
@@ -2121,24 +2108,16 @@ class AutoComplete extends BaseComponent {
2121
2108
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemsViewChild = _t.first);
2122
2109
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);
2123
2110
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayViewChild = _t.first);
2124
- } }, inputs: { minLength: [2, "minLength", "minLength", numberAttribute], delay: [2, "delay", "delay", numberAttribute], style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", inputStyle: "inputStyle", inputId: "inputId", inputStyleClass: "inputStyleClass", placeholder: "placeholder", readonly: [2, "readonly", "readonly", booleanAttribute], disabled: [2, "disabled", "disabled", booleanAttribute], scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", maxlength: [2, "maxlength", "maxlength", (value) => numberAttribute(value, null)], name: "name", required: [2, "required", "required", booleanAttribute], size: "size", appendTo: "appendTo", autoHighlight: [2, "autoHighlight", "autoHighlight", booleanAttribute], forceSelection: [2, "forceSelection", "forceSelection", booleanAttribute], type: "type", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], ariaLabel: "ariaLabel", dropdownAriaLabel: "dropdownAriaLabel", ariaLabelledBy: "ariaLabelledBy", dropdownIcon: "dropdownIcon", unique: [2, "unique", "unique", booleanAttribute], group: [2, "group", "group", booleanAttribute], completeOnFocus: [2, "completeOnFocus", "completeOnFocus", booleanAttribute], showClear: [2, "showClear", "showClear", booleanAttribute], field: "field", dropdown: [2, "dropdown", "dropdown", booleanAttribute], showEmptyMessage: [2, "showEmptyMessage", "showEmptyMessage", booleanAttribute], dropdownMode: "dropdownMode", multiple: [2, "multiple", "multiple", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], dataKey: "dataKey", emptyMessage: "emptyMessage", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", autofocus: [2, "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: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute], selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: [2, "searchLocale", "searchLocale", booleanAttribute], optionDisabled: "optionDisabled", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], typeahead: [2, "typeahead", "typeahead", booleanAttribute], variant: "variant", fluid: [2, "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" }, standalone: true, features: [i0.ɵɵProvidersFeature([AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 19, vars: 26, consts: [["container", ""], ["overlay", ""], ["buildInItems", ""], ["focusInput", ""], ["multiContainer", ""], ["token", ""], ["removeicon", ""], ["ddBtn", ""], ["scroller", ""], ["content", ""], ["loader", ""], ["items", ""], [2, "position", "relative", 3, "click", "ngClass", "ngStyle"], ["pInputText", "", "aria-autocomplete", "list", "role", "combobox", 3, "pAutoFocus", "ngClass", "ngStyle", "class", "type", "variant", "autocomplete", "required", "name", "size", "tabindex", "readonly", "disabled", "fluid", "input", "keydown", "change", "focus", "blur", "paste", "keyup", 4, "ngIf"], [4, "ngIf"], ["role", "listbox", 3, "ngClass", "tabindex", "focus", "blur", "keydown", 4, "ngIf"], ["type", "button", "class", "p-autocomplete-dropdown", "pRipple", "", 3, "disabled", "click", 4, "ngIf"], [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "showTransitionOptions", "hideTransitionOptions"], [3, "ngClass", "ngStyle"], [4, "ngTemplateOutlet"], [1, "p-autocomplete-list-container"], [3, "items", "style", "itemSize", "autoSize", "lazy", "options", "onLazyLoad", 4, "ngIf"], ["role", "status", "aria-live", "polite", 1, "p-hidden-accessible"], ["pInputText", "", "aria-autocomplete", "list", "role", "combobox", 3, "input", "keydown", "change", "focus", "blur", "paste", "keyup", "pAutoFocus", "ngClass", "ngStyle", "type", "variant", "autocomplete", "required", "name", "size", "tabindex", "readonly", "disabled", "fluid"], [3, "styleClass", "click", 4, "ngIf"], ["class", "p-autocomplete-clear-icon", 3, "click", 4, "ngIf"], [3, "click", "styleClass"], [1, "p-autocomplete-clear-icon", 3, "click"], ["role", "listbox", 3, "focus", "blur", "keydown", "ngClass", "tabindex"], ["role", "option", 3, "ngClass", 4, "ngFor", "ngForOf"], ["role", "option", 1, "p-autocomplete-input-chip"], ["role", "combobox", "aria-autocomplete", "list", 3, "input", "keydown", "change", "focus", "blur", "paste", "keyup", "pAutoFocus", "ngClass", "ngStyle", "autocomplete", "required", "tabindex", "readonly", "disabled"], ["role", "option", 3, "ngClass"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["styleClass", "p-autocomplete-chip", 3, "label", "removable", 4, "ngIf"], ["styleClass", "p-autocomplete-chip", 3, "label", "removable"], [1, "p-autocomplete-chip-icon", 3, "click"], [3, "styleClass"], [3, "styleClass", "spin", 4, "ngIf"], ["class", "p-autocomplete-loader pi-spin ", 4, "ngIf"], [3, "styleClass", "spin"], [1, "p-autocomplete-loader", "pi-spin"], ["type", "button", "pRipple", "", 1, "p-autocomplete-dropdown", 3, "click", "disabled"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "lazy", "options"], ["role", "listbox", 1, "p-autocomplete-list", 3, "ngClass"], ["ngFor", "", 3, "ngForOf"], ["class", "p-autocomplete-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"], ["role", "option", 1, "p-autocomplete-option-group", 3, "ngStyle"], ["pRipple", "", "role", "option", 3, "click", "mouseenter", "ngStyle", "ngClass"], ["role", "option", 1, "p-autocomplete-empty-message", 3, "ngStyle"]], template: function AutoComplete_Template(rf, ctx) { if (rf & 1) {
2111
+ } }, inputs: { minLength: [2, "minLength", "minLength", numberAttribute], delay: [2, "delay", "delay", numberAttribute], style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", inputStyle: "inputStyle", inputId: "inputId", inputStyleClass: "inputStyleClass", placeholder: "placeholder", readonly: [2, "readonly", "readonly", booleanAttribute], disabled: [2, "disabled", "disabled", booleanAttribute], scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", maxlength: [2, "maxlength", "maxlength", (value) => numberAttribute(value, null)], name: "name", required: [2, "required", "required", booleanAttribute], size: "size", appendTo: "appendTo", autoHighlight: [2, "autoHighlight", "autoHighlight", booleanAttribute], forceSelection: [2, "forceSelection", "forceSelection", booleanAttribute], type: "type", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], ariaLabel: "ariaLabel", dropdownAriaLabel: "dropdownAriaLabel", ariaLabelledBy: "ariaLabelledBy", dropdownIcon: "dropdownIcon", unique: [2, "unique", "unique", booleanAttribute], group: [2, "group", "group", booleanAttribute], completeOnFocus: [2, "completeOnFocus", "completeOnFocus", booleanAttribute], showClear: [2, "showClear", "showClear", booleanAttribute], field: "field", dropdown: [2, "dropdown", "dropdown", booleanAttribute], showEmptyMessage: [2, "showEmptyMessage", "showEmptyMessage", booleanAttribute], dropdownMode: "dropdownMode", multiple: [2, "multiple", "multiple", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], dataKey: "dataKey", emptyMessage: "emptyMessage", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", autofocus: [2, "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: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute], selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: [2, "searchLocale", "searchLocale", booleanAttribute], optionDisabled: "optionDisabled", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], typeahead: [2, "typeahead", "typeahead", booleanAttribute], variant: "variant", fluid: [2, "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" }, standalone: true, features: [i0.ɵɵProvidersFeature([AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 11, vars: 15, consts: [["container", ""], ["overlay", ""], ["content", ""], ["focusInput", ""], ["multiContainer", ""], ["token", ""], ["removeicon", ""], ["ddBtn", ""], ["buildInItems", ""], ["scroller", ""], ["loader", ""], ["items", ""], ["empty", ""], [2, "position", "relative", 3, "click", "ngClass", "ngStyle"], ["pInputText", "", "aria-autocomplete", "list", "role", "combobox", 3, "pAutoFocus", "ngClass", "ngStyle", "class", "type", "variant", "autocomplete", "required", "name", "pSize", "tabindex", "readonly", "disabled", "fluid", "input", "keydown", "change", "focus", "blur", "paste", "keyup", 4, "ngIf"], [4, "ngIf"], ["role", "listbox", 3, "ngClass", "tabindex", "focus", "blur", "keydown", 4, "ngIf"], ["type", "button", "class", "p-autocomplete-dropdown", "pRipple", "", 3, "disabled", "click", 4, "ngIf"], [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "showTransitionOptions", "hideTransitionOptions"], ["pInputText", "", "aria-autocomplete", "list", "role", "combobox", 3, "input", "keydown", "change", "focus", "blur", "paste", "keyup", "pAutoFocus", "ngClass", "ngStyle", "type", "variant", "autocomplete", "required", "name", "pSize", "tabindex", "readonly", "disabled", "fluid"], [3, "styleClass", "click", 4, "ngIf"], ["class", "p-autocomplete-clear-icon", 3, "click", 4, "ngIf"], [3, "click", "styleClass"], [1, "p-autocomplete-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["role", "listbox", 3, "focus", "blur", "keydown", "ngClass", "tabindex"], ["role", "option", 3, "ngClass", 4, "ngFor", "ngForOf"], ["role", "option", 1, "p-autocomplete-input-chip"], ["role", "combobox", "aria-autocomplete", "list", 3, "input", "keydown", "change", "focus", "blur", "paste", "keyup", "pAutoFocus", "ngClass", "ngStyle", "autocomplete", "required", "tabindex", "readonly", "disabled"], ["role", "option", 3, "ngClass"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["styleClass", "p-autocomplete-chip", 3, "label", "removable", 4, "ngIf"], ["styleClass", "p-autocomplete-chip", 3, "label", "removable"], [1, "p-autocomplete-chip-icon", 3, "click"], [3, "styleClass"], [3, "styleClass", "spin", 4, "ngIf"], ["class", "p-autocomplete-loader pi-spin ", 4, "ngIf"], [3, "styleClass", "spin"], [1, "p-autocomplete-loader", "pi-spin"], ["type", "button", "pRipple", "", 1, "p-autocomplete-dropdown", 3, "click", "disabled"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"], [3, "ngClass", "ngStyle"], [1, "p-autocomplete-list-container"], [3, "items", "style", "itemSize", "autoSize", "lazy", "options", "onLazyLoad", 4, "ngIf"], ["role", "status", "aria-live", "polite", 1, "p-hidden-accessible"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "lazy", "options"], ["role", "listbox", 1, "p-autocomplete-list", 3, "ngClass"], ["ngFor", "", 3, "ngForOf"], ["class", "p-autocomplete-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"], ["role", "option", 1, "p-autocomplete-option-group", 3, "ngStyle"], ["pRipple", "", "role", "option", 3, "click", "mouseenter", "ngStyle", "ngClass"], ["role", "option", 1, "p-autocomplete-empty-message", 3, "ngStyle"], [4, "ngIf", "ngIfElse"]], template: function AutoComplete_Template(rf, ctx) { if (rf & 1) {
2125
2112
  const _r1 = i0.ɵɵgetCurrentView();
2126
- i0.ɵɵelementStart(0, "div", 12, 0);
2113
+ i0.ɵɵelementStart(0, "div", 13, 0);
2127
2114
  i0.ɵɵlistener("click", function AutoComplete_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onContainerClick($event)); });
2128
- i0.ɵɵtemplate(2, AutoComplete_input_2_Template, 2, 25, "input", 13)(3, AutoComplete_ng_container_3_Template, 3, 2, "ng-container", 14)(4, AutoComplete_ul_4_Template, 6, 26, "ul", 15)(5, AutoComplete_ng_container_5_Template, 3, 2, "ng-container", 14)(6, AutoComplete_button_6_Template, 4, 5, "button", 16);
2129
- i0.ɵɵelementStart(7, "p-overlay", 17, 1);
2115
+ i0.ɵɵtemplate(2, AutoComplete_input_2_Template, 2, 25, "input", 14)(3, AutoComplete_ng_container_3_Template, 3, 2, "ng-container", 15)(4, AutoComplete_ul_4_Template, 6, 26, "ul", 16)(5, AutoComplete_ng_container_5_Template, 3, 2, "ng-container", 15)(6, AutoComplete_button_6_Template, 4, 5, "button", 17);
2116
+ i0.ɵɵelementStart(7, "p-overlay", 18, 1);
2130
2117
  i0.ɵɵtwoWayListener("visibleChange", function AutoComplete_Template_p_overlay_visibleChange_7_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.overlayVisible, $event) || (ctx.overlayVisible = $event); return i0.ɵɵresetView($event); });
2131
2118
  i0.ɵɵlistener("onAnimationStart", function AutoComplete_Template_p_overlay_onAnimationStart_7_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onOverlayAnimationStart($event)); })("onHide", function AutoComplete_Template_p_overlay_onHide_7_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.hide()); });
2132
- i0.ɵɵelementStart(9, "div", 18);
2133
- i0.ɵɵtemplate(10, AutoComplete_ng_container_10_Template, 1, 0, "ng-container", 19);
2134
- i0.ɵɵelementStart(11, "div", 20);
2135
- i0.ɵɵtemplate(12, AutoComplete_p_scroller_12_Template, 5, 10, "p-scroller", 21)(13, AutoComplete_ng_container_13_Template, 2, 6, "ng-container", 14);
2136
- i0.ɵɵelementEnd();
2137
- i0.ɵɵtemplate(14, AutoComplete_ng_template_14_Template, 4, 7, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(16, AutoComplete_ng_container_16_Template, 1, 0, "ng-container", 19);
2138
- i0.ɵɵelementEnd();
2139
- i0.ɵɵelementStart(17, "span", 22);
2140
- i0.ɵɵtext(18);
2141
- i0.ɵɵelementEnd()()();
2119
+ i0.ɵɵtemplate(9, AutoComplete_ng_template_9_Template, 10, 11, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
2120
+ i0.ɵɵelementEnd()();
2142
2121
  } if (rf & 2) {
2143
2122
  i0.ɵɵclassMap(ctx.styleClass);
2144
2123
  i0.ɵɵproperty("ngClass", ctx.rootClass)("ngStyle", ctx.style);
@@ -2155,21 +2134,6 @@ class AutoComplete extends BaseComponent {
2155
2134
  i0.ɵɵadvance();
2156
2135
  i0.ɵɵtwoWayProperty("visible", ctx.overlayVisible);
2157
2136
  i0.ɵɵproperty("options", ctx.overlayOptions)("target", "@parent")("appendTo", ctx.appendTo)("showTransitionOptions", ctx.showTransitionOptions)("hideTransitionOptions", ctx.hideTransitionOptions);
2158
- i0.ɵɵadvance(2);
2159
- i0.ɵɵclassMap(ctx.panelStyleClass);
2160
- i0.ɵɵproperty("ngClass", ctx.panelClass)("ngStyle", ctx.panelStyle);
2161
- i0.ɵɵadvance();
2162
- i0.ɵɵproperty("ngTemplateOutlet", ctx.headerTemplate);
2163
- i0.ɵɵadvance();
2164
- i0.ɵɵstyleProp("max-height", ctx.virtualScroll ? "auto" : ctx.scrollHeight);
2165
- i0.ɵɵadvance();
2166
- i0.ɵɵproperty("ngIf", ctx.virtualScroll);
2167
- i0.ɵɵadvance();
2168
- i0.ɵɵproperty("ngIf", !ctx.virtualScroll);
2169
- i0.ɵɵadvance(3);
2170
- i0.ɵɵproperty("ngTemplateOutlet", ctx.footerTemplate);
2171
- i0.ɵɵadvance(2);
2172
- i0.ɵɵtextInterpolate1(" ", ctx.selectedMessageText, " ");
2173
2137
  } }, dependencies: [CommonModule, i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, Overlay, InputText, Ripple, Scroller, AutoFocus, TimesCircleIcon, SpinnerIcon, TimesIcon, ChevronDownIcon, Chip, SharedModule], encapsulation: 2, changeDetection: 0 });
2174
2138
  }
2175
2139
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AutoComplete, [{
@@ -2177,7 +2141,7 @@ class AutoComplete extends BaseComponent {
2177
2141
  args: [{
2178
2142
  selector: 'p-autoComplete, p-autocomplete, p-auto-complete',
2179
2143
  standalone: true,
2180
- imports: [CommonModule, Overlay, InputText, Button, Ripple, Scroller, AutoFocus, TimesCircleIcon, SpinnerIcon, TimesIcon, ChevronDownIcon, Chip, SharedModule],
2144
+ imports: [CommonModule, Overlay, InputText, Ripple, Scroller, AutoFocus, TimesCircleIcon, SpinnerIcon, TimesIcon, ChevronDownIcon, Chip, SharedModule],
2181
2145
  template: `
2182
2146
  <div #container [ngClass]="rootClass" [ngStyle]="style" style="position: relative;" [class]="styleClass" (click)="onContainerClick($event)">
2183
2147
  <input
@@ -2198,7 +2162,7 @@ class AutoComplete extends BaseComponent {
2198
2162
  aria-autocomplete="list"
2199
2163
  role="combobox"
2200
2164
  [attr.placeholder]="placeholder"
2201
- [size]="size"
2165
+ [pSize]="size"
2202
2166
  [attr.maxlength]="maxlength"
2203
2167
  [tabindex]="!disabled ? tabindex : -1"
2204
2168
  [readonly]="readonly"
@@ -2219,9 +2183,9 @@ class AutoComplete extends BaseComponent {
2219
2183
  [fluid]="hasFluid()"
2220
2184
  />
2221
2185
  <ng-container *ngIf="filled && !disabled && showClear && !loading">
2222
- <TimesIcon *ngIf="!clearIconTemplate" [styleClass]="'p-autocomplete-clear-icon'" (click)="clear()" [attr.aria-hidden]="true" />
2223
- <span *ngIf="clearIconTemplate" class="p-autocomplete-clear-icon" (click)="clear()" [attr.aria-hidden]="true">
2224
- <ng-template *ngTemplateOutlet="clearIconTemplate"></ng-template>
2186
+ <TimesIcon *ngIf="!cleariconTemplate" [styleClass]="'p-autocomplete-clear-icon'" (click)="clear()" [attr.aria-hidden]="true" />
2187
+ <span *ngIf="cleariconTemplate" class="p-autocomplete-clear-icon" (click)="clear()" [attr.aria-hidden]="true">
2188
+ <ng-template *ngTemplateOutlet="cleariconTemplate"></ng-template>
2225
2189
  </span>
2226
2190
  </ng-container>
2227
2191
 
@@ -2248,9 +2212,9 @@ class AutoComplete extends BaseComponent {
2248
2212
  [attr.aria-posinset]="i + 1"
2249
2213
  [attr.aria-selected]="true"
2250
2214
  >
2251
- <ng-container *ngTemplateOutlet="selectedItemTemplate; context: { $implicit: option }"></ng-container>
2252
- <p-chip styleClass="p-autocomplete-chip" *ngIf="!selectedItemTemplate" [label]="getOptionLabel(option)" [removable]="true">
2253
- <ng-container *ngIf="!removeIconTemplate">
2215
+ <ng-container *ngTemplateOutlet="selecteditemTemplate; context: { $implicit: option }"></ng-container>
2216
+ <p-chip styleClass="p-autocomplete-chip" *ngIf="!selecteditemTemplate" [label]="getOptionLabel(option)" [removable]="true">
2217
+ <ng-container *ngIf="!removeiconTemplate">
2254
2218
  <ng-template #removeicon>
2255
2219
  <span class="p-autocomplete-chip-icon" (click)="!readonly ? removeOption($event, i) : ''">
2256
2220
  <TimesCircleIcon [styleClass]="'p-autocomplete-chip-icon'" [attr.aria-hidden]="true" />
@@ -2258,8 +2222,8 @@ class AutoComplete extends BaseComponent {
2258
2222
  </ng-template>
2259
2223
  </ng-container>
2260
2224
  </p-chip>
2261
- <span *ngIf="removeIconTemplate" [attr.aria-hidden]="true">
2262
- <ng-template *ngTemplateOutlet="removeIconTemplate; context: { class: 'p-autocomplete-chip-icon' }"></ng-template>
2225
+ <span *ngIf="removeiconTemplate" [attr.aria-hidden]="true">
2226
+ <ng-template *ngTemplateOutlet="removeiconTemplate; context: { class: 'p-autocomplete-chip-icon' }"></ng-template>
2263
2227
  </span>
2264
2228
  </li>
2265
2229
  <li class="p-autocomplete-input-chip" role="option">
@@ -2298,16 +2262,16 @@ class AutoComplete extends BaseComponent {
2298
2262
  </li>
2299
2263
  </ul>
2300
2264
  <ng-container *ngIf="loading">
2301
- <SpinnerIcon *ngIf="!loadingIconTemplate" [styleClass]="'p-autocomplete-loader'" [spin]="true" [attr.aria-hidden]="true" />
2302
- <span *ngIf="loadingIconTemplate" class="p-autocomplete-loader pi-spin " [attr.aria-hidden]="true">
2303
- <ng-template *ngTemplateOutlet="loadingIconTemplate"></ng-template>
2265
+ <SpinnerIcon *ngIf="!loadingiconTemplate" [styleClass]="'p-autocomplete-loader'" [spin]="true" [attr.aria-hidden]="true" />
2266
+ <span *ngIf="loadingiconTemplate" class="p-autocomplete-loader pi-spin " [attr.aria-hidden]="true">
2267
+ <ng-template *ngTemplateOutlet="loadingiconTemplate"></ng-template>
2304
2268
  </span>
2305
2269
  </ng-container>
2306
2270
  <button #ddBtn type="button" [attr.aria-label]="dropdownAriaLabel" class="p-autocomplete-dropdown" [disabled]="disabled" pRipple (click)="handleDropdownClick($event)" *ngIf="dropdown" [attr.tabindex]="tabindex">
2307
2271
  <span *ngIf="dropdownIcon" [ngClass]="dropdownIcon" [attr.aria-hidden]="true"></span>
2308
2272
  <ng-container *ngIf="!dropdownIcon">
2309
- <ChevronDownIcon *ngIf="!dropdownIconTemplate" />
2310
- <ng-template *ngTemplateOutlet="dropdownIconTemplate"></ng-template>
2273
+ <ChevronDownIcon *ngIf="!dropdowniconTemplate" />
2274
+ <ng-template *ngTemplateOutlet="dropdowniconTemplate"></ng-template>
2311
2275
  </ng-container>
2312
2276
  </button>
2313
2277
  <p-overlay
@@ -2321,86 +2285,87 @@ class AutoComplete extends BaseComponent {
2321
2285
  (onAnimationStart)="onOverlayAnimationStart($event)"
2322
2286
  (onHide)="hide()"
2323
2287
  >
2324
- <div [ngClass]="panelClass" [ngStyle]="panelStyle" [class]="panelStyleClass">
2325
- <ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
2326
- <div class="p-autocomplete-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight">
2327
- <p-scroller
2328
- *ngIf="virtualScroll"
2329
- #scroller
2330
- [items]="visibleOptions()"
2331
- [style]="{ height: scrollHeight }"
2332
- [itemSize]="virtualScrollItemSize || _itemSize"
2333
- [autoSize]="true"
2334
- [lazy]="lazy"
2335
- (onLazyLoad)="onLazyLoad.emit($event)"
2336
- [options]="virtualScrollOptions"
2337
- >
2338
- <ng-template #content let-items let-scrollerOptions="options">
2339
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
2340
- </ng-template>
2341
- <ng-container *ngIf="loaderTemplate">
2342
- <ng-template #loader let-scrollerOptions="options">
2343
- <ng-container *ngTemplateOutlet="loaderTemplate; context: { options: scrollerOptions }"></ng-container>
2288
+ <ng-template #content>
2289
+ <div [ngClass]="panelClass" [ngStyle]="panelStyle" [class]="panelStyleClass">
2290
+ <ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
2291
+ <div class="p-autocomplete-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight">
2292
+ <p-scroller
2293
+ *ngIf="virtualScroll"
2294
+ #scroller
2295
+ [items]="visibleOptions()"
2296
+ [style]="{ height: scrollHeight }"
2297
+ [itemSize]="virtualScrollItemSize || _itemSize"
2298
+ [autoSize]="true"
2299
+ [lazy]="lazy"
2300
+ (onLazyLoad)="onLazyLoad.emit($event)"
2301
+ [options]="virtualScrollOptions"
2302
+ >
2303
+ <ng-template #content let-items let-scrollerOptions="options">
2304
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
2344
2305
  </ng-template>
2306
+ <ng-container *ngIf="loaderTemplate">
2307
+ <ng-template #loader let-scrollerOptions="options">
2308
+ <ng-container *ngTemplateOutlet="loader; context: { options: scrollerOptions }"></ng-container>
2309
+ </ng-template>
2310
+ </ng-container>
2311
+ </p-scroller>
2312
+ <ng-container *ngIf="!virtualScroll">
2313
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
2345
2314
  </ng-container>
2346
- </p-scroller>
2347
- <ng-container *ngIf="!virtualScroll">
2348
- <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
2349
- </ng-container>
2350
- </div>
2315
+ </div>
2351
2316
 
2352
- <ng-template #buildInItems let-items let-scrollerOptions="options">
2353
- <ul #items class="p-autocomplete-list" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="id + '_list'" [attr.aria-label]="listLabel">
2354
- <ng-template ngFor let-option [ngForOf]="items" let-i="index">
2355
- <ng-container *ngIf="isOptionGroup(option)">
2356
- <li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-autocomplete-option-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2357
- <span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
2358
- <ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
2359
- </li>
2360
- </ng-container>
2361
- <ng-container *ngIf="!isOptionGroup(option)">
2362
- <li
2363
- pRipple
2364
- [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
2365
- [ngClass]="optionClass(option, i, scrollerOptions)"
2366
- [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
2367
- role="option"
2368
- [attr.aria-label]="getOptionLabel(option)"
2369
- [attr.aria-selected]="isSelected(option)"
2370
- [attr.aria-disabled]="isOptionDisabled(option)"
2371
- [attr.data-p-focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
2372
- [attr.aria-setsize]="ariaSetSize"
2373
- [attr.aria-posinset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
2374
- (click)="onOptionSelect($event, option)"
2375
- (mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
2376
- >
2377
- <span *ngIf="!itemTemplate">{{ getOptionLabel(option) }}</span>
2378
- <ng-container
2379
- *ngTemplateOutlet="
2380
- itemTemplate;
2381
- context: {
2382
- $implicit: option,
2383
- index: scrollerOptions.getOptions ? scrollerOptions.getOptions(i) : i
2384
- }
2385
- "
2386
- ></ng-container>
2387
- </li>
2388
- </ng-container>
2389
- </ng-template>
2390
- <li *ngIf="!items || (items && items.length === 0 && showEmptyMessage)" class="p-autocomplete-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2391
- @if (!emptyTemplate) {
2392
- {{ searchResultMessageText }}
2393
- } @else {
2394
- <ng-container *ngTemplateOutlet="emptyTemplate"></ng-container>
2395
- }
2396
- </li>
2397
- </ul>
2398
- </ng-template>
2399
- <ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
2400
- </div>
2401
- <span role="status" aria-live="polite" class="p-hidden-accessible">
2402
- {{ selectedMessageText }}
2403
- </span>
2317
+ <ng-template #buildInItems let-items let-scrollerOptions="options">
2318
+ <ul #items class="p-autocomplete-list" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="id + '_list'" [attr.aria-label]="listLabel">
2319
+ <ng-template ngFor let-option [ngForOf]="items" let-i="index">
2320
+ <ng-container *ngIf="isOptionGroup(option)">
2321
+ <li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-autocomplete-option-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2322
+ <span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
2323
+ <ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
2324
+ </li>
2325
+ </ng-container>
2326
+ <ng-container *ngIf="!isOptionGroup(option)">
2327
+ <li
2328
+ pRipple
2329
+ [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
2330
+ [ngClass]="optionClass(option, i, scrollerOptions)"
2331
+ [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
2332
+ role="option"
2333
+ [attr.aria-label]="getOptionLabel(option)"
2334
+ [attr.aria-selected]="isSelected(option)"
2335
+ [attr.aria-disabled]="isOptionDisabled(option)"
2336
+ [attr.data-p-focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
2337
+ [attr.aria-setsize]="ariaSetSize"
2338
+ [attr.aria-posinset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
2339
+ (click)="onOptionSelect($event, option)"
2340
+ (mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
2341
+ >
2342
+ <span *ngIf="!itemTemplate">{{ getOptionLabel(option) }}</span>
2343
+ <ng-container
2344
+ *ngTemplateOutlet="
2345
+ itemTemplate;
2346
+ context: {
2347
+ $implicit: option,
2348
+ index: scrollerOptions.getOptions ? scrollerOptions.getOptions(i) : i
2349
+ }
2350
+ "
2351
+ ></ng-container>
2352
+ </li>
2353
+ </ng-container>
2354
+ </ng-template>
2355
+ <li *ngIf="!items || (items && items.length === 0 && showEmptyMessage)" class="p-autocomplete-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2356
+ <ng-container *ngIf="!emptyTemplate; else empty">
2357
+ {{ searchResultMessageText }}
2358
+ </ng-container>
2359
+ <ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
2360
+ </li>
2361
+ </ul>
2362
+ </ng-template>
2363
+ <ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
2364
+ </div>
2365
+ <span role="status" aria-live="polite" class="p-hidden-accessible">
2366
+ {{ selectedMessageText }}
2367
+ </span>
2368
+ </ng-template>
2404
2369
  </p-overlay>
2405
2370
  </div>
2406
2371
  `,
@@ -2626,7 +2591,7 @@ class AutoComplete extends BaseComponent {
2626
2591
  }], footerTemplate: [{
2627
2592
  type: ContentChild,
2628
2593
  args: ['footer']
2629
- }], selectedItemTemplate: [{
2594
+ }], selecteditemTemplate: [{
2630
2595
  type: ContentChild,
2631
2596
  args: ['selecteditem']
2632
2597
  }], groupTemplate: [{
@@ -2635,16 +2600,16 @@ class AutoComplete extends BaseComponent {
2635
2600
  }], loaderTemplate: [{
2636
2601
  type: ContentChild,
2637
2602
  args: ['loader']
2638
- }], removeIconTemplate: [{
2603
+ }], removeiconTemplate: [{
2639
2604
  type: ContentChild,
2640
2605
  args: ['removeicon']
2641
- }], loadingIconTemplate: [{
2606
+ }], loadingiconTemplate: [{
2642
2607
  type: ContentChild,
2643
2608
  args: ['loadingicon']
2644
- }], clearIconTemplate: [{
2609
+ }], cleariconTemplate: [{
2645
2610
  type: ContentChild,
2646
2611
  args: ['clearicon']
2647
- }], dropdownIconTemplate: [{
2612
+ }], dropdowniconTemplate: [{
2648
2613
  type: ContentChild,
2649
2614
  args: ['dropdownicon']
2650
2615
  }] }); })();