primevue 3.8.0 → 3.9.1

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 (465) hide show
  1. package/README.md +2 -2
  2. package/accordion/Accordion.vue +1 -1
  3. package/accordion/accordion.cjs.js +1 -1
  4. package/accordion/accordion.cjs.min.js +1 -1
  5. package/accordion/accordion.esm.js +1 -1
  6. package/accordion/accordion.esm.min.js +1 -1
  7. package/accordion/accordion.js +1 -1
  8. package/accordion/accordion.min.js +1 -1
  9. package/api/Api.d.ts +73 -32
  10. package/api/api.cjs.js +66 -32
  11. package/api/api.cjs.min.js +1 -1
  12. package/api/api.esm.js +66 -32
  13. package/api/api.esm.min.js +1 -1
  14. package/api/api.js +66 -32
  15. package/api/api.min.js +1 -1
  16. package/autocomplete/AutoComplete.d.ts +43 -9
  17. package/autocomplete/AutoComplete.vue +16 -9
  18. package/autocomplete/autocomplete.cjs.js +19 -11
  19. package/autocomplete/autocomplete.cjs.min.js +1 -1
  20. package/autocomplete/autocomplete.esm.js +19 -11
  21. package/autocomplete/autocomplete.esm.min.js +1 -1
  22. package/autocomplete/autocomplete.js +19 -11
  23. package/autocomplete/autocomplete.min.js +1 -1
  24. package/blockui/BlockUI.vue +1 -1
  25. package/blockui/blockui.cjs.js +5 -7
  26. package/blockui/blockui.cjs.min.js +1 -1
  27. package/blockui/blockui.esm.js +6 -8
  28. package/blockui/blockui.esm.min.js +1 -1
  29. package/blockui/blockui.js +5 -7
  30. package/blockui/blockui.min.js +1 -1
  31. package/breadcrumb/Breadcrumb.d.ts +7 -0
  32. package/breadcrumb/BreadcrumbItem.vue +5 -2
  33. package/breadcrumb/breadcrumb.cjs.js +5 -2
  34. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  35. package/breadcrumb/breadcrumb.esm.js +5 -2
  36. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  37. package/breadcrumb/breadcrumb.js +5 -2
  38. package/breadcrumb/breadcrumb.min.js +1 -1
  39. package/calendar/Calendar.d.ts +11 -1
  40. package/calendar/Calendar.vue +362 -67
  41. package/calendar/calendar.cjs.js +459 -168
  42. package/calendar/calendar.cjs.min.js +1 -1
  43. package/calendar/calendar.esm.js +461 -170
  44. package/calendar/calendar.esm.min.js +1 -1
  45. package/calendar/calendar.js +459 -168
  46. package/calendar/calendar.min.js +1 -1
  47. package/carousel/Carousel.d.ts +6 -1
  48. package/carousel/Carousel.vue +2 -2
  49. package/carousel/carousel.cjs.js +6 -6
  50. package/carousel/carousel.cjs.min.js +1 -1
  51. package/carousel/carousel.esm.js +6 -6
  52. package/carousel/carousel.esm.min.js +1 -1
  53. package/carousel/carousel.js +6 -6
  54. package/carousel/carousel.min.js +1 -1
  55. package/cascadeselect/CascadeSelect.d.ts +19 -6
  56. package/chart/Chart.vue +9 -2
  57. package/chart/chart.cjs.js +9 -2
  58. package/chart/chart.cjs.min.js +1 -1
  59. package/chart/chart.esm.js +9 -2
  60. package/chart/chart.esm.min.js +1 -1
  61. package/chart/chart.js +9 -2
  62. package/chart/chart.min.js +1 -1
  63. package/chips/Chips.d.ts +5 -1
  64. package/colorpicker/ColorPicker.d.ts +3 -0
  65. package/colorpicker/ColorPicker.vue +6 -1
  66. package/colorpicker/colorpicker.cjs.js +6 -1
  67. package/colorpicker/colorpicker.cjs.min.js +1 -1
  68. package/colorpicker/colorpicker.esm.js +6 -1
  69. package/colorpicker/colorpicker.esm.min.js +1 -1
  70. package/colorpicker/colorpicker.js +6 -1
  71. package/colorpicker/colorpicker.min.js +1 -1
  72. package/column/Column.d.ts +42 -11
  73. package/confirmdialog/ConfirmDialog.vue +8 -2
  74. package/confirmdialog/confirmdialog.cjs.js +11 -4
  75. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  76. package/confirmdialog/confirmdialog.esm.js +11 -4
  77. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  78. package/confirmdialog/confirmdialog.js +11 -4
  79. package/confirmdialog/confirmdialog.min.js +1 -1
  80. package/confirmpopup/ConfirmPopup.d.ts +7 -0
  81. package/confirmpopup/ConfirmPopup.vue +7 -4
  82. package/confirmpopup/confirmpopup.cjs.js +13 -5
  83. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  84. package/confirmpopup/confirmpopup.esm.js +14 -6
  85. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  86. package/confirmpopup/confirmpopup.js +13 -5
  87. package/confirmpopup/confirmpopup.min.js +1 -1
  88. package/contextmenu/ContextMenu.d.ts +5 -1
  89. package/contextmenu/ContextMenuSub.vue +8 -5
  90. package/contextmenu/contextmenu.cjs.js +8 -5
  91. package/contextmenu/contextmenu.cjs.min.js +1 -1
  92. package/contextmenu/contextmenu.esm.js +8 -5
  93. package/contextmenu/contextmenu.esm.min.js +1 -1
  94. package/contextmenu/contextmenu.js +8 -5
  95. package/contextmenu/contextmenu.min.js +1 -1
  96. package/core/core.js +138 -68
  97. package/core/core.min.js +13 -12
  98. package/datatable/BodyCell.vue +1 -0
  99. package/datatable/ColumnFilter.vue +17 -6
  100. package/datatable/DataTable.d.ts +37 -9
  101. package/datatable/DataTable.vue +44 -23
  102. package/datatable/TableBody.vue +6 -2
  103. package/datatable/TableFooter.vue +17 -2
  104. package/datatable/TableHeader.vue +17 -2
  105. package/datatable/datatable.cjs.js +203 -126
  106. package/datatable/datatable.cjs.min.js +1 -1
  107. package/datatable/datatable.esm.js +203 -126
  108. package/datatable/datatable.esm.min.js +1 -1
  109. package/datatable/datatable.js +203 -126
  110. package/datatable/datatable.min.js +1 -1
  111. package/dataview/DataView.d.ts +9 -4
  112. package/dataview/DataView.vue +8 -8
  113. package/dataview/dataview.cjs.js +12 -12
  114. package/dataview/dataview.cjs.min.js +1 -1
  115. package/dataview/dataview.esm.js +12 -12
  116. package/dataview/dataview.esm.min.js +1 -1
  117. package/dataview/dataview.js +12 -12
  118. package/dataview/dataview.min.js +1 -1
  119. package/dialog/Dialog.vue +6 -1
  120. package/dialog/dialog.cjs.js +4 -2
  121. package/dialog/dialog.cjs.min.js +1 -1
  122. package/dialog/dialog.esm.js +4 -2
  123. package/dialog/dialog.esm.min.js +1 -1
  124. package/dialog/dialog.js +4 -2
  125. package/dialog/dialog.min.js +1 -1
  126. package/dock/Dock.d.ts +10 -1
  127. package/dock/Dock.vue +1 -1
  128. package/dock/DockSub.vue +13 -8
  129. package/dock/dock.cjs.js +24 -10
  130. package/dock/dock.cjs.min.js +1 -1
  131. package/dock/dock.esm.js +20 -10
  132. package/dock/dock.esm.min.js +1 -1
  133. package/dock/dock.js +25 -12
  134. package/dock/dock.min.js +1 -1
  135. package/dropdown/Dropdown.d.ts +56 -13
  136. package/dropdown/Dropdown.vue +1 -0
  137. package/dropdown/dropdown.cjs.js +1 -0
  138. package/dropdown/dropdown.cjs.min.js +1 -1
  139. package/dropdown/dropdown.esm.js +1 -0
  140. package/dropdown/dropdown.esm.min.js +1 -1
  141. package/dropdown/dropdown.js +1 -0
  142. package/dropdown/dropdown.min.js +1 -1
  143. package/fileupload/FileUpload.d.ts +5 -0
  144. package/galleria/Galleria.d.ts +20 -4
  145. package/inplace/Inplace.d.ts +1 -0
  146. package/inplace/Inplace.vue +12 -1
  147. package/inplace/inplace.cjs.js +13 -2
  148. package/inplace/inplace.cjs.min.js +1 -1
  149. package/inplace/inplace.esm.js +13 -2
  150. package/inplace/inplace.esm.min.js +1 -1
  151. package/inplace/inplace.js +13 -2
  152. package/inplace/inplace.min.js +1 -1
  153. package/inputnumber/InputNumber.d.ts +1 -1
  154. package/inputnumber/InputNumber.vue +19 -3
  155. package/inputnumber/inputnumber.cjs.js +19 -3
  156. package/inputnumber/inputnumber.cjs.min.js +1 -1
  157. package/inputnumber/inputnumber.esm.js +19 -3
  158. package/inputnumber/inputnumber.esm.min.js +1 -1
  159. package/inputnumber/inputnumber.js +19 -3
  160. package/inputnumber/inputnumber.min.js +1 -1
  161. package/inputtext/InputText.d.ts +1 -1
  162. package/inputtext/InputText.vue +1 -1
  163. package/inputtext/inputtext.cjs.js +2 -2
  164. package/inputtext/inputtext.cjs.min.js +1 -1
  165. package/inputtext/inputtext.esm.js +3 -3
  166. package/inputtext/inputtext.esm.min.js +1 -1
  167. package/inputtext/inputtext.js +2 -2
  168. package/inputtext/inputtext.min.js +1 -1
  169. package/listbox/Listbox.d.ts +48 -12
  170. package/megamenu/MegaMenu.d.ts +5 -1
  171. package/megamenu/MegaMenu.vue +11 -8
  172. package/megamenu/megamenu.cjs.js +11 -8
  173. package/megamenu/megamenu.cjs.min.js +1 -1
  174. package/megamenu/megamenu.esm.js +11 -8
  175. package/megamenu/megamenu.esm.min.js +1 -1
  176. package/megamenu/megamenu.js +11 -8
  177. package/megamenu/megamenu.min.js +1 -1
  178. package/menu/Menu.d.ts +5 -1
  179. package/menu/Menu.vue +6 -3
  180. package/menu/Menuitem.vue +5 -2
  181. package/menu/menu.cjs.js +11 -5
  182. package/menu/menu.cjs.min.js +1 -1
  183. package/menu/menu.esm.js +11 -5
  184. package/menu/menu.esm.min.js +1 -1
  185. package/menu/menu.js +11 -5
  186. package/menu/menu.min.js +1 -1
  187. package/menubar/Menubar.d.ts +5 -1
  188. package/menubar/Menubar.vue +1 -0
  189. package/menubar/MenubarSub.vue +8 -5
  190. package/menubar/menubar.cjs.js +9 -6
  191. package/menubar/menubar.cjs.min.js +1 -1
  192. package/menubar/menubar.esm.js +9 -6
  193. package/menubar/menubar.esm.min.js +1 -1
  194. package/menubar/menubar.js +9 -6
  195. package/menubar/menubar.min.js +1 -1
  196. package/message/Message.d.ts +1 -0
  197. package/message/Message.vue +6 -2
  198. package/message/message.cjs.js +6 -2
  199. package/message/message.cjs.min.js +1 -1
  200. package/message/message.esm.js +6 -2
  201. package/message/message.esm.min.js +1 -1
  202. package/message/message.js +6 -2
  203. package/message/message.min.js +1 -1
  204. package/multiselect/MultiSelect.d.ts +61 -14
  205. package/orderlist/OrderList.d.ts +8 -1
  206. package/orderlist/OrderList.vue +2 -0
  207. package/orderlist/orderlist.cjs.js +3 -1
  208. package/orderlist/orderlist.cjs.min.js +1 -1
  209. package/orderlist/orderlist.esm.js +3 -1
  210. package/orderlist/orderlist.esm.min.js +1 -1
  211. package/orderlist/orderlist.js +3 -1
  212. package/orderlist/orderlist.min.js +1 -1
  213. package/organizationchart/OrganizationChart.vue +1 -0
  214. package/organizationchart/organizationchart.cjs.js +1 -1
  215. package/organizationchart/organizationchart.cjs.min.js +1 -1
  216. package/organizationchart/organizationchart.esm.js +1 -1
  217. package/organizationchart/organizationchart.esm.min.js +1 -1
  218. package/organizationchart/organizationchart.js +1 -1
  219. package/organizationchart/organizationchart.min.js +1 -1
  220. package/package.json +5 -1
  221. package/paginator/Paginator.d.ts +10 -4
  222. package/paginator/Paginator.vue +4 -4
  223. package/paginator/paginator.cjs.js +4 -4
  224. package/paginator/paginator.cjs.min.js +1 -1
  225. package/paginator/paginator.esm.js +4 -4
  226. package/paginator/paginator.esm.min.js +1 -1
  227. package/paginator/paginator.js +4 -4
  228. package/paginator/paginator.min.js +1 -1
  229. package/panel/Panel.d.ts +1 -0
  230. package/panel/Panel.vue +1 -1
  231. package/panelmenu/PanelMenu.d.ts +5 -3
  232. package/panelmenu/PanelMenu.vue +6 -3
  233. package/panelmenu/PanelMenuSub.vue +8 -5
  234. package/panelmenu/panelmenu.cjs.js +14 -8
  235. package/panelmenu/panelmenu.cjs.min.js +1 -1
  236. package/panelmenu/panelmenu.esm.js +14 -8
  237. package/panelmenu/panelmenu.esm.min.js +1 -1
  238. package/panelmenu/panelmenu.js +14 -8
  239. package/panelmenu/panelmenu.min.js +1 -1
  240. package/picklist/PickList.d.ts +14 -3
  241. package/picklist/PickList.vue +10 -4
  242. package/picklist/picklist.cjs.js +13 -7
  243. package/picklist/picklist.cjs.min.js +1 -1
  244. package/picklist/picklist.esm.js +13 -7
  245. package/picklist/picklist.esm.min.js +1 -1
  246. package/picklist/picklist.js +13 -7
  247. package/picklist/picklist.min.js +1 -1
  248. package/progressbar/ProgressBar.vue +13 -12
  249. package/progressbar/progressbar.cjs.js +13 -12
  250. package/progressbar/progressbar.cjs.min.js +1 -1
  251. package/progressbar/progressbar.esm.js +14 -13
  252. package/progressbar/progressbar.esm.min.js +1 -1
  253. package/progressbar/progressbar.js +13 -12
  254. package/progressbar/progressbar.min.js +1 -1
  255. package/rating/Rating.vue +1 -1
  256. package/rating/rating.cjs.js +1 -1
  257. package/rating/rating.cjs.min.js +1 -1
  258. package/rating/rating.esm.js +1 -1
  259. package/rating/rating.esm.min.js +1 -1
  260. package/rating/rating.js +1 -1
  261. package/rating/rating.min.js +1 -1
  262. package/resources/primevue.css +5 -0
  263. package/resources/primevue.min.css +1 -1
  264. package/resources/themes/arya-blue/theme.css +56 -15
  265. package/resources/themes/arya-green/theme.css +56 -15
  266. package/resources/themes/arya-orange/theme.css +56 -15
  267. package/resources/themes/arya-purple/theme.css +56 -15
  268. package/resources/themes/bootstrap4-dark-blue/theme.css +53 -19
  269. package/resources/themes/bootstrap4-dark-purple/theme.css +53 -19
  270. package/resources/themes/bootstrap4-light-blue/theme.css +53 -19
  271. package/resources/themes/bootstrap4-light-purple/theme.css +53 -19
  272. package/resources/themes/fluent-light/theme.css +56 -15
  273. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  274. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  275. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  276. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  277. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  278. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  279. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  280. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  281. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  282. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  283. package/resources/themes/lara-dark-blue/theme.css +5414 -0
  284. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  285. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  286. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  287. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  288. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  289. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  290. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  291. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  292. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  293. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  294. package/resources/themes/lara-dark-indigo/theme.css +5414 -0
  295. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  296. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  297. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  298. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  299. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  300. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  301. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  302. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  303. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  304. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  305. package/resources/themes/lara-dark-purple/theme.css +5414 -0
  306. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  307. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  308. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  309. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  310. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  311. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  312. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  313. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  314. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  315. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  316. package/resources/themes/lara-dark-teal/theme.css +5414 -0
  317. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  318. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  319. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  320. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  321. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  322. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  323. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  324. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  325. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  326. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  327. package/resources/themes/lara-light-blue/theme.css +5414 -0
  328. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  329. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  330. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  331. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  332. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  333. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  334. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  335. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  336. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  337. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  338. package/resources/themes/lara-light-indigo/theme.css +5414 -0
  339. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  340. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  341. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  342. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  343. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  344. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  345. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  346. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  347. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  348. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  349. package/resources/themes/lara-light-purple/theme.css +5414 -0
  350. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  351. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  352. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  353. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  354. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  355. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  356. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  357. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  358. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  359. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
  360. package/resources/themes/lara-light-teal/theme.css +5414 -0
  361. package/resources/themes/luna-amber/theme.css +53 -19
  362. package/resources/themes/luna-blue/theme.css +53 -19
  363. package/resources/themes/luna-green/theme.css +53 -19
  364. package/resources/themes/luna-pink/theme.css +53 -19
  365. package/resources/themes/md-dark-deeppurple/theme.css +244 -47
  366. package/resources/themes/md-dark-indigo/theme.css +244 -47
  367. package/resources/themes/md-light-deeppurple/theme.css +244 -47
  368. package/resources/themes/md-light-indigo/theme.css +244 -47
  369. package/resources/themes/mdc-dark-deeppurple/theme.css +244 -47
  370. package/resources/themes/mdc-dark-indigo/theme.css +244 -47
  371. package/resources/themes/mdc-light-deeppurple/theme.css +244 -47
  372. package/resources/themes/mdc-light-indigo/theme.css +244 -47
  373. package/resources/themes/nova/theme.css +53 -19
  374. package/resources/themes/nova-accent/theme.css +53 -19
  375. package/resources/themes/nova-alt/theme.css +53 -19
  376. package/resources/themes/nova-vue/theme.css +53 -19
  377. package/resources/themes/rhea/theme.css +53 -19
  378. package/resources/themes/saga-blue/theme.css +56 -15
  379. package/resources/themes/saga-green/theme.css +56 -15
  380. package/resources/themes/saga-orange/theme.css +56 -15
  381. package/resources/themes/saga-purple/theme.css +56 -15
  382. package/resources/themes/tailwind-light/theme.css +67 -18
  383. package/resources/themes/vela-blue/theme.css +56 -15
  384. package/resources/themes/vela-green/theme.css +56 -15
  385. package/resources/themes/vela-orange/theme.css +56 -15
  386. package/resources/themes/vela-purple/theme.css +56 -15
  387. package/selectbutton/SelectButton.d.ts +13 -5
  388. package/selectbutton/SelectButton.vue +8 -2
  389. package/selectbutton/selectbutton.cjs.js +14 -9
  390. package/selectbutton/selectbutton.cjs.min.js +1 -1
  391. package/selectbutton/selectbutton.esm.js +14 -9
  392. package/selectbutton/selectbutton.esm.min.js +1 -1
  393. package/selectbutton/selectbutton.js +14 -9
  394. package/selectbutton/selectbutton.min.js +1 -1
  395. package/speeddial/SpeedDial.d.ts +5 -1
  396. package/steps/Steps.d.ts +5 -3
  397. package/steps/Steps.vue +5 -2
  398. package/steps/steps.cjs.js +5 -2
  399. package/steps/steps.cjs.min.js +1 -1
  400. package/steps/steps.esm.js +5 -2
  401. package/steps/steps.esm.min.js +1 -1
  402. package/steps/steps.js +5 -2
  403. package/steps/steps.min.js +1 -1
  404. package/tabmenu/TabMenu.d.ts +5 -3
  405. package/tabmenu/TabMenu.vue +6 -3
  406. package/tabmenu/tabmenu.cjs.js +6 -3
  407. package/tabmenu/tabmenu.cjs.min.js +1 -1
  408. package/tabmenu/tabmenu.esm.js +6 -3
  409. package/tabmenu/tabmenu.esm.min.js +1 -1
  410. package/tabmenu/tabmenu.js +6 -3
  411. package/tabmenu/tabmenu.min.js +1 -1
  412. package/terminalservice/TerminalService.d.ts +9 -6
  413. package/tieredmenu/TieredMenu.d.ts +5 -3
  414. package/tieredmenu/TieredMenuSub.vue +7 -4
  415. package/tieredmenu/tieredmenu.cjs.js +7 -4
  416. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  417. package/tieredmenu/tieredmenu.esm.js +7 -4
  418. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  419. package/tieredmenu/tieredmenu.js +7 -4
  420. package/tieredmenu/tieredmenu.min.js +1 -1
  421. package/timeline/Timeline.d.ts +8 -3
  422. package/toast/Toast.d.ts +7 -0
  423. package/toolbar/Toolbar.vue +2 -2
  424. package/toolbar/toolbar.cjs.js +2 -2
  425. package/toolbar/toolbar.cjs.min.js +1 -1
  426. package/toolbar/toolbar.esm.js +2 -2
  427. package/toolbar/toolbar.esm.min.js +1 -1
  428. package/toolbar/toolbar.js +2 -2
  429. package/toolbar/toolbar.min.js +1 -1
  430. package/tree/Tree.d.ts +5 -1
  431. package/tree/TreeNode.vue +4 -1
  432. package/tree/tree.cjs.js +4 -1
  433. package/tree/tree.cjs.min.js +1 -1
  434. package/tree/tree.esm.js +4 -1
  435. package/tree/tree.esm.min.js +1 -1
  436. package/tree/tree.js +4 -1
  437. package/tree/tree.min.js +1 -1
  438. package/treeselect/TreeSelect.d.ts +20 -3
  439. package/treeselect/TreeSelect.vue +9 -0
  440. package/treeselect/treeselect.cjs.js +9 -0
  441. package/treeselect/treeselect.cjs.min.js +1 -1
  442. package/treeselect/treeselect.esm.js +9 -0
  443. package/treeselect/treeselect.esm.min.js +1 -1
  444. package/treeselect/treeselect.js +9 -0
  445. package/treeselect/treeselect.min.js +1 -1
  446. package/treetable/TreeTable.d.ts +2 -2
  447. package/treetable/TreeTable.vue +10 -10
  448. package/treetable/TreeTableRow.vue +2 -2
  449. package/treetable/treetable.cjs.js +15 -15
  450. package/treetable/treetable.cjs.min.js +1 -1
  451. package/treetable/treetable.esm.js +15 -15
  452. package/treetable/treetable.esm.min.js +1 -1
  453. package/treetable/treetable.js +15 -15
  454. package/treetable/treetable.min.js +1 -1
  455. package/vetur-attributes.json +20 -0
  456. package/vetur-tags.json +8 -3
  457. package/virtualscroller/VirtualScroller.d.ts +52 -6
  458. package/virtualscroller/VirtualScroller.vue +1 -1
  459. package/virtualscroller/virtualscroller.cjs.js +1 -1
  460. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  461. package/virtualscroller/virtualscroller.esm.js +1 -1
  462. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  463. package/virtualscroller/virtualscroller.js +1 -1
  464. package/virtualscroller/virtualscroller.min.js +1 -1
  465. package/web-types.json +178 -9
