primeng 18.0.0-beta.5 → 18.0.0-rc.2

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 (389) hide show
  1. package/accordion/accordion.d.ts +2 -4
  2. package/api/primeicons.d.ts +3 -3
  3. package/api/scrolleroptions.d.ts +10 -0
  4. package/api/selectitemgroup.d.ts +2 -2
  5. package/api/shared.d.ts +2 -2
  6. package/autocomplete/autocomplete.d.ts +11 -12
  7. package/badge/badge.d.ts +16 -2
  8. package/blockui/blockui.d.ts +2 -2
  9. package/breadcrumb/breadcrumb.d.ts +3 -4
  10. package/button/button.d.ts +3 -4
  11. package/calendar/calendar.d.ts +12 -12
  12. package/card/card.d.ts +2 -2
  13. package/carousel/carousel.d.ts +3 -3
  14. package/cascadeselect/cascadeselect.d.ts +31 -15
  15. package/cascadeselect/style/cascadeselectstyle.d.ts +8 -1
  16. package/checkbox/checkbox.d.ts +2 -2
  17. package/chip/chip.d.ts +2 -2
  18. package/confirmdialog/confirmdialog.d.ts +3 -3
  19. package/confirmpopup/confirmpopup.d.ts +3 -4
  20. package/contextmenu/contextmenu.d.ts +2 -2
  21. package/dataview/dataview.d.ts +9 -10
  22. package/datepicker/datepicker.d.ts +8 -8
  23. package/defer/defer.d.ts +2 -0
  24. package/dialog/dialog.d.ts +4 -4
  25. package/drawer/drawer.d.ts +2 -2
  26. package/dropdown/dropdown.d.ts +0 -23
  27. package/editor/editor.d.ts +2 -2
  28. package/esm2022/accordion/accordion.mjs +9 -35
  29. package/esm2022/accordion/style/accordionstyle.mjs +9 -7
  30. package/esm2022/api/primeicons.mjs +4 -4
  31. package/esm2022/api/scrolleroptions.mjs +1 -1
  32. package/esm2022/api/selectitemgroup.mjs +1 -1
  33. package/esm2022/api/shared.mjs +6 -6
  34. package/esm2022/autocomplete/autocomplete.mjs +277 -311
  35. package/esm2022/autocomplete/style/autocompletestyle.mjs +12 -12
  36. package/esm2022/avatar/avatar.mjs +3 -3
  37. package/esm2022/avatar/style/avatarstyle.mjs +3 -3
  38. package/esm2022/badge/badge.mjs +33 -3
  39. package/esm2022/badge/style/badgestyle.mjs +3 -3
  40. package/esm2022/base/style/basestyle.mjs +6 -4
  41. package/esm2022/basecomponent/basecomponent.mjs +8 -2
  42. package/esm2022/blockui/blockui.mjs +6 -6
  43. package/esm2022/breadcrumb/breadcrumb.mjs +94 -101
  44. package/esm2022/breadcrumb/style/breadcrumbstyle.mjs +5 -1
  45. package/esm2022/button/button.mjs +19 -37
  46. package/esm2022/button/style/buttonstyle.mjs +17 -7
  47. package/esm2022/buttongroup/style/buttongroupstyle.mjs +9 -9
  48. package/esm2022/calendar/calendar.mjs +114 -114
  49. package/esm2022/calendar/style/calendarstyle.mjs +5 -5
  50. package/esm2022/card/card.mjs +10 -9
  51. package/esm2022/carousel/carousel.mjs +20 -19
  52. package/esm2022/carousel/style/carouselstyle.mjs +10 -1
  53. package/esm2022/cascadeselect/cascadeselect.mjs +182 -107
  54. package/esm2022/cascadeselect/style/cascadeselectstyle.mjs +37 -22
  55. package/esm2022/checkbox/checkbox.mjs +8 -8
  56. package/esm2022/chip/chip.mjs +10 -10
  57. package/esm2022/chip/style/chipstyle.mjs +2 -2
  58. package/esm2022/colorpicker/style/colorpickerstyle.mjs +29 -1
  59. package/esm2022/confirmdialog/confirmdialog.mjs +17 -14
  60. package/esm2022/confirmpopup/confirmpopup.mjs +45 -36
  61. package/esm2022/contextmenu/contextmenu.mjs +12 -12
  62. package/esm2022/contextmenu/style/contextmenustyle.mjs +11 -1
  63. package/esm2022/dataview/dataview.mjs +39 -113
  64. package/esm2022/datepicker/datepicker.mjs +91 -91
  65. package/esm2022/datepicker/style/datepickerstyle.mjs +23 -16
  66. package/esm2022/defer/defer.mjs +7 -1
  67. package/esm2022/dialog/dialog.mjs +29 -28
  68. package/esm2022/dialog/style/dialogstyle.mjs +22 -1
  69. package/esm2022/divider/style/dividerstyle.mjs +18 -14
  70. package/esm2022/dock/style/dockstyle.mjs +11 -1
  71. package/esm2022/drawer/drawer.mjs +8 -8
  72. package/esm2022/drawer/style/drawerstyle.mjs +5 -1
  73. package/esm2022/dropdown/dropdown.mjs +4 -18
  74. package/esm2022/dropdown/style/dropdownstyle.mjs +4 -4
  75. package/esm2022/editor/editor.mjs +1 -1
  76. package/esm2022/editor/style/editorstyle.mjs +52 -158
  77. package/esm2022/fieldset/fieldset.mjs +20 -21
  78. package/esm2022/fileupload/fileupload.mjs +108 -68
  79. package/esm2022/floatlabel/style/floatlabelstyle.mjs +5 -5
  80. package/esm2022/galleria/galleria.mjs +6 -1
  81. package/esm2022/galleria/style/galleriastyle.mjs +18 -1
  82. package/esm2022/iconfield/style/iconfieldstyle.mjs +2 -2
  83. package/esm2022/iftalabel/iftalabel.mjs +6 -6
  84. package/esm2022/iftalabel/style/iftalabelstyle.mjs +5 -5
  85. package/esm2022/image/image.mjs +36 -69
  86. package/esm2022/image/style/imagestyle.mjs +7 -7
  87. package/esm2022/imagecompare/imagecompare.mjs +158 -0
  88. package/esm2022/imagecompare/primeng-imagecompare.mjs +5 -0
  89. package/esm2022/imagecompare/public_api.mjs +3 -0
  90. package/esm2022/imagecompare/style/imagecomparestyle.mjs +124 -0
  91. package/esm2022/inplace/inplace.mjs +8 -8
  92. package/esm2022/inputmask/inputmask.mjs +10 -10
  93. package/esm2022/inputmask/style/inputmaskstyle.mjs +14 -7
  94. package/esm2022/inputnumber/inputnumber.mjs +41 -43
  95. package/esm2022/inputnumber/style/inputnumberstyle.mjs +27 -19
  96. package/esm2022/inputotp/inputotp.mjs +1 -13
  97. package/esm2022/inputtext/style/inputtextstyle.mjs +15 -9
  98. package/esm2022/keyfilter/keyfilter.mjs +4 -3
  99. package/esm2022/listbox/listbox.mjs +8 -53
  100. package/esm2022/megamenu/megamenu.mjs +18 -18
  101. package/esm2022/megamenu/style/megamenustyle.mjs +17 -1
  102. package/esm2022/menu/menu.mjs +46 -28
  103. package/esm2022/menubar/menubar.mjs +25 -25
  104. package/esm2022/menubar/style/menubarstyle.mjs +22 -2
  105. package/esm2022/message/message.mjs +12 -12
  106. package/esm2022/messages/messages.mjs +2 -1
  107. package/esm2022/metergroup/style/metergroupstyle.mjs +9 -9
  108. package/esm2022/multiselect/multiselect.mjs +214 -202
  109. package/esm2022/multiselect/style/multiselectstyle.mjs +13 -15
  110. package/esm2022/orderlist/orderlist.mjs +38 -80
  111. package/esm2022/organizationchart/style/organizationchartstyle.mjs +11 -22
  112. package/esm2022/overlaypanel/overlaypanel.mjs +24 -24
  113. package/esm2022/paginator/paginator.mjs +48 -48
  114. package/esm2022/paginator/style/paginatorstyle.mjs +10 -3
  115. package/esm2022/panel/panel.mjs +17 -37
  116. package/esm2022/panelmenu/panelmenu.mjs +32 -43
  117. package/esm2022/panelmenu/style/panelmenustyle.mjs +13 -5
  118. package/esm2022/password/password.mjs +26 -26
  119. package/esm2022/password/style/passwordstyle.mjs +14 -6
  120. package/esm2022/picklist/picklist.mjs +5 -5
  121. package/esm2022/popover/popover.mjs +21 -25
  122. package/esm2022/progressbar/style/progressbarstyle.mjs +29 -29
  123. package/esm2022/radiobutton/style/radiobuttonstyle.mjs +2 -2
  124. package/esm2022/rating/rating.mjs +12 -12
  125. package/esm2022/scroller/scroller.mjs +9 -9
  126. package/esm2022/scrollpanel/scrollpanel.mjs +4 -4
  127. package/esm2022/scrollpanel/style/scrollpanelstyle.mjs +3 -2
  128. package/esm2022/scrolltop/style/scrolltopstyle.mjs +7 -2
  129. package/esm2022/select/select.mjs +66 -113
  130. package/esm2022/select/style/selectstyle.mjs +14 -20
  131. package/esm2022/selectbutton/style/selectbuttonstyle.mjs +5 -5
  132. package/esm2022/skeleton/style/skeletonstyle.mjs +15 -2
  133. package/esm2022/slider/slider.mjs +18 -11
  134. package/esm2022/slider/style/sliderstyle.mjs +6 -6
  135. package/esm2022/speeddial/speeddial.mjs +1 -16
  136. package/esm2022/speeddial/style/speeddialstyle.mjs +2 -2
  137. package/esm2022/splitbutton/splitbutton.mjs +8 -8
  138. package/esm2022/splitbutton/style/splitbuttonstyle.mjs +9 -9
  139. package/esm2022/splitter/splitter.mjs +58 -18
  140. package/esm2022/stepper/style/stepperstyle.mjs +6 -1
  141. package/esm2022/styleclass/styleclass.mjs +2 -2
  142. package/esm2022/table/style/tablestyle.mjs +14 -7
  143. package/esm2022/table/table.mjs +411 -278
  144. package/esm2022/tabmenu/tabmenu.mjs +15 -33
  145. package/esm2022/tabs/tab.mjs +4 -3
  146. package/esm2022/tabs/tablist.mjs +9 -6
  147. package/esm2022/tabview/tabview.mjs +72 -64
  148. package/esm2022/terminal/style/terminalstyle.mjs +2 -2
  149. package/esm2022/textarea/style/textareastyle.mjs +9 -7
  150. package/esm2022/tieredmenu/style/tieredmenustyle.mjs +6 -1
  151. package/esm2022/tieredmenu/tieredmenu.mjs +12 -12
  152. package/esm2022/timeline/style/timelinestyle.mjs +2 -1
  153. package/esm2022/timeline/timeline.mjs +1 -16
  154. package/esm2022/toast/style/toaststyle.mjs +7 -1
  155. package/esm2022/togglebutton/style/togglebuttonstyle.mjs +2 -2
  156. package/esm2022/toggleswitch/toggleswitch.mjs +1 -10
  157. package/esm2022/tooltip/tooltip.mjs +33 -25
  158. package/esm2022/tree/style/treestyle.mjs +8 -6
  159. package/esm2022/tree/tree.mjs +44 -44
  160. package/esm2022/treeselect/style/treeselectstyle.mjs +15 -12
  161. package/esm2022/treeselect/treeselect.mjs +49 -49
  162. package/esm2022/treetable/style/treetablestyle.mjs +4 -4
  163. package/esm2022/treetable/treetable.mjs +20 -4
  164. package/esm2022/usestyle/usestyle.mjs +3 -2
  165. package/fesm2022/primeng-accordion.mjs +16 -40
  166. package/fesm2022/primeng-accordion.mjs.map +1 -1
  167. package/fesm2022/primeng-api.mjs +8 -8
  168. package/fesm2022/primeng-api.mjs.map +1 -1
  169. package/fesm2022/primeng-autocomplete.mjs +287 -321
  170. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  171. package/fesm2022/primeng-avatar.mjs +4 -4
  172. package/fesm2022/primeng-avatar.mjs.map +1 -1
  173. package/fesm2022/primeng-badge.mjs +34 -4
  174. package/fesm2022/primeng-badge.mjs.map +1 -1
  175. package/fesm2022/primeng-base.mjs +5 -3
  176. package/fesm2022/primeng-base.mjs.map +1 -1
  177. package/fesm2022/primeng-basecomponent.mjs +7 -1
  178. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  179. package/fesm2022/primeng-blockui.mjs +5 -5
  180. package/fesm2022/primeng-blockui.mjs.map +1 -1
  181. package/fesm2022/primeng-breadcrumb.mjs +97 -100
  182. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  183. package/fesm2022/primeng-button.mjs +34 -42
  184. package/fesm2022/primeng-button.mjs.map +1 -1
  185. package/fesm2022/primeng-buttongroup.mjs +8 -8
  186. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  187. package/fesm2022/primeng-calendar.mjs +117 -117
  188. package/fesm2022/primeng-calendar.mjs.map +1 -1
  189. package/fesm2022/primeng-card.mjs +9 -8
  190. package/fesm2022/primeng-card.mjs.map +1 -1
  191. package/fesm2022/primeng-carousel.mjs +28 -18
  192. package/fesm2022/primeng-carousel.mjs.map +1 -1
  193. package/fesm2022/primeng-cascadeselect.mjs +218 -128
  194. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  195. package/fesm2022/primeng-checkbox.mjs +7 -7
  196. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  197. package/fesm2022/primeng-chip.mjs +10 -10
  198. package/fesm2022/primeng-chip.mjs.map +1 -1
  199. package/fesm2022/primeng-colorpicker.mjs +28 -0
  200. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  201. package/fesm2022/primeng-confirmdialog.mjs +16 -13
  202. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  203. package/fesm2022/primeng-confirmpopup.mjs +44 -35
  204. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  205. package/fesm2022/primeng-contextmenu.mjs +21 -11
  206. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  207. package/fesm2022/primeng-dataview.mjs +38 -112
  208. package/fesm2022/primeng-dataview.mjs.map +1 -1
  209. package/fesm2022/primeng-datepicker.mjs +112 -105
  210. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  211. package/fesm2022/primeng-defer.mjs +6 -0
  212. package/fesm2022/primeng-defer.mjs.map +1 -1
  213. package/fesm2022/primeng-dialog.mjs +49 -27
  214. package/fesm2022/primeng-dialog.mjs.map +1 -1
  215. package/fesm2022/primeng-divider.mjs +17 -13
  216. package/fesm2022/primeng-divider.mjs.map +1 -1
  217. package/fesm2022/primeng-dock.mjs +10 -0
  218. package/fesm2022/primeng-dock.mjs.map +1 -1
  219. package/fesm2022/primeng-drawer.mjs +11 -7
  220. package/fesm2022/primeng-drawer.mjs.map +1 -1
  221. package/fesm2022/primeng-dropdown.mjs +6 -20
  222. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  223. package/fesm2022/primeng-editor.mjs +51 -157
  224. package/fesm2022/primeng-editor.mjs.map +1 -1
  225. package/fesm2022/primeng-fieldset.mjs +19 -20
  226. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  227. package/fesm2022/primeng-fileupload.mjs +107 -67
  228. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  229. package/fesm2022/primeng-floatlabel.mjs +4 -4
  230. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  231. package/fesm2022/primeng-galleria.mjs +22 -0
  232. package/fesm2022/primeng-galleria.mjs.map +1 -1
  233. package/fesm2022/primeng-iconfield.mjs +1 -1
  234. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  235. package/fesm2022/primeng-iftalabel.mjs +9 -9
  236. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  237. package/fesm2022/primeng-image.mjs +41 -74
  238. package/fesm2022/primeng-image.mjs.map +1 -1
  239. package/fesm2022/primeng-imagecompare.mjs +286 -0
  240. package/fesm2022/primeng-imagecompare.mjs.map +1 -0
  241. package/fesm2022/primeng-inplace.mjs +7 -7
  242. package/fesm2022/primeng-inplace.mjs.map +1 -1
  243. package/fesm2022/primeng-inputmask.mjs +22 -15
  244. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  245. package/fesm2022/primeng-inputnumber.mjs +66 -60
  246. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  247. package/fesm2022/primeng-inputotp.mjs +0 -12
  248. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  249. package/fesm2022/primeng-inputtext.mjs +14 -8
  250. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  251. package/fesm2022/primeng-keyfilter.mjs +3 -2
  252. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  253. package/fesm2022/primeng-listbox.mjs +7 -52
  254. package/fesm2022/primeng-listbox.mjs.map +1 -1
  255. package/fesm2022/primeng-megamenu.mjs +33 -17
  256. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  257. package/fesm2022/primeng-menu.mjs +45 -27
  258. package/fesm2022/primeng-menu.mjs.map +1 -1
  259. package/fesm2022/primeng-menubar.mjs +45 -25
  260. package/fesm2022/primeng-menubar.mjs.map +1 -1
  261. package/fesm2022/primeng-message.mjs +11 -11
  262. package/fesm2022/primeng-message.mjs.map +1 -1
  263. package/fesm2022/primeng-messages.mjs +1 -0
  264. package/fesm2022/primeng-messages.mjs.map +1 -1
  265. package/fesm2022/primeng-metergroup.mjs +8 -8
  266. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  267. package/fesm2022/primeng-multiselect.mjs +225 -215
  268. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  269. package/fesm2022/primeng-orderlist.mjs +37 -79
  270. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  271. package/fesm2022/primeng-organizationchart.mjs +10 -21
  272. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  273. package/fesm2022/primeng-overlaypanel.mjs +23 -23
  274. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  275. package/fesm2022/primeng-paginator.mjs +56 -49
  276. package/fesm2022/primeng-paginator.mjs.map +1 -1
  277. package/fesm2022/primeng-panel.mjs +16 -36
  278. package/fesm2022/primeng-panel.mjs.map +1 -1
  279. package/fesm2022/primeng-panelmenu.mjs +43 -46
  280. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  281. package/fesm2022/primeng-password.mjs +38 -30
  282. package/fesm2022/primeng-password.mjs.map +1 -1
  283. package/fesm2022/primeng-picklist.mjs +4 -4
  284. package/fesm2022/primeng-picklist.mjs.map +1 -1
  285. package/fesm2022/primeng-popover.mjs +20 -24
  286. package/fesm2022/primeng-popover.mjs.map +1 -1
  287. package/fesm2022/primeng-progressbar.mjs +28 -28
  288. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  289. package/fesm2022/primeng-radiobutton.mjs +1 -1
  290. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  291. package/fesm2022/primeng-rating.mjs +11 -11
  292. package/fesm2022/primeng-rating.mjs.map +1 -1
  293. package/fesm2022/primeng-scroller.mjs +8 -8
  294. package/fesm2022/primeng-scroller.mjs.map +1 -1
  295. package/fesm2022/primeng-scrollpanel.mjs +5 -4
  296. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  297. package/fesm2022/primeng-scrolltop.mjs +6 -1
  298. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  299. package/fesm2022/primeng-select.mjs +78 -131
  300. package/fesm2022/primeng-select.mjs.map +1 -1
  301. package/fesm2022/primeng-selectbutton.mjs +4 -4
  302. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  303. package/fesm2022/primeng-skeleton.mjs +14 -1
  304. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  305. package/fesm2022/primeng-slider.mjs +22 -15
  306. package/fesm2022/primeng-slider.mjs.map +1 -1
  307. package/fesm2022/primeng-speeddial.mjs +1 -16
  308. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  309. package/fesm2022/primeng-splitbutton.mjs +15 -15
  310. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  311. package/fesm2022/primeng-splitter.mjs +59 -19
  312. package/fesm2022/primeng-splitter.mjs.map +1 -1
  313. package/fesm2022/primeng-stepper.mjs +5 -0
  314. package/fesm2022/primeng-stepper.mjs.map +1 -1
  315. package/fesm2022/primeng-styleclass.mjs +1 -1
  316. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  317. package/fesm2022/primeng-table.mjs +424 -284
  318. package/fesm2022/primeng-table.mjs.map +1 -1
  319. package/fesm2022/primeng-tabmenu.mjs +14 -32
  320. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  321. package/fesm2022/primeng-tabs.mjs +11 -7
  322. package/fesm2022/primeng-tabs.mjs.map +1 -1
  323. package/fesm2022/primeng-tabview.mjs +71 -63
  324. package/fesm2022/primeng-tabview.mjs.map +1 -1
  325. package/fesm2022/primeng-terminal.mjs +1 -1
  326. package/fesm2022/primeng-terminal.mjs.map +1 -1
  327. package/fesm2022/primeng-textarea.mjs +8 -6
  328. package/fesm2022/primeng-textarea.mjs.map +1 -1
  329. package/fesm2022/primeng-tieredmenu.mjs +16 -11
  330. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  331. package/fesm2022/primeng-timeline.mjs +1 -15
  332. package/fesm2022/primeng-timeline.mjs.map +1 -1
  333. package/fesm2022/primeng-toast.mjs +6 -0
  334. package/fesm2022/primeng-toast.mjs.map +1 -1
  335. package/fesm2022/primeng-togglebutton.mjs +1 -1
  336. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  337. package/fesm2022/primeng-toggleswitch.mjs +0 -9
  338. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  339. package/fesm2022/primeng-tooltip.mjs +32 -24
  340. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  341. package/fesm2022/primeng-tree.mjs +50 -48
  342. package/fesm2022/primeng-tree.mjs.map +1 -1
  343. package/fesm2022/primeng-treeselect.mjs +62 -59
  344. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  345. package/fesm2022/primeng-treetable.mjs +22 -6
  346. package/fesm2022/primeng-treetable.mjs.map +1 -1
  347. package/fesm2022/primeng-usestyle.mjs +2 -1
  348. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  349. package/fieldset/fieldset.d.ts +3 -3
  350. package/fileupload/fileupload.d.ts +21 -5
  351. package/iftalabel/iftalabel.d.ts +2 -2
  352. package/image/image.d.ts +6 -7
  353. package/imagecompare/imagecompare.d.ts +52 -0
  354. package/imagecompare/index.d.ts +5 -0
  355. package/imagecompare/public_api.d.ts +2 -0
  356. package/imagecompare/style/imagecomparestyle.d.ts +35 -0
  357. package/inplace/inplace.d.ts +2 -2
  358. package/inputmask/inputmask.d.ts +2 -2
  359. package/inputnumber/inputnumber.d.ts +4 -5
  360. package/inputotp/inputotp.d.ts +1 -2
  361. package/listbox/listbox.d.ts +2 -3
  362. package/megamenu/megamenu.d.ts +4 -4
  363. package/menu/menu.d.ts +10 -4
  364. package/menubar/menubar.d.ts +5 -5
  365. package/message/message.d.ts +2 -2
  366. package/multiselect/multiselect.d.ts +16 -16
  367. package/orderlist/orderlist.d.ts +10 -11
  368. package/overlaypanel/overlaypanel.d.ts +3 -4
  369. package/package.json +219 -213
  370. package/paginator/paginator.d.ts +6 -6
  371. package/panel/panel.d.ts +3 -4
  372. package/panelmenu/panelmenu.d.ts +2 -3
  373. package/password/password.d.ts +4 -4
  374. package/popover/popover.d.ts +7 -5
  375. package/rating/rating.d.ts +4 -4
  376. package/scroller/scroller.d.ts +2 -2
  377. package/select/select.d.ts +12 -13
  378. package/speeddial/speeddial.d.ts +2 -3
  379. package/splitbutton/splitbutton.d.ts +2 -2
  380. package/splitter/splitter.d.ts +9 -2
  381. package/table/table.d.ts +47 -6
  382. package/tabmenu/tabmenu.d.ts +5 -6
  383. package/tabview/tabview.d.ts +4 -5
  384. package/tieredmenu/tieredmenu.d.ts +2 -2
  385. package/timeline/timeline.d.ts +0 -1
  386. package/toggleswitch/toggleswitch.d.ts +0 -1
  387. package/tooltip/tooltip.d.ts +2 -1
  388. package/tree/tree.d.ts +6 -6
  389. 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';
