primevue 3.8.2 → 3.11.0

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 (745) hide show
  1. package/README.md +2 -2
  2. package/accordion/Accordion.d.ts +74 -11
  3. package/accordion/accordion.esm.js +1 -1
  4. package/accordion/accordion.esm.min.js +1 -1
  5. package/accordion/accordion.js +1 -1
  6. package/accordiontab/AccordionTab.d.ts +37 -8
  7. package/accordiontab/accordiontab.esm.js +1 -1
  8. package/accordiontab/accordiontab.esm.min.js +1 -1
  9. package/accordiontab/accordiontab.js +1 -1
  10. package/api/Api.d.ts +292 -251
  11. package/api/api.cjs.js +66 -32
  12. package/api/api.cjs.min.js +1 -1
  13. package/api/api.esm.js +66 -32
  14. package/api/api.esm.min.js +1 -1
  15. package/api/api.js +67 -33
  16. package/api/api.min.js +1 -1
  17. package/autocomplete/AutoComplete.d.ts +280 -63
  18. package/autocomplete/AutoComplete.vue +16 -9
  19. package/autocomplete/autocomplete.cjs.js +23 -15
  20. package/autocomplete/autocomplete.cjs.min.js +1 -1
  21. package/autocomplete/autocomplete.esm.js +20 -12
  22. package/autocomplete/autocomplete.esm.min.js +1 -1
  23. package/autocomplete/autocomplete.js +24 -16
  24. package/autocomplete/autocomplete.min.js +1 -1
  25. package/avatar/Avatar.d.ts +57 -8
  26. package/avatar/avatar.esm.js +1 -1
  27. package/avatar/avatar.esm.min.js +1 -1
  28. package/avatar/avatar.js +1 -1
  29. package/avatargroup/AvatarGroup.d.ts +29 -3
  30. package/avatargroup/avatargroup.esm.js +1 -1
  31. package/avatargroup/avatargroup.esm.min.js +1 -1
  32. package/avatargroup/avatargroup.js +1 -1
  33. package/badge/Badge.d.ts +46 -5
  34. package/badge/badge.esm.js +1 -1
  35. package/badge/badge.esm.min.js +1 -1
  36. package/badge/badge.js +1 -1
  37. package/badgedirective/badgedirective.esm.js +1 -1
  38. package/badgedirective/badgedirective.esm.min.js +1 -1
  39. package/badgedirective/badgedirective.js +1 -1
  40. package/blockui/BlockUI.d.ts +52 -11
  41. package/blockui/blockui.esm.js +1 -1
  42. package/blockui/blockui.esm.min.js +1 -1
  43. package/blockui/blockui.js +1 -1
  44. package/breadcrumb/Breadcrumb.d.ts +49 -9
  45. package/breadcrumb/BreadcrumbItem.vue +5 -2
  46. package/breadcrumb/breadcrumb.cjs.js +5 -2
  47. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  48. package/breadcrumb/breadcrumb.esm.js +6 -3
  49. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  50. package/breadcrumb/breadcrumb.js +6 -3
  51. package/breadcrumb/breadcrumb.min.js +1 -1
  52. package/button/Button.d.ts +68 -11
  53. package/button/button.cjs.js +1 -1
  54. package/button/button.esm.js +1 -1
  55. package/button/button.esm.min.js +1 -1
  56. package/button/button.js +2 -2
  57. package/calendar/Calendar.d.ts +320 -58
  58. package/calendar/Calendar.vue +406 -84
  59. package/calendar/calendar.cjs.js +521 -204
  60. package/calendar/calendar.cjs.min.js +1 -1
  61. package/calendar/calendar.esm.js +521 -203
  62. package/calendar/calendar.esm.min.js +1 -1
  63. package/calendar/calendar.js +523 -205
  64. package/calendar/calendar.min.js +1 -1
  65. package/card/Card.d.ts +43 -9
  66. package/card/card.esm.js +1 -1
  67. package/card/card.esm.min.js +1 -1
  68. package/card/card.js +1 -1
  69. package/carousel/Carousel.d.ts +121 -24
  70. package/carousel/Carousel.vue +2 -2
  71. package/carousel/carousel.cjs.js +7 -7
  72. package/carousel/carousel.cjs.min.js +1 -1
  73. package/carousel/carousel.esm.js +7 -7
  74. package/carousel/carousel.esm.min.js +1 -1
  75. package/carousel/carousel.js +8 -8
  76. package/carousel/carousel.min.js +1 -1
  77. package/cascadeselect/CascadeSelect.d.ts +172 -35
  78. package/cascadeselect/cascadeselect.cjs.js +2 -2
  79. package/cascadeselect/cascadeselect.esm.js +1 -1
  80. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  81. package/cascadeselect/cascadeselect.js +3 -3
  82. package/chart/Chart.d.ts +104 -12
  83. package/chart/Chart.vue +18 -4
  84. package/chart/chart.cjs.js +20 -8
  85. package/chart/chart.cjs.min.js +1 -1
  86. package/chart/chart.esm.js +19 -5
  87. package/chart/chart.esm.min.js +1 -1
  88. package/chart/chart.js +19 -5
  89. package/chart/chart.min.js +1 -1
  90. package/checkbox/Checkbox.d.ts +66 -8
  91. package/checkbox/checkbox.esm.js +1 -1
  92. package/checkbox/checkbox.esm.min.js +1 -1
  93. package/checkbox/checkbox.js +1 -1
  94. package/chip/Chip.d.ts +50 -4
  95. package/chip/chip.esm.js +1 -1
  96. package/chip/chip.esm.min.js +1 -1
  97. package/chip/chip.js +1 -1
  98. package/chips/Chips.d.ts +88 -15
  99. package/chips/chips.esm.js +1 -1
  100. package/chips/chips.esm.min.js +1 -1
  101. package/chips/chips.js +1 -1
  102. package/colorpicker/ColorPicker.d.ts +105 -13
  103. package/colorpicker/ColorPicker.vue +6 -1
  104. package/colorpicker/colorpicker.cjs.js +7 -2
  105. package/colorpicker/colorpicker.cjs.min.js +1 -1
  106. package/colorpicker/colorpicker.esm.js +7 -2
  107. package/colorpicker/colorpicker.esm.min.js +1 -1
  108. package/colorpicker/colorpicker.js +8 -3
  109. package/colorpicker/colorpicker.min.js +1 -1
  110. package/column/Column.d.ts +448 -78
  111. package/column/column.esm.js +1 -1
  112. package/column/column.esm.min.js +1 -1
  113. package/column/column.js +1 -1
  114. package/columngroup/ColumnGroup.d.ts +30 -4
  115. package/columngroup/columngroup.esm.js +1 -1
  116. package/columngroup/columngroup.esm.min.js +1 -1
  117. package/columngroup/columngroup.js +1 -1
  118. package/config/config.cjs.js +1 -1
  119. package/config/config.esm.js +1 -2
  120. package/config/config.esm.min.js +1 -1
  121. package/config/config.js +2 -2
  122. package/confirmationeventbus/confirmationeventbus.esm.js +1 -1
  123. package/confirmationeventbus/confirmationeventbus.esm.min.js +1 -1
  124. package/confirmationeventbus/confirmationeventbus.js +1 -1
  125. package/confirmationoptions/ConfirmationOptions.d.ts +58 -0
  126. package/confirmationoptions/package.json +3 -0
  127. package/confirmationservice/ConfirmationService.d.ts +2 -1
  128. package/confirmationservice/confirmationservice.cjs.js +2 -2
  129. package/confirmationservice/confirmationservice.esm.js +1 -1
  130. package/confirmationservice/confirmationservice.esm.min.js +1 -1
  131. package/confirmationservice/confirmationservice.js +3 -3
  132. package/confirmdialog/ConfirmDialog.d.ts +57 -5
  133. package/confirmdialog/ConfirmDialog.vue +8 -2
  134. package/confirmdialog/confirmdialog.cjs.js +17 -10
  135. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  136. package/confirmdialog/confirmdialog.esm.js +12 -5
  137. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  138. package/confirmdialog/confirmdialog.js +18 -11
  139. package/confirmdialog/confirmdialog.min.js +1 -1
  140. package/confirmpopup/ConfirmPopup.d.ts +41 -3
  141. package/confirmpopup/ConfirmPopup.vue +7 -4
  142. package/confirmpopup/confirmpopup.cjs.js +19 -11
  143. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  144. package/confirmpopup/confirmpopup.esm.js +15 -7
  145. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  146. package/confirmpopup/confirmpopup.js +20 -12
  147. package/confirmpopup/confirmpopup.min.js +1 -1
  148. package/contextmenu/ContextMenu.d.ts +88 -16
  149. package/contextmenu/ContextMenuSub.vue +7 -4
  150. package/contextmenu/contextmenu.cjs.js +8 -5
  151. package/contextmenu/contextmenu.cjs.min.js +1 -1
  152. package/contextmenu/contextmenu.esm.js +8 -5
  153. package/contextmenu/contextmenu.esm.min.js +1 -1
  154. package/contextmenu/contextmenu.js +9 -6
  155. package/contextmenu/contextmenu.min.js +1 -1
  156. package/core/core.js +861 -383
  157. package/core/core.min.js +15 -13
  158. package/datatable/BodyCell.vue +27 -1
  159. package/datatable/ColumnFilter.vue +17 -6
  160. package/datatable/DataTable.d.ts +1056 -130
  161. package/datatable/DataTable.vue +150 -131
  162. package/datatable/HeaderCheckbox.vue +5 -2
  163. package/datatable/RowCheckbox.vue +1 -1
  164. package/datatable/RowRadioButton.vue +1 -1
  165. package/datatable/TableBody.vue +57 -14
  166. package/datatable/TableFooter.vue +15 -1
  167. package/datatable/TableHeader.vue +15 -1
  168. package/datatable/datatable.cjs.js +542 -381
  169. package/datatable/datatable.cjs.min.js +1 -1
  170. package/datatable/datatable.esm.js +533 -373
  171. package/datatable/datatable.esm.min.js +1 -1
  172. package/datatable/datatable.js +543 -383
  173. package/datatable/datatable.min.js +1 -1
  174. package/dataview/DataView.d.ts +198 -32
  175. package/dataview/DataView.vue +8 -8
  176. package/dataview/dataview.cjs.js +13 -13
  177. package/dataview/dataview.cjs.min.js +1 -1
  178. package/dataview/dataview.esm.js +13 -13
  179. package/dataview/dataview.esm.min.js +1 -1
  180. package/dataview/dataview.js +14 -14
  181. package/dataview/dataview.min.js +1 -1
  182. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +34 -5
  183. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +1 -1
  184. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
  185. package/dataviewlayoutoptions/dataviewlayoutoptions.js +1 -1
  186. package/deferredcontent/DeferredContent.d.ts +31 -6
  187. package/deferredcontent/deferredcontent.esm.js +1 -1
  188. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  189. package/deferredcontent/deferredcontent.js +1 -1
  190. package/dialog/Dialog.d.ts +187 -34
  191. package/dialog/Dialog.vue +1 -1
  192. package/dialog/dialog.cjs.js +2 -3
  193. package/dialog/dialog.cjs.min.js +1 -1
  194. package/dialog/dialog.esm.js +2 -3
  195. package/dialog/dialog.esm.min.js +1 -1
  196. package/dialog/dialog.js +3 -4
  197. package/dialog/dialog.min.js +1 -1
  198. package/divider/Divider.d.ts +53 -8
  199. package/divider/divider.esm.js +1 -1
  200. package/divider/divider.esm.min.js +1 -1
  201. package/divider/divider.js +1 -1
  202. package/dock/Dock.d.ts +92 -15
  203. package/dock/DockSub.vue +3 -1
  204. package/dock/dock.cjs.js +4 -1
  205. package/dock/dock.cjs.min.js +1 -1
  206. package/dock/dock.esm.js +4 -2
  207. package/dock/dock.esm.min.js +1 -1
  208. package/dock/dock.js +5 -3
  209. package/dock/dock.min.js +1 -1
  210. package/dropdown/Dropdown.d.ts +340 -76
  211. package/dropdown/Dropdown.vue +1 -1
  212. package/dropdown/dropdown.cjs.js +4 -4
  213. package/dropdown/dropdown.cjs.min.js +1 -1
  214. package/dropdown/dropdown.esm.js +2 -2
  215. package/dropdown/dropdown.esm.min.js +1 -1
  216. package/dropdown/dropdown.js +5 -5
  217. package/dropdown/dropdown.min.js +1 -1
  218. package/editor/Editor.d.ts +78 -11
  219. package/editor/editor.cjs.js +1 -1
  220. package/editor/editor.esm.js +1 -1
  221. package/editor/editor.esm.min.js +1 -1
  222. package/editor/editor.js +2 -2
  223. package/fieldset/Fieldset.d.ts +63 -11
  224. package/fieldset/fieldset.cjs.js +1 -1
  225. package/fieldset/fieldset.esm.js +1 -1
  226. package/fieldset/fieldset.esm.min.js +1 -1
  227. package/fieldset/fieldset.js +2 -2
  228. package/fileupload/FileUpload.d.ts +255 -37
  229. package/fileupload/fileupload.cjs.js +4 -4
  230. package/fileupload/fileupload.esm.js +1 -1
  231. package/fileupload/fileupload.esm.min.js +1 -1
  232. package/fileupload/fileupload.js +5 -5
  233. package/fullcalendar/FullCalendar.d.ts +29 -3
  234. package/fullcalendar/fullcalendar.esm.js +1 -1
  235. package/fullcalendar/fullcalendar.esm.min.js +1 -1
  236. package/fullcalendar/fullcalendar.js +1 -1
  237. package/galleria/Galleria.d.ts +196 -46
  238. package/galleria/galleria.cjs.js +3 -3
  239. package/galleria/galleria.esm.js +1 -1
  240. package/galleria/galleria.esm.min.js +1 -1
  241. package/galleria/galleria.js +4 -4
  242. package/image/Image.d.ts +51 -6
  243. package/image/image.esm.js +1 -1
  244. package/image/image.esm.min.js +1 -1
  245. package/image/image.js +1 -1
  246. package/inlinemessage/InlineMessage.d.ts +34 -6
  247. package/inlinemessage/inlinemessage.esm.js +1 -1
  248. package/inlinemessage/inlinemessage.esm.min.js +1 -1
  249. package/inlinemessage/inlinemessage.js +1 -1
  250. package/inplace/Inplace.d.ts +57 -12
  251. package/inplace/inplace.cjs.js +1 -1
  252. package/inplace/inplace.esm.js +1 -1
  253. package/inplace/inplace.esm.min.js +1 -1
  254. package/inplace/inplace.js +2 -2
  255. package/inputmask/InputMask.d.ts +75 -15
  256. package/inputmask/inputmask.esm.js +1 -1
  257. package/inputmask/inputmask.esm.min.js +1 -1
  258. package/inputmask/inputmask.js +1 -1
  259. package/inputnumber/InputNumber.d.ts +180 -30
  260. package/inputnumber/InputNumber.vue +19 -3
  261. package/inputnumber/inputnumber.cjs.js +21 -5
  262. package/inputnumber/inputnumber.cjs.min.js +1 -1
  263. package/inputnumber/inputnumber.esm.js +20 -4
  264. package/inputnumber/inputnumber.esm.min.js +1 -1
  265. package/inputnumber/inputnumber.js +22 -6
  266. package/inputnumber/inputnumber.min.js +1 -1
  267. package/inputswitch/InputSwitch.d.ts +61 -9
  268. package/inputswitch/inputswitch.esm.js +1 -1
  269. package/inputswitch/inputswitch.esm.min.js +1 -1
  270. package/inputswitch/inputswitch.js +1 -1
  271. package/inputtext/InputText.d.ts +34 -5
  272. package/inputtext/InputText.vue +1 -1
  273. package/inputtext/inputtext.cjs.js +2 -2
  274. package/inputtext/inputtext.cjs.min.js +1 -1
  275. package/inputtext/inputtext.esm.js +4 -4
  276. package/inputtext/inputtext.esm.min.js +1 -1
  277. package/inputtext/inputtext.js +3 -3
  278. package/inputtext/inputtext.min.js +1 -1
  279. package/knob/Knob.d.ts +92 -18
  280. package/knob/knob.esm.js +1 -1
  281. package/knob/knob.esm.min.js +1 -1
  282. package/knob/knob.js +1 -1
  283. package/listbox/Listbox.d.ts +246 -56
  284. package/listbox/listbox.cjs.js +2 -2
  285. package/listbox/listbox.esm.js +1 -1
  286. package/listbox/listbox.esm.min.js +1 -1
  287. package/listbox/listbox.js +3 -3
  288. package/megamenu/MegaMenu.d.ts +60 -12
  289. package/megamenu/MegaMenu.vue +10 -7
  290. package/megamenu/megamenu.cjs.js +11 -8
  291. package/megamenu/megamenu.cjs.min.js +1 -1
  292. package/megamenu/megamenu.esm.js +11 -8
  293. package/megamenu/megamenu.esm.min.js +1 -1
  294. package/megamenu/megamenu.js +12 -9
  295. package/megamenu/megamenu.min.js +1 -1
  296. package/menu/Menu.d.ts +84 -15
  297. package/menu/Menu.vue +6 -3
  298. package/menu/Menuitem.vue +5 -2
  299. package/menu/menu.cjs.js +13 -7
  300. package/menu/menu.cjs.min.js +1 -1
  301. package/menu/menu.esm.js +12 -6
  302. package/menu/menu.esm.min.js +1 -1
  303. package/menu/menu.js +14 -8
  304. package/menu/menu.min.js +1 -1
  305. package/menubar/Menubar.d.ts +52 -11
  306. package/menubar/Menubar.vue +1 -0
  307. package/menubar/MenubarSub.vue +7 -4
  308. package/menubar/menubar.cjs.js +9 -6
  309. package/menubar/menubar.cjs.min.js +1 -1
  310. package/menubar/menubar.esm.js +9 -6
  311. package/menubar/menubar.esm.min.js +1 -1
  312. package/menubar/menubar.js +10 -7
  313. package/menubar/menubar.min.js +1 -1
  314. package/menuitem/MenuItem.d.ts +82 -0
  315. package/menuitem/package.json +3 -0
  316. package/message/Message.d.ts +57 -10
  317. package/message/Message.vue +6 -2
  318. package/message/message.cjs.js +7 -3
  319. package/message/message.cjs.min.js +1 -1
  320. package/message/message.esm.js +7 -3
  321. package/message/message.esm.min.js +1 -1
  322. package/message/message.js +8 -4
  323. package/message/message.min.js +1 -1
  324. package/multiselect/MultiSelect.d.ts +368 -83
  325. package/multiselect/multiselect.cjs.js +3 -3
  326. package/multiselect/multiselect.esm.js +1 -1
  327. package/multiselect/multiselect.esm.min.js +1 -1
  328. package/multiselect/multiselect.js +4 -4
  329. package/orderlist/OrderList.d.ts +122 -17
  330. package/orderlist/OrderList.vue +2 -0
  331. package/orderlist/orderlist.cjs.js +5 -3
  332. package/orderlist/orderlist.cjs.min.js +1 -1
  333. package/orderlist/orderlist.esm.js +4 -2
  334. package/orderlist/orderlist.esm.min.js +1 -1
  335. package/orderlist/orderlist.js +6 -4
  336. package/orderlist/orderlist.min.js +1 -1
  337. package/organizationchart/OrganizationChart.d.ts +137 -15
  338. package/organizationchart/OrganizationChart.vue +1 -0
  339. package/organizationchart/organizationchart.cjs.js +1 -1
  340. package/organizationchart/organizationchart.cjs.min.js +1 -1
  341. package/organizationchart/organizationchart.esm.js +2 -2
  342. package/organizationchart/organizationchart.esm.min.js +1 -1
  343. package/organizationchart/organizationchart.js +2 -2
  344. package/organizationchart/organizationchart.min.js +1 -1
  345. package/overlayeventbus/overlayeventbus.esm.js +1 -1
  346. package/overlayeventbus/overlayeventbus.esm.min.js +1 -1
  347. package/overlayeventbus/overlayeventbus.js +1 -1
  348. package/overlaypanel/OverlayPanel.d.ts +107 -12
  349. package/overlaypanel/overlaypanel.cjs.js +5 -5
  350. package/overlaypanel/overlaypanel.esm.js +1 -1
  351. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  352. package/overlaypanel/overlaypanel.js +6 -6
  353. package/package.json +5 -1
  354. package/paginator/Paginator.d.ts +129 -27
  355. package/paginator/Paginator.vue +4 -4
  356. package/paginator/paginator.cjs.js +12 -12
  357. package/paginator/paginator.cjs.min.js +1 -1
  358. package/paginator/paginator.esm.js +5 -5
  359. package/paginator/paginator.esm.min.js +1 -1
  360. package/paginator/paginator.js +13 -13
  361. package/paginator/paginator.min.js +1 -1
  362. package/panel/Panel.d.ts +64 -8
  363. package/panel/Panel.vue +1 -1
  364. package/panel/panel.cjs.js +1 -1
  365. package/panel/panel.esm.js +1 -1
  366. package/panel/panel.esm.min.js +1 -1
  367. package/panel/panel.js +2 -2
  368. package/panelmenu/PanelMenu.d.ts +59 -11
  369. package/panelmenu/PanelMenu.vue +8 -5
  370. package/panelmenu/PanelMenuSub.vue +8 -5
  371. package/panelmenu/panelmenu.cjs.js +18 -12
  372. package/panelmenu/panelmenu.cjs.min.js +1 -1
  373. package/panelmenu/panelmenu.esm.js +19 -13
  374. package/panelmenu/panelmenu.esm.min.js +1 -1
  375. package/panelmenu/panelmenu.js +19 -13
  376. package/panelmenu/panelmenu.min.js +1 -1
  377. package/password/Password.d.ts +115 -24
  378. package/password/password.cjs.js +2 -2
  379. package/password/password.esm.js +1 -1
  380. package/password/password.esm.min.js +1 -1
  381. package/password/password.js +3 -3
  382. package/picklist/PickList.d.ts +199 -26
  383. package/picklist/PickList.vue +10 -4
  384. package/picklist/picklist.cjs.js +15 -9
  385. package/picklist/picklist.cjs.min.js +1 -1
  386. package/picklist/picklist.esm.js +14 -8
  387. package/picklist/picklist.esm.min.js +1 -1
  388. package/picklist/picklist.js +16 -10
  389. package/picklist/picklist.min.js +1 -1
  390. package/progressbar/ProgressBar.d.ts +43 -8
  391. package/progressbar/ProgressBar.vue +13 -12
  392. package/progressbar/progressbar.cjs.js +13 -12
  393. package/progressbar/progressbar.cjs.min.js +1 -1
  394. package/progressbar/progressbar.esm.js +15 -14
  395. package/progressbar/progressbar.esm.min.js +1 -1
  396. package/progressbar/progressbar.js +14 -13
  397. package/progressbar/progressbar.min.js +1 -1
  398. package/progressspinner/ProgressSpinner.d.ts +39 -6
  399. package/progressspinner/progressspinner.esm.js +1 -1
  400. package/progressspinner/progressspinner.esm.min.js +1 -1
  401. package/progressspinner/progressspinner.js +1 -1
  402. package/radiobutton/RadioButton.d.ts +52 -7
  403. package/radiobutton/radiobutton.esm.js +1 -1
  404. package/radiobutton/radiobutton.esm.min.js +1 -1
  405. package/radiobutton/radiobutton.js +1 -1
  406. package/rating/Rating.d.ts +67 -10
  407. package/rating/Rating.vue +1 -1
  408. package/rating/rating.cjs.js +1 -1
  409. package/rating/rating.cjs.min.js +1 -1
  410. package/rating/rating.esm.js +2 -2
  411. package/rating/rating.esm.min.js +1 -1
  412. package/rating/rating.js +2 -2
  413. package/rating/rating.min.js +1 -1
  414. package/resources/primevue.css +5 -0
  415. package/resources/primevue.min.css +1 -1
  416. package/resources/themes/arya-blue/theme.css +81 -33
  417. package/resources/themes/arya-green/theme.css +81 -33
  418. package/resources/themes/arya-orange/theme.css +81 -33
  419. package/resources/themes/arya-purple/theme.css +81 -33
  420. package/resources/themes/bootstrap4-dark-blue/theme.css +62 -21
  421. package/resources/themes/bootstrap4-dark-purple/theme.css +62 -21
  422. package/resources/themes/bootstrap4-light-blue/theme.css +62 -21
  423. package/resources/themes/bootstrap4-light-purple/theme.css +62 -21
  424. package/resources/themes/fluent-light/theme.css +81 -33
  425. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  426. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  427. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  428. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  429. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  430. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  431. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  432. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  433. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  434. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  435. package/resources/themes/lara-dark-blue/theme.css +5421 -0
  436. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  437. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  438. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  439. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  440. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  441. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  442. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  443. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  444. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  445. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  446. package/resources/themes/lara-dark-indigo/theme.css +5421 -0
  447. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  448. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  449. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  450. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  451. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  452. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  453. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  454. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  455. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  456. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  457. package/resources/themes/lara-dark-purple/theme.css +5421 -0
  458. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  459. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  460. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  461. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  462. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  463. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  464. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  465. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  466. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  467. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  468. package/resources/themes/lara-dark-teal/theme.css +5421 -0
  469. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  470. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  471. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  472. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  473. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  474. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  475. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  476. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  477. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  478. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  479. package/resources/themes/lara-light-blue/theme.css +5421 -0
  480. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  481. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  482. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  483. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  484. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  485. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  486. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  487. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  488. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  489. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  490. package/resources/themes/lara-light-indigo/theme.css +5421 -0
  491. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  492. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  493. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  494. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  495. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  496. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  497. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  498. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  499. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  500. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  501. package/resources/themes/lara-light-purple/theme.css +5421 -0
  502. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  503. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  504. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  505. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  506. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  507. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  508. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  509. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  510. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  511. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
  512. package/resources/themes/lara-light-teal/theme.css +5421 -0
  513. package/resources/themes/luna-amber/theme.css +78 -37
  514. package/resources/themes/luna-blue/theme.css +78 -37
  515. package/resources/themes/luna-green/theme.css +78 -37
  516. package/resources/themes/luna-pink/theme.css +78 -37
  517. package/resources/themes/md-dark-deeppurple/theme.css +252 -48
  518. package/resources/themes/md-dark-indigo/theme.css +252 -48
  519. package/resources/themes/md-light-deeppurple/theme.css +252 -48
  520. package/resources/themes/md-light-indigo/theme.css +252 -48
  521. package/resources/themes/mdc-dark-deeppurple/theme.css +252 -48
  522. package/resources/themes/mdc-dark-indigo/theme.css +252 -48
  523. package/resources/themes/mdc-light-deeppurple/theme.css +252 -48
  524. package/resources/themes/mdc-light-indigo/theme.css +252 -48
  525. package/resources/themes/nova/theme.css +78 -37
  526. package/resources/themes/nova-accent/theme.css +78 -37
  527. package/resources/themes/nova-alt/theme.css +78 -37
  528. package/resources/themes/nova-vue/theme.css +78 -37
  529. package/resources/themes/rhea/theme.css +78 -37
  530. package/resources/themes/saga-blue/theme.css +65 -17
  531. package/resources/themes/saga-green/theme.css +65 -17
  532. package/resources/themes/saga-orange/theme.css +65 -17
  533. package/resources/themes/saga-purple/theme.css +65 -17
  534. package/resources/themes/tailwind-light/theme.css +92 -36
  535. package/resources/themes/vela-blue/theme.css +81 -33
  536. package/resources/themes/vela-green/theme.css +81 -33
  537. package/resources/themes/vela-orange/theme.css +81 -33
  538. package/resources/themes/vela-purple/theme.css +81 -33
  539. package/ripple/ripple.esm.js +1 -1
  540. package/ripple/ripple.esm.min.js +1 -1
  541. package/ripple/ripple.js +1 -1
  542. package/row/Row.d.ts +25 -3
  543. package/row/row.esm.js +1 -1
  544. package/row/row.esm.min.js +1 -1
  545. package/row/row.js +1 -1
  546. package/scrollpanel/ScrollPanel.d.ts +27 -5
  547. package/scrollpanel/scrollpanel.esm.js +1 -1
  548. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  549. package/scrollpanel/scrollpanel.js +1 -1
  550. package/scrolltop/ScrollTop.d.ts +47 -7
  551. package/scrolltop/scrolltop.esm.js +1 -1
  552. package/scrolltop/scrolltop.esm.min.js +1 -1
  553. package/scrolltop/scrolltop.js +1 -1
  554. package/selectbutton/SelectButton.d.ts +108 -19
  555. package/selectbutton/SelectButton.vue +8 -2
  556. package/selectbutton/selectbutton.cjs.js +15 -10
  557. package/selectbutton/selectbutton.cjs.min.js +1 -1
  558. package/selectbutton/selectbutton.esm.js +15 -10
  559. package/selectbutton/selectbutton.esm.min.js +1 -1
  560. package/selectbutton/selectbutton.js +16 -11
  561. package/selectbutton/selectbutton.min.js +1 -1
  562. package/sidebar/Sidebar.d.ts +81 -16
  563. package/sidebar/sidebar.cjs.js +1 -1
  564. package/sidebar/sidebar.esm.js +1 -1
  565. package/sidebar/sidebar.esm.min.js +1 -1
  566. package/sidebar/sidebar.js +2 -2
  567. package/skeleton/Skeleton.d.ts +58 -9
  568. package/skeleton/skeleton.esm.js +1 -1
  569. package/skeleton/skeleton.esm.min.js +1 -1
  570. package/skeleton/skeleton.js +1 -1
  571. package/slider/Slider.d.ts +90 -14
  572. package/slider/slider.esm.js +1 -1
  573. package/slider/slider.esm.min.js +1 -1
  574. package/slider/slider.js +1 -1
  575. package/speeddial/SpeedDial.d.ts +166 -29
  576. package/speeddial/SpeedDial.vue +3 -1
  577. package/speeddial/speeddial.cjs.js +5 -2
  578. package/speeddial/speeddial.cjs.min.js +1 -1
  579. package/speeddial/speeddial.esm.js +4 -2
  580. package/speeddial/speeddial.esm.min.js +1 -1
  581. package/speeddial/speeddial.js +6 -4
  582. package/speeddial/speeddial.min.js +1 -1
  583. package/splitbutton/SplitButton.d.ts +76 -11
  584. package/splitbutton/SplitButton.vue +3 -1
  585. package/splitbutton/splitbutton.cjs.js +15 -13
  586. package/splitbutton/splitbutton.cjs.min.js +1 -1
  587. package/splitbutton/splitbutton.esm.js +15 -13
  588. package/splitbutton/splitbutton.esm.min.js +1 -1
  589. package/splitbutton/splitbutton.js +16 -14
  590. package/splitbutton/splitbutton.min.js +1 -1
  591. package/splitter/Splitter.d.ts +74 -7
  592. package/splitter/Splitter.vue +5 -5
  593. package/splitter/splitter.cjs.js +1 -1
  594. package/splitter/splitter.cjs.min.js +1 -1
  595. package/splitter/splitter.esm.js +2 -2
  596. package/splitter/splitter.esm.min.js +1 -1
  597. package/splitter/splitter.js +2 -2
  598. package/splitter/splitter.min.js +1 -1
  599. package/splitterpanel/SplitterPanel.d.ts +34 -7
  600. package/splitterpanel/splitterpanel.esm.js +1 -1
  601. package/splitterpanel/splitterpanel.esm.min.js +1 -1
  602. package/splitterpanel/splitterpanel.js +1 -1
  603. package/steps/Steps.d.ts +51 -11
  604. package/steps/Steps.vue +5 -2
  605. package/steps/steps.cjs.js +5 -2
  606. package/steps/steps.cjs.min.js +1 -1
  607. package/steps/steps.esm.js +6 -3
  608. package/steps/steps.esm.min.js +1 -1
  609. package/steps/steps.js +6 -3
  610. package/steps/steps.min.js +1 -1
  611. package/styleclass/styleclass.esm.js +1 -1
  612. package/styleclass/styleclass.esm.min.js +1 -1
  613. package/styleclass/styleclass.js +1 -1
  614. package/tabmenu/TabMenu.d.ts +63 -10
  615. package/tabmenu/TabMenu.vue +6 -3
  616. package/tabmenu/tabmenu.cjs.js +7 -4
  617. package/tabmenu/tabmenu.cjs.min.js +1 -1
  618. package/tabmenu/tabmenu.esm.js +7 -4
  619. package/tabmenu/tabmenu.esm.min.js +1 -1
  620. package/tabmenu/tabmenu.js +8 -5
  621. package/tabmenu/tabmenu.min.js +1 -1
  622. package/tabpanel/TabPanel.d.ts +38 -7
  623. package/tabpanel/tabpanel.esm.js +1 -1
  624. package/tabpanel/tabpanel.esm.min.js +1 -1
  625. package/tabpanel/tabpanel.js +1 -1
  626. package/tabview/TabView.d.ts +73 -11
  627. package/tabview/tabview.cjs.js +1 -1
  628. package/tabview/tabview.esm.js +1 -1
  629. package/tabview/tabview.esm.min.js +1 -1
  630. package/tabview/tabview.js +2 -2
  631. package/tag/Tag.d.ts +44 -8
  632. package/tag/Tag.vue +1 -1
  633. package/tag/tag.cjs.js +6 -6
  634. package/tag/tag.cjs.min.js +1 -1
  635. package/tag/tag.esm.js +8 -8
  636. package/tag/tag.esm.min.js +1 -1
  637. package/tag/tag.js +7 -7
  638. package/tag/tag.min.js +1 -1
  639. package/terminal/Terminal.d.ts +36 -5
  640. package/terminal/terminal.cjs.js +3 -3
  641. package/terminal/terminal.esm.js +1 -1
  642. package/terminal/terminal.esm.min.js +1 -1
  643. package/terminal/terminal.js +4 -4
  644. package/terminalservice/TerminalService.d.ts +9 -6
  645. package/terminalservice/terminalservice.esm.js +1 -1
  646. package/terminalservice/terminalservice.esm.min.js +1 -1
  647. package/terminalservice/terminalservice.js +1 -1
  648. package/textarea/Textarea.d.ts +38 -6
  649. package/textarea/textarea.esm.js +1 -1
  650. package/textarea/textarea.esm.min.js +1 -1
  651. package/textarea/textarea.js +1 -1
  652. package/tieredmenu/TieredMenu.d.ts +89 -15
  653. package/tieredmenu/TieredMenuSub.vue +7 -4
  654. package/tieredmenu/tieredmenu.cjs.js +9 -6
  655. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  656. package/tieredmenu/tieredmenu.esm.js +8 -5
  657. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  658. package/tieredmenu/tieredmenu.js +10 -7
  659. package/tieredmenu/tieredmenu.min.js +1 -1
  660. package/timeline/Timeline.d.ts +94 -15
  661. package/timeline/timeline.esm.js +1 -1
  662. package/timeline/timeline.esm.min.js +1 -1
  663. package/timeline/timeline.js +1 -1
  664. package/toast/Toast.d.ts +118 -12
  665. package/toast/toast.cjs.js +7 -7
  666. package/toast/toast.esm.js +1 -1
  667. package/toast/toast.esm.min.js +1 -1
  668. package/toast/toast.js +8 -8
  669. package/toasteventbus/toasteventbus.esm.js +1 -1
  670. package/toasteventbus/toasteventbus.esm.min.js +1 -1
  671. package/toasteventbus/toasteventbus.js +1 -1
  672. package/toastservice/ToastService.d.ts +17 -5
  673. package/toastservice/toastservice.cjs.js +3 -3
  674. package/toastservice/toastservice.esm.js +1 -1
  675. package/toastservice/toastservice.esm.min.js +1 -1
  676. package/toastservice/toastservice.js +4 -4
  677. package/togglebutton/ToggleButton.d.ts +64 -11
  678. package/togglebutton/togglebutton.cjs.js +1 -1
  679. package/togglebutton/togglebutton.esm.js +1 -1
  680. package/togglebutton/togglebutton.esm.min.js +1 -1
  681. package/togglebutton/togglebutton.js +2 -2
  682. package/toolbar/Toolbar.d.ts +31 -6
  683. package/toolbar/Toolbar.vue +2 -2
  684. package/toolbar/toolbar.cjs.js +2 -2
  685. package/toolbar/toolbar.cjs.min.js +1 -1
  686. package/toolbar/toolbar.esm.js +3 -3
  687. package/toolbar/toolbar.esm.min.js +1 -1
  688. package/toolbar/toolbar.js +3 -3
  689. package/toolbar/toolbar.min.js +1 -1
  690. package/tooltip/tooltip.esm.js +1 -1
  691. package/tooltip/tooltip.esm.min.js +1 -1
  692. package/tooltip/tooltip.js +1 -1
  693. package/tree/Tree.d.ts +189 -26
  694. package/tree/Tree.vue +1 -0
  695. package/tree/TreeNode.vue +4 -1
  696. package/tree/tree.cjs.js +6 -3
  697. package/tree/tree.cjs.min.js +1 -1
  698. package/tree/tree.esm.js +6 -3
  699. package/tree/tree.esm.min.js +1 -1
  700. package/tree/tree.js +7 -4
  701. package/tree/tree.min.js +1 -1
  702. package/treeselect/TreeSelect.d.ts +201 -44
  703. package/treeselect/TreeSelect.vue +9 -0
  704. package/treeselect/treeselect.cjs.js +12 -3
  705. package/treeselect/treeselect.cjs.min.js +1 -1
  706. package/treeselect/treeselect.esm.js +10 -1
  707. package/treeselect/treeselect.esm.min.js +1 -1
  708. package/treeselect/treeselect.js +13 -4
  709. package/treeselect/treeselect.min.js +1 -1
  710. package/treetable/BodyCell.vue +3 -3
  711. package/treetable/TreeTable.d.ts +459 -63
  712. package/treetable/TreeTable.vue +9 -9
  713. package/treetable/treetable.cjs.js +17 -17
  714. package/treetable/treetable.cjs.min.js +1 -1
  715. package/treetable/treetable.esm.js +16 -16
  716. package/treetable/treetable.esm.min.js +1 -1
  717. package/treetable/treetable.js +18 -18
  718. package/treetable/treetable.min.js +1 -1
  719. package/tristatecheckbox/TriStateCheckbox.d.ts +40 -6
  720. package/tristatecheckbox/tristatecheckbox.esm.js +1 -1
  721. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  722. package/tristatecheckbox/tristatecheckbox.js +1 -1
  723. package/ts-helpers.d.ts +28 -0
  724. package/useconfirm/UseConfirm.d.ts +5 -19
  725. package/useconfirm/useconfirm.js +1 -1
  726. package/usetoast/UseToast.d.ts +3 -5
  727. package/usetoast/usetoast.js +1 -1
  728. package/utils/Utils.d.ts +3 -0
  729. package/utils/utils.cjs.js +41 -4
  730. package/utils/utils.cjs.min.js +1 -1
  731. package/utils/utils.esm.js +41 -4
  732. package/utils/utils.esm.min.js +1 -1
  733. package/utils/utils.js +42 -5
  734. package/utils/utils.min.js +1 -1
  735. package/vetur-attributes.json +66 -30
  736. package/vetur-tags.json +16 -7
  737. package/virtualscroller/VirtualScroller.d.ts +294 -53
  738. package/virtualscroller/VirtualScroller.vue +296 -255
  739. package/virtualscroller/virtualscroller.cjs.js +325 -266
  740. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  741. package/virtualscroller/virtualscroller.esm.js +326 -267
  742. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  743. package/virtualscroller/virtualscroller.js +326 -267
  744. package/virtualscroller/virtualscroller.min.js +1 -1
  745. package/web-types.json +296 -47
