primeng 19.0.5 → 19.0.7

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 (364) hide show
  1. package/badge/badge.d.ts +2 -2
  2. package/base/style/basestyle.d.ts +4 -6
  3. package/config/primeng.d.ts +3 -0
  4. package/dataview/dataview.interface.d.ts +9 -19
  5. package/datepicker/datepicker.d.ts +1 -0
  6. package/datepicker/style/datepickerstyle.d.ts +1 -0
  7. package/dragdrop/dragdrop.d.ts +3 -2
  8. package/dynamicdialog/dynamicdialog-config.d.ts +1 -1
  9. package/dynamicdialog/dynamicdialog.d.ts +2 -1
  10. package/fesm2022/primeng-accordion.mjs +347 -560
  11. package/fesm2022/primeng-accordion.mjs.map +1 -1
  12. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  13. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  14. package/fesm2022/primeng-api.mjs +79 -89
  15. package/fesm2022/primeng-api.mjs.map +1 -1
  16. package/fesm2022/primeng-autocomplete.mjs +507 -788
  17. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  18. package/fesm2022/primeng-autofocus.mjs +26 -27
  19. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  20. package/fesm2022/primeng-avatar.mjs +72 -120
  21. package/fesm2022/primeng-avatar.mjs.map +1 -1
  22. package/fesm2022/primeng-avatargroup.mjs +44 -54
  23. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  24. package/fesm2022/primeng-badge.mjs +62 -71
  25. package/fesm2022/primeng-badge.mjs.map +1 -1
  26. package/fesm2022/primeng-base.mjs +14 -8
  27. package/fesm2022/primeng-base.mjs.map +1 -1
  28. package/fesm2022/primeng-basecomponent.mjs +17 -17
  29. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  30. package/fesm2022/primeng-blockui.mjs +66 -87
  31. package/fesm2022/primeng-blockui.mjs.map +1 -1
  32. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  33. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  34. package/fesm2022/primeng-button.mjs +223 -328
  35. package/fesm2022/primeng-button.mjs.map +1 -1
  36. package/fesm2022/primeng-buttongroup.mjs +36 -40
  37. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  38. package/fesm2022/primeng-calendar.mjs +727 -1127
  39. package/fesm2022/primeng-calendar.mjs.map +1 -1
  40. package/fesm2022/primeng-card.mjs +89 -193
  41. package/fesm2022/primeng-card.mjs.map +1 -1
  42. package/fesm2022/primeng-carousel.mjs +227 -410
  43. package/fesm2022/primeng-carousel.mjs.map +1 -1
  44. package/fesm2022/primeng-cascadeselect.mjs +393 -577
  45. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  46. package/fesm2022/primeng-chart.mjs +57 -63
  47. package/fesm2022/primeng-chart.mjs.map +1 -1
  48. package/fesm2022/primeng-checkbox.mjs +133 -185
  49. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  50. package/fesm2022/primeng-chip.mjs +92 -188
  51. package/fesm2022/primeng-chip.mjs.map +1 -1
  52. package/fesm2022/primeng-colorpicker.mjs +142 -167
  53. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  54. package/fesm2022/primeng-config.mjs +18 -16
  55. package/fesm2022/primeng-config.mjs.map +1 -1
  56. package/fesm2022/primeng-confirmdialog.mjs +220 -347
  57. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  58. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  59. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  60. package/fesm2022/primeng-contextmenu.mjs +336 -450
  61. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  62. package/fesm2022/primeng-dataview.mjs +249 -352
  63. package/fesm2022/primeng-dataview.mjs.map +1 -1
  64. package/fesm2022/primeng-datepicker.mjs +751 -1144
  65. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  66. package/fesm2022/primeng-defer.mjs +25 -31
  67. package/fesm2022/primeng-defer.mjs.map +1 -1
  68. package/fesm2022/primeng-dialog.mjs +277 -478
  69. package/fesm2022/primeng-dialog.mjs.map +1 -1
  70. package/fesm2022/primeng-divider.mjs +68 -77
  71. package/fesm2022/primeng-divider.mjs.map +1 -1
  72. package/fesm2022/primeng-dock.mjs +138 -167
  73. package/fesm2022/primeng-dock.mjs.map +1 -1
  74. package/fesm2022/primeng-dragdrop.mjs +85 -79
  75. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  76. package/fesm2022/primeng-drawer.mjs +172 -269
  77. package/fesm2022/primeng-drawer.mjs.map +1 -1
  78. package/fesm2022/primeng-dropdown.mjs +531 -869
  79. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  80. package/fesm2022/primeng-dynamicdialog.mjs +163 -304
  81. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  82. package/fesm2022/primeng-editor.mjs +118 -156
  83. package/fesm2022/primeng-editor.mjs.map +1 -1
  84. package/fesm2022/primeng-fieldset.mjs +153 -247
  85. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  86. package/fesm2022/primeng-fileupload.mjs +370 -690
  87. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  88. package/fesm2022/primeng-floatlabel.mjs +38 -46
  89. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  90. package/fesm2022/primeng-fluid.mjs +33 -41
  91. package/fesm2022/primeng-fluid.mjs.map +1 -1
  92. package/fesm2022/primeng-focustrap.mjs +23 -24
  93. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  94. package/fesm2022/primeng-galleria.mjs +529 -761
  95. package/fesm2022/primeng-galleria.mjs.map +1 -1
  96. package/fesm2022/primeng-iconfield.mjs +42 -51
  97. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  98. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  99. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  100. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  101. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  102. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  103. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  104. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  105. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  106. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  107. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  108. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  109. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  110. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  111. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  112. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  113. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  114. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  115. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  116. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  117. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  118. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  119. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  120. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  121. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  122. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  123. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  124. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  125. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  126. package/fesm2022/primeng-icons-ban.mjs +24 -26
  127. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  128. package/fesm2022/primeng-icons-bars.mjs +19 -19
  129. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  130. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  131. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  132. package/fesm2022/primeng-icons-blank.mjs +14 -16
  133. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  134. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  135. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  136. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  137. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  138. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  139. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  140. package/fesm2022/primeng-icons-check.mjs +17 -19
  141. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  142. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  143. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  144. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  145. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  146. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  147. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  148. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  149. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  150. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  151. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  152. package/fesm2022/primeng-icons-eye.mjs +19 -19
  153. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  154. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  155. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  156. package/fesm2022/primeng-icons-filter.mjs +24 -26
  157. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  158. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  159. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  160. package/fesm2022/primeng-icons-home.mjs +26 -26
  161. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  162. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  163. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  164. package/fesm2022/primeng-icons-minus.mjs +17 -19
  165. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  166. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  167. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  168. package/fesm2022/primeng-icons-plus.mjs +24 -26
  169. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  170. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  171. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  172. package/fesm2022/primeng-icons-search.mjs +26 -26
  173. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  174. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  175. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  176. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  177. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  178. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  179. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  180. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  181. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  182. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  183. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  184. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  185. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  186. package/fesm2022/primeng-icons-star.mjs +24 -26
  187. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  188. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  189. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  190. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  191. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  192. package/fesm2022/primeng-icons-times.mjs +17 -19
  193. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  194. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  195. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  196. package/fesm2022/primeng-icons-trash.mjs +26 -26
  197. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  198. package/fesm2022/primeng-icons-undo.mjs +26 -26
  199. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  200. package/fesm2022/primeng-icons-upload.mjs +26 -26
  201. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  202. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  203. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  204. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  205. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  206. package/fesm2022/primeng-iftalabel.mjs +32 -38
  207. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  208. package/fesm2022/primeng-image.mjs +189 -370
  209. package/fesm2022/primeng-image.mjs.map +1 -1
  210. package/fesm2022/primeng-imagecompare.mjs +57 -86
  211. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  212. package/fesm2022/primeng-inplace.mjs +108 -206
  213. package/fesm2022/primeng-inplace.mjs.map +1 -1
  214. package/fesm2022/primeng-inputgroup.mjs +40 -50
  215. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  216. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  217. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  218. package/fesm2022/primeng-inputicon.mjs +39 -48
  219. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  220. package/fesm2022/primeng-inputmask.mjs +157 -182
  221. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  222. package/fesm2022/primeng-inputnumber.mjs +303 -420
  223. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  224. package/fesm2022/primeng-inputotp.mjs +99 -123
  225. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  226. package/fesm2022/primeng-inputswitch.mjs +87 -92
  227. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  228. package/fesm2022/primeng-inputtext.mjs +56 -57
  229. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  230. package/fesm2022/primeng-inputtextarea.mjs +51 -56
  231. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  232. package/fesm2022/primeng-keyfilter.mjs +44 -47
  233. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  234. package/fesm2022/primeng-knob.mjs +105 -111
  235. package/fesm2022/primeng-knob.mjs.map +1 -1
  236. package/fesm2022/primeng-listbox.mjs +511 -791
  237. package/fesm2022/primeng-listbox.mjs.map +1 -1
  238. package/fesm2022/primeng-megamenu.mjs +377 -611
  239. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  240. package/fesm2022/primeng-menu.mjs +291 -473
  241. package/fesm2022/primeng-menu.mjs.map +1 -1
  242. package/fesm2022/primeng-menubar.mjs +357 -549
  243. package/fesm2022/primeng-menubar.mjs.map +1 -1
  244. package/fesm2022/primeng-message.mjs +160 -244
  245. package/fesm2022/primeng-message.mjs.map +1 -1
  246. package/fesm2022/primeng-messages.mjs +162 -278
  247. package/fesm2022/primeng-messages.mjs.map +1 -1
  248. package/fesm2022/primeng-metergroup.mjs +135 -264
  249. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  250. package/fesm2022/primeng-multiselect.mjs +660 -1135
  251. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  252. package/fesm2022/primeng-orderlist.mjs +228 -330
  253. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  254. package/fesm2022/primeng-organizationchart.mjs +161 -311
  255. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  256. package/fesm2022/primeng-overlay.mjs +135 -147
  257. package/fesm2022/primeng-overlay.mjs.map +1 -1
  258. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  259. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  260. package/fesm2022/primeng-overlaypanel.mjs +134 -154
  261. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  262. package/fesm2022/primeng-paginator.mjs +212 -447
  263. package/fesm2022/primeng-paginator.mjs.map +1 -1
  264. package/fesm2022/primeng-panel.mjs +219 -317
  265. package/fesm2022/primeng-panel.mjs.map +1 -1
  266. package/fesm2022/primeng-panelmenu.mjs +439 -783
  267. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  268. package/fesm2022/primeng-password.mjs +271 -410
  269. package/fesm2022/primeng-password.mjs.map +1 -1
  270. package/fesm2022/primeng-picklist.mjs +564 -856
  271. package/fesm2022/primeng-picklist.mjs.map +1 -1
  272. package/fesm2022/primeng-popover.mjs +129 -148
  273. package/fesm2022/primeng-popover.mjs.map +1 -1
  274. package/fesm2022/primeng-progressbar.mjs +81 -121
  275. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  276. package/fesm2022/primeng-progressspinner.mjs +48 -58
  277. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  278. package/fesm2022/primeng-radiobutton.mjs +117 -108
  279. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  280. package/fesm2022/primeng-rating.mjs +134 -218
  281. package/fesm2022/primeng-rating.mjs.map +1 -1
  282. package/fesm2022/primeng-ripple.mjs +28 -29
  283. package/fesm2022/primeng-ripple.mjs.map +1 -1
  284. package/fesm2022/primeng-scroller.mjs +167 -295
  285. package/fesm2022/primeng-scroller.mjs.map +1 -1
  286. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  287. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  288. package/fesm2022/primeng-scrolltop.mjs +106 -150
  289. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  290. package/fesm2022/primeng-select.mjs +581 -957
  291. package/fesm2022/primeng-select.mjs.map +1 -1
  292. package/fesm2022/primeng-selectbutton.mjs +106 -133
  293. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  294. package/fesm2022/primeng-sidebar.mjs +151 -239
  295. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  296. package/fesm2022/primeng-skeleton.mjs +46 -54
  297. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  298. package/fesm2022/primeng-slider.mjs +186 -182
  299. package/fesm2022/primeng-slider.mjs.map +1 -1
  300. package/fesm2022/primeng-speeddial.mjs +192 -254
  301. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  302. package/fesm2022/primeng-splitbutton.mjs +211 -231
  303. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  304. package/fesm2022/primeng-splitter.mjs +126 -159
  305. package/fesm2022/primeng-splitter.mjs.map +1 -1
  306. package/fesm2022/primeng-stepper.mjs +235 -341
  307. package/fesm2022/primeng-stepper.mjs.map +1 -1
  308. package/fesm2022/primeng-steps.mjs +117 -170
  309. package/fesm2022/primeng-steps.mjs.map +1 -1
  310. package/fesm2022/primeng-styleclass.mjs +50 -53
  311. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  312. package/fesm2022/primeng-table.mjs +1869 -2628
  313. package/fesm2022/primeng-table.mjs.map +1 -1
  314. package/fesm2022/primeng-tabmenu.mjs +173 -319
  315. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  316. package/fesm2022/primeng-tabs.mjs +193 -308
  317. package/fesm2022/primeng-tabs.mjs.map +1 -1
  318. package/fesm2022/primeng-tabview.mjs +263 -435
  319. package/fesm2022/primeng-tabview.mjs.map +1 -1
  320. package/fesm2022/primeng-tag.mjs +63 -110
  321. package/fesm2022/primeng-tag.mjs.map +1 -1
  322. package/fesm2022/primeng-terminal.mjs +60 -104
  323. package/fesm2022/primeng-terminal.mjs.map +1 -1
  324. package/fesm2022/primeng-textarea.mjs +59 -64
  325. package/fesm2022/primeng-textarea.mjs.map +1 -1
  326. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  327. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  328. package/fesm2022/primeng-timeline.mjs +90 -156
  329. package/fesm2022/primeng-timeline.mjs.map +1 -1
  330. package/fesm2022/primeng-toast.mjs +260 -365
  331. package/fesm2022/primeng-toast.mjs.map +1 -1
  332. package/fesm2022/primeng-togglebutton.mjs +117 -150
  333. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  334. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  335. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  336. package/fesm2022/primeng-toolbar.mjs +62 -121
  337. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  338. package/fesm2022/primeng-tooltip.mjs +74 -75
  339. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  340. package/fesm2022/primeng-tree.mjs +455 -729
  341. package/fesm2022/primeng-tree.mjs.map +1 -1
  342. package/fesm2022/primeng-treeselect.mjs +344 -533
  343. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  344. package/fesm2022/primeng-treetable.mjs +1027 -1584
  345. package/fesm2022/primeng-treetable.mjs.map +1 -1
  346. package/fesm2022/primeng-usestyle.mjs +6 -6
  347. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  348. package/fesm2022/primeng-utils.mjs +3 -1
  349. package/fesm2022/primeng-utils.mjs.map +1 -1
  350. package/listbox/listbox.d.ts +17 -3
  351. package/message/message.d.ts +1 -0
  352. package/overlaybadge/overlaybadge.d.ts +1 -1
  353. package/package.json +189 -190
  354. package/password/password.d.ts +8 -1
  355. package/password/style/passwordstyle.d.ts +1 -0
  356. package/picklist/picklist.d.ts +11 -1
  357. package/stepper/stepper.d.ts +2 -1
  358. package/table/table.d.ts +1 -1
  359. package/table/table.interface.d.ts +2 -2
  360. package/tabs/tablist.d.ts +1 -1
  361. package/toast/toast.d.ts +1 -1
  362. package/tree/tree.d.ts +10 -2
  363. package/tree/tree.interface.d.ts +8 -0
  364. package/utils/zindexutils.d.ts +2 -0