@@ -275,16 +274,6 @@ const theme = ({ dt }) => `
275
274
  height: ${dt('form.field.lg.font.size')};
276
275
  }
277
276
 
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
277
  .p-autocomplete-clear-icon {
289
278
  position: absolute;
290
279
  top: 50%;
@@ -294,11 +283,21 @@ p-autocomplete.ng-invalid.ng-dirty > .p-autocomplete.p-inputwrapper > .p-autocom
294
283
  color: ${dt('autocomplete.dropdown.color')};
295
284
  }
296
285
 
286
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input,
287
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple {
288
+ border-color: ${dt('autocomplete.invalid.border.color')};
289
+ }
290
+
291
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
292
+ p-autocomplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple {
293
+ border-color: ${dt('autocomplete.focus.border.color')};
294
+ }
295
+
297
296
  p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder {
298
297
  color: ${dt('autocomplete.invalid.placeholder.color')};
299
298
  }
300
299
 
301
- p-autocomplete.ng-invalid.ng-dirty .p-inputtext::placeholder {
300
+ p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder {
302
301
  color: ${dt('autocomplete.invalid.placeholder.color')};
303
302
  }`;
304
303
  const inlineStyles = {
@@ -452,7 +451,7 @@ const _c25 = () => ({});
452
451
  const _c26 = (a0, a1) => ({ $implicit: a0, index: a1 });
453
452
  function AutoComplete_input_2_Template(rf, ctx) { if (rf & 1) {
454
453
  const _r2 = i0.ɵɵgetCurrentView();
455
- i0.ɵɵelementStart(0, "input", 23, 3);
454
+ i0.ɵɵelementStart(0, "input", 18, 3);
456
455
  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
456
  i0.ɵɵelementEnd();
458
457
  } if (rf & 2) {
@@ -464,7 +463,7 @@ function AutoComplete_input_2_Template(rf, ctx) { if (rf & 1) {
464
463
  } }
465
464
  function AutoComplete_ng_container_3_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
466
465
  const _r4 = i0.ɵɵgetCurrentView();
467
- i0.ɵɵelementStart(0, "TimesIcon", 26);
466
+ i0.ɵɵelementStart(0, "TimesIcon", 21);
468
467
  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
468
  i0.ɵɵelementEnd();
470
469
  } if (rf & 2) {
@@ -477,35 +476,35 @@ function AutoComplete_ng_container_3_span_2_1_Template(rf, ctx) { if (rf & 1) {
477
476
  } }
478
477
  function AutoComplete_ng_container_3_span_2_Template(rf, ctx) { if (rf & 1) {
479
478
  const _r5 = i0.ɵɵgetCurrentView();
480
- i0.ɵɵelementStart(0, "span", 27);
479
+ i0.ɵɵelementStart(0, "span", 22);
481
480
  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);
481
+ i0.ɵɵtemplate(1, AutoComplete_ng_container_3_span_2_1_Template, 1, 0, null, 23);
483
482
  i0.ɵɵelementEnd();
484
483
  } if (rf & 2) {
485
484
  const ctx_r2 = i0.ɵɵnextContext(2);
486
485
  i0.ɵɵattribute("aria-hidden", true);
487
486
  i0.ɵɵadvance();
488
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.clearIconTemplate);
487
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.clearicon);
489
488
  } }
