primeng 19.0.6 → 19.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/dataview/dataview.interface.d.ts +9 -19
  2. package/dragdrop/dragdrop.d.ts +3 -2
  3. package/dynamicdialog/dynamicdialog.d.ts +1 -1
  4. package/fesm2022/primeng-accordion.mjs +347 -560
  5. package/fesm2022/primeng-accordion.mjs.map +1 -1
  6. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  7. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  8. package/fesm2022/primeng-api.mjs +79 -89
  9. package/fesm2022/primeng-api.mjs.map +1 -1
  10. package/fesm2022/primeng-autocomplete.mjs +505 -786
  11. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  12. package/fesm2022/primeng-autofocus.mjs +26 -27
  13. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  14. package/fesm2022/primeng-avatar.mjs +70 -120
  15. package/fesm2022/primeng-avatar.mjs.map +1 -1
  16. package/fesm2022/primeng-avatargroup.mjs +44 -54
  17. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  18. package/fesm2022/primeng-badge.mjs +62 -71
  19. package/fesm2022/primeng-badge.mjs.map +1 -1
  20. package/fesm2022/primeng-base.mjs +6 -6
  21. package/fesm2022/primeng-base.mjs.map +1 -1
  22. package/fesm2022/primeng-basecomponent.mjs +15 -15
  23. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  24. package/fesm2022/primeng-blockui.mjs +66 -87
  25. package/fesm2022/primeng-blockui.mjs.map +1 -1
  26. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  27. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  28. package/fesm2022/primeng-button.mjs +223 -328
  29. package/fesm2022/primeng-button.mjs.map +1 -1
  30. package/fesm2022/primeng-buttongroup.mjs +36 -40
  31. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  32. package/fesm2022/primeng-calendar.mjs +727 -1127
  33. package/fesm2022/primeng-calendar.mjs.map +1 -1
  34. package/fesm2022/primeng-card.mjs +88 -192
  35. package/fesm2022/primeng-card.mjs.map +1 -1
  36. package/fesm2022/primeng-carousel.mjs +218 -405
  37. package/fesm2022/primeng-carousel.mjs.map +1 -1
  38. package/fesm2022/primeng-cascadeselect.mjs +392 -576
  39. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  40. package/fesm2022/primeng-chart.mjs +57 -63
  41. package/fesm2022/primeng-chart.mjs.map +1 -1
  42. package/fesm2022/primeng-checkbox.mjs +131 -183
  43. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  44. package/fesm2022/primeng-chip.mjs +92 -188
  45. package/fesm2022/primeng-chip.mjs.map +1 -1
  46. package/fesm2022/primeng-colorpicker.mjs +142 -167
  47. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  48. package/fesm2022/primeng-config.mjs +12 -12
  49. package/fesm2022/primeng-config.mjs.map +1 -1
  50. package/fesm2022/primeng-confirmdialog.mjs +220 -347
  51. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  52. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  53. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  54. package/fesm2022/primeng-contextmenu.mjs +336 -450
  55. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  56. package/fesm2022/primeng-dataview.mjs +249 -352
  57. package/fesm2022/primeng-dataview.mjs.map +1 -1
  58. package/fesm2022/primeng-datepicker.mjs +740 -1136
  59. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  60. package/fesm2022/primeng-defer.mjs +25 -31
  61. package/fesm2022/primeng-defer.mjs.map +1 -1
  62. package/fesm2022/primeng-dialog.mjs +277 -478
  63. package/fesm2022/primeng-dialog.mjs.map +1 -1
  64. package/fesm2022/primeng-divider.mjs +68 -77
  65. package/fesm2022/primeng-divider.mjs.map +1 -1
  66. package/fesm2022/primeng-dock.mjs +138 -167
  67. package/fesm2022/primeng-dock.mjs.map +1 -1
  68. package/fesm2022/primeng-dragdrop.mjs +85 -79
  69. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  70. package/fesm2022/primeng-drawer.mjs +171 -268
  71. package/fesm2022/primeng-drawer.mjs.map +1 -1
  72. package/fesm2022/primeng-dropdown.mjs +529 -867
  73. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  74. package/fesm2022/primeng-dynamicdialog.mjs +152 -301
  75. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  76. package/fesm2022/primeng-editor.mjs +118 -156
  77. package/fesm2022/primeng-editor.mjs.map +1 -1
  78. package/fesm2022/primeng-fieldset.mjs +153 -247
  79. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  80. package/fesm2022/primeng-fileupload.mjs +370 -687
  81. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  82. package/fesm2022/primeng-floatlabel.mjs +38 -46
  83. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  84. package/fesm2022/primeng-fluid.mjs +33 -41
  85. package/fesm2022/primeng-fluid.mjs.map +1 -1
  86. package/fesm2022/primeng-focustrap.mjs +23 -24
  87. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  88. package/fesm2022/primeng-galleria.mjs +529 -761
  89. package/fesm2022/primeng-galleria.mjs.map +1 -1
  90. package/fesm2022/primeng-iconfield.mjs +42 -51
  91. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  92. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  93. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  94. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  95. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  96. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  97. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  98. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  99. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  100. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  101. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  102. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  103. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  104. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  105. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  106. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  107. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  108. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  109. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  110. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  111. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  112. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  113. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  114. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  115. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  116. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  117. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  118. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  119. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  120. package/fesm2022/primeng-icons-ban.mjs +24 -26
  121. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  122. package/fesm2022/primeng-icons-bars.mjs +19 -19
  123. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  124. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  125. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  126. package/fesm2022/primeng-icons-blank.mjs +14 -16
  127. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  128. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  129. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  130. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  131. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  132. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  133. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  134. package/fesm2022/primeng-icons-check.mjs +17 -19
  135. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  136. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  137. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  138. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  139. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  140. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  141. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  142. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  143. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  144. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  145. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  146. package/fesm2022/primeng-icons-eye.mjs +19 -19
  147. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  148. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  149. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  150. package/fesm2022/primeng-icons-filter.mjs +24 -26
  151. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  152. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  153. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  154. package/fesm2022/primeng-icons-home.mjs +26 -26
  155. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  156. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  157. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  158. package/fesm2022/primeng-icons-minus.mjs +17 -19
  159. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  160. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  161. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  162. package/fesm2022/primeng-icons-plus.mjs +24 -26
  163. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  164. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  165. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  166. package/fesm2022/primeng-icons-search.mjs +26 -26
  167. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  168. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  169. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  170. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  171. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  172. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  173. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  174. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  175. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  176. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  177. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  178. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  179. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  180. package/fesm2022/primeng-icons-star.mjs +24 -26
  181. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  182. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  183. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  184. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  185. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  186. package/fesm2022/primeng-icons-times.mjs +17 -19
  187. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  188. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  189. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  190. package/fesm2022/primeng-icons-trash.mjs +26 -26
  191. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  192. package/fesm2022/primeng-icons-undo.mjs +26 -26
  193. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  194. package/fesm2022/primeng-icons-upload.mjs +26 -26
  195. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  196. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  197. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  198. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  199. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  200. package/fesm2022/primeng-iftalabel.mjs +32 -38
  201. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  202. package/fesm2022/primeng-image.mjs +189 -370
  203. package/fesm2022/primeng-image.mjs.map +1 -1
  204. package/fesm2022/primeng-imagecompare.mjs +57 -86
  205. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  206. package/fesm2022/primeng-inplace.mjs +108 -206
  207. package/fesm2022/primeng-inplace.mjs.map +1 -1
  208. package/fesm2022/primeng-inputgroup.mjs +40 -50
  209. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  210. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  211. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  212. package/fesm2022/primeng-inputicon.mjs +39 -48
  213. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  214. package/fesm2022/primeng-inputmask.mjs +156 -181
  215. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  216. package/fesm2022/primeng-inputnumber.mjs +299 -416
  217. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  218. package/fesm2022/primeng-inputotp.mjs +97 -121
  219. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  220. package/fesm2022/primeng-inputswitch.mjs +87 -92
  221. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  222. package/fesm2022/primeng-inputtext.mjs +51 -57
  223. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  224. package/fesm2022/primeng-inputtextarea.mjs +50 -55
  225. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  226. package/fesm2022/primeng-keyfilter.mjs +44 -47
  227. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  228. package/fesm2022/primeng-knob.mjs +105 -111
  229. package/fesm2022/primeng-knob.mjs.map +1 -1
  230. package/fesm2022/primeng-listbox.mjs +473 -790
  231. package/fesm2022/primeng-listbox.mjs.map +1 -1
  232. package/fesm2022/primeng-megamenu.mjs +377 -611
  233. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  234. package/fesm2022/primeng-menu.mjs +289 -460
  235. package/fesm2022/primeng-menu.mjs.map +1 -1
  236. package/fesm2022/primeng-menubar.mjs +357 -549
  237. package/fesm2022/primeng-menubar.mjs.map +1 -1
  238. package/fesm2022/primeng-message.mjs +156 -244
  239. package/fesm2022/primeng-message.mjs.map +1 -1
  240. package/fesm2022/primeng-messages.mjs +162 -278
  241. package/fesm2022/primeng-messages.mjs.map +1 -1
  242. package/fesm2022/primeng-metergroup.mjs +135 -264
  243. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  244. package/fesm2022/primeng-multiselect.mjs +655 -1132
  245. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  246. package/fesm2022/primeng-orderlist.mjs +228 -330
  247. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  248. package/fesm2022/primeng-organizationchart.mjs +161 -311
  249. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  250. package/fesm2022/primeng-overlay.mjs +135 -147
  251. package/fesm2022/primeng-overlay.mjs.map +1 -1
  252. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  253. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  254. package/fesm2022/primeng-overlaypanel.mjs +134 -154
  255. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  256. package/fesm2022/primeng-paginator.mjs +212 -447
  257. package/fesm2022/primeng-paginator.mjs.map +1 -1
  258. package/fesm2022/primeng-panel.mjs +219 -317
  259. package/fesm2022/primeng-panel.mjs.map +1 -1
  260. package/fesm2022/primeng-panelmenu.mjs +439 -783
  261. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  262. package/fesm2022/primeng-password.mjs +268 -408
  263. package/fesm2022/primeng-password.mjs.map +1 -1
  264. package/fesm2022/primeng-picklist.mjs +560 -856
  265. package/fesm2022/primeng-picklist.mjs.map +1 -1
  266. package/fesm2022/primeng-popover.mjs +129 -148
  267. package/fesm2022/primeng-popover.mjs.map +1 -1
  268. package/fesm2022/primeng-progressbar.mjs +81 -121
  269. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  270. package/fesm2022/primeng-progressspinner.mjs +48 -58
  271. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  272. package/fesm2022/primeng-radiobutton.mjs +115 -106
  273. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  274. package/fesm2022/primeng-rating.mjs +120 -208
  275. package/fesm2022/primeng-rating.mjs.map +1 -1
  276. package/fesm2022/primeng-ripple.mjs +28 -29
  277. package/fesm2022/primeng-ripple.mjs.map +1 -1
  278. package/fesm2022/primeng-scroller.mjs +167 -295
  279. package/fesm2022/primeng-scroller.mjs.map +1 -1
  280. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  281. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  282. package/fesm2022/primeng-scrolltop.mjs +106 -150
  283. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  284. package/fesm2022/primeng-select.mjs +579 -955
  285. package/fesm2022/primeng-select.mjs.map +1 -1
  286. package/fesm2022/primeng-selectbutton.mjs +106 -133
  287. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  288. package/fesm2022/primeng-sidebar.mjs +151 -239
  289. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  290. package/fesm2022/primeng-skeleton.mjs +46 -54
  291. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  292. package/fesm2022/primeng-slider.mjs +186 -182
  293. package/fesm2022/primeng-slider.mjs.map +1 -1
  294. package/fesm2022/primeng-speeddial.mjs +192 -254
  295. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  296. package/fesm2022/primeng-splitbutton.mjs +211 -231
  297. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  298. package/fesm2022/primeng-splitter.mjs +126 -159
  299. package/fesm2022/primeng-splitter.mjs.map +1 -1
  300. package/fesm2022/primeng-stepper.mjs +227 -342
  301. package/fesm2022/primeng-stepper.mjs.map +1 -1
  302. package/fesm2022/primeng-steps.mjs +117 -170
  303. package/fesm2022/primeng-steps.mjs.map +1 -1
  304. package/fesm2022/primeng-styleclass.mjs +50 -53
  305. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  306. package/fesm2022/primeng-table.mjs +1808 -2584
  307. package/fesm2022/primeng-table.mjs.map +1 -1
  308. package/fesm2022/primeng-tabmenu.mjs +173 -319
  309. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  310. package/fesm2022/primeng-tabs.mjs +185 -300
  311. package/fesm2022/primeng-tabs.mjs.map +1 -1
  312. package/fesm2022/primeng-tabview.mjs +263 -435
  313. package/fesm2022/primeng-tabview.mjs.map +1 -1
  314. package/fesm2022/primeng-tag.mjs +63 -110
  315. package/fesm2022/primeng-tag.mjs.map +1 -1
  316. package/fesm2022/primeng-terminal.mjs +60 -104
  317. package/fesm2022/primeng-terminal.mjs.map +1 -1
  318. package/fesm2022/primeng-textarea.mjs +56 -61
  319. package/fesm2022/primeng-textarea.mjs.map +1 -1
  320. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  321. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  322. package/fesm2022/primeng-timeline.mjs +90 -156
  323. package/fesm2022/primeng-timeline.mjs.map +1 -1
  324. package/fesm2022/primeng-toast.mjs +251 -358
  325. package/fesm2022/primeng-toast.mjs.map +1 -1
  326. package/fesm2022/primeng-togglebutton.mjs +113 -150
  327. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  328. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  329. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  330. package/fesm2022/primeng-toolbar.mjs +62 -121
  331. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  332. package/fesm2022/primeng-tooltip.mjs +73 -74
  333. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  334. package/fesm2022/primeng-tree.mjs +441 -730
  335. package/fesm2022/primeng-tree.mjs.map +1 -1
  336. package/fesm2022/primeng-treeselect.mjs +342 -531
  337. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  338. package/fesm2022/primeng-treetable.mjs +1026 -1583
  339. package/fesm2022/primeng-treetable.mjs.map +1 -1
  340. package/fesm2022/primeng-usestyle.mjs +6 -6
  341. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  342. package/listbox/listbox.d.ts +2 -2
  343. package/package.json +178 -179
  344. package/password/password.d.ts +7 -1
  345. package/picklist/picklist.d.ts +11 -1
@@ -3,11 +3,11 @@ import { transferArrayItem, moveItemInArray, DragDropModule } from '@angular/cdk
3
3
  import * as i1 from '@angular/common';
4
4
  import { isPlatformBrowser, CommonModule } from '@angular/common';
5
5
  import * as i0 from '@angular/core';