@@ -1,7 +1,7 @@
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
7
  import { deepEquals, isNotEmpty, isArray, isObject, uuid, equals, focus, findLastIndex, resolveFieldData, isPrintableCharacter, getFirstFocusableElement, getLastFocusableElement, findSingle, unblockBodyScroll, hasClass, isHidden, getFocusableElements } from '@primeuix/utils';
@@ -301,12 +301,12 @@ class MultiSelectStyle extends BaseStyle {
301
301
  theme = theme;
302
302
  classes = classes;
303
303
  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 });
304
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
305
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectStyle });
306
306
  }
307
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelectStyle, [{
308
- type: Injectable
309
- }], null, null); })();
307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectStyle, decorators: [{
308
+ type: Injectable
309
+ }] });
310
310
  /**
311
311
  *
312
312
  * MultiSelect is used to select multiple items from a collection.
@@ -392,641 +392,6 @@ var MultiSelectClasses;
392
392
  MultiSelectClasses["emptyMessage"] = "p-multiselect-empty-message";
393
393
  })(MultiSelectClasses || (MultiSelectClasses = {}));
394
394
 
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())("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, 4, "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
395
  const MULTISELECT_VALUE_ACCESSOR = {
1031
396
  provide: NG_VALUE_ACCESSOR,
1032
397
  useExisting: forwardRef(() => MultiSelect),
@@ -1064,35 +429,48 @@ class MultiSelectItem extends BaseComponent {
1064
429
  selected: this.selected
1065
430
  });
1066
431
  }
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: 26, consts: [["icon", ""], ["pRipple", "", "role", "option", 3, "click", "mouseenter", "ngStyle", "ngClass", "id"], [3, "ngModel", "binary", "tabindex", "variant"], [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(19, _c0, ctx.itemSize + "px"))("ngClass", i0.ɵɵpureFunction2(21, _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);
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(24, _c2, ctx.option));
1087
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, Checkbox, FormsModule, i2.NgControlStatus, i2.NgModel, Ripple, SharedModule], encapsulation: 2 });
432
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
433
+ 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: `
434
+ <li
435
+ pRipple
436
+ role="option"
437
+ [ngStyle]="{ height: itemSize + 'px' }"
438
+ [ngClass]="{
439
+ 'p-multiselect-option': true,
440
+ 'p-disabled': disabled,
441
+ 'p-focus': focused
442
+ }"
443
+ [id]="id"
444
+ [attr.aria-label]="label"
445
+ [attr.aria-setsize]="ariaSetSize"
446
+ [attr.aria-posinset]="ariaPosInset"
447
+ [attr.aria-selected]="selected"
448
+ [attr.data-p-focused]="focused"
449
+ [attr.data-p-highlight]="selected"
450
+ [attr.data-p-disabled]="disabled"
451
+ [attr.aria-checked]="selected"
452
+ (click)="onOptionClick($event)"
453
+ (mouseenter)="onOptionMouseEnter($event)"
454
+ >
455
+ <p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant" [ariaLabel]="label">
456
+ <ng-container *ngIf="itemCheckboxIconTemplate">
457
+ <ng-template #icon let-klass="class">
458
+ <ng-template *ngTemplateOutlet="itemCheckboxIconTemplate; context: { checked: selected, class: klass }"></ng-template>
459
+ </ng-template>
460
+ </ng-container>
461
+ </p-checkbox>
462
+ <span *ngIf="!template">{{ label ?? 'empty' }}</span>
463
+ <ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
464
+ </li>
465
+ `, 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
466
  }
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: `
467
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectItem, decorators: [{
468
+ type: Component,
469
+ args: [{
470
+ selector: 'p-multiSelectItem, p-multiselect-item',
471
+ standalone: true,
472
+ imports: [CommonModule, Checkbox, FormsModule, Ripple, SharedModule],
473
+ template: `
1096
474
  <li
1097
475
  pRipple
1098
476
  role="option"
@@ -1114,7 +492,7 @@ class MultiSelectItem extends BaseComponent {
1114
492
  (click)="onOptionClick($event)"
1115
493
  (mouseenter)="onOptionMouseEnter($event)"
1116
494
  >
1117
- <p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant">
495
+ <p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant" [ariaLabel]="label">
1118
496
  <ng-container *ngIf="itemCheckboxIconTemplate">
1119
497
  <ng-template #icon let-klass="class">
1120
498
  <ng-template *ngTemplateOutlet="itemCheckboxIconTemplate; context: { checked: selected, class: klass }"></ng-template>
@@ -1125,44 +503,43 @@ class MultiSelectItem extends BaseComponent {
1125
503
  <ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
1126
504
  </li>
1127
505
  `,
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 }); })();
506
+ encapsulation: ViewEncapsulation.None
507
+ }]
508
+ }], propDecorators: { id: [{
509
+ type: Input
510
+ }], option: [{
511
+ type: Input
512
+ }], selected: [{
513
+ type: Input,
514
+ args: [{ transform: booleanAttribute }]
515
+ }], label: [{
516
+ type: Input
517
+ }], disabled: [{
518
+ type: Input,
519
+ args: [{ transform: booleanAttribute }]
520
+ }], itemSize: [{
521
+ type: Input,
522
+ args: [{ transform: numberAttribute }]
523
+ }], focused: [{
524
+ type: Input,
525
+ args: [{ transform: booleanAttribute }]
526
+ }], ariaPosInset: [{
527
+ type: Input
528
+ }], ariaSetSize: [{
529
+ type: Input
530
+ }], variant: [{
531
+ type: Input
532
+ }], template: [{
533
+ type: Input
534
+ }], checkIconTemplate: [{
535
+ type: Input
536
+ }], itemCheckboxIconTemplate: [{
537
+ type: Input
538
+ }], onClick: [{
539
+ type: Output
540
+ }], onMouseEnter: [{
541
+ type: Output
542
+ }] } });
1166
543
  // @ts-ignore
1167
544
  /**
1168
545
  * MultiSelect is used to select multiple items from a collection.
@@ -1256,7 +633,7 @@ class MultiSelect extends BaseComponent {
1256
633
  * Specifies the input variant of the component.
1257
634
  * @group Props
1258
635
  */