490
489
  function AutoComplete_ng_container_3_Template(rf, ctx) { if (rf & 1) {
491
490
  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);
491
+ i0.ɵɵtemplate(1, AutoComplete_ng_container_3_TimesIcon_1_Template, 1, 2, "TimesIcon", 19)(2, AutoComplete_ng_container_3_span_2_Template, 2, 2, "span", 20);
493
492
  i0.ɵɵelementContainerEnd();
494
493
  } if (rf & 2) {
495
494
  const ctx_r2 = i0.ɵɵnextContext();
496
495
  i0.ɵɵadvance();
497
- i0.ɵɵproperty("ngIf", !ctx_r2.clearIconTemplate);
496
+ i0.ɵɵproperty("ngIf", !ctx_r2.clearicon);
498
497
  i0.ɵɵadvance();
499
- i0.ɵɵproperty("ngIf", ctx_r2.clearIconTemplate);
498
+ i0.ɵɵproperty("ngIf", ctx_r2.clearicon);
500
499
  } }
501
500
  function AutoComplete_ul_4_li_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
502
501
  i0.ɵɵelementContainer(0);
503
502
  } }
504
503
  function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
505
504
  const _r7 = i0.ɵɵgetCurrentView();
506
- i0.ɵɵelementStart(0, "span", 36);
505
+ i0.ɵɵelementStart(0, "span", 32);
507
506
  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);