6
- import { Injectable, EventEmitter, inject, numberAttribute, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
6
+ import { Injectable, EventEmitter, inject, 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 { FormsModule } from '@angular/forms';
9
9
  import { uuid, find, scrollInView, findIndexInList, findSingle, setAttribute, isEmpty } from '@primeuix/utils';
10
- import { FilterService, PrimeTemplate, SharedModule } from 'primeng/api';
10
+ import { FilterService, SharedModule, PrimeTemplate } from 'primeng/api';
11
11
  import { BaseComponent } from 'primeng/basecomponent';
12
12
  import { ButtonDirective } from 'primeng/button';
13
13
  import { AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon } from 'primeng/icons';
@@ -48,12 +48,12 @@ class PickListStyle extends BaseStyle {
48
48
  name = 'picklist';
49
49
  theme = theme;
50
50
  classes = classes;
51
- static ɵfac = /*@__PURE__*/ (() => { let ɵPickListStyle_BaseFactory; return function PickListStyle_Factory(__ngFactoryType__) { return (ɵPickListStyle_BaseFactory || (ɵPickListStyle_BaseFactory = i0.ɵɵgetInheritedFactory(PickListStyle)))(__ngFactoryType__ || PickListStyle); }; })();
52
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PickListStyle, factory: PickListStyle.ɵfac });
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PickListStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
52
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PickListStyle });
53
53
  }