1259
- variant = 'outlined';
636
+ variant;
1260
637
  /**
1261
638
  * Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
1262
639
  * @group Props
@@ -1935,10 +1312,10 @@ class MultiSelect extends BaseComponent {
1935
1312
  this.overlayService = overlayService;
1936
1313
  effect(() => {
1937
1314
  const modelValue = this.modelValue();
1938
- const visibleOptions = this.visibleOptions();
1939
- if (visibleOptions && isNotEmpty(visibleOptions)) {
1315
+ const allVisibleAndNonVisibleOptions = this.getAllVisibleAndNonVisibleOptions();
1316
+ if (allVisibleAndNonVisibleOptions && isNotEmpty(allVisibleAndNonVisibleOptions)) {
1940
1317
  if (this.optionValue && this.optionLabel && modelValue) {
1941
- this.selectedOptions = visibleOptions.filter((option) => modelValue.includes(option[this.optionLabel]) || modelValue.includes(option[this.optionValue]));
1318
+ this.selectedOptions = allVisibleAndNonVisibleOptions.filter((option) => modelValue.includes(option[this.optionLabel]) || modelValue.includes(option[this.optionValue]));
1942
1319
  }
1943
1320
  else {
1944
1321
  this.selectedOptions = modelValue;
@@ -1962,7 +1339,7 @@ class MultiSelect extends BaseComponent {
1962
1339
  return this.selectionLimit && this.modelValue() && this.modelValue().length === this.selectionLimit;
1963
1340
  }
1964
1341
  ngAfterViewInit() {
1965
- super.ngOnInit();
1342
+ super.ngAfterViewInit();
1966
1343
  if (this.overlayVisible) {
1967
1344
  this.show();
1968
1345
  }
@@ -2558,7 +1935,7 @@ class MultiSelect extends BaseComponent {
2558
1935
  onOverlayAnimationStart(event) {
2559
1936
  switch (event.toState) {
2560
1937
  case 'visible':
2561
- this.itemsWrapper = findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-multiselect-items-wrapper');
1938
+ this.itemsWrapper = findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-multiselect-list-container');
2562
1939
  this.virtualScroll && this.scroller?.setContentEl(this.itemsViewChild?.nativeElement);
2563
1940
  if (this._options() && this._options().length) {
2564
1941
  if (this.virtualScroll) {
@@ -2723,128 +2100,277 @@ class MultiSelect extends BaseComponent {
2723
2100
  hasFilter() {
2724
2101
  return this._filterValue() && this._filterValue().trim().length > 0;
2725
2102
  }
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: 5, 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
- } }, 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", "binary", "variant", "disabled", "onChange", 4, "ngIf"], ["class", "p-multiselect-filter-container", 4, "ngIf"], [3, "onChange", "ngModel", "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) {
2798
- const _r1 = i0.ɵɵgetCurrentView();
2799
- i0.ɵɵprojectionDef(_c30);
2800
- i0.ɵɵelementStart(0, "div", 16)(1, "input", 17, 0);
2801
- 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)); });
2802
- i0.ɵɵelementEnd()();
2803
- i0.ɵɵelementStart(3, "div", 18);
2804
- i0.ɵɵlistener("mouseleave", function MultiSelect_Template_div_mouseleave_3_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.labelContainerMouseLeave()); });
2805
- i0.ɵɵelementStart(4, "div", 19);
2806
- i0.ɵɵtemplate(5, MultiSelect_ng_container_5_Template, 3, 2, "ng-container", 20)(6, MultiSelect_ng_container_6_Template, 3, 6, "ng-container", 20);
2807
- i0.ɵɵelementEnd()();
2808
- i0.ɵɵtemplate(7, MultiSelect_ng_container_7_Template, 3, 2, "ng-container", 20);
2809
- i0.ɵɵelementStart(8, "div", 21);
2810
- 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);
2811
- i0.ɵɵelementEnd();
2812
- i0.ɵɵelementStart(12, "p-overlay", 23, 2);
2813
- 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); });
2814
- 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()); });
2815
- i0.ɵɵtemplate(14, MultiSelect_ng_template_14_Template, 13, 18, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
2816
- i0.ɵɵelementEnd();
2817
- } if (rf & 2) {
2818
- let tmp_15_0;
2819
- const elseBlock_r24 = i0.ɵɵreference(11);
2820
- i0.ɵɵattribute("data-p-hidden-accessible", true);
2821
- i0.ɵɵadvance();
2822
- i0.ɵɵproperty("pTooltip", ctx.tooltip)("tooltipPosition", ctx.tooltipPosition)("positionStyle", ctx.tooltipPositionStyle)("tooltipStyleClass", ctx.tooltipStyleClass)("pAutoFocus", ctx.autofocus);
2823
- 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");
2824
- i0.ɵɵadvance(2);
2825
- i0.ɵɵproperty("pTooltip", ctx.tooltip)("tooltipDisabled", ctx._disableTooltip)("tooltipPosition", ctx.tooltipPosition)("positionStyle", ctx.tooltipPositionStyle)("tooltipStyleClass", ctx.tooltipStyleClass);
2826
- i0.ɵɵadvance();
2827
- i0.ɵɵproperty("ngClass", ctx.labelClass);
2828
- i0.ɵɵadvance();
2829
- i0.ɵɵproperty("ngIf", !ctx.selectedItemsTemplate && !ctx._selectedItemsTemplate);
2830
- i0.ɵɵadvance();
2831
- i0.ɵɵproperty("ngIf", ctx.selectedItemsTemplate || ctx._selectedItemsTemplate);
2832
- i0.ɵɵadvance();
2833
- i0.ɵɵproperty("ngIf", ctx.isVisibleClearIcon);
2834
- i0.ɵɵadvance(2);
2835
- i0.ɵɵproperty("ngIf", ctx.loading)("ngIfElse", elseBlock_r24);
2836
- i0.ɵɵadvance(3);
2837
- i0.ɵɵtwoWayProperty("visible", ctx.overlayVisible);
2838
- i0.ɵɵproperty("options", ctx.overlayOptions)("target", "@parent")("appendTo", ctx.appendTo)("autoZIndex", ctx.autoZIndex)("baseZIndex", ctx.baseZIndex)("showTransitionOptions", ctx.showTransitionOptions)("hideTransitionOptions", ctx.hideTransitionOptions);
2839
- } }, 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 });
2103
+ 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 });
2104
+ 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: `
2105
+ <div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
2106
+ <input
2107
+ #focusInput
2108
+ [pTooltip]="tooltip"
2109
+ [tooltipPosition]="tooltipPosition"
2110
+ [positionStyle]="tooltipPositionStyle"
2111
+ [tooltipStyleClass]="tooltipStyleClass"
2112
+ [attr.aria-disabled]="disabled"
2113
+ [attr.id]="inputId"
2114
+ role="combobox"
2115
+ [attr.aria-label]="ariaLabel"
2116
+ [attr.aria-labelledby]="ariaLabelledBy"
2117
+ [attr.aria-haspopup]="'listbox'"
2118
+ [attr.aria-expanded]="overlayVisible ?? false"
2119
+ [attr.aria-controls]="overlayVisible ? id + '_list' : null"
2120
+ [attr.tabindex]="!disabled ? tabindex : -1"
2121
+ [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
2122
+ (focus)="onInputFocus($event)"
2123
+ (blur)="onInputBlur($event)"
2124
+ (keydown)="onKeyDown($event)"
2125
+ [pAutoFocus]="autofocus"
2126
+ [attr.value]="label() || 'empty'"
2127
+ />
2128
+ </div>
2129
+ <div
2130
+ class="p-multiselect-label-container"
2131
+ [pTooltip]="tooltip"
2132
+ (mouseleave)="labelContainerMouseLeave()"
2133
+ [tooltipDisabled]="_disableTooltip"
2134
+ [tooltipPosition]="tooltipPosition"
2135
+ [positionStyle]="tooltipPositionStyle"
2136
+ [tooltipStyleClass]="tooltipStyleClass"
2137
+ >
2138
+ <div [ngClass]="labelClass">
2139
+ <ng-container *ngIf="!selectedItemsTemplate && !_selectedItemsTemplate">
2140
+ <ng-container *ngIf="display === 'comma'">{{ label() || 'empty' }}</ng-container>
2141
+ <ng-container *ngIf="display === 'chip'">
2142
+ <div #token *ngFor="let item of chipSelectedItems(); let i = index" class="p-multiselect-chip-item">
2143
+ <p-chip styleClass="p-multiselect-chip" [label]="getLabelByValue(item)" [removable]="true" (onRemove)="removeOption(item, $event)" [removeIcon]="chipIcon">
2144
+ <ng-container *ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate">
2145
+ <ng-template #removeicon>
2146
+ <ng-container *ngIf="!disabled">
2147
+ <span
2148
+ class="p-multiselect-chip-icon"
2149
+ *ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate"
2150
+ (click)="removeOption(item, $event)"
2151
+ [attr.data-pc-section]="'clearicon'"
2152
+ [attr.aria-hidden]="true"
2153
+ >
2154
+ <ng-container *ngTemplateOutlet="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate; context: { class: 'p-multiselect-chip-icon' }"></ng-container>
2155
+ </span>
2156
+ </ng-container>
2157
+ </ng-template>
2158
+ </ng-container>
2159
+ </p-chip>
2160
+ </div>
2161
+ <ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
2162
+ </ng-container>
2163
+ </ng-container>
2164
+ <ng-container *ngIf="selectedItemsTemplate || _selectedItemsTemplate">
2165
+ <ng-container *ngTemplateOutlet="selectedItemsTemplate || _selectedItemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"></ng-container>
2166
+ <ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
2167
+ </ng-container>
2168
+ </div>
2169
+ </div>
2170
+ <ng-container *ngIf="isVisibleClearIcon">
2171
+ <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
2172
+ <span *ngIf="clearIconTemplate || _clearIconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
2173
+ <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
2174
+ </span>
2175
+ </ng-container>
2176
+ <div class="p-multiselect-dropdown">
2177
+ <ng-container *ngIf="loading; else elseBlock">
2178
+ <ng-container *ngIf="loadingIconTemplate || _loadingIconTemplate">
2179
+ <ng-container *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-container>
2180
+ </ng-container>
2181
+ <ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
2182
+ <span *ngIf="loadingIcon" [ngClass]="'p-multiselect-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
2183
+ <span *ngIf="!loadingIcon" [class]="'p-multiselect-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
2184
+ </ng-container>
2185
+ </ng-container>
2186
+ <ng-template #elseBlock>
2187
+ <ng-container *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate">
2188
+ <span *ngIf="dropdownIcon" class="p-multiselect-dropdown-icon" [ngClass]="dropdownIcon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true"></span>
2189
+ <ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="'p-multiselect-dropdown-icon'" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
2190
+ </ng-container>
2191
+ <span *ngIf="dropdownIconTemplate || _dropdownIconTemplate" class="p-multiselect-dropdown-icon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true">
2192
+ <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate"></ng-template>
2193
+ </span>
2194
+ </ng-template>
2195
+ </div>
2196
+ <p-overlay
2197
+ #overlay
2198
+ [(visible)]="overlayVisible"
2199
+ [options]="overlayOptions"
2200
+ [target]="'@parent'"
2201
+ [appendTo]="appendTo"
2202
+ [autoZIndex]="autoZIndex"
2203
+ [baseZIndex]="baseZIndex"
2204
+ [showTransitionOptions]="showTransitionOptions"
2205
+ [hideTransitionOptions]="hideTransitionOptions"
2206
+ (onAnimationStart)="onOverlayAnimationStart($event)"
2207
+ (onHide)="hide()"
2208
+ >
2209
+ <ng-template #content>
2210
+ <div [attr.id]="id + '_list'" [ngClass]="'p-multiselect-overlay p-component'" [ngStyle]="panelStyle" [class]="panelStyleClass">
2211
+ <span
2212
+ #firstHiddenFocusableEl
2213
+ role="presentation"
2214
+ class="p-hidden-accessible p-hidden-focusable"
2215
+ [attr.tabindex]="0"
2216
+ (focus)="onFirstHiddenFocus($event)"
2217
+ [attr.data-p-hidden-accessible]="true"
2218
+ [attr.data-p-hidden-focusable]="true"
2219
+ >
2220
+ </span>
2221
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
2222
+ <div class="p-multiselect-header" *ngIf="showHeader">
2223
+ <ng-content select="p-header"></ng-content>
2224
+ <ng-container *ngIf="filterTemplate || _filterTemplate; else builtInFilterElement">
2225
+ <ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
2226
+ </ng-container>
2227
+ <ng-template #builtInFilterElement>
2228
+ <p-checkbox [ngModel]="allSelected()" [ariaLabel]="toggleAllAriaLabel" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
2229
+ <ng-template #checkboxicon let-klass="class">
2230
+ <CheckIcon *ngIf="!headerCheckboxIconTemplate && !_headerCheckboxIconTemplate && allSelected()" [styleClass]="klass" [attr.data-pc-section]="'icon'" />
2231
+ <ng-template
2232
+ *ngTemplateOutlet="
2233
+ headerCheckboxIconTemplate || _headerCheckboxIconTemplate;
2234
+ context: {
2235
+ checked: allSelected(),
2236
+ partialSelected: partialSelected(),
2237
+ class: klass
2238
+ }
2239
+ "
2240
+ ></ng-template>
2241
+ </ng-template>
2242
+ </p-checkbox>
2243
+
2244
+ <div class="p-multiselect-filter-container" *ngIf="filter">
2245
+ <p-iconfield>
2246
+ <input
2247
+ #filterInput
2248
+ pInputText
2249
+ [variant]="variant"
2250
+ type="text"
2251
+ [attr.autocomplete]="autocomplete"
2252
+ role="searchbox"
2253
+ [attr.aria-owns]="id + '_list'"
2254
+ [attr.aria-activedescendant]="focusedOptionId"
2255
+ [value]="_filterValue() || ''"
2256
+ (input)="onFilterInputChange($event)"
2257
+ (keydown)="onFilterKeyDown($event)"
2258
+ (click)="onInputClick($event)"
2259
+ (blur)="onFilterBlur($event)"
2260
+ class="p-multiselect-filter"
2261
+ [disabled]="disabled"
2262
+ [attr.placeholder]="filterPlaceHolder"
2263
+ [attr.aria-label]="ariaFilterLabel"
2264
+ />
2265
+ <p-inputicon>
2266
+ <SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filterIconTemplate && !_filterIconTemplate" />
2267
+ <span *ngIf="filterIconTemplate || _filterIconTemplate" class="p-multiselect-filter-icon">
2268
+ <ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
2269
+ </span>
2270
+ </p-inputicon>
2271
+ </p-iconfield>
2272
+ </div>
2273
+ </ng-template>
2274
+ </div>
2275
+ <div class="p-multiselect-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'">
2276
+ <p-scroller
2277
+ *ngIf="virtualScroll"
2278
+ #scroller
2279
+ [items]="visibleOptions()"
2280
+ [style]="{ height: scrollHeight }"
2281
+ [itemSize]="virtualScrollItemSize || _itemSize"
2282
+ [autoSize]="true"
2283
+ [tabindex]="-1"
2284
+ [lazy]="lazy"
2285
+ (onLazyLoad)="onLazyLoad.emit($event)"
2286
+ [options]="virtualScrollOptions"
2287
+ >
2288
+ <ng-template #content let-items let-scrollerOptions="options">
2289
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
2290
+ </ng-template>
2291
+ <ng-container *ngIf="loaderTemplate || _loaderTemplate">
2292
+ <ng-template #loader let-scrollerOptions="options">
2293
+ <ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
2294
+ </ng-template>
2295
+ </ng-container>
2296
+ </p-scroller>
2297
+ <ng-container *ngIf="!virtualScroll">
2298
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
2299
+ </ng-container>
2300
+
2301
+ <ng-template #buildInItems let-items let-scrollerOptions="options">
2302
+ <ul #items class="p-multiselect-list" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox" aria-multiselectable="true" [attr.aria-label]="listLabel">
2303
+ <ng-template ngFor let-option [ngForOf]="items" let-i="index">
2304
+ <ng-container *ngIf="isOptionGroup(option)">
2305
+ <li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-multiselect-option-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2306
+ <span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
2307
+ <ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
2308
+ </li>
2309
+ </ng-container>
2310
+ <ng-container *ngIf="!isOptionGroup(option)">
2311
+ <p-multiselect-item
2312
+ [id]="id + '_' + getOptionIndex(i, scrollerOptions)"
2313
+ [option]="option"
2314
+ [selected]="isSelected(option)"
2315
+ [label]="getOptionLabel(option)"
2316
+ [disabled]="isOptionDisabled(option)"
2317
+ [template]="itemTemplate || _itemTemplate"
2318
+ [checkIconTemplate]="checkIconTemplate || _checkIconTemplate"
2319
+ [itemCheckboxIconTemplate]="itemCheckboxIconTemplate || _itemCheckboxIconTemplate"
2320
+ [itemSize]="scrollerOptions.itemSize"
2321
+ [focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
2322
+ [ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
2323
+ [ariaSetSize]="ariaSetSize"
2324
+ [variant]="variant"
2325
+ (onClick)="onOptionSelect($event, false, getOptionIndex(i, scrollerOptions))"
2326
+ (onMouseEnter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
2327
+ ></p-multiselect-item>
2328
+ </ng-container>
2329
+ </ng-template>
2330
+
2331
+ <li *ngIf="hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2332
+ @if (!emptyFilterTemplate && !_emptyFilterTemplate && !emptyTemplate && !_emptyTemplate) {
2333
+ {{ emptyFilterMessageLabel }}
2334
+ } @else {
2335
+ <ng-container *ngTemplateOutlet="emptyFilterTemplate || _emptyFilterTemplate || emptyTemplate || _emptyFilterTemplate"></ng-container>
2336
+ }
2337
+ </li>
2338
+ <li *ngIf="!hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
2339
+ @if (!emptyTemplate && !_emptyTemplate) {
2340
+ {{ emptyMessageLabel }}
2341
+ } @else {
2342
+ <ng-container *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
2343
+ }
2344
+ </li>
2345
+ </ul>
2346
+ </ng-template>
2347
+ </div>
2348
+ <div *ngIf="footerFacet || footerTemplate || _footerTemplate">
2349
+ <ng-content select="p-footer"></ng-content>
2350
+ <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
2351
+ </div>
2352
+
2353
+ <span
2354
+ #lastHiddenFocusableEl
2355
+ role="presentation"
2356
+ class="p-hidden-accessible p-hidden-focusable"
2357
+ [attr.tabindex]="0"
2358
+ (focus)="onLastHiddenFocus($event)"
2359
+ [attr.data-p-hidden-accessible]="true"
2360
+ [attr.data-p-hidden-focusable]="true"
2361
+ ></span>
2362
+ </div>
2363
+ </ng-template>
2364
+ </p-overlay>
2365
+ `, 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 });
2840
2366
  }
2841
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelect, [{
2842
- type: Component,
2843
- args: [{
2844
- selector: 'p-multiSelect, p-multiselect, p-multi-select',
2845
- standalone: true,
2846
- imports: [CommonModule, MultiSelectItem, Overlay, SharedModule, Tooltip, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule],
2847
- template: `
2367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelect, decorators: [{
2368
+ type: Component,
2369
+ args: [{
2370
+ selector: 'p-multiSelect, p-multiselect, p-multi-select',
2371
+ standalone: true,
2372
+ imports: [CommonModule, MultiSelectItem, Overlay, SharedModule, Tooltip, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule],
2373
+ template: `
2848
2374
  <div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
2849
2375
  <input
2850
2376
  #focusInput
@@ -2968,7 +2494,7 @@ class MultiSelect extends BaseComponent {
2968
2494
  <ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
2969
2495
  </ng-container>
2970
2496
  <ng-template #builtInFilterElement>
2971
- <p-checkbox [ngModel]="allSelected()" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
2497
+ <p-checkbox [ngModel]="allSelected()" [ariaLabel]="toggleAllAriaLabel" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
2972
2498
  <ng-template #checkboxicon let-klass="class">
2973
2499
  <CheckIcon *ngIf="!headerCheckboxIconTemplate && !_headerCheckboxIconTemplate && allSelected()" [styleClass]="klass" [attr.data-pc-section]="'icon'" />
2974
2500
  <ng-template
@@ -3106,307 +2632,306 @@ class MultiSelect extends BaseComponent {
3106
2632
  </ng-template>
3107
2633
  </p-overlay>
3108
2634
  `,
3109
- providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle],
3110
- changeDetection: ChangeDetectionStrategy.OnPush,
3111
- encapsulation: ViewEncapsulation.None,
3112
- host: {
3113
- '[attr.id]': 'id',
3114
- '[style]': 'style',
3115
- '(click)': 'onContainerClick($event)'
3116
- }
3117
- }]
3118
- }], () => [{ type: i0.NgZone }, { type: i3.FilterService }, { type: i3.OverlayService }], { id: [{
3119
- type: Input
3120
- }], ariaLabel: [{
3121
- type: Input
3122
- }], style: [{
3123
- type: Input
3124
- }], styleClass: [{
3125
- type: Input
3126
- }], panelStyle: [{
3127
- type: Input
3128
- }], panelStyleClass: [{
3129
- type: Input
3130
- }], inputId: [{
3131
- type: Input
3132
- }], disabled: [{
3133
- type: Input,
3134
- args: [{ transform: booleanAttribute }]
3135
- }], fluid: [{
3136
- type: Input,
3137
- args: [{ transform: booleanAttribute }]
3138
- }], readonly: [{
3139
- type: Input,
3140
- args: [{ transform: booleanAttribute }]
3141
- }], group: [{
3142
- type: Input,
3143
- args: [{ transform: booleanAttribute }]
3144
- }], filter: [{
3145
- type: Input,
3146
- args: [{ transform: booleanAttribute }]
3147
- }], filterPlaceHolder: [{
3148
- type: Input
3149
- }], filterLocale: [{
3150
- type: Input
3151
- }], overlayVisible: [{
3152
- type: Input,
3153
- args: [{ transform: booleanAttribute }]
3154
- }], tabindex: [{
3155
- type: Input,
3156
- args: [{ transform: numberAttribute }]
3157
- }], variant: [{
3158
- type: Input
3159
- }], appendTo: [{
3160
- type: Input
3161
- }], dataKey: [{
3162
- type: Input
3163
- }], name: [{
3164
- type: Input
3165
- }], ariaLabelledBy: [{
3166
- type: Input
3167
- }], displaySelectedLabel: [{
3168
- type: Input
3169
- }], maxSelectedLabels: [{
3170
- type: Input
3171
- }], selectionLimit: [{
3172
- type: Input,
3173
- args: [{ transform: numberAttribute }]
3174
- }], selectedItemsLabel: [{
3175
- type: Input
3176
- }], showToggleAll: [{
3177
- type: Input,
3178
- args: [{ transform: booleanAttribute }]
3179
- }], emptyFilterMessage: [{
3180
- type: Input
3181
- }], emptyMessage: [{
3182
- type: Input
3183
- }], resetFilterOnHide: [{
3184
- type: Input,
3185
- args: [{ transform: booleanAttribute }]
3186
- }], dropdownIcon: [{
3187
- type: Input
3188
- }], chipIcon: [{
3189
- type: Input
3190
- }], optionLabel: [{
3191
- type: Input
3192
- }], optionValue: [{
3193
- type: Input
3194
- }], optionDisabled: [{
3195
- type: Input
3196
- }], optionGroupLabel: [{
3197
- type: Input
3198
- }], optionGroupChildren: [{
3199
- type: Input
3200
- }], showHeader: [{
3201
- type: Input,
3202
- args: [{ transform: booleanAttribute }]
3203
- }], filterBy: [{
3204
- type: Input
3205
- }], scrollHeight: [{
3206
- type: Input
3207
- }], lazy: [{
3208
- type: Input,
3209
- args: [{ transform: booleanAttribute }]
3210
- }], virtualScroll: [{
3211
- type: Input,
3212
- args: [{ transform: booleanAttribute }]
3213
- }], loading: [{
3214
- type: Input,
3215
- args: [{ transform: booleanAttribute }]
3216
- }], virtualScrollItemSize: [{
3217
- type: Input,
3218
- args: [{ transform: numberAttribute }]
3219
- }], loadingIcon: [{
3220
- type: Input
3221
- }], virtualScrollOptions: [{
3222
- type: Input
3223
- }], overlayOptions: [{
3224
- type: Input
3225
- }], ariaFilterLabel: [{
3226
- type: Input
3227
- }], filterMatchMode: [{
3228
- type: Input
3229
- }], tooltip: [{
3230
- type: Input
3231
- }], tooltipPosition: [{
3232
- type: Input
3233
- }], tooltipPositionStyle: [{
3234
- type: Input
3235
- }], tooltipStyleClass: [{
3236
- type: Input
3237
- }], autofocusFilter: [{
3238
- type: Input,
3239
- args: [{ transform: booleanAttribute }]
3240
- }], display: [{
3241
- type: Input
3242
- }], autocomplete: [{
3243
- type: Input
3244
- }], size: [{
3245
- type: Input
3246
- }], showClear: [{
3247
- type: Input,
3248
- args: [{ transform: booleanAttribute }]
3249
- }], autofocus: [{
3250
- type: Input,
3251
- args: [{ transform: booleanAttribute }]
3252
- }], autoZIndex: [{
3253
- type: Input
3254
- }], baseZIndex: [{
3255
- type: Input
3256
- }], showTransitionOptions: [{
3257
- type: Input
3258
- }], hideTransitionOptions: [{
3259
- type: Input
3260
- }], defaultLabel: [{
3261
- type: Input
3262
- }], placeholder: [{
3263
- type: Input
3264
- }], options: [{
3265
- type: Input
3266
- }], filterValue: [{
3267
- type: Input
3268
- }], itemSize: [{
3269
- type: Input
3270
- }], selectAll: [{
3271
- type: Input
3272
- }], focusOnHover: [{
3273
- type: Input,
3274
- args: [{ transform: booleanAttribute }]
3275
- }], filterFields: [{
3276
- type: Input
3277
- }], selectOnFocus: [{
3278
- type: Input,
3279
- args: [{ transform: booleanAttribute }]
3280
- }], autoOptionFocus: [{
3281
- type: Input,
3282
- args: [{ transform: booleanAttribute }]
3283
- }], onChange: [{
3284
- type: Output
3285
- }], onFilter: [{
3286
- type: Output
3287
- }], onFocus: [{
3288
- type: Output
3289
- }], onBlur: [{
3290
- type: Output
3291
- }], onClick: [{
3292
- type: Output
3293
- }], onClear: [{
3294
- type: Output
3295
- }], onPanelShow: [{
3296
- type: Output
3297
- }], onPanelHide: [{
3298
- type: Output
3299
- }], onLazyLoad: [{
3300
- type: Output
3301
- }], onRemove: [{
3302
- type: Output
3303
- }], onSelectAllChange: [{
3304
- type: Output
3305
- }], overlayViewChild: [{
3306
- type: ViewChild,
3307
- args: ['overlay']
3308
- }], filterInputChild: [{
3309
- type: ViewChild,
3310
- args: ['filterInput']
3311
- }], focusInputViewChild: [{
3312
- type: ViewChild,
3313
- args: ['focusInput']
3314
- }], itemsViewChild: [{
3315
- type: ViewChild,
3316
- args: ['items']
3317
- }], scroller: [{
3318
- type: ViewChild,
3319
- args: ['scroller']
3320
- }], lastHiddenFocusableElementOnOverlay: [{
3321
- type: ViewChild,
3322
- args: ['lastHiddenFocusableEl']
3323
- }], firstHiddenFocusableElementOnOverlay: [{
3324
- type: ViewChild,
3325
- args: ['firstHiddenFocusableEl']
3326
- }], headerCheckboxViewChild: [{
3327
- type: ViewChild,
3328
- args: ['headerCheckbox']
3329
- }], footerFacet: [{
3330
- type: ContentChild,
3331
- args: [Footer]
3332
- }], headerFacet: [{
3333
- type: ContentChild,
3334
- args: [Header]
3335
- }], itemTemplate: [{
3336
- type: ContentChild,
3337
- args: ['item', { descendants: false }]
3338
- }], groupTemplate: [{
3339
- type: ContentChild,
3340
- args: ['group', { descendants: false }]
3341
- }], loaderTemplate: [{
3342
- type: ContentChild,
3343
- args: ['loader', { descendants: false }]
3344
- }], headerTemplate: [{
3345
- type: ContentChild,
3346
- args: ['header', { descendants: false }]
3347
- }], filterTemplate: [{
3348
- type: ContentChild,
3349
- args: ['filter', { descendants: false }]
3350
- }], footerTemplate: [{
3351
- type: ContentChild,
3352
- args: ['footer', { descendants: false }]
3353
- }], emptyFilterTemplate: [{
3354
- type: ContentChild,
3355
- args: ['emptyfilter', { descendants: false }]
3356
- }], emptyTemplate: [{
3357
- type: ContentChild,
3358
- args: ['empty', { descendants: false }]
3359
- }], selectedItemsTemplate: [{
3360
- type: ContentChild,
3361
- args: ['selecteditems', { descendants: false }]
3362
- }], checkIconTemplate: [{
3363
- type: ContentChild,
3364
- args: ['checkicon', { descendants: false }]
3365
- }], loadingIconTemplate: [{
3366
- type: ContentChild,
3367
- args: ['loadingicon', { descendants: false }]
3368
- }], filterIconTemplate: [{
3369
- type: ContentChild,
3370
- args: ['filtericon', { descendants: false }]
3371
- }], removeTokenIconTemplate: [{
3372
- type: ContentChild,
3373
- args: ['removetokenicon', { descendants: false }]
3374
- }], chipIconTemplate: [{
3375
- type: ContentChild,
3376
- args: ['chipicon', { descendants: false }]
3377
- }], clearIconTemplate: [{
3378
- type: ContentChild,
3379
- args: ['clearicon', { descendants: false }]
3380
- }], dropdownIconTemplate: [{
3381
- type: ContentChild,
3382
- args: ['dropdownicon', { descendants: false }]
3383
- }], itemCheckboxIconTemplate: [{
3384
- type: ContentChild,
3385
- args: ['itemcheckboxicon', { descendants: false }]
3386
- }], headerCheckboxIconTemplate: [{
3387
- type: ContentChild,
3388
- args: ['headercheckboxicon', { descendants: false }]
3389
- }], templates: [{
3390
- type: ContentChildren,
3391
- args: [PrimeTemplate]
3392
- }], hostClasses: [{
3393
- type: HostBinding,
3394
- args: ['class']
3395
- }] }); })();
3396
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiSelect, { className: "MultiSelect", filePath: "multiselect.ts", lineNumber: 444 }); })();
2635
+ providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle],
2636
+ changeDetection: ChangeDetectionStrategy.OnPush,
2637
+ encapsulation: ViewEncapsulation.None,
2638
+ host: {
2639
+ '[attr.id]': 'id',
2640
+ '[style]': 'style',
2641
+ '(click)': 'onContainerClick($event)',
2642
+ '[class.p-variant-filled]': 'variant === "filled" || config.inputVariant() === "filled" || config.inputStyle() === "filled" '
2643
+ }
2644
+ }]
2645
+ }], ctorParameters: () => [{ type: i0.NgZone }, { type: i3.FilterService }, { type: i3.OverlayService }], propDecorators: { id: [{
2646
+ type: Input
2647
+ }], ariaLabel: [{
2648
+ type: Input
2649
+ }], style: [{
2650
+ type: Input
2651
+ }], styleClass: [{
2652
+ type: Input
2653
+ }], panelStyle: [{
2654
+ type: Input
2655
+ }], panelStyleClass: [{
2656
+ type: Input
2657
+ }], inputId: [{
2658
+ type: Input
2659
+ }], disabled: [{
2660
+ type: Input,
2661
+ args: [{ transform: booleanAttribute }]
2662
+ }], fluid: [{
2663
+ type: Input,
2664
+ args: [{ transform: booleanAttribute }]
2665
+ }], readonly: [{
2666
+ type: Input,
2667
+ args: [{ transform: booleanAttribute }]
2668
+ }], group: [{
2669
+ type: Input,
2670
+ args: [{ transform: booleanAttribute }]
2671
+ }], filter: [{
2672
+ type: Input,
2673
+ args: [{ transform: booleanAttribute }]
2674
+ }], filterPlaceHolder: [{
2675
+ type: Input
2676
+ }], filterLocale: [{
2677
+ type: Input
2678
+ }], overlayVisible: [{
2679
+ type: Input,
2680
+ args: [{ transform: booleanAttribute }]
2681
+ }], tabindex: [{
2682
+ type: Input,
2683
+ args: [{ transform: numberAttribute }]
2684
+ }], variant: [{
2685
+ type: Input
2686
+ }], appendTo: [{
2687
+ type: Input
2688
+ }], dataKey: [{
2689
+ type: Input
2690
+ }], name: [{
2691
+ type: Input
2692
+ }], ariaLabelledBy: [{
2693
+ type: Input
2694
+ }], displaySelectedLabel: [{
2695
+ type: Input
2696
+ }], maxSelectedLabels: [{
2697
+ type: Input
2698
+ }], selectionLimit: [{
2699
+ type: Input,
2700
+ args: [{ transform: numberAttribute }]
2701
+ }], selectedItemsLabel: [{
2702
+ type: Input
2703
+ }], showToggleAll: [{
2704
+ type: Input,
2705
+ args: [{ transform: booleanAttribute }]
2706
+ }], emptyFilterMessage: [{
2707
+ type: Input
2708
+ }], emptyMessage: [{
2709
+ type: Input
2710
+ }], resetFilterOnHide: [{
2711
+ type: Input,
2712
+ args: [{ transform: booleanAttribute }]
2713
+ }], dropdownIcon: [{
2714
+ type: Input
2715
+ }], chipIcon: [{
2716
+ type: Input
2717
+ }], optionLabel: [{
2718
+ type: Input
2719
+ }], optionValue: [{
2720
+ type: Input
2721
+ }], optionDisabled: [{
2722
+ type: Input
2723
+ }], optionGroupLabel: [{
2724
+ type: Input
2725
+ }], optionGroupChildren: [{
2726
+ type: Input
2727
+ }], showHeader: [{
2728
+ type: Input,
2729
+ args: [{ transform: booleanAttribute }]
2730
+ }], filterBy: [{
2731
+ type: Input
2732
+ }], scrollHeight: [{
2733
+ type: Input
2734
+ }], lazy: [{
2735
+ type: Input,
2736
+ args: [{ transform: booleanAttribute }]
2737
+ }], virtualScroll: [{
2738
+ type: Input,
2739
+ args: [{ transform: booleanAttribute }]
2740
+ }], loading: [{
2741
+ type: Input,
2742
+ args: [{ transform: booleanAttribute }]
2743
+ }], virtualScrollItemSize: [{
2744
+ type: Input,
2745
+ args: [{ transform: numberAttribute }]
2746
+ }], loadingIcon: [{
2747
+ type: Input
2748
+ }], virtualScrollOptions: [{
2749
+ type: Input
2750
+ }], overlayOptions: [{
2751
+ type: Input
2752
+ }], ariaFilterLabel: [{
2753
+ type: Input
2754
+ }], filterMatchMode: [{
2755
+ type: Input
2756
+ }], tooltip: [{
2757
+ type: Input
2758
+ }], tooltipPosition: [{
2759
+ type: Input
2760
+ }], tooltipPositionStyle: [{
2761
+ type: Input
2762
+ }], tooltipStyleClass: [{
2763
+ type: Input
2764
+ }], autofocusFilter: [{
2765
+ type: Input,
2766
+ args: [{ transform: booleanAttribute }]
2767
+ }], display: [{
2768
+ type: Input
2769
+ }], autocomplete: [{
2770
+ type: Input
2771
+ }], size: [{
2772
+ type: Input
2773
+ }], showClear: [{
2774
+ type: Input,
2775
+ args: [{ transform: booleanAttribute }]
2776
+ }], autofocus: [{
2777
+ type: Input,
2778
+ args: [{ transform: booleanAttribute }]
2779
+ }], autoZIndex: [{
2780
+ type: Input
2781
+ }], baseZIndex: [{
2782
+ type: Input
2783
+ }], showTransitionOptions: [{
2784
+ type: Input
2785
+ }], hideTransitionOptions: [{
2786
+ type: Input
2787
+ }], defaultLabel: [{
2788
+ type: Input
2789
+ }], placeholder: [{
2790
+ type: Input
2791
+ }], options: [{
2792
+ type: Input
2793
+ }], filterValue: [{
2794
+ type: Input
2795
+ }], itemSize: [{
2796
+ type: Input
2797
+ }], selectAll: [{
2798
+ type: Input
2799
+ }], focusOnHover: [{
2800
+ type: Input,
2801
+ args: [{ transform: booleanAttribute }]
2802
+ }], filterFields: [{
2803
+ type: Input
2804
+ }], selectOnFocus: [{
2805
+ type: Input,
2806
+ args: [{ transform: booleanAttribute }]
2807
+ }], autoOptionFocus: [{
2808
+ type: Input,
2809
+ args: [{ transform: booleanAttribute }]
2810
+ }], onChange: [{
2811
+ type: Output
2812
+ }], onFilter: [{
2813
+ type: Output
2814
+ }], onFocus: [{
2815
+ type: Output
2816
+ }], onBlur: [{
2817
+ type: Output
2818
+ }], onClick: [{
2819
+ type: Output
2820
+ }], onClear: [{
2821
+ type: Output
2822
+ }], onPanelShow: [{
2823
+ type: Output
2824
+ }], onPanelHide: [{
2825
+ type: Output
2826
+ }], onLazyLoad: [{
2827
+ type: Output
2828
+ }], onRemove: [{
2829
+ type: Output
2830
+ }], onSelectAllChange: [{
2831
+ type: Output
2832
+ }], overlayViewChild: [{
2833
+ type: ViewChild,
2834
+ args: ['overlay']
2835
+ }], filterInputChild: [{
2836
+ type: ViewChild,
2837
+ args: ['filterInput']
2838
+ }], focusInputViewChild: [{
2839
+ type: ViewChild,
2840
+ args: ['focusInput']
2841
+ }], itemsViewChild: [{
2842
+ type: ViewChild,
2843
+ args: ['items']
2844
+ }], scroller: [{
2845
+ type: ViewChild,
2846
+ args: ['scroller']
2847
+ }], lastHiddenFocusableElementOnOverlay: [{
2848
+ type: ViewChild,
2849
+ args: ['lastHiddenFocusableEl']
2850
+ }], firstHiddenFocusableElementOnOverlay: [{
2851
+ type: ViewChild,
2852
+ args: ['firstHiddenFocusableEl']
2853
+ }], headerCheckboxViewChild: [{
2854
+ type: ViewChild,
2855
+ args: ['headerCheckbox']
2856
+ }], footerFacet: [{
2857
+ type: ContentChild,
2858
+ args: [Footer]
2859
+ }], headerFacet: [{
2860
+ type: ContentChild,
2861
+ args: [Header]
2862
+ }], itemTemplate: [{
2863
+ type: ContentChild,
2864
+ args: ['item', { descendants: false }]
2865
+ }], groupTemplate: [{
2866
+ type: ContentChild,
2867
+ args: ['group', { descendants: false }]
2868
+ }], loaderTemplate: [{
2869
+ type: ContentChild,
2870
+ args: ['loader', { descendants: false }]
2871
+ }], headerTemplate: [{
2872
+ type: ContentChild,
2873
+ args: ['header', { descendants: false }]
2874
+ }], filterTemplate: [{
2875
+ type: ContentChild,
2876
+ args: ['filter', { descendants: false }]
2877
+ }], footerTemplate: [{
2878
+ type: ContentChild,
2879
+ args: ['footer', { descendants: false }]
2880
+ }], emptyFilterTemplate: [{
2881
+ type: ContentChild,
2882
+ args: ['emptyfilter', { descendants: false }]
2883
+ }], emptyTemplate: [{
2884
+ type: ContentChild,
2885
+ args: ['empty', { descendants: false }]
2886
+ }], selectedItemsTemplate: [{
2887
+ type: ContentChild,
2888
+ args: ['selecteditems', { descendants: false }]
2889
+ }], checkIconTemplate: [{
2890
+ type: ContentChild,
2891
+ args: ['checkicon', { descendants: false }]
2892
+ }], loadingIconTemplate: [{
2893
+ type: ContentChild,
2894
+ args: ['loadingicon', { descendants: false }]
2895
+ }], filterIconTemplate: [{
2896
+ type: ContentChild,
2897
+ args: ['filtericon', { descendants: false }]
2898
+ }], removeTokenIconTemplate: [{
2899
+ type: ContentChild,
2900
+ args: ['removetokenicon', { descendants: false }]
2901
+ }], chipIconTemplate: [{
2902
+ type: ContentChild,
2903
+ args: ['chipicon', { descendants: false }]
2904
+ }], clearIconTemplate: [{
2905
+ type: ContentChild,
2906
+ args: ['clearicon', { descendants: false }]
2907
+ }], dropdownIconTemplate: [{
2908
+ type: ContentChild,
2909
+ args: ['dropdownicon', { descendants: false }]
2910
+ }], itemCheckboxIconTemplate: [{
2911
+ type: ContentChild,
2912
+ args: ['itemcheckboxicon', { descendants: false }]
2913
+ }], headerCheckboxIconTemplate: [{
2914
+ type: ContentChild,
2915
+ args: ['headercheckboxicon', { descendants: false }]
2916
+ }], templates: [{
2917
+ type: ContentChildren,
2918
+ args: [PrimeTemplate]
2919
+ }], hostClasses: [{
2920
+ type: HostBinding,
2921
+ args: ['class']
2922
+ }] } });
3397
2923
  class MultiSelectModule {
3398
- static ɵfac = function MultiSelectModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiSelectModule)(); };
3399
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MultiSelectModule });
3400
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MultiSelect, SharedModule, SharedModule] });
2924
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2925
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule], exports: [MultiSelect, SharedModule] });
2926
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule, SharedModule] });
3401
2927
  }
3402
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelectModule, [{
3403
- type: NgModule,
3404
- args: [{
3405
- imports: [MultiSelect, SharedModule],
3406
- exports: [MultiSelect, SharedModule]
3407
- }]
3408
- }], null, null); })();
3409
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MultiSelectModule, { imports: [MultiSelect, SharedModule], exports: [MultiSelect, SharedModule] }); })();
2928
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, decorators: [{
2929
+ type: NgModule,
2930
+ args: [{
2931
+ imports: [MultiSelect, SharedModule],
2932
+ exports: [MultiSelect, SharedModule]
2933
+ }]
2934
+ }] });
3410
2935
 
3411
2936
  /**
3412
2937
  * Generated bundle index. Do not edit.