507
+ i0.ɵɵelement(1, "TimesCircleIcon", 33);
509
508
  i0.ɵɵelementEnd();
510
509
  } if (rf & 2) {
511
510
  i0.ɵɵadvance();
@@ -518,7 +517,7 @@ function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_Template(rf, ctx) { if (
518
517
  i0.ɵɵelementContainerEnd();
519
518
  } }
520
519
  function AutoComplete_ul_4_li_2_p_chip_3_Template(rf, ctx) { if (rf & 1) {
521
- i0.ɵɵelementStart(0, "p-chip", 35);
520
+ i0.ɵɵelementStart(0, "p-chip", 31);
522
521
  i0.ɵɵtemplate(1, AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_Template, 3, 0, "ng-container", 14);
523
522
  i0.ɵɵelementEnd();
524
523
  } if (rf & 2) {
@@ -526,7 +525,7 @@ function AutoComplete_ul_4_li_2_p_chip_3_Template(rf, ctx) { if (rf & 1) {
526
525
  const ctx_r2 = i0.ɵɵnextContext(2);
527
526
  i0.ɵɵproperty("label", ctx_r2.getOptionLabel(option_r9))("removable", true);
528
527
  i0.ɵɵadvance();
529
- i0.ɵɵproperty("ngIf", !ctx_r2.removeIconTemplate);
528
+ i0.ɵɵproperty("ngIf", !ctx_r2.removeicon);
530
529
  } }
531
530
  function AutoComplete_ul_4_li_2_span_4_1_ng_template_0_Template(rf, ctx) { }
532
531
  function AutoComplete_ul_4_li_2_span_4_1_Template(rf, ctx) { if (rf & 1) {
@@ -534,17 +533,17 @@ function AutoComplete_ul_4_li_2_span_4_1_Template(rf, ctx) { if (rf & 1) {
534
533
  } }
535
534
  function AutoComplete_ul_4_li_2_span_4_Template(rf, ctx) { if (rf & 1) {
536
535
  i0.ɵɵelementStart(0, "span");
537
- i0.ɵɵtemplate(1, AutoComplete_ul_4_li_2_span_4_1_Template, 1, 0, null, 33);
536
+ i0.ɵɵtemplate(1, AutoComplete_ul_4_li_2_span_4_1_Template, 1, 0, null, 29);
538
537
  i0.ɵɵelementEnd();
539
538
  } if (rf & 2) {
540
539
  const ctx_r2 = i0.ɵɵnextContext(3);
541
540
  i0.ɵɵattribute("aria-hidden", true);
542
541
  i0.ɵɵadvance();
543
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.removeIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c21));
542
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.removeicon)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c21));
544
543
  } }
