primeng 19.0.6 → 19.0.8

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 (349) hide show
  1. package/accordion/accordion.d.ts +1 -1
  2. package/basecomponent/basecomponent.d.ts +1 -0
  3. package/confirmdialog/confirmdialog.d.ts +2 -1
  4. package/dataview/dataview.interface.d.ts +9 -19
  5. package/dragdrop/dragdrop.d.ts +3 -2
  6. package/dynamicdialog/dynamicdialog.d.ts +1 -1
  7. package/fesm2022/primeng-accordion.mjs +358 -561
  8. package/fesm2022/primeng-accordion.mjs.map +1 -1
  9. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  10. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  11. package/fesm2022/primeng-api.mjs +79 -89
  12. package/fesm2022/primeng-api.mjs.map +1 -1
  13. package/fesm2022/primeng-autocomplete.mjs +505 -786
  14. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  15. package/fesm2022/primeng-autofocus.mjs +26 -27
  16. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  17. package/fesm2022/primeng-avatar.mjs +70 -120
  18. package/fesm2022/primeng-avatar.mjs.map +1 -1
  19. package/fesm2022/primeng-avatargroup.mjs +44 -54
  20. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  21. package/fesm2022/primeng-badge.mjs +62 -71
  22. package/fesm2022/primeng-badge.mjs.map +1 -1
  23. package/fesm2022/primeng-base.mjs +6 -6
  24. package/fesm2022/primeng-base.mjs.map +1 -1
  25. package/fesm2022/primeng-basecomponent.mjs +19 -16
  26. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  27. package/fesm2022/primeng-blockui.mjs +66 -87
  28. package/fesm2022/primeng-blockui.mjs.map +1 -1
  29. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  30. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  31. package/fesm2022/primeng-button.mjs +223 -328
  32. package/fesm2022/primeng-button.mjs.map +1 -1
  33. package/fesm2022/primeng-buttongroup.mjs +36 -40
  34. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  35. package/fesm2022/primeng-calendar.mjs +727 -1127
  36. package/fesm2022/primeng-calendar.mjs.map +1 -1
  37. package/fesm2022/primeng-card.mjs +88 -192
  38. package/fesm2022/primeng-card.mjs.map +1 -1
  39. package/fesm2022/primeng-carousel.mjs +218 -405
  40. package/fesm2022/primeng-carousel.mjs.map +1 -1
  41. package/fesm2022/primeng-cascadeselect.mjs +392 -576
  42. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  43. package/fesm2022/primeng-chart.mjs +57 -63
  44. package/fesm2022/primeng-chart.mjs.map +1 -1
  45. package/fesm2022/primeng-checkbox.mjs +131 -183
  46. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  47. package/fesm2022/primeng-chip.mjs +92 -188
  48. package/fesm2022/primeng-chip.mjs.map +1 -1
  49. package/fesm2022/primeng-colorpicker.mjs +142 -167
  50. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  51. package/fesm2022/primeng-config.mjs +12 -12
  52. package/fesm2022/primeng-config.mjs.map +1 -1
  53. package/fesm2022/primeng-confirmdialog.mjs +232 -350
  54. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  55. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  56. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  57. package/fesm2022/primeng-contextmenu.mjs +336 -450
  58. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  59. package/fesm2022/primeng-dataview.mjs +249 -352
  60. package/fesm2022/primeng-dataview.mjs.map +1 -1
  61. package/fesm2022/primeng-datepicker.mjs +740 -1136
  62. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  63. package/fesm2022/primeng-defer.mjs +25 -31
  64. package/fesm2022/primeng-defer.mjs.map +1 -1
  65. package/fesm2022/primeng-dialog.mjs +277 -478
  66. package/fesm2022/primeng-dialog.mjs.map +1 -1
  67. package/fesm2022/primeng-divider.mjs +68 -77
  68. package/fesm2022/primeng-divider.mjs.map +1 -1
  69. package/fesm2022/primeng-dock.mjs +138 -167
  70. package/fesm2022/primeng-dock.mjs.map +1 -1
  71. package/fesm2022/primeng-dragdrop.mjs +85 -79
  72. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  73. package/fesm2022/primeng-drawer.mjs +171 -268
  74. package/fesm2022/primeng-drawer.mjs.map +1 -1
  75. package/fesm2022/primeng-dropdown.mjs +529 -867
  76. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  77. package/fesm2022/primeng-dynamicdialog.mjs +152 -301
  78. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  79. package/fesm2022/primeng-editor.mjs +118 -156
  80. package/fesm2022/primeng-editor.mjs.map +1 -1
  81. package/fesm2022/primeng-fieldset.mjs +153 -247
  82. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  83. package/fesm2022/primeng-fileupload.mjs +370 -687
  84. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  85. package/fesm2022/primeng-floatlabel.mjs +38 -46
  86. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  87. package/fesm2022/primeng-fluid.mjs +33 -41
  88. package/fesm2022/primeng-fluid.mjs.map +1 -1
  89. package/fesm2022/primeng-focustrap.mjs +23 -24
  90. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  91. package/fesm2022/primeng-galleria.mjs +529 -761
  92. package/fesm2022/primeng-galleria.mjs.map +1 -1
  93. package/fesm2022/primeng-iconfield.mjs +42 -51
  94. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  95. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  96. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  97. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  98. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  99. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  100. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  101. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  102. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  103. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  104. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  105. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  106. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  107. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  108. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  109. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  110. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  111. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  112. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  113. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  114. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  115. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  116. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  117. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  118. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  119. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  120. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  121. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  122. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  123. package/fesm2022/primeng-icons-ban.mjs +24 -26
  124. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  125. package/fesm2022/primeng-icons-bars.mjs +19 -19
  126. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  127. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  128. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  129. package/fesm2022/primeng-icons-blank.mjs +14 -16
  130. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  131. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  132. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  133. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  134. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  135. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  136. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  137. package/fesm2022/primeng-icons-check.mjs +17 -19
  138. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  139. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  140. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  141. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  142. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  143. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  144. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  145. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  146. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  147. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  148. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  149. package/fesm2022/primeng-icons-eye.mjs +19 -19
  150. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  151. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  152. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  153. package/fesm2022/primeng-icons-filter.mjs +24 -26
  154. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  155. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  156. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  157. package/fesm2022/primeng-icons-home.mjs +26 -26
  158. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  159. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  160. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  161. package/fesm2022/primeng-icons-minus.mjs +17 -19
  162. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  163. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  164. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  165. package/fesm2022/primeng-icons-plus.mjs +24 -26
  166. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  167. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  168. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  169. package/fesm2022/primeng-icons-search.mjs +26 -26
  170. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  171. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  172. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  173. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  174. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  175. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  176. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  177. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  178. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  179. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  180. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  181. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  182. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  183. package/fesm2022/primeng-icons-star.mjs +24 -26
  184. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  185. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  186. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  187. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  188. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  189. package/fesm2022/primeng-icons-times.mjs +17 -19
  190. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  191. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  192. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  193. package/fesm2022/primeng-icons-trash.mjs +26 -26
  194. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  195. package/fesm2022/primeng-icons-undo.mjs +26 -26
  196. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  197. package/fesm2022/primeng-icons-upload.mjs +26 -26
  198. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  199. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  200. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  201. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  202. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  203. package/fesm2022/primeng-iftalabel.mjs +34 -40
  204. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  205. package/fesm2022/primeng-image.mjs +189 -370
  206. package/fesm2022/primeng-image.mjs.map +1 -1
  207. package/fesm2022/primeng-imagecompare.mjs +57 -86
  208. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  209. package/fesm2022/primeng-inplace.mjs +108 -206
  210. package/fesm2022/primeng-inplace.mjs.map +1 -1
  211. package/fesm2022/primeng-inputgroup.mjs +40 -50
  212. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  213. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  214. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  215. package/fesm2022/primeng-inputicon.mjs +39 -48
  216. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  217. package/fesm2022/primeng-inputmask.mjs +156 -181
  218. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  219. package/fesm2022/primeng-inputnumber.mjs +299 -416
  220. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  221. package/fesm2022/primeng-inputotp.mjs +97 -121
  222. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  223. package/fesm2022/primeng-inputswitch.mjs +87 -92
  224. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  225. package/fesm2022/primeng-inputtext.mjs +51 -57
  226. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  227. package/fesm2022/primeng-inputtextarea.mjs +50 -55
  228. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  229. package/fesm2022/primeng-keyfilter.mjs +44 -47
  230. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  231. package/fesm2022/primeng-knob.mjs +105 -111
  232. package/fesm2022/primeng-knob.mjs.map +1 -1
  233. package/fesm2022/primeng-listbox.mjs +473 -790
  234. package/fesm2022/primeng-listbox.mjs.map +1 -1
  235. package/fesm2022/primeng-megamenu.mjs +377 -611
  236. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  237. package/fesm2022/primeng-menu.mjs +289 -460
  238. package/fesm2022/primeng-menu.mjs.map +1 -1
  239. package/fesm2022/primeng-menubar.mjs +357 -549
  240. package/fesm2022/primeng-menubar.mjs.map +1 -1
  241. package/fesm2022/primeng-message.mjs +158 -244
  242. package/fesm2022/primeng-message.mjs.map +1 -1
  243. package/fesm2022/primeng-messages.mjs +163 -279
  244. package/fesm2022/primeng-messages.mjs.map +1 -1
  245. package/fesm2022/primeng-metergroup.mjs +135 -264
  246. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  247. package/fesm2022/primeng-multiselect.mjs +687 -1162
  248. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  249. package/fesm2022/primeng-orderlist.mjs +228 -330
  250. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  251. package/fesm2022/primeng-organizationchart.mjs +161 -311
  252. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  253. package/fesm2022/primeng-overlay.mjs +135 -147
  254. package/fesm2022/primeng-overlay.mjs.map +1 -1
  255. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  256. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  257. package/fesm2022/primeng-overlaypanel.mjs +138 -156
  258. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  259. package/fesm2022/primeng-paginator.mjs +212 -447
  260. package/fesm2022/primeng-paginator.mjs.map +1 -1
  261. package/fesm2022/primeng-panel.mjs +219 -317
  262. package/fesm2022/primeng-panel.mjs.map +1 -1
  263. package/fesm2022/primeng-panelmenu.mjs +439 -783
  264. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  265. package/fesm2022/primeng-password.mjs +268 -408
  266. package/fesm2022/primeng-password.mjs.map +1 -1
  267. package/fesm2022/primeng-picklist.mjs +560 -856
  268. package/fesm2022/primeng-picklist.mjs.map +1 -1
  269. package/fesm2022/primeng-popover.mjs +133 -150
  270. package/fesm2022/primeng-popover.mjs.map +1 -1
  271. package/fesm2022/primeng-progressbar.mjs +83 -121
  272. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  273. package/fesm2022/primeng-progressspinner.mjs +48 -58
  274. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  275. package/fesm2022/primeng-radiobutton.mjs +115 -106
  276. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  277. package/fesm2022/primeng-rating.mjs +120 -208
  278. package/fesm2022/primeng-rating.mjs.map +1 -1
  279. package/fesm2022/primeng-ripple.mjs +28 -29
  280. package/fesm2022/primeng-ripple.mjs.map +1 -1
  281. package/fesm2022/primeng-scroller.mjs +167 -295
  282. package/fesm2022/primeng-scroller.mjs.map +1 -1
  283. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  284. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  285. package/fesm2022/primeng-scrolltop.mjs +106 -150
  286. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  287. package/fesm2022/primeng-select.mjs +580 -955
  288. package/fesm2022/primeng-select.mjs.map +1 -1
  289. package/fesm2022/primeng-selectbutton.mjs +106 -133
  290. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  291. package/fesm2022/primeng-sidebar.mjs +151 -239
  292. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  293. package/fesm2022/primeng-skeleton.mjs +46 -54
  294. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  295. package/fesm2022/primeng-slider.mjs +186 -182
  296. package/fesm2022/primeng-slider.mjs.map +1 -1
  297. package/fesm2022/primeng-speeddial.mjs +192 -254
  298. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  299. package/fesm2022/primeng-splitbutton.mjs +211 -231
  300. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  301. package/fesm2022/primeng-splitter.mjs +126 -159
  302. package/fesm2022/primeng-splitter.mjs.map +1 -1
  303. package/fesm2022/primeng-stepper.mjs +227 -342
  304. package/fesm2022/primeng-stepper.mjs.map +1 -1
  305. package/fesm2022/primeng-steps.mjs +117 -170
  306. package/fesm2022/primeng-steps.mjs.map +1 -1
  307. package/fesm2022/primeng-styleclass.mjs +50 -53
  308. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  309. package/fesm2022/primeng-table.mjs +1808 -2584
  310. package/fesm2022/primeng-table.mjs.map +1 -1
  311. package/fesm2022/primeng-tabmenu.mjs +173 -319
  312. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  313. package/fesm2022/primeng-tabs.mjs +185 -300
  314. package/fesm2022/primeng-tabs.mjs.map +1 -1
  315. package/fesm2022/primeng-tabview.mjs +263 -435
  316. package/fesm2022/primeng-tabview.mjs.map +1 -1
  317. package/fesm2022/primeng-tag.mjs +63 -110
  318. package/fesm2022/primeng-tag.mjs.map +1 -1
  319. package/fesm2022/primeng-terminal.mjs +60 -104
  320. package/fesm2022/primeng-terminal.mjs.map +1 -1
  321. package/fesm2022/primeng-textarea.mjs +56 -61
  322. package/fesm2022/primeng-textarea.mjs.map +1 -1
  323. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  324. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  325. package/fesm2022/primeng-timeline.mjs +90 -156
  326. package/fesm2022/primeng-timeline.mjs.map +1 -1
  327. package/fesm2022/primeng-toast.mjs +251 -358
  328. package/fesm2022/primeng-toast.mjs.map +1 -1
  329. package/fesm2022/primeng-togglebutton.mjs +113 -150
  330. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  331. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  332. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  333. package/fesm2022/primeng-toolbar.mjs +62 -121
  334. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  335. package/fesm2022/primeng-tooltip.mjs +73 -74
  336. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  337. package/fesm2022/primeng-tree.mjs +441 -730
  338. package/fesm2022/primeng-tree.mjs.map +1 -1
  339. package/fesm2022/primeng-treeselect.mjs +342 -531
  340. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  341. package/fesm2022/primeng-treetable.mjs +1026 -1583
  342. package/fesm2022/primeng-treetable.mjs.map +1 -1
  343. package/fesm2022/primeng-usestyle.mjs +6 -6
  344. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  345. package/listbox/listbox.d.ts +2 -2
  346. package/multiselect/multiselect.d.ts +4 -2
  347. package/package.json +139 -140
  348. package/password/password.d.ts +7 -1
  349. package/picklist/picklist.d.ts +11 -1
@@ -1,10 +1,10 @@
1
1
  import * as i1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute, Component, ViewEncapsulation, Input, Output, inject, signal, computed, effect, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, HostBinding, NgModule } from '@angular/core';
4
+ import { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute, Output, Input, ViewEncapsulation, Component, inject, signal, computed, effect, HostBinding, ContentChildren, ContentChild, ViewChild, ChangeDetectionStrategy, NgModule } from '@angular/core';
5
5
  import * as i2 from '@angular/forms';
6
6
  import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
7
- import { deepEquals, isNotEmpty, isArray, isObject, uuid, equals, focus, findLastIndex, resolveFieldData, isPrintableCharacter, getFirstFocusableElement, getLastFocusableElement, findSingle, unblockBodyScroll, hasClass, isHidden, getFocusableElements } from '@primeuix/utils';
7
+ import { deepEquals, isNotEmpty, isArray, uuid, equals, focus, findLastIndex, resolveFieldData, isPrintableCharacter, getFirstFocusableElement, getLastFocusableElement, findSingle, unblockBodyScroll, hasClass, isHidden, getFocusableElements } from '@primeuix/utils';
8
8
  import * as i3 from 'primeng/api';
9
9
  import { SharedModule, TranslationKeys, Footer, Header, PrimeTemplate } from 'primeng/api';
