primeng 19.0.6 → 19.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/accordion/accordion.d.ts +1 -1
  2. package/basecomponent/basecomponent.d.ts +1 -0
  3. package/confirmdialog/confirmdialog.d.ts +2 -1
  4. package/dataview/dataview.interface.d.ts +9 -19
  5. package/dragdrop/dragdrop.d.ts +3 -2
  6. package/dynamicdialog/dynamicdialog.d.ts +1 -1
  7. package/fesm2022/primeng-accordion.mjs +358 -561
  8. package/fesm2022/primeng-accordion.mjs.map +1 -1
  9. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  10. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  11. package/fesm2022/primeng-api.mjs +79 -89
  12. package/fesm2022/primeng-api.mjs.map +1 -1
  13. package/fesm2022/primeng-autocomplete.mjs +505 -786
  14. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  15. package/fesm2022/primeng-autofocus.mjs +26 -27
  16. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  17. package/fesm2022/primeng-avatar.mjs +70 -120
  18. package/fesm2022/primeng-avatar.mjs.map +1 -1
  19. package/fesm2022/primeng-avatargroup.mjs +44 -54
  20. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  21. package/fesm2022/primeng-badge.mjs +62 -71
  22. package/fesm2022/primeng-badge.mjs.map +1 -1
  23. package/fesm2022/primeng-base.mjs +6 -6
  24. package/fesm2022/primeng-base.mjs.map +1 -1
  25. package/fesm2022/primeng-basecomponent.mjs +19 -16
  26. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  27. package/fesm2022/primeng-blockui.mjs +66 -87
  28. package/fesm2022/primeng-blockui.mjs.map +1 -1
  29. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  30. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  31. package/fesm2022/primeng-button.mjs +223 -328
  32. package/fesm2022/primeng-button.mjs.map +1 -1
  33. package/fesm2022/primeng-buttongroup.mjs +36 -40
  34. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  35. package/fesm2022/primeng-calendar.mjs +727 -1127
  36. package/fesm2022/primeng-calendar.mjs.map +1 -1
  37. package/fesm2022/primeng-card.mjs +88 -192
  38. package/fesm2022/primeng-card.mjs.map +1 -1
  39. package/fesm2022/primeng-carousel.mjs +218 -405
  40. package/fesm2022/primeng-carousel.mjs.map +1 -1
  41. package/fesm2022/primeng-cascadeselect.mjs +392 -576
  42. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  43. package/fesm2022/primeng-chart.mjs +57 -63
  44. package/fesm2022/primeng-chart.mjs.map +1 -1
  45. package/fesm2022/primeng-checkbox.mjs +131 -183
  46. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  47. package/fesm2022/primeng-chip.mjs +92 -188
  48. package/fesm2022/primeng-chip.mjs.map +1 -1
  49. package/fesm2022/primeng-colorpicker.mjs +142 -167
  50. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  51. package/fesm2022/primeng-config.mjs +12 -12
  52. package/fesm2022/primeng-config.mjs.map +1 -1
  53. package/fesm2022/primeng-confirmdialog.mjs +232 -350
  54. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  55. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  56. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  57. package/fesm2022/primeng-contextmenu.mjs +336 -450
  58. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  59. package/fesm2022/primeng-dataview.mjs +249 -352
  60. package/fesm2022/primeng-dataview.mjs.map +1 -1
  61. package/fesm2022/primeng-datepicker.mjs +740 -1136
  62. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  63. package/fesm2022/primeng-defer.mjs +25 -31
  64. package/fesm2022/primeng-defer.mjs.map +1 -1
  65. package/fesm2022/primeng-dialog.mjs +277 -478
  66. package/fesm2022/primeng-dialog.mjs.map +1 -1
  67. package/fesm2022/primeng-divider.mjs +68 -77
  68. package/fesm2022/primeng-divider.mjs.map +1 -1
  69. package/fesm2022/primeng-dock.mjs +138 -167
  70. package/fesm2022/primeng-dock.mjs.map +1 -1
  71. package/fesm2022/primeng-dragdrop.mjs +85 -79
  72. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  73. package/fesm2022/primeng-drawer.mjs +171 -268
  74. package/fesm2022/primeng-drawer.mjs.map +1 -1
  75. package/fesm2022/primeng-dropdown.mjs +529 -867
  76. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  77. package/fesm2022/primeng-dynamicdialog.mjs +152 -301
  78. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  79. package/fesm2022/primeng-editor.mjs +118 -156
  80. package/fesm2022/primeng-editor.mjs.map +1 -1
  81. package/fesm2022/primeng-fieldset.mjs +153 -247
  82. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  83. package/fesm2022/primeng-fileupload.mjs +370 -687
  84. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  85. package/fesm2022/primeng-floatlabel.mjs +38 -46
  86. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  87. package/fesm2022/primeng-fluid.mjs +33 -41
  88. package/fesm2022/primeng-fluid.mjs.map +1 -1
  89. package/fesm2022/primeng-focustrap.mjs +23 -24
  90. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  91. package/fesm2022/primeng-galleria.mjs +529 -761
  92. package/fesm2022/primeng-galleria.mjs.map +1 -1
  93. package/fesm2022/primeng-iconfield.mjs +42 -51
  94. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  95. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  96. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  97. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  98. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  99. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  100. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  101. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  102. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  103. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  104. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  105. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  106. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  107. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  108. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  109. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  110. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  111. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  112. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  113. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  114. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  115. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  116. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  117. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  118. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  119. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  120. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  121. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  122. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  123. package/fesm2022/primeng-icons-ban.mjs +24 -26
  124. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  125. package/fesm2022/primeng-icons-bars.mjs +19 -19
  126. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  127. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  128. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  129. package/fesm2022/primeng-icons-blank.mjs +14 -16
  130. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  131. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  132. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  133. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  134. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  135. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  136. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  137. package/fesm2022/primeng-icons-check.mjs +17 -19
  138. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  139. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  140. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  141. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  142. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  143. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  144. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  145. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  146. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  147. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  148. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  149. package/fesm2022/primeng-icons-eye.mjs +19 -19
  150. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  151. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  152. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  153. package/fesm2022/primeng-icons-filter.mjs +24 -26
  154. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  155. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  156. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  157. package/fesm2022/primeng-icons-home.mjs +26 -26
  158. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  159. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  160. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  161. package/fesm2022/primeng-icons-minus.mjs +17 -19
  162. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  163. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  164. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  165. package/fesm2022/primeng-icons-plus.mjs +24 -26
  166. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  167. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  168. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  169. package/fesm2022/primeng-icons-search.mjs +26 -26
  170. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  171. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  172. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  173. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  174. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  175. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  176. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  177. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  178. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  179. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  180. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  181. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  182. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  183. package/fesm2022/primeng-icons-star.mjs +24 -26
  184. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  185. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  186. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  187. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  188. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  189. package/fesm2022/primeng-icons-times.mjs +17 -19
  190. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  191. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  192. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  193. package/fesm2022/primeng-icons-trash.mjs +26 -26
  194. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  195. package/fesm2022/primeng-icons-undo.mjs +26 -26
  196. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  197. package/fesm2022/primeng-icons-upload.mjs +26 -26
  198. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  199. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  200. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  201. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  202. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  203. package/fesm2022/primeng-iftalabel.mjs +34 -40
  204. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  205. package/fesm2022/primeng-image.mjs +189 -370
  206. package/fesm2022/primeng-image.mjs.map +1 -1
  207. package/fesm2022/primeng-imagecompare.mjs +57 -86
  208. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  209. package/fesm2022/primeng-inplace.mjs +108 -206
  210. package/fesm2022/primeng-inplace.mjs.map +1 -1
  211. package/fesm2022/primeng-inputgroup.mjs +40 -50
  212. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  213. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  214. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  215. package/fesm2022/primeng-inputicon.mjs +39 -48
  216. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  217. package/fesm2022/primeng-inputmask.mjs +156 -181
  218. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  219. package/fesm2022/primeng-inputnumber.mjs +299 -416
  220. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  221. package/fesm2022/primeng-inputotp.mjs +97 -121
  222. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  223. package/fesm2022/primeng-inputswitch.mjs +87 -92
  224. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  225. package/fesm2022/primeng-inputtext.mjs +51 -57
  226. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  227. package/fesm2022/primeng-inputtextarea.mjs +50 -55
  228. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  229. package/fesm2022/primeng-keyfilter.mjs +44 -47
  230. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  231. package/fesm2022/primeng-knob.mjs +105 -111
  232. package/fesm2022/primeng-knob.mjs.map +1 -1
  233. package/fesm2022/primeng-listbox.mjs +473 -790
  234. package/fesm2022/primeng-listbox.mjs.map +1 -1
  235. package/fesm2022/primeng-megamenu.mjs +377 -611
  236. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  237. package/fesm2022/primeng-menu.mjs +289 -460
  238. package/fesm2022/primeng-menu.mjs.map +1 -1
  239. package/fesm2022/primeng-menubar.mjs +357 -549
  240. package/fesm2022/primeng-menubar.mjs.map +1 -1
  241. package/fesm2022/primeng-message.mjs +158 -244
  242. package/fesm2022/primeng-message.mjs.map +1 -1
  243. package/fesm2022/primeng-messages.mjs +163 -279
  244. package/fesm2022/primeng-messages.mjs.map +1 -1
  245. package/fesm2022/primeng-metergroup.mjs +135 -264
  246. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  247. package/fesm2022/primeng-multiselect.mjs +687 -1162
  248. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  249. package/fesm2022/primeng-orderlist.mjs +228 -330
  250. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  251. package/fesm2022/primeng-organizationchart.mjs +161 -311
  252. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  253. package/fesm2022/primeng-overlay.mjs +135 -147
  254. package/fesm2022/primeng-overlay.mjs.map +1 -1
  255. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  256. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  257. package/fesm2022/primeng-overlaypanel.mjs +138 -156
  258. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  259. package/fesm2022/primeng-paginator.mjs +212 -447
  260. package/fesm2022/primeng-paginator.mjs.map +1 -1
  261. package/fesm2022/primeng-panel.mjs +219 -317
  262. package/fesm2022/primeng-panel.mjs.map +1 -1
  263. package/fesm2022/primeng-panelmenu.mjs +439 -783
  264. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  265. package/fesm2022/primeng-password.mjs +268 -408
  266. package/fesm2022/primeng-password.mjs.map +1 -1
  267. package/fesm2022/primeng-picklist.mjs +560 -856
  268. package/fesm2022/primeng-picklist.mjs.map +1 -1
  269. package/fesm2022/primeng-popover.mjs +133 -150
  270. package/fesm2022/primeng-popover.mjs.map +1 -1
  271. package/fesm2022/primeng-progressbar.mjs +83 -121
  272. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  273. package/fesm2022/primeng-progressspinner.mjs +48 -58
  274. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  275. package/fesm2022/primeng-radiobutton.mjs +115 -106
  276. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  277. package/fesm2022/primeng-rating.mjs +120 -208
  278. package/fesm2022/primeng-rating.mjs.map +1 -1
  279. package/fesm2022/primeng-ripple.mjs +28 -29
  280. package/fesm2022/primeng-ripple.mjs.map +1 -1
  281. package/fesm2022/primeng-scroller.mjs +167 -295
  282. package/fesm2022/primeng-scroller.mjs.map +1 -1
  283. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  284. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  285. package/fesm2022/primeng-scrolltop.mjs +106 -150
  286. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  287. package/fesm2022/primeng-select.mjs +580 -955
  288. package/fesm2022/primeng-select.mjs.map +1 -1
  289. package/fesm2022/primeng-selectbutton.mjs +106 -133
  290. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  291. package/fesm2022/primeng-sidebar.mjs +151 -239
  292. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  293. package/fesm2022/primeng-skeleton.mjs +46 -54
  294. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  295. package/fesm2022/primeng-slider.mjs +186 -182
  296. package/fesm2022/primeng-slider.mjs.map +1 -1
  297. package/fesm2022/primeng-speeddial.mjs +192 -254
  298. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  299. package/fesm2022/primeng-splitbutton.mjs +211 -231
  300. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  301. package/fesm2022/primeng-splitter.mjs +126 -159
  302. package/fesm2022/primeng-splitter.mjs.map +1 -1
  303. package/fesm2022/primeng-stepper.mjs +227 -342
  304. package/fesm2022/primeng-stepper.mjs.map +1 -1
  305. package/fesm2022/primeng-steps.mjs +117 -170
  306. package/fesm2022/primeng-steps.mjs.map +1 -1
  307. package/fesm2022/primeng-styleclass.mjs +50 -53
  308. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  309. package/fesm2022/primeng-table.mjs +1808 -2584
  310. package/fesm2022/primeng-table.mjs.map +1 -1
  311. package/fesm2022/primeng-tabmenu.mjs +173 -319
  312. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  313. package/fesm2022/primeng-tabs.mjs +185 -300
  314. package/fesm2022/primeng-tabs.mjs.map +1 -1
  315. package/fesm2022/primeng-tabview.mjs +263 -435
  316. package/fesm2022/primeng-tabview.mjs.map +1 -1
  317. package/fesm2022/primeng-tag.mjs +63 -110
  318. package/fesm2022/primeng-tag.mjs.map +1 -1
  319. package/fesm2022/primeng-terminal.mjs +60 -104
  320. package/fesm2022/primeng-terminal.mjs.map +1 -1
  321. package/fesm2022/primeng-textarea.mjs +56 -61
  322. package/fesm2022/primeng-textarea.mjs.map +1 -1
  323. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  324. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  325. package/fesm2022/primeng-timeline.mjs +90 -156
  326. package/fesm2022/primeng-timeline.mjs.map +1 -1
  327. package/fesm2022/primeng-toast.mjs +251 -358
  328. package/fesm2022/primeng-toast.mjs.map +1 -1
  329. package/fesm2022/primeng-togglebutton.mjs +113 -150
  330. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  331. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  332. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  333. package/fesm2022/primeng-toolbar.mjs +62 -121
  334. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  335. package/fesm2022/primeng-tooltip.mjs +73 -74
  336. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  337. package/fesm2022/primeng-tree.mjs +441 -730
  338. package/fesm2022/primeng-tree.mjs.map +1 -1
  339. package/fesm2022/primeng-treeselect.mjs +342 -531
  340. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  341. package/fesm2022/primeng-treetable.mjs +1026 -1583
  342. package/fesm2022/primeng-treetable.mjs.map +1 -1
  343. package/fesm2022/primeng-usestyle.mjs +6 -6
  344. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  345. package/listbox/listbox.d.ts +2 -2
  346. package/multiselect/multiselect.d.ts +4 -2
  347. package/package.json +139 -140
  348. package/password/password.d.ts +7 -1
  349. package/picklist/picklist.d.ts +11 -1