545
544
  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);
545
+ i0.ɵɵelementStart(0, "li", 28, 5);
546
+ i0.ɵɵtemplate(2, AutoComplete_ul_4_li_2_ng_container_2_Template, 1, 0, "ng-container", 29)(3, AutoComplete_ul_4_li_2_p_chip_3_Template, 2, 3, "p-chip", 30)(4, AutoComplete_ul_4_li_2_span_4_Template, 2, 4, "span", 14);
548
547
  i0.ɵɵelementEnd();
549
548
  } if (rf & 2) {
550
549
  const option_r9 = ctx.$implicit;
@@ -553,18 +552,18 @@ function AutoComplete_ul_4_li_2_Template(rf, ctx) { if (rf & 1) {
553
552
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c19, ctx_r2.focusedMultipleOptionIndex() === i_r8));
554
553
  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
554
  i0.ɵɵadvance(2);
556
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.selectedItemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(12, _c20, option_r9));
555
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.selecteditem)("ngTemplateOutletContext", i0.ɵɵpureFunction1(12, _c20, option_r9));
557
556
  i0.ɵɵadvance();
558
- i0.ɵɵproperty("ngIf", !ctx_r2.selectedItemTemplate);
557
+ i0.ɵɵproperty("ngIf", !ctx_r2.selecteditem);
559
558
  i0.ɵɵadvance();
560
- i0.ɵɵproperty("ngIf", ctx_r2.removeIconTemplate);
559
+ i0.ɵɵproperty("ngIf", ctx_r2.removeicon);
561
560
  } }
562
561
  function AutoComplete_ul_4_Template(rf, ctx) { if (rf & 1) {
563
562
  const _r6 = i0.ɵɵgetCurrentView();
564
- i0.ɵɵelementStart(0, "ul", 28, 4);
563
+ i0.ɵɵelementStart(0, "ul", 24, 4);
565
564
  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);
565
+ i0.ɵɵtemplate(2, AutoComplete_ul_4_li_2_Template, 5, 14, "li", 25);
566
+ i0.ɵɵelementStart(3, "li", 26)(4, "input", 27, 3);
568
567
  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
568
  i0.ɵɵelementEnd()()();
570
569
  } if (rf & 2) {
@@ -580,7 +579,7 @@ function AutoComplete_ul_4_Template(rf, ctx) { if (rf & 1) {
580
579
  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
580
  } }
582
581
  function AutoComplete_ng_container_5_SpinnerIcon_1_Template(rf, ctx) { if (rf & 1) {
583
- i0.ɵɵelement(0, "SpinnerIcon", 40);
582
+ i0.ɵɵelement(0, "SpinnerIcon", 36);
584
583
  } if (rf & 2) {
585
584
  i0.ɵɵproperty("styleClass", "p-autocomplete-loader")("spin", true);
586
585
  i0.ɵɵattribute("aria-hidden", true);
@@ -590,28 +589,28 @@ function AutoComplete_ng_container_5_span_2_1_Template(rf, ctx) { if (rf & 1) {
590
589
  i0.ɵɵtemplate(0, AutoComplete_ng_container_5_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
591
590
  } }
592
591
  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);
592
+ i0.ɵɵelementStart(0, "span", 37);
593
+ i0.ɵɵtemplate(1, AutoComplete_ng_container_5_span_2_1_Template, 1, 0, null, 23);
595
594
  i0.ɵɵelementEnd();
596
595
  } if (rf & 2) {
597
596
  const ctx_r2 = i0.ɵɵnextContext(2);
598
597
  i0.ɵɵattribute("aria-hidden", true);
599
598
  i0.ɵɵadvance();
600
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loadingIconTemplate);
599
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loadingicon);
601
600
  } }
602
601
  function AutoComplete_ng_container_5_Template(rf, ctx) { if (rf & 1) {
603
602
  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);
603
+ i0.ɵɵtemplate(1, AutoComplete_ng_container_5_SpinnerIcon_1_Template, 1, 3, "SpinnerIcon", 34)(2, AutoComplete_ng_container_5_span_2_Template, 2, 2, "span", 35);
605
604
  i0.ɵɵelementContainerEnd();
606
605
  } if (rf & 2) {
607
606
  const ctx_r2 = i0.ɵɵnextContext();
608
607
  i0.ɵɵadvance();
609
- i0.ɵɵproperty("ngIf", !ctx_r2.loadingIconTemplate);
608
+ i0.ɵɵproperty("ngIf", !ctx_r2.loadingicon);
610
609
  i0.ɵɵadvance();
611
- i0.ɵɵproperty("ngIf", ctx_r2.loadingIconTemplate);
610
+ i0.ɵɵproperty("ngIf", ctx_r2.loadingicon);
612
611
  } }