10
10
  import { AutoFocus } from 'primeng/autofocus';
@@ -21,6 +21,7 @@ import { Ripple } from 'primeng/ripple';
21
21
  import { Scroller } from 'primeng/scroller';
22
22
  import { Tooltip } from 'primeng/tooltip';
23
23
  import { BaseStyle } from 'primeng/base';
24
+ import { ObjectUtils } from 'primeng/utils';
24
25
 
25
26
  const theme = ({ dt }) => `
26
27
  .p-multiselect {
@@ -301,12 +302,12 @@ class MultiSelectStyle extends BaseStyle {
301
302
  theme = theme;
302
303
  classes = classes;
303
304
  inlineStyles = inlineStyles;
304
- static ɵfac = /*@__PURE__*/ (() => { let ɵMultiSelectStyle_BaseFactory; return function MultiSelectStyle_Factory(__ngFactoryType__) { return (ɵMultiSelectStyle_BaseFactory || (ɵMultiSelectStyle_BaseFactory = i0.ɵɵgetInheritedFactory(MultiSelectStyle)))(__ngFactoryType__ || MultiSelectStyle); }; })();
305
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MultiSelectStyle, factory: MultiSelectStyle.ɵfac });
305
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
306
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectStyle });
306
307
  }
307
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelectStyle, [{
308
- type: Injectable
309
- }], null, null); })();
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectStyle, decorators: [{
309
+ type: Injectable
310
+ }] });
310
311
  /**
311
312
  *
312
313
  * MultiSelect is used to select multiple items from a collection.
@@ -392,641 +393,6 @@ var MultiSelectClasses;
392
393
  MultiSelectClasses["emptyMessage"] = "p-multiselect-empty-message";
393
394
  })(MultiSelectClasses || (MultiSelectClasses = {}));
394
395
 
395
- const _c0 = a0 => ({ height: a0 });
396
- const _c1 = (a0, a1) => ({ "p-multiselect-option": true, "p-disabled": a0, "p-focus": a1 });
397
- const _c2 = a0 => ({ $implicit: a0 });
398
- const _c3 = (a0, a1) => ({ checked: a0, class: a1 });
399
- function MultiSelectItem_ng_container_2_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
400
- function MultiSelectItem_ng_container_2_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
401
- i0.ɵɵtemplate(0, MultiSelectItem_ng_container_2_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
402
- } }
403
- function MultiSelectItem_ng_container_2_ng_template_1_Template(rf, ctx) { if (rf & 1) {
404
- i0.ɵɵtemplate(0, MultiSelectItem_ng_container_2_ng_template_1_0_Template, 1, 0, null, 4);
405
- } if (rf & 2) {
406
- const klass_r1 = ctx.class;
407
- const ctx_r1 = i0.ɵɵnextContext(2);
408
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.itemCheckboxIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c3, ctx_r1.selected, klass_r1));
409
- } }
410
- function MultiSelectItem_ng_container_2_Template(rf, ctx) { if (rf & 1) {
411
- i0.ɵɵelementContainerStart(0);
412
- i0.ɵɵtemplate(1, MultiSelectItem_ng_container_2_ng_template_1_Template, 1, 5, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
413
- i0.ɵɵelementContainerEnd();
414
- } }
415
- function MultiSelectItem_span_3_Template(rf, ctx) { if (rf & 1) {
416
- i0.ɵɵelementStart(0, "span");
417
- i0.ɵɵtext(1);
418
- i0.ɵɵelementEnd();
419
- } if (rf & 2) {
420
- let tmp_1_0;
421
- const ctx_r1 = i0.ɵɵnextContext();
422
- i0.ɵɵadvance();
423
- i0.ɵɵtextInterpolate((tmp_1_0 = ctx_r1.label) !== null && tmp_1_0 !== undefined ? tmp_1_0 : "empty");
424
- } }
425
- function MultiSelectItem_ng_container_4_Template(rf, ctx) { if (rf & 1) {
426
- i0.ɵɵelementContainer(0);
427
- } }
428
- const _c4 = ["item"];
429
- const _c5 = ["group"];
430
- const _c6 = ["loader"];
431
- const _c7 = ["header"];
432
- const _c8 = ["filter"];
433
- const _c9 = ["footer"];
434
- const _c10 = ["emptyfilter"];
435
- const _c11 = ["empty"];
436
- const _c12 = ["selecteditems"];
437
- const _c13 = ["checkicon"];
438
- const _c14 = ["loadingicon"];
439
- const _c15 = ["filtericon"];
440
- const _c16 = ["removetokenicon"];
441
- const _c17 = ["chipicon"];
442
- const _c18 = ["clearicon"];
443
- const _c19 = ["dropdownicon"];
444
- const _c20 = ["itemcheckboxicon"];
445
- const _c21 = ["headercheckboxicon"];
446
- const _c22 = ["overlay"];
447
- const _c23 = ["filterInput"];
448
- const _c24 = ["focusInput"];
449
- const _c25 = ["items"];
450
- const _c26 = ["scroller"];
451
- const _c27 = ["lastHiddenFocusableEl"];
452
- const _c28 = ["firstHiddenFocusableEl"];
453
- const _c29 = ["headerCheckbox"];
454
- const _c30 = [[["p-header"]], [["p-footer"]]];
455
- const _c31 = ["p-header", "p-footer"];
456
- const _c32 = () => ({ class: "p-multiselect-chip-icon" });
457
- const _c33 = (a0, a1) => ({ $implicit: a0, removeChip: a1 });
458
- const _c34 = a0 => ({ options: a0 });
459
- const _c35 = (a0, a1, a2) => ({ checked: a0, partialSelected: a1, class: a2 });
460
- const _c36 = (a0, a1) => ({ $implicit: a0, options: a1 });
461
- const _c37 = () => ({});
462
- function MultiSelect_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
463
- i0.ɵɵelementContainerStart(0);
464
- i0.ɵɵtext(1);
465
- i0.ɵɵelementContainerEnd();
466
- } if (rf & 2) {
467
- const ctx_r1 = i0.ɵɵnextContext(2);
468
- i0.ɵɵadvance();
469
- i0.ɵɵtextInterpolate(ctx_r1.label() || "empty");
470
- } }
471
- function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
472
- i0.ɵɵelementContainer(0);
473
- } }
474
- function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
475
- const _r5 = i0.ɵɵgetCurrentView();
476
- i0.ɵɵelementStart(0, "span", 28);
477
- i0.ɵɵlistener("click", function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const item_r4 = i0.ɵɵnextContext(4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeOption(item_r4, $event)); });
478
- i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_ng_container_1_Template, 1, 0, "ng-container", 29);
479
- i0.ɵɵelementEnd();
480
- } if (rf & 2) {
481
- const ctx_r1 = i0.ɵɵnextContext(7);
482
- i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
483
- i0.ɵɵadvance();
484
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(4, _c32));
485
- } }
486
- function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
487
- i0.ɵɵelementContainerStart(0);
488
- i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template, 2, 5, "span", 27);
489
- i0.ɵɵelementContainerEnd();
490
- } if (rf & 2) {
491
- const ctx_r1 = i0.ɵɵnextContext(6);
492
- i0.ɵɵadvance();
493
- i0.ɵɵproperty("ngIf", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate);
494
- } }
495
- function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template(rf, ctx) { if (rf & 1) {
496
- i0.ɵɵtemplate(0, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template, 2, 1, "ng-container", 20);
497
- } if (rf & 2) {
498
- const ctx_r1 = i0.ɵɵnextContext(5);
499
- i0.ɵɵproperty("ngIf", !ctx_r1.disabled);
500
- } }
501
- function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
502
- i0.ɵɵelementContainerStart(0);
503
- i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template, 1, 1, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
504
- i0.ɵɵelementContainerEnd();
505
- } }
506
- function MultiSelect_ng_container_5_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) {
507
- const _r3 = i0.ɵɵgetCurrentView();
508
- i0.ɵɵelementStart(0, "div", 25, 4)(2, "p-chip", 26);
509
- i0.ɵɵlistener("onRemove", function MultiSelect_ng_container_5_ng_container_2_div_1_Template_p_chip_onRemove_2_listener($event) { const item_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeOption(item_r4, $event)); });
510
- i0.ɵɵtemplate(3, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template, 3, 0, "ng-container", 20);
511
- i0.ɵɵelementEnd()();
512
- } if (rf & 2) {
513
- const item_r4 = ctx.$implicit;
514
- const ctx_r1 = i0.ɵɵnextContext(3);
515
- i0.ɵɵadvance(2);
516
- i0.ɵɵproperty("label", ctx_r1.getLabelByValue(item_r4))("removable", true)("removeIcon", ctx_r1.chipIcon);
517
- i0.ɵɵadvance();
518
- i0.ɵɵproperty("ngIf", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate);
519
- } }
520
- function MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
521
- i0.ɵɵelementContainerStart(0);
522
- i0.ɵɵtext(1);
523
- i0.ɵɵelementContainerEnd();
524
- } if (rf & 2) {
525
- const ctx_r1 = i0.ɵɵnextContext(3);
526
- i0.ɵɵadvance();
527
- i0.ɵɵtextInterpolate(ctx_r1.placeholder() || ctx_r1.defaultLabel || "empty");
528
- } }
529
- function MultiSelect_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
530
- i0.ɵɵelementContainerStart(0);
531
- i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_Template, 4, 4, "div", 24)(2, MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template, 2, 1, "ng-container", 20);
532
- i0.ɵɵelementContainerEnd();
533
- } if (rf & 2) {
534
- const ctx_r1 = i0.ɵɵnextContext(2);
535
- i0.ɵɵadvance();
536
- i0.ɵɵproperty("ngForOf", ctx_r1.chipSelectedItems());
537
- i0.ɵɵadvance();
538
- i0.ɵɵproperty("ngIf", !ctx_r1.modelValue() || ctx_r1.modelValue().length === 0);
539
- } }
540
- function MultiSelect_ng_container_5_Template(rf, ctx) { if (rf & 1) {
541
- i0.ɵɵelementContainerStart(0);
542
- i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_1_Template, 2, 1, "ng-container", 20)(2, MultiSelect_ng_container_5_ng_container_2_Template, 3, 2, "ng-container", 20);
543
- i0.ɵɵelementContainerEnd();
544
- } if (rf & 2) {
545
- const ctx_r1 = i0.ɵɵnextContext();
546
- i0.ɵɵadvance();
547
- i0.ɵɵproperty("ngIf", ctx_r1.display === "comma");
548
- i0.ɵɵadvance();
549
- i0.ɵɵproperty("ngIf", ctx_r1.display === "chip");
550
- } }
551
- function MultiSelect_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
552
- i0.ɵɵelementContainer(0);
553
- } }
554
- function MultiSelect_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
555
- i0.ɵɵelementContainerStart(0);
556
- i0.ɵɵtext(1);
557
- i0.ɵɵelementContainerEnd();
558
- } if (rf & 2) {
559
- const ctx_r1 = i0.ɵɵnextContext(2);
560
- i0.ɵɵadvance();
561
- i0.ɵɵtextInterpolate(ctx_r1.placeholder() || ctx_r1.defaultLabel || "empty");
562
- } }
563
- function MultiSelect_ng_container_6_Template(rf, ctx) { if (rf & 1) {
564
- i0.ɵɵelementContainerStart(0);
565
- i0.ɵɵtemplate(1, MultiSelect_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 29)(2, MultiSelect_ng_container_6_ng_container_2_Template, 2, 1, "ng-container", 20);
566
- i0.ɵɵelementContainerEnd();
567
- } if (rf & 2) {
568
- const ctx_r1 = i0.ɵɵnextContext();
569
- i0.ɵɵadvance();
570
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.selectedItemsTemplate || ctx_r1._selectedItemsTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c33, ctx_r1.selectedOptions, ctx_r1.removeOption.bind(ctx_r1)));
571
- i0.ɵɵadvance();
572
- i0.ɵɵproperty("ngIf", !ctx_r1.modelValue() || ctx_r1.modelValue().length === 0);
573
- } }
574
- function MultiSelect_ng_container_7_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
575
- const _r6 = i0.ɵɵgetCurrentView();
576
- i0.ɵɵelementStart(0, "TimesIcon", 31);
577
- i0.ɵɵlistener("click", function MultiSelect_ng_container_7_TimesIcon_1_Template_TimesIcon_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clear($event)); });
578
- i0.ɵɵelementEnd();
579
- } if (rf & 2) {
580
- i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
581
- } }
582
- function MultiSelect_ng_container_7_span_2_1_ng_template_0_Template(rf, ctx) { }
583
- function MultiSelect_ng_container_7_span_2_1_Template(rf, ctx) { if (rf & 1) {
584
- i0.ɵɵtemplate(0, MultiSelect_ng_container_7_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
585
- } }
586
- function MultiSelect_ng_container_7_span_2_Template(rf, ctx) { if (rf & 1) {
587
- const _r7 = i0.ɵɵgetCurrentView();
588
- i0.ɵɵelementStart(0, "span", 31);
589
- i0.ɵɵlistener("click", function MultiSelect_ng_container_7_span_2_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clear($event)); });
590
- i0.ɵɵtemplate(1, MultiSelect_ng_container_7_span_2_1_Template, 1, 0, null, 32);
591
- i0.ɵɵelementEnd();
592
- } if (rf & 2) {
593
- const ctx_r1 = i0.ɵɵnextContext(2);
594
- i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
595
- i0.ɵɵadvance();
596
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
597
- } }
598
- function MultiSelect_ng_container_7_Template(rf, ctx) { if (rf & 1) {
599
- i0.ɵɵelementContainerStart(0);
600
- i0.ɵɵtemplate(1, MultiSelect_ng_container_7_TimesIcon_1_Template, 1, 2, "TimesIcon", 30)(2, MultiSelect_ng_container_7_span_2_Template, 2, 3, "span", 30);
601
- i0.ɵɵelementContainerEnd();
602
- } if (rf & 2) {
603
- const ctx_r1 = i0.ɵɵnextContext();
604
- i0.ɵɵadvance();
605
- i0.ɵɵproperty("ngIf", !ctx_r1.clearIconTemplate && !ctx_r1._clearIconTemplate);
606
- i0.ɵɵadvance();
607
- i0.ɵɵproperty("ngIf", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
608
- } }
609
- function MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
610
- i0.ɵɵelementContainer(0);
611
- } }
612
- function MultiSelect_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
613
- i0.ɵɵelementContainerStart(0);
614
- i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 32);
615
- i0.ɵɵelementContainerEnd();
616
- } if (rf & 2) {
617
- const ctx_r1 = i0.ɵɵnextContext(2);
618
- i0.ɵɵadvance();
619
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loadingIconTemplate || ctx_r1._loadingIconTemplate);
620
- } }
621
- function MultiSelect_ng_container_9_ng_container_2_span_1_Template(rf, ctx) { if (rf & 1) {
622
- i0.ɵɵelement(0, "span", 35);
623
- } if (rf & 2) {
624
- const ctx_r1 = i0.ɵɵnextContext(3);
625
- i0.ɵɵproperty("ngClass", "p-multiselect-loading-icon pi-spin " + ctx_r1.loadingIcon);
626
- } }
627
- function MultiSelect_ng_container_9_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
628
- i0.ɵɵelement(0, "span", 36);
629
- } if (rf & 2) {
630
- i0.ɵɵclassMap("p-multiselect-loading-icon pi pi-spinner pi-spin");
631
- } }
632
- function MultiSelect_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf & 1) {
633
- i0.ɵɵelementContainerStart(0);
634
- i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_2_span_1_Template, 1, 1, "span", 33)(2, MultiSelect_ng_container_9_ng_container_2_span_2_Template, 1, 2, "span", 34);
635
- i0.ɵɵelementContainerEnd();
636
- } if (rf & 2) {
637
- const ctx_r1 = i0.ɵɵnextContext(2);
638
- i0.ɵɵadvance();
639
- i0.ɵɵproperty("ngIf", ctx_r1.loadingIcon);
640
- i0.ɵɵadvance();
641
- i0.ɵɵproperty("ngIf", !ctx_r1.loadingIcon);
642
- } }
643
- function MultiSelect_ng_container_9_Template(rf, ctx) { if (rf & 1) {
644
- i0.ɵɵelementContainerStart(0);
645
- i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_Template, 2, 1, "ng-container", 20)(2, MultiSelect_ng_container_9_ng_container_2_Template, 3, 2, "ng-container", 20);
646
- i0.ɵɵelementContainerEnd();
647
- } if (rf & 2) {
648
- const ctx_r1 = i0.ɵɵnextContext();
649
- i0.ɵɵadvance();
650
- i0.ɵɵproperty("ngIf", ctx_r1.loadingIconTemplate || ctx_r1._loadingIconTemplate);
651
- i0.ɵɵadvance();
652
- i0.ɵɵproperty("ngIf", !ctx_r1.loadingIconTemplate && !ctx_r1._loadingIconTemplate);
653
- } }
654
- function MultiSelect_ng_template_10_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
655
- i0.ɵɵelement(0, "span", 40);
656
- } if (rf & 2) {
657
- const ctx_r1 = i0.ɵɵnextContext(3);
658
- i0.ɵɵproperty("ngClass", ctx_r1.dropdownIcon);
659
- i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
660
- } }
661
- function MultiSelect_ng_template_10_ng_container_0_ChevronDownIcon_2_Template(rf, ctx) { if (rf & 1) {
662
- i0.ɵɵelement(0, "ChevronDownIcon", 41);
663
- } if (rf & 2) {
664
- i0.ɵɵproperty("styleClass", "p-multiselect-dropdown-icon");
665
- i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
666
- } }
667
- function MultiSelect_ng_template_10_ng_container_0_Template(rf, ctx) { if (rf & 1) {
668
- i0.ɵɵelementContainerStart(0);
669
- i0.ɵɵtemplate(1, MultiSelect_ng_template_10_ng_container_0_span_1_Template, 1, 3, "span", 38)(2, MultiSelect_ng_template_10_ng_container_0_ChevronDownIcon_2_Template, 1, 3, "ChevronDownIcon", 39);
670
- i0.ɵɵelementContainerEnd();
671
- } if (rf & 2) {
672
- const ctx_r1 = i0.ɵɵnextContext(2);
673
- i0.ɵɵadvance();
674
- i0.ɵɵproperty("ngIf", ctx_r1.dropdownIcon);
675
- i0.ɵɵadvance();
676
- i0.ɵɵproperty("ngIf", !ctx_r1.dropdownIcon);
677
- } }
678
- function MultiSelect_ng_template_10_span_1_1_ng_template_0_Template(rf, ctx) { }
679
- function MultiSelect_ng_template_10_span_1_1_Template(rf, ctx) { if (rf & 1) {
680
- i0.ɵɵtemplate(0, MultiSelect_ng_template_10_span_1_1_ng_template_0_Template, 0, 0, "ng-template");
681
- } }
682
- function MultiSelect_ng_template_10_span_1_Template(rf, ctx) { if (rf & 1) {
683
- i0.ɵɵelementStart(0, "span", 42);
684
- i0.ɵɵtemplate(1, MultiSelect_ng_template_10_span_1_1_Template, 1, 0, null, 32);
685
- i0.ɵɵelementEnd();
686
- } if (rf & 2) {
687
- const ctx_r1 = i0.ɵɵnextContext(2);
688
- i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
689
- i0.ɵɵadvance();
690
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);
691
- } }
692
- function MultiSelect_ng_template_10_Template(rf, ctx) { if (rf & 1) {
693
- i0.ɵɵtemplate(0, MultiSelect_ng_template_10_ng_container_0_Template, 3, 2, "ng-container", 20)(1, MultiSelect_ng_template_10_span_1_Template, 2, 3, "span", 37);
694
- } if (rf & 2) {
695
- const ctx_r1 = i0.ɵɵnextContext();
696
- i0.ɵɵproperty("ngIf", !ctx_r1.dropdownIconTemplate && !ctx_r1._dropdownIconTemplate);
697
- i0.ɵɵadvance();
698
- i0.ɵɵproperty("ngIf", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);
699
- } }
700
- function MultiSelect_ng_template_14_ng_container_3_Template(rf, ctx) { if (rf & 1) {
701
- i0.ɵɵelementContainer(0);
702
- } }
703
- function MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
704
- i0.ɵɵelementContainer(0);
705
- } }
706
- function MultiSelect_ng_template_14_div_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
707
- i0.ɵɵelementContainerStart(0);
708
- i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 29);
709
- i0.ɵɵelementContainerEnd();
710
- } if (rf & 2) {
711
- const ctx_r1 = i0.ɵɵnextContext(3);
712
- i0.ɵɵadvance();
713
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterTemplate || ctx_r1._filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, ctx_r1.filterOptions));
714
- } }
715
- function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template(rf, ctx) { if (rf & 1) {
716
- i0.ɵɵelement(0, "CheckIcon", 41);
717
- } if (rf & 2) {
718
- const klass_r10 = i0.ɵɵnextContext().class;
719
- i0.ɵɵproperty("styleClass", klass_r10);
720
- i0.ɵɵattribute("data-pc-section", "icon");
721
- } }
722
- function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_ng_template_0_Template(rf, ctx) { }
723
- function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_Template(rf, ctx) { if (rf & 1) {
724
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_ng_template_0_Template, 0, 0, "ng-template");
725
- } }
726
- function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
727
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template, 1, 2, "CheckIcon", 39)(1, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_Template, 1, 0, null, 29);
728
- } if (rf & 2) {
729
- const klass_r10 = ctx.class;
730
- const ctx_r1 = i0.ɵɵnextContext(5);
731
- i0.ɵɵproperty("ngIf", !ctx_r1.headerCheckboxIconTemplate && !ctx_r1._headerCheckboxIconTemplate && ctx_r1.allSelected());
732
- i0.ɵɵadvance();
733
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerCheckboxIconTemplate || ctx_r1._headerCheckboxIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c35, ctx_r1.allSelected(), ctx_r1.partialSelected(), klass_r10));
734
- } }
735
- function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template(rf, ctx) { if (rf & 1) {
736
- const _r9 = i0.ɵɵgetCurrentView();
737
- i0.ɵɵelementStart(0, "p-checkbox", 51, 10);
738
- i0.ɵɵlistener("onChange", function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template_p_checkbox_onChange_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onToggleAll($event)); });
739
- i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template, 2, 7, "ng-template", null, 11, i0.ɵɵtemplateRefExtractor);
740
- i0.ɵɵelementEnd();
741
- } if (rf & 2) {
742
- const ctx_r1 = i0.ɵɵnextContext(4);
743
- i0.ɵɵproperty("ngModel", ctx_r1.allSelected())("ariaLabel", ctx_r1.toggleAllAriaLabel)("binary", true)("variant", ctx_r1.variant)("disabled", ctx_r1.disabled);
744
- } }
745
- function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template(rf, ctx) { if (rf & 1) {
746
- i0.ɵɵelement(0, "SearchIcon", 41);
747
- } if (rf & 2) {
748
- i0.ɵɵproperty("styleClass", "p-multiselect-filter-icon");
749
- } }
750
- function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_ng_template_0_Template(rf, ctx) { }
751
- function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template(rf, ctx) { if (rf & 1) {
752
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_ng_template_0_Template, 0, 0, "ng-template");
753
- } }
754
- function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template(rf, ctx) { if (rf & 1) {
755
- i0.ɵɵelementStart(0, "span", 55);
756
- i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template, 1, 0, null, 32);
757
- i0.ɵɵelementEnd();
758
- } if (rf & 2) {
759
- const ctx_r1 = i0.ɵɵnextContext(5);
760
- i0.ɵɵadvance();
761
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);
762
- } }
763
- function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx) { if (rf & 1) {
764
- const _r11 = i0.ɵɵgetCurrentView();
765
- i0.ɵɵelementStart(0, "div", 52)(1, "p-iconfield")(2, "input", 53, 12);
766
- i0.ɵɵlistener("input", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_input_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onFilterInputChange($event)); })("keydown", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_keydown_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onFilterKeyDown($event)); })("click", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_click_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onInputClick($event)); })("blur", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_blur_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onFilterBlur($event)); });
767
- i0.ɵɵelementEnd();
768
- i0.ɵɵelementStart(4, "p-inputicon");
769
- i0.ɵɵtemplate(5, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template, 1, 1, "SearchIcon", 39)(6, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template, 2, 1, "span", 54);
770
- i0.ɵɵelementEnd()()();
771
- } if (rf & 2) {
772
- const ctx_r1 = i0.ɵɵnextContext(4);
773
- i0.ɵɵadvance(2);
774
- i0.ɵɵproperty("variant", ctx_r1.variant)("value", ctx_r1._filterValue() || "")("disabled", ctx_r1.disabled);
775
- i0.ɵɵattribute("autocomplete", ctx_r1.autocomplete)("aria-owns", ctx_r1.id + "_list")("aria-activedescendant", ctx_r1.focusedOptionId)("placeholder", ctx_r1.filterPlaceHolder)("aria-label", ctx_r1.ariaFilterLabel);
776
- i0.ɵɵadvance(3);
777
- i0.ɵɵproperty("ngIf", !ctx_r1.filterIconTemplate && !ctx_r1._filterIconTemplate);
778
- i0.ɵɵadvance();
779
- i0.ɵɵproperty("ngIf", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);
780
- } }
781
- function MultiSelect_ng_template_14_div_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
782
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template, 4, 5, "p-checkbox", 49)(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template, 7, 10, "div", 50);
783
- } if (rf & 2) {
784
- const ctx_r1 = i0.ɵɵnextContext(3);
785
- i0.ɵɵproperty("ngIf", ctx_r1.showToggleAll && !ctx_r1.selectionLimit);
786
- i0.ɵɵadvance();
787
- i0.ɵɵproperty("ngIf", ctx_r1.filter);
788
- } }
789
- function MultiSelect_ng_template_14_div_4_Template(rf, ctx) { if (rf & 1) {
790
- i0.ɵɵelementStart(0, "div", 48);
791
- i0.ɵɵprojection(1);
792
- i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_container_2_Template, 2, 4, "ng-container", 22)(3, MultiSelect_ng_template_14_div_4_ng_template_3_Template, 2, 2, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
793
- i0.ɵɵelementEnd();
794
- } if (rf & 2) {
795
- const builtInFilterElement_r12 = i0.ɵɵreference(4);
796
- const ctx_r1 = i0.ɵɵnextContext(2);
797
- i0.ɵɵadvance(2);
798
- i0.ɵɵproperty("ngIf", ctx_r1.filterTemplate || ctx_r1._filterTemplate)("ngIfElse", builtInFilterElement_r12);
799
- } }
800
- function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
801
- i0.ɵɵelementContainer(0);
802
- } }
803
- function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
804
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 29);
805
- } if (rf & 2) {
806
- const items_r14 = ctx.$implicit;
807
- const scrollerOptions_r15 = ctx.options;
808
- i0.ɵɵnextContext(2);
809
- const buildInItems_r16 = i0.ɵɵreference(9);
810
- i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c36, items_r14, scrollerOptions_r15));
811
- } }
812
- function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
813
- i0.ɵɵelementContainer(0);
814
- } }
815
- function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
816
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 29);
817
- } if (rf & 2) {
818
- const scrollerOptions_r17 = ctx.options;
819
- const ctx_r1 = i0.ɵɵnextContext(4);
820
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, scrollerOptions_r17));
821
- } }
822
- function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
823
- i0.ɵɵelementContainerStart(0);
824
- i0.ɵɵtemplate(1, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template, 1, 4, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
825
- i0.ɵɵelementContainerEnd();
826
- } }
827
- function MultiSelect_ng_template_14_p_scroller_6_Template(rf, ctx) { if (rf & 1) {
828
- const _r13 = i0.ɵɵgetCurrentView();
829
- i0.ɵɵelementStart(0, "p-scroller", 56, 13);
830
- i0.ɵɵlistener("onLazyLoad", function MultiSelect_ng_template_14_p_scroller_6_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onLazyLoad.emit($event)); });
831
- i0.ɵɵtemplate(2, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template, 1, 5, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(4, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template, 3, 0, "ng-container", 20);
832
- i0.ɵɵelementEnd();
833
- } if (rf & 2) {
834
- const ctx_r1 = i0.ɵɵnextContext(2);
835
- i0.ɵɵstyleMap(i0.ɵɵpureFunction1(9, _c0, ctx_r1.scrollHeight));
836
- i0.ɵɵproperty("items", ctx_r1.visibleOptions())("itemSize", ctx_r1.virtualScrollItemSize || ctx_r1._itemSize)("autoSize", true)("tabindex", -1)("lazy", ctx_r1.lazy)("options", ctx_r1.virtualScrollOptions);
837
- i0.ɵɵadvance(4);
838
- i0.ɵɵproperty("ngIf", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate);
839
- } }
840
- function MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
841
- i0.ɵɵelementContainer(0);
842
- } }
843
- function MultiSelect_ng_template_14_ng_container_7_Template(rf, ctx) { if (rf & 1) {
844
- i0.ɵɵelementContainerStart(0);
845
- i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 29);
846
- i0.ɵɵelementContainerEnd();
847
- } if (rf & 2) {
848
- i0.ɵɵnextContext();
849
- const buildInItems_r16 = i0.ɵɵreference(9);
850
- const ctx_r1 = i0.ɵɵnextContext();
851
- i0.ɵɵadvance();
852
- i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c36, ctx_r1.visibleOptions(), i0.ɵɵpureFunction0(2, _c37)));
853
- } }
854
- function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
855
- i0.ɵɵelementStart(0, "span");
856
- i0.ɵɵtext(1);
857
- i0.ɵɵelementEnd();
858
- } if (rf & 2) {
859
- const option_r18 = i0.ɵɵnextContext(2).$implicit;
860
- const ctx_r1 = i0.ɵɵnextContext(3);
861
- i0.ɵɵadvance();
862
- i0.ɵɵtextInterpolate(ctx_r1.getOptionGroupLabel(option_r18.optionGroup));
863
- } }
864
- function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
865
- i0.ɵɵelementContainer(0);
866
- } }
867
- function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
868
- i0.ɵɵelementContainerStart(0);
869
- i0.ɵɵelementStart(1, "li", 60);
870
- i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 20)(3, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 29);
871
- i0.ɵɵelementEnd();
872
- i0.ɵɵelementContainerEnd();
873
- } if (rf & 2) {
874
- const ctx_r18 = i0.ɵɵnextContext();
875
- const option_r18 = ctx_r18.$implicit;
876
- const i_r20 = ctx_r18.index;
877
- const scrollerOptions_r21 = i0.ɵɵnextContext().options;
878
- const ctx_r1 = i0.ɵɵnextContext(2);
879
- i0.ɵɵadvance();
880
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c0, scrollerOptions_r21.itemSize + "px"));
881
- i0.ɵɵattribute("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21));
882
- i0.ɵɵadvance();
883
- i0.ɵɵproperty("ngIf", !ctx_r1.groupTemplate);
884
- i0.ɵɵadvance();
885
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c2, option_r18.optionGroup));
886
- } }
887
- function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
888
- const _r22 = i0.ɵɵgetCurrentView();
889
- i0.ɵɵelementContainerStart(0);
890
- i0.ɵɵelementStart(1, "p-multiselect-item", 61);
891
- i0.ɵɵlistener("onClick", function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template_p_multiselect_item_onClick_1_listener($event) { i0.ɵɵrestoreView(_r22); const i_r20 = i0.ɵɵnextContext().index; const scrollerOptions_r21 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOptionSelect($event, false, ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))); })("onMouseEnter", function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template_p_multiselect_item_onMouseEnter_1_listener($event) { i0.ɵɵrestoreView(_r22); const i_r20 = i0.ɵɵnextContext().index; const scrollerOptions_r21 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOptionMouseEnter($event, ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))); });
892
- i0.ɵɵelementEnd();
893
- i0.ɵɵelementContainerEnd();
894
- } if (rf & 2) {
895
- const ctx_r18 = i0.ɵɵnextContext();
896
- const option_r18 = ctx_r18.$implicit;
897
- const i_r20 = ctx_r18.index;
898
- const scrollerOptions_r21 = i0.ɵɵnextContext().options;
899
- const ctx_r1 = i0.ɵɵnextContext(2);
900
- i0.ɵɵadvance();
901
- i0.ɵɵproperty("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))("option", option_r18)("selected", ctx_r1.isSelected(option_r18))("label", ctx_r1.getOptionLabel(option_r18))("disabled", ctx_r1.isOptionDisabled(option_r18))("template", ctx_r1.itemTemplate || ctx_r1._itemTemplate)("checkIconTemplate", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate)("itemCheckboxIconTemplate", ctx_r1.itemCheckboxIconTemplate || ctx_r1._itemCheckboxIconTemplate)("itemSize", scrollerOptions_r21.itemSize)("focused", ctx_r1.focusedOptionIndex() === ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))("ariaPosInset", ctx_r1.getAriaPosInset(ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21)))("ariaSetSize", ctx_r1.ariaSetSize)("variant", ctx_r1.variant);
902
- } }
903
- function MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
904
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 20)(1, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template, 2, 13, "ng-container", 20);
905
- } if (rf & 2) {
906
- const option_r18 = ctx.$implicit;
907
- const ctx_r1 = i0.ɵɵnextContext(3);
908
- i0.ɵɵproperty("ngIf", ctx_r1.isOptionGroup(option_r18));
909
- i0.ɵɵadvance();
910
- i0.ɵɵproperty("ngIf", !ctx_r1.isOptionGroup(option_r18));
911
- } }
912
- function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
913
- i0.ɵɵtext(0);
914
- } if (rf & 2) {
915
- const ctx_r1 = i0.ɵɵnextContext(4);
916
- i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyFilterMessageLabel, " ");
917
- } }
918
- function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
919
- i0.ɵɵelementContainer(0);
920
- } }
921
- function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
922
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 32);
923
- } if (rf & 2) {
924
- const ctx_r1 = i0.ɵɵnextContext(4);
925
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyFilterTemplate || ctx_r1._emptyFilterTemplate || ctx_r1.emptyTemplate || ctx_r1._emptyFilterTemplate);
926
- } }
927
- function MultiSelect_ng_template_14_ng_template_8_li_3_Template(rf, ctx) { if (rf & 1) {
928
- i0.ɵɵelementStart(0, "li", 62);
929
- i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_1_Template, 1, 1)(2, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template, 1, 1, "ng-container");
930
- i0.ɵɵelementEnd();
931
- } if (rf & 2) {
932
- const scrollerOptions_r21 = i0.ɵɵnextContext().options;
933
- const ctx_r1 = i0.ɵɵnextContext(2);
934
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r21.itemSize + "px"));
935
- i0.ɵɵadvance();
936
- i0.ɵɵconditional(!ctx_r1.emptyFilterTemplate && !ctx_r1._emptyFilterTemplate && !ctx_r1.emptyTemplate && !ctx_r1._emptyTemplate ? 1 : 2);
937
- } }
938
- function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
939
- i0.ɵɵtext(0);
940
- } if (rf & 2) {
941
- const ctx_r1 = i0.ɵɵnextContext(4);
942
- i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyMessageLabel, " ");
943
- } }
944
- function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
945
- i0.ɵɵelementContainer(0);
946
- } }
947
- function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
948
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 32);
949
- } if (rf & 2) {
950
- const ctx_r1 = i0.ɵɵnextContext(4);
951
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyTemplate || ctx_r1._emptyTemplate);
952
- } }
953
- function MultiSelect_ng_template_14_ng_template_8_li_4_Template(rf, ctx) { if (rf & 1) {
954
- i0.ɵɵelementStart(0, "li", 62);
955
- i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template, 1, 1)(2, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_Template, 1, 1, "ng-container");
956
- i0.ɵɵelementEnd();
957
- } if (rf & 2) {
958
- const scrollerOptions_r21 = i0.ɵɵnextContext().options;
959
- const ctx_r1 = i0.ɵɵnextContext(2);
960
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r21.itemSize + "px"));
961
- i0.ɵɵadvance();
962
- i0.ɵɵconditional(!ctx_r1.emptyTemplate && !ctx_r1._emptyTemplate ? 1 : 2);
963
- } }
964
- function MultiSelect_ng_template_14_ng_template_8_Template(rf, ctx) { if (rf & 1) {
965
- i0.ɵɵelementStart(0, "ul", 57, 15);
966
- i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template, 2, 2, "ng-template", 58)(3, MultiSelect_ng_template_14_ng_template_8_li_3_Template, 3, 4, "li", 59)(4, MultiSelect_ng_template_14_ng_template_8_li_4_Template, 3, 4, "li", 59);
967
- i0.ɵɵelementEnd();
968
- } if (rf & 2) {
969
- const items_r23 = ctx.$implicit;
970
- const scrollerOptions_r21 = ctx.options;
971
- const ctx_r1 = i0.ɵɵnextContext(2);
972
- i0.ɵɵstyleMap(scrollerOptions_r21.contentStyle);
973
- i0.ɵɵproperty("ngClass", scrollerOptions_r21.contentStyleClass);
974
- i0.ɵɵattribute("aria-label", ctx_r1.listLabel);
975
- i0.ɵɵadvance(2);
976
- i0.ɵɵproperty("ngForOf", items_r23);
977
- i0.ɵɵadvance();
978
- i0.ɵɵproperty("ngIf", ctx_r1.hasFilter() && ctx_r1.isEmpty());
979
- i0.ɵɵadvance();
980
- i0.ɵɵproperty("ngIf", !ctx_r1.hasFilter() && ctx_r1.isEmpty());
981
- } }
982
- function MultiSelect_ng_template_14_div_10_ng_container_2_Template(rf, ctx) { if (rf & 1) {
983
- i0.ɵɵelementContainer(0);
984
- } }
985
- function MultiSelect_ng_template_14_div_10_Template(rf, ctx) { if (rf & 1) {
986
- i0.ɵɵelementStart(0, "div");
987
- i0.ɵɵprojection(1, 1);
988
- i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_10_ng_container_2_Template, 1, 0, "ng-container", 32);
989
- i0.ɵɵelementEnd();
990
- } if (rf & 2) {
991
- const ctx_r1 = i0.ɵɵnextContext(2);
992
- i0.ɵɵadvance(2);
993
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate);
994
- } }
995
- function MultiSelect_ng_template_14_Template(rf, ctx) { if (rf & 1) {
996
- const _r8 = i0.ɵɵgetCurrentView();
997
- i0.ɵɵelementStart(0, "div", 43)(1, "span", 44, 6);
998
- i0.ɵɵlistener("focus", function MultiSelect_ng_template_14_Template_span_focus_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onFirstHiddenFocus($event)); });
999
- i0.ɵɵelementEnd();
1000
- i0.ɵɵtemplate(3, MultiSelect_ng_template_14_ng_container_3_Template, 1, 0, "ng-container", 32)(4, MultiSelect_ng_template_14_div_4_Template, 5, 2, "div", 45);
1001
- i0.ɵɵelementStart(5, "div", 46);
1002
- i0.ɵɵtemplate(6, MultiSelect_ng_template_14_p_scroller_6_Template, 5, 11, "p-scroller", 47)(7, MultiSelect_ng_template_14_ng_container_7_Template, 2, 6, "ng-container", 20)(8, MultiSelect_ng_template_14_ng_template_8_Template, 5, 7, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
1003
- i0.ɵɵelementEnd();
1004
- i0.ɵɵtemplate(10, MultiSelect_ng_template_14_div_10_Template, 3, 1, "div", 20);
1005
- i0.ɵɵelementStart(11, "span", 44, 8);
1006
- i0.ɵɵlistener("focus", function MultiSelect_ng_template_14_Template_span_focus_11_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onLastHiddenFocus($event)); });
1007
- i0.ɵɵelementEnd()();
1008
- } if (rf & 2) {
1009
- const ctx_r1 = i0.ɵɵnextContext();
1010
- i0.ɵɵclassMap(ctx_r1.panelStyleClass);
1011
- i0.ɵɵproperty("ngClass", "p-multiselect-overlay p-component")("ngStyle", ctx_r1.panelStyle);
1012
- i0.ɵɵattribute("id", ctx_r1.id + "_list");
1013
- i0.ɵɵadvance();
1014
- i0.ɵɵattribute("tabindex", 0)("data-p-hidden-accessible", true)("data-p-hidden-focusable", true);
1015
- i0.ɵɵadvance(2);
1016
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate);
1017
- i0.ɵɵadvance();
1018
- i0.ɵɵproperty("ngIf", ctx_r1.showHeader);
1019
- i0.ɵɵadvance();
1020
- i0.ɵɵstyleProp("max-height", ctx_r1.virtualScroll ? "auto" : ctx_r1.scrollHeight || "auto");
1021
- i0.ɵɵadvance();
1022
- i0.ɵɵproperty("ngIf", ctx_r1.virtualScroll);
1023
- i0.ɵɵadvance();
1024
- i0.ɵɵproperty("ngIf", !ctx_r1.virtualScroll);
1025
- i0.ɵɵadvance(3);
1026
- i0.ɵɵproperty("ngIf", ctx_r1.footerFacet || ctx_r1.footerTemplate || ctx_r1._footerTemplate);
1027
- i0.ɵɵadvance();
1028
- i0.ɵɵattribute("tabindex", 0)("data-p-hidden-accessible", true)("data-p-hidden-focusable", true);
1029
- } }
1030
396
  const MULTISELECT_VALUE_ACCESSOR = {
1031
397
  provide: NG_VALUE_ACCESSOR,
1032
398
  useExisting: forwardRef(() => MultiSelect),
@@ -1064,35 +430,48 @@ class MultiSelectItem extends BaseComponent {
1064
430
  selected: this.selected
1065
431
  });
1066
432
  }
1067
- static ɵfac = /*@__PURE__*/ (() => { let ɵMultiSelectItem_BaseFactory; return function MultiSelectItem_Factory(__ngFactoryType__) { return (ɵMultiSelectItem_BaseFactory || (ɵMultiSelectItem_BaseFactory = i0.ɵɵgetInheritedFactory(MultiSelectItem)))(__ngFactoryType__ || MultiSelectItem); }; })();
1068
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiSelectItem, selectors: [["p-multiSelectItem"], ["p-multiselect-item"]], inputs: { id: "id", option: "option", selected: [2, "selected", "selected", booleanAttribute], label: "label", disabled: [2, "disabled", "disabled", booleanAttribute], itemSize: [2, "itemSize", "itemSize", numberAttribute], focused: [2, "focused", "focused", booleanAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", variant: "variant", template: "template", checkIconTemplate: "checkIconTemplate", itemCheckboxIconTemplate: "itemCheckboxIconTemplate" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 27, consts: [["icon", ""], ["pRipple", "", "role", "option", 3, "click", "mouseenter", "ngStyle", "ngClass", "id"], [3, "ngModel", "binary", "tabindex", "variant", "ariaLabel"], [4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function MultiSelectItem_Template(rf, ctx) { if (rf & 1) {
1069
- i0.ɵɵelementStart(0, "li", 1);
1070
- i0.ɵɵlistener("click", function MultiSelectItem_Template_li_click_0_listener($event) { return ctx.onOptionClick($event); })("mouseenter", function MultiSelectItem_Template_li_mouseenter_0_listener($event) { return ctx.onOptionMouseEnter($event); });
1071
- i0.ɵɵelementStart(1, "p-checkbox", 2);
1072
- i0.ɵɵtemplate(2, MultiSelectItem_ng_container_2_Template, 3, 0, "ng-container", 3);
1073
- i0.ɵɵelementEnd();
1074
- i0.ɵɵtemplate(3, MultiSelectItem_span_3_Template, 2, 1, "span", 3)(4, MultiSelectItem_ng_container_4_Template, 1, 0, "ng-container", 4);
1075
- i0.ɵɵelementEnd();
1076
- } if (rf & 2) {
1077
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(20, _c0, ctx.itemSize + "px"))("ngClass", i0.ɵɵpureFunction2(22, _c1, ctx.disabled, ctx.focused))("id", ctx.id);
1078
- i0.ɵɵattribute("aria-label", ctx.label)("aria-setsize", ctx.ariaSetSize)("aria-posinset", ctx.ariaPosInset)("aria-selected", ctx.selected)("data-p-focused", ctx.focused)("data-p-highlight", ctx.selected)("data-p-disabled", ctx.disabled)("aria-checked", ctx.selected);
1079
- i0.ɵɵadvance();
1080
- i0.ɵɵproperty("ngModel", ctx.selected)("binary", true)("tabindex", -1)("variant", ctx.variant)("ariaLabel", ctx.label);
1081
- i0.ɵɵadvance();
1082
- i0.ɵɵproperty("ngIf", ctx.itemCheckboxIconTemplate);
1083
- i0.ɵɵadvance();
1084
- i0.ɵɵproperty("ngIf", !ctx.template);
1085
- i0.ɵɵadvance();
1086
- i0.ɵɵproperty("ngTemplateOutlet", ctx.template)("ngTemplateOutletContext", i0.ɵɵpureFunction1(25, _c2, ctx.option));
1087
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, Checkbox, FormsModule, i2.NgControlStatus, i2.NgModel, Ripple, SharedModule], encapsulation: 2 });
433
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
434
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: MultiSelectItem, isStandalone: true, selector: "p-multiSelectItem, p-multiselect-item", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], focused: ["focused", "focused", booleanAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", variant: "variant", template: "template", checkIconTemplate: "checkIconTemplate", itemCheckboxIconTemplate: "itemCheckboxIconTemplate" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, usesInheritance: true, ngImport: i0, template: `
435
+ <li
436
+ pRipple
437
+ role="option"
438
+ [ngStyle]="{ height: itemSize + 'px' }"
439
+ [ngClass]="{
440
+ 'p-multiselect-option': true,
441
+ 'p-disabled': disabled,
442
+ 'p-focus': focused
443
+ }"
444
+ [id]="id"
445
+ [attr.aria-label]="label"
446
+ [attr.aria-setsize]="ariaSetSize"
447
+ [attr.aria-posinset]="ariaPosInset"
448
+ [attr.aria-selected]="selected"
449
+ [attr.data-p-focused]="focused"
450
+ [attr.data-p-highlight]="selected"
451
+ [attr.data-p-disabled]="disabled"
452
+ [attr.aria-checked]="selected"
453
+ (click)="onOptionClick($event)"
454
+ (mouseenter)="onOptionMouseEnter($event)"
455
+ >
456
+ <p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant" [ariaLabel]="label">
457
+ <ng-container *ngIf="itemCheckboxIconTemplate">
458
+ <ng-template #icon let-klass="class">
459
+ <ng-template *ngTemplateOutlet="itemCheckboxIconTemplate; context: { checked: selected, class: klass }"></ng-template>
460
+ </ng-template>
461
+ </ng-container>
462
+ </p-checkbox>
463
+ <span *ngIf="!template">{{ label ?? 'empty' }}</span>
464
+ <ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
465
+ </li>
466
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["value", "name", "disabled", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "inputStyle", "styleClass", "inputClass", "indeterminate", "size", "formControl", "checkboxIcon", "readonly", "required", "autofocus", "trueValue", "falseValue", "variant"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: SharedModule }], encapsulation: i0.ViewEncapsulation.None });
1088
467
  }