@@ -348,7 +348,15 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
348
348
  hide() {
349
349
  this.overlayVisible = false;
350
350
  },
351
- onContentClick() {
351
+ onContentClick(event) {
352
+ this.selfClick = true;
353
+
354
+ OverlayEventBus__default['default'].emit('overlay-click', {
355
+ originalEvent: event,
356
+ target: this.overlay
357
+ });
358
+ },
359
+ onContentMouseDown() {
352
360
  this.selfClick = true;
353
361
  },
354
362
  onOverlayEnter(el) {
@@ -362,7 +370,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
362
370
  this.bindResizeListener();
363
371
 
364
372
  this.overlayEventListener = (e) => {
365
- if (this.overlay.contains(e.target)) {
373
+ if (!this.isOutsideClicked(e.target)) {
366
374
  this.selfClick = true;
367
375
  }
368
376
  };
@@ -385,13 +393,16 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
385
393
  overlayRef(el) {
386
394
  this.overlay = el;
387
395
  },
388
- isTargetClicked(event) {
389
- return this.$refs.icon && (this.$refs.icon === event.target || this.$refs.icon.contains(event.target));
396
+ isOutsideClicked(target) {
397
+ return !this.isTargetClicked(target) && this.overlay && !(this.overlay.isSameNode(target) || this.overlay.contains(target));
398
+ },
399
+ isTargetClicked(target) {
400
+ return this.$refs.icon && (this.$refs.icon.isSameNode(target) || this.$refs.icon.contains(target));
390
401
  },
391
402
  bindOutsideClickListener() {
392
403
  if (!this.outsideClickListener) {
393
404
  this.outsideClickListener = (event) => {
394
- if (this.overlayVisible && !this.selfClick && !this.isTargetClicked(event)) {
405
+ if (this.overlayVisible && !this.selfClick && this.isOutsideClicked(event.target)) {
395
406
  this.overlayVisible = false;
396
407
  }
397
408
  this.selfClick = false;
@@ -524,7 +535,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
524
535
  key: 0,
525
536
  class: "p-column-filter-operator"
526
537
  };
527
- const _hoisted_7$1 = { class: "p-column-filter-constraints" };
538
+ const _hoisted_7 = { class: "p-column-filter-constraints" };
528
539
  const _hoisted_8 = {
529
540
  key: 1,
530
541
  class: "p-column-filter-add-rule"
@@ -583,7 +594,8 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
583
594
  ref: $options.overlayRef,
584
595
  class: $options.overlayClass,
585
596
  onKeydown: _cache[12] || (_cache[12] = vue.withKeys((...args) => ($options.onEscape && $options.onEscape(...args)), ["escape"])),
586
- onClick: _cache[13] || (_cache[13] = (...args) => ($options.onContentClick && $options.onContentClick(...args)))
597
+ onClick: _cache[13] || (_cache[13] = (...args) => ($options.onContentClick && $options.onContentClick(...args))),
598
+ onMousedown: _cache[14] || (_cache[14] = (...args) => ($options.onContentMouseDown && $options.onContentMouseDown(...args)))
587
599
  }, [
588
600
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.filterHeaderTemplate), {
589
601
  field: $props.field,
@@ -627,7 +639,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
627
639
  }, null, 8, ["options", "modelValue"])
628
640
  ]))
629
641
  : vue.createCommentVNode("", true),
630
- vue.createVNode("div", _hoisted_7$1, [
642
+ vue.createVNode("div", _hoisted_7, [
631
643
  (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($options.fieldConstraints, (fieldConstraint, i) => {
632
644
  return (vue.openBlock(), vue.createBlock("div", {
633
645
  key: i,
@@ -1115,7 +1127,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
1115
1127
  },
1116
1128
  methods: {
1117
1129
  columnProp(col, prop) {
1118
- return col.props ? ((col.type.props[prop].type === Boolean && col.props[prop] === '') ? true : col.props[prop]) : null;
1130
+ return utils.ObjectUtils.getVNodeProp(col, prop);
1119
1131
  },
1120
1132
  getFilterColumnHeaderClass(column) {
1121
1133
  return ['p-filter-column', this.columnProp(column, 'filterHeaderClass'), this.columnProp(column, 'class'), {
@@ -1124,6 +1136,20 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
1124
1136
  },
1125
1137
  getFilterColumnHeaderStyle(column) {
1126
1138
  return [this.columnProp(column, 'filterHeaderStyle'), this.columnProp(column, 'style')];
1139
+ },
1140
+ getHeaderColumns(row){
1141
+ let cols = [];
1142
+
1143
+ if (row.children && row.children.default) {
1144
+ row.children.default().forEach(child => {
1145
+ if (child.children && child.children instanceof Array)
1146
+ cols = [...cols, ...child.children];
1147
+ else if (child.type.name === 'Column')
1148
+ cols.push(child);
1149
+ });
1150
+
1151
+ return cols;
1152
+ }
1127
1153
  }
1128
1154
  },
1129
1155
  components: {
@@ -1256,7 +1282,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
1256
1282
  key: i,
1257
1283
  role: "row"
1258
1284
  }, [
1259
- (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(row.children.default(), (col, j) => {
1285
+ (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($options.getHeaderColumns(row), (col, j) => {
1260
1286
  return (vue.openBlock(), vue.createBlock(vue.Fragment, {
1261
1287
  key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||j
1262
1288
  }, [
@@ -1784,82 +1810,91 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
1784
1810
  index: $props.rowIndex,
1785
1811
  frozenRow: $props.frozenRow
1786
1812
  }, null, 8, ["data", "column", "field", "index", "frozenRow"]))
1787
- : ($options.columnProp('selectionMode'))
1788
- ? (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 3 }, [
1789
- ($options.columnProp('selectionMode') === 'single')
1790
- ? (vue.openBlock(), vue.createBlock(_component_DTRadioButton, {
1791
- key: 0,
1792
- value: $props.rowData,
1793
- checked: $props.selected,
1794
- onChange: $options.toggleRowWithRadio
1795
- }, null, 8, ["value", "checked", "onChange"]))
1796
- : ($options.columnProp('selectionMode') ==='multiple')
1797
- ? (vue.openBlock(), vue.createBlock(_component_DTCheckbox, {
1798
- key: 1,
1813
+ : ($props.column.children && $props.column.children.body && !$props.column.children.editor && $data.d_editing)
1814
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children.body), {
1815
+ key: 3,
1816
+ data: $options.editingRowData,
1817
+ column: $props.column,
1818
+ field: $options.field,
1819
+ index: $props.rowIndex,
1820
+ frozenRow: $props.frozenRow
1821
+ }, null, 8, ["data", "column", "field", "index", "frozenRow"]))
1822
+ : ($options.columnProp('selectionMode'))
1823
+ ? (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 4 }, [
1824
+ ($options.columnProp('selectionMode') === 'single')
1825
+ ? (vue.openBlock(), vue.createBlock(_component_DTRadioButton, {
1826
+ key: 0,
1799
1827
  value: $props.rowData,
1800
1828
  checked: $props.selected,
1801
- onChange: $options.toggleRowWithCheckbox
1829
+ onChange: $options.toggleRowWithRadio
1802
1830
  }, null, 8, ["value", "checked", "onChange"]))
1803
- : vue.createCommentVNode("", true)
1804
- ], 64))
1805
- : ($options.columnProp('rowReorder'))
1806
- ? (vue.openBlock(), vue.createBlock("i", {
1807
- key: 4,
1808
- class: ['p-datatable-reorderablerow-handle', ($options.columnProp('rowReorderIcon') || 'pi pi-bars')]
1809
- }, null, 2))
1810
- : ($options.columnProp('expander'))
1811
- ? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
1831
+ : ($options.columnProp('selectionMode') ==='multiple')
1832
+ ? (vue.openBlock(), vue.createBlock(_component_DTCheckbox, {
1833
+ key: 1,
1834
+ value: $props.rowData,
1835
+ checked: $props.selected,
1836
+ onChange: $options.toggleRowWithCheckbox
1837
+ }, null, 8, ["value", "checked", "onChange"]))
1838
+ : vue.createCommentVNode("", true)
1839
+ ], 64))
1840
+ : ($options.columnProp('rowReorder'))
1841
+ ? (vue.openBlock(), vue.createBlock("i", {
1812
1842
  key: 5,
1813
- class: "p-row-toggler p-link",
1814
- onClick: _cache[1] || (_cache[1] = (...args) => ($options.toggleRow && $options.toggleRow(...args))),
1815
- type: "button"
1816
- }, [
1817
- vue.createVNode("span", { class: $props.rowTogglerIcon }, null, 2)
1818
- ], 512)), [
1819
- [_directive_ripple]
1820
- ])
1821
- : ($props.editMode === 'row' && $options.columnProp('rowEditor'))
1822
- ? (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 6 }, [
1823
- (!$data.d_editing)
1824
- ? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
1825
- key: 0,
1826
- class: "p-row-editor-init p-link",
1827
- onClick: _cache[2] || (_cache[2] = (...args) => ($options.onRowEditInit && $options.onRowEditInit(...args))),
1828
- type: "button"
1829
- }, [
1830
- _hoisted_2$3
1831
- ], 512)), [
1832
- [_directive_ripple]
1833
- ])
1834
- : vue.createCommentVNode("", true),
1835
- ($data.d_editing)
1836
- ? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
1837
- key: 1,
1838
- class: "p-row-editor-save p-link",
1839
- onClick: _cache[3] || (_cache[3] = (...args) => ($options.onRowEditSave && $options.onRowEditSave(...args))),
1840
- type: "button"
1841
- }, [
1842
- _hoisted_3$1
1843
- ], 512)), [
1844
- [_directive_ripple]
1845
- ])
1846
- : vue.createCommentVNode("", true),
1847
- ($data.d_editing)
1848
- ? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
1849
- key: 2,
1850
- class: "p-row-editor-cancel p-link",
1851
- onClick: _cache[4] || (_cache[4] = (...args) => ($options.onRowEditCancel && $options.onRowEditCancel(...args))),
1852
- type: "button"
1853
- }, [
1854
- _hoisted_4$1
1855
- ], 512)), [
1856
- [_directive_ripple]
1857
- ])
1858
- : vue.createCommentVNode("", true)
1859
- ], 64))
1860
- : (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 7 }, [
1861
- vue.createTextVNode(vue.toDisplayString($options.resolveFieldData()), 1)
1862
- ], 64))
1843
+ class: ['p-datatable-reorderablerow-handle', ($options.columnProp('rowReorderIcon') || 'pi pi-bars')]
1844
+ }, null, 2))
1845
+ : ($options.columnProp('expander'))
1846
+ ? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
1847
+ key: 6,
1848
+ class: "p-row-toggler p-link",
1849
+ onClick: _cache[1] || (_cache[1] = (...args) => ($options.toggleRow && $options.toggleRow(...args))),
1850
+ type: "button"
1851
+ }, [
1852
+ vue.createVNode("span", { class: $props.rowTogglerIcon }, null, 2)
1853
+ ], 512)), [
1854
+ [_directive_ripple]
1855
+ ])
1856
+ : ($props.editMode === 'row' && $options.columnProp('rowEditor'))
1857
+ ? (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 7 }, [
1858
+ (!$data.d_editing)
1859
+ ? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
1860
+ key: 0,
1861
+ class: "p-row-editor-init p-link",
1862
+ onClick: _cache[2] || (_cache[2] = (...args) => ($options.onRowEditInit && $options.onRowEditInit(...args))),
1863
+ type: "button"
1864
+ }, [
1865
+ _hoisted_2$3
1866
+ ], 512)), [
1867
+ [_directive_ripple]
1868
+ ])
1869
+ : vue.createCommentVNode("", true),
1870
+ ($data.d_editing)
1871
+ ? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
1872
+ key: 1,
1873
+ class: "p-row-editor-save p-link",
1874
+ onClick: _cache[3] || (_cache[3] = (...args) => ($options.onRowEditSave && $options.onRowEditSave(...args))),
1875
+ type: "button"
1876
+ }, [
1877
+ _hoisted_3$1
1878
+ ], 512)), [
1879
+ [_directive_ripple]
1880
+ ])
1881
+ : vue.createCommentVNode("", true),
1882
+ ($data.d_editing)
1883
+ ? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
1884
+ key: 2,
1885
+ class: "p-row-editor-cancel p-link",
1886
+ onClick: _cache[4] || (_cache[4] = (...args) => ($options.onRowEditCancel && $options.onRowEditCancel(...args))),
1887
+ type: "button"
1888
+ }, [
1889
+ _hoisted_4$1
1890
+ ], 512)), [
1891
+ [_directive_ripple]
1892
+ ])
1893
+ : vue.createCommentVNode("", true)
1894
+ ], 64))
1895
+ : (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 8 }, [
1896
+ vue.createTextVNode(vue.toDisplayString($options.resolveFieldData()), 1)
1897
+ ], 64))
1863
1898
  ], 38))