613
612
  function AutoComplete_button_6_span_2_Template(rf, ctx) { if (rf & 1) {
614
- i0.ɵɵelement(0, "span", 44);
613
+ i0.ɵɵelement(0, "span", 40);
615
614
  } if (rf & 2) {
616
615
  const ctx_r2 = i0.ɵɵnextContext(2);
617
616
  i0.ɵɵproperty("ngClass", ctx_r2.dropdownIcon);
@@ -626,20 +625,20 @@ function AutoComplete_button_6_ng_container_3_2_Template(rf, ctx) { if (rf & 1)
626
625
  } }
627
626
  function AutoComplete_button_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
628
627
  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);
628
+ 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, 23);
630
629
  i0.ɵɵelementContainerEnd();
631
630
  } if (rf & 2) {
632
631
  const ctx_r2 = i0.ɵɵnextContext(2);
633
632
  i0.ɵɵadvance();
634
- i0.ɵɵproperty("ngIf", !ctx_r2.dropdownIconTemplate);
633
+ i0.ɵɵproperty("ngIf", !ctx_r2.dropdownicon);
635
634
  i0.ɵɵadvance();
636
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.dropdownIconTemplate);
635
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.dropdownicon);
637
636
  } }
638
637
  function AutoComplete_button_6_Template(rf, ctx) { if (rf & 1) {
639
638
  const _r10 = i0.ɵɵgetCurrentView();
640
- i0.ɵɵelementStart(0, "button", 42, 7);
639
+ i0.ɵɵelementStart(0, "button", 38, 7);
641
640
  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);
641
+ i0.ɵɵtemplate(2, AutoComplete_button_6_span_2_Template, 1, 2, "span", 39)(3, AutoComplete_button_6_ng_container_3_Template, 3, 2, "ng-container", 14);
643
642
  i0.ɵɵelementEnd();
644
643
  } if (rf & 2) {
645
644
  const ctx_r2 = i0.ɵɵnextContext();
@@ -650,184 +649,214 @@ function AutoComplete_button_6_Template(rf, ctx) { if (rf & 1) {
650
649
  i0.ɵɵadvance();
651
650
  i0.ɵɵproperty("ngIf", !ctx_r2.dropdownIcon);
652
651
  } }
653
- function AutoComplete_ng_container_10_Template(rf, ctx) { if (rf & 1) {
652
+ function AutoComplete_ng_template_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
654
653
  i0.ɵɵelementContainer(0);
655
654
  } }
656
- function AutoComplete_p_scroller_12_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
655
+ function AutoComplete_ng_template_9_p_scroller_3_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
657
656
  i0.ɵɵelementContainer(0);
658
657
  } }
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);
658
+ function AutoComplete_ng_template_9_p_scroller_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
659
+ i0.ɵɵtemplate(0, AutoComplete_ng_template_9_p_scroller_3_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 29);
661
660
  } if (rf & 2) {
662
661
  const items_r12 = ctx.$implicit;
663
662
  const scrollerOptions_r13 = ctx.options;
664
663
  i0.ɵɵnextContext(2);
665
- const buildInItems_r14 = i0.ɵɵreference(15);
664
+ const buildInItems_r14 = i0.ɵɵreference(6);
666
665
  i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r14)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c23, items_r12, scrollerOptions_r13));
667
666
  } }
668
- function AutoComplete_p_scroller_12_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
667
+ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
669
668
  i0.ɵɵelementContainer(0);
670
669
  } }
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);
670
+ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
671
+ i0.ɵɵtemplate(0, AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 29);
673
672
  } if (rf & 2) {
674
673
  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));
674
+ i0.ɵɵnextContext();
675
+ const loader_r16 = i0.ɵɵreference(2);
676
+ i0.ɵɵproperty("ngTemplateOutlet", loader_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c24, scrollerOptions_r15));
677
677
  } }
678
- function AutoComplete_p_scroller_12_ng_container_4_Template(rf, ctx) { if (rf & 1) {
678
+ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
679
679
  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);
680
+ 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
681
  i0.ɵɵelementContainerEnd();
682
682
  } }
683
- function AutoComplete_p_scroller_12_Template(rf, ctx) { if (rf & 1) {
683
+ function AutoComplete_ng_template_9_p_scroller_3_Template(rf, ctx) { if (rf & 1) {
684
684
  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);
685
+ i0.ɵɵelementStart(0, "p-scroller", 45, 9);
686
+ 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)); });
687
+ 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", 14);
688
688
  i0.ɵɵelementEnd();
689
689
  } if (rf & 2) {
690
- const ctx_r2 = i0.ɵɵnextContext();
690
+ const ctx_r2 = i0.ɵɵnextContext(2);
691
691
  i0.ɵɵstyleMap(i0.ɵɵpureFunction1(8, _c22, ctx_r2.scrollHeight));
692
692
  i0.ɵɵproperty("items", ctx_r2.visibleOptions())("itemSize", ctx_r2.virtualScrollItemSize || ctx_r2._itemSize)("autoSize", true)("lazy", ctx_r2.lazy)("options", ctx_r2.virtualScrollOptions);
693
693
  i0.ɵɵadvance(4);
694
- i0.ɵɵproperty("ngIf", ctx_r2.loaderTemplate);
694
+ i0.ɵɵproperty("ngIf", ctx_r2.loader);
695
695
  } }
696
- function AutoComplete_ng_container_13_ng_container_1_Template(rf, ctx) { if (rf & 1) {
696
+ function AutoComplete_ng_template_9_ng_container_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
697
697
  i0.ɵɵelementContainer(0);
698
698
  } }
699
- function AutoComplete_ng_container_13_Template(rf, ctx) { if (rf & 1) {
699
+ function AutoComplete_ng_template_9_ng_container_4_Template(rf, ctx) { if (rf & 1) {
700
700
  i0.ɵɵelementContainerStart(0);
701
- i0.ɵɵtemplate(1, AutoComplete_ng_container_13_ng_container_1_Template, 1, 0, "ng-container", 33);
701
+ i0.ɵɵtemplate(1, AutoComplete_ng_template_9_ng_container_4_ng_container_1_Template, 1, 0, "ng-container", 29);
702
702
  i0.ɵɵelementContainerEnd();
703
703
  } if (rf & 2) {
704
+ i0.ɵɵnextContext();
705
+ const buildInItems_r14 = i0.ɵɵreference(6);
704
706
  const ctx_r2 = i0.ɵɵnextContext();
705
- const buildInItems_r14 = i0.ɵɵreference(15);
706
707
  i0.ɵɵadvance();
707
708
  i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r14)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c23, ctx_r2.visibleOptions(), i0.ɵɵpureFunction0(2, _c25)));
708
709
  } }
709
- function AutoComplete_ng_template_14_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
710
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
710
711
  i0.ɵɵelementStart(0, "span");
711
712
  i0.ɵɵtext(1);
712
713
  i0.ɵɵelementEnd();
713
714
  } if (rf & 2) {
714
- const option_r16 = i0.ɵɵnextContext(2).$implicit;
715
- const ctx_r2 = i0.ɵɵnextContext(2);
715
+ const option_r17 = i0.ɵɵnextContext(2).$implicit;
716
+ const ctx_r2 = i0.ɵɵnextContext(3);
716
717
  i0.ɵɵadvance();
717
- i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r16.optionGroup));
718
+ i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r17.optionGroup));
718
719
  } }
719
- function AutoComplete_ng_template_14_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
720
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
720
721
  i0.ɵɵelementContainer(0);
721
722
  } }
722
- function AutoComplete_ng_template_14_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
723
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
723
724
  i0.ɵɵelementContainerStart(0);
724
725
  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.ɵɵtemplate(2, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 14)(3, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 29);