54
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PickListStyle, [{
55
- type: Injectable
56
- }], null, null); })();
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PickListStyle, decorators: [{
55
+ type: Injectable
56
+ }] });
57
57
  /**
58
58
  *
59
59
  * PickList is used to reorder items between different lists.
@@ -91,457 +91,6 @@ var PickListClasses;
91
91
  PickListClasses["targetControls"] = "p-picklist-target-controls";
92
92
  })(PickListClasses || (PickListClasses = {}));
93
93
 
94
- const _c0 = ["item"];
95
- const _c1 = ["sourceHeader"];
96
- const _c2 = ["targetHeader"];
97
- const _c3 = ["sourceFilter"];
98
- const _c4 = ["targetFilter"];
99
- const _c5 = ["emptymessagesource"];
100
- const _c6 = ["emptyfiltermessagesource"];
101
- const _c7 = ["emptymessagetarget"];
102
- const _c8 = ["emptyfiltermessagetarget"];
103
- const _c9 = ["moveupicon"];
104
- const _c10 = ["movetopicon"];
105
- const _c11 = ["movedownicon"];
106
- const _c12 = ["movebottomicon"];
107
- const _c13 = ["movetotargeticon"];
108
- const _c14 = ["movealltotargeticon"];
109
- const _c15 = ["movetosourceicon"];
110
- const _c16 = ["movealltosourceicon"];
111
- const _c17 = ["targetfiltericon"];
112
- const _c18 = ["sourcefiltericon"];
113
- const _c19 = ["sourcelist"];
114
- const _c20 = ["targetlist"];
115
- const _c21 = () => ({ "p-picklist p-component": true });
116
- const _c22 = a0 => ({ $implicit: a0 });
117
- const _c23 = a0 => ({ options: a0 });
118
- const _c24 = (a0, a1, a2) => ({ $implicit: a0, index: a1, selected: a2 });
119
- function PickList_div_1_AngleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
120
- i0.ɵɵelement(0, "AngleUpIcon");
121
- } if (rf & 2) {
122
- i0.ɵɵattribute("data-pc-section", "moveupicon");
123
- } }
124
- function PickList_div_1_3_ng_template_0_Template(rf, ctx) { }
125
- function PickList_div_1_3_Template(rf, ctx) { if (rf & 1) {
126
- i0.ɵɵtemplate(0, PickList_div_1_3_ng_template_0_Template, 0, 0, "ng-template");
127
- } }
128
- function PickList_div_1_AngleDoubleUpIcon_5_Template(rf, ctx) { if (rf & 1) {
129
- i0.ɵɵelement(0, "AngleDoubleUpIcon");
130
- } if (rf & 2) {
131
- i0.ɵɵattribute("data-pc-section", "movetopicon");
132
- } }
133
- function PickList_div_1_6_ng_template_0_Template(rf, ctx) { }
134
- function PickList_div_1_6_Template(rf, ctx) { if (rf & 1) {
135
- i0.ɵɵtemplate(0, PickList_div_1_6_ng_template_0_Template, 0, 0, "ng-template");
136
- } }
137
- function PickList_div_1_AngleDownIcon_8_Template(rf, ctx) { if (rf & 1) {
138
- i0.ɵɵelement(0, "AngleDownIcon");
139
- } if (rf & 2) {
140
- i0.ɵɵattribute("data-pc-section", "movedownicon");
141
- } }
142
- function PickList_div_1_9_ng_template_0_Template(rf, ctx) { }
143
- function PickList_div_1_9_Template(rf, ctx) { if (rf & 1) {
144
- i0.ɵɵtemplate(0, PickList_div_1_9_ng_template_0_Template, 0, 0, "ng-template");
145
- } }
146
- function PickList_div_1_AngleDoubleDownIcon_11_Template(rf, ctx) { if (rf & 1) {
147
- i0.ɵɵelement(0, "AngleDoubleDownIcon");
148
- } if (rf & 2) {
149
- i0.ɵɵattribute("data-pc-section", "movebottomicon");
150
- } }
151
- function PickList_div_1_12_ng_template_0_Template(rf, ctx) { }
152
- function PickList_div_1_12_Template(rf, ctx) { if (rf & 1) {
153
- i0.ɵɵtemplate(0, PickList_div_1_12_ng_template_0_Template, 0, 0, "ng-template");
154
- } }
155
- function PickList_div_1_Template(rf, ctx) { if (rf & 1) {
156
- const _r2 = i0.ɵɵgetCurrentView();
157
- i0.ɵɵelementStart(0, "div", 15)(1, "button", 11);
158
- i0.ɵɵlistener("click", function PickList_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); const sourcelist_r4 = i0.ɵɵreference(4); return i0.ɵɵresetView(ctx_r2.moveUp(sourcelist_r4, ctx_r2.source, ctx_r2.selectedItemsSource, ctx_r2.onSourceReorder, ctx_r2.SOURCE_LIST)); });
159
- i0.ɵɵtemplate(2, PickList_div_1_AngleUpIcon_2_Template, 1, 1, "AngleUpIcon", 8)(3, PickList_div_1_3_Template, 1, 0, null, 16);
160
- i0.ɵɵelementEnd();
161
- i0.ɵɵelementStart(4, "button", 11);
162
- i0.ɵɵlistener("click", function PickList_div_1_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); const sourcelist_r4 = i0.ɵɵreference(4); return i0.ɵɵresetView(ctx_r2.moveTop(sourcelist_r4, ctx_r2.source, ctx_r2.selectedItemsSource, ctx_r2.onSourceReorder, ctx_r2.SOURCE_LIST)); });
163
- i0.ɵɵtemplate(5, PickList_div_1_AngleDoubleUpIcon_5_Template, 1, 1, "AngleDoubleUpIcon", 8)(6, PickList_div_1_6_Template, 1, 0, null, 16);
164
- i0.ɵɵelementEnd();
165
- i0.ɵɵelementStart(7, "button", 11);
166
- i0.ɵɵlistener("click", function PickList_div_1_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); const sourcelist_r4 = i0.ɵɵreference(4); return i0.ɵɵresetView(ctx_r2.moveDown(sourcelist_r4, ctx_r2.source, ctx_r2.selectedItemsSource, ctx_r2.onSourceReorder, ctx_r2.SOURCE_LIST)); });
167
- i0.ɵɵtemplate(8, PickList_div_1_AngleDownIcon_8_Template, 1, 1, "AngleDownIcon", 8)(9, PickList_div_1_9_Template, 1, 0, null, 16);
168
- i0.ɵɵelementEnd();
169
- i0.ɵɵelementStart(10, "button", 11);
170
- i0.ɵɵlistener("click", function PickList_div_1_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); const sourcelist_r4 = i0.ɵɵreference(4); return i0.ɵɵresetView(ctx_r2.moveBottom(sourcelist_r4, ctx_r2.source, ctx_r2.selectedItemsSource, ctx_r2.onSourceReorder, ctx_r2.SOURCE_LIST)); });
171
- i0.ɵɵtemplate(11, PickList_div_1_AngleDoubleDownIcon_11_Template, 1, 1, "AngleDoubleDownIcon", 8)(12, PickList_div_1_12_Template, 1, 0, null, 16);
172
- i0.ɵɵelementEnd()();
173
- } if (rf & 2) {
174
- const ctx_r2 = i0.ɵɵnextContext();
175
- i0.ɵɵattribute("data-pc-section", "sourceControls")("data-pc-group-section", "controls");
176
- i0.ɵɵadvance();
177
- i0.ɵɵproperty("disabled", ctx_r2.sourceMoveDisabled())("buttonProps", ctx_r2.getButtonProps("moveup"));
178
- i0.ɵɵattribute("aria-label", ctx_r2.moveUpAriaLabel)("data-pc-section", "sourceMoveUpButton");
179
- i0.ɵɵadvance();
180
- i0.ɵɵproperty("ngIf", !ctx_r2.moveUpIconTemplate && !ctx_r2._moveUpIconTemplate);
181
- i0.ɵɵadvance();
182
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveUpIconTemplate || ctx_r2._moveUpIconTemplate);
183
- i0.ɵɵadvance();
184
- i0.ɵɵproperty("disabled", ctx_r2.sourceMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movetop"));
185
- i0.ɵɵattribute("aria-label", ctx_r2.moveTopAriaLabel)("data-pc-section", "sourceMoveTopButton");
186
- i0.ɵɵadvance();
187
- i0.ɵɵproperty("ngIf", !ctx_r2.moveTopIconTemplate && !ctx_r2._moveTopIconTemplate);
188
- i0.ɵɵadvance();
189
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveTopIconTemplate || ctx_r2._moveTopIconTemplate);
190
- i0.ɵɵadvance();
191
- i0.ɵɵproperty("disabled", ctx_r2.sourceMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movedown"));
192
- i0.ɵɵattribute("aria-label", ctx_r2.moveDownAriaLabel)("data-pc-section", "sourceMoveDownButton");
193
- i0.ɵɵadvance();
194
- i0.ɵɵproperty("ngIf", !ctx_r2.moveDownIconTemplate && !ctx_r2._moveDownIconTemplate);
195
- i0.ɵɵadvance();
196
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveDownIconTemplate || ctx_r2._moveDownIconTemplate);
197
- i0.ɵɵadvance();
198
- i0.ɵɵproperty("disabled", ctx_r2.sourceMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movebottom"));
199
- i0.ɵɵattribute("aria-label", ctx_r2.moveBottomAriaLabel)("data-pc-section", "sourceMoveBottomButton");
200
- i0.ɵɵadvance();
201
- i0.ɵɵproperty("ngIf", !ctx_r2.moveBottomIconTemplate || ctx_r2._moveBottomIconTemplate);
202
- i0.ɵɵadvance();
203
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveBottomIconTemplate || ctx_r2._moveBottomIconTemplate);
204
- } }
205
- function PickList_ng_container_5_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
206
- function PickList_ng_container_5_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
207
- i0.ɵɵtemplate(0, PickList_ng_container_5_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
208
- } }
209
- function PickList_ng_container_5_ng_template_1_Template(rf, ctx) { if (rf & 1) {
210
- i0.ɵɵtemplate(0, PickList_ng_container_5_ng_template_1_0_Template, 1, 0, null, 16);
211
- } if (rf & 2) {
212
- const ctx_r2 = i0.ɵɵnextContext(2);
213
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.sourceHeaderTemplate || ctx_r2._sourceHeaderTemplate);
214
- } }
215
- function PickList_ng_container_5_Template(rf, ctx) { if (rf & 1) {
216
- i0.ɵɵelementContainerStart(0);
217
- i0.ɵɵtemplate(1, PickList_ng_container_5_ng_template_1_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
218
- i0.ɵɵelementContainerEnd();
219
- } }
220
- function PickList_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
221
- i0.ɵɵelementContainer(0);
222
- } }
223
- function PickList_ng_container_6_Template(rf, ctx) { if (rf & 1) {
224
- i0.ɵɵelementContainerStart(0);
225
- i0.ɵɵtemplate(1, PickList_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 12);
226
- i0.ɵɵelementContainerEnd();
227
- } if (rf & 2) {
228
- const ctx_r2 = i0.ɵɵnextContext();
229
- i0.ɵɵadvance();
230
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.sourceFilterTemplate || ctx_r2._sourceFilterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c23, ctx_r2.sourceFilterOptions));
231
- } }
232
- function PickList_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
233
- i0.ɵɵelementContainer(0);
234
- } }
235
- function PickList_ng_container_7_Template(rf, ctx) { if (rf & 1) {
236
- i0.ɵɵelementContainerStart(0);
237
- i0.ɵɵtemplate(1, PickList_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 16);
238
- i0.ɵɵelementContainerEnd();
239
- } if (rf & 2) {
240
- const ctx_r2 = i0.ɵɵnextContext();
241
- i0.ɵɵadvance();
242
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.sourceFilterIconTemplate || ctx_r2._sourceFilterIconTemplate);
243
- } }
244
- function PickList_div_8_Template(rf, ctx) { if (rf & 1) {
245
- i0.ɵɵelementStart(0, "div", 17);
246
- i0.ɵɵtext(1);
247
- i0.ɵɵelementEnd();
248
- } if (rf & 2) {
249
- const ctx_r2 = i0.ɵɵnextContext();
250
- i0.ɵɵadvance();
251
- i0.ɵɵtextInterpolate(ctx_r2.sourceHeader);
252
- } }
253
- function PickList_ng_container_9_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
254
- i0.ɵɵelementContainer(0);
255
- } }
256
- function PickList_ng_container_9_ng_template_1_Template(rf, ctx) { if (rf & 1) {
257
- i0.ɵɵtemplate(0, PickList_ng_container_9_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 12);
258
- } if (rf & 2) {
259
- const item_r5 = ctx.$implicit;
260
- const index_r6 = ctx.index;
261
- const selected_r7 = ctx.selected;
262
- const ctx_r2 = i0.ɵɵnextContext(2);
263
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate || ctx_r2._itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c24, item_r5, index_r6, selected_r7));
264
- } }
265
- function PickList_ng_container_9_Template(rf, ctx) { if (rf & 1) {
266
- i0.ɵɵelementContainerStart(0);
267
- i0.ɵɵtemplate(1, PickList_ng_container_9_ng_template_1_Template, 1, 6, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
268
- i0.ɵɵelementContainerEnd();
269
- } }
270
- function PickList_ng_container_10_ng_container_1_Template(rf, ctx) { if (rf & 1) {
271
- i0.ɵɵelementContainer(0);
272
- } }
273
- function PickList_ng_container_10_Template(rf, ctx) { if (rf & 1) {
274
- i0.ɵɵelementContainerStart(0);
275
- i0.ɵɵtemplate(1, PickList_ng_container_10_ng_container_1_Template, 1, 0, "ng-container", 16);
276
- i0.ɵɵelementContainerEnd();
277
- } if (rf & 2) {
278
- const ctx_r2 = i0.ɵɵnextContext();
279
- i0.ɵɵadvance();
280
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyFilterMessageSourceTemplate || ctx_r2._emptyFilterMessageSourceTemplate || ctx_r2.emptyMessageSourceTemplate || ctx_r2._emptyMessageSourceTemplate);
281
- } }
282
- function PickList_ng_container_13_AngleRightIcon_1_Template(rf, ctx) { if (rf & 1) {
283
- i0.ɵɵelement(0, "AngleRightIcon");
284
- } if (rf & 2) {
285
- i0.ɵɵattribute("data-pc-section", "movetotargeticon");
286
- } }
287
- function PickList_ng_container_13_AngleDownIcon_2_Template(rf, ctx) { if (rf & 1) {
288
- i0.ɵɵelement(0, "AngleDownIcon");
289
- } if (rf & 2) {
290
- i0.ɵɵattribute("data-pc-section", "movetotargeticon");
291
- } }
292
- function PickList_ng_container_13_Template(rf, ctx) { if (rf & 1) {
293
- i0.ɵɵelementContainerStart(0);
294
- i0.ɵɵtemplate(1, PickList_ng_container_13_AngleRightIcon_1_Template, 1, 1, "AngleRightIcon", 8)(2, PickList_ng_container_13_AngleDownIcon_2_Template, 1, 1, "AngleDownIcon", 8);
295
- i0.ɵɵelementContainerEnd();
296
- } if (rf & 2) {
297
- const ctx_r2 = i0.ɵɵnextContext();
298
- i0.ɵɵadvance();
299
- i0.ɵɵproperty("ngIf", !ctx_r2.viewChanged);
300
- i0.ɵɵadvance();
301
- i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
302
- } }
303
- function PickList_14_ng_template_0_Template(rf, ctx) { }
304
- function PickList_14_Template(rf, ctx) { if (rf & 1) {
305
- i0.ɵɵtemplate(0, PickList_14_ng_template_0_Template, 0, 0, "ng-template");
306
- } }
307
- function PickList_ng_container_16_AngleDoubleRightIcon_1_Template(rf, ctx) { if (rf & 1) {
308
- i0.ɵɵelement(0, "AngleDoubleRightIcon");
309
- } if (rf & 2) {
310
- i0.ɵɵattribute("data-pc-section", "movealltotargeticon");
311
- } }
312
- function PickList_ng_container_16_AngleDoubleDownIcon_2_Template(rf, ctx) { if (rf & 1) {
313
- i0.ɵɵelement(0, "AngleDoubleDownIcon");
314
- } if (rf & 2) {
315
- i0.ɵɵattribute("data-pc-section", "movealltotargeticon");
316
- } }
317
- function PickList_ng_container_16_Template(rf, ctx) { if (rf & 1) {
318
- i0.ɵɵelementContainerStart(0);
319
- i0.ɵɵtemplate(1, PickList_ng_container_16_AngleDoubleRightIcon_1_Template, 1, 1, "AngleDoubleRightIcon", 8)(2, PickList_ng_container_16_AngleDoubleDownIcon_2_Template, 1, 1, "AngleDoubleDownIcon", 8);
320
- i0.ɵɵelementContainerEnd();
321
- } if (rf & 2) {
322
- const ctx_r2 = i0.ɵɵnextContext();
323
- i0.ɵɵadvance();
324
- i0.ɵɵproperty("ngIf", !ctx_r2.viewChanged);
325
- i0.ɵɵadvance();
326
- i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
327
- } }
328
- function PickList_17_ng_template_0_Template(rf, ctx) { }
329
- function PickList_17_Template(rf, ctx) { if (rf & 1) {
330
- i0.ɵɵtemplate(0, PickList_17_ng_template_0_Template, 0, 0, "ng-template");
331
- } }
332
- function PickList_ng_container_19_AngleLeftIcon_1_Template(rf, ctx) { if (rf & 1) {
333
- i0.ɵɵelement(0, "AngleLeftIcon");
334
- } if (rf & 2) {
335
- i0.ɵɵattribute("data-pc-section", "movedownsourceticon");
336
- } }
337
- function PickList_ng_container_19_AngleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
338
- i0.ɵɵelement(0, "AngleUpIcon");
339
- } if (rf & 2) {
340
- i0.ɵɵattribute("data-pc-section", "movedownsourceticon");
341
- } }
342
- function PickList_ng_container_19_Template(rf, ctx) { if (rf & 1) {
343
- i0.ɵɵelementContainerStart(0);
344
- i0.ɵɵtemplate(1, PickList_ng_container_19_AngleLeftIcon_1_Template, 1, 1, "AngleLeftIcon", 8)(2, PickList_ng_container_19_AngleUpIcon_2_Template, 1, 1, "AngleUpIcon", 8);
345
- i0.ɵɵelementContainerEnd();
346
- } if (rf & 2) {
347
- const ctx_r2 = i0.ɵɵnextContext();
348
- i0.ɵɵadvance();
349
- i0.ɵɵproperty("ngIf", !ctx_r2.viewChanged);
350
- i0.ɵɵadvance();
351
- i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
352
- } }
353
- function PickList_20_ng_template_0_Template(rf, ctx) { }
354
- function PickList_20_Template(rf, ctx) { if (rf & 1) {
355
- i0.ɵɵtemplate(0, PickList_20_ng_template_0_Template, 0, 0, "ng-template");
356
- } }
357
- function PickList_ng_container_22_AngleDoubleLeftIcon_1_Template(rf, ctx) { if (rf & 1) {
358
- i0.ɵɵelement(0, "AngleDoubleLeftIcon");
359
- } if (rf & 2) {
360
- i0.ɵɵattribute("data-pc-section", "movealltosourceticon");
361
- } }
362
- function PickList_ng_container_22_AngleDoubleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
363
- i0.ɵɵelement(0, "AngleDoubleUpIcon");
364
- } if (rf & 2) {
365
- i0.ɵɵattribute("data-pc-section", "movealltosourceticon");
366
- } }
367
- function PickList_ng_container_22_Template(rf, ctx) { if (rf & 1) {
368
- i0.ɵɵelementContainerStart(0);
369
- i0.ɵɵtemplate(1, PickList_ng_container_22_AngleDoubleLeftIcon_1_Template, 1, 1, "AngleDoubleLeftIcon", 8)(2, PickList_ng_container_22_AngleDoubleUpIcon_2_Template, 1, 1, "AngleDoubleUpIcon", 8);
370
- i0.ɵɵelementContainerEnd();
371
- } if (rf & 2) {
372
- const ctx_r2 = i0.ɵɵnextContext();
373
- i0.ɵɵadvance();
374
- i0.ɵɵproperty("ngIf", !ctx_r2.viewChanged);
375
- i0.ɵɵadvance();
376
- i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
377
- } }
378
- function PickList_23_ng_template_0_Template(rf, ctx) { }
379
- function PickList_23_Template(rf, ctx) { if (rf & 1) {
380
- i0.ɵɵtemplate(0, PickList_23_ng_template_0_Template, 0, 0, "ng-template");
381
- } }
382
- function PickList_ng_container_27_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
383
- function PickList_ng_container_27_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
384
- i0.ɵɵtemplate(0, PickList_ng_container_27_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
385
- } }
386
- function PickList_ng_container_27_ng_template_1_Template(rf, ctx) { if (rf & 1) {
387
- i0.ɵɵtemplate(0, PickList_ng_container_27_ng_template_1_0_Template, 1, 0, null, 16);
388
- } if (rf & 2) {
389
- const ctx_r2 = i0.ɵɵnextContext(2);
390
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.targetHeaderTemplate || ctx_r2._targetHeaderTemplate);
391
- } }
392
- function PickList_ng_container_27_Template(rf, ctx) { if (rf & 1) {
393
- i0.ɵɵelementContainerStart(0);
394
- i0.ɵɵtemplate(1, PickList_ng_container_27_ng_template_1_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
395
- i0.ɵɵelementContainerEnd();
396
- } }
397
- function PickList_ng_container_28_ng_container_1_Template(rf, ctx) { if (rf & 1) {
398
- i0.ɵɵelementContainer(0);
399
- } }
400
- function PickList_ng_container_28_Template(rf, ctx) { if (rf & 1) {
401
- i0.ɵɵelementContainerStart(0);
402
- i0.ɵɵtemplate(1, PickList_ng_container_28_ng_container_1_Template, 1, 0, "ng-container", 12);
403
- i0.ɵɵelementContainerEnd();
404
- } if (rf & 2) {
405
- const ctx_r2 = i0.ɵɵnextContext();
406
- i0.ɵɵadvance();
407
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.targetFilterTemplate || ctx_r2._targetFilterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c23, ctx_r2.targetFilterOptions));
408
- } }
409
- function PickList_ng_container_29_ng_container_1_Template(rf, ctx) { if (rf & 1) {
410
- i0.ɵɵelementContainer(0);
411
- } }
412
- function PickList_ng_container_29_Template(rf, ctx) { if (rf & 1) {
413
- i0.ɵɵelementContainerStart(0);
414
- i0.ɵɵtemplate(1, PickList_ng_container_29_ng_container_1_Template, 1, 0, "ng-container", 16);
415
- i0.ɵɵelementContainerEnd();
416
- } if (rf & 2) {
417
- const ctx_r2 = i0.ɵɵnextContext();
418
- i0.ɵɵadvance();
419
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.targetFilterIconTemplate || ctx_r2._targetFilterIconTemplate);
420
- } }
421
- function PickList_div_30_Template(rf, ctx) { if (rf & 1) {
422
- i0.ɵɵelementStart(0, "div", 17);
423
- i0.ɵɵtext(1);
424
- i0.ɵɵelementEnd();
425
- } if (rf & 2) {
426
- const ctx_r2 = i0.ɵɵnextContext();
427
- i0.ɵɵadvance();
428
- i0.ɵɵtextInterpolate(ctx_r2.targetHeader);
429
- } }
430
- function PickList_ng_container_31_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
431
- i0.ɵɵelementContainer(0);
432
- } }
433
- function PickList_ng_container_31_ng_template_1_Template(rf, ctx) { if (rf & 1) {
434
- i0.ɵɵtemplate(0, PickList_ng_container_31_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 12);
435
- } if (rf & 2) {
436
- const item_r8 = ctx.$implicit;
437
- const index_r9 = ctx.index;
438
- const selected_r10 = ctx.selected;
439
- const ctx_r2 = i0.ɵɵnextContext(2);
440
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate || ctx_r2._itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c24, item_r8, index_r9, selected_r10));
441
- } }
442
- function PickList_ng_container_31_Template(rf, ctx) { if (rf & 1) {
443
- i0.ɵɵelementContainerStart(0);
444
- i0.ɵɵtemplate(1, PickList_ng_container_31_ng_template_1_Template, 1, 6, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
445
- i0.ɵɵelementContainerEnd();
446
- } }
447
- function PickList_ng_container_32_ng_container_1_Template(rf, ctx) { if (rf & 1) {
448
- i0.ɵɵelementContainer(0);
449
- } }
450
- function PickList_ng_container_32_Template(rf, ctx) { if (rf & 1) {
451
- i0.ɵɵelementContainerStart(0);
452
- i0.ɵɵtemplate(1, PickList_ng_container_32_ng_container_1_Template, 1, 0, "ng-container", 16);
453
- i0.ɵɵelementContainerEnd();
454
- } if (rf & 2) {
455
- const ctx_r2 = i0.ɵɵnextContext();
456
- i0.ɵɵadvance();
457
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyFilterMessageTargetTemplate || ctx_r2._emptyFilterMessageTargetTemplate || ctx_r2.emptyMessageTargetTemplate || ctx_r2._emptyMessageTargetTemplate);
458
- } }
459
- function PickList_div_33_AngleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
460
- i0.ɵɵelement(0, "AngleUpIcon");
461
- } if (rf & 2) {
462
- i0.ɵɵattribute("data-pc-section", "moveupicon");
463
- } }
464
- function PickList_div_33_3_ng_template_0_Template(rf, ctx) { }
465
- function PickList_div_33_3_Template(rf, ctx) { if (rf & 1) {
466
- i0.ɵɵtemplate(0, PickList_div_33_3_ng_template_0_Template, 0, 0, "ng-template");
467
- } }
468
- function PickList_div_33_AngleDoubleUpIcon_5_Template(rf, ctx) { if (rf & 1) {
469
- i0.ɵɵelement(0, "AngleDoubleUpIcon");
470
- } if (rf & 2) {
471
- i0.ɵɵattribute("data-pc-section", "movetopicon");
472
- } }
473
- function PickList_div_33_6_ng_template_0_Template(rf, ctx) { }
474
- function PickList_div_33_6_Template(rf, ctx) { if (rf & 1) {
475
- i0.ɵɵtemplate(0, PickList_div_33_6_ng_template_0_Template, 0, 0, "ng-template");
476
- } }
477
- function PickList_div_33_AngleDownIcon_8_Template(rf, ctx) { if (rf & 1) {
478
- i0.ɵɵelement(0, "AngleDownIcon");
479
- } if (rf & 2) {
480
- i0.ɵɵattribute("data-pc-section", "movedownicon");
481
- } }
482
- function PickList_div_33_9_ng_template_0_Template(rf, ctx) { }
483
- function PickList_div_33_9_Template(rf, ctx) { if (rf & 1) {
484
- i0.ɵɵtemplate(0, PickList_div_33_9_ng_template_0_Template, 0, 0, "ng-template");
485
- } }
486
- function PickList_div_33_AngleDoubleDownIcon_11_Template(rf, ctx) { if (rf & 1) {
487
- i0.ɵɵelement(0, "AngleDoubleDownIcon");
488
- } if (rf & 2) {
489
- i0.ɵɵattribute("data-pc-section", "movebottomicon");
490
- } }
491
- function PickList_div_33_12_ng_template_0_Template(rf, ctx) { }
492
- function PickList_div_33_12_Template(rf, ctx) { if (rf & 1) {
493
- i0.ɵɵtemplate(0, PickList_div_33_12_ng_template_0_Template, 0, 0, "ng-template");
494
- } }
495
- function PickList_div_33_Template(rf, ctx) { if (rf & 1) {
496
- const _r11 = i0.ɵɵgetCurrentView();
497
- i0.ɵɵelementStart(0, "div", 18)(1, "button", 11);
498
- i0.ɵɵlistener("click", function PickList_div_33_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); const targetlist_r12 = i0.ɵɵreference(26); return i0.ɵɵresetView(ctx_r2.moveUp(targetlist_r12, ctx_r2.target, ctx_r2.selectedItemsTarget, ctx_r2.onTargetReorder, ctx_r2.TARGET_LIST)); });
499
- i0.ɵɵtemplate(2, PickList_div_33_AngleUpIcon_2_Template, 1, 1, "AngleUpIcon", 8)(3, PickList_div_33_3_Template, 1, 0, null, 16);
500
- i0.ɵɵelementEnd();
501
- i0.ɵɵelementStart(4, "button", 11);
502
- i0.ɵɵlistener("click", function PickList_div_33_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); const targetlist_r12 = i0.ɵɵreference(26); return i0.ɵɵresetView(ctx_r2.moveTop(targetlist_r12, ctx_r2.target, ctx_r2.selectedItemsTarget, ctx_r2.onTargetReorder, ctx_r2.TARGET_LIST)); });
503
- i0.ɵɵtemplate(5, PickList_div_33_AngleDoubleUpIcon_5_Template, 1, 1, "AngleDoubleUpIcon", 8)(6, PickList_div_33_6_Template, 1, 0, null, 16);
504
- i0.ɵɵelementEnd();
505
- i0.ɵɵelementStart(7, "button", 11);
506
- i0.ɵɵlistener("click", function PickList_div_33_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); const targetlist_r12 = i0.ɵɵreference(26); return i0.ɵɵresetView(ctx_r2.moveDown(targetlist_r12, ctx_r2.target, ctx_r2.selectedItemsTarget, ctx_r2.onTargetReorder, ctx_r2.TARGET_LIST)); });
507
- i0.ɵɵtemplate(8, PickList_div_33_AngleDownIcon_8_Template, 1, 1, "AngleDownIcon", 8)(9, PickList_div_33_9_Template, 1, 0, null, 16);
508
- i0.ɵɵelementEnd();
509
- i0.ɵɵelementStart(10, "button", 11);
510
- i0.ɵɵlistener("click", function PickList_div_33_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); const targetlist_r12 = i0.ɵɵreference(26); return i0.ɵɵresetView(ctx_r2.moveBottom(targetlist_r12, ctx_r2.target, ctx_r2.selectedItemsTarget, ctx_r2.onTargetReorder, ctx_r2.TARGET_LIST)); });
511
- i0.ɵɵtemplate(11, PickList_div_33_AngleDoubleDownIcon_11_Template, 1, 1, "AngleDoubleDownIcon", 8)(12, PickList_div_33_12_Template, 1, 0, null, 16);
512
- i0.ɵɵelementEnd()();
513
- } if (rf & 2) {
514
- const ctx_r2 = i0.ɵɵnextContext();
515
- i0.ɵɵattribute("data-pc-section", "targetControls")("data-pc-group-section", "controls");
516
- i0.ɵɵadvance();
517
- i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("moveup"));
518
- i0.ɵɵattribute("aria-label", ctx_r2.moveUpAriaLabel)("data-pc-section", "targetMoveUpButton");
519
- i0.ɵɵadvance();
520
- i0.ɵɵproperty("ngIf", !ctx_r2.moveUpIconTemplate && !ctx_r2._moveUpIconTemplate);
521
- i0.ɵɵadvance();
522
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveUpIconTemplate || ctx_r2._moveUpIconTemplate);
523
- i0.ɵɵadvance();
524
- i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movetop"));
525
- i0.ɵɵattribute("aria-label", ctx_r2.moveTopAriaLabel)("data-pc-section", "targetMoveTopButton");
526
- i0.ɵɵadvance();
527
- i0.ɵɵproperty("ngIf", !ctx_r2.moveTopIconTemplate && !ctx_r2._moveTopIconTemplate);
528
- i0.ɵɵadvance();
529
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveTopIconTemplate || ctx_r2.moveTopIconTemplate);
530
- i0.ɵɵadvance();
531
- i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movedown"));
532
- i0.ɵɵattribute("aria-label", ctx_r2.moveDownAriaLabel)("data-pc-section", "targetMoveDownButton");
533
- i0.ɵɵadvance();
534
- i0.ɵɵproperty("ngIf", !ctx_r2.moveDownIconTemplate && !ctx_r2._moveDownIconTemplate);
535
- i0.ɵɵadvance();
536
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveDownIconTemplate || ctx_r2._moveDownIconTemplate);
537
- i0.ɵɵadvance();
538
- i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movebottom"));
539
- i0.ɵɵattribute("aria-label", ctx_r2.moveBottomAriaLabel)("data-pc-section", "targetMoveBottomButton");
540
- i0.ɵɵadvance();
541
- i0.ɵɵproperty("ngIf", !ctx_r2.moveBottomIconTemplate && !ctx_r2._moveBottomIconTemplate);
542
- i0.ɵɵadvance();
543
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveBottomIconTemplate || ctx_r2._moveBottomIconTemplate);
544
- } }
545
94
  /**
546
95
  * PickList is used to reorder items between different lists.
547
96
  * @group Components
@@ -707,6 +256,16 @@ class PickList extends BaseComponent {
707
256
  * @group Props
708
257
  */