package/core/core.js CHANGED
@@ -492,10 +492,10 @@ this.primevue.utils = (function (exports) {
492
492
 
493
493
  applyStyle(element, style) {
494
494
  if (typeof style === 'string') {
495
- element.style.cssText = this.style;
495
+ element.style.cssText = style;
496
496
  }
497
497
  else {
498
- for (let prop in this.style) {
498
+ for (let prop in style) {
499
499
  element.style[prop] = style[prop];
500
500
  }
501
501
  }
@@ -511,6 +511,31 @@ this.primevue.utils = (function (exports) {
511
511
 
512
512
  isTouchDevice() {
513
513
  return (('ontouchstart' in window) || (navigator.maxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0));
514
+ },
515
+
516
+ exportCSV(csv, filename) {
517
+ let blob = new Blob([csv], {
518
+ type: 'application/csv;charset=utf-8;'
519
+ });
520
+
521
+ if (window.navigator.msSaveOrOpenBlob) {
522
+ navigator.msSaveOrOpenBlob(blob, filename + '.csv');
523
+ }
524
+ else {
525
+ let link = document.createElement("a");
526
+ if (link.download !== undefined) {
527
+ link.setAttribute('href', URL.createObjectURL(blob));
528
+ link.setAttribute('download', filename + '.csv');
529
+ link.style.display = 'none';
530
+ document.body.appendChild(link);
531
+ link.click();
532
+ document.body.removeChild(link);
533
+ }
534
+ else {
535
+ csv = 'data:text/csv;charset=utf-8,' + csv;
536
+ window.open(encodeURI(csv));
537
+ }
538
+ }
514
539
  }
515
540
  };
516
541
 
@@ -744,11 +769,23 @@ this.primevue.utils = (function (exports) {
744
769
  let kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
745
770
  let propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
746
771
 
747
- return ((vnode.type.props[prop].type === Boolean && props[propName] === '') ? true : props[propName]);
772
+ return ((vnode.type.props[prop].type === Boolean && props[propName] === '') ? true : props[propName]);
748
773
  }
749
774
 
750
775
  return null;
751
- }
776
+ },
777
+
778
+ isEmpty(value) {
779
+ return (
780
+ value === null || value === undefined || value === '' ||
781
+ (Array.isArray(value) && value.length === 0) ||
782
+ (!(value instanceof Date) && typeof value === 'object' && Object.keys(value).length === 0)
783
+ );
784
+ },
785
+
786
+ isNotEmpty(value) {
787
+ return !this.isEmpty(value);
788
+ }
752
789
 
753
790
  };
754
791
 
@@ -842,7 +879,7 @@ this.primevue.utils = (function (exports) {
842
879
 
843
880
  return exports;
844
881
 
845
- }({}));
882
+ })({});
846
883
 
847
884
  this.primevue = this.primevue || {};
848
885
  this.primevue.api = (function (exports, utils) {
@@ -1130,30 +1167,43 @@ this.primevue.api = (function (exports, utils) {
1130
1167
  ARROW_CIRCLE_RIGHT:'pi pi-arrow-circle-right',
1131
1168
  ARROW_CIRCLE_UP:'pi pi-arrow-circle-up',
1132
1169
  ARROW_DOWN:'pi pi-arrow-down',
1170
+ ARROW_DOWN_LEFT:'pi pi-arrow-down-left',
1171
+ ARROW_DOWN_RIGHT:'pi pi-arrow-down-right',
1133
1172
  ARROW_LEFT:'pi pi-arrow-left',
1134
1173
  ARROW_RIGHT:'pi pi-arrow-right',
1135
1174
  ARROW_UP:'pi pi-arrow-up',
1175
+ ARROW_UP_LEFT:'pi pi-arrow-up-left',
1176
+ ARROW_UP_RIGHT:'pi pi-arrow-up-right',
1177
+ ARROW_H:'pi pi-arrow-h',
1178
+ ARROW_V:'pi pi-arrow-v',
1179
+ AT:'pi pi-at',
1136
1180
  BACKWARD:'pi pi-backward',
1137
1181
  BAN:'pi pi-ban',
1138
1182
  BARS:'pi pi-bars',
1139
1183
  BELL:'pi pi-bell',
1184
+ BOLT:'pi pi-bolt',
1140
1185
  BOOK:'pi pi-book',
1141
1186
  BOOKMARK:'pi pi-bookmark',
1187
+ BOOKMARK_FILL:'pi pi-bookmark-fill',
1188
+ BOX:'pi pi-box',
1142
1189
  BRIEFCASE:'pi pi-briefcase',
1190
+ BUILDING:'pi pi-building',
1191
+ CALENDAR:'pi pi-calendar',
1143
1192
  CALENDAR_MINUS:'pi pi-calendar-minus',
1144
1193
  CALENDAR_PLUS:'pi pi-calendar-plus',
1145
1194
  CALENDAR_TIMES:'pi pi-calendar-times',
1146
- CALENDAR:'pi pi-calendar',
1147
1195
  CAMERA:'pi pi-camera',
1196
+ CAR:'pi pi-car',
1148
1197
  CARET_DOWN:'pi pi-caret-down',
1149
1198
  CARET_LEFT:'pi pi-caret-left',
1150
1199
  CARET_RIGHT:'pi pi-caret-right',
1151
1200
  CARET_UP:'pi pi-caret-up',
1152
1201
  CHART_BAR:'pi pi-chart-bar',
1153
1202
  CHART_LINE:'pi pi-chart-line',
1203
+ CHART_PIE:'pi pi-chart-pie',
1204
+ CHECK:'pi pi-check',
1154
1205
  CHECK_CIRCLE:'pi pi-check-circle',
1155
1206
  CHECK_SQUARE:'pi pi-check-square',
1156
- CHECK:'pi pi-check',
1157
1207
  CHEVRON_CIRCLE_DOWN:'pi pi-chevron-circle-down',
1158
1208
  CHEVRON_CIRCLE_LEFT:'pi pi-chevron-circle-left',
1159
1209
  CHEVRON_CIRCLE_RIGHT:'pi pi-chevron-circle-right',
@@ -1162,66 +1212,77 @@ this.primevue.api = (function (exports, utils) {
1162
1212
  CHEVRON_LEFT:'pi pi-chevron-left',
1163
1213
  CHEVRON_RIGHT:'pi pi-chevron-right',
1164
1214
  CHEVRON_UP:'pi pi-chevron-up',
1215
+ CIRCLE:'pi pi-circle',
1216
+ CIRCLE_FILL:'pi pi-circle-fill',
1165
1217
  CLOCK:'pi pi-clock',
1166
1218
  CLONE:'pi pi-clone',
1219
+ CLOUD:'pi pi-cloud',
1167
1220
  CLOUD_DOWNLOAD:'pi pi-cloud-download',
1168
1221
  CLOUD_UPLOAD:'pi pi-cloud-upload',
1169
- CLOUD:'pi pi-cloud',
1222
+ CODE:'pi pi-code',
1170
1223
  COG:'pi pi-cog',
1171
1224
  COMMENT:'pi pi-comment',
1172
1225
  COMMENTS:'pi pi-comments',
1173
1226
  COMPASS:'pi pi-compass',
1174
1227
  COPY:'pi pi-copy',
1175
1228
  CREDIT_CARD:'pi pi-credit-card',
1229
+ DATABASE:'pi pi-database',
1176
1230
  DESKTOP:'pi pi-desktop',
1177
- DISCORD:'pi pi-discord',
1178
- DIRECTIONS_ALT:'pi pi-directions-alt',
1179
1231
  DIRECTIONS:'pi pi-directions',
1232
+ DIRECTIONS_ALT:'pi pi-directions-alt',
1233
+ DISCORD:'pi pi-discord',
1180
1234
  DOLLAR:'pi pi-dollar',
1181
1235
  DOWNLOAD:'pi pi-download',
1182
1236
  EJECT:'pi pi-eject',
1183
1237
  ELLIPSIS_H:'pi pi-ellipsis-h',
1184
1238
  ELLIPSIS_V:'pi pi-ellipsis-v',
1185
1239
  ENVELOPE:'pi pi-envelope',
1240
+ EURO:'pi pi-euro',
1186
1241
  EXCLAMATION_CIRCLE:'pi pi-exclamation-circle',
1187
- EXCLAMATION_TRIANGLE :'pi pi-exclamation-triangle ',
1242
+ EXCLAMATION_TRIANGLE :'pi pi-exclamation-triangle',
1188
1243
  EXTERNAL_LINK:'pi pi-external-link',
1189
- EYE_SLASH:'pi pi-eye-slash',
1190
1244
  EYE:'pi pi-eye',
1245
+ EYE_SLASH:'pi pi-eye-slash',
1191
1246
  FACEBOOK:'pi pi-facebook',
1192
1247
  FAST_BACKWARD:'pi pi-fast-backward',
1193
1248
  FAST_FORWARD:'pi pi-fast-forward',
1249
+ FILE:'pi pi-file',
1194
1250
  FILE_EXCEL:'pi pi-file-excel',
1195
- FILE_O:'pi pi-file-o',
1196
1251
  FILE_PDF:'pi pi-file-pdf',
1197
- FILE:'pi pi-file',
1198
1252
  FILTER:'pi pi-filter',
1253
+ FILTER_FILL:'pi pi-filter-fill',
1199
1254
  FILTER_SLASH:'pi pi-filter-slash',
1200
1255
  FLAG:'pi pi-flag',
1201
- FOLDER_OPEN:'pi pi-folder-open',
1256
+ FLAG_FILL:'pi pi-flag-fill',
1202
1257
  FOLDER:'pi pi-folder',
1258
+ FOLDER_OPEN:'pi pi-folder-open',
1203
1259
  FORWARD:'pi pi-forward',
1204
1260
  GITHUB:'pi pi-github',
1205
1261
  GLOBE:'pi pi-globe',
1206
1262
  GOOGLE:'pi pi-google',
1263
+ HASHTAG:'pi pi-hashtag',
1207
1264
  HEART:'pi pi-heart',
1265
+ HEART_FILL:'pi pi-heart-fill',
1266
+ HISTORY:'pi pi-history',
1208
1267
  HOME:'pi pi-home',
1209
1268
  ID_CARD:'pi pi-id-card',
1210
1269
  IMAGE:'pi pi-image',
1211
1270
  IMAGES:'pi pi-images',
1212
1271
  INBOX:'pi pi-inbox',
1213
- INFO_CIRCLE:'pi pi-info-circle',
1214
1272
  INFO:'pi pi-info',
1273
+ INFO_CIRCLE:'pi pi-info-circle',
1274
+ INSTAGRAM:'pi pi-instagram',
1215
1275
  KEY:'pi pi-key',
1216
1276
  LINK:'pi pi-link',
1277
+ LINKEDIN:'pi pi-linkedin',
1217
1278
  LIST:'pi pi-list',
1218
- LOCK_OPEN:'pi pi-lock-open',
1219
1279
  LOCK:'pi pi-lock',
1280
+ LOCK_OPEN:'pi pi-lock-open',
1220
1281
  MAP:'pi pi-map',
1221
1282
  MAP_MARKER:'pi pi-map-marker',
1222
1283
  MICROSOFT:'pi pi-microsoft',
1223
- MINUS_CIRCLE:'pi pi-minus-circle',
1224
1284
  MINUS:'pi pi-minus',
1285
+ MINUS_CIRCLE:'pi pi-minus-circle',
1225
1286
  MOBILE:'pi pi-mobile',
1226
1287
  MONEY_BILL:'pi pi-money-bill',
1227
1288
  MOON:'pi pi-moon',
@@ -1233,24 +1294,28 @@ this.primevue.api = (function (exports, utils) {
1233
1294
  PERCENTAGE:'pi pi-percentage',
1234
1295
  PHONE:'pi pi-phone',
1235
1296
  PLAY:'pi pi-play',
1236
- PLUS_CIRCLE:'pi pi-plus-circle',
1237
1297
  PLUS:'pi pi-plus',
1298
+ PLUS_CIRCLE:'pi pi-plus-circle',
1299
+ POUND:'pi pi-pound',
1238
1300
  POWER_OFF:'pi pi-power-off',
1301
+ PRIME:'pi pi-prime',
1239
1302
  PRINT:'pi pi-print',
1240
- QUESTION_CIRCLE:'pi pi-question-circle',
1303
+ QRCODE:'pi pi-qrcode',
1241
1304
  QUESTION:'pi pi-question',
1242
- RADIO_OFF:'pi pi-radio-off',
1243
- RADIO_ON:'pi pi-radio-on',
1305
+ QUESTION_CIRCLE:'pi pi-question-circle',
1306
+ REDDIT:'pi pi-reddit',
1244
1307
  REFRESH:'pi pi-refresh',
1245
1308
  REPLAY:'pi pi-replay',
1246
1309
  REPLY:'pi pi-reply',
1247
1310
  SAVE:'pi pi-save',
1311
+ SEARCH:'pi pi-search',
1248
1312
  SEARCH_MINUS:'pi pi-search-minus',
1249
1313
  SEARCH_PLUS:'pi pi-search-plus',
1250
- SEARCH:'pi pi-search',
1251
1314
  SEND:'pi pi-send',
1315
+ SERVER:'pi pi-server',
1252
1316
  SHARE_ALT:'pi pi-share-alt',
1253
1317
  SHIELD:'pi pi-shield',
1318
+ SHOPPING_BAG:'pi pi-shopping-bag',
1254
1319
  SHOPPING_CART:'pi pi-shopping-cart',
1255
1320
  SIGN_IN:'pi pi-sign-in',
1256
1321
  SIGN_OUT:'pi pi-sign-out',
@@ -1258,60 +1323,66 @@ this.primevue.api = (function (exports, utils) {
1258
1323
  SLACK:'pi pi-slack',
1259
1324
  SLIDERS_H:'pi pi-sliders-h',
1260
1325
  SLIDERS_V:'pi pi-sliders-v',
1261
- SORT_ALPHA_ALT_DOWN:'pi pi-sort-alpha-alt-down',
1262
- SORT_ALPHA_ALT_UP:'pi pi-sort-alpha-alt-up',
1326
+ SORT:'pi pi-sort',
1263
1327
  SORT_ALPHA_DOWN:'pi pi-sort-alpha-down',
1328
+ SORT_ALPHA_ALT_DOWN:'pi pi-sort-alpha-alt-down',
1264
1329
  SORT_ALPHA_UP:'pi pi-sort-alpha-up',
1330
+ SORT_ALPHA_ALT_UP:'pi pi-sort-alpha-alt-up',
1265
1331
  SORT_ALT:'pi pi-sort-alt',
1266
- SORT_AMOUNT_DOWN_ALT:'pi pi-sort-amount-down-alt',
1332
+ SORT_ALT_SLASH:'pi pi-sort-slash',
1267
1333
  SORT_AMOUNT_DOWN:'pi pi-sort-amount-down',
1268
- SORT_AMOUNT_UP_ALT:'pi pi-sort-amount-up-alt',
1334
+ SORT_AMOUNT_DOWN_ALT:'pi pi-sort-amount-down-alt',
1269
1335
  SORT_AMOUNT_UP:'pi pi-sort-amount-up',
1336
+ SORT_AMOUNT_UP_ALT:'pi pi-sort-amount-up-alt',
1270
1337
  SORT_DOWN:'pi pi-sort-down',
1271
- SORT_NUMERIC_ALT_DOWN:'pi pi-sort-numeric-alt-down',
1272
- SORT_NUMERIC_ALT_UP:'pi pi-sort-numeric-alt-up',
1273
1338
  SORT_NUMERIC_DOWN:'pi pi-sort-numeric-down',
1339
+ SORT_NUMERIC_ALT_DOWN:'pi pi-sort-numeric-alt-down',
1274
1340
  SORT_NUMERIC_UP:'pi pi-sort-numeric-up',
1341
+ SORT_NUMERIC_ALT_UP:'pi pi-sort-numeric-alt-up',
1275
1342
  SORT_UP:'pi pi-sort-up',
1276
- SORT:'pi pi-sort',
1277
1343
  SPINNER:'pi pi-spinner',
1278
- STAR_O:'pi pi-star-o',
1279
1344
  STAR:'pi pi-star',
1280
- STEP_BACKWARD_ALT:'pi pi-step-backward-alt',
1345
+ STAR_FILL:'pi pi-star-fill',
1281
1346
  STEP_BACKWARD:'pi pi-step-backward',
1282
- STEP_FORWARD_ALT:'pi pi-step-forward-alt',
1347
+ STEP_BACKWARD_ALT:'pi pi-step-backward-alt',
1283
1348
  STEP_FORWARD:'pi pi-step-forward',
1349
+ STEP_FORWARD_ALT:'pi pi-step-forward-alt',
1350
+ STOP:'pi pi-stop',
1351
+ STOP_CIRCLE:'pi pi-stop-circle',
1284
1352
  SUN:'pi pi-sun',
1353
+ SYNC:'pi pi-sync',
1285
1354
  TABLE:'pi pi-table',
1286
1355
  TABLET:'pi pi-tablet',
1287
1356
  TAG:'pi pi-tag',
1288
1357
  TAGS:'pi pi-tags',
1358
+ TELEGRAM:'pi pi-telegram',
1289
1359
  TH_LARGE:'pi pi-th-large',
1290
1360
  THUMBS_DOWN:'pi pi-thumbs-down',
1291
1361
  THUMBS_UP:'pi pi-thumbs-up',
1292
1362
  TICKET:'pi pi-ticket',
1293
- TIMES_CIRCLE:'pi pi-times-circle',
1294
1363
  TIMES:'pi pi-times',
1364
+ TIMES_CIRCLE:'pi pi-times-circle',
1295
1365
  TRASH:'pi pi-trash',
1296
1366
  TWITTER:'pi pi-twitter',
1297
1367
  UNDO:'pi pi-undo',
1298
1368
  UNLOCK:'pi pi-unlock',
1299
1369
  UPLOAD:'pi pi-upload',
1370
+ USER:'pi pi-user',
1300
1371
  USER_EDIT:'pi pi-user-edit',
1301
1372
  USER_MINUS:'pi pi-user-minus',
1302
1373
  USER_PLUS:'pi pi-user-plus',
1303
- USER:'pi pi-user',
1304
1374
  USERS:'pi pi-users',
1305
1375
  VIDEO:'pi pi-video',
1306
1376
  VIMEO:'pi pi-vimeo',
1307
1377
  VOLUME_DOWN:'pi pi-volume-down',
1308
1378
  VOLUME_OFF:'pi pi-volume-off',
1309
1379
  VOLUME_UP:'pi pi-volume-up',
1310
- YOUTUBE:'pi pi-youtube',
1311
1380
  WALLET:'pi pi-wallet',
1381
+ WHATSAPP:'pi pi-whatsapp',
1312
1382
  WIFI:'pi pi-wifi',
1313
1383
  WINDOW_MAXIMIZE:'pi pi-window-maximize',
1314
- WINDOW_MINIMIZE:'pi pi-window-minimize'
1384
+ WINDOW_MINIMIZE:'pi pi-window-minimize',
1385
+ YOUTUBE:'pi pi-youtube'
1315
1386
  };
1316
1387
 
1317
1388
  const ToastSeverities = {
@@ -1331,7 +1402,7 @@ this.primevue.api = (function (exports, utils) {
1331
1402
 
1332
1403
  return exports;
1333
1404
 
1334
- }({}, primevue.utils));
1405
+ })({}, primevue.utils);
1335
1406
 
1336
1407
  this.primevue = this.primevue || {};
1337
1408
  this.primevue.config = (function (exports, vue, api) {
@@ -1437,14 +1508,14 @@ this.primevue.config = (function (exports, vue, api) {
1437
1508
  }
1438
1509
  };
1439
1510
 
1440
- exports.default = PrimeVue;
1511
+ exports["default"] = PrimeVue;
1441
1512
  exports.usePrimeVue = usePrimeVue;
1442
1513
 
1443
1514
  Object.defineProperty(exports, '__esModule', { value: true });
1444
1515
 
1445
1516
  return exports;
1446
1517
 
1447
- }({}, Vue, primevue.api));
1518
+ })({}, Vue, primevue.api);
1448
1519
 
1449
1520
  this.primevue = this.primevue || {};
1450
1521
  this.primevue.ripple = (function (utils) {
@@ -1525,7 +1596,323 @@ this.primevue.ripple = (function (utils) {
1525
1596
 
1526
1597
  return Ripple;
1527
1598
 
1528
- }(primevue.utils));
1599
+ })(primevue.utils);
1600
+
1601
+ this.primevue = this.primevue || {};
1602
+ this.primevue.tooltip = (function (utils) {
1603
+ 'use strict';
1604
+
1605
+ function bindEvents(el) {
1606
+ const modifiers = el.$_ptooltipModifiers;
1607
+ if (modifiers.focus) {
1608
+ el.addEventListener('focus', onFocus);
1609
+ el.addEventListener('blur', onBlur);
1610
+ }
1611
+ else {
1612
+ el.addEventListener('mouseenter', onMouseEnter);
1613
+ el.addEventListener('mouseleave', onMouseLeave);
1614
+ el.addEventListener('click', onClick);
1615
+ }
1616
+ }
1617
+
1618
+ function unbindEvents(el) {
1619
+ const modifiers = el.$_ptooltipModifiers;
1620
+ if (modifiers.focus) {
1621
+ el.removeEventListener('focus', onFocus);
1622
+ el.removeEventListener('blur', onBlur);
1623
+ }
1624
+ else {
1625
+ el.removeEventListener('mouseenter', onMouseEnter);
1626
+ el.removeEventListener('mouseleave', onMouseLeave);
1627
+ el.removeEventListener('click', onClick);
1628
+ }
1629
+ }
1630
+
1631
+ function bindScrollListener(el) {
1632
+ if (!el.$_ptooltipScrollHandler) {
1633
+ el.$_ptooltipScrollHandler = new utils.ConnectedOverlayScrollHandler(el, function() {
1634
+ hide(el);
1635
+ });
1636
+ }
1637
+
1638
+ el.$_ptooltipScrollHandler.bindScrollListener();
1639
+ }
1640
+
1641
+ function unbindScrollListener(el) {
1642
+ if (el.$_ptooltipScrollHandler) {
1643
+ el.$_ptooltipScrollHandler.unbindScrollListener();
1644
+ }
1645
+ }
1646
+
1647
+ function onMouseEnter(event) {
1648
+ show(event.currentTarget);
1649
+ }
1650
+
1651
+ function onMouseLeave(event) {
1652
+ hide(event.currentTarget);
1653
+ }
1654
+
1655
+ function onFocus(event) {
1656
+ show(event.currentTarget);
1657
+ }
1658
+
1659
+ function onBlur(event) {
1660
+ hide(event.currentTarget);
1661
+ }
1662
+
1663
+ function onClick(event) {
1664
+ hide(event.currentTarget);
1665
+ }
1666
+
1667
+ function show(el) {
1668
+ if (el.$_ptooltipDisabled) {
1669
+ return;
1670
+ }
1671
+
1672
+ let tooltipElement = create(el);
1673
+ align(el);
1674
+ utils.DomHandler.fadeIn(tooltipElement, 250);
1675
+
1676
+ window.addEventListener('resize', function onWindowResize() {
1677
+ if (!utils.DomHandler.isAndroid()) {
1678
+ hide(el);
1679
+ }
1680
+ this.removeEventListener('resize', onWindowResize);
1681
+ });
1682
+
1683
+ bindScrollListener(el);
1684
+ utils.ZIndexUtils.set('tooltip', tooltipElement, el.$_ptooltipZIndex);
1685
+ }
1686
+
1687
+ function hide(el) {
1688
+ remove(el);
1689
+ unbindScrollListener(el);
1690
+ utils.ZIndexUtils.clear(el);
1691
+ }
1692
+
1693
+ function getTooltipElement(el) {
1694
+ return document.getElementById(el.$_ptooltipId);
1695
+ }
1696
+
1697
+ function create(el) {
1698
+ const id = utils.UniqueComponentId() + '_tooltip';
1699
+ el.$_ptooltipId = id;
1700
+
1701
+ let container = document.createElement('div');
1702
+ container.id = id;
1703
+
1704
+ let tooltipArrow = document.createElement('div');
1705
+ tooltipArrow.className = 'p-tooltip-arrow';
1706
+ container.appendChild(tooltipArrow);
1707
+
1708
+ let tooltipText = document.createElement('div');
1709
+ tooltipText.className = 'p-tooltip-text';
1710
+ tooltipText.innerHTML = el.$_ptooltipValue;
1711
+
1712
+ container.appendChild(tooltipText);
1713
+ document.body.appendChild(container);
1714
+
1715
+ container.style.display = 'inline-block';
1716
+
1717
+ return container;
1718
+ }
1719
+
1720
+ function remove(el) {
1721
+ if (el) {
1722
+ let tooltipElement = getTooltipElement(el);
1723
+ if (tooltipElement && tooltipElement.parentElement) {
1724
+ document.body.removeChild(tooltipElement);
1725
+ }
1726
+ el.$_ptooltipId = null;
1727
+ }
1728
+ }
1729
+
1730
+ function align(el) {
1731
+ const modifiers = el.$_ptooltipModifiers;
1732
+
1733
+ if (modifiers.top) {
1734
+ alignTop(el);
1735
+ if (isOutOfBounds(el)) {
1736
+ alignBottom(el);
1737
+ }
1738
+ }
1739
+ else if (modifiers.left) {
1740
+ alignLeft(el);
1741
+ if (isOutOfBounds(el)) {
1742
+ alignRight(el);
1743
+
1744
+ if (isOutOfBounds(el)) {
1745
+ alignTop(el);
1746
+
1747
+ if (isOutOfBounds(el)) {
1748
+ alignBottom(el);
1749
+ }
1750
+ }
1751
+ }
1752
+ }
1753
+ else if (modifiers.bottom) {
1754
+ alignBottom(el);
1755
+ if (isOutOfBounds(el)) {
1756
+ alignTop(el);
1757
+ }
1758
+ }
1759
+ else {
1760
+ alignRight(el);
1761
+ if (isOutOfBounds(el)) {
1762
+ alignLeft(el);
1763
+
1764
+ if (isOutOfBounds(el)) {
1765
+ alignTop(el);
1766
+
1767
+ if (isOutOfBounds(el)) {
1768
+ alignBottom(el);
1769
+ }
1770
+ }
1771
+ }
1772
+ }
1773
+ }
1774
+
1775
+ function getHostOffset(el) {
1776
+ let offset = el.getBoundingClientRect();
1777
+ let targetLeft = offset.left + utils.DomHandler.getWindowScrollLeft();
1778
+ let targetTop = offset.top + utils.DomHandler.getWindowScrollTop();
1779
+
1780
+ return {left: targetLeft, top: targetTop};
1781
+ }
1782
+
1783
+ function alignRight(el) {
1784
+ preAlign(el, 'right');
1785
+ let tooltipElement = getTooltipElement(el);
1786
+ let hostOffset = getHostOffset(el);
1787
+ let left = hostOffset.left + utils.DomHandler.getOuterWidth(el);
1788
+ let top = hostOffset.top + (utils.DomHandler.getOuterHeight(el) - utils.DomHandler.getOuterHeight(tooltipElement)) / 2;
1789
+ tooltipElement.style.left = left + 'px';
1790
+ tooltipElement.style.top = top + 'px';
1791
+ }
1792
+
1793
+ function alignLeft(el) {
1794
+ preAlign(el, 'left');
1795
+ let tooltipElement = getTooltipElement(el);
1796
+ let hostOffset = getHostOffset(el);
1797
+ let left = hostOffset.left - utils.DomHandler.getOuterWidth(tooltipElement);
1798
+ let top = hostOffset.top + (utils.DomHandler.getOuterHeight(el) - utils.DomHandler.getOuterHeight(tooltipElement)) / 2;
1799
+ tooltipElement.style.left = left + 'px';
1800
+ tooltipElement.style.top = top + 'px';
1801
+ }
1802
+
1803
+ function alignTop(el) {
1804
+ preAlign(el, 'top');
1805
+ let tooltipElement = getTooltipElement(el);
1806
+ let hostOffset = getHostOffset(el);
1807
+ let left = hostOffset.left + (utils.DomHandler.getOuterWidth(el) - utils.DomHandler.getOuterWidth(tooltipElement)) / 2;
1808
+ let top = hostOffset.top - utils.DomHandler.getOuterHeight(tooltipElement);
1809
+ tooltipElement.style.left = left + 'px';
1810
+ tooltipElement.style.top = top + 'px';
1811
+ }
1812
+
1813
+ function alignBottom(el) {
1814
+ preAlign(el, 'bottom');
1815
+ let tooltipElement = getTooltipElement(el);
1816
+ let hostOffset = getHostOffset(el);
1817
+ let left = hostOffset.left + (utils.DomHandler.getOuterWidth(el) - utils.DomHandler.getOuterWidth(tooltipElement)) / 2;
1818
+ let top = hostOffset.top + utils.DomHandler.getOuterHeight(el);
1819
+ tooltipElement.style.left = left + 'px';
1820
+ tooltipElement.style.top = top + 'px';
1821
+ }
1822
+
1823
+ function preAlign(el, position) {
1824
+ let tooltipElement = getTooltipElement(el);
1825
+ tooltipElement.style.left = -999 + 'px';
1826
+ tooltipElement.style.top = -999 + 'px';
1827
+ tooltipElement.className = `p-tooltip p-component p-tooltip-${position} ${el.$_ptooltipClass||''}`;
1828
+ }
1829
+
1830
+ function isOutOfBounds(el) {
1831
+ let tooltipElement = getTooltipElement(el);
1832
+ let offset = tooltipElement.getBoundingClientRect();
1833
+ let targetTop = offset.top;
1834
+ let targetLeft = offset.left;
1835
+ let width = utils.DomHandler.getOuterWidth(tooltipElement);
1836
+ let height = utils.DomHandler.getOuterHeight(tooltipElement);
1837
+ let viewport = utils.DomHandler.getViewport();
1838
+
1839
+ return (targetLeft + width > viewport.width) || (targetLeft < 0) || (targetTop < 0) || (targetTop + height > viewport.height);
1840
+ }
1841
+
1842
+ function getTarget(el) {
1843
+ return utils.DomHandler.hasClass(el, 'p-inputwrapper') ? utils.DomHandler.findSingle(el, 'input'): el;
1844
+ }
1845
+
1846
+ function getModifiers(options) {
1847
+ // modifiers
1848
+ if (options.modifiers && Object.keys(options.modifiers).length) {
1849
+ return options.modifiers;
1850
+ }
1851
+
1852
+ // arg
1853
+ if (options.arg && typeof options.arg === 'object') {
1854
+ return Object.entries(options.arg).reduce((acc, [key, val]) => {
1855
+ if (key === 'event' || key === 'position') acc[val] = true;
1856
+ return acc;
1857
+ }, {});
1858
+ }
1859
+
1860
+ return {};
1861
+ }
1862
+
1863
+ const Tooltip = {
1864
+ beforeMount(el, options) {
1865
+ let target = getTarget(el);
1866
+ target.$_ptooltipModifiers = getModifiers(options);
1867
+
1868
+ if (!options.value) return;
1869
+ else if (typeof options.value === 'string') {
1870
+ target.$_ptooltipValue = options.value;
1871
+ target.$_ptooltipDisabled = false;
1872
+ target.$_ptooltipClass = null;
1873
+ }
1874
+ else {
1875
+ target.$_ptooltipValue = options.value.value;
1876
+ target.$_ptooltipDisabled = options.value.disabled || false;
1877
+ target.$_ptooltipClass = options.value.class;
1878
+ }
1879
+
1880
+ target.$_ptooltipZIndex = options.instance.$primevue && options.instance.$primevue.config && options.instance.$primevue.config.zIndex.tooltip;
1881
+ bindEvents(target);
1882
+ },
1883
+ unmounted(el) {
1884
+ let target = getTarget(el);
1885
+ remove(target);
1886
+ unbindEvents(target);
1887
+
1888
+ if (target.$_ptooltipScrollHandler) {
1889
+ target.$_ptooltipScrollHandler.destroy();
1890
+ target.$_ptooltipScrollHandler = null;
1891
+ }
1892
+
1893
+ utils.ZIndexUtils.clear(el);
1894
+ },
1895
+ updated(el, options) {
1896
+ let target = getTarget(el);
1897
+ target.$_ptooltipModifiers = getModifiers(options);
1898
+
1899
+ if (!options.value) return;
1900
+ if (typeof options.value === 'string') {
1901
+ target.$_ptooltipValue = options.value;
1902
+ target.$_ptooltipDisabled = false;
1903
+ target.$_ptooltipClass = null;
1904
+ }
1905
+ else {
1906
+ target.$_ptooltipValue = options.value.value;
1907
+ target.$_ptooltipDisabled = options.value.disabled || false;
1908
+ target.$_ptooltipClass = options.value.class;
1909
+ }
1910
+ }
1911
+ };
1912
+
1913
+ return Tooltip;
1914
+
1915
+ })(primevue.utils);
1529
1916
 
1530
1917
  this.primevue = this.primevue || {};
1531
1918
  this.primevue.virtualscroller = (function (vue) {
@@ -1533,15 +1920,21 @@ this.primevue.virtualscroller = (function (vue) {
1533
1920
 
1534
1921
  var script = {
1535
1922
  name: 'VirtualScroller',
1536
- emits: ['update:numToleratedItems', 'scroll-index-change', 'lazy-load'],
1923
+ emits: ['update:numToleratedItems', 'scroll', 'scroll-index-change', 'lazy-load'],
1537
1924
  props: {
1925
+ id: {
1926
+ type: String,
1927
+ default: null
1928
+ },
1929
+ style: null,
1930
+ class: null,
1538
1931
  items: {
1539
1932
  type: Array,
1540
1933
  default: null
1541
1934
  },
1542
1935
  itemSize: {
1543
1936
  type: [Number,Array],
1544
- default: null
1937
+ default: 0
1545
1938
  },
1546
1939
  scrollHeight: null,
1547
1940
  scrollWidth: null,
@@ -1561,17 +1954,27 @@ this.primevue.virtualscroller = (function (vue) {
1561
1954
  type: Boolean,
1562
1955
  default: false
1563
1956
  },
1564
- showLoader: {
1957
+ disabled: {
1565
1958
  type: Boolean,
1566
1959
  default: false
1567
1960
  },
1961
+ loaderDisabled: {
1962
+ type: Boolean,
1963
+ default: false
1964
+ },
1965
+ columns: {
1966
+ type: Array,
1967
+ default: null
1968
+ },
1568
1969
  loading: {
1569
1970
  type: Boolean,
1570
1971
  default: false
1571
1972
  },
1572
- style: null,
1573
- class: null,
1574
- disabled: {
1973
+ showSpacer: {
1974
+ type: Boolean,
1975
+ default: true
1976
+ },
1977
+ showLoader: {
1575
1978
  type: Boolean,
1576
1979
  default: false
1577
1980
  }
@@ -1584,15 +1987,19 @@ this.primevue.virtualscroller = (function (vue) {
1584
1987
  lastScrollPos: this.isBoth() ? { top: 0, left: 0 } : 0,
1585
1988
  d_numToleratedItems: this.numToleratedItems,
1586
1989
  d_loading: this.loading,
1587
- loaderArr: null
1990
+ loaderArr: [],
1991
+ spacerStyle: {},
1992
+ contentStyle: {}
1588
1993
  }
1589
1994
  },
1590
1995
  element: null,
1591
1996
  content: null,
1592
- spacer: null,
1997
+ lastScrollPos: null,
1593
1998
  scrollTimeout: null,
1594
1999
  mounted() {
1595
2000
  this.init();
2001
+
2002
+ this.lastScrollPos = this.isBoth() ? { top: 0, left: 0 } : 0;
1596
2003
  },
1597
2004
  watch: {
1598
2005
  numToleratedItems(newValue) {
@@ -1601,67 +2008,185 @@ this.primevue.virtualscroller = (function (vue) {
1601
2008
  loading(newValue) {
1602
2009
  this.d_loading = newValue;
1603
2010
  },
1604
- items(newValue, oldVal) {
1605
- if (!oldVal || oldVal.length !== (newValue || []).length) {
2011
+ items(newValue, oldValue) {
2012
+ if (!oldValue || oldValue.length !== (newValue || []).length) {
1606
2013
  this.init();
1607
2014
  }
2015
+ },
2016
+ orientation() {
2017
+ this.lastScrollPos = this.isBoth() ? { top: 0, left: 0 } : 0;
1608
2018
  }
1609
2019
  },
1610
2020
  methods: {
1611
2021
  init() {
1612
- if (!this.disabled) {
1613
- this.setSize();
1614
- this.calculateOptions();
1615
- this.setSpacerSize();
2022
+ this.setSize();
2023
+ this.calculateOptions();
2024
+ this.setSpacerSize();
2025
+ },
2026
+ isVertical() {
2027
+ return this.orientation === 'vertical';
2028
+ },
2029
+ isHorizontal() {
2030
+ return this.orientation === 'horizontal';
2031
+ },
2032
+ isBoth() {
2033
+ return this.orientation === 'both';
2034
+ },
2035
+ scrollTo(options) {
2036
+ this.element && this.element.scrollTo(options);
2037
+ },
2038
+ scrollToIndex(index, behavior = 'auto') {
2039
+ const both = this.isBoth();
2040
+ const horizontal = this.isHorizontal();
2041
+ const contentPos = this.getContentPosition();
2042
+ const calculateFirst = (_index = 0, _numT) => (_index <= _numT ? 0 : _index);
2043
+ const calculateCoord = (_first, _size, _cpos) => (_first * _size) + _cpos;
2044
+ const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
2045
+
2046
+ if (both) {
2047
+ const newFirst = { rows: calculateFirst(index[0], this.d_numToleratedItems[0]), cols: calculateFirst(index[1], this.d_numToleratedItems[1]) };
2048
+ if (newFirst.rows !== this.first.rows || newFirst.cols !== this.first.cols) {
2049
+ scrollTo(calculateCoord(newFirst.cols, this.itemSize[1], contentPos.left), calculateCoord(newFirst.rows, this.itemSize[0], contentPos.top));
2050
+ this.first = newFirst;
2051
+ }
2052
+ }
2053
+ else {
2054
+ const newFirst = calculateFirst(index, this.d_numToleratedItems);
2055
+
2056
+ if (newFirst !== this.first) {
2057
+ horizontal ? scrollTo(calculateCoord(newFirst, this.itemSize, contentPos.left), 0) : scrollTo(0, calculateCoord(newFirst, this.itemSize, contentPos.top));
2058
+ this.first = newFirst;
2059
+ }
2060
+ }
2061
+ },
2062
+ scrollInView(index, to, behavior = 'auto') {
2063
+ if (to) {
2064
+ const both = this.isBoth();
2065
+ const horizontal = this.isHorizontal();
2066
+ const { first, viewport } = this.getRenderedRange();
2067
+ const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
2068
+ const isToStart = to === 'to-start';
2069
+ const isToEnd = to === 'to-end';
2070
+
2071
+ if (isToStart) {
2072
+ if (both) {
2073
+ if (viewport.first.rows - first.rows > index[0]) {
2074
+ scrollTo(viewport.first.cols * this.itemSize[1], (viewport.first.rows - 1) * this.itemSize[0]);
2075
+ }
2076
+ else if (viewport.first.cols - first.cols > index[1]) {
2077
+ scrollTo((viewport.first.cols - 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
2078
+ }
2079
+ }
2080
+ else {
2081
+ if (viewport.first - first > index) {
2082
+ const pos = (viewport.first - 1) * this.itemSize;
2083
+ horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
2084
+ }
2085
+ }
2086
+ }
2087
+ else if (isToEnd) {
2088
+ if (both) {
2089
+ if (viewport.last.rows - first.rows <= index[0] + 1) {
2090
+ scrollTo(viewport.first.cols * this.itemSize[1], (viewport.first.rows + 1) * this.itemSize[0]);
2091
+ }
2092
+ else if (viewport.last.cols - first.cols <= index[1] + 1) {
2093
+ scrollTo((viewport.first.cols + 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
2094
+ }
2095
+ }
2096
+ else {
2097
+ if (viewport.last - first <= index + 1) {
2098
+ const pos = (viewport.first + 1) * this.itemSize;
2099
+ horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
2100
+ }
2101
+ }
2102
+ }
2103
+ }
2104
+ else {
2105
+ this.scrollToIndex(index, behavior);
1616
2106
  }
1617
2107
  },
1618
- getLast(last, isCols) {
1619
- return this.items ? Math.min((isCols ? this.items[0].length : this.items.length), last) : 0;
2108
+ getRenderedRange() {
2109
+ const calculateFirstInViewport = (_pos, _size) => Math.floor(_pos / (_size || _pos));
2110
+
2111
+ let firstInViewport = this.first;
2112
+ let lastInViewport = 0;
2113
+
2114
+ if (this.element) {
2115
+ const both = this.isBoth();
2116
+ const horizontal = this.isHorizontal();
2117
+ const scrollTop = this.element.scrollTop;
2118
+ const scrollLeft = this.element.scrollLeft;
2119
+
2120
+ if (both) {
2121
+ firstInViewport = { rows: calculateFirstInViewport(scrollTop, this.itemSize[0]), cols: calculateFirstInViewport(scrollLeft, this.itemSize[1]) };
2122
+ lastInViewport = { rows: firstInViewport.rows + this.numItemsInViewport.rows, cols: firstInViewport.cols + this.numItemsInViewport.cols };
2123
+ }
2124
+ else {
2125
+ const scrollPos = horizontal ? scrollLeft : scrollTop;
2126
+ firstInViewport = calculateFirstInViewport(scrollPos, this.itemSize);
2127
+ lastInViewport = firstInViewport + this.numItemsInViewport;
2128
+ }
2129
+ }
2130
+
2131
+ return {
2132
+ first: this.first,
2133
+ last: this.last,
2134
+ viewport: {
2135
+ first: firstInViewport,
2136
+ last: lastInViewport
2137
+ }
2138
+ };
1620
2139
  },
1621
2140
  calculateOptions() {
1622
- const isBoth = this.isBoth();
1623
- const isHorizontal = this.isHorizontal();
1624
- const first = this.first;
1625
- const itemSize = this.itemSize;
1626
- const contentPadding = this.getContentPadding();
1627
- const contentWidth = this.element ? this.element.offsetWidth - contentPadding.left : 0;
1628
- const contentHeight = this.element ? this.element.offsetHeight - contentPadding.top : 0;
2141
+ const both = this.isBoth();
2142
+ const horizontal = this.isHorizontal();
2143
+ const contentPos = this.getContentPosition();
2144
+ const contentWidth = this.element ? this.element.offsetWidth - contentPos.left : 0;
2145
+ const contentHeight = this.element ? this.element.offsetHeight - contentPos.top : 0;
1629
2146
  const calculateNumItemsInViewport = (_contentSize, _itemSize) => Math.ceil(_contentSize / (_itemSize || _contentSize));
1630
- const numItemsInViewport = isBoth ?
1631
- { rows: calculateNumItemsInViewport(contentHeight, itemSize[0]), cols: calculateNumItemsInViewport(contentWidth, itemSize[1]) } :
1632
- calculateNumItemsInViewport((isHorizontal ? contentWidth : contentHeight), itemSize);
2147
+ const calculateNumToleratedItems = (_numItems) => Math.ceil(_numItems / 2);
2148
+ const numItemsInViewport = both ?
2149
+ { rows: calculateNumItemsInViewport(contentHeight, this.itemSize[0]), cols: calculateNumItemsInViewport(contentWidth, this.itemSize[1]) } :
2150
+ calculateNumItemsInViewport((horizontal ? contentWidth : contentHeight), this.itemSize);
1633
2151
 
1634
- let numToleratedItems = this.d_numToleratedItems || Math.ceil((isBoth ? numItemsInViewport.rows : numItemsInViewport) / 2);
1635
- const calculateLast = (_first, _num, _isCols) => this.getLast(_first + _num + ((_first < numToleratedItems ? 2 : 3) * numToleratedItems), _isCols);
1636
- const last = isBoth ?
1637
- { rows: calculateLast(first.rows, numItemsInViewport.rows), cols: calculateLast(first.cols, numItemsInViewport.cols, true) } :
1638
- calculateLast(first, numItemsInViewport);
2152
+ let numToleratedItems = this.d_numToleratedItems || (both ?
2153
+ [calculateNumToleratedItems(numItemsInViewport.rows), calculateNumToleratedItems(numItemsInViewport.cols)] :
2154
+ calculateNumToleratedItems(numItemsInViewport));
2155
+
2156
+ const calculateLast = (_first, _num, _numT, _isCols) => this.getLast(_first + _num + ((_first < _numT ? 2 : 3) * _numT), _isCols);
2157
+ const last = both ?
2158
+ { rows: calculateLast(this.first.rows, numItemsInViewport.rows, numToleratedItems[0]), cols: calculateLast(this.first.cols, numItemsInViewport.cols, numToleratedItems[1], true) } :
2159
+ calculateLast(this.first, numItemsInViewport, numToleratedItems);
1639
2160
 
1640
- this.d_numToleratedItems = numToleratedItems;
1641
- this.$emit('update:numToleratedItems', this.d_numToleratedItems);
1642
2161
  this.last = last;
1643
2162
  this.numItemsInViewport = numItemsInViewport;
2163
+ this.d_numToleratedItems = numToleratedItems;
2164
+ this.$emit('update:numToleratedItems', this.d_numToleratedItems);
1644
2165
 
1645
2166
  if (this.showLoader) {
1646
- if (this.$slots && this.$slots.loader) {
1647
- this.loaderArr = Array.from({ length: (isBoth ? numItemsInViewport.rows : numItemsInViewport) });
1648
- }
1649
- else {
1650
- this.loaderArr = Array.from({ length: 1});
1651
- }
2167
+ this.loaderArr = both ?
2168
+ Array.from({ length: numItemsInViewport.rows }).map(() => Array.from({ length: numItemsInViewport.cols })) :
2169
+ Array.from({ length: numItemsInViewport });
1652
2170
  }
1653
2171
 
1654
2172
  if (this.lazy) {
1655
- this.$emit('lazy-load', { first, last });
2173
+ this.$emit('lazy-load', { first: this.first, last });
2174
+ }
2175
+ },
2176
+ getLast(last = 0, isCols) {
2177
+ if (this.items) {
2178
+ return Math.min((isCols ? (this.columns || this.items[0]).length : this.items.length), last);
1656
2179
  }
2180
+
2181
+ return 0;
1657
2182
  },
1658
- getContentPadding() {
2183
+ getContentPosition() {
1659
2184
  if (this.content) {
1660
2185
  const style = getComputedStyle(this.content);
1661
- const left = parseInt(parseFloat(style.paddingLeft.slice(0, -2)), 10);
1662
- const right = parseInt(parseFloat(style.paddingRight.slice(0, -2)), 10);
1663
- const top = parseInt(parseFloat(style.paddingTop.slice(0, -2)), 10);
1664
- const bottom = parseInt(parseFloat(style.paddingBottom.slice(0, -2)), 10);
2186
+ const left = parseInt(style.paddingLeft, 10) + Math.max(parseInt(style.left, 10), 0);
2187
+ const right = parseInt(style.paddingRight, 10) + Math.max(parseInt(style.right, 10), 0);
2188
+ const top = parseInt(style.paddingTop, 10) + Math.max(parseInt(style.top, 10), 0);
2189
+ const bottom = parseInt(style.paddingBottom, 10) + Math.max(parseInt(style.bottom, 10), 0);
1665
2190
 
1666
2191
  return { left, right, top, bottom, x: left + right, y: top + bottom };
1667
2192
  }
@@ -1670,126 +2195,125 @@ this.primevue.virtualscroller = (function (vue) {
1670
2195
  },
1671
2196
  setSize() {
1672
2197
  if (this.element) {
1673
- const isBoth = this.isBoth();
1674
- const isHorizontal = this.isHorizontal();
2198
+ const both = this.isBoth();
2199
+ const horizontal = this.isHorizontal();
1675
2200
  const parentElement = this.element.parentElement;
1676
2201
  const width = this.scrollWidth || `${(this.element.offsetWidth || parentElement.offsetWidth)}px`;
1677
2202
  const height = this.scrollHeight || `${(this.element.offsetHeight || parentElement.offsetHeight)}px`;
1678
2203
  const setProp = (_name, _value) => this.element.style[_name] = _value;
1679
2204
 
1680
- if (isBoth) {
2205
+ if (both || horizontal) {
1681
2206
  setProp('height', height);
1682
2207
  setProp('width', width);
1683
2208
  }
1684
2209
  else {
1685
- isHorizontal ? setProp('width', width) : setProp('height', height);
2210
+ setProp('height', height);
1686
2211
  }
1687
2212
  }
1688
2213
  },
1689
2214
  setSpacerSize() {
1690
2215
  const items = this.items;
1691
2216
 
1692
- if (this.spacer && items) {
1693
- const isBoth = this.isBoth();
1694
- const isHorizontal = this.isHorizontal();
1695
- const itemSize = this.itemSize;
1696
- const contentPadding = this.getContentPadding();
1697
- const setProp = (_name, _value, _size, _padding = 0) => this.spacer.style[_name] = (((_value || []).length * _size) + _padding) + 'px';
2217
+ if (items) {
2218
+ const both = this.isBoth();
2219
+ const horizontal = this.isHorizontal();
2220
+ const contentPos = this.getContentPosition();
2221
+ const setProp = (_name, _value, _size, _cpos = 0) => this.spacerStyle = { ...this.spacerStyle, ...{ [`${_name}`]: (((_value || []).length * _size) + _cpos) + 'px' } };
1698
2222
 
1699
- if (isBoth) {
1700
- setProp('height', items[0], itemSize[0], contentPadding.y);
1701
- setProp('width', items[1], itemSize[1], contentPadding.x);
2223
+ if (both) {
2224
+ setProp('height', items, this.itemSize[0], contentPos.y);
2225
+ setProp('width', (this.columns || items[1]), this.itemSize[1], contentPos.x);
1702
2226
  }
1703
2227
  else {
1704
- isHorizontal ? setProp('width', items, itemSize, contentPadding.x) : setProp('height', items, itemSize, contentPadding.y);
2228
+ horizontal ? setProp('width', (this.columns || items), this.itemSize, contentPos.x) : setProp('height', items, this.itemSize, contentPos.y);
1705
2229
  }
1706
2230
  }
1707
2231
  },
1708
2232
  setContentPosition(pos) {
1709
2233
  if (this.content) {
1710
- const isBoth = this.isBoth();
1711
- const isHorizontal = this.isHorizontal();
1712
- const content = this.content;
2234
+ const both = this.isBoth();
2235
+ const horizontal = this.isHorizontal();
1713
2236
  const first = pos ? pos.first : this.first;
1714
- const itemSize = this.itemSize;
1715
2237
  const calculateTranslateVal = (_first, _size) => (_first * _size);
1716
- const setTransform = (_x = 0, _y = 0) => content.style.transform = `translate3d(${_x}px, ${_y}px, 0)`;
2238
+ const setTransform = (_x = 0, _y = 0) => {
2239
+ this.contentStyle = { ...this.contentStyle, ...{ transform: `translate3d(${_x}px, ${_y}px, 0)` } };
2240
+ };
1717
2241
 
1718
- if (isBoth) {
1719
- setTransform(calculateTranslateVal(first.cols, itemSize[1]), calculateTranslateVal(first.rows, itemSize[0]));
2242
+ if (both) {
2243
+ setTransform(calculateTranslateVal(first.cols, this.itemSize[1]), calculateTranslateVal(first.rows, this.itemSize[0]));
1720
2244
  }
1721
2245
  else {
1722
- const translateVal = calculateTranslateVal(first, itemSize);
1723
- isHorizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);
2246
+ const translateVal = calculateTranslateVal(first, this.itemSize);
2247
+ horizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);
1724
2248
  }
1725
2249
  }
1726
2250
  },
1727
2251
  onScrollPositionChange(event) {
1728
2252
  const target = event.target;
1729
- const isBoth = this.isBoth();
1730
- const isHorizontal = this.isHorizontal();
1731
- const itemSize = this.itemSize;
1732
- const contentPadding = this.getContentPadding();
1733
- const calculateScrollPos = (_pos, _padding) => _pos ? (_pos > _padding ? _pos - _padding : _pos) : 0;
2253
+ const both = this.isBoth();
2254
+ const horizontal = this.isHorizontal();
2255
+ const contentPos = this.getContentPosition();
2256
+ const calculateScrollPos = (_pos, _cpos) => _pos ? (_pos > _cpos ? _pos - _cpos : _pos) : 0;
1734
2257
  const calculateCurrentIndex = (_pos, _size) => Math.floor(_pos / (_size || _pos));
1735
- const calculateTriggerIndex = (_currentIndex, _first, _last, _num, _isScrollDownOrRight) => {
1736
- return (_currentIndex <= this.d_numToleratedItems ? this.d_numToleratedItems : (_isScrollDownOrRight ? (_last - _num - this.d_numToleratedItems) : (_first + this.d_numToleratedItems - 1)))
2258
+ const calculateTriggerIndex = (_currentIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
2259
+ return (_currentIndex <= _numT ? _numT : (_isScrollDownOrRight ? (_last - _num - _numT) : (_first + _numT - 1)))
1737
2260
  };
1738
- const calculateFirst = (_currentIndex, _triggerIndex, _first, _last, _num, _isScrollDownOrRight) => {
1739
- if (_currentIndex <= this.d_numToleratedItems)
2261
+ const calculateFirst = (_currentIndex, _triggerIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
2262
+ if (_currentIndex <= _numT)
1740
2263
  return 0;
1741
2264
  else
1742
- return _isScrollDownOrRight ?
1743
- (_currentIndex < _triggerIndex ? _first : _currentIndex - this.d_numToleratedItems) :
1744
- (_currentIndex > _triggerIndex ? _first : _currentIndex - (2 * this.d_numToleratedItems));
2265
+ return Math.max(0, _isScrollDownOrRight ?
2266
+ (_currentIndex < _triggerIndex ? _first : _currentIndex - _numT) :
2267
+ (_currentIndex > _triggerIndex ? _first : _currentIndex - (2 * _numT)));
1745
2268
  };
1746
- const calculateLast = (_currentIndex, _first, _last, _num, _isCols) => {
1747
- let lastValue = _first + _num + (2 * this.d_numToleratedItems);
2269
+ const calculateLast = (_currentIndex, _first, _last, _num, _numT, _isCols) => {
2270
+ let lastValue = _first + _num + (2 * _numT);
1748
2271
 
1749
- if (_currentIndex >= this.d_numToleratedItems) {
1750
- lastValue += (this.d_numToleratedItems + 1);
2272
+ if (_currentIndex >= _numT) {
2273
+ lastValue += (_numT + 1);
1751
2274
  }
1752
2275
 
1753
2276
  return this.getLast(lastValue, _isCols);
1754
2277
  };
1755
2278
 
1756
- const scrollTop = calculateScrollPos(target.scrollTop, contentPadding.top);
1757
- const scrollLeft = calculateScrollPos(target.scrollLeft, contentPadding.left);
2279
+ const scrollTop = calculateScrollPos(target.scrollTop, contentPos.top);
2280
+ const scrollLeft = calculateScrollPos(target.scrollLeft, contentPos.left);
1758
2281
 
1759
2282
  let newFirst = 0;
1760
2283
  let newLast = this.last;
1761
2284
  let isRangeChanged = false;
1762
2285
 
1763
- if (isBoth) {
2286
+ if (both) {
1764
2287
  const isScrollDown = this.lastScrollPos.top <= scrollTop;
1765
2288
  const isScrollRight = this.lastScrollPos.left <= scrollLeft;
1766
- const currentIndex = { rows: calculateCurrentIndex(scrollTop, itemSize[0]), cols: calculateCurrentIndex(scrollLeft, itemSize[1]) };
2289
+ const currentIndex = { rows: calculateCurrentIndex(scrollTop, this.itemSize[0]), cols: calculateCurrentIndex(scrollLeft, this.itemSize[1]) };
1767
2290
  const triggerIndex = {
1768
- rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, isScrollDown),
1769
- cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, isScrollRight)
2291
+ rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
2292
+ cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
1770
2293
  };
1771
2294
 
1772
2295
  newFirst = {
1773
- rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, isScrollDown),
1774
- cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, isScrollRight)
2296
+ rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
2297
+ cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
1775
2298
  };
1776
2299
  newLast = {
1777
- rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows),
1778
- cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, true)
2300
+ rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
2301
+ cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], true)
1779
2302
  };
1780
- isRangeChanged = (newFirst.rows !== this.first.rows || newFirst.cols !== this.first.cols) || (newLast.rows !== this.last.rows || newLast.cols !== this.last.cols);
2303
+
2304
+ isRangeChanged = (newFirst.rows !== this.first.rows && newLast.rows !== this.last.rows) || (newFirst.cols !== this.first.cols && newLast.cols !== this.last.cols);
1781
2305
 
1782
2306
  this.lastScrollPos = { top: scrollTop, left: scrollLeft };
1783
2307
  }
1784
2308
  else {
1785
- const scrollPos = isHorizontal ? scrollLeft : scrollTop;
2309
+ const scrollPos = horizontal ? scrollLeft : scrollTop;
1786
2310
  const isScrollDownOrRight = this.lastScrollPos <= scrollPos;
1787
- const currentIndex = calculateCurrentIndex(scrollPos, itemSize);
1788
- const triggerIndex = calculateTriggerIndex(currentIndex, this.first, this.last, this.numItemsInViewport, isScrollDownOrRight);
2311
+ const currentIndex = calculateCurrentIndex(scrollPos, this.itemSize);
2312
+ const triggerIndex = calculateTriggerIndex(currentIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
1789
2313
 
1790
- newFirst = calculateFirst(currentIndex, triggerIndex, this.first, this.last, this.numItemsInViewport, isScrollDownOrRight);
1791
- newLast = calculateLast(currentIndex, newFirst, this.last, this.numItemsInViewport);
1792
- isRangeChanged = newFirst !== this.first || newLast !== this.last;
2314
+ newFirst = calculateFirst(currentIndex, triggerIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
2315
+ newLast = calculateLast(currentIndex, newFirst, this.last, this.numItemsInViewport, this.d_numToleratedItems);
2316
+ isRangeChanged = newFirst !== this.first && newLast !== this.last;
1793
2317
 
1794
2318
  this.lastScrollPos = scrollPos;
1795
2319
  }
@@ -1808,27 +2332,27 @@ this.primevue.virtualscroller = (function (vue) {
1808
2332
 
1809
2333
  this.setContentPosition(newState);
1810
2334
 
1811
- if (this.lazy) {
1812
- this.$emit('lazy-load', { first, last });
1813
- }
1814
2335
  this.first = first;
1815
2336
  this.last = last;
1816
2337
 
1817
- this.$emit('scroll-index-change', { first, last });
2338
+ this.$emit('scroll-index-change', newState);
2339
+
2340
+ if (this.lazy) {
2341
+ this.$emit('lazy-load', newState);
2342
+ }
1818
2343
  }
1819
2344
  },
1820
2345
  onScroll(event) {
1821
- if (this.delay && !this.lazy) {
2346
+ this.$emit('scroll', event);
2347
+
2348
+ if (this.delay) {
1822
2349
  if (this.scrollTimeout) {
1823
2350
  clearTimeout(this.scrollTimeout);
1824
2351
  }
1825
2352
 
1826
2353
  if (!this.d_loading && this.showLoader) {
1827
2354
  const { isRangeChanged: changed } = this.onScrollPositionChange(event);
1828
-
1829
- if (changed) {
1830
- this.d_loading = true;
1831
- }
2355
+ changed && (this.d_loading = true);
1832
2356
  }
1833
2357
 
1834
2358
  this.scrollTimeout = setTimeout(() => {
@@ -1844,8 +2368,8 @@ this.primevue.virtualscroller = (function (vue) {
1844
2368
  }
1845
2369
  },
1846
2370
  getOptions(renderedIndex) {
1847
- let count = this.items.length;
1848
- let index = this.isBoth() ? this.first.rows + renderedIndex : this.first + renderedIndex;
2371
+ const count = (this.items || []).length;
2372
+ const index = this.isBoth() ? this.first.rows + renderedIndex : this.first + renderedIndex;
1849
2373
  return {
1850
2374
  index,
1851
2375
  count,
@@ -1855,139 +2379,23 @@ this.primevue.virtualscroller = (function (vue) {
1855
2379
  odd: index % 2 !== 0
1856
2380
  };
1857
2381
  },
1858
- getLoaderOptions(index) {
2382
+ getLoaderOptions(index, extOptions) {
1859
2383
  let count = this.loaderArr.length;
1860
2384
  return {
1861
- loading: this.d_loading,
2385
+ index,
2386
+ count,
1862
2387
  first: index === 0,
1863
2388
  last: index === (count - 1),
1864
2389
  even: index % 2 === 0,
1865
- odd: index % 2 !== 0
1866
- }
1867
- },
1868
- isHorizontal() {
1869
- return this.orientation === 'horizontal';
1870
- },
1871
- isBoth() {
1872
- return this.orientation === 'both';
1873
- },
1874
- scrollTo(options) {
1875
- if (this.element) {
1876
- this.element.scrollTo(options);
1877
- }
1878
- },
1879
- scrollToIndex(index, behavior = 'auto') {
1880
- const isBoth = this.isBoth();
1881
- const isHorizontal = this.isHorizontal();
1882
- const itemSize = this.itemSize;
1883
- const contentPadding = this.getContentPadding();
1884
- const calculateFirst = (_index = 0) => (_index <= this.d_numToleratedItems ? 0 : _index);
1885
- const calculateCoord = (_first, _size, _padding) => (_first * _size) + _padding;
1886
- const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
1887
-
1888
- if (isBoth) {
1889
- const newFirst = { rows: calculateFirst(index[0]), cols: calculateFirst(index[1]) };
1890
- if (newFirst.rows !== this.first.rows || newFirst.cols !== this.first.cols)
1891
- scrollTo(calculateCoord(newFirst.cols, itemSize[1], contentPadding.left),calculateCoord(newFirst.rows, itemSize[0], contentPadding.top));
1892
- }
1893
- else {
1894
- const newFirst = calculateFirst(index);
1895
-
1896
- if (newFirst !== this.first) {
1897
- isHorizontal ? scrollTo(calculateCoord(newFirst, itemSize, contentPadding.left), 0) : scrollTo(0, calculateCoord(newFirst, itemSize, contentPadding.top));
1898
- }
1899
-
1900
- this.first = newFirst;
1901
- }
1902
- },
1903
- scrollInView(index, to, behavior = 'auto') {
1904
- if (to) {
1905
- const isBoth = this.isBoth();
1906
- const isHorizontal = this.isHorizontal();
1907
- const { first, viewport } = this.getRenderedRange();
1908
- const itemSize = this.itemSize;
1909
- const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
1910
- const isToStart = to === 'to-start';
1911
- const isToEnd = to === 'to-end';
1912
-
1913
- if (isToStart) {
1914
- if (isBoth) {
1915
- if (viewport.first.rows - first.rows > index[0]) {
1916
- scrollTo(viewport.first.cols * itemSize[1], (viewport.first.rows - 1) * itemSize[0]);
1917
- }
1918
- else if (viewport.first.cols - first.cols > index[1]) {
1919
- scrollTo((viewport.first.cols - 1) * itemSize[1], viewport.first.rows * itemSize[0]);
1920
- }
1921
- }
1922
- else {
1923
- if (viewport.first - first > index) {
1924
- const pos = (viewport.first - 1) * itemSize;
1925
- isHorizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
1926
- }
1927
- }
1928
- }
1929
- else if (isToEnd) {
1930
- if (isBoth) {
1931
- if (viewport.last.rows - first.rows <= index[0] + 1) {
1932
- scrollTo(viewport.first.cols * itemSize[1], (viewport.first.rows + 1) * itemSize[0]);
1933
- }
1934
- else if (viewport.last.cols - first.cols <= index[1] + 1) {
1935
- scrollTo((viewport.first.cols + 1) * itemSize[1], viewport.first.rows * itemSize[0]);
1936
- }
1937
- }
1938
- else {
1939
- if (viewport.last - first <= index + 1) {
1940
- const pos = (viewport.first + 1) * itemSize;
1941
- isHorizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
1942
- }
1943
- }
1944
- }
1945
- }
1946
- else {
1947
- this.scrollToIndex(index, behavior);
1948
- }
1949
- },
1950
- getRenderedRange() {
1951
- const isBoth = this.isBoth();
1952
- const isHorizontal = this.isHorizontal();
1953
- const itemSize = this.itemSize;
1954
- const calculateFirstInViewport = (_pos, _size) => Math.floor(_pos / (_size || _pos));
1955
-
1956
- let firstInViewport = this.first;
1957
- let lastInViewport = 0;
1958
-
1959
- if (this.element) {
1960
- const scrollTop = this.element.scrollTop;
1961
- const scrollLeft = this.element.scrollLeft;
1962
-
1963
- if (isBoth) {
1964
- firstInViewport = { rows: calculateFirstInViewport(scrollTop, itemSize[0]), cols: calculateFirstInViewport(scrollLeft, itemSize[1]) };
1965
- lastInViewport = { rows: firstInViewport.rows + this.numItemsInViewport.rows, cols: firstInViewport.cols + this.numItemsInViewport.cols };
1966
- }
1967
- else {
1968
- const scrollPos = isHorizontal ? scrollLeft : scrollTop;
1969
- firstInViewport = calculateFirstInViewport(scrollPos, itemSize);
1970
- lastInViewport = firstInViewport + this.numItemsInViewport;
1971
- }
2390
+ odd: index % 2 !== 0,
2391
+ ...extOptions
1972
2392
  }
1973
-
1974
- return {
1975
- first: this.first,
1976
- last: this.last,
1977
- viewport: {
1978
- first: firstInViewport,
1979
- last: lastInViewport
1980
- }
1981
- };
1982
2393
  },
1983
2394
  elementRef(el) {
1984
2395
  this.element = el;
1985
2396
  },
1986
2397
  contentRef(el) {
1987
2398
  this.content = el;
1988
- },
1989
- spacerRef(el) {
1990
- this.spacer = el;
1991
2399
  }
1992
2400
  },
1993
2401
  computed: {
@@ -1997,6 +2405,11 @@ this.primevue.virtualscroller = (function (vue) {
1997
2405
  'p-horizontal-scroll': this.isHorizontal()
1998
2406
  }, this.class];
1999
2407
  },
2408
+ contentClass() {
2409
+ return ['p-virtualscroller-content', {
2410
+ 'p-virtualscroller-loading': this.d_loading
2411
+ }];
2412
+ },
2000
2413
  loaderClass() {
2001
2414
  return ['p-virtualscroller-loader', {
2002
2415
  'p-component-overlay': !this.$slots.loader
@@ -2005,27 +2418,41 @@ this.primevue.virtualscroller = (function (vue) {
2005
2418
  loadedItems() {
2006
2419
  const items = this.items;
2007
2420
  if (items && !this.d_loading) {
2008
- const isBoth = this.isBoth();
2009
-
2010
- if (isBoth) {
2011
- return items.slice(this.first.rows, this.last.rows).map((item) => {
2012
- const items = item.slice(this.first.cols, this.last.cols);
2013
- return items;
2014
- });
2015
- }
2016
- else {
2017
- return items.slice(this.first, this.last).map((item) => {
2018
- return item;
2019
- });
2421
+ if (this.isBoth()) {
2422
+ return items.slice(this.first.rows, this.last.rows).map(item => this.columns ? item : item.slice(this.first.cols, this.last.cols));
2020
2423
  }
2424
+ else if (this.isHorizontal() && this.columns)
2425
+ return items;
2426
+ else
2427
+ return items.slice(this.first, this.last);
2021
2428
  }
2022
2429
 
2023
2430
  return [];
2431
+ },
2432
+ loadedRows() {
2433
+ return this.d_loading ? (this.loaderDisabled ? this.loaderArr : []) : this.loadedItems;
2434
+ },
2435
+ loadedColumns() {
2436
+ if (this.columns) {
2437
+ const both = this.isBoth();
2438
+ const horizontal = this.isHorizontal();
2439
+
2440
+ if (both || horizontal) {
2441
+ return this.d_loading && this.loaderDisabled ?
2442
+ (both ? this.loaderArr[0] : this.loaderArr):
2443
+ this.columns.slice((both ? this.first.cols : this.first), (both ? this.last.cols : this.last));
2444
+ }
2445
+ }
2446
+
2447
+ return this.columns;
2024
2448
  }
2025
2449
  }
2026
2450
  };
2027
2451
 
2028
- const _hoisted_1 = /*#__PURE__*/vue.createVNode("i", { class: "p-virtualscroller-loading-icon pi pi-spinner pi-spin" }, null, -1);
2452
+ const _hoisted_1 = {
2453
+ key: 1,
2454
+ class: "p-virtualscroller-loading-icon pi pi-spinner pi-spin"
2455
+ };
2029
2456
 
2030
2457
  function render(_ctx, _cache, $props, $setup, $data, $options) {
2031
2458
  return (!$props.disabled)
@@ -2033,18 +2460,30 @@ this.primevue.virtualscroller = (function (vue) {
2033
2460
  key: 0,
2034
2461
  ref: $options.elementRef,
2035
2462
  class: $options.containerClass,
2463
+ tabindex: 0,
2036
2464
  style: $props.style,
2037
2465
  onScroll: _cache[1] || (_cache[1] = (...args) => ($options.onScroll && $options.onScroll(...args)))
2038
2466
  }, [
2039
2467
  vue.renderSlot(_ctx.$slots, "content", {
2040
- styleClass: "p-virtualscroller-content",
2041
- contentRef: $options.contentRef,
2468
+ styleClass: $options.contentClass,
2042
2469
  items: $options.loadedItems,
2043
- getItemOptions: $options.getOptions
2470
+ getItemOptions: $options.getOptions,
2471
+ loading: $data.d_loading,
2472
+ getLoaderOptions: $options.getLoaderOptions,
2473
+ itemSize: $props.itemSize,
2474
+ rows: $options.loadedRows,
2475
+ columns: $options.loadedColumns,
2476
+ contentRef: $options.contentRef,
2477
+ spacerStyle: $data.spacerStyle,
2478
+ contentStyle: $data.contentStyle,
2479
+ vertical: $options.isVertical(),
2480
+ horizontal: $options.isHorizontal(),
2481
+ both: $options.isBoth()
2044
2482
  }, () => [
2045
2483
  vue.createVNode("div", {
2046
2484
  ref: $options.contentRef,
2047
- class: "p-virtualscroller-content"
2485
+ class: $options.contentClass,
2486
+ style: $data.contentStyle
2048
2487
  }, [
2049
2488
  (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($options.loadedItems, (item, index) => {
2050
2489
  return vue.renderSlot(_ctx.$slots, "item", {
@@ -2053,31 +2492,38 @@ this.primevue.virtualscroller = (function (vue) {
2053
2492
  options: $options.getOptions(index)
2054
2493
  })
2055
2494
  }), 128))
2056
- ], 512)
2495
+ ], 6)
2057
2496
  ]),
2058
- vue.createVNode("div", {
2059
- ref: $options.spacerRef,
2060
- class: "p-virtualscroller-spacer"
2061
- }, null, 512),
2062
- ($data.d_loading)
2497
+ ($props.showSpacer)
2063
2498
  ? (vue.openBlock(), vue.createBlock("div", {
2064
2499
  key: 0,
2500
+ class: "p-virtualscroller-spacer",
2501
+ style: $data.spacerStyle
2502
+ }, null, 4))
2503
+ : vue.createCommentVNode("", true),
2504
+ (!$props.loaderDisabled && $props.showLoader && $data.d_loading)
2505
+ ? (vue.openBlock(), vue.createBlock("div", {
2506
+ key: 1,
2065
2507
  class: $options.loaderClass
2066
2508
  }, [
2067
- (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($data.loaderArr, (loadItem, index) => {
2068
- return vue.renderSlot(_ctx.$slots, "loader", {
2069
- key: index,
2070
- options: $options.getLoaderOptions(index)
2071
- }, () => [
2072
- _hoisted_1
2073
- ])
2074
- }), 128))
2509
+ (_ctx.$slots && _ctx.$slots.loader)
2510
+ ? (vue.openBlock(true), vue.createBlock(vue.Fragment, { key: 0 }, vue.renderList($data.loaderArr, (_, index) => {
2511
+ return vue.renderSlot(_ctx.$slots, "loader", {
2512
+ key: index,
2513
+ options: $options.getLoaderOptions(index, $options.isBoth() && { numCols: _ctx.d_numItemsInViewport.cols })
2514
+ })
2515
+ }), 128))
2516
+ : (vue.openBlock(), vue.createBlock("i", _hoisted_1))
2075
2517
  ], 2))
2076
2518
  : vue.createCommentVNode("", true)
2077
2519
  ], 38))
2078
2520
  : (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 1 }, [
2079
2521
  vue.renderSlot(_ctx.$slots, "default"),
2080
- vue.renderSlot(_ctx.$slots, "content", { items: $props.items })
2522
+ vue.renderSlot(_ctx.$slots, "content", {
2523
+ items: $props.items,
2524
+ rows: $props.items,
2525
+ columns: $options.loadedColumns
2526
+ })
2081
2527
  ], 64))
2082
2528
  }
2083
2529
 
@@ -2108,14 +2554,14 @@ this.primevue.virtualscroller = (function (vue) {
2108
2554
  }
2109
2555
  }
2110
2556
 
2111
- var css_248z = "\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n -webkit-transform: translateZ(0);\n transform: translateZ(0);\n will-change: scroll-position;\n}\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n contain: content;\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n pointer-events: none;\n}\n.p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n.p-virtualscroller-loader.p-component-overlay {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n";
2557
+ var css_248z = "\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n -webkit-transform: translateZ(0);\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n}\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n contain: content;\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n pointer-events: none;\n}\n.p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n.p-virtualscroller-loader.p-component-overlay {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n";
2112
2558
  styleInject(css_248z);
2113
2559
 
2114
2560
  script.render = render;
2115
2561
 
2116
2562
  return script;
2117
2563
 
2118
- }(Vue));
2564
+ })(Vue);
2119
2565
 
2120
2566
  this.primevue = this.primevue || {};
2121
2567
  this.primevue.confirmationeventbus = (function (utils) {
@@ -2125,7 +2571,7 @@ this.primevue.confirmationeventbus = (function (utils) {
2125
2571
 
2126
2572
  return ConfirmationEventBus;
2127
2573
 
2128
- }(primevue.utils));
2574
+ })(primevue.utils);
2129
2575
 
2130
2576
  this.primevue = this.primevue || {};
2131
2577
  this.primevue.toasteventbus = (function (utils) {
@@ -2135,7 +2581,7 @@ this.primevue.toasteventbus = (function (utils) {
2135
2581
 
2136
2582
  return ToastEventBus;
2137
2583
 
2138
- }(primevue.utils));
2584
+ })(primevue.utils);
2139
2585
 
2140
2586
  this.primevue = this.primevue || {};
2141
2587
  this.primevue.overlayeventbus = (function (utils) {
@@ -2145,7 +2591,7 @@ this.primevue.overlayeventbus = (function (utils) {
2145
2591
 
2146
2592
  return OverlayEventBus;
2147
2593
 
2148
- }(primevue.utils));
2594
+ })(primevue.utils);
2149
2595
 
2150
2596
  this.primevue = this.primevue || {};
2151
2597
  this.primevue.terminalservice = (function (utils) {
@@ -2155,7 +2601,7 @@ this.primevue.terminalservice = (function (utils) {
2155
2601
 
2156
2602
  return TerminalService;
2157
2603
 
2158
- }(primevue.utils));
2604
+ })(primevue.utils);
2159
2605
 
2160
2606
  this.primevue = this.primevue || {};
2161
2607
  this.primevue.useconfirm = (function (exports, vue) {
@@ -2179,7 +2625,7 @@ this.primevue.useconfirm = (function (exports, vue) {
2179
2625
 
2180
2626
  return exports;
2181
2627
 
2182
- }({}, Vue));
2628
+ })({}, Vue);
2183
2629
 
2184
2630
  this.primevue = this.primevue || {};
2185
2631
  this.primevue.usetoast = (function (exports, vue) {
@@ -2203,7 +2649,7 @@ this.primevue.usetoast = (function (exports, vue) {
2203
2649
 
2204
2650
  return exports;
2205
2651
 
2206
- }({}, Vue));
2652
+ })({}, Vue);
2207
2653
 
2208
2654
  this.primevue = this.primevue || {};
2209
2655
  this.primevue.button = (function (Ripple, vue) {
@@ -2276,7 +2722,7 @@ this.primevue.button = (function (Ripple, vue) {
2276
2722
  }
2277
2723
  },
2278
2724
  directives: {
2279
- 'ripple': Ripple__default['default']
2725
+ 'ripple': Ripple__default["default"]
2280
2726
  }
2281
2727
  };
2282
2728
 
@@ -2320,7 +2766,7 @@ this.primevue.button = (function (Ripple, vue) {
2320
2766
 
2321
2767
  return script;
2322
2768
 
2323
- }(primevue.ripple, Vue));
2769
+ })(primevue.ripple, Vue);
2324
2770
 
2325
2771
  this.primevue = this.primevue || {};
2326
2772
  this.primevue.inputtext = (function (vue) {
@@ -2345,18 +2791,18 @@ this.primevue.inputtext = (function (vue) {
2345
2791
  };
2346
2792
 
2347
2793
  function render(_ctx, _cache, $props, $setup, $data, $options) {
2348
- return (vue.openBlock(), vue.createBlock("input", {
2794
+ return (vue.openBlock(), vue.createBlock("input", vue.mergeProps({
2349
2795
  class: ['p-inputtext p-component', {'p-filled': $options.filled}],
2350
2796
  value: $props.modelValue,
2351
2797
  onInput: _cache[1] || (_cache[1] = (...args) => ($options.onInput && $options.onInput(...args)))
2352
- }, null, 42, ["value"]))
2798
+ }, _ctx.$attrs), null, 16, ["value"]))
2353
2799
  }
2354
2800
 
2355
2801
  script.render = render;
2356
2802
 
2357
2803
  return script;
2358
2804
 
2359
- }(Vue));
2805
+ })(Vue);
2360
2806
 
2361
2807
  this.primevue = this.primevue || {};
2362
2808
  this.primevue.inputnumber = (function (InputText, Button, vue) {
@@ -2481,10 +2927,14 @@ this.primevue.inputnumber = (function (InputText, Button, vue) {
2481
2927
  timer: null,
2482
2928
  data() {
2483
2929
  return {
2930
+ d_modelValue: this.modelValue,
2484
2931
  focused: false
2485
2932
  }
2486
2933
  },
2487
2934
  watch: {
2935
+ modelValue(newValue) {
2936
+ this.d_modelValue = newValue;
2937
+ },
2488
2938
  locale(newValue, oldValue) {
2489
2939
  this.updateConstructParser(newValue, oldValue);
2490
2940
  },
@@ -3240,6 +3690,7 @@ this.primevue.inputnumber = (function (InputText, Button, vue) {
3240
3690
  return 0;
3241
3691
  },
3242
3692
  updateModel(event, value) {
3693
+ this.d_modelValue = value;
3243
3694
  this.$emit('update:modelValue', value);
3244
3695
  },
3245
3696
  onInputFocus() {
@@ -3258,7 +3709,13 @@ this.primevue.inputnumber = (function (InputText, Button, vue) {
3258
3709
  if (this.timer) {
3259
3710
  clearInterval(this.timer);
3260
3711
  }
3261
- }
3712
+ },
3713
+ maxBoundry() {
3714
+ return this.d_modelValue >= this.max;
3715
+ },
3716
+ minBoundry() {
3717
+ return this.d_modelValue <= this.min;
3718
+ },
3262
3719
  },
3263
3720
  computed: {
3264
3721
  containerClass() {
@@ -3270,11 +3727,16 @@ this.primevue.inputnumber = (function (InputText, Button, vue) {
3270
3727
  'p-inputnumber-buttons-vertical': this.showButtons && this.buttonLayout === 'vertical'
3271
3728
  }];
3272
3729
  },
3730
+
3273
3731
  upButtonClass() {
3274
- return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass];
3732
+ return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass, {
3733
+ 'p-disabled': this.showButtons && this.max !== null && this.maxBoundry()
3734
+ }];
3275
3735
  },
3276
3736
  downButtonClass() {
3277
- return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass];
3737
+ return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass, {
3738
+ 'p-disabled': this.showButtons && this.min !== null && this.minBoundry()
3739
+ }];
3278
3740
  },
3279
3741
  filled() {
3280
3742
  return (this.modelValue != null && this.modelValue.toString().length > 0)
@@ -3306,8 +3768,8 @@ this.primevue.inputnumber = (function (InputText, Button, vue) {
3306
3768
  }
3307
3769
  },
3308
3770
  components: {
3309
- 'INInputText': InputText__default['default'],
3310
- 'INButton': Button__default['default']
3771
+ 'INInputText': InputText__default["default"],
3772
+ 'INButton': Button__default["default"]
3311
3773
  }
3312
3774
  };
3313
3775
 
@@ -3411,7 +3873,7 @@ this.primevue.inputnumber = (function (InputText, Button, vue) {
3411
3873
 
3412
3874
  return script;
3413
3875
 
3414
- }(primevue.inputtext, primevue.button, Vue));
3876
+ })(primevue.inputtext, primevue.button, Vue);
3415
3877
 
3416
3878
  this.primevue = this.primevue || {};
3417
3879
  this.primevue.message = (function (Ripple, vue) {
@@ -3440,7 +3902,11 @@ this.primevue.message = (function (Ripple, vue) {
3440
3902
  life: {
3441
3903
  type: Number,
3442
3904
  default: 3000
3443
- }
3905
+ },
3906
+ icon: {
3907
+ type: String,
3908
+ default: null
3909
+ },
3444
3910
  },
3445
3911
  timeout: null,
3446
3912
  data() {
@@ -3466,7 +3932,7 @@ this.primevue.message = (function (Ripple, vue) {
3466
3932
  return 'p-message p-component p-message-' + this.severity;
3467
3933
  },
3468
3934
  iconClass() {
3469
- return ['p-message-icon pi', {
3935
+ return ['p-message-icon pi', this.icon ? this.icon : {
3470
3936
  'pi-info-circle': this.severity === 'info',
3471
3937
  'pi-check': this.severity === 'success',
3472
3938
  'pi-exclamation-triangle': this.severity === 'warn',
@@ -3475,7 +3941,7 @@ this.primevue.message = (function (Ripple, vue) {
3475
3941
  }
3476
3942
  },
3477
3943
  directives: {
3478
- 'ripple': Ripple__default['default']
3944
+ 'ripple': Ripple__default["default"]
3479
3945
  }
3480
3946
  };
3481
3947
 
@@ -3555,7 +4021,7 @@ this.primevue.message = (function (Ripple, vue) {
3555
4021
 
3556
4022
  return script;
3557
4023
 
3558
- }(primevue.ripple, Vue));
4024
+ })(primevue.ripple, Vue);
3559
4025
 
3560
4026
  this.primevue = this.primevue || {};
3561
4027
  this.primevue.progressbar = (function (vue) {
@@ -3590,7 +4056,7 @@ this.primevue.progressbar = (function (vue) {
3590
4056
  progressStyle() {
3591
4057
  return {
3592
4058
  width: this.value + '%',
3593
- display: 'block'
4059
+ display: 'flex'
3594
4060
  };
3595
4061
  },
3596
4062
  indeterminate() {
@@ -3603,11 +4069,11 @@ this.primevue.progressbar = (function (vue) {
3603
4069
  };
3604
4070
 
3605
4071
  const _hoisted_1 = {
3606
- key: 1,
4072
+ key: 0,
3607
4073
  class: "p-progressbar-label"
3608
4074
  };
3609
4075
  const _hoisted_2 = {
3610
- key: 2,
4076
+ key: 1,
3611
4077
  class: "p-progressbar-indeterminate-container"
3612
4078
  };
3613
4079
  const _hoisted_3 = /*#__PURE__*/vue.createVNode("div", { class: "p-progressbar-value p-progressbar-value-animate" }, null, -1);
@@ -3625,14 +4091,15 @@ this.primevue.progressbar = (function (vue) {
3625
4091
  key: 0,
3626
4092
  class: "p-progressbar-value p-progressbar-value-animate",
3627
4093
  style: $options.progressStyle
3628
- }, null, 4))
3629
- : vue.createCommentVNode("", true),
3630
- ($options.determinate && ($props.value !== null) && $props.showValue)
3631
- ? (vue.openBlock(), vue.createBlock("div", _hoisted_1, [
3632
- vue.renderSlot(_ctx.$slots, "default", {}, () => [
3633
- vue.createTextVNode(vue.toDisplayString($props.value + '%'), 1)
3634
- ])
3635
- ]))
4094
+ }, [
4095
+ (($props.value != null && $props.value !== 0) && $props.showValue)
4096
+ ? (vue.openBlock(), vue.createBlock("div", _hoisted_1, [
4097
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
4098
+ vue.createTextVNode(vue.toDisplayString($props.value + '%'), 1)
4099
+ ])
4100
+ ]))
4101
+ : vue.createCommentVNode("", true)
4102
+ ], 4))
3636
4103
  : vue.createCommentVNode("", true),
3637
4104
  ($options.indeterminate)
3638
4105
  ? (vue.openBlock(), vue.createBlock("div", _hoisted_2, [
@@ -3669,14 +4136,14 @@ this.primevue.progressbar = (function (vue) {
3669
4136
  }
3670
4137
  }
3671
4138
 
3672
- var css_248z = "\n.p-progressbar {\n position: relative;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-value {\n height: 100%;\n width: 0%;\n position: absolute;\n display: none;\n border: 0 none;\n}\n.p-progressbar-determinate .p-progressbar-value-animate {\n -webkit-transition: width 1s ease-in-out;\n transition: width 1s ease-in-out;\n}\n.p-progressbar-determinate .p-progressbar-label {\n text-align: center;\n height: 100%;\n width: 100%;\n position: absolute;\n font-weight: bold;\n}\n.p-progressbar-indeterminate .p-progressbar-value::before {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n}\n.p-progressbar-indeterminate .p-progressbar-value::after {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n -webkit-animation-delay: 1.15s;\n animation-delay: 1.15s;\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n";
4139
+ var css_248z = "\n.p-progressbar {\n position: relative;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-value {\n height: 100%;\n width: 0%;\n position: absolute;\n display: none;\n border: 0 none;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-label {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.p-progressbar-determinate .p-progressbar-value-animate {\n -webkit-transition: width 1s ease-in-out;\n transition: width 1s ease-in-out;\n}\n.p-progressbar-indeterminate .p-progressbar-value::before {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n}\n.p-progressbar-indeterminate .p-progressbar-value::after {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n -webkit-animation-delay: 1.15s;\n animation-delay: 1.15s;\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n";
3673
4140
  styleInject(css_248z);
3674
4141
 
3675
4142
  script.render = render;
3676
4143
 
3677
4144
  return script;
3678
4145
 
3679
- }(Vue));
4146
+ })(Vue);
3680
4147
 
3681
4148
  this.primevue = this.primevue || {};
3682
4149
  this.primevue.dropdown = (function (utils, OverlayEventBus, api, Ripple, VirtualScroller, vue) {
@@ -4245,7 +4712,7 @@ this.primevue.dropdown = (function (utils, OverlayEventBus, api, Ripple, Virtual
4245
4712
  }
4246
4713
  },
4247
4714
  onOverlayClick(event) {
4248
- OverlayEventBus__default['default'].emit('overlay-click', {
4715
+ OverlayEventBus__default["default"].emit('overlay-click', {
4249
4716
  originalEvent: event,
4250
4717
  target: this.$el
4251
4718
  });
@@ -4303,7 +4770,7 @@ this.primevue.dropdown = (function (utils, OverlayEventBus, api, Ripple, Virtual
4303
4770
  },
4304
4771
  label() {
4305
4772
  let selectedOption = this.getSelectedOption();
4306
- if (selectedOption)
4773
+ if (selectedOption !== null)
4307
4774
  return this.getOptionLabel(selectedOption);
4308
4775
  else
4309
4776
  return this.placeholder||'p-emptylabel';
@@ -4341,10 +4808,10 @@ this.primevue.dropdown = (function (utils, OverlayEventBus, api, Ripple, Virtual
4341
4808
  }
4342
4809
  },
4343
4810
  directives: {
4344
- 'ripple': Ripple__default['default']
4811
+ 'ripple': Ripple__default["default"]
4345
4812
  },
4346
4813
  components: {
4347
- 'VirtualScroller': VirtualScroller__default['default']
4814
+ 'VirtualScroller': VirtualScroller__default["default"]
4348
4815
  }
4349
4816
  };
4350
4817
 
@@ -4620,7 +5087,7 @@ this.primevue.dropdown = (function (utils, OverlayEventBus, api, Ripple, Virtual
4620
5087
 
4621
5088
  return script;
4622
5089
 
4623
- }(primevue.utils, primevue.overlayeventbus, primevue.api, primevue.ripple, primevue.virtualscroller, Vue));
5090
+ })(primevue.utils, primevue.overlayeventbus, primevue.api, primevue.ripple, primevue.virtualscroller, Vue);
4624
5091
 
4625
5092
  this.primevue = this.primevue || {};
4626
5093
  this.primevue.dialog = (function (utils, Ripple, vue) {
@@ -5012,7 +5479,7 @@ this.primevue.dialog = (function (utils, Ripple, vue) {
5012
5479
  }
5013
5480
  },
5014
5481
  directives: {
5015
- 'ripple': Ripple__default['default']
5482
+ 'ripple': Ripple__default["default"]
5016
5483
  }
5017
5484
  };
5018
5485
 
@@ -5092,8 +5559,7 @@ this.primevue.dialog = (function (utils, Ripple, vue) {
5092
5559
  class: "p-dialog-header-icon p-dialog-header-close p-link",
5093
5560
  onClick: _cache[2] || (_cache[2] = (...args) => ($options.close && $options.close(...args))),
5094
5561
  "aria-label": $props.ariaCloseLabel,
5095
- type: "button",
5096
- tabindex: "-1"
5562
+ type: "button"
5097
5563
  }, [
5098
5564
  _hoisted_2
5099
5565
  ], 8, ["aria-label"])), [
@@ -5160,7 +5626,7 @@ this.primevue.dialog = (function (utils, Ripple, vue) {
5160
5626
 
5161
5627
  return script;
5162
5628
 
5163
- }(primevue.utils, primevue.ripple, Vue));
5629
+ })(primevue.utils, primevue.ripple, Vue);
5164
5630
 
5165
5631
  this.primevue = this.primevue || {};
5166
5632
  this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
@@ -5238,7 +5704,7 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5238
5704
  }
5239
5705
  },
5240
5706
  directives: {
5241
- 'ripple': Ripple__default['default']
5707
+ 'ripple': Ripple__default["default"]
5242
5708
  }
5243
5709
  };
5244
5710
 
@@ -5269,7 +5735,7 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5269
5735
  }
5270
5736
  },
5271
5737
  directives: {
5272
- 'ripple': Ripple__default['default']
5738
+ 'ripple': Ripple__default["default"]
5273
5739
  }
5274
5740
  };
5275
5741
 
@@ -5300,7 +5766,7 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5300
5766
  }
5301
5767
  },
5302
5768
  directives: {
5303
- 'ripple': Ripple__default['default']
5769
+ 'ripple': Ripple__default["default"]
5304
5770
  }
5305
5771
  };
5306
5772
 
@@ -5338,7 +5804,7 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5338
5804
  }
5339
5805
  },
5340
5806
  directives: {
5341
- 'ripple': Ripple__default['default']
5807
+ 'ripple': Ripple__default["default"]
5342
5808
  }
5343
5809
  };
5344
5810
 
@@ -5375,7 +5841,7 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5375
5841
  }
5376
5842
  },
5377
5843
  directives: {
5378
- 'ripple': Ripple__default['default']
5844
+ 'ripple': Ripple__default["default"]
5379
5845
  }
5380
5846
  };
5381
5847
 
@@ -5422,7 +5888,7 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5422
5888
  }
5423
5889
  },
5424
5890
  components: {
5425
- 'RPPDropdown': Dropdown__default['default']
5891
+ 'RPPDropdown': Dropdown__default["default"]
5426
5892
  }
5427
5893
  };
5428
5894
 
@@ -5466,7 +5932,7 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5466
5932
  }
5467
5933
  },
5468
5934
  components: {
5469
- 'JTPDropdown': Dropdown__default['default']
5935
+ 'JTPDropdown': Dropdown__default["default"]
5470
5936
  }
5471
5937
  };
5472
5938
 
@@ -5501,7 +5967,7 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5501
5967
  }
5502
5968
  },
5503
5969
  components: {
5504
- 'JTPInput': InputNumber__default['default']
5970
+ 'JTPInput': InputNumber__default["default"]
5505
5971
  }
5506
5972
  };
5507
5973
 
@@ -5722,9 +6188,9 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5722
6188
 
5723
6189
  return ($props.alwaysShow ? true : ($options.pageLinks && $options.pageLinks.length > 1))
5724
6190
  ? (vue.openBlock(), vue.createBlock("div", _hoisted_1, [
5725
- (_ctx.$slots.left)
6191
+ (_ctx.$slots.start)
5726
6192
  ? (vue.openBlock(), vue.createBlock("div", _hoisted_2, [
5727
- vue.renderSlot(_ctx.$slots, "left", { state: $options.currentState })
6193
+ vue.renderSlot(_ctx.$slots, "start", { state: $options.currentState })
5728
6194
  ]))
5729
6195
  : vue.createCommentVNode("", true),
5730
6196
  (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($options.templateItems, (item) => {
@@ -5797,9 +6263,9 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5797
6263
  : vue.createCommentVNode("", true)
5798
6264
  ], 64))
5799
6265
  }), 128)),
5800
- (_ctx.$slots.right)
6266
+ (_ctx.$slots.end)
5801
6267
  ? (vue.openBlock(), vue.createBlock("div", _hoisted_3, [
5802
- vue.renderSlot(_ctx.$slots, "right", { state: $options.currentState })
6268
+ vue.renderSlot(_ctx.$slots, "end", { state: $options.currentState })
5803
6269
  ]))
5804
6270
  : vue.createCommentVNode("", true)
5805
6271
  ]))
@@ -5840,7 +6306,7 @@ this.primevue.paginator = (function (vue, Ripple, Dropdown, InputNumber) {
5840
6306
 
5841
6307
  return script;
5842
6308
 
5843
- }(Vue, primevue.ripple, primevue.dropdown, primevue.inputnumber));
6309
+ })(Vue, primevue.ripple, primevue.dropdown, primevue.inputnumber);
5844
6310
 
5845
6311
  this.primevue = this.primevue || {};
5846
6312
  this.primevue.tree = (function (utils, Ripple, vue) {
@@ -5880,6 +6346,9 @@ this.primevue.tree = (function (utils, Ripple, vue) {
5880
6346
  toggle() {
5881
6347
  this.$emit('node-toggle', this.node);
5882
6348
  },
6349
+ label(node) {
6350
+ return (typeof node.label === 'function' ? node.label() : node.label);
6351
+ },
5883
6352
  onChildNodeToggle(node) {
5884
6353
  this.$emit('node-toggle', node);
5885
6354
  },
@@ -6109,7 +6578,7 @@ this.primevue.tree = (function (utils, Ripple, vue) {
6109
6578
  }
6110
6579
  },
6111
6580
  directives: {
6112
- 'ripple': Ripple__default['default']
6581
+ 'ripple': Ripple__default["default"]
6113
6582
  }
6114
6583
  };
6115
6584
 
@@ -6168,7 +6637,7 @@ this.primevue.tree = (function (utils, Ripple, vue) {
6168
6637
  node: $props.node
6169
6638
  }, null, 8, ["node"]))
6170
6639
  : (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 1 }, [
6171
- vue.createTextVNode(vue.toDisplayString($props.node.label), 1)
6640
+ vue.createTextVNode(vue.toDisplayString($options.label($props.node)), 1)
6172
6641
  ], 64))
6173
6642
  ])
6174
6643
  ], 46, ["aria-expanded"]),
@@ -6544,14 +7013,14 @@ this.primevue.tree = (function (utils, Ripple, vue) {
6544
7013
  }
6545
7014
  }
6546
7015
 
6547
- var css_248z = "\n.p-tree-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n overflow: auto;\n}\n.p-treenode-children {\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n.p-tree-wrapper {\n overflow: auto;\n}\n.p-treenode-selectable {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-tree-toggler {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n.p-treenode-leaf > .p-treenode-content .p-tree-toggler {\n visibility: hidden;\n}\n.p-treenode-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-tree-filter {\n width: 100%;\n}\n.p-tree-filter-container {\n position: relative;\n display: block;\n width: 100%;\n}\n.p-tree-filter-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n.p-tree-loading {\n position: relative;\n min-height: 4rem;\n}\n.p-tree .p-tree-loading-overlay {\n position: absolute;\n z-index: 1;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-tree-flex-scrollable {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n height: 100%;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.p-tree-flex-scrollable .p-tree-wrapper {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n";
7016
+ var css_248z = "\n.p-tree-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n overflow: auto;\n}\n.p-treenode-children {\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n.p-tree-wrapper {\n overflow: auto;\n}\n.p-treenode-selectable {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-tree-toggler {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.p-treenode-leaf > .p-treenode-content .p-tree-toggler {\n visibility: hidden;\n}\n.p-treenode-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-tree-filter {\n width: 100%;\n}\n.p-tree-filter-container {\n position: relative;\n display: block;\n width: 100%;\n}\n.p-tree-filter-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n.p-tree-loading {\n position: relative;\n min-height: 4rem;\n}\n.p-tree .p-tree-loading-overlay {\n position: absolute;\n z-index: 1;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-tree-flex-scrollable {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n height: 100%;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.p-tree-flex-scrollable .p-tree-wrapper {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n";
6548
7017
  styleInject(css_248z);
6549
7018
 
6550
7019
  script.render = render;
6551
7020
 
6552
7021
  return script;
6553
7022
 
6554
- }(primevue.utils, primevue.ripple, Vue));
7023
+ })(primevue.utils, primevue.ripple, Vue);
6555
7024
 
6556
7025
  this.primevue = this.primevue || {};
6557
7026
  this.primevue.menu = (function (utils, OverlayEventBus, Ripple, vue) {
@@ -6591,6 +7060,9 @@ this.primevue.menu = (function (utils, OverlayEventBus, Ripple, vue) {
6591
7060
  },
6592
7061
  disabled(item) {
6593
7062
  return (typeof item.disabled === 'function' ? item.disabled() : item.disabled);
7063
+ },
7064
+ label() {
7065
+ return (typeof this.item.label === 'function' ? this.item.label() : this.item.label);
6594
7066
  }
6595
7067
  },
6596
7068
  computed: {
@@ -6599,7 +7071,7 @@ this.primevue.menu = (function (utils, OverlayEventBus, Ripple, vue) {
6599
7071
  }
6600
7072
  },
6601
7073
  directives: {
6602
- 'ripple': Ripple__default['default']
7074
+ 'ripple': Ripple__default["default"]
6603
7075
  }
6604
7076
  };
6605
7077
 
@@ -6635,7 +7107,7 @@ this.primevue.menu = (function (utils, OverlayEventBus, Ripple, vue) {
6635
7107
  vue.createVNode("span", {
6636
7108
  class: ['p-menuitem-icon', $props.item.icon]
6637
7109
  }, null, 2),
6638
- vue.createVNode("span", _hoisted_1$1, vue.toDisplayString($props.item.label), 1)
7110
+ vue.createVNode("span", _hoisted_1$1, vue.toDisplayString($options.label()), 1)
6639
7111
  ], 10, ["href", "onClick"]), [
6640
7112
  [_directive_ripple]
6641
7113
  ])
@@ -6654,7 +7126,7 @@ this.primevue.menu = (function (utils, OverlayEventBus, Ripple, vue) {
6654
7126
  vue.createVNode("span", {
6655
7127
  class: ['p-menuitem-icon', $props.item.icon]
6656
7128
  }, null, 2),
6657
- vue.createVNode("span", _hoisted_2$1, vue.toDisplayString($props.item.label), 1)
7129
+ vue.createVNode("span", _hoisted_2$1, vue.toDisplayString($options.label()), 1)
6658
7130
  ], 10, ["href", "target", "tabindex"])), [
6659
7131
  [_directive_ripple]
6660
7132
  ])
@@ -6836,11 +7308,14 @@ this.primevue.menu = (function (utils, OverlayEventBus, Ripple, vue) {
6836
7308
  visible(item) {
6837
7309
  return (typeof item.visible === 'function' ? item.visible() : item.visible !== false);
6838
7310
  },
7311
+ label(item) {
7312
+ return (typeof item.label === 'function' ? item.label() : item.label);
7313
+ },
6839
7314
  containerRef(el) {
6840
7315
  this.container = el;
6841
7316
  },
6842
7317
  onOverlayClick(event) {
6843
- OverlayEventBus__default['default'].emit('overlay-click', {
7318
+ OverlayEventBus__default["default"].emit('overlay-click', {
6844
7319
  originalEvent: event,
6845
7320
  target: this.target
6846
7321
  });
@@ -6894,14 +7369,14 @@ this.primevue.menu = (function (utils, OverlayEventBus, Ripple, vue) {
6894
7369
  vue.createVNode("ul", _hoisted_1, [
6895
7370
  (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($props.model, (item, i) => {
6896
7371
  return (vue.openBlock(), vue.createBlock(vue.Fragment, {
6897
- key: item.label + i.toString()
7372
+ key: $options.label(item) + i.toString()
6898
7373
  }, [
6899
7374
  (item.items && $options.visible(item) && !item.separator)
6900
7375
  ? (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 0 }, [
6901
7376
  (item.items)
6902
7377
  ? (vue.openBlock(), vue.createBlock("li", _hoisted_2, [
6903
7378
  vue.renderSlot(_ctx.$slots, "item", { item: item }, () => [
6904
- vue.createTextVNode(vue.toDisplayString(item.label), 1)
7379
+ vue.createTextVNode(vue.toDisplayString($options.label(item)), 1)
6905
7380
  ])
6906
7381
  ]))
6907
7382
  : vue.createCommentVNode("", true),
@@ -6936,7 +7411,7 @@ this.primevue.menu = (function (utils, OverlayEventBus, Ripple, vue) {
6936
7411
  role: "separator"
6937
7412
  }, null, 6))
6938
7413
  : (vue.openBlock(), vue.createBlock(_component_Menuitem, {
6939
- key: item.label + i.toString(),
7414
+ key: $options.label(item) + i.toString(),
6940
7415
  item: item,
6941
7416
  onClick: $options.itemClick,
6942
7417
  template: _ctx.$slots.item,
@@ -6987,7 +7462,7 @@ this.primevue.menu = (function (utils, OverlayEventBus, Ripple, vue) {
6987
7462
 
6988
7463
  return script;
6989
7464
 
6990
- }(primevue.utils, primevue.overlayeventbus, primevue.ripple, Vue));
7465
+ })(primevue.utils, primevue.overlayeventbus, primevue.ripple, Vue);
6991
7466
 
6992
7467
  this.primevue = this.primevue || {};
6993
7468
  this.primevue.tieredmenu = (function (utils, OverlayEventBus, Ripple, vue) {
@@ -7199,6 +7674,9 @@ this.primevue.tieredmenu = (function (utils, OverlayEventBus, Ripple, vue) {
7199
7674
  },
7200
7675
  disabled(item) {
7201
7676
  return (typeof item.disabled === 'function' ? item.disabled() : item.disabled);
7677
+ },
7678
+ label(item) {
7679
+ return (typeof item.label === 'function' ? item.label() : item.label);
7202
7680
  }
7203
7681
  },
7204
7682
  computed: {
@@ -7207,7 +7685,7 @@ this.primevue.tieredmenu = (function (utils, OverlayEventBus, Ripple, vue) {
7207
7685
  }
7208
7686
  },
7209
7687
  directives: {
7210
- 'ripple': Ripple__default['default']
7688
+ 'ripple': Ripple__default["default"]
7211
7689
  }
7212
7690
  };
7213
7691
 
@@ -7231,7 +7709,7 @@ this.primevue.tieredmenu = (function (utils, OverlayEventBus, Ripple, vue) {
7231
7709
  }, [
7232
7710
  (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($props.model, (item, i) => {
7233
7711
  return (vue.openBlock(), vue.createBlock(vue.Fragment, {
7234
- key: item.label + i.toString()
7712
+ key: $options.label(item) + i.toString()
7235
7713
  }, [
7236
7714
  ($options.visible(item) && !item.separator)
7237
7715
  ? (vue.openBlock(), vue.createBlock("li", {
@@ -7260,7 +7738,7 @@ this.primevue.tieredmenu = (function (utils, OverlayEventBus, Ripple, vue) {
7260
7738
  vue.createVNode("span", {
7261
7739
  class: ['p-menuitem-icon', item.icon]
7262
7740
  }, null, 2),
7263
- vue.createVNode("span", _hoisted_1, vue.toDisplayString(item.label), 1)
7741
+ vue.createVNode("span", _hoisted_1, vue.toDisplayString($options.label(item)), 1)
7264
7742
  ], 42, ["href", "onClick", "onKeydown"]), [
7265
7743
  [_directive_ripple]
7266
7744
  ])
@@ -7282,7 +7760,7 @@ this.primevue.tieredmenu = (function (utils, OverlayEventBus, Ripple, vue) {
7282
7760
  vue.createVNode("span", {
7283
7761
  class: ['p-menuitem-icon', item.icon]
7284
7762
  }, null, 2),
7285
- vue.createVNode("span", _hoisted_2, vue.toDisplayString(item.label), 1),
7763
+ vue.createVNode("span", _hoisted_2, vue.toDisplayString($options.label(item)), 1),
7286
7764
  (item.items)
7287
7765
  ? (vue.openBlock(), vue.createBlock("span", _hoisted_3))
7288
7766
  : vue.createCommentVNode("", true)
@@ -7297,7 +7775,7 @@ this.primevue.tieredmenu = (function (utils, OverlayEventBus, Ripple, vue) {
7297
7775
  ($options.visible(item) && item.items)
7298
7776
  ? (vue.openBlock(), vue.createBlock(_component_TieredMenuSub, {
7299
7777
  model: item.items,
7300
- key: item.label + '_sub_',
7778
+ key: $options.label(item) + '_sub_',
7301
7779
  template: $props.template,
7302
7780
  onLeafClick: $options.onLeafClick,
7303
7781
  onKeydownItem: $options.onChildItemKeyDown,
@@ -7481,7 +7959,7 @@ this.primevue.tieredmenu = (function (utils, OverlayEventBus, Ripple, vue) {
7481
7959
  this.container = el;
7482
7960
  },
7483
7961
  onOverlayClick(event) {
7484
- OverlayEventBus__default['default'].emit('overlay-click', {
7962
+ OverlayEventBus__default["default"].emit('overlay-click', {
7485
7963
  originalEvent: event,
7486
7964
  target: this.target
7487
7965
  });
@@ -7573,5 +8051,5 @@ this.primevue.tieredmenu = (function (utils, OverlayEventBus, Ripple, vue) {
7573
8051
 
7574
8052
  return script;
7575
8053
 
7576
- }(primevue.utils, primevue.overlayeventbus, primevue.ripple, Vue));
8054
+ })(primevue.utils, primevue.overlayeventbus, primevue.ripple, Vue);
7577
8055