1864
1899
  }
1865
1900
 
@@ -1948,6 +1983,10 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
1948
1983
  type: null,
1949
1984
  default: null
1950
1985
  },
1986
+ rowStyle: {
1987
+ type: null,
1988
+ default: null
1989
+ },
1951
1990
  editMode: {
1952
1991
  type: String,
1953
1992
  default: null
@@ -2010,7 +2049,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
2010
2049
  },
2011
2050
  methods: {
2012
2051
  columnProp(col, prop) {
2013
- return col.props ? ((col.type.props[prop].type === Boolean && col.props[prop] === '') ? true : col.props[prop]) : null;
2052
+ return utils.ObjectUtils.getVNodeProp(col, prop);
2014
2053
  },
2015
2054
  shouldRenderRowGroupHeader(value, rowData, i) {
2016
2055
  let currentRowFieldData = utils.ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
@@ -2348,6 +2387,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
2348
2387
  ($props.expandableRowGroups ? $options.isRowGroupExpanded(rowData): true)
2349
2388
  ? (vue.openBlock(), vue.createBlock("tr", {
2350
2389
  class: $options.getRowClass(rowData),
2390
+ style: $props.rowStyle,
2351
2391
  key: $options.getRowKey(rowData, index),
2352
2392
  onClick: $event => ($options.onRowClick($event, rowData, index)),
2353
2393
  onDblclick: $event => ($options.onRowDblClick($event, rowData, index)),
@@ -2396,7 +2436,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
2396
2436
  : vue.createCommentVNode("", true)
2397
2437
  ], 64))
2398
2438
  }), 128))