1089
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelectItem, [{
1090
- type: Component,
1091
- args: [{
1092
- selector: 'p-multiSelectItem, p-multiselect-item',
1093
- standalone: true,
1094
- imports: [CommonModule, Checkbox, FormsModule, Ripple, SharedModule],
1095
- template: `
468
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectItem, decorators: [{
469
+ type: Component,
470
+ args: [{
471
+ selector: 'p-multiSelectItem, p-multiselect-item',
472
+ standalone: true,
473
+ imports: [CommonModule, Checkbox, FormsModule, Ripple, SharedModule],
474
+ template: `
1096
475
  <li
1097
476
  pRipple
1098
477
  role="option"
@@ -1125,44 +504,43 @@ class MultiSelectItem extends BaseComponent {
1125
504
  <ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
1126
505
  </li>
1127
506
  `,
1128
- encapsulation: ViewEncapsulation.None
1129
- }]
1130
- }], null, { id: [{
1131
- type: Input
1132
- }], option: [{
1133
- type: Input
1134
- }], selected: [{
1135
- type: Input,
1136
- args: [{ transform: booleanAttribute }]
1137
- }], label: [{
1138
- type: Input
1139
- }], disabled: [{
1140
- type: Input,
1141
- args: [{ transform: booleanAttribute }]
1142
- }], itemSize: [{
1143
- type: Input,
1144
- args: [{ transform: numberAttribute }]
1145
- }], focused: [{
1146
- type: Input,
1147
- args: [{ transform: booleanAttribute }]
1148
- }], ariaPosInset: [{
1149
- type: Input
1150
- }], ariaSetSize: [{
1151
- type: Input
1152
- }], variant: [{
1153
- type: Input
1154
- }], template: [{
1155
- type: Input
1156
- }], checkIconTemplate: [{
1157
- type: Input
1158
- }], itemCheckboxIconTemplate: [{
1159
- type: Input
1160
- }], onClick: [{
1161
- type: Output
1162
- }], onMouseEnter: [{
1163
- type: Output
1164
- }] }); })();
1165
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiSelectItem, { className: "MultiSelectItem", filePath: "multiselect.ts", lineNumber: 115 }); })();
507
+ encapsulation: ViewEncapsulation.None
508
+ }]
509
+ }], propDecorators: { id: [{
510
+ type: Input
511
+ }], option: [{
512
+ type: Input
513
+ }], selected: [{
514
+ type: Input,
515
+ args: [{ transform: booleanAttribute }]
516
+ }], label: [{
517
+ type: Input
518
+ }], disabled: [{
519
+ type: Input,
520
+ args: [{ transform: booleanAttribute }]
521
+ }], itemSize: [{
522
+ type: Input,
523
+ args: [{ transform: numberAttribute }]
524
+ }], focused: [{
525
+ type: Input,
526
+ args: [{ transform: booleanAttribute }]
527
+ }], ariaPosInset: [{
528
+ type: Input
529
+ }], ariaSetSize: [{
530
+ type: Input
531
+ }], variant: [{
532
+ type: Input
533
+ }], template: [{
534
+ type: Input
535
+ }], checkIconTemplate: [{
536
+ type: Input
537
+ }], itemCheckboxIconTemplate: [{
538
+ type: Input
539
+ }], onClick: [{
540
+ type: Output
541
+ }], onMouseEnter: [{
542
+ type: Output
543
+ }] } });
1166
544
  // @ts-ignore
1167
545
  /**
1168
546
  * MultiSelect is used to select multiple items from a collection.
@@ -1549,8 +927,7 @@ class MultiSelect extends BaseComponent {
1549
927
  * @group Props
1550
928
  */
1551
929
  get options() {
1552
- const options = this._options();
1553
- return options;
930
+ return this._options();
1554
931
  }
1555
932
  set options(val) {
1556
933
  if (!deepEquals(this._options(), val)) {
@@ -1646,11 +1023,13 @@ class MultiSelect extends BaseComponent {
1646
1023
  onClear = new EventEmitter();
1647
1024
  /**
1648
1025
  * Callback to invoke when overlay panel becomes visible.
1026
+ * @param {AnimationEvent} event - Animation event.
1649
1027
  * @group Emits
1650
1028
  */
1651
1029
  onPanelShow = new EventEmitter();
1652
1030
  /**
1653
1031
  * Callback to invoke when overlay panel becomes hidden.
1032
+ * @param {AnimationEvent} event - Animation event.
1654
1033
  * @group Emits
1655
1034
  */
1656
1035
  onPanelHide = new EventEmitter();
@@ -1876,7 +1255,7 @@ class MultiSelect extends BaseComponent {
1876
1255
  }
1877
1256
  visibleOptions = computed(() => {
1878
1257
  const options = this.getAllVisibleAndNonVisibleOptions();
1879
- const isArrayOfObjects = isArray(options) && isObject(options[0]);
1258
+ const isArrayOfObjects = isArray(options) && ObjectUtils.isObject(options[0]);
1880
1259
  if (this._filterValue()) {
1881
1260
  let filteredOptions;
1882
1261
  if (isArrayOfObjects) {
@@ -1935,10 +1314,10 @@ class MultiSelect extends BaseComponent {
1935
1314
  this.overlayService = overlayService;
1936
1315
  effect(() => {
1937
1316
  const modelValue = this.modelValue();
1938
- const visibleOptions = this.visibleOptions();
1939
- if (visibleOptions && isNotEmpty(visibleOptions)) {
1317
+ const allVisibleAndNonVisibleOptions = this.getAllVisibleAndNonVisibleOptions();
1318
+ if (allVisibleAndNonVisibleOptions && isNotEmpty(allVisibleAndNonVisibleOptions)) {
1940
1319
  if (this.optionValue && this.optionLabel && modelValue) {
1941
- this.selectedOptions = visibleOptions.filter((option) => modelValue.includes(option[this.optionLabel]) || modelValue.includes(option[this.optionValue]));
1320
+ this.selectedOptions = allVisibleAndNonVisibleOptions.filter((option) => modelValue.includes(option[this.optionLabel]) || modelValue.includes(option[this.optionValue]));
1942
1321
  }
1943
1322
  else {
1944
1323
  this.selectedOptions = modelValue;
@@ -2335,6 +1714,7 @@ class MultiSelect extends BaseComponent {
2335
1714
  }
2336
1715
  onEscapeKey(event) {
2337
1716
  this.overlayVisible && this.hide(true);
1717
+ event.stopPropagation();
2338
1718
  event.preventDefault();
2339
1719
  }
2340
1720
  onDeleteKey(event) {
@@ -2552,39 +1932,38 @@ class MultiSelect extends BaseComponent {
2552
1932
  unblockBodyScroll();
2553
1933
  }
2554
1934
  isFocus && focus(this.focusInputViewChild?.nativeElement);
2555
- this.onPanelHide.emit();
2556
1935
  this.cd.markForCheck();
2557
1936
  }
2558
1937
  onOverlayAnimationStart(event) {
2559
- switch (event.toState) {
2560
- case 'visible':
2561
- this.itemsWrapper = findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-multiselect-list-container');
2562
- this.virtualScroll && this.scroller?.setContentEl(this.itemsViewChild?.nativeElement);
2563
- if (this._options() && this._options().length) {
2564
- if (this.virtualScroll) {
2565
- const selectedIndex = isNotEmpty(this.modelValue()) ? this.focusedOptionIndex() : -1;
2566
- if (selectedIndex !== -1) {
2567
- this.scroller?.scrollToIndex(selectedIndex);
2568
- }
2569
- }
2570
- else {
2571
- let selectedListItem = findSingle(this.itemsWrapper, '[data-p-highlight="true"]');
2572
- if (selectedListItem) {
2573
- selectedListItem.scrollIntoView({ block: 'nearest', inline: 'nearest' });
2574
- }
1938
+ if (event.toState === 'visible') {
1939
+ this.itemsWrapper = findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-multiselect-list-container');
1940
+ this.virtualScroll && this.scroller?.setContentEl(this.itemsViewChild?.nativeElement);
1941
+ if (this.options && this.options.length) {
1942
+ if (this.virtualScroll) {
1943
+ const selectedIndex = this.modelValue() ? this.focusedOptionIndex() : -1;
1944
+ if (selectedIndex !== -1) {
1945
+ this.scroller?.scrollToIndex(selectedIndex);
2575
1946
  }
2576
1947
  }
2577
- if (this.filterInputChild && this.filterInputChild.nativeElement) {
2578
- this.preventModelTouched = true;
2579
- if (this.autofocusFilter) {
2580
- this.filterInputChild.nativeElement.focus();
1948
+ else {
1949
+ let selectedListItem = findSingle(this.itemsWrapper, '[data-p-highlight="true"]');
1950
+ if (selectedListItem) {
1951
+ selectedListItem.scrollIntoView({ block: 'nearest', inline: 'nearest' });
2581
1952
  }
2582
1953
  }
2583
- this.onPanelShow.emit();
2584
- case 'void':
2585
- this.itemsWrapper = null;
2586
- this.onModelTouched();
2587
- break;
1954
+ }
1955
+ if (this.filterInputChild && this.filterInputChild.nativeElement) {
1956
+ this.preventModelTouched = true;
1957
+ if (this.autofocusFilter) {
1958
+ this.filterInputChild.nativeElement.focus();
1959
+ }
1960
+ }
1961
+ this.onPanelShow.emit(event);
1962
+ }
1963
+ if (event.toState === 'void') {
1964
+ this.itemsWrapper = null;
1965
+ this.onModelTouched();
1966
+ this.onPanelHide.emit(event);
2588
1967
  }
2589
1968
  }
2590
1969
  resetFilter() {
@@ -2723,129 +2102,277 @@ class MultiSelect extends BaseComponent {
2723
2102
  hasFilter() {
2724
2103
  return this._filterValue() && this._filterValue().trim().length > 0;
2725
2104
  }
2726
- static ɵfac = function MultiSelect_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiSelect)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i3.FilterService), i0.ɵɵdirectiveInject(i3.OverlayService)); };
2727
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiSelect, selectors: [["p-multiSelect"], ["p-multiselect"], ["p-multi-select"]], contentQueries: function MultiSelect_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
2728
- i0.ɵɵcontentQuery(dirIndex, Footer, 5);
2729
- i0.ɵɵcontentQuery(dirIndex, Header, 5);
2730
- i0.ɵɵcontentQuery(dirIndex, _c4, 4);
2731
- i0.ɵɵcontentQuery(dirIndex, _c5, 4);
2732
- i0.ɵɵcontentQuery(dirIndex, _c6, 4);
2733
- i0.ɵɵcontentQuery(dirIndex, _c7, 4);
2734
- i0.ɵɵcontentQuery(dirIndex, _c8, 4);
2735
- i0.ɵɵcontentQuery(dirIndex, _c9, 4);
2736
- i0.ɵɵcontentQuery(dirIndex, _c10, 4);
2737
- i0.ɵɵcontentQuery(dirIndex, _c11, 4);
2738
- i0.ɵɵcontentQuery(dirIndex, _c12, 4);
2739
- i0.ɵɵcontentQuery(dirIndex, _c13, 4);
2740
- i0.ɵɵcontentQuery(dirIndex, _c14, 4);
2741
- i0.ɵɵcontentQuery(dirIndex, _c15, 4);
2742
- i0.ɵɵcontentQuery(dirIndex, _c16, 4);
2743
- i0.ɵɵcontentQuery(dirIndex, _c17, 4);
2744
- i0.ɵɵcontentQuery(dirIndex, _c18, 4);
2745
- i0.ɵɵcontentQuery(dirIndex, _c19, 4);
2746
- i0.ɵɵcontentQuery(dirIndex, _c20, 4);
2747
- i0.ɵɵcontentQuery(dirIndex, _c21, 4);
2748
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
2749
- } if (rf & 2) {
2750
- let _t;
2751
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerFacet = _t.first);
2752
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerFacet = _t.first);
2753
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
2754
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.groupTemplate = _t.first);
2755
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderTemplate = _t.first);
2756
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
2757
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterTemplate = _t.first);
2758
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
2759
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyFilterTemplate = _t.first);
2760
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyTemplate = _t.first);
2761
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectedItemsTemplate = _t.first);
2762
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkIconTemplate = _t.first);
2763
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loadingIconTemplate = _t.first);
2764
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterIconTemplate = _t.first);
2765
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.removeTokenIconTemplate = _t.first);
2766
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chipIconTemplate = _t.first);
2767
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearIconTemplate = _t.first);
2768
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownIconTemplate = _t.first);
2769
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemCheckboxIconTemplate = _t.first);
2770
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerCheckboxIconTemplate = _t.first);
2771
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
2772
- } }, viewQuery: function MultiSelect_Query(rf, ctx) { if (rf & 1) {
2773
- i0.ɵɵviewQuery(_c22, 5);
2774
- i0.ɵɵviewQuery(_c23, 5);
2775
- i0.ɵɵviewQuery(_c24, 5);
2776
- i0.ɵɵviewQuery(_c25, 5);
2777
- i0.ɵɵviewQuery(_c26, 5);
2778
- i0.ɵɵviewQuery(_c27, 5);
2779
- i0.ɵɵviewQuery(_c28, 5);
2780
- i0.ɵɵviewQuery(_c29, 5);
2781
- } if (rf & 2) {
2782
- let _t;
2783
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayViewChild = _t.first);
2784
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterInputChild = _t.first);
2785
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.focusInputViewChild = _t.first);
2786
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemsViewChild = _t.first);
2787
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);
2788
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastHiddenFocusableElementOnOverlay = _t.first);
2789
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.firstHiddenFocusableElementOnOverlay = _t.first);
2790
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerCheckboxViewChild = _t.first);
2791
- } }, hostVars: 7, hostBindings: function MultiSelect_HostBindings(rf, ctx) { if (rf & 1) {
2792
- i0.ɵɵlistener("click", function MultiSelect_click_HostBindingHandler($event) { return ctx.onContainerClick($event); });
2793
- } if (rf & 2) {
2794
- i0.ɵɵattribute("id", ctx.id);
2795
- i0.ɵɵstyleMap(ctx.style);
2796
- i0.ɵɵclassMap(ctx.hostClasses);
2797
- i0.ɵɵclassProp("p-variant-filled", ctx.variant === "filled" || ctx.config.inputVariant() === "filled" || ctx.config.inputStyle() === "filled");
2798
- } }, inputs: { id: "id", ariaLabel: "ariaLabel", style: "style", styleClass: "styleClass", panelStyle: "panelStyle", panelStyleClass: "panelStyleClass", inputId: "inputId", disabled: [2, "disabled", "disabled", booleanAttribute], fluid: [2, "fluid", "fluid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], group: [2, "group", "group", booleanAttribute], filter: [2, "filter", "filter", booleanAttribute], filterPlaceHolder: "filterPlaceHolder", filterLocale: "filterLocale", overlayVisible: [2, "overlayVisible", "overlayVisible", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], variant: "variant", appendTo: "appendTo", dataKey: "dataKey", name: "name", ariaLabelledBy: "ariaLabelledBy", displaySelectedLabel: "displaySelectedLabel", maxSelectedLabels: "maxSelectedLabels", selectionLimit: [2, "selectionLimit", "selectionLimit", numberAttribute], selectedItemsLabel: "selectedItemsLabel", showToggleAll: [2, "showToggleAll", "showToggleAll", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", resetFilterOnHide: [2, "resetFilterOnHide", "resetFilterOnHide", booleanAttribute], dropdownIcon: "dropdownIcon", chipIcon: "chipIcon", optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", showHeader: [2, "showHeader", "showHeader", booleanAttribute], filterBy: "filterBy", scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], loading: [2, "loading", "loading", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], loadingIcon: "loadingIcon", virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", filterMatchMode: "filterMatchMode", tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", autofocusFilter: [2, "autofocusFilter", "autofocusFilter", booleanAttribute], display: "display", autocomplete: "autocomplete", size: "size", showClear: [2, "showClear", "showClear", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", defaultLabel: "defaultLabel", placeholder: "placeholder", options: "options", filterValue: "filterValue", itemSize: "itemSize", selectAll: "selectAll", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], filterFields: "filterFields", selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute] }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, features: [i0.ɵɵProvidersFeature([MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c31, decls: 16, vars: 35, consts: [["focusInput", ""], ["elseBlock", ""], ["overlay", ""], ["content", ""], ["token", ""], ["removeicon", ""], ["firstHiddenFocusableEl", ""], ["buildInItems", ""], ["lastHiddenFocusableEl", ""], ["builtInFilterElement", ""], ["headerCheckbox", ""], ["checkboxicon", ""], ["filterInput", ""], ["scroller", ""], ["loader", ""], ["items", ""], [1, "p-hidden-accessible"], ["role", "combobox", 3, "focus", "blur", "keydown", "pTooltip", "tooltipPosition", "positionStyle", "tooltipStyleClass", "pAutoFocus"], [1, "p-multiselect-label-container", 3, "mouseleave", "pTooltip", "tooltipDisabled", "tooltipPosition", "positionStyle", "tooltipStyleClass"], [3, "ngClass"], [4, "ngIf"], [1, "p-multiselect-dropdown"], [4, "ngIf", "ngIfElse"], [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions"], ["class", "p-multiselect-chip-item", 4, "ngFor", "ngForOf"], [1, "p-multiselect-chip-item"], ["styleClass", "p-multiselect-chip", 3, "onRemove", "label", "removable", "removeIcon"], ["class", "p-multiselect-chip-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-chip-icon", 3, "click"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "p-multiselect-clear-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], ["aria-hidden", "true", 3, "class", 4, "ngIf"], ["aria-hidden", "true", 3, "ngClass"], ["aria-hidden", "true"], ["class", "p-multiselect-dropdown-icon", 4, "ngIf"], ["class", "p-multiselect-dropdown-icon", 3, "ngClass", 4, "ngIf"], [3, "styleClass", 4, "ngIf"], [1, "p-multiselect-dropdown-icon", 3, "ngClass"], [3, "styleClass"], [1, "p-multiselect-dropdown-icon"], [3, "ngClass", "ngStyle"], ["role", "presentation", 1, "p-hidden-accessible", "p-hidden-focusable", 3, "focus"], ["class", "p-multiselect-header", 4, "ngIf"], [1, "p-multiselect-list-container"], [3, "items", "style", "itemSize", "autoSize", "tabindex", "lazy", "options", "onLazyLoad", 4, "ngIf"], [1, "p-multiselect-header"], [3, "ngModel", "ariaLabel", "binary", "variant", "disabled", "onChange", 4, "ngIf"], ["class", "p-multiselect-filter-container", 4, "ngIf"], [3, "onChange", "ngModel", "ariaLabel", "binary", "variant", "disabled"], [1, "p-multiselect-filter-container"], ["pInputText", "", "type", "text", "role", "searchbox", 1, "p-multiselect-filter", 3, "input", "keydown", "click", "blur", "variant", "value", "disabled"], ["class", "p-multiselect-filter-icon", 4, "ngIf"], [1, "p-multiselect-filter-icon"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "tabindex", "lazy", "options"], ["role", "listbox", "aria-multiselectable", "true", 1, "p-multiselect-list", 3, "ngClass"], ["ngFor", "", 3, "ngForOf"], ["class", "p-multiselect-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"], ["role", "option", 1, "p-multiselect-option-group", 3, "ngStyle"], [3, "onClick", "onMouseEnter", "id", "option", "selected", "label", "disabled", "template", "checkIconTemplate", "itemCheckboxIconTemplate", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant"], ["role", "option", 1, "p-multiselect-empty-message", 3, "ngStyle"]], template: function MultiSelect_Template(rf, ctx) { if (rf & 1) {
2799
- const _r1 = i0.ɵɵgetCurrentView();
2800
- i0.ɵɵprojectionDef(_c30);
2801
- i0.ɵɵelementStart(0, "div", 16)(1, "input", 17, 0);
2802
- i0.ɵɵlistener("focus", function MultiSelect_Template_input_focus_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputFocus($event)); })("blur", function MultiSelect_Template_input_blur_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputBlur($event)); })("keydown", function MultiSelect_Template_input_keydown_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeyDown($event)); });
2803
- i0.ɵɵelementEnd()();
2804
- i0.ɵɵelementStart(3, "div", 18);
2805
- i0.ɵɵlistener("mouseleave", function MultiSelect_Template_div_mouseleave_3_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.labelContainerMouseLeave()); });
2806
- i0.ɵɵelementStart(4, "div", 19);
2807
- i0.ɵɵtemplate(5, MultiSelect_ng_container_5_Template, 3, 2, "ng-container", 20)(6, MultiSelect_ng_container_6_Template, 3, 6, "ng-container", 20);
2808
- i0.ɵɵelementEnd()();
2809
- i0.ɵɵtemplate(7, MultiSelect_ng_container_7_Template, 3, 2, "ng-container", 20);
2810
- i0.ɵɵelementStart(8, "div", 21);
2811
- i0.ɵɵtemplate(9, MultiSelect_ng_container_9_Template, 3, 2, "ng-container", 22)(10, MultiSelect_ng_template_10_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
2812
- i0.ɵɵelementEnd();
2813
- i0.ɵɵelementStart(12, "p-overlay", 23, 2);
2814
- i0.ɵɵtwoWayListener("visibleChange", function MultiSelect_Template_p_overlay_visibleChange_12_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.overlayVisible, $event) || (ctx.overlayVisible = $event); return i0.ɵɵresetView($event); });
2815
- i0.ɵɵlistener("onAnimationStart", function MultiSelect_Template_p_overlay_onAnimationStart_12_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onOverlayAnimationStart($event)); })("onHide", function MultiSelect_Template_p_overlay_onHide_12_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.hide()); });
2816
- i0.ɵɵtemplate(14, MultiSelect_ng_template_14_Template, 13, 18, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
2817
- i0.ɵɵelementEnd();
2818
- } if (rf & 2) {
2819
- let tmp_15_0;
2820
- const elseBlock_r24 = i0.ɵɵreference(11);
2821
- i0.ɵɵattribute("data-p-hidden-accessible", true);
2822
- i0.ɵɵadvance();
2823
- i0.ɵɵproperty("pTooltip", ctx.tooltip)("tooltipPosition", ctx.tooltipPosition)("positionStyle", ctx.tooltipPositionStyle)("tooltipStyleClass", ctx.tooltipStyleClass)("pAutoFocus", ctx.autofocus);
2824
- i0.ɵɵattribute("aria-disabled", ctx.disabled)("id", ctx.inputId)("aria-label", ctx.ariaLabel)("aria-labelledby", ctx.ariaLabelledBy)("aria-haspopup", "listbox")("aria-expanded", (tmp_15_0 = ctx.overlayVisible) !== null && tmp_15_0 !== undefined ? tmp_15_0 : false)("aria-controls", ctx.overlayVisible ? ctx.id + "_list" : null)("tabindex", !ctx.disabled ? ctx.tabindex : -1)("aria-activedescendant", ctx.focused ? ctx.focusedOptionId : undefined)("value", ctx.label() || "empty");
2825
- i0.ɵɵadvance(2);
2826
- i0.ɵɵproperty("pTooltip", ctx.tooltip)("tooltipDisabled", ctx._disableTooltip)("tooltipPosition", ctx.tooltipPosition)("positionStyle", ctx.tooltipPositionStyle)("tooltipStyleClass", ctx.tooltipStyleClass);
2827
- i0.ɵɵadvance();
2828
- i0.ɵɵproperty("ngClass", ctx.labelClass);
2829
- i0.ɵɵadvance();
2830
- i0.ɵɵproperty("ngIf", !ctx.selectedItemsTemplate && !ctx._selectedItemsTemplate);
2831
- i0.ɵɵadvance();
2832
- i0.ɵɵproperty("ngIf", ctx.selectedItemsTemplate || ctx._selectedItemsTemplate);
2833
- i0.ɵɵadvance();
2834
- i0.ɵɵproperty("ngIf", ctx.isVisibleClearIcon);
2835
- i0.ɵɵadvance(2);
2836
- i0.ɵɵproperty("ngIf", ctx.loading)("ngIfElse", elseBlock_r24);
2837
- i0.ɵɵadvance(3);
2838
- i0.ɵɵtwoWayProperty("visible", ctx.overlayVisible);
2839
- i0.ɵɵproperty("options", ctx.overlayOptions)("target", "@parent")("appendTo", ctx.appendTo)("autoZIndex", ctx.autoZIndex)("baseZIndex", ctx.baseZIndex)("showTransitionOptions", ctx.showTransitionOptions)("hideTransitionOptions", ctx.hideTransitionOptions);
2840
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, MultiSelectItem, Overlay, SharedModule, Tooltip, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule, i2.NgControlStatus, i2.NgModel], encapsulation: 2, changeDetection: 0 });
2105
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelect, deps: [{ token: i0.NgZone }, { token: i3.FilterService }, { token: i3.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
2106
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: MultiSelect, isStandalone: true, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: { id: "id", ariaLabel: "ariaLabel", style: "style", styleClass: "styleClass", panelStyle: "panelStyle", panelStyleClass: "panelStyleClass", inputId: "inputId", disabled: ["disabled", "disabled", booleanAttribute], fluid: ["fluid", "fluid", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], group: ["group", "group", booleanAttribute], filter: ["filter", "filter", booleanAttribute], filterPlaceHolder: "filterPlaceHolder", filterLocale: "filterLocale", overlayVisible: ["overlayVisible", "overlayVisible", booleanAttribute], tabindex: ["tabindex", "tabindex", numberAttribute], variant: "variant", appendTo: "appendTo", dataKey: "dataKey", name: "name", ariaLabelledBy: "ariaLabelledBy", displaySelectedLabel: "displaySelectedLabel", maxSelectedLabels: "maxSelectedLabels", selectionLimit: ["selectionLimit", "selectionLimit", numberAttribute], selectedItemsLabel: "selectedItemsLabel", showToggleAll: ["showToggleAll", "showToggleAll", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", resetFilterOnHide: ["resetFilterOnHide", "resetFilterOnHide", booleanAttribute], dropdownIcon: "dropdownIcon", chipIcon: "chipIcon", optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", showHeader: ["showHeader", "showHeader", booleanAttribute], filterBy: "filterBy", scrollHeight: "scrollHeight", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], loading: ["loading", "loading", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], loadingIcon: "loadingIcon", virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", filterMatchMode: "filterMatchMode", tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", autofocusFilter: ["autofocusFilter", "autofocusFilter", booleanAttribute], display: "display", autocomplete: "autocomplete", size: "size", showClear: ["showClear", "showClear", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", defaultLabel: "defaultLabel", placeholder: "placeholder", options: "options", filterValue: "filterValue", itemSize: "itemSize", selectAll: "selectAll", focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], filterFields: "filterFields", selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute] }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "attr.id": "id", "style": "style", "class.p-variant-filled": "variant === \"filled\" || config.inputVariant() === \"filled\" || config.inputStyle() === \"filled\" ", "class": "this.hostClasses" } }, providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle], queries: [{ propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "filterTemplate", first: true, predicate: ["filter"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"] }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"] }, { propertyName: "selectedItemsTemplate", first: true, predicate: ["selecteditems"] }, { propertyName: "checkIconTemplate", first: true, predicate: ["checkicon"] }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"] }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "removeTokenIconTemplate", first: true, predicate: ["removetokenicon"] }, { propertyName: "chipIconTemplate", first: true, predicate: ["chipicon"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"] }, { propertyName: "itemCheckboxIconTemplate", first: true, predicate: ["itemcheckboxicon"] }, { propertyName: "headerCheckboxIconTemplate", first: true, predicate: ["headercheckboxicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "filterInputChild", first: true, predicate: ["filterInput"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerCheckbox"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
2107
+ <div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
2108
+ <input
2109
+ #focusInput
2110
+ [pTooltip]="tooltip"
2111
+ [tooltipPosition]="tooltipPosition"
2112
+ [positionStyle]="tooltipPositionStyle"
2113
+ [tooltipStyleClass]="tooltipStyleClass"
2114
+ [attr.aria-disabled]="disabled"
2115
+ [attr.id]="inputId"
2116
+ role="combobox"
2117
+ [attr.aria-label]="ariaLabel"
2118
+ [attr.aria-labelledby]="ariaLabelledBy"
2119
+ [attr.aria-haspopup]="'listbox'"
2120
+ [attr.aria-expanded]="overlayVisible ?? false"
2121
+ [attr.aria-controls]="overlayVisible ? id + '_list' : null"
2122
+ [attr.tabindex]="!disabled ? tabindex : -1"
2123
+ [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
2124
+ (focus)="onInputFocus($event)"
2125
+ (blur)="onInputBlur($event)"
2126
+ (keydown)="onKeyDown($event)"
2127
+ [pAutoFocus]="autofocus"
2128
+ [attr.value]="label() || 'empty'"
2129
+ />
2130
+ </div>
2131
+ <div
2132
+ class="p-multiselect-label-container"
2133
+ [pTooltip]="tooltip"
2134
+ (mouseleave)="labelContainerMouseLeave()"
2135
+ [tooltipDisabled]="_disableTooltip"
2136
+ [tooltipPosition]="tooltipPosition"
2137
+ [positionStyle]="tooltipPositionStyle"
2138
+ [tooltipStyleClass]="tooltipStyleClass"
2139
+ >
2140
+ <div [ngClass]="labelClass">
2141
+ <ng-container *ngIf="!selectedItemsTemplate && !_selectedItemsTemplate">
2142
+ <ng-container *ngIf="display === 'comma'">{{ label() || 'empty' }}</ng-container>
2143
+ <ng-container *ngIf="display === 'chip'">
2144
+ <div #token *ngFor="let item of chipSelectedItems(); let i = index" class="p-multiselect-chip-item">
2145
+ <p-chip styleClass="p-multiselect-chip" [label]="getLabelByValue(item)" [removable]="true" (onRemove)="removeOption(item, $event)" [removeIcon]="chipIcon">
2146
+ <ng-container *ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate">
2147
+ <ng-template #removeicon>
2148
+ <ng-container *ngIf="!disabled">
2149
+ <span
2150
+ class="p-multiselect-chip-icon"
2151
+ *ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate"
2152
+ (click)="removeOption(item, $event)"
2153
+ [attr.data-pc-section]="'clearicon'"
2154
+ [attr.aria-hidden]="true"
2155
+ >
2156
+ <ng-container *ngTemplateOutlet="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate; context: { class: 'p-multiselect-chip-icon' }"></ng-container>
2157
+ </span>
2158
+ </ng-container>
2159
+ </ng-template>
2160
+ </ng-container>
2161
+ </p-chip>
2162
+ </div>
2163
+ <ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
2164
+ </ng-container>
2165
+ </ng-container>
2166
+ <ng-container *ngIf="selectedItemsTemplate || _selectedItemsTemplate">
2167
+ <ng-container *ngTemplateOutlet="selectedItemsTemplate || _selectedItemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"></ng-container>
2168
+ <ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
2169
+ </ng-container>
2170
+ </div>
2171
+ </div>
2172
+ <ng-container *ngIf="isVisibleClearIcon">
2173
+ <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
2174
+ <span *ngIf="clearIconTemplate || _clearIconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
2175
+ <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
2176
+ </span>
2177
+ </ng-container>
2178
+ <div class="p-multiselect-dropdown">
2179
+ <ng-container *ngIf="loading; else elseBlock">
2180
+ <ng-container *ngIf="loadingIconTemplate || _loadingIconTemplate">
2181
+ <ng-container *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-container>
2182
+ </ng-container>
2183
+ <ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
2184
+ <span *ngIf="loadingIcon" [ngClass]="'p-multiselect-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
2185
+ <span *ngIf="!loadingIcon" [class]="'p-multiselect-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
2186
+ </ng-container>
2187
+ </ng-container>
2188
+ <ng-template #elseBlock>
2189
+ <ng-container *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate">
2190
+ <span *ngIf="dropdownIcon" class="p-multiselect-dropdown-icon" [ngClass]="dropdownIcon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true"></span>
2191
+ <ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="'p-multiselect-dropdown-icon'" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
2192
+ </ng-container>
2193
+ <span *ngIf="dropdownIconTemplate || _dropdownIconTemplate" class="p-multiselect-dropdown-icon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true">
2194
+ <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate"></ng-template>
2195
+ </span>
2196
+ </ng-template>
2197
+ </div>
2198
+ <p-overlay
2199
+ #overlay
2200
+ [(visible)]="overlayVisible"
2201
+ [options]="overlayOptions"
2202
+ [target]="'@parent'"
2203
+ [appendTo]="appendTo"
2204
+ [autoZIndex]="autoZIndex"
2205
+ [baseZIndex]="baseZIndex"
2206
+ [showTransitionOptions]="showTransitionOptions"
2207
+ [hideTransitionOptions]="hideTransitionOptions"
2208
+ (onAnimationStart)="onOverlayAnimationStart($event)"
2209
+ (onHide)="hide()"
2210
+ >
2211
+ <ng-template #content>
2212
+ <div [attr.id]="id + '_list'" [ngClass]="'p-multiselect-overlay p-component'" [ngStyle]="panelStyle" [class]="panelStyleClass">
2213
+ <span
2214
+ #firstHiddenFocusableEl
2215
+ role="presentation"
2216
+ class="p-hidden-accessible p-hidden-focusable"
2217
+ [attr.tabindex]="0"
2218
+ (focus)="onFirstHiddenFocus($event)"
2219
+ [attr.data-p-hidden-accessible]="true"
2220
+ [attr.data-p-hidden-focusable]="true"
2221
+ >
2222
+ </span>
2223
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
2224
+ <div class="p-multiselect-header" *ngIf="showHeader">
2225
+ <ng-content select="p-header"></ng-content>
2226
+ <ng-container *ngIf="filterTemplate || _filterTemplate; else builtInFilterElement">
2227
+ <ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
2228
+ </ng-container>
2229
+ <ng-template #builtInFilterElement>
2230
+ <p-checkbox [ngModel]="allSelected()" [ariaLabel]="toggleAllAriaLabel" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
2231
+ <ng-template #checkboxicon let-klass="class">
2232
+ <CheckIcon *ngIf="!headerCheckboxIconTemplate && !_headerCheckboxIconTemplate && allSelected()" [styleClass]="klass" [attr.data-pc-section]="'icon'" />
2233
+ <ng-template
2234
+ *ngTemplateOutlet="
2235
+ headerCheckboxIconTemplate || _headerCheckboxIconTemplate;
2236
+ context: {
2237
+ checked: allSelected(),
2238
+ partialSelected: partialSelected(),
2239
+ class: klass
2240
+ }
2241
+ "
2242
+ ></ng-template>
2243
+ </ng-template>
2244
+ </p-checkbox>
2245
+
2246
+ <div class="p-multiselect-filter-container" *ngIf="filter">
2247
+ <p-iconfield>
2248
+ <input
2249
+ #filterInput
2250
+ pInputText
2251
+ [variant]="variant"
2252
+ type="text"
2253
+ [attr.autocomplete]="autocomplete"
2254
+ role="searchbox"
2255
+ [attr.aria-owns]="id + '_list'"
2256
+ [attr.aria-activedescendant]="focusedOptionId"
2257
+ [value]="_filterValue() || ''"
2258
+ (input)="onFilterInputChange($event)"
2259
+ (keydown)="onFilterKeyDown($event)"
2260
+ (click)="onInputClick($event)"
2261
+ (blur)="onFilterBlur($event)"
2262
+ class="p-multiselect-filter"
2263
+ [disabled]="disabled"
2264
+ [attr.placeholder]="filterPlaceHolder"
2265
+ [attr.aria-label]="ariaFilterLabel"
2266
+ />
2267
+ <p-inputicon>
2268
+ <SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filterIconTemplate && !_filterIconTemplate" />
2269
+ <span *ngIf="filterIconTemplate || _filterIconTemplate" class="p-multiselect-filter-icon">
2270
+ <ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
2271
+ </span>
2272
+ </p-inputicon>
2273
+ </p-iconfield>
2274
+ </div>
2275
+ </ng-template>
2276
+ </div>
2277
+ <div class="p-multiselect-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'">
2278
+ <p-scroller
2279
+ *ngIf="virtualScroll"
2280
+ #scroller
2281
+ [items]="visibleOptions()"
2282
+ [style]="{ height: scrollHeight }"
2283
+ [itemSize]="virtualScrollItemSize || _itemSize"
2284
+ [autoSize]="true"
2285
+ [tabindex]="-1"
2286
+ [lazy]="lazy"
2287
+ (onLazyLoad)="onLazyLoad.emit($event)"
2288
+ [options]="virtualScrollOptions"
2289
+ >
2290
+ <ng-template #content let-items let-scrollerOptions="options">
2291
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
2292
+ </ng-template>
2293
+ <ng-container *ngIf="loaderTemplate || _loaderTemplate">
2294
+ <ng-template #loader let-scrollerOptions="options">
2295
+ <ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
2296
+ </ng-template>
2297
+ </ng-container>
2298
+ </p-scroller>
2299
+ <ng-container *ngIf="!virtualScroll">
2300
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
2301
+ </ng-container>
2302
+
2303
+ <ng-template #buildInItems let-items let-scrollerOptions="options">
2304
+ <ul #items class="p-multiselect-list" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox" aria-multiselectable="true" [attr.aria-label]="listLabel">
2305
+ <ng-template ngFor let-option [ngForOf]="items" let-i="index">
2306
+ <ng-container *ngIf="isOptionGroup(option)">
2307
+ <li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-multiselect-option-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2308
+ <span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
2309
+ <ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
2310
+ </li>
2311
+ </ng-container>
2312
+ <ng-container *ngIf="!isOptionGroup(option)">
2313
+ <p-multiselect-item
2314
+ [id]="id + '_' + getOptionIndex(i, scrollerOptions)"
2315
+ [option]="option"
2316
+ [selected]="isSelected(option)"
2317
+ [label]="getOptionLabel(option)"
2318
+ [disabled]="isOptionDisabled(option)"
2319
+ [template]="itemTemplate || _itemTemplate"
2320
+ [checkIconTemplate]="checkIconTemplate || _checkIconTemplate"
2321
+ [itemCheckboxIconTemplate]="itemCheckboxIconTemplate || _itemCheckboxIconTemplate"
2322
+ [itemSize]="scrollerOptions.itemSize"
2323
+ [focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
2324
+ [ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
2325
+ [ariaSetSize]="ariaSetSize"
2326
+ [variant]="variant"
2327
+ (onClick)="onOptionSelect($event, false, getOptionIndex(i, scrollerOptions))"
2328
+ (onMouseEnter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
2329
+ ></p-multiselect-item>
2330
+ </ng-container>
2331
+ </ng-template>
2332
+
2333
+ <li *ngIf="hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2334
+ @if (!emptyFilterTemplate && !_emptyFilterTemplate && !emptyTemplate && !_emptyTemplate) {
2335
+ {{ emptyFilterMessageLabel }}
2336
+ } @else {
2337
+ <ng-container *ngTemplateOutlet="emptyFilterTemplate || _emptyFilterTemplate || emptyTemplate || _emptyFilterTemplate"></ng-container>
2338
+ }
2339
+ </li>
2340
+ <li *ngIf="!hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2341
+ @if (!emptyTemplate && !_emptyTemplate) {
2342
+ {{ emptyMessageLabel }}
2343
+ } @else {
2344
+ <ng-container *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
2345
+ }
2346
+ </li>
2347
+ </ul>
2348
+ </ng-template>
2349
+ </div>
2350
+ <div *ngIf="footerFacet || footerTemplate || _footerTemplate">
2351
+ <ng-content select="p-footer"></ng-content>
2352
+ <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
2353
+ </div>
2354
+
2355
+ <span
2356
+ #lastHiddenFocusableEl
2357
+ role="presentation"
2358
+ class="p-hidden-accessible p-hidden-focusable"
2359
+ [attr.tabindex]="0"
2360
+ (focus)="onLastHiddenFocus($event)"
2361
+ [attr.data-p-hidden-accessible]="true"
2362
+ [attr.data-p-hidden-focusable]="true"
2363
+ ></span>
2364
+ </div>
2365
+ </ng-template>
2366
+ </p-overlay>
2367
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: MultiSelectItem, selector: "p-multiSelectItem, p-multiselect-item", inputs: ["id", "option", "selected", "label", "disabled", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant", "template", "checkIconTemplate", "itemCheckboxIconTemplate"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "p-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["autofocus", "pAutoFocus"] }, { kind: "component", type: CheckIcon, selector: "CheckIcon" }, { kind: "component", type: SearchIcon, selector: "SearchIcon" }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "style", "styleClass", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["value", "name", "disabled", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "inputStyle", "styleClass", "inputClass", "indeterminate", "size", "formControl", "checkboxIcon", "readonly", "required", "autofocus", "trueValue", "falseValue", "variant"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2841
2368
  }
2842
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelect, [{
2843
- type: Component,
2844
- args: [{
2845
- selector: 'p-multiSelect, p-multiselect, p-multi-select',
2846
- standalone: true,
2847
- imports: [CommonModule, MultiSelectItem, Overlay, SharedModule, Tooltip, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule],
2848
- template: `
2369
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelect, decorators: [{
2370
+ type: Component,
2371
+ args: [{
2372
+ selector: 'p-multiSelect, p-multiselect, p-multi-select',
2373
+ standalone: true,
2374
+ imports: [CommonModule, MultiSelectItem, Overlay, SharedModule, Tooltip, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule],
2375
+ template: `
2849
2376
  <div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
2850
2377
  <input
2851
2378
  #focusInput
@@ -3107,308 +2634,306 @@ class MultiSelect extends BaseComponent {
3107
2634
  </ng-template>
3108
2635
  </p-overlay>
3109
2636
  `,
3110
- providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle],
3111
- changeDetection: ChangeDetectionStrategy.OnPush,
3112
- encapsulation: ViewEncapsulation.None,
3113
- host: {
3114
- '[attr.id]': 'id',
3115
- '[style]': 'style',
3116
- '(click)': 'onContainerClick($event)',
3117
- '[class.p-variant-filled]': 'variant === "filled" || config.inputVariant() === "filled" || config.inputStyle() === "filled" '
3118
- }
3119
- }]
3120
- }], () => [{ type: i0.NgZone }, { type: i3.FilterService }, { type: i3.OverlayService }], { id: [{
3121
- type: Input
3122
- }], ariaLabel: [{
3123
- type: Input
3124
- }], style: [{
3125
- type: Input
3126
- }], styleClass: [{
3127
- type: Input
3128
- }], panelStyle: [{
3129
- type: Input
3130
- }], panelStyleClass: [{
3131
- type: Input
3132
- }], inputId: [{
3133
- type: Input
3134
- }], disabled: [{
3135
- type: Input,
3136
- args: [{ transform: booleanAttribute }]
3137
- }], fluid: [{
3138
- type: Input,
3139
- args: [{ transform: booleanAttribute }]
3140
- }], readonly: [{
3141
- type: Input,
3142
- args: [{ transform: booleanAttribute }]
3143
- }], group: [{
3144
- type: Input,
3145
- args: [{ transform: booleanAttribute }]
3146
- }], filter: [{
3147
- type: Input,
3148
- args: [{ transform: booleanAttribute }]
3149
- }], filterPlaceHolder: [{
3150
- type: Input
3151
- }], filterLocale: [{
3152
- type: Input
3153
- }], overlayVisible: [{
3154
- type: Input,
3155
- args: [{ transform: booleanAttribute }]
3156
- }], tabindex: [{
3157
- type: Input,
3158
- args: [{ transform: numberAttribute }]
3159
- }], variant: [{
3160
- type: Input
3161
- }], appendTo: [{
3162
- type: Input
3163
- }], dataKey: [{
3164
- type: Input
3165
- }], name: [{
3166
- type: Input
3167
- }], ariaLabelledBy: [{
3168
- type: Input
3169
- }], displaySelectedLabel: [{
3170
- type: Input
3171
- }], maxSelectedLabels: [{
3172
- type: Input
3173
- }], selectionLimit: [{
3174
- type: Input,
3175
- args: [{ transform: numberAttribute }]
3176
- }], selectedItemsLabel: [{
3177
- type: Input
3178
- }], showToggleAll: [{
3179
- type: Input,
3180
- args: [{ transform: booleanAttribute }]
3181
- }], emptyFilterMessage: [{
3182
- type: Input
3183
- }], emptyMessage: [{
3184
- type: Input
3185
- }], resetFilterOnHide: [{
3186
- type: Input,
3187
- args: [{ transform: booleanAttribute }]
3188
- }], dropdownIcon: [{
3189
- type: Input
3190
- }], chipIcon: [{
3191
- type: Input
3192
- }], optionLabel: [{
3193
- type: Input
3194
- }], optionValue: [{
3195
- type: Input
3196
- }], optionDisabled: [{
3197
- type: Input
3198
- }], optionGroupLabel: [{
3199
- type: Input
3200
- }], optionGroupChildren: [{
3201
- type: Input
3202
- }], showHeader: [{
3203
- type: Input,
3204
- args: [{ transform: booleanAttribute }]
3205
- }], filterBy: [{
3206
- type: Input
3207
- }], scrollHeight: [{
3208
- type: Input
3209
- }], lazy: [{
3210
- type: Input,
3211
- args: [{ transform: booleanAttribute }]
3212
- }], virtualScroll: [{
3213
- type: Input,
3214
- args: [{ transform: booleanAttribute }]
3215
- }], loading: [{
3216
- type: Input,
3217
- args: [{ transform: booleanAttribute }]
3218
- }], virtualScrollItemSize: [{
3219
- type: Input,
3220
- args: [{ transform: numberAttribute }]
3221
- }], loadingIcon: [{
3222
- type: Input
3223
- }], virtualScrollOptions: [{
3224
- type: Input
3225
- }], overlayOptions: [{
3226
- type: Input
3227
- }], ariaFilterLabel: [{
3228
- type: Input
3229
- }], filterMatchMode: [{
3230
- type: Input
3231
- }], tooltip: [{
3232
- type: Input
3233
- }], tooltipPosition: [{
3234
- type: Input
3235
- }], tooltipPositionStyle: [{
3236
- type: Input
3237
- }], tooltipStyleClass: [{
3238
- type: Input
3239
- }], autofocusFilter: [{
3240
- type: Input,
3241
- args: [{ transform: booleanAttribute }]
3242
- }], display: [{
3243
- type: Input
3244
- }], autocomplete: [{
3245
- type: Input
3246
- }], size: [{
3247
- type: Input
3248
- }], showClear: [{
3249
- type: Input,
3250
- args: [{ transform: booleanAttribute }]
3251
- }], autofocus: [{
3252
- type: Input,
3253
- args: [{ transform: booleanAttribute }]
3254
- }], autoZIndex: [{
3255
- type: Input
3256
- }], baseZIndex: [{
3257
- type: Input
3258
- }], showTransitionOptions: [{
3259
- type: Input
3260
- }], hideTransitionOptions: [{
3261
- type: Input
3262
- }], defaultLabel: [{
3263
- type: Input
3264
- }], placeholder: [{
3265
- type: Input
3266
- }], options: [{
3267
- type: Input
3268
- }], filterValue: [{
3269
- type: Input
3270
- }], itemSize: [{
3271
- type: Input
3272
- }], selectAll: [{
3273
- type: Input
3274
- }], focusOnHover: [{
3275
- type: Input,
3276
- args: [{ transform: booleanAttribute }]
3277
- }], filterFields: [{
3278
- type: Input
3279
- }], selectOnFocus: [{
3280
- type: Input,
3281
- args: [{ transform: booleanAttribute }]
3282
- }], autoOptionFocus: [{
3283
- type: Input,
3284
- args: [{ transform: booleanAttribute }]
3285
- }], onChange: [{
3286
- type: Output
3287
- }], onFilter: [{
3288
- type: Output
3289
- }], onFocus: [{
3290
- type: Output
3291
- }], onBlur: [{
3292
- type: Output
3293
- }], onClick: [{
3294
- type: Output
3295
- }], onClear: [{
3296
- type: Output
3297
- }], onPanelShow: [{
3298
- type: Output
3299
- }], onPanelHide: [{
3300
- type: Output
3301
- }], onLazyLoad: [{
3302
- type: Output
3303
- }], onRemove: [{
3304
- type: Output
3305
- }], onSelectAllChange: [{
3306
- type: Output
3307
- }], overlayViewChild: [{
3308
- type: ViewChild,
3309
- args: ['overlay']
3310
- }], filterInputChild: [{
3311
- type: ViewChild,
3312
- args: ['filterInput']
3313
- }], focusInputViewChild: [{
3314
- type: ViewChild,
3315
- args: ['focusInput']
3316
- }], itemsViewChild: [{
3317
- type: ViewChild,
3318
- args: ['items']
3319
- }], scroller: [{
3320
- type: ViewChild,
3321
- args: ['scroller']
3322
- }], lastHiddenFocusableElementOnOverlay: [{
3323
- type: ViewChild,
3324
- args: ['lastHiddenFocusableEl']
3325
- }], firstHiddenFocusableElementOnOverlay: [{
3326
- type: ViewChild,
3327
- args: ['firstHiddenFocusableEl']
3328
- }], headerCheckboxViewChild: [{
3329
- type: ViewChild,
3330
- args: ['headerCheckbox']
3331
- }], footerFacet: [{
3332
- type: ContentChild,
3333
- args: [Footer]
3334
- }], headerFacet: [{
3335
- type: ContentChild,
3336
- args: [Header]
3337
- }], itemTemplate: [{
3338
- type: ContentChild,
3339
- args: ['item', { descendants: false }]
3340
- }], groupTemplate: [{
3341
- type: ContentChild,
3342
- args: ['group', { descendants: false }]
3343
- }], loaderTemplate: [{
3344
- type: ContentChild,
3345
- args: ['loader', { descendants: false }]
3346
- }], headerTemplate: [{
3347
- type: ContentChild,
3348
- args: ['header', { descendants: false }]
3349
- }], filterTemplate: [{
3350
- type: ContentChild,
3351
- args: ['filter', { descendants: false }]
3352
- }], footerTemplate: [{
3353
- type: ContentChild,
3354
- args: ['footer', { descendants: false }]
3355
- }], emptyFilterTemplate: [{
3356
- type: ContentChild,
3357
- args: ['emptyfilter', { descendants: false }]
3358
- }], emptyTemplate: [{
3359
- type: ContentChild,
3360
- args: ['empty', { descendants: false }]
3361
- }], selectedItemsTemplate: [{
3362
- type: ContentChild,
3363
- args: ['selecteditems', { descendants: false }]
3364
- }], checkIconTemplate: [{
3365
- type: ContentChild,
3366
- args: ['checkicon', { descendants: false }]
3367
- }], loadingIconTemplate: [{
3368
- type: ContentChild,
3369
- args: ['loadingicon', { descendants: false }]
3370
- }], filterIconTemplate: [{
3371
- type: ContentChild,
3372
- args: ['filtericon', { descendants: false }]
3373
- }], removeTokenIconTemplate: [{
3374
- type: ContentChild,
3375
- args: ['removetokenicon', { descendants: false }]
3376
- }], chipIconTemplate: [{
3377
- type: ContentChild,
3378
- args: ['chipicon', { descendants: false }]
3379
- }], clearIconTemplate: [{
3380
- type: ContentChild,
3381
- args: ['clearicon', { descendants: false }]
3382
- }], dropdownIconTemplate: [{
3383
- type: ContentChild,
3384
- args: ['dropdownicon', { descendants: false }]
3385
- }], itemCheckboxIconTemplate: [{
3386
- type: ContentChild,
3387
- args: ['itemcheckboxicon', { descendants: false }]
3388
- }], headerCheckboxIconTemplate: [{
3389
- type: ContentChild,
3390
- args: ['headercheckboxicon', { descendants: false }]
3391
- }], templates: [{
3392
- type: ContentChildren,
3393
- args: [PrimeTemplate]
3394
- }], hostClasses: [{
3395
- type: HostBinding,
3396
- args: ['class']
3397
- }] }); })();
3398
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiSelect, { className: "MultiSelect", filePath: "multiselect.ts", lineNumber: 445 }); })();
2637
+ providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle],
2638
+ changeDetection: ChangeDetectionStrategy.OnPush,
2639
+ encapsulation: ViewEncapsulation.None,
2640
+ host: {
2641
+ '[attr.id]': 'id',
2642
+ '[style]': 'style',
2643
+ '(click)': 'onContainerClick($event)',
2644
+ '[class.p-variant-filled]': 'variant === "filled" || config.inputVariant() === "filled" || config.inputStyle() === "filled" '
2645
+ }
2646
+ }]
2647
+ }], ctorParameters: () => [{ type: i0.NgZone }, { type: i3.FilterService }, { type: i3.OverlayService }], propDecorators: { id: [{
2648
+ type: Input
2649
+ }], ariaLabel: [{
2650
+ type: Input
2651
+ }], style: [{
2652
+ type: Input
2653
+ }], styleClass: [{
2654
+ type: Input
2655
+ }], panelStyle: [{
2656
+ type: Input
2657
+ }], panelStyleClass: [{
2658
+ type: Input
2659
+ }], inputId: [{
2660
+ type: Input
2661
+ }], disabled: [{
2662
+ type: Input,
2663
+ args: [{ transform: booleanAttribute }]
2664
+ }], fluid: [{
2665
+ type: Input,
2666
+ args: [{ transform: booleanAttribute }]
2667
+ }], readonly: [{
2668
+ type: Input,
2669
+ args: [{ transform: booleanAttribute }]
2670
+ }], group: [{
2671
+ type: Input,
2672
+ args: [{ transform: booleanAttribute }]
2673
+ }], filter: [{
2674
+ type: Input,
2675
+ args: [{ transform: booleanAttribute }]
2676
+ }], filterPlaceHolder: [{
2677
+ type: Input
2678
+ }], filterLocale: [{
2679
+ type: Input
2680
+ }], overlayVisible: [{
2681
+ type: Input,
2682
+ args: [{ transform: booleanAttribute }]
2683
+ }], tabindex: [{
2684
+ type: Input,
2685
+ args: [{ transform: numberAttribute }]
2686
+ }], variant: [{
2687
+ type: Input
2688
+ }], appendTo: [{
2689
+ type: Input
2690
+ }], dataKey: [{
2691
+ type: Input
2692
+ }], name: [{
2693
+ type: Input
2694
+ }], ariaLabelledBy: [{
2695
+ type: Input
2696
+ }], displaySelectedLabel: [{
2697
+ type: Input
2698
+ }], maxSelectedLabels: [{
2699
+ type: Input
2700
+ }], selectionLimit: [{
2701
+ type: Input,
2702
+ args: [{ transform: numberAttribute }]
2703
+ }], selectedItemsLabel: [{
2704
+ type: Input
2705
+ }], showToggleAll: [{
2706
+ type: Input,
2707
+ args: [{ transform: booleanAttribute }]
2708
+ }], emptyFilterMessage: [{
2709
+ type: Input
2710
+ }], emptyMessage: [{
2711
+ type: Input
2712
+ }], resetFilterOnHide: [{
2713
+ type: Input,
2714
+ args: [{ transform: booleanAttribute }]
2715
+ }], dropdownIcon: [{
2716
+ type: Input
2717
+ }], chipIcon: [{
2718
+ type: Input
2719
+ }], optionLabel: [{
2720
+ type: Input
2721
+ }], optionValue: [{
2722
+ type: Input
2723
+ }], optionDisabled: [{
2724
+ type: Input
2725
+ }], optionGroupLabel: [{
2726
+ type: Input
2727
+ }], optionGroupChildren: [{
2728
+ type: Input
2729
+ }], showHeader: [{
2730
+ type: Input,
2731
+ args: [{ transform: booleanAttribute }]
2732
+ }], filterBy: [{
2733
+ type: Input
2734
+ }], scrollHeight: [{
2735
+ type: Input
2736
+ }], lazy: [{
2737
+ type: Input,
2738
+ args: [{ transform: booleanAttribute }]
2739
+ }], virtualScroll: [{
2740
+ type: Input,
2741
+ args: [{ transform: booleanAttribute }]
2742
+ }], loading: [{
2743
+ type: Input,
2744
+ args: [{ transform: booleanAttribute }]
2745
+ }], virtualScrollItemSize: [{
2746
+ type: Input,
2747
+ args: [{ transform: numberAttribute }]
2748
+ }], loadingIcon: [{
2749
+ type: Input
2750
+ }], virtualScrollOptions: [{
2751
+ type: Input
2752
+ }], overlayOptions: [{
2753
+ type: Input
2754
+ }], ariaFilterLabel: [{
2755
+ type: Input
2756
+ }], filterMatchMode: [{
2757
+ type: Input
2758
+ }], tooltip: [{
2759
+ type: Input
2760
+ }], tooltipPosition: [{
2761
+ type: Input
2762
+ }], tooltipPositionStyle: [{
2763
+ type: Input
2764
+ }], tooltipStyleClass: [{
2765
+ type: Input
2766
+ }], autofocusFilter: [{
2767
+ type: Input,
2768
+ args: [{ transform: booleanAttribute }]
2769
+ }], display: [{
2770
+ type: Input
2771
+ }], autocomplete: [{
2772
+ type: Input
2773
+ }], size: [{
2774
+ type: Input
2775
+ }], showClear: [{
2776
+ type: Input,
2777
+ args: [{ transform: booleanAttribute }]
2778
+ }], autofocus: [{
2779
+ type: Input,
2780
+ args: [{ transform: booleanAttribute }]
2781
+ }], autoZIndex: [{
2782
+ type: Input
2783
+ }], baseZIndex: [{
2784
+ type: Input
2785
+ }], showTransitionOptions: [{
2786
+ type: Input
2787
+ }], hideTransitionOptions: [{
2788
+ type: Input
2789
+ }], defaultLabel: [{
2790
+ type: Input
2791
+ }], placeholder: [{
2792
+ type: Input
2793
+ }], options: [{
2794
+ type: Input
2795
+ }], filterValue: [{
2796
+ type: Input
2797
+ }], itemSize: [{
2798
+ type: Input
2799
+ }], selectAll: [{
2800
+ type: Input
2801
+ }], focusOnHover: [{
2802
+ type: Input,
2803
+ args: [{ transform: booleanAttribute }]
2804
+ }], filterFields: [{
2805
+ type: Input
2806
+ }], selectOnFocus: [{
2807
+ type: Input,
2808
+ args: [{ transform: booleanAttribute }]
2809
+ }], autoOptionFocus: [{
2810
+ type: Input,
2811
+ args: [{ transform: booleanAttribute }]
2812
+ }], onChange: [{
2813
+ type: Output
2814
+ }], onFilter: [{
2815
+ type: Output
2816
+ }], onFocus: [{
2817
+ type: Output
2818
+ }], onBlur: [{
2819
+ type: Output
2820
+ }], onClick: [{
2821
+ type: Output
2822
+ }], onClear: [{
2823
+ type: Output
2824
+ }], onPanelShow: [{
2825
+ type: Output
2826
+ }], onPanelHide: [{
2827
+ type: Output
2828
+ }], onLazyLoad: [{
2829
+ type: Output
2830
+ }], onRemove: [{
2831
+ type: Output
2832
+ }], onSelectAllChange: [{
2833
+ type: Output
2834
+ }], overlayViewChild: [{
2835
+ type: ViewChild,
2836
+ args: ['overlay']
2837
+ }], filterInputChild: [{
2838
+ type: ViewChild,
2839
+ args: ['filterInput']
2840
+ }], focusInputViewChild: [{
2841
+ type: ViewChild,
2842
+ args: ['focusInput']
2843
+ }], itemsViewChild: [{
2844
+ type: ViewChild,
2845
+ args: ['items']
2846
+ }], scroller: [{
2847
+ type: ViewChild,
2848
+ args: ['scroller']
2849
+ }], lastHiddenFocusableElementOnOverlay: [{
2850
+ type: ViewChild,
2851
+ args: ['lastHiddenFocusableEl']
2852
+ }], firstHiddenFocusableElementOnOverlay: [{
2853
+ type: ViewChild,
2854
+ args: ['firstHiddenFocusableEl']
2855
+ }], headerCheckboxViewChild: [{
2856
+ type: ViewChild,
2857
+ args: ['headerCheckbox']
2858
+ }], footerFacet: [{
2859
+ type: ContentChild,
2860
+ args: [Footer]
2861
+ }], headerFacet: [{
2862
+ type: ContentChild,
2863
+ args: [Header]
2864
+ }], itemTemplate: [{
2865
+ type: ContentChild,
2866
+ args: ['item', { descendants: false }]
2867
+ }], groupTemplate: [{
2868
+ type: ContentChild,
2869
+ args: ['group', { descendants: false }]
2870
+ }], loaderTemplate: [{
2871
+ type: ContentChild,
2872
+ args: ['loader', { descendants: false }]
2873
+ }], headerTemplate: [{
2874
+ type: ContentChild,
2875
+ args: ['header', { descendants: false }]
2876
+ }], filterTemplate: [{
2877
+ type: ContentChild,
2878
+ args: ['filter', { descendants: false }]
2879
+ }], footerTemplate: [{
2880
+ type: ContentChild,
2881
+ args: ['footer', { descendants: false }]
2882
+ }], emptyFilterTemplate: [{
2883
+ type: ContentChild,
2884
+ args: ['emptyfilter', { descendants: false }]
2885
+ }], emptyTemplate: [{
2886
+ type: ContentChild,
2887
+ args: ['empty', { descendants: false }]
2888
+ }], selectedItemsTemplate: [{
2889
+ type: ContentChild,
2890
+ args: ['selecteditems', { descendants: false }]
2891
+ }], checkIconTemplate: [{
2892
+ type: ContentChild,
2893
+ args: ['checkicon', { descendants: false }]
2894
+ }], loadingIconTemplate: [{
2895
+ type: ContentChild,
2896
+ args: ['loadingicon', { descendants: false }]
2897
+ }], filterIconTemplate: [{
2898
+ type: ContentChild,
2899
+ args: ['filtericon', { descendants: false }]
2900
+ }], removeTokenIconTemplate: [{
2901
+ type: ContentChild,
2902
+ args: ['removetokenicon', { descendants: false }]
2903
+ }], chipIconTemplate: [{
2904
+ type: ContentChild,
2905
+ args: ['chipicon', { descendants: false }]
2906
+ }], clearIconTemplate: [{
2907
+ type: ContentChild,
2908
+ args: ['clearicon', { descendants: false }]
2909
+ }], dropdownIconTemplate: [{
2910
+ type: ContentChild,
2911
+ args: ['dropdownicon', { descendants: false }]
2912
+ }], itemCheckboxIconTemplate: [{
2913
+ type: ContentChild,
2914
+ args: ['itemcheckboxicon', { descendants: false }]
2915
+ }], headerCheckboxIconTemplate: [{
2916
+ type: ContentChild,
2917
+ args: ['headercheckboxicon', { descendants: false }]
2918
+ }], templates: [{
2919
+ type: ContentChildren,
2920
+ args: [PrimeTemplate]
2921
+ }], hostClasses: [{
2922
+ type: HostBinding,
2923
+ args: ['class']
2924
+ }] } });
3399
2925
  class MultiSelectModule {
3400
- static ɵfac = function MultiSelectModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiSelectModule)(); };
3401
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MultiSelectModule });
3402
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MultiSelect, SharedModule, SharedModule] });
2926
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2927
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule], exports: [MultiSelect, SharedModule] });
2928
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule, SharedModule] });
3403
2929
  }
3404
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelectModule, [{
3405
- type: NgModule,
3406
- args: [{
3407
- imports: [MultiSelect, SharedModule],
3408
- exports: [MultiSelect, SharedModule]
3409
- }]
3410
- }], null, null); })();
3411
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MultiSelectModule, { imports: [MultiSelect, SharedModule], exports: [MultiSelect, SharedModule] }); })();
2930
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, decorators: [{
2931
+ type: NgModule,
2932
+ args: [{
2933
+ imports: [MultiSelect, SharedModule],
2934
+ exports: [MultiSelect, SharedModule]
2935
+ }]
2936
+ }] });
3412
2937
 
3413
2938
  /**
3414
2939
  * Generated bundle index. Do not edit.