726
727
  i0.ɵɵelementEnd();
727
728
  i0.ɵɵelementContainerEnd();
728
729
  } 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();
730
+ const ctx_r17 = i0.ɵɵnextContext();
731
+ const option_r17 = ctx_r17.$implicit;
732
+ const i_r19 = ctx_r17.index;
733
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
734
+ const ctx_r2 = i0.ɵɵnextContext(2);
734
735
  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));
736
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c22, scrollerOptions_r20.itemSize + "px"));
737
+ i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20));
737
738
  i0.ɵɵadvance();
738
739
  i0.ɵɵproperty("ngIf", !ctx_r2.groupTemplate);
739
740
  i0.ɵɵadvance();
740
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c20, option_r16.optionGroup));
741
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c20, option_r17.optionGroup));
741
742
  } }
742
- function AutoComplete_ng_template_14_ng_template_2_ng_container_1_span_2_Template(rf, ctx) { if (rf & 1) {
743
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_span_2_Template(rf, ctx) { if (rf & 1) {
743
744
  i0.ɵɵelementStart(0, "span");
744
745
  i0.ɵɵtext(1);
745
746
  i0.ɵɵelementEnd();
746
747
  } if (rf & 2) {
747
- const option_r16 = i0.ɵɵnextContext(2).$implicit;
748
- const ctx_r2 = i0.ɵɵnextContext(2);
748
+ const option_r17 = i0.ɵɵnextContext(2).$implicit;
749
+ const ctx_r2 = i0.ɵɵnextContext(3);
749
750
  i0.ɵɵadvance();
750
- i0.ɵɵtextInterpolate(ctx_r2.getOptionLabel(option_r16));
751
+ i0.ɵɵtextInterpolate(ctx_r2.getOptionLabel(option_r17));
751
752
  } }
752
- function AutoComplete_ng_template_14_ng_template_2_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
753
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
753
754
  i0.ɵɵelementContainer(0);
754
755
  } }
755
- function AutoComplete_ng_template_14_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
756
- const _r20 = i0.ɵɵgetCurrentView();
756
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
757
+ const _r21 = i0.ɵɵgetCurrentView();
757
758
  i0.ɵɵelementContainerStart(0);
758
759
  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.ɵɵ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))); });
761
+ i0.ɵɵtemplate(2, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_span_2_Template, 2, 1, "span", 14)(3, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 29);
761
762
  i0.ɵɵelementEnd();
762
763
  i0.ɵɵelementContainerEnd();
763
764
  } 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();
765
+ const ctx_r17 = i0.ɵɵnextContext();
766
+ const option_r17 = ctx_r17.$implicit;
767
+ const i_r19 = ctx_r17.index;
768
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
769
+ const ctx_r2 = i0.ɵɵnextContext(2);
769
770
  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)));
771
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c22, scrollerOptions_r20.itemSize + "px"))("ngClass", ctx_r2.optionClass(option_r17, i_r19, scrollerOptions_r20));
772
+ 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
773
  i0.ɵɵadvance();
773
- i0.ɵɵproperty("ngIf", !ctx_r2.itemTemplate);
774
+ i0.ɵɵproperty("ngIf", !ctx_r2.item);
774
775
  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));
776
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.item)("ngTemplateOutletContext", i0.ɵɵpureFunction2(14, _c26, option_r17, scrollerOptions_r20.getOptions ? scrollerOptions_r20.getOptions(i_r19) : i_r19));
776
777
  } }
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);
778
+ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
779
+ i0.ɵɵtemplate(0, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 14)(1, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template, 4, 17, "ng-container", 14);
779
780
  } 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));
781
+ const option_r17 = ctx.$implicit;
782
+ const ctx_r2 = i0.ɵɵnextContext(3);
783
+ i0.ɵɵproperty("ngIf", ctx_r2.isOptionGroup(option_r17));
783
784
  i0.ɵɵadvance();
784
- i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r16));
785
+ i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r17));
785
786
  } }
786
- function AutoComplete_ng_template_14_li_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
787
+ function AutoComplete_ng_template_9_ng_template_5_li_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
787
788
  i0.ɵɵtext(0);
788
789
  } if (rf & 2) {
789
- const ctx_r2 = i0.ɵɵnextContext(3);
790
+ const ctx_r2 = i0.ɵɵnextContext(4);
790
791
  i0.ɵɵtextInterpolate1(" ", ctx_r2.searchResultMessageText, " ");
791
792
  } }
792
- function AutoComplete_ng_template_14_li_3_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
793
+ function AutoComplete_ng_template_9_ng_template_5_li_3_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
793
794
  i0.ɵɵelementContainer(0);
794
795
  } }
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);
796
+ function AutoComplete_ng_template_9_ng_template_5_li_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
797
+ i0.ɵɵtemplate(0, AutoComplete_ng_template_9_ng_template_5_li_3_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 23);
797
798
  } if (rf & 2) {
798
- const ctx_r2 = i0.ɵɵnextContext(3);
799
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyTemplate);
799
+ const ctx_r2 = i0.ɵɵnextContext(4);
800
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.empty);
800
801
  } }
801
- function AutoComplete_ng_template_14_li_3_Template(rf, ctx) { if (rf & 1) {
802
+ function AutoComplete_ng_template_9_ng_template_5_li_3_Template(rf, ctx) { if (rf & 1) {
802
803
  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");
804
+ i0.ɵɵtemplate(1, AutoComplete_ng_template_9_ng_template_5_li_3_Conditional_1_Template, 1, 1)(2, AutoComplete_ng_template_9_ng_template_5_li_3_Conditional_2_Template, 1, 1, "ng-container");
804
805
  i0.ɵɵelementEnd();
805
806
  } 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"));
807
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
808
+ const ctx_r2 = i0.ɵɵnextContext(2);
809
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c22, scrollerOptions_r20.itemSize + "px"));
809
810
  i0.ɵɵadvance();
810
- i0.ɵɵconditional(!ctx_r2.emptyTemplate ? 1 : 2);
811
+ i0.ɵɵconditional(!ctx_r2.empty ? 1 : 2);
811
812
  } }