2399
- ], 42, ["onClick", "onDblclick", "onContextmenu", "onKeydown", "tabindex", "onDragstart", "onDragover"]))
2439
+ ], 46, ["onClick", "onDblclick", "onContextmenu", "onKeydown", "tabindex", "onDragstart", "onDragover"]))
2400
2440
  : vue.createCommentVNode("", true),
2401
2441
  ($props.templates['expansion'] && $props.expandedRows && $options.isRowExpanded(rowData))
2402
2442
  ? (vue.openBlock(), vue.createBlock("tr", {
@@ -2539,7 +2579,21 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
2539
2579
  },
2540
2580
  methods: {
2541
2581
  columnProp(col, prop) {
2542
- return col.props ? ((col.type.props[prop].type === Boolean && col.props[prop] === '') ? true : col.props[prop]) : null;
2582
+ return utils.ObjectUtils.getVNodeProp(col, prop);
2583
+ },
2584
+ getFooterColumns(row){
2585
+ let cols = [];
2586
+
2587
+ if (row.children && row.children.default) {
2588
+ row.children.default().forEach(child => {
2589
+ if (child.children && child.children instanceof Array)
2590
+ cols = [...cols, ...child.children];
2591
+ else if (child.type.name === 'Column')
2592
+ cols.push(child);
2593
+ });
2594
+
2595
+ return cols;
2596
+ }
2543
2597
  }
2544
2598
  },
2545
2599
  computed: {
@@ -2601,7 +2655,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
2601
2655
  key: i,
2602
2656
  role: "row"
2603
2657
  }, [
2604
- (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(row.children.default(), (col, j) => {
2658
+ (vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($options.getFooterColumns(row), (col, j) => {
2605
2659
  return (vue.openBlock(), vue.createBlock(vue.Fragment, {
2606
2660
  key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||j
2607
2661
  }, [
@@ -2833,6 +2887,10 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
2833
2887
  type: null,
2834
2888
  default: null
2835
2889
  },
2890
+ rowStyle: {
2891
+ type: null,
2892
+ default: null
2893
+ },
2836
2894
  scrollable: {
2837
2895
  type: Boolean,
2838
2896
  default: false
@@ -2864,6 +2922,14 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
2864
2922
  stripedRows: {
2865
2923
  type: Boolean,
2866
2924
  default: false
2925
+ },
2926
+ tableStyle: {
2927
+ type: null,
2928
+ default: null
2929
+ },
2930
+ tableClass: {
2931
+ type: String,
2932
+ default: null
2867
2933
  }
2868
2934
  },
2869
2935
  data() {
@@ -2976,7 +3042,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
2976
3042
  },
2977
3043
  methods: {
2978
3044
  columnProp(col, prop) {
2979
- return col.props ? ((col.type.props[prop].type === Boolean && col.props[prop] === '') ? true : col.props[prop]) : null;
3045
+ return utils.ObjectUtils.getVNodeProp(col, prop);
2980
3046
  },
2981
3047
  onPage(event) {
2982
3048
  this.clearEditingMetaData();
@@ -3227,7 +3293,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
3227
3293
 
3228
3294
  if (this.selectionMode) {
3229
3295
  const rowData = e.data;
3230
- const rowIndex = e.index;
3296
+ const rowIndex = this.d_first + e.index;
3231
3297
 
3232
3298
  if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) {
3233
3299
  utils.DomHandler.clearSelection();
@@ -4282,7 +4348,22 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4282
4348
  document.head.removeChild(this.styleElement);
4283
4349
  this.styleElement = null;
4284
4350
  }
4285
- }
4351
+ },
4352
+ recursiveGetChildren(children, results) {
4353
+ if (!results) {
4354
+ results = [];
4355
+ }
4356
+ if (children && children.length) {
4357
+ children.forEach((child) => {
4358
+ if (child.children instanceof Array) {
4359
+ results.concat(this.recursiveGetChildren(child.children, results));
4360
+ } else if (child.type.name == 'Column') {
4361
+ results.push(child);
4362
+ }
4363
+ });
4364
+ }
4365
+ return results;
4366
+ },
4286
4367
  },
4287
4368
  computed: {
4288
4369
  containerClass() {
@@ -4307,19 +4388,13 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4307
4388
  ];
4308
4389
  },
4309
4390
  columns() {
4310
- let cols = [];
4311
4391
  let children = this.getChildren();
4312
4392
 
4313
4393
  if (!children) {
4314
4394
  return;
4315
4395
  }
4316
4396
 
4317
- children.forEach(child => {
4318
- if (child.children && child.children instanceof Array)
4319
- cols = [...cols, ...child.children];
4320
- else if (child.type.name === 'Column')
4321
- cols.push(child);
4322
- });
4397
+ const cols = this.recursiveGetChildren(children, []);
4323
4398
 
4324
4399
  if (this.reorderableColumns && this.d_columnOrder) {
4325
4400
  let orderedColumns = [];
@@ -4447,26 +4522,21 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4447
4522
  class: "p-datatable-header"
4448
4523
  };
4449
4524
  const _hoisted_3 = {
4450
- ref: "table",
4451
- role: "table",
4452
- class: "p-datatable-table"
4453
- };
4454
- const _hoisted_4 = {
4455
4525
  key: 4,
4456
4526
  class: "p-datatable-footer"
4457
4527
  };
4458
- const _hoisted_5 = {
4528
+ const _hoisted_4 = {
4459
4529
  ref: "resizeHelper",
4460
4530
  class: "p-column-resizer-helper",
4461
4531
  style: {"display":"none"}
4462
4532
  };
4463
- const _hoisted_6 = {
4533
+ const _hoisted_5 = {
4464
4534
  key: 5,
4465
4535
  ref: "reorderIndicatorUp",
4466
4536
  class: "pi pi-arrow-down p-datatable-reorder-indicator-up",
4467
4537
  style: {"position":"absolute","display":"none"}
4468
4538
  };
4469
- const _hoisted_7 = {
4539
+ const _hoisted_6 = {
4470
4540
  key: 6,
4471
4541
  ref: "reorderIndicatorDown",
4472
4542
  class: "pi pi-arrow-up p-datatable-reorder-indicator-down",
@@ -4498,7 +4568,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4498
4568
  ? (vue.openBlock(), vue.createBlock(_component_DTPaginator, {
4499
4569
  key: 2,
4500
4570
  rows: $data.d_rows,
4501
- first: $data.d_first,
4571
+ first: $props.lazy ? 0 : $data.d_first,
4502
4572
  totalRecords: $options.totalRecordsLength,
4503
4573
  pageLinkSize: $props.pageLinkSize,
4504
4574
  template: $props.paginatorTemplate,
@@ -4508,19 +4578,19 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4508
4578
  onPage: _cache[1] || (_cache[1] = $event => ($options.onPage($event))),
4509
4579
  alwaysShow: $props.alwaysShowPaginator
4510
4580
  }, vue.createSlots({ _: 2 }, [
4511
- (_ctx.$slots.paginatorLeft)
4581
+ (_ctx.$slots.paginatorstart)
4512
4582
  ? {
4513
- name: "left",
4583
+ name: "start",
4514
4584
  fn: vue.withCtx(() => [
4515
- vue.renderSlot(_ctx.$slots, "paginatorLeft")
4585
+ vue.renderSlot(_ctx.$slots, "paginatorstart")
4516
4586
  ])
4517
4587
  }
4518
4588
  : undefined,
4519
- (_ctx.$slots.paginatorRight)
4589
+ (_ctx.$slots.paginatorend)
4520
4590
  ? {
4521
- name: "right",
4591
+ name: "end",
4522
4592
  fn: vue.withCtx(() => [
4523
- vue.renderSlot(_ctx.$slots, "paginatorRight")
4593
+ vue.renderSlot(_ctx.$slots, "paginatorend")
4524
4594
  ])
4525
4595
  }
4526
4596
  : undefined
@@ -4530,7 +4600,12 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4530
4600
  class: "p-datatable-wrapper",
4531
4601
  style: {maxHeight: $props.scrollHeight}
4532
4602
  }, [
4533
- vue.createVNode("table", _hoisted_3, [
4603
+ vue.createVNode("table", {
4604
+ ref: "table",
4605
+ role: "table",
4606
+ class: [$props.tableClass, 'p-datatable-table'],
4607
+ style: $props.tableStyle
4608
+ }, [
4534
4609
  vue.createVNode(_component_DTTableHeader, {
4535
4610
  columnGroup: $options.headerColumnGroup,
4536
4611
  columns: $options.columns,
@@ -4575,6 +4650,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4575
4650
  groupRowsBy: $props.groupRowsBy,
4576
4651
  expandableRowGroups: $props.expandableRowGroups,
4577
4652
  rowClass: $props.rowClass,
4653
+ rowStyle: $props.rowStyle,
4578
4654
  editMode: $props.editMode,
4579
4655
  compareSelectionBy: $props.compareSelectionBy,
4580
4656
  scrollable: $props.scrollable,
@@ -4611,7 +4687,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4611
4687
  onRowEditCancel: _cache[26] || (_cache[26] = $event => ($options.onRowEditCancel($event))),
4612
4688
  editingMeta: $data.d_editingMeta,
4613
4689
  onEditingMetaChange: $options.onEditingMetaChange
4614
- }, null, 8, ["value", "columns", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]))
4690
+ }, null, 8, ["value", "columns", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]))
4615
4691
  : vue.createCommentVNode("", true),
4616
4692
  vue.createVNode(_component_DTTableBody, {
4617
4693
  value: $options.dataToRender,
@@ -4627,6 +4703,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4627
4703
  groupRowsBy: $props.groupRowsBy,
4628
4704
  expandableRowGroups: $props.expandableRowGroups,
4629
4705
  rowClass: $props.rowClass,
4706
+ rowStyle: $props.rowStyle,
4630
4707
  editMode: $props.editMode,
4631
4708
  compareSelectionBy: $props.compareSelectionBy,
4632
4709
  scrollable: $props.scrollable,
@@ -4663,18 +4740,18 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4663
4740
  onRowEditCancel: _cache[43] || (_cache[43] = $event => ($options.onRowEditCancel($event))),
4664
4741
  editingMeta: $data.d_editingMeta,
4665
4742
  onEditingMetaChange: $options.onEditingMetaChange
4666
- }, null, 8, ["value", "columns", "empty", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]),
4743
+ }, null, 8, ["value", "columns", "empty", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]),
4667
4744
  vue.createVNode(_component_DTTableFooter, {
4668
4745
  columnGroup: $options.footerColumnGroup,
4669
4746
  columns: $options.columns
4670
4747
  }, null, 8, ["columnGroup", "columns"])
4671
- ], 512)
4748
+ ], 6)
4672
4749
  ], 4),
4673
4750
  ($options.paginatorBottom)
4674
4751
  ? (vue.openBlock(), vue.createBlock(_component_DTPaginator, {
4675
4752
  key: 3,
4676
4753
  rows: $data.d_rows,
4677
- first: $data.d_first,
4754
+ first: $props.lazy ? 0 : $data.d_first,
4678
4755
  totalRecords: $options.totalRecordsLength,
4679
4756
  pageLinkSize: $props.pageLinkSize,
4680
4757
  template: $props.paginatorTemplate,
@@ -4684,35 +4761,35 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
4684
4761
  onPage: _cache[44] || (_cache[44] = $event => ($options.onPage($event))),
4685
4762
  alwaysShow: $props.alwaysShowPaginator
4686
4763
  }, vue.createSlots({ _: 2 }, [
4687
- (_ctx.$slots.paginatorLeft)
4764
+ (_ctx.$slots.paginatorstart)
4688
4765
  ? {
4689
- name: "left",
4766
+ name: "start",
4690
4767
  fn: vue.withCtx(() => [
4691
- vue.renderSlot(_ctx.$slots, "paginatorLeft")
4768
+ vue.renderSlot(_ctx.$slots, "paginatorstart")
4692
4769
  ])
4693
4770
  }
4694
4771
  : undefined,
4695
- (_ctx.$slots.paginatorRight)
4772
+ (_ctx.$slots.paginatorend)
4696
4773
  ? {
4697
- name: "right",
4774
+ name: "end",
4698
4775
  fn: vue.withCtx(() => [
4699
- vue.renderSlot(_ctx.$slots, "paginatorRight")
4776
+ vue.renderSlot(_ctx.$slots, "paginatorend")
4700
4777
  ])
4701
4778
  }
4702
4779
  : undefined
4703
4780
  ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
4704
4781
  : vue.createCommentVNode("", true),
4705
4782
  (_ctx.$slots.footer)
4706
- ? (vue.openBlock(), vue.createBlock("div", _hoisted_4, [
4783
+ ? (vue.openBlock(), vue.createBlock("div", _hoisted_3, [
4707
4784
  vue.renderSlot(_ctx.$slots, "footer")
4708
4785
  ]))
4709
4786
  : vue.createCommentVNode("", true),
4710
- vue.createVNode("div", _hoisted_5, null, 512),
4787
+ vue.createVNode("div", _hoisted_4, null, 512),
4711
4788
  ($props.reorderableColumns)
4712
- ? (vue.openBlock(), vue.createBlock("span", _hoisted_6, null, 512))
4789
+ ? (vue.openBlock(), vue.createBlock("span", _hoisted_5, null, 512))
4713
4790
  : vue.createCommentVNode("", true),
4714
4791
  ($props.reorderableColumns)
4715
- ? (vue.openBlock(), vue.createBlock("span", _hoisted_7, null, 512))
4792
+ ? (vue.openBlock(), vue.createBlock("span", _hoisted_6, null, 512))
4716
4793
  : vue.createCommentVNode("", true)
4717
4794
  ], 2))
4718
4795
  }