@@ -1,14 +1,14 @@
1
1
  import * as i4 from '@angular/cdk/drag-drop';
2
- import { CDK_DRAG_CONFIG, DragDropModule } from '@angular/cdk/drag-drop';
2
+ import { DragDropModule, CDK_DRAG_CONFIG } from '@angular/cdk/drag-drop';
3
3
  import * as i2 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i0 from '@angular/core';
6
- import { Injectable, forwardRef, EventEmitter, signal, inject, computed, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
6
+ import { Injectable, forwardRef, EventEmitter, signal, inject, computed, booleanAttribute, numberAttribute, ContentChildren, ContentChild, ViewChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
7
7
  import * as i3 from '@angular/forms';
8
8
  import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
9
- import { isNotEmpty, uuid, equals, focus, getFirstFocusableElement, isEmpty, isPrintableCharacter, resolveFieldData, findSingle, findLastIndex } from '@primeuix/utils';
9
+ import { isNotEmpty, uuid, equals, focus, getFirstFocusableElement, isEmpty, isPrintableCharacter, resolveFieldData, findSingle, findLastIndex, isFunction } from '@primeuix/utils';
10
10
  import * as i1 from 'primeng/api';
11
- import { Header, Footer, PrimeTemplate, SharedModule } from 'primeng/api';
11
+ import { SharedModule, Header, Footer, PrimeTemplate } from 'primeng/api';
12
12
  import { BaseComponent } from 'primeng/basecomponent';
13
13
  import { Checkbox } from 'primeng/checkbox';
14
14
  import { IconField } from 'primeng/iconfield';
@@ -94,6 +94,10 @@ const theme = ({ dt }) => `
94
94
  box-shadow ${dt('listbox.transition.duration')}, outline-color ${dt('listbox.transition.duration')};
95
95
  }
96
96
 
97
+ .p-listbox-option:not(.cdk-drag-disabled) {
98
+ cursor: move;
99
+ }
100
+
97
101
  .p-listbox-striped li:nth-child(even of .p-listbox-option) {
98
102
  background: ${dt('listbox.option.striped.background')};
99
103
  }
@@ -173,12 +177,12 @@ class ListBoxStyle extends BaseStyle {
173
177
  name = 'listbox';
174
178
  theme = theme;
175
179
  classes = classes;
176
- static ɵfac = /*@__PURE__*/ (() => { let ɵListBoxStyle_BaseFactory; return function ListBoxStyle_Factory(__ngFactoryType__) { return (ɵListBoxStyle_BaseFactory || (ɵListBoxStyle_BaseFactory = i0.ɵɵgetInheritedFactory(ListBoxStyle)))(__ngFactoryType__ || ListBoxStyle); }; })();
177
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ListBoxStyle, factory: ListBoxStyle.ɵfac });
180
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListBoxStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
181
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListBoxStyle });
178
182
  }
179
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListBoxStyle, [{
180
- type: Injectable
181
- }], null, null); })();
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListBoxStyle, decorators: [{
184
+ type: Injectable
185
+ }] });
182
186
  /**
183
187
  *
184
188
  * ListBox is used to select one or more values from a list of items.
@@ -232,449 +236,6 @@ var ListboxClasses;
232
236
  ListboxClasses["emptyMessage"] = "p-listbox-empty-message";
233
237
  })(ListboxClasses || (ListboxClasses = {}));
234
238
 
235
- const _c0 = ["item"];
236
- const _c1 = ["group"];
237
- const _c2 = ["header"];
238
- const _c3 = ["filter"];
239
- const _c4 = ["footer"];
240
- const _c5 = ["emptyfilter"];
241
- const _c6 = ["empty"];
242
- const _c7 = ["filtericon"];
243
- const _c8 = ["checkicon"];
244
- const _c9 = ["checkmark"];
245
- const _c10 = ["loader"];
246
- const _c11 = ["headerchkbox"];
247
- const _c12 = ["lastHiddenFocusableElement"];
248
- const _c13 = ["firstHiddenFocusableElement"];
249
- const _c14 = ["scroller"];
250
- const _c15 = ["list"];
251
- const _c16 = ["container"];
252
- const _c17 = [[["p-header"]], [["p-footer"]]];
253
- const _c18 = ["p-header", "p-footer"];
254
- const _c19 = (a0, a1) => ({ $implicit: a0, options: a1 });
255
- const _c20 = a0 => ({ "p-checkbox-disabled": a0 });
256
- const _c21 = a0 => ({ $implicit: a0 });
257
- const _c22 = a0 => ({ options: a0 });
258
- const _c23 = a0 => ({ height: a0 });
259
- const _c24 = () => ({});
260
- const _c25 = (a0, a1, a2) => ({ "p-listbox-option-selected": a0, "p-focus": a1, "p-disabled": a2 });
261
- const _c26 = (a0, a1, a2) => ({ $implicit: a0, index: a1, selected: a2 });
262
- const _c27 = a0 => ({ implicit: a0 });
263
- function Listbox_div_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
264
- i0.ɵɵelementContainer(0);
265
- } }
266
- function Listbox_div_3_Template(rf, ctx) { if (rf & 1) {
267
- i0.ɵɵelementStart(0, "div", 23);
268
- i0.ɵɵprojection(1);
269
- i0.ɵɵtemplate(2, Listbox_div_3_ng_container_2_Template, 1, 0, "ng-container", 24);
270
- i0.ɵɵelementEnd();
271
- } if (rf & 2) {
272
- const ctx_r1 = i0.ɵɵnextContext();
273
- i0.ɵɵadvance(2);
274
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c19, ctx_r1.modelValue(), ctx_r1.visibleOptions()));
275
- } }
276
- function Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
277
- function Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
278
- i0.ɵɵtemplate(0, Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
279
- } }
280
- function Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
281
- i0.ɵɵtemplate(0, Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_0_Template, 1, 0, null, 24);
282
- } if (rf & 2) {
283
- const ctx_r1 = i0.ɵɵnextContext(5);
284
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c21, ctx_r1.allSelected()));
285
- } }
286
- function Listbox_div_4_div_1_p_checkbox_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
287
- i0.ɵɵelementContainerStart(0);
288
- i0.ɵɵtemplate(1, Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_Template, 1, 4, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
289
- i0.ɵɵelementContainerEnd();
290
- } }
291
- function Listbox_div_4_div_1_p_checkbox_4_Template(rf, ctx) { if (rf & 1) {
292
- i0.ɵɵelementStart(0, "p-checkbox", 31);
293
- i0.ɵɵtemplate(1, Listbox_div_4_div_1_p_checkbox_4_ng_container_1_Template, 3, 0, "ng-container", 19);
294
- i0.ɵɵelementEnd();
295
- } if (rf & 2) {
296
- const ctx_r1 = i0.ɵɵnextContext(3);
297
- i0.ɵɵproperty("ngModel", ctx_r1.allSelected())("disabled", ctx_r1.disabled)("tabindex", -1)("variant", ctx_r1.config.inputStyle() === "filled" || ctx_r1.config.inputVariant() === "filled" ? "filled" : "outlined")("binary", true);
298
- i0.ɵɵadvance();
299
- i0.ɵɵproperty("ngIf", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate);
300
- } }
301
- function Listbox_div_4_div_1_Template(rf, ctx) { if (rf & 1) {
302
- const _r3 = i0.ɵɵgetCurrentView();
303
- i0.ɵɵelementStart(0, "div", 27);
304
- i0.ɵɵlistener("click", function Listbox_div_4_div_1_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onToggleAll($event)); })("keydown", function Listbox_div_4_div_1_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onHeaderCheckboxKeyDown($event)); });
305
- i0.ɵɵelementStart(1, "div", 28)(2, "input", 29, 5);
306
- i0.ɵɵlistener("focus", function Listbox_div_4_div_1_Template_input_focus_2_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onHeaderCheckboxFocus($event)); })("blur", function Listbox_div_4_div_1_Template_input_blur_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onHeaderCheckboxBlur()); });
307
- i0.ɵɵelementEnd()();
308
- i0.ɵɵtemplate(4, Listbox_div_4_div_1_p_checkbox_4_Template, 2, 6, "p-checkbox", 30);
309
- i0.ɵɵelementEnd();
310
- } if (rf & 2) {
311
- const ctx_r1 = i0.ɵɵnextContext(2);
312
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c20, ctx_r1.disabled));
313
- i0.ɵɵadvance();
314
- i0.ɵɵattribute("data-p-hidden-accessible", true);
315
- i0.ɵɵadvance();
316
- i0.ɵɵproperty("disabled", ctx_r1.disabled);
317
- i0.ɵɵattribute("checked", ctx_r1.allSelected())("aria-label", ctx_r1.toggleAllAriaLabel);
318
- i0.ɵɵadvance(2);
319
- i0.ɵɵproperty("ngIf", ctx_r1.checkbox && ctx_r1.multiple);
320
- } }
321
- function Listbox_div_4_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
322
- i0.ɵɵelementContainer(0);
323
- } }
324
- function Listbox_div_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
325
- i0.ɵɵelementContainerStart(0);
326
- i0.ɵɵtemplate(1, Listbox_div_4_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 24);
327
- i0.ɵɵelementContainerEnd();
328
- } if (rf & 2) {
329
- const ctx_r1 = i0.ɵɵnextContext(2);
330
- i0.ɵɵadvance();
331
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterTemplate || ctx_r1._filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, ctx_r1.filterOptions));
332
- } }
333
- function Listbox_div_4_ng_template_3_div_0_SearchIcon_5_Template(rf, ctx) { if (rf & 1) {
334
- i0.ɵɵelement(0, "SearchIcon", 38);
335
- } if (rf & 2) {
336
- i0.ɵɵproperty("styleClass", "p-listbox-filter-icon");
337
- i0.ɵɵattribute("aria-hidden", true);
338
- } }
339
- function Listbox_div_4_ng_template_3_div_0_span_6_1_ng_template_0_Template(rf, ctx) { }
340
- function Listbox_div_4_ng_template_3_div_0_span_6_1_Template(rf, ctx) { if (rf & 1) {
341
- i0.ɵɵtemplate(0, Listbox_div_4_ng_template_3_div_0_span_6_1_ng_template_0_Template, 0, 0, "ng-template");
342
- } }
343
- function Listbox_div_4_ng_template_3_div_0_span_6_Template(rf, ctx) { if (rf & 1) {
344
- i0.ɵɵelementStart(0, "span", 39);
345
- i0.ɵɵtemplate(1, Listbox_div_4_ng_template_3_div_0_span_6_1_Template, 1, 0, null, 40);
346
- i0.ɵɵelementEnd();
347
- } if (rf & 2) {
348
- const ctx_r1 = i0.ɵɵnextContext(4);
349
- i0.ɵɵattribute("aria-hidden", true);
350
- i0.ɵɵadvance();
351
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);
352
- } }
353
- function Listbox_div_4_ng_template_3_div_0_Template(rf, ctx) { if (rf & 1) {
354
- const _r4 = i0.ɵɵgetCurrentView();
355
- i0.ɵɵelementStart(0, "div", 34)(1, "p-iconfield")(2, "input", 35, 7);
356
- i0.ɵɵlistener("input", function Listbox_div_4_ng_template_3_div_0_Template_input_input_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterChange($event)); })("keydown", function Listbox_div_4_ng_template_3_div_0_Template_input_keydown_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterKeyDown($event)); })("focus", function Listbox_div_4_ng_template_3_div_0_Template_input_focus_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterFocus($event)); })("blur", function Listbox_div_4_ng_template_3_div_0_Template_input_blur_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterBlur($event)); });
357
- i0.ɵɵelementEnd();
358
- i0.ɵɵelementStart(4, "p-inputicon");
359
- i0.ɵɵtemplate(5, Listbox_div_4_ng_template_3_div_0_SearchIcon_5_Template, 1, 2, "SearchIcon", 36)(6, Listbox_div_4_ng_template_3_div_0_span_6_Template, 2, 2, "span", 37);
360
- i0.ɵɵelementEnd()()();
361
- } if (rf & 2) {
362
- const ctx_r1 = i0.ɵɵnextContext(3);
363
- i0.ɵɵadvance(2);
364
- i0.ɵɵproperty("value", ctx_r1._filterValue() || "")("disabled", ctx_r1.disabled)("tabindex", !ctx_r1.disabled && !ctx_r1.focused ? ctx_r1.tabindex : -1);
365
- i0.ɵɵattribute("aria-owns", ctx_r1.id + "_list")("aria-activedescendant", ctx_r1.focusedOptionId)("placeholder", ctx_r1.filterPlaceHolder)("aria-label", ctx_r1.ariaFilterLabel);
366
- i0.ɵɵadvance(3);
367
- i0.ɵɵproperty("ngIf", !ctx_r1.filterIconTemplate && !ctx_r1._filterIconTemplate);
368
- i0.ɵɵadvance();
369
- i0.ɵɵproperty("ngIf", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);
370
- } }
371
- function Listbox_div_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
372
- i0.ɵɵtemplate(0, Listbox_div_4_ng_template_3_div_0_Template, 7, 9, "div", 32);
373
- i0.ɵɵelementStart(1, "span", 33);
374
- i0.ɵɵtext(2);
375
- i0.ɵɵelementEnd();
376
- } if (rf & 2) {
377
- const ctx_r1 = i0.ɵɵnextContext(2);
378
- i0.ɵɵproperty("ngIf", ctx_r1.filter);
379
- i0.ɵɵadvance();
380
- i0.ɵɵattribute("data-p-hidden-accessible", true);
381
- i0.ɵɵadvance();
382
- i0.ɵɵtextInterpolate1(" ", ctx_r1.filterResultMessageText, " ");
383
- } }
384
- function Listbox_div_4_Template(rf, ctx) { if (rf & 1) {
385
- i0.ɵɵelementStart(0, "div", 23);
386
- i0.ɵɵtemplate(1, Listbox_div_4_div_1_Template, 5, 8, "div", 25)(2, Listbox_div_4_ng_container_2_Template, 2, 4, "ng-container", 26)(3, Listbox_div_4_ng_template_3_Template, 3, 3, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
387
- i0.ɵɵelementEnd();
388
- } if (rf & 2) {
389
- const builtInFilterElement_r5 = i0.ɵɵreference(4);
390
- const ctx_r1 = i0.ɵɵnextContext();
391
- i0.ɵɵadvance();
392
- i0.ɵɵproperty("ngIf", ctx_r1.checkbox && ctx_r1.multiple && ctx_r1.showToggleAll);
393
- i0.ɵɵadvance();
394
- i0.ɵɵproperty("ngIf", ctx_r1.filterTemplate || ctx_r1._filterTemplate)("ngIfElse", builtInFilterElement_r5);
395
- } }
396
- function Listbox_p_scroller_7_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
397
- i0.ɵɵelementContainer(0);
398
- } }
399
- function Listbox_p_scroller_7_ng_template_2_Template(rf, ctx) { if (rf & 1) {
400
- i0.ɵɵtemplate(0, Listbox_p_scroller_7_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 24);
401
- } if (rf & 2) {
402
- const items_r7 = ctx.$implicit;
403
- const scrollerOptions_r8 = ctx.options;
404
- i0.ɵɵnextContext(2);
405
- const buildInItems_r9 = i0.ɵɵreference(10);
406
- i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r9)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c19, items_r7, scrollerOptions_r8));
407
- } }
408
- function Listbox_p_scroller_7_Conditional_4_ng_template_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
409
- i0.ɵɵelementContainer(0);
410
- } }
411
- function Listbox_p_scroller_7_Conditional_4_ng_template_0_Template(rf, ctx) { if (rf & 1) {
412
- i0.ɵɵtemplate(0, Listbox_p_scroller_7_Conditional_4_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 24);
413
- } if (rf & 2) {
414
- const scrollerOptions_r10 = ctx.options;
415
- const ctx_r1 = i0.ɵɵnextContext(3);
416
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, scrollerOptions_r10));
417
- } }
418
- function Listbox_p_scroller_7_Conditional_4_Template(rf, ctx) { if (rf & 1) {
419
- i0.ɵɵtemplate(0, Listbox_p_scroller_7_Conditional_4_ng_template_0_Template, 1, 4, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
420
- } }
421
- function Listbox_p_scroller_7_Template(rf, ctx) { if (rf & 1) {
422
- const _r6 = i0.ɵɵgetCurrentView();
423
- i0.ɵɵelementStart(0, "p-scroller", 41, 8);
424
- i0.ɵɵlistener("onLazyLoad", function Listbox_p_scroller_7_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onLazyLoad.emit($event)); });
425
- i0.ɵɵtemplate(2, Listbox_p_scroller_7_ng_template_2_Template, 1, 5, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor)(4, Listbox_p_scroller_7_Conditional_4_Template, 2, 0);
426
- i0.ɵɵelementEnd();
427
- } if (rf & 2) {
428
- const ctx_r1 = i0.ɵɵnextContext();
429
- i0.ɵɵstyleMap(i0.ɵɵpureFunction1(9, _c23, ctx_r1.scrollHeight));
430
- i0.ɵɵproperty("items", ctx_r1.visibleOptions())("itemSize", ctx_r1.virtualScrollItemSize)("autoSize", true)("lazy", ctx_r1.lazy)("options", ctx_r1.virtualScrollOptions)("tabindex", ctx_r1.scrollerTabIndex);
431
- i0.ɵɵadvance(4);
432
- i0.ɵɵconditional(ctx_r1.loaderTemplate || ctx_r1._loaderTemplate ? 4 : -1);
433
- } }
434
- function Listbox_ng_container_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {
435
- i0.ɵɵelementContainer(0);
436
- } }
437
- function Listbox_ng_container_8_Template(rf, ctx) { if (rf & 1) {
438
- i0.ɵɵelementContainerStart(0);
439
- i0.ɵɵtemplate(1, Listbox_ng_container_8_ng_container_1_Template, 1, 0, "ng-container", 24);
440
- i0.ɵɵelementContainerEnd();
441
- } if (rf & 2) {
442
- const ctx_r1 = i0.ɵɵnextContext();
443
- const buildInItems_r9 = i0.ɵɵreference(10);
444
- i0.ɵɵadvance();
445
- i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r9)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c19, ctx_r1.visibleOptions(), i0.ɵɵpureFunction0(2, _c24)));
446
- } }
447
- function Listbox_ng_template_9_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
448
- i0.ɵɵelementStart(0, "span");
449
- i0.ɵɵtext(1);
450
- i0.ɵɵelementEnd();
451
- } if (rf & 2) {
452
- const option_r12 = i0.ɵɵnextContext(2).$implicit;
453
- const ctx_r1 = i0.ɵɵnextContext(2);
454
- i0.ɵɵadvance();
455
- i0.ɵɵtextInterpolate(ctx_r1.getOptionGroupLabel(option_r12.optionGroup));
456
- } }
457
- function Listbox_ng_template_9_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
458
- i0.ɵɵelementContainer(0);
459
- } }
460
- function Listbox_ng_template_9_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
461
- i0.ɵɵelementContainerStart(0);
462
- i0.ɵɵelementStart(1, "li", 45);
463
- i0.ɵɵtemplate(2, Listbox_ng_template_9_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 19)(3, Listbox_ng_template_9_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 24);
464
- i0.ɵɵelementEnd();
465
- i0.ɵɵelementContainerEnd();
466
- } if (rf & 2) {
467
- const ctx_r12 = i0.ɵɵnextContext();
468
- const option_r12 = ctx_r12.$implicit;
469
- const i_r14 = ctx_r12.index;
470
- const scrollerOptions_r15 = i0.ɵɵnextContext().options;
471
- const ctx_r1 = i0.ɵɵnextContext();
472
- i0.ɵɵadvance();
473
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c23, scrollerOptions_r15.itemSize + "px"))("cdkDragData", option_r12)("cdkDragDisabled", !ctx_r1.dragdrop);
474
- i0.ɵɵattribute("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15));
475
- i0.ɵɵadvance();
476
- i0.ɵɵproperty("ngIf", !ctx_r1.groupTemplate && !ctx_r1._groupTemplate);
477
- i0.ɵɵadvance();
478
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.groupTemplate || ctx_r1._groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(9, _c21, option_r12.optionGroup));
479
- } }
480
- function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
481
- function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
482
- i0.ɵɵtemplate(0, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
483
- } }
484
- function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
485
- i0.ɵɵtemplate(0, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_0_Template, 1, 0, null, 24);
486
- } if (rf & 2) {
487
- const option_r12 = i0.ɵɵnextContext(4).$implicit;
488
- const ctx_r1 = i0.ɵɵnextContext(2);
489
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c21, ctx_r1.isSelected(option_r12)));
490
- } }
491
- function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
492
- i0.ɵɵelementContainerStart(0);
493
- i0.ɵɵtemplate(1, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_Template, 1, 4, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
494
- i0.ɵɵelementContainerEnd();
495
- } }
496
- function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_Template(rf, ctx) { if (rf & 1) {
497
- i0.ɵɵelementStart(0, "p-checkbox", 48);
498
- i0.ɵɵtemplate(1, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_Template, 3, 0, "ng-container", 19);
499
- i0.ɵɵelementEnd();
500
- } if (rf & 2) {
501
- const option_r12 = i0.ɵɵnextContext(2).$implicit;
502
- const ctx_r1 = i0.ɵɵnextContext(2);
503
- i0.ɵɵproperty("ngModel", ctx_r1.isSelected(option_r12))("readonly", true)("disabled", ctx_r1.disabled || ctx_r1.isOptionDisabled(option_r12))("tabindex", -1)("variant", ctx_r1.config.inputStyle() === "filled" || ctx_r1.config.inputVariant() === "filled" ? "filled" : "outlined")("binary", true);
504
- i0.ɵɵadvance();
505
- i0.ɵɵproperty("ngIf", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate);
506
- } }
507
- function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_BlankIcon_1_Template(rf, ctx) { if (rf & 1) {
508
- i0.ɵɵelement(0, "BlankIcon", 50);
509
- } }
510
- function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_CheckIcon_2_Template(rf, ctx) { if (rf & 1) {
511
- i0.ɵɵelement(0, "CheckIcon", 50);
512
- } }
513
- function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
514
- i0.ɵɵelementContainerStart(0);
515
- i0.ɵɵtemplate(1, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_BlankIcon_1_Template, 1, 0, "BlankIcon", 49)(2, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_CheckIcon_2_Template, 1, 0, "CheckIcon", 49);
516
- i0.ɵɵelementContainerEnd();
517
- } if (rf & 2) {
518
- const option_r12 = i0.ɵɵnextContext(3).$implicit;
519
- const ctx_r1 = i0.ɵɵnextContext(2);
520
- i0.ɵɵadvance();
521
- i0.ɵɵproperty("ngIf", !ctx_r1.isSelected(option_r12));
522
- i0.ɵɵadvance();
523
- i0.ɵɵproperty("ngIf", ctx_r1.isSelected(option_r12));
524
- } }
525
- function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
526
- i0.ɵɵelementContainer(0);
527
- } }
528
- function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
529
- i0.ɵɵelementContainerStart(0);
530
- i0.ɵɵtemplate(1, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_Template, 3, 2, "ng-container", 19)(2, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_2_Template, 1, 0, "ng-container", 24);
531
- i0.ɵɵelementContainerEnd();
532
- } if (rf & 2) {
533
- const option_r12 = i0.ɵɵnextContext(2).$implicit;
534
- const ctx_r1 = i0.ɵɵnextContext(2);
535
- i0.ɵɵadvance();
536
- i0.ɵɵproperty("ngIf", !ctx_r1.checkmarkTemplate && !ctx_r1._checkmarkTemplate);
537
- i0.ɵɵadvance();
538
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.checkmarkTemplate || ctx_r1._checkmarkTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c27, ctx_r1.isSelected(option_r12)));
539
- } }
540
- function Listbox_ng_template_9_ng_template_2_ng_container_1_span_4_Template(rf, ctx) { if (rf & 1) {
541
- i0.ɵɵelementStart(0, "span");
542
- i0.ɵɵtext(1);
543
- i0.ɵɵelementEnd();
544
- } if (rf & 2) {
545
- const option_r12 = i0.ɵɵnextContext(2).$implicit;
546
- const ctx_r1 = i0.ɵɵnextContext(2);
547
- i0.ɵɵadvance();
548
- i0.ɵɵtextInterpolate(ctx_r1.getOptionLabel(option_r12));
549
- } }
550
- function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
551
- i0.ɵɵelementContainer(0);
552
- } }
553
- function Listbox_ng_template_9_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
554
- const _r16 = i0.ɵɵgetCurrentView();
555
- i0.ɵɵelementContainerStart(0);
556
- i0.ɵɵelementStart(1, "li", 46);
557
- i0.ɵɵlistener("click", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_click_1_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r12 = i0.ɵɵnextContext(); const option_r12 = ctx_r12.$implicit; const i_r14 = ctx_r12.index; const scrollerOptions_r15 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOptionSelect($event, option_r12, ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15))); })("dblclick", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_dblclick_1_listener($event) { i0.ɵɵrestoreView(_r16); const option_r12 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOptionDoubleClick($event, option_r12)); })("mousedown", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_mousedown_1_listener($event) { i0.ɵɵrestoreView(_r16); const i_r14 = i0.ɵɵnextContext().index; const scrollerOptions_r15 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOptionMouseDown($event, ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15))); })("mouseenter", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_mouseenter_1_listener($event) { i0.ɵɵrestoreView(_r16); const i_r14 = i0.ɵɵnextContext().index; const scrollerOptions_r15 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOptionMouseEnter($event, ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15))); })("touchend", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_touchend_1_listener() { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onOptionTouchEnd()); });
558
- i0.ɵɵtemplate(2, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_Template, 2, 7, "p-checkbox", 47)(3, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_Template, 3, 5, "ng-container", 19)(4, Listbox_ng_template_9_ng_template_2_ng_container_1_span_4_Template, 2, 1, "span", 19)(5, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_5_Template, 1, 0, "ng-container", 24);
559
- i0.ɵɵelementEnd();
560
- i0.ɵɵelementContainerEnd();
561
- } if (rf & 2) {
562
- const ctx_r12 = i0.ɵɵnextContext();
563
- const option_r12 = ctx_r12.$implicit;
564
- const i_r14 = ctx_r12.index;
565
- const scrollerOptions_r15 = i0.ɵɵnextContext().options;
566
- const ctx_r1 = i0.ɵɵnextContext();
567
- i0.ɵɵadvance();
568
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c23, scrollerOptions_r15.itemSize + "px"))("ngClass", i0.ɵɵpureFunction3(17, _c25, ctx_r1.isSelected(option_r12) && ctx_r1.highlightOnSelect, ctx_r1.focusedOptionIndex() === ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15), ctx_r1.isOptionDisabled(option_r12)))("cdkDragData", option_r12)("cdkDragDisabled", !ctx_r1.dragdrop);
569
- i0.ɵɵattribute("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15))("aria-label", ctx_r1.getOptionLabel(option_r12))("aria-selected", ctx_r1.isSelected(option_r12))("aria-disabled", ctx_r1.isOptionDisabled(option_r12))("aria-setsize", ctx_r1.ariaSetSize)("ariaPosInset", ctx_r1.getAriaPosInset(ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15)));
570
- i0.ɵɵadvance();
571
- i0.ɵɵproperty("ngIf", ctx_r1.checkbox && ctx_r1.multiple);
572
- i0.ɵɵadvance();
573
- i0.ɵɵproperty("ngIf", ctx_r1.checkmark);
574
- i0.ɵɵadvance();
575
- i0.ɵɵproperty("ngIf", !ctx_r1.itemTemplate && !ctx_r1._itemTemplate);
576
- i0.ɵɵadvance();
577
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.itemTemplate || ctx_r1._itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(21, _c26, option_r12, ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15), ctx_r1.isSelected(option_r12)));
578
- } }
579
- function Listbox_ng_template_9_ng_template_2_Template(rf, ctx) { if (rf & 1) {
580
- i0.ɵɵtemplate(0, Listbox_ng_template_9_ng_template_2_ng_container_0_Template, 4, 11, "ng-container", 19)(1, Listbox_ng_template_9_ng_template_2_ng_container_1_Template, 6, 25, "ng-container", 19);
581
- } if (rf & 2) {
582
- const option_r12 = ctx.$implicit;
583
- const ctx_r1 = i0.ɵɵnextContext(2);
584
- i0.ɵɵproperty("ngIf", ctx_r1.isOptionGroup(option_r12));
585
- i0.ɵɵadvance();
586
- i0.ɵɵproperty("ngIf", !ctx_r1.isOptionGroup(option_r12));
587
- } }
588
- function Listbox_ng_template_9_li_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
589
- i0.ɵɵtext(0);
590
- } if (rf & 2) {
591
- const ctx_r1 = i0.ɵɵnextContext(3);
592
- i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyFilterMessageText, " ");
593
- } }
594
- function Listbox_ng_template_9_li_3_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
595
- i0.ɵɵelementContainer(0, null, 12);
596
- } }
597
- function Listbox_ng_template_9_li_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
598
- i0.ɵɵtemplate(0, Listbox_ng_template_9_li_3_Conditional_2_ng_container_0_Template, 2, 0, "ng-container", 40);
599
- } if (rf & 2) {
600
- const ctx_r1 = i0.ɵɵnextContext(3);
601
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyFilterTemplate || ctx_r1._emptyFilterTemplate || ctx_r1._emptyTemplate || ctx_r1.emptyTemplate);
602
- } }
603
- function Listbox_ng_template_9_li_3_Template(rf, ctx) { if (rf & 1) {
604
- i0.ɵɵelementStart(0, "li", 51);
605
- i0.ɵɵtemplate(1, Listbox_ng_template_9_li_3_Conditional_1_Template, 1, 1)(2, Listbox_ng_template_9_li_3_Conditional_2_Template, 1, 1, "ng-container");
606
- i0.ɵɵelementEnd();
607
- } if (rf & 2) {
608
- const ctx_r1 = i0.ɵɵnextContext(2);
609
- i0.ɵɵadvance();
610
- i0.ɵɵconditional(!ctx_r1.emptyFilterTemplate && !ctx_r1._emptyFilterTemplate && !ctx_r1._emptyTemplate && !ctx_r1.emptyTemplate ? 1 : 2);
611
- } }
612
- function Listbox_ng_template_9_li_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
613
- i0.ɵɵtext(0);
614
- } if (rf & 2) {
615
- const ctx_r1 = i0.ɵɵnextContext(3);
616
- i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyMessage, " ");
617
- } }
618
- function Listbox_ng_template_9_li_4_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
619
- i0.ɵɵelementContainer(0, null, 13);
620
- } }
621
- function Listbox_ng_template_9_li_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
622
- i0.ɵɵtemplate(0, Listbox_ng_template_9_li_4_Conditional_2_ng_container_0_Template, 2, 0, "ng-container", 40);
623
- } if (rf & 2) {
624
- const ctx_r1 = i0.ɵɵnextContext(3);
625
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyTemplate || ctx_r1._emptyTemplate);
626
- } }
627
- function Listbox_ng_template_9_li_4_Template(rf, ctx) { if (rf & 1) {
628
- i0.ɵɵelementStart(0, "li", 51);
629
- i0.ɵɵtemplate(1, Listbox_ng_template_9_li_4_Conditional_1_Template, 1, 1)(2, Listbox_ng_template_9_li_4_Conditional_2_Template, 1, 1, "ng-container");
630
- i0.ɵɵelementEnd();
631
- } if (rf & 2) {
632
- const ctx_r1 = i0.ɵɵnextContext(2);
633
- i0.ɵɵadvance();
634
- i0.ɵɵconditional(!ctx_r1.emptyTemplate && !ctx_r1._emptyTemplate ? 1 : 2);
635
- } }
636
- function Listbox_ng_template_9_Template(rf, ctx) { if (rf & 1) {
637
- const _r11 = i0.ɵɵgetCurrentView();
638
- i0.ɵɵelementStart(0, "ul", 42, 11);
639
- i0.ɵɵlistener("focus", function Listbox_ng_template_9_Template_ul_focus_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onListFocus($event)); })("blur", function Listbox_ng_template_9_Template_ul_blur_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onListBlur($event)); })("keydown", function Listbox_ng_template_9_Template_ul_keydown_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onListKeyDown($event)); })("cdkDropListDropped", function Listbox_ng_template_9_Template_ul_cdkDropListDropped_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.drop($event)); });
640
- i0.ɵɵtemplate(2, Listbox_ng_template_9_ng_template_2_Template, 2, 2, "ng-template", 43)(3, Listbox_ng_template_9_li_3_Template, 3, 1, "li", 44)(4, Listbox_ng_template_9_li_4_Template, 3, 1, "li", 44);
641
- i0.ɵɵelementEnd();
642
- } if (rf & 2) {
643
- const items_r17 = ctx.$implicit;
644
- const scrollerOptions_r15 = ctx.options;
645
- const ctx_r1 = i0.ɵɵnextContext();
646
- i0.ɵɵstyleMap(scrollerOptions_r15.contentStyle);
647
- i0.ɵɵproperty("tabindex", -1)("ngClass", scrollerOptions_r15.contentStyleClass)("cdkDropListData", items_r17);
648
- i0.ɵɵattribute("aria-multiselectable", true)("aria-activedescendant", ctx_r1.focused ? ctx_r1.focusedOptionId : undefined)("aria-label", ctx_r1.ariaLabel)("aria-disabled", ctx_r1.disabled);
649
- i0.ɵɵadvance(2);
650
- i0.ɵɵproperty("ngForOf", items_r17);
651
- i0.ɵɵadvance();
652
- i0.ɵɵproperty("ngIf", ctx_r1.hasFilter() && ctx_r1.isEmpty());
653
- i0.ɵɵadvance();
654
- i0.ɵɵproperty("ngIf", !ctx_r1.hasFilter() && ctx_r1.isEmpty());
655
- } }
656
- function Listbox_div_11_ng_container_2_Template(rf, ctx) { if (rf & 1) {
657
- i0.ɵɵelementContainer(0);
658
- } }
659
- function Listbox_div_11_Template(rf, ctx) { if (rf & 1) {
660
- i0.ɵɵelementStart(0, "div", 52);
661
- i0.ɵɵprojection(1, 1);
662
- i0.ɵɵtemplate(2, Listbox_div_11_ng_container_2_Template, 1, 0, "ng-container", 24);
663
- i0.ɵɵelementEnd();
664
- } if (rf & 2) {
665
- const ctx_r1 = i0.ɵɵnextContext();
666
- i0.ɵɵadvance(2);
667
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c19, ctx_r1.modelValue(), ctx_r1.visibleOptions()));
668
- } }
669
- function Listbox_span_12_Template(rf, ctx) { if (rf & 1) {
670
- i0.ɵɵelementStart(0, "span", 22);
671
- i0.ɵɵtext(1);
672
- i0.ɵɵelementEnd();
673
- } if (rf & 2) {
674
- const ctx_r1 = i0.ɵɵnextContext();
675
- i0.ɵɵadvance();
676
- i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyMessage, " ");
677
- } }
678
239
  const LISTBOX_VALUE_ACCESSOR = {
679
240
  provide: NG_VALUE_ACCESSOR,
680
241
  useExisting: forwardRef(() => Listbox),
@@ -870,7 +431,7 @@ class Listbox extends BaseComponent {
870
431
  */
871
432
  optionGroupLabel = 'label';
872
433
  /**
873
- * Name of the disabled field of an option.
434
+ * Name of the disabled field of an option or function to determine disabled state.
874
435
  * @group Props
875
436
  */
876
437
  optionDisabled;
@@ -1758,6 +1319,9 @@ class Listbox extends BaseComponent {
1758
1319
  return this.isValidOption(option) && this.isSelected(option);
1759
1320
  }
1760
1321
  isOptionDisabled(option) {
1322
+ if (isFunction(this.optionDisabled)) {
1323
+ return this.optionDisabled(option);
1324
+ }
1761
1325
  return this.optionDisabled ? resolveFieldData(option, this.optionDisabled) : false;
1762
1326
  }
1763
1327
  isSelected(option) {
@@ -1793,121 +1357,242 @@ class Listbox extends BaseComponent {
1793
1357
  }
1794
1358
  super.ngOnDestroy();
1795
1359
  }
1796
- static ɵfac = function Listbox_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Listbox)(i0.ɵɵdirectiveInject(i1.FilterService)); };
1797
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Listbox, selectors: [["p-listbox"], ["p-listBox"], ["p-list-box"]], contentQueries: function Listbox_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1798
- i0.ɵɵcontentQuery(dirIndex, Header, 5);
1799
- i0.ɵɵcontentQuery(dirIndex, Footer, 5);
1800
- i0.ɵɵcontentQuery(dirIndex, _c0, 4);
1801
- i0.ɵɵcontentQuery(dirIndex, _c1, 4);
1802
- i0.ɵɵcontentQuery(dirIndex, _c2, 4);
1803
- i0.ɵɵcontentQuery(dirIndex, _c3, 4);
1804
- i0.ɵɵcontentQuery(dirIndex, _c4, 4);
1805
- i0.ɵɵcontentQuery(dirIndex, _c5, 4);
1806
- i0.ɵɵcontentQuery(dirIndex, _c6, 4);
1807
- i0.ɵɵcontentQuery(dirIndex, _c7, 4);
1808
- i0.ɵɵcontentQuery(dirIndex, _c8, 4);
1809
- i0.ɵɵcontentQuery(dirIndex, _c9, 4);
1810
- i0.ɵɵcontentQuery(dirIndex, _c10, 4);
1811
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
1812
- } if (rf & 2) {
1813
- let _t;
1814
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerFacet = _t.first);
1815
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerFacet = _t.first);
1816
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
1817
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.groupTemplate = _t.first);
1818
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
1819
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterTemplate = _t.first);
1820
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
1821
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyFilterTemplate = _t.first);
1822
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyTemplate = _t.first);
1823
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterIconTemplate = _t.first);
1824
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkIconTemplate = _t.first);
1825
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkmarkTemplate = _t.first);
1826
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderTemplate = _t.first);
1827
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
1828
- } }, viewQuery: function Listbox_Query(rf, ctx) { if (rf & 1) {
1829
- i0.ɵɵviewQuery(_c11, 5);
1830
- i0.ɵɵviewQuery(_c3, 5);
1831
- i0.ɵɵviewQuery(_c12, 5);
1832
- i0.ɵɵviewQuery(_c13, 5);
1833
- i0.ɵɵviewQuery(_c14, 5);
1834
- i0.ɵɵviewQuery(_c15, 5);
1835
- i0.ɵɵviewQuery(_c16, 5);
1836
- } if (rf & 2) {
1837
- let _t;
1838
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerCheckboxViewChild = _t.first);
1839
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterViewChild = _t.first);
1840
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastHiddenFocusableElement = _t.first);
1841
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.firstHiddenFocusableElement = _t.first);
1842
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);
1843
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listViewChild = _t.first);
1844
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerViewChild = _t.first);
1845
- } }, inputs: { id: "id", searchMessage: "searchMessage", emptySelectionMessage: "emptySelectionMessage", selectionMessage: "selectionMessage", autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute], ariaLabel: "ariaLabel", selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: [2, "searchLocale", "searchLocale", booleanAttribute], focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], filterMessage: "filterMessage", filterFields: "filterFields", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", scrollHeight: "scrollHeight", tabindex: [2, "tabindex", "tabindex", numberAttribute], multiple: [2, "multiple", "multiple", booleanAttribute], style: "style", styleClass: "styleClass", listStyle: "listStyle", listStyleClass: "listStyleClass", readonly: [2, "readonly", "readonly", booleanAttribute], disabled: [2, "disabled", "disabled", booleanAttribute], checkbox: [2, "checkbox", "checkbox", booleanAttribute], filter: [2, "filter", "filter", booleanAttribute], filterBy: "filterBy", filterMatchMode: "filterMatchMode", filterLocale: "filterLocale", metaKeySelection: [2, "metaKeySelection", "metaKeySelection", booleanAttribute], dataKey: "dataKey", showToggleAll: [2, "showToggleAll", "showToggleAll", booleanAttribute], optionLabel: "optionLabel", optionValue: "optionValue", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", optionDisabled: "optionDisabled", ariaFilterLabel: "ariaFilterLabel", filterPlaceHolder: "filterPlaceHolder", emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", group: [2, "group", "group", booleanAttribute], options: "options", filterValue: "filterValue", selectAll: "selectAll", striped: [2, "striped", "striped", booleanAttribute], highlightOnSelect: [2, "highlightOnSelect", "highlightOnSelect", booleanAttribute], checkmark: [2, "checkmark", "checkmark", booleanAttribute], dragdrop: [2, "dragdrop", "dragdrop", booleanAttribute] }, outputs: { onChange: "onChange", onClick: "onClick", onDblClick: "onDblClick", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onSelectAllChange: "onSelectAllChange", onLazyLoad: "onLazyLoad", onDrop: "onDrop" }, features: [i0.ɵɵProvidersFeature([
1846
- LISTBOX_VALUE_ACCESSOR,
1847
- ListBoxStyle,
1848
- {
1849
- provide: CDK_DRAG_CONFIG,
1850
- useValue: {
1851
- zIndex: 1200
1852
- }
1360
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Listbox, deps: [{ token: i1.FilterService }], target: i0.ɵɵFactoryTarget.Component });
1361
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: Listbox, isStandalone: true, selector: "p-listbox, p-listBox, p-list-box", inputs: { id: "id", searchMessage: "searchMessage", emptySelectionMessage: "emptySelectionMessage", selectionMessage: "selectionMessage", autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], ariaLabel: "ariaLabel", selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: ["searchLocale", "searchLocale", booleanAttribute], focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], filterMessage: "filterMessage", filterFields: "filterFields", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", scrollHeight: "scrollHeight", tabindex: ["tabindex", "tabindex", numberAttribute], multiple: ["multiple", "multiple", booleanAttribute], style: "style", styleClass: "styleClass", listStyle: "listStyle", listStyleClass: "listStyleClass", readonly: ["readonly", "readonly", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], checkbox: ["checkbox", "checkbox", booleanAttribute], filter: ["filter", "filter", booleanAttribute], filterBy: "filterBy", filterMatchMode: "filterMatchMode", filterLocale: "filterLocale", metaKeySelection: ["metaKeySelection", "metaKeySelection", booleanAttribute], dataKey: "dataKey", showToggleAll: ["showToggleAll", "showToggleAll", booleanAttribute], optionLabel: "optionLabel", optionValue: "optionValue", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", optionDisabled: "optionDisabled", ariaFilterLabel: "ariaFilterLabel", filterPlaceHolder: "filterPlaceHolder", emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", group: ["group", "group", booleanAttribute], options: "options", filterValue: "filterValue", selectAll: "selectAll", striped: ["striped", "striped", booleanAttribute], highlightOnSelect: ["highlightOnSelect", "highlightOnSelect", booleanAttribute], checkmark: ["checkmark", "checkmark", booleanAttribute], dragdrop: ["dragdrop", "dragdrop", booleanAttribute] }, outputs: { onChange: "onChange", onClick: "onClick", onDblClick: "onDblClick", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onSelectAllChange: "onSelectAllChange", onLazyLoad: "onLazyLoad", onDrop: "onDrop" }, providers: [
1362
+ LISTBOX_VALUE_ACCESSOR,
1363
+ ListBoxStyle,
1364
+ {
1365
+ provide: CDK_DRAG_CONFIG,
1366
+ useValue: {
1367
+ zIndex: 1200
1853
1368
  }
1854
- ]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c18, decls: 17, vars: 23, consts: [["firstHiddenFocusableElement", ""], ["container", ""], ["buildInItems", ""], ["lastHiddenFocusableElement", ""], ["builtInFilterElement", ""], ["headerchkbox", ""], ["icon", ""], ["filterInput", ""], ["scroller", ""], ["content", ""], ["loader", ""], ["list", ""], ["emptyFilter", ""], ["empty", ""], [3, "focusout", "ngClass", "ngStyle"], ["role", "presentation", 1, "p-hidden-accessible", "p-hidden-focusable", 3, "focus", "tabindex"], ["class", "p-listbox-header", 4, "ngIf"], [3, "ngClass", "ngStyle"], [3, "items", "style", "itemSize", "autoSize", "lazy", "options", "tabindex", "onLazyLoad", 4, "ngIf"], [4, "ngIf"], ["class", "p-listbox-footer", 4, "ngIf"], ["role", "status", "aria-live", "polite", "class", "p-hidden-accessible", 4, "ngIf"], ["role", "status", "aria-live", "polite", 1, "p-hidden-accessible"], [1, "p-listbox-header"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "p-checkbox p-component", 3, "ngClass", "click", "keydown", 4, "ngIf"], [4, "ngIf", "ngIfElse"], [1, "p-checkbox", "p-component", 3, "click", "keydown", "ngClass"], [1, "p-hidden-accessible"], ["type", "checkbox", "readonly", "readonly", 3, "focus", "blur", "disabled"], ["styleClass", "p-listbox-option-check-icon", 3, "ngModel", "disabled", "tabindex", "variant", "binary", 4, "ngIf"], ["styleClass", "p-listbox-option-check-icon", 3, "ngModel", "disabled", "tabindex", "variant", "binary"], ["class", "p-listbox-filter-container", 4, "ngIf"], ["role", "status", "attr.aria-live", "polite", 1, "p-hidden-accessible"], [1, "p-listbox-filter-container"], ["pInputText", "", "type", "text", "role", "searchbox", 1, "p-listbox-filter", 3, "input", "keydown", "focus", "blur", "value", "disabled", "tabindex"], [3, "styleClass", 4, "ngIf"], ["class", "p-listbox-filter-icon", 4, "ngIf"], [3, "styleClass"], [1, "p-listbox-filter-icon"], [4, "ngTemplateOutlet"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "lazy", "options", "tabindex"], ["role", "listbox", "cdkDropList", "", 1, "p-listbox-list", 3, "focus", "blur", "keydown", "cdkDropListDropped", "tabindex", "ngClass", "cdkDropListData"], ["ngFor", "", 3, "ngForOf"], ["class", "p-listbox-empty-message", "role", "option", 4, "ngIf"], ["role", "option", "cdkDrag", "", 1, "p-listbox-option-group", 3, "ngStyle", "cdkDragData", "cdkDragDisabled"], ["pRipple", "", "role", "option", "cdkDrag", "", 1, "p-listbox-option", 3, "click", "dblclick", "mousedown", "mouseenter", "touchend", "ngStyle", "ngClass", "cdkDragData", "cdkDragDisabled"], ["styleClass", "p-listbox-option-check-icon", 3, "ngModel", "readonly", "disabled", "tabindex", "variant", "binary", 4, "ngIf"], ["styleClass", "p-listbox-option-check-icon", 3, "ngModel", "readonly", "disabled", "tabindex", "variant", "binary"], ["styleClass", "p-listbox-option-check-icon", 4, "ngIf"], ["styleClass", "p-listbox-option-check-icon"], ["role", "option", 1, "p-listbox-empty-message"], [1, "p-listbox-footer"]], template: function Listbox_Template(rf, ctx) { if (rf & 1) {
1855
- const _r1 = i0.ɵɵgetCurrentView();
1856
- i0.ɵɵprojectionDef(_c17);
1857
- i0.ɵɵelementStart(0, "div", 14);
1858
- i0.ɵɵlistener("focusout", function Listbox_Template_div_focusout_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFocusout($event)); });
1859
- i0.ɵɵelementStart(1, "span", 15, 0);
1860
- i0.ɵɵlistener("focus", function Listbox_Template_span_focus_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFirstHiddenFocus($event)); });
1861
- i0.ɵɵelementEnd();
1862
- i0.ɵɵtemplate(3, Listbox_div_3_Template, 3, 5, "div", 16)(4, Listbox_div_4_Template, 5, 3, "div", 16);
1863
- i0.ɵɵelementStart(5, "div", 17, 1);
1864
- i0.ɵɵtemplate(7, Listbox_p_scroller_7_Template, 5, 11, "p-scroller", 18)(8, Listbox_ng_container_8_Template, 2, 6, "ng-container", 19)(9, Listbox_ng_template_9_Template, 5, 12, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
1865
- i0.ɵɵelementEnd();
1866
- i0.ɵɵtemplate(11, Listbox_div_11_Template, 3, 5, "div", 20)(12, Listbox_span_12_Template, 2, 1, "span", 21);
1867
- i0.ɵɵelementStart(13, "span", 22);
1868
- i0.ɵɵtext(14);
1869
- i0.ɵɵelementEnd();
1870
- i0.ɵɵelementStart(15, "span", 15, 3);
1871
- i0.ɵɵlistener("focus", function Listbox_Template_span_focus_15_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onLastHiddenFocus($event)); });
1872
- i0.ɵɵelementEnd()();
1873
- } if (rf & 2) {
1874
- i0.ɵɵclassMap(ctx.styleClass);
1875
- i0.ɵɵproperty("ngClass", ctx.containerClass)("ngStyle", ctx.style);
1876
- i0.ɵɵattribute("id", ctx.id);
1877
- i0.ɵɵadvance();
1878
- i0.ɵɵproperty("tabindex", !ctx.disabled ? ctx.tabindex : -1);
1879
- i0.ɵɵattribute("data-p-hidden-focusable", true);
1880
- i0.ɵɵadvance(2);
1881
- i0.ɵɵproperty("ngIf", ctx.headerFacet || ctx.headerTemplate || ctx._headerTemplate);
1882
- i0.ɵɵadvance();
1883
- i0.ɵɵproperty("ngIf", ctx.checkbox && ctx.multiple && ctx.showToggleAll || ctx.filter);
1884
- i0.ɵɵadvance();
1885
- i0.ɵɵclassMap(ctx.listStyleClass);
1886
- i0.ɵɵstyleProp("max-height", ctx.virtualScroll ? "auto" : ctx.scrollHeight || "auto");
1887
- i0.ɵɵproperty("ngClass", "p-listbox-list-container")("ngStyle", ctx.listStyle);
1888
- i0.ɵɵattribute("tabindex", !ctx.disabled && "0");
1889
- i0.ɵɵadvance(2);
1890
- i0.ɵɵproperty("ngIf", ctx.virtualScroll);
1891
- i0.ɵɵadvance();
1892
- i0.ɵɵproperty("ngIf", !ctx.virtualScroll);
1893
- i0.ɵɵadvance(3);
1894
- i0.ɵɵproperty("ngIf", ctx.footerFacet || ctx.footerTemplate || ctx._footerTemplate);
1895
- i0.ɵɵadvance();
1896
- i0.ɵɵproperty("ngIf", ctx.isEmpty());
1897
- i0.ɵɵadvance(2);
1898
- i0.ɵɵtextInterpolate1(" ", ctx.selectedMessageText, " ");
1899
- i0.ɵɵadvance();
1900
- i0.ɵɵproperty("tabindex", !ctx.disabled ? ctx.tabindex : -1);
1901
- i0.ɵɵattribute("data-p-hidden-focusable", true);
1902
- } }, dependencies: [CommonModule, i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, Ripple, Scroller, InputIcon, SearchIcon, Checkbox, CheckIcon, IconField, InputText, BlankIcon, FormsModule, i3.NgControlStatus, i3.NgModel, SharedModule, DragDropModule, i4.CdkDropList, i4.CdkDrag], encapsulation: 2, changeDetection: 0 });
1369
+ }
1370
+ ], queries: [{ propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { 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: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "checkIconTemplate", first: true, predicate: ["checkicon"] }, { propertyName: "checkmarkTemplate", first: true, predicate: ["checkmark"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerchkbox"], descendants: true }, { propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "lastHiddenFocusableElement", first: true, predicate: ["lastHiddenFocusableElement"], descendants: true }, { propertyName: "firstHiddenFocusableElement", first: true, predicate: ["firstHiddenFocusableElement"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true }, { propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1371
+ <div [attr.id]="id" [ngClass]="containerClass" [ngStyle]="style" [class]="styleClass" (focusout)="onFocusout($event)">
1372
+ <span #firstHiddenFocusableElement role="presentation" class="p-hidden-accessible p-hidden-focusable" [tabindex]="!disabled ? tabindex : -1" (focus)="onFirstHiddenFocus($event)" [attr.data-p-hidden-focusable]="true"> </span>
1373
+ <div class="p-listbox-header" *ngIf="headerFacet || headerTemplate || _headerTemplate">
1374
+ <ng-content select="p-header"></ng-content>
1375
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate; context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1376
+ </div>
1377
+ <div class="p-listbox-header" *ngIf="(checkbox && multiple && showToggleAll) || filter">
1378
+ <div *ngIf="checkbox && multiple && showToggleAll" class="p-checkbox p-component" [ngClass]="{ 'p-checkbox-disabled': disabled }" (click)="onToggleAll($event)" (keydown)="onHeaderCheckboxKeyDown($event)">
1379
+ <div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
1380
+ <input #headerchkbox type="checkbox" readonly="readonly" [attr.checked]="allSelected()" [disabled]="disabled" (focus)="onHeaderCheckboxFocus($event)" (blur)="onHeaderCheckboxBlur()" [attr.aria-label]="toggleAllAriaLabel" />
1381
+ </div>
1382
+ <p-checkbox
1383
+ *ngIf="checkbox && multiple"
1384
+ styleClass="p-listbox-option-check-icon"
1385
+ [ngModel]="allSelected()"
1386
+ [disabled]="disabled"
1387
+ [tabindex]="-1"
1388
+ [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1389
+ [binary]="true"
1390
+ >
1391
+ <ng-container *ngIf="checkIconTemplate || _checkIconTemplate">
1392
+ <ng-template #icon>
1393
+ <ng-template *ngTemplateOutlet="checkIconTemplate || _checkIconTemplate; context: { $implicit: allSelected() }"></ng-template>
1394
+ </ng-template>
1395
+ </ng-container>
1396
+ </p-checkbox>
1397
+ </div>
1398
+ <ng-container *ngIf="filterTemplate || _filterTemplate; else builtInFilterElement">
1399
+ <ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
1400
+ </ng-container>
1401
+ <ng-template #builtInFilterElement>
1402
+ <div class="p-listbox-filter-container" *ngIf="filter">
1403
+ <p-iconfield>
1404
+ <input
1405
+ #filterInput
1406
+ pInputText
1407
+ type="text"
1408
+ class="p-listbox-filter"
1409
+ role="searchbox"
1410
+ [value]="_filterValue() || ''"
1411
+ [disabled]="disabled"
1412
+ [attr.aria-owns]="id + '_list'"
1413
+ [attr.aria-activedescendant]="focusedOptionId"
1414
+ [attr.placeholder]="filterPlaceHolder"
1415
+ [attr.aria-label]="ariaFilterLabel"
1416
+ [tabindex]="!disabled && !focused ? tabindex : -1"
1417
+ (input)="onFilterChange($event)"
1418
+ (keydown)="onFilterKeyDown($event)"
1419
+ (focus)="onFilterFocus($event)"
1420
+ (blur)="onFilterBlur($event)"
1421
+ />
1422
+ <p-inputicon>
1423
+ <SearchIcon *ngIf="!filterIconTemplate && !_filterIconTemplate" [styleClass]="'p-listbox-filter-icon'" [attr.aria-hidden]="true" />
1424
+ <span *ngIf="filterIconTemplate || _filterIconTemplate" class="p-listbox-filter-icon" [attr.aria-hidden]="true">
1425
+ <ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
1426
+ </span>
1427
+ </p-inputicon>
1428
+ </p-iconfield>
1429
+ </div>
1430
+ <span role="status" attr.aria-live="polite" class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
1431
+ {{ filterResultMessageText }}
1432
+ </span>
1433
+ </ng-template>
1434
+ </div>
1435
+ <div [ngClass]="'p-listbox-list-container'" #container [ngStyle]="listStyle" [class]="listStyleClass" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'" [attr.tabindex]="!disabled && '0'">
1436
+ <p-scroller
1437
+ #scroller
1438
+ *ngIf="virtualScroll"
1439
+ [items]="visibleOptions()"
1440
+ [style]="{ height: scrollHeight }"
1441
+ [itemSize]="virtualScrollItemSize"
1442
+ [autoSize]="true"
1443
+ [lazy]="lazy"
1444
+ [options]="virtualScrollOptions"
1445
+ (onLazyLoad)="onLazyLoad.emit($event)"
1446
+ [tabindex]="scrollerTabIndex"
1447
+ >
1448
+ <ng-template #content let-items let-scrollerOptions="options">
1449
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1450
+ </ng-template>
1451
+ @if (loaderTemplate || _loaderTemplate) {
1452
+ <ng-template #loader let-scrollerOptions="options">
1453
+ <ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
1454
+ </ng-template>
1455
+ }
1456
+ </p-scroller>
1457
+ <ng-container *ngIf="!virtualScroll">
1458
+ <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
1459
+ </ng-container>
1460
+
1461
+ <ng-template #buildInItems let-items let-scrollerOptions="options">
1462
+ <ul
1463
+ #list
1464
+ class="p-listbox-list"
1465
+ role="listbox"
1466
+ [tabindex]="-1"
1467
+ [attr.aria-multiselectable]="true"
1468
+ [ngClass]="scrollerOptions.contentStyleClass"
1469
+ [style]="scrollerOptions.contentStyle"
1470
+ [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
1471
+ [attr.aria-label]="ariaLabel"
1472
+ [attr.aria-disabled]="disabled"
1473
+ (focus)="onListFocus($event)"
1474
+ (blur)="onListBlur($event)"
1475
+ (keydown)="onListKeyDown($event)"
1476
+ cdkDropList
1477
+ [cdkDropListData]="items"
1478
+ (cdkDropListDropped)="drop($event)"
1479
+ >
1480
+ <ng-template ngFor let-option [ngForOf]="items" let-i="index">
1481
+ <ng-container *ngIf="isOptionGroup(option)">
1482
+ <li
1483
+ [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
1484
+ class="p-listbox-option-group"
1485
+ [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
1486
+ role="option"
1487
+ cdkDrag
1488
+ [cdkDragData]="option"
1489
+ [cdkDragDisabled]="!dragdrop"
1490
+ >
1491
+ <span *ngIf="!groupTemplate && !_groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
1492
+ <ng-container *ngTemplateOutlet="groupTemplate || _groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
1493
+ </li>
1494
+ </ng-container>
1495
+ <ng-container *ngIf="!isOptionGroup(option)">
1496
+ <li
1497
+ pRipple
1498
+ class="p-listbox-option"
1499
+ role="option"
1500
+ [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
1501
+ [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
1502
+ [ngClass]="{
1503
+ 'p-listbox-option-selected': isSelected(option) && highlightOnSelect,
1504
+ 'p-focus': focusedOptionIndex() === getOptionIndex(i, scrollerOptions),
1505
+ 'p-disabled': isOptionDisabled(option)
1506
+ }"
1507
+ [attr.aria-label]="getOptionLabel(option)"
1508
+ [attr.aria-selected]="isSelected(option)"
1509
+ [attr.aria-disabled]="isOptionDisabled(option)"
1510
+ [attr.aria-setsize]="ariaSetSize"
1511
+ [attr.ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
1512
+ (click)="onOptionSelect($event, option, getOptionIndex(i, scrollerOptions))"
1513
+ (dblclick)="onOptionDoubleClick($event, option)"
1514
+ (mousedown)="onOptionMouseDown($event, getOptionIndex(i, scrollerOptions))"
1515
+ (mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
1516
+ (touchend)="onOptionTouchEnd()"
1517
+ cdkDrag
1518
+ [cdkDragData]="option"
1519
+ [cdkDragDisabled]="!dragdrop"
1520
+ >
1521
+ <p-checkbox
1522
+ *ngIf="checkbox && multiple"
1523
+ styleClass="p-listbox-option-check-icon"
1524
+ [ngModel]="isSelected(option)"
1525
+ [readonly]="true"
1526
+ [disabled]="disabled || isOptionDisabled(option)"
1527
+ [tabindex]="-1"
1528
+ [variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
1529
+ [binary]="true"
1530
+ >
1531
+ <ng-container *ngIf="checkIconTemplate || _checkIconTemplate">
1532
+ <ng-template #icon>
1533
+ <ng-template *ngTemplateOutlet="checkIconTemplate || _checkIconTemplate; context: { $implicit: isSelected(option) }"></ng-template>
1534
+ </ng-template>
1535
+ </ng-container>
1536
+ </p-checkbox>
1537
+ <ng-container *ngIf="checkmark">
1538
+ <ng-container *ngIf="!checkmarkTemplate && !_checkmarkTemplate">
1539
+ <BlankIcon *ngIf="!isSelected(option)" styleClass="p-listbox-option-check-icon" />
1540
+ <CheckIcon *ngIf="isSelected(option)" styleClass="p-listbox-option-check-icon" />
1541
+ </ng-container>
1542
+ <ng-container *ngTemplateOutlet="checkmarkTemplate || _checkmarkTemplate; context: { implicit: isSelected(option) }"></ng-container>
1543
+ </ng-container>
1544
+ <span *ngIf="!itemTemplate && !_itemTemplate">{{ getOptionLabel(option) }}</span>
1545
+ <ng-container
1546
+ *ngTemplateOutlet="
1547
+ itemTemplate || _itemTemplate;
1548
+ context: {
1549
+ $implicit: option,
1550
+ index: getOptionIndex(i, scrollerOptions),
1551
+ selected: isSelected(option)
1552
+ }
1553
+ "
1554
+ ></ng-container>
1555
+ </li>
1556
+ </ng-container>
1557
+ </ng-template>
1558
+ <li *ngIf="hasFilter() && isEmpty()" class="p-listbox-empty-message" role="option">
1559
+ @if (!emptyFilterTemplate && !_emptyFilterTemplate && !_emptyTemplate && !emptyTemplate) {
1560
+ {{ emptyFilterMessageText }}
1561
+ } @else {
1562
+ <ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || _emptyFilterTemplate || _emptyTemplate || emptyTemplate"></ng-container>
1563
+ }
1564
+ </li>
1565
+ <li *ngIf="!hasFilter() && isEmpty()" class="p-listbox-empty-message" role="option">
1566
+ @if (!emptyTemplate && !_emptyTemplate) {
1567
+ {{ emptyMessage }}
1568
+ } @else {
1569
+ <ng-container #empty *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
1570
+ }
1571
+ </li>
1572
+ </ul>
1573
+ </ng-template>
1574
+ </div>
1575
+ <div class="p-listbox-footer" *ngIf="footerFacet || footerTemplate || _footerTemplate">
1576
+ <ng-content select="p-footer"></ng-content>
1577
+ <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate; context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
1578
+ </div>
1579
+ <span *ngIf="isEmpty()" role="status" aria-live="polite" class="p-hidden-accessible">
1580
+ {{ emptyMessage }}
1581
+ </span>
1582
+ <span role="status" aria-live="polite" class="p-hidden-accessible">
1583
+ {{ selectedMessageText }}
1584
+ </span>
1585
+ <span #lastHiddenFocusableElement role="presentation" class="p-hidden-accessible p-hidden-focusable" [tabindex]="!disabled ? tabindex : -1" (focus)="onLastHiddenFocus($event)" [attr.data-p-hidden-focusable]="true"> </span>
1586
+ </div>
1587
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "component", type: SearchIcon, selector: "SearchIcon" }, { 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: "component", type: CheckIcon, selector: "CheckIcon" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["iconPosition", "styleClass"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: BlankIcon, selector: "BlankIcon" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1903
1588
  }
1904
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Listbox, [{
1905
- type: Component,
1906
- args: [{
1907
- selector: 'p-listbox, p-listBox, p-list-box',
1908
- standalone: true,
1909
- imports: [CommonModule, Ripple, Scroller, InputIcon, SearchIcon, Checkbox, CheckIcon, IconField, InputText, BlankIcon, FormsModule, SharedModule, DragDropModule],
1910
- template: `
1589
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Listbox, decorators: [{
1590
+ type: Component,
1591
+ args: [{
1592
+ selector: 'p-listbox, p-listBox, p-list-box',
1593
+ standalone: true,
1594
+ imports: [CommonModule, Ripple, Scroller, InputIcon, SearchIcon, Checkbox, CheckIcon, IconField, InputText, BlankIcon, FormsModule, SharedModule, DragDropModule],
1595
+ template: `
1911
1596
  <div [attr.id]="id" [ngClass]="containerClass" [ngStyle]="style" [class]="styleClass" (focusout)="onFocusout($event)">
1912
1597
  <span #firstHiddenFocusableElement role="presentation" class="p-hidden-accessible p-hidden-focusable" [tabindex]="!disabled ? tabindex : -1" (focus)="onFirstHiddenFocus($event)" [attr.data-p-hidden-focusable]="true"> </span>
1913
1598
  <div class="p-listbox-header" *ngIf="headerFacet || headerTemplate || _headerTemplate">
@@ -2125,233 +1810,231 @@ class Listbox extends BaseComponent {
2125
1810
  <span #lastHiddenFocusableElement role="presentation" class="p-hidden-accessible p-hidden-focusable" [tabindex]="!disabled ? tabindex : -1" (focus)="onLastHiddenFocus($event)" [attr.data-p-hidden-focusable]="true"> </span>
2126
1811
  </div>
2127
1812
  `,
2128
- providers: [
2129
- LISTBOX_VALUE_ACCESSOR,
2130
- ListBoxStyle,
2131
- {
2132
- provide: CDK_DRAG_CONFIG,
2133
- useValue: {
2134
- zIndex: 1200
1813
+ providers: [
1814
+ LISTBOX_VALUE_ACCESSOR,
1815
+ ListBoxStyle,
1816
+ {
1817
+ provide: CDK_DRAG_CONFIG,
1818
+ useValue: {
1819
+ zIndex: 1200
1820
+ }
2135
1821
  }
2136
- }
2137
- ],
2138
- changeDetection: ChangeDetectionStrategy.OnPush,
2139
- encapsulation: ViewEncapsulation.None
2140
- }]
2141
- }], () => [{ type: i1.FilterService }], { id: [{
2142
- type: Input
2143
- }], searchMessage: [{
2144
- type: Input
2145
- }], emptySelectionMessage: [{
2146
- type: Input
2147
- }], selectionMessage: [{
2148
- type: Input
2149
- }], autoOptionFocus: [{
2150
- type: Input,
2151
- args: [{ transform: booleanAttribute }]
2152
- }], ariaLabel: [{
2153
- type: Input
2154
- }], selectOnFocus: [{
2155
- type: Input,
2156
- args: [{ transform: booleanAttribute }]
2157
- }], searchLocale: [{
2158
- type: Input,
2159
- args: [{ transform: booleanAttribute }]
2160
- }], focusOnHover: [{
2161
- type: Input,
2162
- args: [{ transform: booleanAttribute }]
2163
- }], filterMessage: [{
2164
- type: Input
2165
- }], filterFields: [{
2166
- type: Input
2167
- }], lazy: [{
2168
- type: Input,
2169
- args: [{ transform: booleanAttribute }]
2170
- }], virtualScroll: [{
2171
- type: Input,
2172
- args: [{ transform: booleanAttribute }]
2173
- }], virtualScrollItemSize: [{
2174
- type: Input,
2175
- args: [{ transform: numberAttribute }]
2176
- }], virtualScrollOptions: [{
2177
- type: Input
2178
- }], scrollHeight: [{
2179
- type: Input
2180
- }], tabindex: [{
2181
- type: Input,
2182
- args: [{ transform: numberAttribute }]
2183
- }], multiple: [{
2184
- type: Input,
2185
- args: [{ transform: booleanAttribute }]
2186
- }], style: [{
2187
- type: Input
2188
- }], styleClass: [{
2189
- type: Input
2190
- }], listStyle: [{
2191
- type: Input
2192
- }], listStyleClass: [{
2193
- type: Input
2194
- }], readonly: [{
2195
- type: Input,
2196
- args: [{ transform: booleanAttribute }]
2197
- }], disabled: [{
2198
- type: Input,
2199
- args: [{ transform: booleanAttribute }]
2200
- }], checkbox: [{
2201
- type: Input,
2202
- args: [{ transform: booleanAttribute }]
2203
- }], filter: [{
2204
- type: Input,
2205
- args: [{ transform: booleanAttribute }]
2206
- }], filterBy: [{
2207
- type: Input
2208
- }], filterMatchMode: [{
2209
- type: Input
2210
- }], filterLocale: [{
2211
- type: Input
2212
- }], metaKeySelection: [{
2213
- type: Input,
2214
- args: [{ transform: booleanAttribute }]
2215
- }], dataKey: [{
2216
- type: Input
2217
- }], showToggleAll: [{
2218
- type: Input,
2219
- args: [{ transform: booleanAttribute }]
2220
- }], optionLabel: [{
2221
- type: Input
2222
- }], optionValue: [{
2223
- type: Input
2224
- }], optionGroupChildren: [{
2225
- type: Input
2226
- }], optionGroupLabel: [{
2227
- type: Input
2228
- }], optionDisabled: [{
2229
- type: Input
2230
- }], ariaFilterLabel: [{
2231
- type: Input
2232
- }], filterPlaceHolder: [{
2233
- type: Input
2234
- }], emptyFilterMessage: [{
2235
- type: Input
2236
- }], emptyMessage: [{
2237
- type: Input
2238
- }], group: [{
2239
- type: Input,
2240
- args: [{ transform: booleanAttribute }]
2241
- }], options: [{
2242
- type: Input
2243
- }], filterValue: [{
2244
- type: Input
2245
- }], selectAll: [{
2246
- type: Input
2247
- }], striped: [{
2248
- type: Input,
2249
- args: [{ transform: booleanAttribute }]
2250
- }], highlightOnSelect: [{
2251
- type: Input,
2252
- args: [{ transform: booleanAttribute }]
2253
- }], checkmark: [{
2254
- type: Input,
2255
- args: [{ transform: booleanAttribute }]
2256
- }], dragdrop: [{
2257
- type: Input,
2258
- args: [{ transform: booleanAttribute }]
2259
- }], onChange: [{
2260
- type: Output
2261
- }], onClick: [{
2262
- type: Output
2263
- }], onDblClick: [{
2264
- type: Output
2265
- }], onFilter: [{
2266
- type: Output
2267
- }], onFocus: [{
2268
- type: Output
2269
- }], onBlur: [{
2270
- type: Output
2271
- }], onSelectAllChange: [{
2272
- type: Output
2273
- }], onLazyLoad: [{
2274
- type: Output
2275
- }], onDrop: [{
2276
- type: Output
2277
- }], headerCheckboxViewChild: [{
2278
- type: ViewChild,
2279
- args: ['headerchkbox']
2280
- }], filterViewChild: [{
2281
- type: ViewChild,
2282
- args: ['filter']
2283
- }], lastHiddenFocusableElement: [{
2284
- type: ViewChild,
2285
- args: ['lastHiddenFocusableElement']
2286
- }], firstHiddenFocusableElement: [{
2287
- type: ViewChild,
2288
- args: ['firstHiddenFocusableElement']
2289
- }], scroller: [{
2290
- type: ViewChild,
2291
- args: ['scroller']
2292
- }], listViewChild: [{
2293
- type: ViewChild,
2294
- args: ['list']
2295
- }], containerViewChild: [{
2296
- type: ViewChild,
2297
- args: ['container']
2298
- }], headerFacet: [{
2299
- type: ContentChild,
2300
- args: [Header]
2301
- }], footerFacet: [{
2302
- type: ContentChild,
2303
- args: [Footer]
2304
- }], itemTemplate: [{
2305
- type: ContentChild,
2306
- args: ['item', { descendants: false }]
2307
- }], groupTemplate: [{
2308
- type: ContentChild,
2309
- args: ['group', { descendants: false }]
2310
- }], headerTemplate: [{
2311
- type: ContentChild,
2312
- args: ['header', { descendants: false }]
2313
- }], filterTemplate: [{
2314
- type: ContentChild,
2315
- args: ['filter', { descendants: false }]
2316
- }], footerTemplate: [{
2317
- type: ContentChild,
2318
- args: ['footer', { descendants: false }]
2319
- }], emptyFilterTemplate: [{
2320
- type: ContentChild,
2321
- args: ['emptyfilter', { descendants: false }]
2322
- }], emptyTemplate: [{
2323
- type: ContentChild,
2324
- args: ['empty', { descendants: false }]
2325
- }], filterIconTemplate: [{
2326
- type: ContentChild,
2327
- args: ['filtericon', { descendants: false }]
2328
- }], checkIconTemplate: [{
2329
- type: ContentChild,
2330
- args: ['checkicon', { descendants: false }]
2331
- }], checkmarkTemplate: [{
2332
- type: ContentChild,
2333
- args: ['checkmark', { descendants: false }]
2334
- }], loaderTemplate: [{
2335
- type: ContentChild,
2336
- args: ['loader', { descendants: false }]
2337
- }], templates: [{
2338
- type: ContentChildren,
2339
- args: [PrimeTemplate]
2340
- }] }); })();
2341
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Listbox, { className: "Listbox", filePath: "listbox.ts", lineNumber: 287 }); })();
1822
+ ],
1823
+ changeDetection: ChangeDetectionStrategy.OnPush,
1824
+ encapsulation: ViewEncapsulation.None
1825
+ }]
1826
+ }], ctorParameters: () => [{ type: i1.FilterService }], propDecorators: { id: [{
1827
+ type: Input
1828
+ }], searchMessage: [{
1829
+ type: Input
1830
+ }], emptySelectionMessage: [{
1831
+ type: Input
1832
+ }], selectionMessage: [{
1833
+ type: Input
1834
+ }], autoOptionFocus: [{
1835
+ type: Input,
1836
+ args: [{ transform: booleanAttribute }]
1837
+ }], ariaLabel: [{
1838
+ type: Input
1839
+ }], selectOnFocus: [{
1840
+ type: Input,
1841
+ args: [{ transform: booleanAttribute }]
1842
+ }], searchLocale: [{
1843
+ type: Input,
1844
+ args: [{ transform: booleanAttribute }]
1845
+ }], focusOnHover: [{
1846
+ type: Input,
1847
+ args: [{ transform: booleanAttribute }]
1848
+ }], filterMessage: [{
1849
+ type: Input
1850
+ }], filterFields: [{
1851
+ type: Input
1852
+ }], lazy: [{
1853
+ type: Input,
1854
+ args: [{ transform: booleanAttribute }]
1855
+ }], virtualScroll: [{
1856
+ type: Input,
1857
+ args: [{ transform: booleanAttribute }]
1858
+ }], virtualScrollItemSize: [{
1859
+ type: Input,
1860
+ args: [{ transform: numberAttribute }]
1861
+ }], virtualScrollOptions: [{
1862
+ type: Input
1863
+ }], scrollHeight: [{
1864
+ type: Input
1865
+ }], tabindex: [{
1866
+ type: Input,
1867
+ args: [{ transform: numberAttribute }]
1868
+ }], multiple: [{
1869
+ type: Input,
1870
+ args: [{ transform: booleanAttribute }]
1871
+ }], style: [{
1872
+ type: Input
1873
+ }], styleClass: [{
1874
+ type: Input
1875
+ }], listStyle: [{
1876
+ type: Input
1877
+ }], listStyleClass: [{
1878
+ type: Input
1879
+ }], readonly: [{
1880
+ type: Input,
1881
+ args: [{ transform: booleanAttribute }]
1882
+ }], disabled: [{
1883
+ type: Input,
1884
+ args: [{ transform: booleanAttribute }]
1885
+ }], checkbox: [{
1886
+ type: Input,
1887
+ args: [{ transform: booleanAttribute }]
1888
+ }], filter: [{
1889
+ type: Input,
1890
+ args: [{ transform: booleanAttribute }]
1891
+ }], filterBy: [{
1892
+ type: Input
1893
+ }], filterMatchMode: [{
1894
+ type: Input
1895
+ }], filterLocale: [{
1896
+ type: Input
1897
+ }], metaKeySelection: [{
1898
+ type: Input,
1899
+ args: [{ transform: booleanAttribute }]
1900
+ }], dataKey: [{
1901
+ type: Input
1902
+ }], showToggleAll: [{
1903
+ type: Input,
1904
+ args: [{ transform: booleanAttribute }]
1905
+ }], optionLabel: [{
1906
+ type: Input
1907
+ }], optionValue: [{
1908
+ type: Input
1909
+ }], optionGroupChildren: [{
1910
+ type: Input
1911
+ }], optionGroupLabel: [{
1912
+ type: Input
1913
+ }], optionDisabled: [{
1914
+ type: Input
1915
+ }], ariaFilterLabel: [{
1916
+ type: Input
1917
+ }], filterPlaceHolder: [{
1918
+ type: Input
1919
+ }], emptyFilterMessage: [{
1920
+ type: Input
1921
+ }], emptyMessage: [{
1922
+ type: Input
1923
+ }], group: [{
1924
+ type: Input,
1925
+ args: [{ transform: booleanAttribute }]
1926
+ }], options: [{
1927
+ type: Input
1928
+ }], filterValue: [{
1929
+ type: Input
1930
+ }], selectAll: [{
1931
+ type: Input
1932
+ }], striped: [{
1933
+ type: Input,
1934
+ args: [{ transform: booleanAttribute }]
1935
+ }], highlightOnSelect: [{
1936
+ type: Input,
1937
+ args: [{ transform: booleanAttribute }]
1938
+ }], checkmark: [{
1939
+ type: Input,
1940
+ args: [{ transform: booleanAttribute }]
1941
+ }], dragdrop: [{
1942
+ type: Input,
1943
+ args: [{ transform: booleanAttribute }]
1944
+ }], onChange: [{
1945
+ type: Output
1946
+ }], onClick: [{
1947
+ type: Output
1948
+ }], onDblClick: [{
1949
+ type: Output
1950
+ }], onFilter: [{
1951
+ type: Output
1952
+ }], onFocus: [{
1953
+ type: Output
1954
+ }], onBlur: [{
1955
+ type: Output
1956
+ }], onSelectAllChange: [{
1957
+ type: Output
1958
+ }], onLazyLoad: [{
1959
+ type: Output
1960
+ }], onDrop: [{
1961
+ type: Output
1962
+ }], headerCheckboxViewChild: [{
1963
+ type: ViewChild,
1964
+ args: ['headerchkbox']
1965
+ }], filterViewChild: [{
1966
+ type: ViewChild,
1967
+ args: ['filter']
1968
+ }], lastHiddenFocusableElement: [{
1969
+ type: ViewChild,
1970
+ args: ['lastHiddenFocusableElement']
1971
+ }], firstHiddenFocusableElement: [{
1972
+ type: ViewChild,
1973
+ args: ['firstHiddenFocusableElement']
1974
+ }], scroller: [{
1975
+ type: ViewChild,
1976
+ args: ['scroller']
1977
+ }], listViewChild: [{
1978
+ type: ViewChild,
1979
+ args: ['list']
1980
+ }], containerViewChild: [{
1981
+ type: ViewChild,
1982
+ args: ['container']
1983
+ }], headerFacet: [{
1984
+ type: ContentChild,
1985
+ args: [Header]
1986
+ }], footerFacet: [{
1987
+ type: ContentChild,
1988
+ args: [Footer]
1989
+ }], itemTemplate: [{
1990
+ type: ContentChild,
1991
+ args: ['item', { descendants: false }]
1992
+ }], groupTemplate: [{
1993
+ type: ContentChild,
1994
+ args: ['group', { descendants: false }]
1995
+ }], headerTemplate: [{
1996
+ type: ContentChild,
1997
+ args: ['header', { descendants: false }]
1998
+ }], filterTemplate: [{
1999
+ type: ContentChild,
2000
+ args: ['filter', { descendants: false }]
2001
+ }], footerTemplate: [{
2002
+ type: ContentChild,
2003
+ args: ['footer', { descendants: false }]
2004
+ }], emptyFilterTemplate: [{
2005
+ type: ContentChild,
2006
+ args: ['emptyfilter', { descendants: false }]
2007
+ }], emptyTemplate: [{
2008
+ type: ContentChild,
2009
+ args: ['empty', { descendants: false }]
2010
+ }], filterIconTemplate: [{
2011
+ type: ContentChild,
2012
+ args: ['filtericon', { descendants: false }]
2013
+ }], checkIconTemplate: [{
2014
+ type: ContentChild,
2015
+ args: ['checkicon', { descendants: false }]
2016
+ }], checkmarkTemplate: [{
2017
+ type: ContentChild,
2018
+ args: ['checkmark', { descendants: false }]
2019
+ }], loaderTemplate: [{
2020
+ type: ContentChild,
2021
+ args: ['loader', { descendants: false }]
2022
+ }], templates: [{
2023
+ type: ContentChildren,
2024
+ args: [PrimeTemplate]
2025
+ }] } });
2342
2026
  class ListboxModule {
2343
- static ɵfac = function ListboxModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ListboxModule)(); };
2344
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ListboxModule });
2345
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [Listbox, SharedModule, SharedModule] });
2027
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2028
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: ListboxModule, imports: [Listbox, SharedModule], exports: [Listbox, SharedModule] });
2029
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListboxModule, imports: [Listbox, SharedModule, SharedModule] });
2346
2030
  }
2347
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListboxModule, [{
2348
- type: NgModule,
2349
- args: [{
2350
- imports: [Listbox, SharedModule],
2351
- exports: [Listbox, SharedModule]
2352
- }]
2353
- }], null, null); })();
2354
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ListboxModule, { imports: [Listbox, SharedModule], exports: [Listbox, SharedModule] }); })();
2031
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListboxModule, decorators: [{
2032
+ type: NgModule,
2033
+ args: [{
2034
+ imports: [Listbox, SharedModule],
2035
+ exports: [Listbox, SharedModule]
2036
+ }]
2037
+ }] });
2355
2038
 
2356
2039
  /**
2357
2040
  * Generated bundle index. Do not edit.