812
- function AutoComplete_ng_template_14_Template(rf, ctx) { if (rf & 1) {
813
+ function AutoComplete_ng_template_9_ng_template_5_Template(rf, ctx) { if (rf & 1) {
813
814
  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);
815
+ i0.ɵɵtemplate(2, AutoComplete_ng_template_9_ng_template_5_ng_template_2_Template, 2, 2, "ng-template", 47)(3, AutoComplete_ng_template_9_ng_template_5_li_3_Template, 3, 4, "li", 48);
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", 41);
834
+ i0.ɵɵtemplate(1, AutoComplete_ng_template_9_ng_container_1_Template, 1, 0, "ng-container", 23);
835
+ i0.ɵɵelementStart(2, "div", 42);
836
+ i0.ɵɵtemplate(3, AutoComplete_ng_template_9_p_scroller_3_Template, 5, 10, "p-scroller", 43)(4, AutoComplete_ng_template_9_ng_container_4_Template, 2, 6, "ng-container", 14);
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", 23);
839
+ i0.ɵɵelementEnd();
840
+ i0.ɵɵelementStart(8, "span", 44);
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.header);
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.footer);
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),
@@ -1268,27 +1297,27 @@ class AutoComplete extends BaseComponent {
1268
1297
  * Custom item template.
1269
1298
  * @group Templates
1270
1299
  */
1271
- itemTemplate;
1300
+ item;
1272
1301
  /**
1273
1302
  * Custom empty message template.
1274
1303
  * @group Templates
1275
1304
  */
1276
- emptyTemplate;
1305
+ empty;
1277
1306
  /**
1278
1307
  * Custom header template.
1279
1308
  * @group Templates
1280
1309
  */
1281
- headerTemplate;
1310
+ header;
1282
1311
  /**
1283
1312
  * Custom footer template.
1284
1313
  * @group Templates
1285
1314
  */
1286
- footerTemplate;
1315
+ footer;
1287
1316
  /**
1288
1317
  * Custom selected item template.
1289
1318
  * @group Templates
1290
1319
  */
1291
- selectedItemTemplate;
1320
+ selecteditem;
1292
1321
  /**
1293
1322
  * Custom group item template.
1294
1323
  * @group Templates
@@ -1298,27 +1327,27 @@ class AutoComplete extends BaseComponent {
1298
1327
  * Custom loader template.
1299
1328
  * @group Templates
1300
1329
  */
1301
- loaderTemplate;
1330
+ loader;
1302
1331
  /**
1303
1332
  * Custom remove icon template.
1304
1333
  * @group Templates
1305
1334
  */
1306
- removeIconTemplate;
1335
+ removeicon;
1307
1336
  /**
1308
1337
  * Custom loading icon template.
1309
1338
  * @group Templates
1310
1339
  */
1311
- loadingIconTemplate;
1340
+ loadingicon;
1312
1341
  /**
1313
1342
  * Custom clear icon template.
1314
1343
  * @group Templates
1315
1344
  */
1316
- clearIconTemplate;
1345
+ clearicon;
1317
1346
  /**
1318
1347
  * Custom dropdown icon template.
1319
1348
  * @group Templates
1320
1349
  */
1321
- dropdownIconTemplate;
1350
+ dropdownicon;
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.empty ? 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;
@@ -2091,17 +2078,17 @@ class AutoComplete extends BaseComponent {
2091
2078
  i0.ɵɵcontentQuery(dirIndex, _c10, 5);
2092
2079
  } if (rf & 2) {
2093
2080
  let _t;
2094
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
2095
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyTemplate = _t.first);
2096
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
2097
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
2098
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectedItemTemplate = _t.first);
2081
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.item = _t.first);
2082
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.empty = _t.first);
2083
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.header = _t.first);
2084
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footer = _t.first);
2085
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selecteditem = _t.first);
2099
2086
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.groupTemplate = _t.first);
2100
- 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);
2087
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loader = _t.first);
2088
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.removeicon = _t.first);
2089
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loadingicon = _t.first);
2090
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearicon = _t.first);
2091
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownicon = _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,7 +2108,7 @@ 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", ""], [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"], ["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"], [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"]], template: function AutoComplete_Template(rf, ctx) { if (rf & 1) {
2125
2112
  const _r1 = i0.ɵɵgetCurrentView();
2126
2113
  i0.ɵɵelementStart(0, "div", 12, 0);
2127
2114
  i0.ɵɵlistener("click", function AutoComplete_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onContainerClick($event)); });
@@ -2129,16 +2116,8 @@ class AutoComplete extends BaseComponent {
2129
2116
  i0.ɵɵelementStart(7, "p-overlay", 17, 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
@@ -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="!clearicon" [styleClass]="'p-autocomplete-clear-icon'" (click)="clear()" [attr.aria-hidden]="true" />
2187
+ <span *ngIf="clearicon" class="p-autocomplete-clear-icon" (click)="clear()" [attr.aria-hidden]="true">
2188
+ <ng-template *ngTemplateOutlet="clearicon"></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="selecteditem; context: { $implicit: option }"></ng-container>
2216
+ <p-chip styleClass="p-autocomplete-chip" *ngIf="!selecteditem" [label]="getOptionLabel(option)" [removable]="true">
2217
+ <ng-container *ngIf="!removeicon">
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="removeicon" [attr.aria-hidden]="true">
2226
+ <ng-template *ngTemplateOutlet="removeicon; 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="!loadingicon" [styleClass]="'p-autocomplete-loader'" [spin]="true" [attr.aria-hidden]="true" />
2266
+ <span *ngIf="loadingicon" class="p-autocomplete-loader pi-spin " [attr.aria-hidden]="true">
2267
+ <ng-template *ngTemplateOutlet="loadingicon"></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="!dropdownicon" />
2274
+ <ng-template *ngTemplateOutlet="dropdownicon"></ng-template>
2311
2275
  </ng-container>
2312
2276
  </button>
2313
2277
  <p-overlay
@@ -2321,86 +2285,88 @@ 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="header"></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="loader">
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="!item">{{ getOptionLabel(option) }}</span>
2343
+ <ng-container
2344
+ *ngTemplateOutlet="
2345
+ item;
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
+ @if (!empty) {
2357
+ {{ searchResultMessageText }}
2358
+ } @else {
2359
+ <ng-container *ngTemplateOutlet="empty"></ng-container>
2360
+ }
2361
+ </li>
2362
+ </ul>
2363
+ </ng-template>
2364
+ <ng-container *ngTemplateOutlet="footer"></ng-container>
2365
+ </div>
2366
+ <span role="status" aria-live="polite" class="p-hidden-accessible">
2367
+ {{ selectedMessageText }}
2368
+ </span>
2369
+ </ng-template>
2404
2370
  </p-overlay>
2405
2371
  </div>
2406
2372
  `,
@@ -2614,37 +2580,37 @@ class AutoComplete extends BaseComponent {
2614
2580
  }], overlayViewChild: [{
2615
2581
  type: ViewChild,
2616
2582
  args: ['overlay']
2617
- }], itemTemplate: [{
2583
+ }], item: [{
2618
2584
  type: ContentChild,
2619
2585
  args: ['item']
2620
- }], emptyTemplate: [{
2586
+ }], empty: [{
2621
2587
  type: ContentChild,
2622
2588
  args: ['empty']
2623
- }], headerTemplate: [{
2589
+ }], header: [{
2624
2590
  type: ContentChild,
2625
2591
  args: ['header']
2626
- }], footerTemplate: [{
2592
+ }], footer: [{
2627
2593
  type: ContentChild,
2628
2594
  args: ['footer']
2629
- }], selectedItemTemplate: [{
2595
+ }], selecteditem: [{
2630
2596
  type: ContentChild,
2631
2597
  args: ['selecteditem']
2632
2598
  }], groupTemplate: [{
2633
2599
  type: ContentChild,
2634
2600
  args: ['group']
2635
- }], loaderTemplate: [{
2601
+ }], loader: [{
2636
2602
  type: ContentChild,
2637
2603
  args: ['loader']
2638
- }], removeIconTemplate: [{
2604
+ }], removeicon: [{
2639
2605
  type: ContentChild,
2640
2606
  args: ['removeicon']
2641
- }], loadingIconTemplate: [{
2607
+ }], loadingicon: [{
2642
2608
  type: ContentChild,
2643
2609
  args: ['loadingicon']
2644
- }], clearIconTemplate: [{
2610
+ }], clearicon: [{
2645
2611
  type: ContentChild,
2646
2612
  args: ['clearicon']
2647
- }], dropdownIconTemplate: [{
2613
+ }], dropdownicon: [{
2648
2614
  type: ContentChild,
2649
2615
  args: ['dropdownicon']
2650
2616
  }] }); })();