709
258
  disabled = false;
259
+ /**
260
+ * Name of the disabled field of a target option or function to determine disabled state.
261
+ * @group Props
262
+ */
263
+ sourceOptionDisabled;
264
+ /**
265
+ * Name of the disabled field of a target option or function to determine disabled state.
266
+ * @group Props
267
+ */
268
+ targetOptionDisabled;
710
269
  /**
711
270
  * Defines a string that labels the filter input of source list.
712
271
  * @group Props
@@ -1167,13 +726,15 @@ class PickList extends BaseComponent {
1167
726
  }
1168
727
  ngAfterViewChecked() {
1169
728
  if (this.movedUp || this.movedDown) {
1170
- let listItems = find(this.reorderedListElement, 'li.p-highlight');
729
+ let listItems = find(this.reorderedListElement?.el.nativeElement, 'li.p-listbox-option-selected');
1171
730
  let listItem;
1172
- if (this.movedUp)
1173
- listItem = listItems[0];
1174
- else
1175
- listItem = listItems[listItems.length - 1];
1176
- scrollInView(this.reorderedListElement, listItem);
731
+ if (listItems.length > 0) {
732
+ if (this.movedUp)
733
+ listItem = listItems[0];
734
+ else
735
+ listItem = listItems[listItems.length - 1];
736
+ scrollInView(this.reorderedListElement?.el.nativeElement, listItem);
737
+ }
1177
738
  this.movedUp = false;
1178
739
  this.movedDown = false;
1179
740
  this.reorderedListElement = null;
@@ -1812,176 +1373,315 @@ class PickList extends BaseComponent {
1812
1373
  this.destroyMedia();
1813
1374
  super.ngOnDestroy();
1814
1375
  }
1815
- static ɵfac = /*@__PURE__*/ (() => { let ɵPickList_BaseFactory; return function PickList_Factory(__ngFactoryType__) { return (ɵPickList_BaseFactory || (ɵPickList_BaseFactory = i0.ɵɵgetInheritedFactory(PickList)))(__ngFactoryType__ || PickList); }; })();
1816
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PickList, selectors: [["p-pickList"], ["p-picklist"], ["p-pick-list"]], contentQueries: function PickList_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1817
- i0.ɵɵcontentQuery(dirIndex, _c0, 4);
1818
- i0.ɵɵcontentQuery(dirIndex, _c1, 4);
1819
- i0.ɵɵcontentQuery(dirIndex, _c2, 4);
1820
- i0.ɵɵcontentQuery(dirIndex, _c3, 4);
1821
- i0.ɵɵcontentQuery(dirIndex, _c4, 4);
1822
- i0.ɵɵcontentQuery(dirIndex, _c5, 4);
1823
- i0.ɵɵcontentQuery(dirIndex, _c6, 4);
1824
- i0.ɵɵcontentQuery(dirIndex, _c7, 4);
1825
- i0.ɵɵcontentQuery(dirIndex, _c8, 4);
1826
- i0.ɵɵcontentQuery(dirIndex, _c9, 4);
1827
- i0.ɵɵcontentQuery(dirIndex, _c10, 4);
1828
- i0.ɵɵcontentQuery(dirIndex, _c11, 4);
1829
- i0.ɵɵcontentQuery(dirIndex, _c12, 4);
1830
- i0.ɵɵcontentQuery(dirIndex, _c13, 4);
1831
- i0.ɵɵcontentQuery(dirIndex, _c14, 4);
1832
- i0.ɵɵcontentQuery(dirIndex, _c15, 4);
1833
- i0.ɵɵcontentQuery(dirIndex, _c16, 4);
1834
- i0.ɵɵcontentQuery(dirIndex, _c17, 4);
1835
- i0.ɵɵcontentQuery(dirIndex, _c18, 4);
1836
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
1837
- } if (rf & 2) {
1838
- let _t;
1839
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
1840
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sourceHeaderTemplate = _t.first);
1841
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.targetHeaderTemplate = _t.first);
1842
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sourceFilterTemplate = _t.first);
1843
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.targetFilterTemplate = _t.first);
1844
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyMessageSourceTemplate = _t.first);
1845
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyFilterMessageSourceTemplate = _t.first);
1846
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyMessageTargetTemplate = _t.first);
1847
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyFilterMessageTargetTemplate = _t.first);
1848
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveUpIconTemplate = _t.first);
1849
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveTopIconTemplate = _t.first);
1850
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveDownIconTemplate = _t.first);
1851
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveBottomIconTemplate = _t.first);
1852
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveToTargetIconTemplate = _t.first);
1853
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveAllToTargetIconTemplate = _t.first);
1854
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveToSourceIconTemplate = _t.first);
1855
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveAllToSourceIconTemplate = _t.first);
1856
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.targetFilterIconTemplate = _t.first);
1857
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sourceFilterIconTemplate = _t.first);
1858
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
1859
- } }, viewQuery: function PickList_Query(rf, ctx) { if (rf & 1) {
1860
- i0.ɵɵviewQuery(_c19, 5);
1861
- i0.ɵɵviewQuery(_c20, 5);
1862
- i0.ɵɵviewQuery(_c3, 5);
1863
- i0.ɵɵviewQuery(_c4, 5);
1864
- } if (rf & 2) {
1865
- let _t;
1866
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listViewSourceChild = _t.first);
1867
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listViewTargetChild = _t.first);
1868
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sourceFilterViewChild = _t.first);
1869
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.targetFilterViewChild = _t.first);
1870
- } }, inputs: { source: "source", target: "target", sourceHeader: "sourceHeader", tabindex: [2, "tabindex", "tabindex", numberAttribute], rightButtonAriaLabel: "rightButtonAriaLabel", leftButtonAriaLabel: "leftButtonAriaLabel", allRightButtonAriaLabel: "allRightButtonAriaLabel", allLeftButtonAriaLabel: "allLeftButtonAriaLabel", upButtonAriaLabel: "upButtonAriaLabel", downButtonAriaLabel: "downButtonAriaLabel", topButtonAriaLabel: "topButtonAriaLabel", bottomButtonAriaLabel: "bottomButtonAriaLabel", targetHeader: "targetHeader", responsive: [2, "responsive", "responsive", booleanAttribute], filterBy: "filterBy", filterLocale: "filterLocale", trackBy: "trackBy", sourceTrackBy: "sourceTrackBy", targetTrackBy: "targetTrackBy", showSourceFilter: [2, "showSourceFilter", "showSourceFilter", booleanAttribute], showTargetFilter: [2, "showTargetFilter", "showTargetFilter", booleanAttribute], metaKeySelection: [2, "metaKeySelection", "metaKeySelection", booleanAttribute], dragdrop: [2, "dragdrop", "dragdrop", booleanAttribute], style: "style", styleClass: "styleClass", sourceStyle: "sourceStyle", targetStyle: "targetStyle", showSourceControls: [2, "showSourceControls", "showSourceControls", booleanAttribute], showTargetControls: [2, "showTargetControls", "showTargetControls", booleanAttribute], sourceFilterPlaceholder: "sourceFilterPlaceholder", targetFilterPlaceholder: "targetFilterPlaceholder", disabled: [2, "disabled", "disabled", booleanAttribute], ariaSourceFilterLabel: "ariaSourceFilterLabel", ariaTargetFilterLabel: "ariaTargetFilterLabel", filterMatchMode: "filterMatchMode", stripedRows: [2, "stripedRows", "stripedRows", booleanAttribute], keepSelection: [2, "keepSelection", "keepSelection", booleanAttribute], scrollHeight: "scrollHeight", autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute], buttonProps: "buttonProps", moveUpButtonProps: "moveUpButtonProps", moveTopButtonProps: "moveTopButtonProps", moveDownButtonProps: "moveDownButtonProps", moveBottomButtonProps: "moveBottomButtonProps", moveToTargetProps: "moveToTargetProps", moveAllToTargetProps: "moveAllToTargetProps", moveToSourceProps: "moveToSourceProps", moveAllToSourceProps: "moveAllToSourceProps", breakpoint: "breakpoint" }, outputs: { onMoveToSource: "onMoveToSource", onMoveAllToSource: "onMoveAllToSource", onMoveAllToTarget: "onMoveAllToTarget", onMoveToTarget: "onMoveToTarget", onSourceReorder: "onSourceReorder", onTargetReorder: "onTargetReorder", onSourceSelect: "onSourceSelect", onTargetSelect: "onTargetSelect", onSourceFilter: "onSourceFilter", onTargetFilter: "onTargetFilter", onFocus: "onFocus", onBlur: "onBlur" }, features: [i0.ɵɵProvidersFeature([PickListStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 34, vars: 95, consts: [["sourcelist", ""], ["targetlist", ""], ["header", ""], ["item", ""], ["cdkDropListGroup", "", 3, "ngStyle", "ngClass"], ["class", "p-picklist-controls p-picklist-source-controls", 4, "ngIf"], [1, "p-picklist-list-container", "p-picklist-source-list-container"], ["optionLabel", "name", 3, "ngModelChange", "onFocus", "onBlur", "keydown", "onDblClick", "onDrop", "multiple", "options", "ngModel", "id", "ngStyle", "striped", "tabindex", "disabled", "metaKeySelection", "scrollHeight", "autoOptionFocus", "filter", "filterBy", "filterLocale", "filterPlaceHolder", "dragdrop"], [4, "ngIf"], ["class", "p-picklist-title", 4, "ngIf"], [1, "p-picklist-controls", "p-picklist-transfer-controls"], ["type", "button", "pButton", "", "pRipple", "", "severity", "secondary", 1, "p-button-icon-only", 3, "click", "disabled", "buttonProps"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-picklist-list-container", "p-picklist-target-list-container"], ["class", "p-picklist-controls p-picklist-target-controls", 4, "ngIf"], [1, "p-picklist-controls", "p-picklist-source-controls"], [4, "ngTemplateOutlet"], [1, "p-picklist-title"], [1, "p-picklist-controls", "p-picklist-target-controls"]], template: function PickList_Template(rf, ctx) { if (rf & 1) {
1871
- const _r1 = i0.ɵɵgetCurrentView();
1872
- i0.ɵɵelementStart(0, "div", 4);
1873
- i0.ɵɵtemplate(1, PickList_div_1_Template, 13, 26, "div", 5);
1874
- i0.ɵɵelementStart(2, "div", 6)(3, "p-listbox", 7, 0);
1875
- i0.ɵɵtwoWayListener("ngModelChange", function PickList_Template_p_listbox_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.selectedItemsSource, $event) || (ctx.selectedItemsSource = $event); return i0.ɵɵresetView($event); });
1876
- i0.ɵɵlistener("onFocus", function PickList_Template_p_listbox_onFocus_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListFocus($event, ctx.SOURCE_LIST)); })("onBlur", function PickList_Template_p_listbox_onBlur_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListBlur($event, ctx.SOURCE_LIST)); })("keydown", function PickList_Template_p_listbox_keydown_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemKeyDown($event, ctx.selectedItemsSource, ctx.onSourceSelect, ctx.SOURCE_LIST)); })("onDblClick", function PickList_Template_p_listbox_onDblClick_3_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onSourceItemDblClick()); })("onDrop", function PickList_Template_p_listbox_onDrop_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onDrop($event, ctx.SOURCE_LIST)); });
1877
- i0.ɵɵtemplate(5, PickList_ng_container_5_Template, 3, 0, "ng-container", 8)(6, PickList_ng_container_6_Template, 2, 4, "ng-container", 8)(7, PickList_ng_container_7_Template, 2, 1, "ng-container", 8)(8, PickList_div_8_Template, 2, 1, "div", 9)(9, PickList_ng_container_9_Template, 3, 0, "ng-container", 8)(10, PickList_ng_container_10_Template, 2, 1, "ng-container", 8);
1878
- i0.ɵɵelementEnd()();
1879
- i0.ɵɵelementStart(11, "div", 10)(12, "button", 11);
1880
- i0.ɵɵlistener("click", function PickList_Template_button_click_12_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveRight()); });
1881
- i0.ɵɵtemplate(13, PickList_ng_container_13_Template, 3, 2, "ng-container", 8)(14, PickList_14_Template, 1, 0, null, 12);
1882
- i0.ɵɵelementEnd();
1883
- i0.ɵɵelementStart(15, "button", 11);
1884
- i0.ɵɵlistener("click", function PickList_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveAllRight()); });
1885
- i0.ɵɵtemplate(16, PickList_ng_container_16_Template, 3, 2, "ng-container", 8)(17, PickList_17_Template, 1, 0, null, 12);
1886
- i0.ɵɵelementEnd();
1887
- i0.ɵɵelementStart(18, "button", 11);
1888
- i0.ɵɵlistener("click", function PickList_Template_button_click_18_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveLeft()); });
1889
- i0.ɵɵtemplate(19, PickList_ng_container_19_Template, 3, 2, "ng-container", 8)(20, PickList_20_Template, 1, 0, null, 12);
1890
- i0.ɵɵelementEnd();
1891
- i0.ɵɵelementStart(21, "button", 11);
1892
- i0.ɵɵlistener("click", function PickList_Template_button_click_21_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveAllLeft()); });
1893
- i0.ɵɵtemplate(22, PickList_ng_container_22_Template, 3, 2, "ng-container", 8)(23, PickList_23_Template, 1, 0, null, 12);
1894
- i0.ɵɵelementEnd()();
1895
- i0.ɵɵelementStart(24, "div", 13)(25, "p-listbox", 7, 1);
1896
- i0.ɵɵtwoWayListener("ngModelChange", function PickList_Template_p_listbox_ngModelChange_25_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.selectedItemsTarget, $event) || (ctx.selectedItemsTarget = $event); return i0.ɵɵresetView($event); });
1897
- i0.ɵɵlistener("onFocus", function PickList_Template_p_listbox_onFocus_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListFocus($event, ctx.TARGET_LIST)); })("onBlur", function PickList_Template_p_listbox_onBlur_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListBlur($event, ctx.TARGET_LIST)); })("keydown", function PickList_Template_p_listbox_keydown_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemKeyDown($event, ctx.selectedItemsTarget, ctx.onTargetSelect, ctx.TARGET_LIST)); })("onDblClick", function PickList_Template_p_listbox_onDblClick_25_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onTargetItemDblClick()); })("onDrop", function PickList_Template_p_listbox_onDrop_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onDrop($event, ctx.TARGET_LIST)); });
1898
- i0.ɵɵtemplate(27, PickList_ng_container_27_Template, 3, 0, "ng-container", 8)(28, PickList_ng_container_28_Template, 2, 4, "ng-container", 8)(29, PickList_ng_container_29_Template, 2, 1, "ng-container", 8)(30, PickList_div_30_Template, 2, 1, "div", 9)(31, PickList_ng_container_31_Template, 3, 0, "ng-container", 8)(32, PickList_ng_container_32_Template, 2, 1, "ng-container", 8);
1899
- i0.ɵɵelementEnd()();
1900
- i0.ɵɵtemplate(33, PickList_div_33_Template, 13, 26, "div", 14);
1901
- i0.ɵɵelementEnd();
1902
- } if (rf & 2) {
1903
- i0.ɵɵclassMap(ctx.styleClass);
1904
- i0.ɵɵproperty("ngStyle", ctx.style)("ngClass", i0.ɵɵpureFunction0(86, _c21));
1905
- i0.ɵɵattribute("data-pc-name", "picklist")("data-pc-section", "root");
1906
- i0.ɵɵadvance();
1907
- i0.ɵɵproperty("ngIf", ctx.showSourceControls);
1908
- i0.ɵɵadvance();
1909
- i0.ɵɵattribute("data-pc-section", "sourceWrapper")("data-pc-group-section", "listWrapper");
1910
- i0.ɵɵadvance();
1911
- i0.ɵɵproperty("multiple", true)("options", ctx.source);
1912
- i0.ɵɵtwoWayProperty("ngModel", ctx.selectedItemsSource);
1913
- i0.ɵɵproperty("id", ctx.idSource + "_list")("ngStyle", ctx.sourceStyle)("striped", ctx.stripedRows)("tabindex", ctx.tabindex)("disabled", ctx.disabled)("metaKeySelection", ctx.metaKeySelection)("scrollHeight", ctx.scrollHeight)("autoOptionFocus", ctx.autoOptionFocus)("filter", ctx.filterBy)("filterBy", ctx.filterBy)("filterLocale", ctx.filterLocale)("filterPlaceHolder", ctx.sourceFilterPlaceholder)("dragdrop", ctx.dragdrop);
1914
- i0.ɵɵadvance(2);
1915
- i0.ɵɵproperty("ngIf", ctx.sourceHeaderTemplate || ctx._sourceHeaderTemplate);
1916
- i0.ɵɵadvance();
1917
- i0.ɵɵproperty("ngIf", ctx.sourceFilterTemplate || ctx._sourceFilterTemplate);
1918
- i0.ɵɵadvance();
1919
- i0.ɵɵproperty("ngIf", ctx.sourceFilterIconTemplate || ctx._sourceFilterIconTemplate);
1920
- i0.ɵɵadvance();
1921
- i0.ɵɵproperty("ngIf", !ctx.sourceHeaderTemplate && !ctx._sourceHeaderTemplate);
1922
- i0.ɵɵadvance();
1923
- i0.ɵɵproperty("ngIf", ctx.itemTemplate || ctx._itemTemplate);
1924
- i0.ɵɵadvance();
1925
- i0.ɵɵproperty("ngIf", ctx.emptyFilterMessageSourceTemplate || ctx._emptyFilterMessageSourceTemplate || ctx.emptyMessageSourceTemplate || ctx._emptyMessageSourceTemplate);
1926
- i0.ɵɵadvance();
1927
- i0.ɵɵattribute("data-pc-section", "buttons")("data-pc-group-section", "controls");
1928
- i0.ɵɵadvance();
1929
- i0.ɵɵproperty("disabled", ctx.moveRightDisabled())("buttonProps", ctx.getButtonProps("movetotarget"));
1930
- i0.ɵɵattribute("aria-label", ctx.moveToTargetAriaLabel)("data-pc-section", "moveToTargetButton");
1931
- i0.ɵɵadvance();
1932
- i0.ɵɵproperty("ngIf", !ctx.moveToTargetIconTemplate && !ctx._moveToTargetIconTemplate);
1933
- i0.ɵɵadvance();
1934
- i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToTargetIconTemplate || ctx._moveToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(87, _c22, ctx.viewChanged));
1935
- i0.ɵɵadvance();
1936
- i0.ɵɵproperty("disabled", ctx.moveAllRightDisabled())("buttonProps", ctx.getButtonProps("movealltotarget"));
1937
- i0.ɵɵattribute("aria-label", ctx.moveAllToTargetAriaLabel)("data-pc-section", "moveAllToTargetButton");
1938
- i0.ɵɵadvance();
1939
- i0.ɵɵproperty("ngIf", !ctx.moveAllToTargetIconTemplate && !ctx._moveAllToTargetIconTemplate);
1940
- i0.ɵɵadvance();
1941
- i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToTargetIconTemplate || ctx._moveAllToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(89, _c22, ctx.viewChanged));
1942
- i0.ɵɵadvance();
1943
- i0.ɵɵproperty("disabled", ctx.moveLeftDisabled())("buttonProps", ctx.getButtonProps("movetosource"));
1944
- i0.ɵɵattribute("aria-label", ctx.moveToSourceAriaLabel)("data-pc-section", "moveToSourceButton");
1945
- i0.ɵɵadvance();
1946
- i0.ɵɵproperty("ngIf", !ctx.moveToSourceIconTemplate && !ctx._moveToSourceIconTemplate);
1947
- i0.ɵɵadvance();
1948
- i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToSourceIconTemplate || ctx._moveToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(91, _c22, ctx.viewChanged));
1949
- i0.ɵɵadvance();
1950
- i0.ɵɵproperty("disabled", ctx.moveAllLeftDisabled())("buttonProps", ctx.getButtonProps("movealltosource"));
1951
- i0.ɵɵattribute("aria-label", ctx.moveAllToSourceAriaLabel)("data-pc-section", "moveAllToSourceButton");
1952
- i0.ɵɵadvance();
1953
- i0.ɵɵproperty("ngIf", !ctx.moveAllToSourceIconTemplate && !ctx._moveAllToSourceIconTemplate);
1954
- i0.ɵɵadvance();
1955
- i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToSourceIconTemplate || ctx._moveAllToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(93, _c22, ctx.viewChanged));
1956
- i0.ɵɵadvance();
1957
- i0.ɵɵattribute("data-pc-section", "targetWrapper")("data-pc-group-section", "listwrapper");
1958
- i0.ɵɵadvance();
1959
- i0.ɵɵproperty("multiple", true)("options", ctx.target);
1960
- i0.ɵɵtwoWayProperty("ngModel", ctx.selectedItemsTarget);
1961
- i0.ɵɵproperty("id", ctx.idTarget + "_list")("ngStyle", ctx.targetStyle)("striped", ctx.stripedRows)("tabindex", ctx.tabindex)("disabled", ctx.disabled)("metaKeySelection", ctx.metaKeySelection)("scrollHeight", ctx.scrollHeight)("autoOptionFocus", ctx.autoOptionFocus)("filter", ctx.filterBy)("filterBy", ctx.filterBy)("filterLocale", ctx.filterLocale)("filterPlaceHolder", ctx.targetFilterPlaceholder)("dragdrop", ctx.dragdrop);
1962
- i0.ɵɵadvance(2);
1963
- i0.ɵɵproperty("ngIf", ctx.targetHeaderTemplate || ctx._targetHeaderTemplate);
1964
- i0.ɵɵadvance();
1965
- i0.ɵɵproperty("ngIf", ctx.targetFilterTemplate || ctx._targetFilterTemplate);
1966
- i0.ɵɵadvance();
1967
- i0.ɵɵproperty("ngIf", ctx.targetFilterIconTemplate || ctx._targetFilterIconTemplate);
1968
- i0.ɵɵadvance();
1969
- i0.ɵɵproperty("ngIf", !ctx.targetHeaderTemplate && !ctx._targetHeaderTemplate);
1970
- i0.ɵɵadvance();
1971
- i0.ɵɵproperty("ngIf", ctx.itemTemplate || ctx._itemTemplate);
1972
- i0.ɵɵadvance();
1973
- i0.ɵɵproperty("ngIf", ctx.emptyFilterMessageTargetTemplate || ctx._emptyFilterMessageTargetTemplate || ctx.emptyMessageTargetTemplate || ctx._emptyMessageTargetTemplate);
1974
- i0.ɵɵadvance();
1975
- i0.ɵɵproperty("ngIf", ctx.showTargetControls);
1976
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, ButtonDirective, Ripple, DragDropModule, i2.CdkDropListGroup, AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, Listbox, FormsModule, i3.NgControlStatus, i3.NgModel, SharedModule], encapsulation: 2, changeDetection: 0 });
1376
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PickList, deps: null, target: i0.ɵɵFactoryTarget.Component });
1377
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: PickList, isStandalone: true, selector: "p-pickList, p-picklist, p-pick-list", inputs: { source: "source", target: "target", sourceHeader: "sourceHeader", tabindex: ["tabindex", "tabindex", numberAttribute], rightButtonAriaLabel: "rightButtonAriaLabel", leftButtonAriaLabel: "leftButtonAriaLabel", allRightButtonAriaLabel: "allRightButtonAriaLabel", allLeftButtonAriaLabel: "allLeftButtonAriaLabel", upButtonAriaLabel: "upButtonAriaLabel", downButtonAriaLabel: "downButtonAriaLabel", topButtonAriaLabel: "topButtonAriaLabel", bottomButtonAriaLabel: "bottomButtonAriaLabel", targetHeader: "targetHeader", responsive: ["responsive", "responsive", booleanAttribute], filterBy: "filterBy", filterLocale: "filterLocale", trackBy: "trackBy", sourceTrackBy: "sourceTrackBy", targetTrackBy: "targetTrackBy", showSourceFilter: ["showSourceFilter", "showSourceFilter", booleanAttribute], showTargetFilter: ["showTargetFilter", "showTargetFilter", booleanAttribute], metaKeySelection: ["metaKeySelection", "metaKeySelection", booleanAttribute], dragdrop: ["dragdrop", "dragdrop", booleanAttribute], style: "style", styleClass: "styleClass", sourceStyle: "sourceStyle", targetStyle: "targetStyle", showSourceControls: ["showSourceControls", "showSourceControls", booleanAttribute], showTargetControls: ["showTargetControls", "showTargetControls", booleanAttribute], sourceFilterPlaceholder: "sourceFilterPlaceholder", targetFilterPlaceholder: "targetFilterPlaceholder", disabled: ["disabled", "disabled", booleanAttribute], sourceOptionDisabled: "sourceOptionDisabled", targetOptionDisabled: "targetOptionDisabled", ariaSourceFilterLabel: "ariaSourceFilterLabel", ariaTargetFilterLabel: "ariaTargetFilterLabel", filterMatchMode: "filterMatchMode", stripedRows: ["stripedRows", "stripedRows", booleanAttribute], keepSelection: ["keepSelection", "keepSelection", booleanAttribute], scrollHeight: "scrollHeight", autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], buttonProps: "buttonProps", moveUpButtonProps: "moveUpButtonProps", moveTopButtonProps: "moveTopButtonProps", moveDownButtonProps: "moveDownButtonProps", moveBottomButtonProps: "moveBottomButtonProps", moveToTargetProps: "moveToTargetProps", moveAllToTargetProps: "moveAllToTargetProps", moveToSourceProps: "moveToSourceProps", moveAllToSourceProps: "moveAllToSourceProps", breakpoint: "breakpoint" }, outputs: { onMoveToSource: "onMoveToSource", onMoveAllToSource: "onMoveAllToSource", onMoveAllToTarget: "onMoveAllToTarget", onMoveToTarget: "onMoveToTarget", onSourceReorder: "onSourceReorder", onTargetReorder: "onTargetReorder", onSourceSelect: "onSourceSelect", onTargetSelect: "onTargetSelect", onSourceFilter: "onSourceFilter", onTargetFilter: "onTargetFilter", onFocus: "onFocus", onBlur: "onBlur" }, providers: [PickListStyle], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "sourceHeaderTemplate", first: true, predicate: ["sourceHeader"] }, { propertyName: "targetHeaderTemplate", first: true, predicate: ["targetHeader"] }, { propertyName: "sourceFilterTemplate", first: true, predicate: ["sourceFilter"] }, { propertyName: "targetFilterTemplate", first: true, predicate: ["targetFilter"] }, { propertyName: "emptyMessageSourceTemplate", first: true, predicate: ["emptymessagesource"] }, { propertyName: "emptyFilterMessageSourceTemplate", first: true, predicate: ["emptyfiltermessagesource"] }, { propertyName: "emptyMessageTargetTemplate", first: true, predicate: ["emptymessagetarget"] }, { propertyName: "emptyFilterMessageTargetTemplate", first: true, predicate: ["emptyfiltermessagetarget"] }, { propertyName: "moveUpIconTemplate", first: true, predicate: ["moveupicon"] }, { propertyName: "moveTopIconTemplate", first: true, predicate: ["movetopicon"] }, { propertyName: "moveDownIconTemplate", first: true, predicate: ["movedownicon"] }, { propertyName: "moveBottomIconTemplate", first: true, predicate: ["movebottomicon"] }, { propertyName: "moveToTargetIconTemplate", first: true, predicate: ["movetotargeticon"] }, { propertyName: "moveAllToTargetIconTemplate", first: true, predicate: ["movealltotargeticon"] }, { propertyName: "moveToSourceIconTemplate", first: true, predicate: ["movetosourceicon"] }, { propertyName: "moveAllToSourceIconTemplate", first: true, predicate: ["movealltosourceicon"] }, { propertyName: "targetFilterIconTemplate", first: true, predicate: ["targetfiltericon"] }, { propertyName: "sourceFilterIconTemplate", first: true, predicate: ["sourcefiltericon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "listViewSourceChild", first: true, predicate: ["sourcelist"], descendants: true }, { propertyName: "listViewTargetChild", first: true, predicate: ["targetlist"], descendants: true }, { propertyName: "sourceFilterViewChild", first: true, predicate: ["sourceFilter"], descendants: true }, { propertyName: "targetFilterViewChild", first: true, predicate: ["targetFilter"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1378
+ <div [class]="styleClass" [ngStyle]="style" [ngClass]="{ 'p-picklist p-component': true }" cdkDropListGroup [attr.data-pc-name]="'picklist'" [attr.data-pc-section]="'root'">
1379
+ <div class="p-picklist-controls p-picklist-source-controls" *ngIf="showSourceControls" [attr.data-pc-section]="'sourceControls'" [attr.data-pc-group-section]="'controls'">
1380
+ <button
1381
+ type="button"
1382
+ [attr.aria-label]="moveUpAriaLabel"
1383
+ pButton
1384
+ pRipple
1385
+ severity="secondary"
1386
+ class="p-button-icon-only"
1387
+ [disabled]="sourceMoveDisabled()"
1388
+ (click)="moveUp(sourcelist, source, selectedItemsSource, onSourceReorder, SOURCE_LIST)"
1389
+ [attr.data-pc-section]="'sourceMoveUpButton'"
1390
+ [buttonProps]="getButtonProps('moveup')"
1391
+ >
1392
+ <AngleUpIcon *ngIf="!moveUpIconTemplate && !_moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
1393
+ <ng-template *ngTemplateOutlet="moveUpIconTemplate || _moveUpIconTemplate"></ng-template>
1394
+ </button>
1395
+ <button
1396
+ type="button"
1397
+ [attr.aria-label]="moveTopAriaLabel"
1398
+ pButton
1399
+ pRipple
1400
+ severity="secondary"
1401
+ class="p-button-icon-only"
1402
+ [disabled]="sourceMoveDisabled()"
1403
+ (click)="moveTop(sourcelist, source, selectedItemsSource, onSourceReorder, SOURCE_LIST)"
1404
+ [attr.data-pc-section]="'sourceMoveTopButton'"
1405
+ [buttonProps]="getButtonProps('movetop')"
1406
+ >
1407
+ <AngleDoubleUpIcon *ngIf="!moveTopIconTemplate && !_moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
1408
+ <ng-template *ngTemplateOutlet="moveTopIconTemplate || _moveTopIconTemplate"></ng-template>
1409
+ </button>
1410
+ <button
1411
+ type="button"
1412
+ [attr.aria-label]="moveDownAriaLabel"
1413
+ pButton
1414
+ pRipple
1415
+ severity="secondary"
1416
+ class="p-button-icon-only"
1417
+ [disabled]="sourceMoveDisabled()"
1418
+ (click)="moveDown(sourcelist, source, selectedItemsSource, onSourceReorder, SOURCE_LIST)"
1419
+ [attr.data-pc-section]="'sourceMoveDownButton'"
1420
+ [buttonProps]="getButtonProps('movedown')"
1421
+ >
1422
+ <AngleDownIcon *ngIf="!moveDownIconTemplate && !_moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
1423
+ <ng-template *ngTemplateOutlet="moveDownIconTemplate || _moveDownIconTemplate"></ng-template>
1424
+ </button>
1425
+ <button
1426
+ type="button"
1427
+ [attr.aria-label]="moveBottomAriaLabel"
1428
+ pButton
1429
+ pRipple
1430
+ severity="secondary"
1431
+ class="p-button-icon-only"
1432
+ [disabled]="sourceMoveDisabled()"
1433
+ (click)="moveBottom(sourcelist, source, selectedItemsSource, onSourceReorder, SOURCE_LIST)"
1434
+ [attr.data-pc-section]="'sourceMoveBottomButton'"
1435
+ [buttonProps]="getButtonProps('movebottom')"
1436
+ >
1437
+ <AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate || _moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
1438
+ <ng-template *ngTemplateOutlet="moveBottomIconTemplate || _moveBottomIconTemplate"></ng-template>
1439
+ </button>
1440
+ </div>
1441
+ <div class="p-picklist-list-container p-picklist-source-list-container" [attr.data-pc-section]="'sourceWrapper'" [attr.data-pc-group-section]="'listWrapper'">
1442
+ <p-listbox
1443
+ #sourcelist
1444
+ [multiple]="true"
1445
+ [options]="source"
1446
+ [(ngModel)]="selectedItemsSource"
1447
+ optionLabel="name"
1448
+ [id]="idSource + '_list'"
1449
+ [ngStyle]="sourceStyle"
1450
+ [striped]="stripedRows"
1451
+ [tabindex]="tabindex"
1452
+ (onFocus)="onListFocus($event, SOURCE_LIST)"
1453
+ (onBlur)="onListBlur($event, SOURCE_LIST)"
1454
+ (keydown)="onItemKeyDown($event, selectedItemsSource, onSourceSelect, SOURCE_LIST)"
1455
+ (onDblClick)="onSourceItemDblClick()"
1456
+ [disabled]="disabled"
1457
+ [optionDisabled]="sourceOptionDisabled"
1458
+ [metaKeySelection]="metaKeySelection"
1459
+ [scrollHeight]="scrollHeight"
1460
+ [autoOptionFocus]="autoOptionFocus"
1461
+ [filter]="filterBy"
1462
+ [filterBy]="filterBy"
1463
+ [filterLocale]="filterLocale"
1464
+ [filterPlaceHolder]="sourceFilterPlaceholder"
1465
+ [dragdrop]="dragdrop"
1466
+ (onDrop)="onDrop($event, SOURCE_LIST)"
1467
+ >
1468
+ <ng-container *ngIf="sourceHeaderTemplate || _sourceHeaderTemplate">
1469
+ <ng-template #header>
1470
+ <ng-template *ngTemplateOutlet="sourceHeaderTemplate || _sourceHeaderTemplate"></ng-template>
1471
+ </ng-template>
1472
+ </ng-container>
1473
+ <ng-container *ngIf="sourceFilterTemplate || _sourceFilterTemplate">
1474
+ <ng-container *ngTemplateOutlet="sourceFilterTemplate || _sourceFilterTemplate; context: { options: sourceFilterOptions }"></ng-container>
1475
+ </ng-container>
1476
+ <ng-container *ngIf="sourceFilterIconTemplate || _sourceFilterIconTemplate">
1477
+ <ng-container *ngTemplateOutlet="sourceFilterIconTemplate || _sourceFilterIconTemplate"></ng-container>
1478
+ </ng-container>
1479
+ <div class="p-picklist-title" *ngIf="!sourceHeaderTemplate && !_sourceHeaderTemplate">{{ sourceHeader }}</div>
1480
+ <ng-container *ngIf="itemTemplate || _itemTemplate">
1481
+ <ng-template #item let-item let-index="index" let-selected="selected">
1482
+ <ng-container *ngTemplateOutlet="itemTemplate || _itemTemplate; context: { $implicit: item, index: index, selected: selected }"></ng-container>
1483
+ </ng-template>
1484
+ </ng-container>
1485
+ <ng-container *ngIf="emptyFilterMessageSourceTemplate || _emptyFilterMessageSourceTemplate || emptyMessageSourceTemplate || _emptyMessageSourceTemplate">
1486
+ <ng-container *ngTemplateOutlet="emptyFilterMessageSourceTemplate || _emptyFilterMessageSourceTemplate || emptyMessageSourceTemplate || _emptyMessageSourceTemplate"></ng-container>
1487
+ </ng-container>
1488
+ </p-listbox>
1489
+ </div>
1490
+ <div class="p-picklist-controls p-picklist-transfer-controls" [attr.data-pc-section]="'buttons'" [attr.data-pc-group-section]="'controls'">
1491
+ <button
1492
+ type="button"
1493
+ [attr.aria-label]="moveToTargetAriaLabel"
1494
+ pButton
1495
+ pRipple
1496
+ severity="secondary"
1497
+ class="p-button-icon-only"
1498
+ [disabled]="moveRightDisabled()"
1499
+ (click)="moveRight()"
1500
+ [attr.data-pc-section]="'moveToTargetButton'"
1501
+ [buttonProps]="getButtonProps('movetotarget')"
1502
+ >
1503
+ <ng-container *ngIf="!moveToTargetIconTemplate && !_moveToTargetIconTemplate">
1504
+ <AngleRightIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movetotargeticon'" />
1505
+ <AngleDownIcon *ngIf="viewChanged" [attr.data-pc-section]="'movetotargeticon'" />
1506
+ </ng-container>
1507
+ <ng-template *ngTemplateOutlet="moveToTargetIconTemplate || _moveToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
1508
+ </button>
1509
+ <button
1510
+ type="button"
1511
+ [attr.aria-label]="moveAllToTargetAriaLabel"
1512
+ pButton
1513
+ pRipple
1514
+ severity="secondary"
1515
+ class="p-button-icon-only"
1516
+ [disabled]="moveAllRightDisabled()"
1517
+ (click)="moveAllRight()"
1518
+ [attr.data-pc-section]="'moveAllToTargetButton'"
1519
+ [buttonProps]="getButtonProps('movealltotarget')"
1520
+ >
1521
+ <ng-container *ngIf="!moveAllToTargetIconTemplate && !_moveAllToTargetIconTemplate">
1522
+ <AngleDoubleRightIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movealltotargeticon'" />
1523
+ <AngleDoubleDownIcon *ngIf="viewChanged" [attr.data-pc-section]="'movealltotargeticon'" />
1524
+ </ng-container>
1525
+ <ng-template *ngTemplateOutlet="moveAllToTargetIconTemplate || _moveAllToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
1526
+ </button>
1527
+ <button
1528
+ type="button"
1529
+ [attr.aria-label]="moveToSourceAriaLabel"
1530
+ pButton
1531
+ pRipple
1532
+ severity="secondary"
1533
+ class="p-button-icon-only"
1534
+ [disabled]="moveLeftDisabled()"
1535
+ (click)="moveLeft()"
1536
+ [attr.data-pc-section]="'moveToSourceButton'"
1537
+ [buttonProps]="getButtonProps('movetosource')"
1538
+ >
1539
+ <ng-container *ngIf="!moveToSourceIconTemplate && !_moveToSourceIconTemplate">
1540
+ <AngleLeftIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movedownsourceticon'" />
1541
+ <AngleUpIcon *ngIf="viewChanged" [attr.data-pc-section]="'movedownsourceticon'" />
1542
+ </ng-container>
1543
+ <ng-template *ngTemplateOutlet="moveToSourceIconTemplate || _moveToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
1544
+ </button>
1545
+ <button
1546
+ type="button"
1547
+ [attr.aria-label]="moveAllToSourceAriaLabel"
1548
+ pButton
1549
+ pRipple
1550
+ severity="secondary"
1551
+ class="p-button-icon-only"
1552
+ [disabled]="moveAllLeftDisabled()"
1553
+ (click)="moveAllLeft()"
1554
+ [attr.data-pc-section]="'moveAllToSourceButton'"
1555
+ [buttonProps]="getButtonProps('movealltosource')"
1556
+ >
1557
+ <ng-container *ngIf="!moveAllToSourceIconTemplate && !_moveAllToSourceIconTemplate">
1558
+ <AngleDoubleLeftIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movealltosourceticon'" />
1559
+ <AngleDoubleUpIcon *ngIf="viewChanged" [attr.data-pc-section]="'movealltosourceticon'" />
1560
+ </ng-container>
1561
+ <ng-template *ngTemplateOutlet="moveAllToSourceIconTemplate || _moveAllToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
1562
+ </button>
1563
+ </div>
1564
+ <div class="p-picklist-list-container p-picklist-target-list-container" [attr.data-pc-section]="'targetWrapper'" [attr.data-pc-group-section]="'listwrapper'">
1565
+ <p-listbox
1566
+ #targetlist
1567
+ [multiple]="true"
1568
+ [options]="target"
1569
+ [(ngModel)]="selectedItemsTarget"
1570
+ optionLabel="name"
1571
+ [id]="idTarget + '_list'"
1572
+ [ngStyle]="targetStyle"
1573
+ [striped]="stripedRows"
1574
+ [tabindex]="tabindex"
1575
+ (onFocus)="onListFocus($event, TARGET_LIST)"
1576
+ (onBlur)="onListBlur($event, TARGET_LIST)"
1577
+ (keydown)="onItemKeyDown($event, selectedItemsTarget, onTargetSelect, TARGET_LIST)"
1578
+ (onDblClick)="onTargetItemDblClick()"
1579
+ [disabled]="disabled"
1580
+ [optionDisabled]="targetOptionDisabled"
1581
+ [metaKeySelection]="metaKeySelection"
1582
+ [scrollHeight]="scrollHeight"
1583
+ [autoOptionFocus]="autoOptionFocus"
1584
+ [filter]="filterBy"
1585
+ [filterBy]="filterBy"
1586
+ [filterLocale]="filterLocale"
1587
+ [filterPlaceHolder]="targetFilterPlaceholder"
1588
+ [dragdrop]="dragdrop"
1589
+ (onDrop)="onDrop($event, TARGET_LIST)"
1590
+ >
1591
+ <ng-container *ngIf="targetHeaderTemplate || _targetHeaderTemplate">
1592
+ <ng-template #header>
1593
+ <ng-template *ngTemplateOutlet="targetHeaderTemplate || _targetHeaderTemplate"></ng-template>
1594
+ </ng-template>
1595
+ </ng-container>
1596
+ <ng-container *ngIf="targetFilterTemplate || _targetFilterTemplate">
1597
+ <ng-container *ngTemplateOutlet="targetFilterTemplate || _targetFilterTemplate; context: { options: targetFilterOptions }"></ng-container>
1598
+ </ng-container>
1599
+ <ng-container *ngIf="targetFilterIconTemplate || _targetFilterIconTemplate">
1600
+ <ng-container *ngTemplateOutlet="targetFilterIconTemplate || _targetFilterIconTemplate"></ng-container>
1601
+ </ng-container>
1602
+ <div class="p-picklist-title" *ngIf="!targetHeaderTemplate && !_targetHeaderTemplate">{{ targetHeader }}</div>
1603
+ <ng-container *ngIf="itemTemplate || _itemTemplate">
1604
+ <ng-template #item let-item let-index="index" let-selected="selected">
1605
+ <ng-container *ngTemplateOutlet="itemTemplate || _itemTemplate; context: { $implicit: item, index: index, selected: selected }"></ng-container>
1606
+ </ng-template>
1607
+ </ng-container>
1608
+ <ng-container *ngIf="emptyFilterMessageTargetTemplate || _emptyFilterMessageTargetTemplate || emptyMessageTargetTemplate || _emptyMessageTargetTemplate">
1609
+ <ng-container *ngTemplateOutlet="emptyFilterMessageTargetTemplate || _emptyFilterMessageTargetTemplate || emptyMessageTargetTemplate || _emptyMessageTargetTemplate"></ng-container>
1610
+ </ng-container>
1611
+ </p-listbox>
1612
+ </div>
1613
+ <div class="p-picklist-controls p-picklist-target-controls" *ngIf="showTargetControls" [attr.data-pc-section]="'targetControls'" [attr.data-pc-group-section]="'controls'">
1614
+ <button
1615
+ type="button"
1616
+ [attr.aria-label]="moveUpAriaLabel"
1617
+ pButton
1618
+ pRipple
1619
+ severity="secondary"
1620
+ class="p-button-icon-only"
1621
+ [disabled]="targetMoveDisabled()"
1622
+ (click)="moveUp(targetlist, target, selectedItemsTarget, onTargetReorder, TARGET_LIST)"
1623
+ [attr.data-pc-section]="'targetMoveUpButton'"
1624
+ [buttonProps]="getButtonProps('moveup')"
1625
+ >
1626
+ <AngleUpIcon *ngIf="!moveUpIconTemplate && !_moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
1627
+ <ng-template *ngTemplateOutlet="moveUpIconTemplate || _moveUpIconTemplate"></ng-template>
1628
+ </button>
1629
+ <button
1630
+ type="button"
1631
+ [attr.aria-label]="moveTopAriaLabel"
1632
+ pButton
1633
+ pRipple
1634
+ severity="secondary"
1635
+ class="p-button-icon-only"
1636
+ [disabled]="targetMoveDisabled()"
1637
+ (click)="moveTop(targetlist, target, selectedItemsTarget, onTargetReorder, TARGET_LIST)"
1638
+ [attr.data-pc-section]="'targetMoveTopButton'"
1639
+ [buttonProps]="getButtonProps('movetop')"
1640
+ >
1641
+ <AngleDoubleUpIcon *ngIf="!moveTopIconTemplate && !_moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
1642
+ <ng-template *ngTemplateOutlet="moveTopIconTemplate || moveTopIconTemplate"></ng-template>
1643
+ </button>
1644
+ <button
1645
+ type="button"
1646
+ [attr.aria-label]="moveDownAriaLabel"
1647
+ pButton
1648
+ pRipple
1649
+ severity="secondary"
1650
+ class="p-button-icon-only"
1651
+ [disabled]="targetMoveDisabled()"
1652
+ (click)="moveDown(targetlist, target, selectedItemsTarget, onTargetReorder, TARGET_LIST)"
1653
+ [attr.data-pc-section]="'targetMoveDownButton'"
1654
+ [buttonProps]="getButtonProps('movedown')"
1655
+ >
1656
+ <AngleDownIcon *ngIf="!moveDownIconTemplate && !_moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
1657
+ <ng-template *ngTemplateOutlet="moveDownIconTemplate || _moveDownIconTemplate"></ng-template>
1658
+ </button>
1659
+ <button
1660
+ type="button"
1661
+ [attr.aria-label]="moveBottomAriaLabel"
1662
+ pButton
1663
+ pRipple
1664
+ severity="secondary"
1665
+ class="p-button-icon-only"
1666
+ [disabled]="targetMoveDisabled()"
1667
+ (click)="moveBottom(targetlist, target, selectedItemsTarget, onTargetReorder, TARGET_LIST)"
1668
+ [attr.data-pc-section]="'targetMoveBottomButton'"
1669
+ [buttonProps]="getButtonProps('movebottom')"
1670
+ >
1671
+ <AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate && !_moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
1672
+ <ng-template *ngTemplateOutlet="moveBottomIconTemplate || _moveBottomIconTemplate"></ng-template>
1673
+ </button>
1674
+ </div>
1675
+ </div>
1676
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i2.CdkDropListGroup, selector: "[cdkDropListGroup]", inputs: ["cdkDropListGroupDisabled"], exportAs: ["cdkDropListGroup"] }, { kind: "component", type: AngleDoubleDownIcon, selector: "AngleDoubleDownIcon" }, { kind: "component", type: AngleDoubleLeftIcon, selector: "AngleDoubleLeftIcon" }, { kind: "component", type: AngleDoubleRightIcon, selector: "AngleDoubleRightIcon" }, { kind: "component", type: AngleDoubleUpIcon, selector: "AngleDoubleUpIcon" }, { kind: "component", type: AngleDownIcon, selector: "AngleDownIcon" }, { kind: "component", type: AngleLeftIcon, selector: "AngleLeftIcon" }, { kind: "component", type: AngleRightIcon, selector: "AngleRightIcon" }, { kind: "component", type: AngleUpIcon, selector: "AngleUpIcon" }, { kind: "component", type: Listbox, selector: "p-listbox, p-listBox, p-list-box", inputs: ["id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "ariaLabel", "selectOnFocus", "searchLocale", "focusOnHover", "filterMessage", "filterFields", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "scrollHeight", "tabindex", "multiple", "style", "styleClass", "listStyle", "listStyleClass", "readonly", "disabled", "checkbox", "filter", "filterBy", "filterMatchMode", "filterLocale", "metaKeySelection", "dataKey", "showToggleAll", "optionLabel", "optionValue", "optionGroupChildren", "optionGroupLabel", "optionDisabled", "ariaFilterLabel", "filterPlaceHolder", "emptyFilterMessage", "emptyMessage", "group", "options", "filterValue", "selectAll", "striped", "highlightOnSelect", "checkmark", "dragdrop"], outputs: ["onChange", "onClick", "onDblClick", "onFilter", "onFocus", "onBlur", "onSelectAllChange", "onLazyLoad", "onDrop"] }, { 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 }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1977
1677
  }
1978
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PickList, [{
1979
- type: Component,
1980
- args: [{
1981
- selector: 'p-pickList, p-picklist, p-pick-list',
1982
- standalone: true,
1983
- imports: [CommonModule, ButtonDirective, Ripple, DragDropModule, AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, Listbox, FormsModule, SharedModule],
1984
- template: `
1678
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PickList, decorators: [{
1679
+ type: Component,
1680
+ args: [{
1681
+ selector: 'p-pickList, p-picklist, p-pick-list',
1682
+ standalone: true,
1683
+ imports: [CommonModule, ButtonDirective, Ripple, DragDropModule, AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, Listbox, FormsModule, SharedModule],
1684
+ template: `
1985
1685
  <div [class]="styleClass" [ngStyle]="style" [ngClass]="{ 'p-picklist p-component': true }" cdkDropListGroup [attr.data-pc-name]="'picklist'" [attr.data-pc-section]="'root'">
1986
1686
  <div class="p-picklist-controls p-picklist-source-controls" *ngIf="showSourceControls" [attr.data-pc-section]="'sourceControls'" [attr.data-pc-group-section]="'controls'">
1987
1687
  <button
@@ -2061,6 +1761,7 @@ class PickList extends BaseComponent {
2061
1761
  (keydown)="onItemKeyDown($event, selectedItemsSource, onSourceSelect, SOURCE_LIST)"
2062
1762
  (onDblClick)="onSourceItemDblClick()"
2063
1763
  [disabled]="disabled"
1764
+ [optionDisabled]="sourceOptionDisabled"
2064
1765
  [metaKeySelection]="metaKeySelection"
2065
1766
  [scrollHeight]="scrollHeight"
2066
1767
  [autoOptionFocus]="autoOptionFocus"
@@ -2183,6 +1884,7 @@ class PickList extends BaseComponent {
2183
1884
  (keydown)="onItemKeyDown($event, selectedItemsTarget, onTargetSelect, TARGET_LIST)"
2184
1885
  (onDblClick)="onTargetItemDblClick()"
2185
1886
  [disabled]="disabled"
1887
+ [optionDisabled]="targetOptionDisabled"
2186
1888
  [metaKeySelection]="metaKeySelection"
2187
1889
  [scrollHeight]="scrollHeight"
2188
1890
  [autoOptionFocus]="autoOptionFocus"
@@ -2279,231 +1981,233 @@ class PickList extends BaseComponent {
2279
1981
  </div>
2280
1982
  </div>
2281
1983
  `,
2282
- changeDetection: ChangeDetectionStrategy.OnPush,
2283
- encapsulation: ViewEncapsulation.None,
2284
- providers: [PickListStyle]
2285
- }]
2286
- }], null, { source: [{
2287
- type: Input
2288
- }], target: [{
2289
- type: Input
2290
- }], sourceHeader: [{
2291
- type: Input
2292
- }], tabindex: [{
2293
- type: Input,
2294
- args: [{ transform: numberAttribute }]
2295
- }], rightButtonAriaLabel: [{
2296
- type: Input
2297
- }], leftButtonAriaLabel: [{
2298
- type: Input
2299
- }], allRightButtonAriaLabel: [{
2300
- type: Input
2301
- }], allLeftButtonAriaLabel: [{
2302
- type: Input
2303
- }], upButtonAriaLabel: [{
2304
- type: Input
2305
- }], downButtonAriaLabel: [{
2306
- type: Input
2307
- }], topButtonAriaLabel: [{
2308
- type: Input
2309
- }], bottomButtonAriaLabel: [{
2310
- type: Input
2311
- }], targetHeader: [{
2312
- type: Input
2313
- }], responsive: [{
2314
- type: Input,
2315
- args: [{ transform: booleanAttribute }]
2316
- }], filterBy: [{
2317
- type: Input
2318
- }], filterLocale: [{
2319
- type: Input
2320
- }], trackBy: [{
2321
- type: Input
2322
- }], sourceTrackBy: [{
2323
- type: Input
2324
- }], targetTrackBy: [{
2325
- type: Input
2326
- }], showSourceFilter: [{
2327
- type: Input,
2328
- args: [{ transform: booleanAttribute }]
2329
- }], showTargetFilter: [{
2330
- type: Input,
2331
- args: [{ transform: booleanAttribute }]
2332
- }], metaKeySelection: [{
2333
- type: Input,
2334
- args: [{ transform: booleanAttribute }]
2335
- }], dragdrop: [{
2336
- type: Input,
2337
- args: [{ transform: booleanAttribute }]
2338
- }], style: [{
2339
- type: Input
2340
- }], styleClass: [{
2341
- type: Input
2342
- }], sourceStyle: [{
2343
- type: Input
2344
- }], targetStyle: [{
2345
- type: Input
2346
- }], showSourceControls: [{
2347
- type: Input,
2348
- args: [{ transform: booleanAttribute }]
2349
- }], showTargetControls: [{
2350
- type: Input,
2351
- args: [{ transform: booleanAttribute }]
2352
- }], sourceFilterPlaceholder: [{
2353
- type: Input
2354
- }], targetFilterPlaceholder: [{
2355
- type: Input
2356
- }], disabled: [{
2357
- type: Input,
2358
- args: [{ transform: booleanAttribute }]
2359
- }], ariaSourceFilterLabel: [{
2360
- type: Input
2361
- }], ariaTargetFilterLabel: [{
2362
- type: Input
2363
- }], filterMatchMode: [{
2364
- type: Input
2365
- }], stripedRows: [{
2366
- type: Input,
2367
- args: [{ transform: booleanAttribute }]
2368
- }], keepSelection: [{
2369
- type: Input,
2370
- args: [{ transform: booleanAttribute }]
2371
- }], scrollHeight: [{
2372
- type: Input
2373
- }], autoOptionFocus: [{
2374
- type: Input,
2375
- args: [{ transform: booleanAttribute }]
2376
- }], buttonProps: [{
2377
- type: Input
2378
- }], moveUpButtonProps: [{
2379
- type: Input
2380
- }], moveTopButtonProps: [{
2381
- type: Input
2382
- }], moveDownButtonProps: [{
2383
- type: Input
2384
- }], moveBottomButtonProps: [{
2385
- type: Input
2386
- }], moveToTargetProps: [{
2387
- type: Input
2388
- }], moveAllToTargetProps: [{
2389
- type: Input
2390
- }], moveToSourceProps: [{
2391
- type: Input
2392
- }], moveAllToSourceProps: [{
2393
- type: Input
2394
- }], breakpoint: [{
2395
- type: Input
2396
- }], onMoveToSource: [{
2397
- type: Output
2398
- }], onMoveAllToSource: [{
2399
- type: Output
2400
- }], onMoveAllToTarget: [{
2401
- type: Output
2402
- }], onMoveToTarget: [{
2403
- type: Output
2404
- }], onSourceReorder: [{
2405
- type: Output
2406
- }], onTargetReorder: [{
2407
- type: Output
2408
- }], onSourceSelect: [{
2409
- type: Output
2410
- }], onTargetSelect: [{
2411
- type: Output
2412
- }], onSourceFilter: [{
2413
- type: Output
2414
- }], onTargetFilter: [{
2415
- type: Output
2416
- }], onFocus: [{
2417
- type: Output
2418
- }], onBlur: [{
2419
- type: Output
2420
- }], listViewSourceChild: [{
2421
- type: ViewChild,
2422
- args: ['sourcelist']
2423
- }], listViewTargetChild: [{
2424
- type: ViewChild,
2425
- args: ['targetlist']
2426
- }], sourceFilterViewChild: [{
2427
- type: ViewChild,
2428
- args: ['sourceFilter']
2429
- }], targetFilterViewChild: [{
2430
- type: ViewChild,
2431
- args: ['targetFilter']
2432
- }], itemTemplate: [{
2433
- type: ContentChild,
2434
- args: ['item', { descendants: false }]
2435
- }], sourceHeaderTemplate: [{
2436
- type: ContentChild,
2437
- args: ['sourceHeader', { descendants: false }]
2438
- }], targetHeaderTemplate: [{
2439
- type: ContentChild,
2440
- args: ['targetHeader', { descendants: false }]
2441
- }], sourceFilterTemplate: [{
2442
- type: ContentChild,
2443
- args: ['sourceFilter', { descendants: false }]
2444
- }], targetFilterTemplate: [{
2445
- type: ContentChild,
2446
- args: ['targetFilter', { descendants: false }]
2447
- }], emptyMessageSourceTemplate: [{
2448
- type: ContentChild,
2449
- args: ['emptymessagesource', { descendants: false }]
2450
- }], emptyFilterMessageSourceTemplate: [{
2451
- type: ContentChild,
2452
- args: ['emptyfiltermessagesource', { descendants: false }]
2453
- }], emptyMessageTargetTemplate: [{
2454
- type: ContentChild,
2455
- args: ['emptymessagetarget', { descendants: false }]
2456
- }], emptyFilterMessageTargetTemplate: [{
2457
- type: ContentChild,
2458
- args: ['emptyfiltermessagetarget', { descendants: false }]
2459
- }], moveUpIconTemplate: [{
2460
- type: ContentChild,
2461
- args: ['moveupicon', { descendants: false }]
2462
- }], moveTopIconTemplate: [{
2463
- type: ContentChild,
2464
- args: ['movetopicon', { descendants: false }]
2465
- }], moveDownIconTemplate: [{
2466
- type: ContentChild,
2467
- args: ['movedownicon', { descendants: false }]
2468
- }], moveBottomIconTemplate: [{
2469
- type: ContentChild,
2470
- args: ['movebottomicon', { descendants: false }]
2471
- }], moveToTargetIconTemplate: [{
2472
- type: ContentChild,
2473
- args: ['movetotargeticon', { descendants: false }]
2474
- }], moveAllToTargetIconTemplate: [{
2475
- type: ContentChild,
2476
- args: ['movealltotargeticon', { descendants: false }]
2477
- }], moveToSourceIconTemplate: [{
2478
- type: ContentChild,
2479
- args: ['movetosourceicon', { descendants: false }]
2480
- }], moveAllToSourceIconTemplate: [{
2481
- type: ContentChild,
2482
- args: ['movealltosourceicon', { descendants: false }]
2483
- }], targetFilterIconTemplate: [{
2484
- type: ContentChild,
2485
- args: ['targetfiltericon', { descendants: false }]
2486
- }], sourceFilterIconTemplate: [{
2487
- type: ContentChild,
2488
- args: ['sourcefiltericon', { descendants: false }]
2489
- }], templates: [{
2490
- type: ContentChildren,
2491
- args: [PrimeTemplate]
2492
- }] }); })();
2493
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PickList, { className: "PickList", filePath: "picklist.ts", lineNumber: 357 }); })();
1984
+ changeDetection: ChangeDetectionStrategy.OnPush,
1985
+ encapsulation: ViewEncapsulation.None,
1986
+ providers: [PickListStyle]
1987
+ }]
1988
+ }], propDecorators: { source: [{
1989
+ type: Input
1990
+ }], target: [{
1991
+ type: Input
1992
+ }], sourceHeader: [{
1993
+ type: Input
1994
+ }], tabindex: [{
1995
+ type: Input,
1996
+ args: [{ transform: numberAttribute }]
1997
+ }], rightButtonAriaLabel: [{
1998
+ type: Input
1999
+ }], leftButtonAriaLabel: [{
2000
+ type: Input
2001
+ }], allRightButtonAriaLabel: [{
2002
+ type: Input
2003
+ }], allLeftButtonAriaLabel: [{
2004
+ type: Input
2005
+ }], upButtonAriaLabel: [{
2006
+ type: Input
2007
+ }], downButtonAriaLabel: [{
2008
+ type: Input
2009
+ }], topButtonAriaLabel: [{
2010
+ type: Input
2011
+ }], bottomButtonAriaLabel: [{
2012
+ type: Input
2013
+ }], targetHeader: [{
2014
+ type: Input
2015
+ }], responsive: [{
2016
+ type: Input,
2017
+ args: [{ transform: booleanAttribute }]
2018
+ }], filterBy: [{
2019
+ type: Input
2020
+ }], filterLocale: [{
2021
+ type: Input
2022
+ }], trackBy: [{
2023
+ type: Input
2024
+ }], sourceTrackBy: [{
2025
+ type: Input
2026
+ }], targetTrackBy: [{
2027
+ type: Input
2028
+ }], showSourceFilter: [{
2029
+ type: Input,
2030
+ args: [{ transform: booleanAttribute }]
2031
+ }], showTargetFilter: [{
2032
+ type: Input,
2033
+ args: [{ transform: booleanAttribute }]
2034
+ }], metaKeySelection: [{
2035
+ type: Input,
2036
+ args: [{ transform: booleanAttribute }]
2037
+ }], dragdrop: [{
2038
+ type: Input,
2039
+ args: [{ transform: booleanAttribute }]
2040
+ }], style: [{
2041
+ type: Input
2042
+ }], styleClass: [{
2043
+ type: Input
2044
+ }], sourceStyle: [{
2045
+ type: Input
2046
+ }], targetStyle: [{
2047
+ type: Input
2048
+ }], showSourceControls: [{
2049
+ type: Input,
2050
+ args: [{ transform: booleanAttribute }]
2051
+ }], showTargetControls: [{
2052
+ type: Input,
2053
+ args: [{ transform: booleanAttribute }]
2054
+ }], sourceFilterPlaceholder: [{
2055
+ type: Input
2056
+ }], targetFilterPlaceholder: [{
2057
+ type: Input
2058
+ }], disabled: [{
2059
+ type: Input,
2060
+ args: [{ transform: booleanAttribute }]
2061
+ }], sourceOptionDisabled: [{
2062
+ type: Input
2063
+ }], targetOptionDisabled: [{
2064
+ type: Input
2065
+ }], ariaSourceFilterLabel: [{
2066
+ type: Input
2067
+ }], ariaTargetFilterLabel: [{
2068
+ type: Input
2069
+ }], filterMatchMode: [{
2070
+ type: Input
2071
+ }], stripedRows: [{
2072
+ type: Input,
2073
+ args: [{ transform: booleanAttribute }]
2074
+ }], keepSelection: [{
2075
+ type: Input,
2076
+ args: [{ transform: booleanAttribute }]
2077
+ }], scrollHeight: [{
2078
+ type: Input
2079
+ }], autoOptionFocus: [{
2080
+ type: Input,
2081
+ args: [{ transform: booleanAttribute }]
2082
+ }], buttonProps: [{
2083
+ type: Input
2084
+ }], moveUpButtonProps: [{
2085
+ type: Input
2086
+ }], moveTopButtonProps: [{
2087
+ type: Input
2088
+ }], moveDownButtonProps: [{
2089
+ type: Input
2090
+ }], moveBottomButtonProps: [{
2091
+ type: Input
2092
+ }], moveToTargetProps: [{
2093
+ type: Input
2094
+ }], moveAllToTargetProps: [{
2095
+ type: Input
2096
+ }], moveToSourceProps: [{
2097
+ type: Input
2098
+ }], moveAllToSourceProps: [{
2099
+ type: Input
2100
+ }], breakpoint: [{
2101
+ type: Input
2102
+ }], onMoveToSource: [{
2103
+ type: Output
2104
+ }], onMoveAllToSource: [{
2105
+ type: Output
2106
+ }], onMoveAllToTarget: [{
2107
+ type: Output
2108
+ }], onMoveToTarget: [{
2109
+ type: Output
2110
+ }], onSourceReorder: [{
2111
+ type: Output
2112
+ }], onTargetReorder: [{
2113
+ type: Output
2114
+ }], onSourceSelect: [{
2115
+ type: Output
2116
+ }], onTargetSelect: [{
2117
+ type: Output
2118
+ }], onSourceFilter: [{
2119
+ type: Output
2120
+ }], onTargetFilter: [{
2121
+ type: Output
2122
+ }], onFocus: [{
2123
+ type: Output
2124
+ }], onBlur: [{
2125
+ type: Output
2126
+ }], listViewSourceChild: [{
2127
+ type: ViewChild,
2128
+ args: ['sourcelist']
2129
+ }], listViewTargetChild: [{
2130
+ type: ViewChild,
2131
+ args: ['targetlist']
2132
+ }], sourceFilterViewChild: [{
2133
+ type: ViewChild,
2134
+ args: ['sourceFilter']
2135
+ }], targetFilterViewChild: [{
2136
+ type: ViewChild,
2137
+ args: ['targetFilter']
2138
+ }], itemTemplate: [{
2139
+ type: ContentChild,
2140
+ args: ['item', { descendants: false }]
2141
+ }], sourceHeaderTemplate: [{
2142
+ type: ContentChild,
2143
+ args: ['sourceHeader', { descendants: false }]
2144
+ }], targetHeaderTemplate: [{
2145
+ type: ContentChild,
2146
+ args: ['targetHeader', { descendants: false }]
2147
+ }], sourceFilterTemplate: [{
2148
+ type: ContentChild,
2149
+ args: ['sourceFilter', { descendants: false }]
2150
+ }], targetFilterTemplate: [{
2151
+ type: ContentChild,
2152
+ args: ['targetFilter', { descendants: false }]
2153
+ }], emptyMessageSourceTemplate: [{
2154
+ type: ContentChild,
2155
+ args: ['emptymessagesource', { descendants: false }]
2156
+ }], emptyFilterMessageSourceTemplate: [{
2157
+ type: ContentChild,
2158
+ args: ['emptyfiltermessagesource', { descendants: false }]
2159
+ }], emptyMessageTargetTemplate: [{
2160
+ type: ContentChild,
2161
+ args: ['emptymessagetarget', { descendants: false }]
2162
+ }], emptyFilterMessageTargetTemplate: [{
2163
+ type: ContentChild,
2164
+ args: ['emptyfiltermessagetarget', { descendants: false }]
2165
+ }], moveUpIconTemplate: [{
2166
+ type: ContentChild,
2167
+ args: ['moveupicon', { descendants: false }]
2168
+ }], moveTopIconTemplate: [{
2169
+ type: ContentChild,
2170
+ args: ['movetopicon', { descendants: false }]
2171
+ }], moveDownIconTemplate: [{
2172
+ type: ContentChild,
2173
+ args: ['movedownicon', { descendants: false }]
2174
+ }], moveBottomIconTemplate: [{
2175
+ type: ContentChild,
2176
+ args: ['movebottomicon', { descendants: false }]
2177
+ }], moveToTargetIconTemplate: [{
2178
+ type: ContentChild,
2179
+ args: ['movetotargeticon', { descendants: false }]
2180
+ }], moveAllToTargetIconTemplate: [{
2181
+ type: ContentChild,
2182
+ args: ['movealltotargeticon', { descendants: false }]
2183
+ }], moveToSourceIconTemplate: [{
2184
+ type: ContentChild,
2185
+ args: ['movetosourceicon', { descendants: false }]
2186
+ }], moveAllToSourceIconTemplate: [{
2187
+ type: ContentChild,
2188
+ args: ['movealltosourceicon', { descendants: false }]
2189
+ }], targetFilterIconTemplate: [{
2190
+ type: ContentChild,
2191
+ args: ['targetfiltericon', { descendants: false }]
2192
+ }], sourceFilterIconTemplate: [{
2193
+ type: ContentChild,
2194
+ args: ['sourcefiltericon', { descendants: false }]
2195
+ }], templates: [{
2196
+ type: ContentChildren,
2197
+ args: [PrimeTemplate]
2198
+ }] } });
2494
2199
  class PickListModule {
2495
- static ɵfac = function PickListModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PickListModule)(); };
2496
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PickListModule });
2497
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [PickList, SharedModule, SharedModule] });
2200
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PickListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2201
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: PickListModule, imports: [PickList, SharedModule], exports: [PickList, SharedModule] });
2202
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PickListModule, imports: [PickList, SharedModule, SharedModule] });
2498
2203
  }
2499
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PickListModule, [{
2500
- type: NgModule,
2501
- args: [{
2502
- imports: [PickList, SharedModule],
2503
- exports: [PickList, SharedModule]
2504
- }]
2505
- }], null, null); })();
2506
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PickListModule, { imports: [PickList, SharedModule], exports: [PickList, SharedModule] }); })();
2204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PickListModule, decorators: [{
2205
+ type: NgModule,
2206
+ args: [{
2207
+ imports: [PickList, SharedModule],
2208
+ exports: [PickList, SharedModule]
2209
+ }]
2210
+ }] });
2507
2211
 
2508
2212
  /**
2509
2213
  * Generated bundle index. Do not edit.