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
@@ -345,7 +345,15 @@ var script$9 = {
345
345
  hide() {
346
346
  this.overlayVisible = false;
347
347
  },
348
- onContentClick() {
348
+ onContentClick(event) {
349
+ this.selfClick = true;
350
+
351
+ OverlayEventBus.emit('overlay-click', {
352
+ originalEvent: event,
353
+ target: this.overlay
354
+ });
355
+ },
356
+ onContentMouseDown() {
349
357
  this.selfClick = true;
350
358
  },
351
359
  onOverlayEnter(el) {
@@ -359,7 +367,7 @@ var script$9 = {
359
367
  this.bindResizeListener();
360
368
 
361
369
  this.overlayEventListener = (e) => {
362
- if (this.overlay.contains(e.target)) {
370
+ if (!this.isOutsideClicked(e.target)) {
363
371
  this.selfClick = true;
364
372
  }
365
373
  };
@@ -382,13 +390,16 @@ var script$9 = {
382
390
  overlayRef(el) {
383
391
  this.overlay = el;
384
392
  },
385
- isTargetClicked(event) {
386
- return this.$refs.icon && (this.$refs.icon === event.target || this.$refs.icon.contains(event.target));
393
+ isOutsideClicked(target) {
394
+ return !this.isTargetClicked(target) && this.overlay && !(this.overlay.isSameNode(target) || this.overlay.contains(target));
395
+ },
396
+ isTargetClicked(target) {
397
+ return this.$refs.icon && (this.$refs.icon.isSameNode(target) || this.$refs.icon.contains(target));
387
398
  },
388
399
  bindOutsideClickListener() {
389
400
  if (!this.outsideClickListener) {
390
401
  this.outsideClickListener = (event) => {
391
- if (this.overlayVisible && !this.selfClick && !this.isTargetClicked(event)) {
402
+ if (this.overlayVisible && !this.selfClick && this.isOutsideClicked(event.target)) {
392
403
  this.overlayVisible = false;
393
404
  }
394
405
  this.selfClick = false;
@@ -521,7 +532,7 @@ const _hoisted_6$1 = {
521
532
  key: 0,
522
533
  class: "p-column-filter-operator"
523
534
  };
524
- const _hoisted_7$1 = { class: "p-column-filter-constraints" };
535
+ const _hoisted_7 = { class: "p-column-filter-constraints" };
525
536
  const _hoisted_8 = {
526
537
  key: 1,
527
538
  class: "p-column-filter-add-rule"
@@ -580,7 +591,8 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
580
591
  ref: $options.overlayRef,
581
592
  class: $options.overlayClass,
582
593
  onKeydown: _cache[12] || (_cache[12] = withKeys((...args) => ($options.onEscape && $options.onEscape(...args)), ["escape"])),
583
- onClick: _cache[13] || (_cache[13] = (...args) => ($options.onContentClick && $options.onContentClick(...args)))
594
+ onClick: _cache[13] || (_cache[13] = (...args) => ($options.onContentClick && $options.onContentClick(...args))),
595
+ onMousedown: _cache[14] || (_cache[14] = (...args) => ($options.onContentMouseDown && $options.onContentMouseDown(...args)))
584
596
  }, [
585
597
  (openBlock(), createBlock(resolveDynamicComponent($props.filterHeaderTemplate), {
586
598
  field: $props.field,
@@ -624,7 +636,7 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
624
636
  }, null, 8, ["options", "modelValue"])
625
637
  ]))
626
638
  : createCommentVNode("", true),
627
- createVNode("div", _hoisted_7$1, [
639
+ createVNode("div", _hoisted_7, [
628
640
  (openBlock(true), createBlock(Fragment, null, renderList($options.fieldConstraints, (fieldConstraint, i) => {
629
641
  return (openBlock(), createBlock("div", {
630
642
  key: i,
@@ -1112,7 +1124,7 @@ var script$7 = {
1112
1124
  },
1113
1125
  methods: {
1114
1126
  columnProp(col, prop) {
1115
- return col.props ? ((col.type.props[prop].type === Boolean && col.props[prop] === '') ? true : col.props[prop]) : null;
1127
+ return ObjectUtils.getVNodeProp(col, prop);
1116
1128
  },
1117
1129
  getFilterColumnHeaderClass(column) {
1118
1130
  return ['p-filter-column', this.columnProp(column, 'filterHeaderClass'), this.columnProp(column, 'class'), {
@@ -1121,6 +1133,20 @@ var script$7 = {
1121
1133
  },
1122
1134
  getFilterColumnHeaderStyle(column) {
1123
1135
  return [this.columnProp(column, 'filterHeaderStyle'), this.columnProp(column, 'style')];
1136
+ },
1137
+ getHeaderColumns(row){
1138
+ let cols = [];
1139
+
1140
+ if (row.children && row.children.default) {
1141
+ row.children.default().forEach(child => {
1142
+ if (child.children && child.children instanceof Array)
1143
+ cols = [...cols, ...child.children];
1144
+ else if (child.type.name === 'Column')
1145
+ cols.push(child);
1146
+ });
1147
+
1148
+ return cols;
1149
+ }
1124
1150
  }
1125
1151
  },
1126
1152
  components: {
@@ -1253,7 +1279,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
1253
1279
  key: i,
1254
1280
  role: "row"
1255
1281
  }, [
1256
- (openBlock(true), createBlock(Fragment, null, renderList(row.children.default(), (col, j) => {
1282
+ (openBlock(true), createBlock(Fragment, null, renderList($options.getHeaderColumns(row), (col, j) => {
1257
1283
  return (openBlock(), createBlock(Fragment, {
1258
1284
  key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||j
1259
1285
  }, [
@@ -1781,82 +1807,91 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
1781
1807
  index: $props.rowIndex,
1782
1808
  frozenRow: $props.frozenRow
1783
1809
  }, null, 8, ["data", "column", "field", "index", "frozenRow"]))
1784
- : ($options.columnProp('selectionMode'))
1785
- ? (openBlock(), createBlock(Fragment, { key: 3 }, [
1786
- ($options.columnProp('selectionMode') === 'single')
1787
- ? (openBlock(), createBlock(_component_DTRadioButton, {
1788
- key: 0,
1789
- value: $props.rowData,
1790
- checked: $props.selected,
1791
- onChange: $options.toggleRowWithRadio
1792
- }, null, 8, ["value", "checked", "onChange"]))
1793
- : ($options.columnProp('selectionMode') ==='multiple')
1794
- ? (openBlock(), createBlock(_component_DTCheckbox, {
1795
- key: 1,
1810
+ : ($props.column.children && $props.column.children.body && !$props.column.children.editor && $data.d_editing)
1811
+ ? (openBlock(), createBlock(resolveDynamicComponent($props.column.children.body), {
1812
+ key: 3,
1813
+ data: $options.editingRowData,
1814
+ column: $props.column,
1815
+ field: $options.field,
1816
+ index: $props.rowIndex,
1817
+ frozenRow: $props.frozenRow
1818
+ }, null, 8, ["data", "column", "field", "index", "frozenRow"]))
1819
+ : ($options.columnProp('selectionMode'))
1820
+ ? (openBlock(), createBlock(Fragment, { key: 4 }, [
1821
+ ($options.columnProp('selectionMode') === 'single')
1822
+ ? (openBlock(), createBlock(_component_DTRadioButton, {
1823
+ key: 0,
1796
1824
  value: $props.rowData,
1797
1825
  checked: $props.selected,
1798
- onChange: $options.toggleRowWithCheckbox
1826
+ onChange: $options.toggleRowWithRadio
1799
1827
  }, null, 8, ["value", "checked", "onChange"]))
1800
- : createCommentVNode("", true)
1801
- ], 64))
1802
- : ($options.columnProp('rowReorder'))
1803
- ? (openBlock(), createBlock("i", {
1804
- key: 4,
1805
- class: ['p-datatable-reorderablerow-handle', ($options.columnProp('rowReorderIcon') || 'pi pi-bars')]
1806
- }, null, 2))
1807
- : ($options.columnProp('expander'))
1808
- ? withDirectives((openBlock(), createBlock("button", {
1828
+ : ($options.columnProp('selectionMode') ==='multiple')
1829
+ ? (openBlock(), createBlock(_component_DTCheckbox, {
1830
+ key: 1,
1831
+ value: $props.rowData,
1832
+ checked: $props.selected,
1833
+ onChange: $options.toggleRowWithCheckbox
1834
+ }, null, 8, ["value", "checked", "onChange"]))
1835
+ : createCommentVNode("", true)
1836
+ ], 64))
1837
+ : ($options.columnProp('rowReorder'))
1838
+ ? (openBlock(), createBlock("i", {
1809
1839
  key: 5,
1810
- class: "p-row-toggler p-link",
1811
- onClick: _cache[1] || (_cache[1] = (...args) => ($options.toggleRow && $options.toggleRow(...args))),
1812
- type: "button"
1813
- }, [
1814
- createVNode("span", { class: $props.rowTogglerIcon }, null, 2)
1815
- ], 512)), [
1816
- [_directive_ripple]
1817
- ])
1818
- : ($props.editMode === 'row' && $options.columnProp('rowEditor'))
1819
- ? (openBlock(), createBlock(Fragment, { key: 6 }, [
1820
- (!$data.d_editing)
1821
- ? withDirectives((openBlock(), createBlock("button", {
1822
- key: 0,
1823
- class: "p-row-editor-init p-link",
1824
- onClick: _cache[2] || (_cache[2] = (...args) => ($options.onRowEditInit && $options.onRowEditInit(...args))),
1825
- type: "button"
1826
- }, [
1827
- _hoisted_2$3
1828
- ], 512)), [
1829
- [_directive_ripple]
1830
- ])
1831
- : createCommentVNode("", true),
1832
- ($data.d_editing)
1833
- ? withDirectives((openBlock(), createBlock("button", {
1834
- key: 1,
1835
- class: "p-row-editor-save p-link",
1836
- onClick: _cache[3] || (_cache[3] = (...args) => ($options.onRowEditSave && $options.onRowEditSave(...args))),
1837
- type: "button"
1838
- }, [
1839
- _hoisted_3$1
1840
- ], 512)), [
1841
- [_directive_ripple]
1842
- ])
1843
- : createCommentVNode("", true),
1844
- ($data.d_editing)
1845
- ? withDirectives((openBlock(), createBlock("button", {
1846
- key: 2,
1847
- class: "p-row-editor-cancel p-link",
1848
- onClick: _cache[4] || (_cache[4] = (...args) => ($options.onRowEditCancel && $options.onRowEditCancel(...args))),
1849
- type: "button"
1850
- }, [
1851
- _hoisted_4$1
1852
- ], 512)), [
1853
- [_directive_ripple]
1854
- ])
1855
- : createCommentVNode("", true)
1856
- ], 64))
1857
- : (openBlock(), createBlock(Fragment, { key: 7 }, [
1858
- createTextVNode(toDisplayString($options.resolveFieldData()), 1)
1859
- ], 64))
1840
+ class: ['p-datatable-reorderablerow-handle', ($options.columnProp('rowReorderIcon') || 'pi pi-bars')]
1841
+ }, null, 2))
1842
+ : ($options.columnProp('expander'))
1843
+ ? withDirectives((openBlock(), createBlock("button", {
1844
+ key: 6,
1845
+ class: "p-row-toggler p-link",
1846
+ onClick: _cache[1] || (_cache[1] = (...args) => ($options.toggleRow && $options.toggleRow(...args))),
1847
+ type: "button"
1848
+ }, [
1849
+ createVNode("span", { class: $props.rowTogglerIcon }, null, 2)
1850
+ ], 512)), [
1851
+ [_directive_ripple]
1852
+ ])
1853
+ : ($props.editMode === 'row' && $options.columnProp('rowEditor'))
1854
+ ? (openBlock(), createBlock(Fragment, { key: 7 }, [
1855
+ (!$data.d_editing)
1856
+ ? withDirectives((openBlock(), createBlock("button", {
1857
+ key: 0,
1858
+ class: "p-row-editor-init p-link",
1859
+ onClick: _cache[2] || (_cache[2] = (...args) => ($options.onRowEditInit && $options.onRowEditInit(...args))),
1860
+ type: "button"
1861
+ }, [
1862
+ _hoisted_2$3
1863
+ ], 512)), [
1864
+ [_directive_ripple]
1865
+ ])
1866
+ : createCommentVNode("", true),
1867
+ ($data.d_editing)
1868
+ ? withDirectives((openBlock(), createBlock("button", {
1869
+ key: 1,
1870
+ class: "p-row-editor-save p-link",
1871
+ onClick: _cache[3] || (_cache[3] = (...args) => ($options.onRowEditSave && $options.onRowEditSave(...args))),
1872
+ type: "button"
1873
+ }, [
1874
+ _hoisted_3$1
1875
+ ], 512)), [
1876
+ [_directive_ripple]
1877
+ ])
1878
+ : createCommentVNode("", true),
1879
+ ($data.d_editing)
1880
+ ? withDirectives((openBlock(), createBlock("button", {
1881
+ key: 2,
1882
+ class: "p-row-editor-cancel p-link",
1883
+ onClick: _cache[4] || (_cache[4] = (...args) => ($options.onRowEditCancel && $options.onRowEditCancel(...args))),
1884
+ type: "button"
1885
+ }, [
1886
+ _hoisted_4$1
1887
+ ], 512)), [
1888
+ [_directive_ripple]
1889
+ ])
1890
+ : createCommentVNode("", true)
1891
+ ], 64))
1892
+ : (openBlock(), createBlock(Fragment, { key: 8 }, [
1893
+ createTextVNode(toDisplayString($options.resolveFieldData()), 1)
1894
+ ], 64))
1860
1895
  ], 38))
1861
1896
  }
1862
1897
 
@@ -1945,6 +1980,10 @@ var script$3 = {
1945
1980
  type: null,
1946
1981
  default: null
1947
1982
  },
1983
+ rowStyle: {
1984
+ type: null,
1985
+ default: null
1986
+ },
1948
1987
  editMode: {
1949
1988
  type: String,
1950
1989
  default: null
@@ -2007,7 +2046,7 @@ var script$3 = {
2007
2046
  },
2008
2047
  methods: {
2009
2048
  columnProp(col, prop) {
2010
- return col.props ? ((col.type.props[prop].type === Boolean && col.props[prop] === '') ? true : col.props[prop]) : null;
2049
+ return ObjectUtils.getVNodeProp(col, prop);
2011
2050
  },
2012
2051
  shouldRenderRowGroupHeader(value, rowData, i) {
2013
2052
  let currentRowFieldData = ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
@@ -2345,6 +2384,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2345
2384
  ($props.expandableRowGroups ? $options.isRowGroupExpanded(rowData): true)
2346
2385
  ? (openBlock(), createBlock("tr", {
2347
2386
  class: $options.getRowClass(rowData),
2387
+ style: $props.rowStyle,
2348
2388
  key: $options.getRowKey(rowData, index),
2349
2389
  onClick: $event => ($options.onRowClick($event, rowData, index)),
2350
2390
  onDblclick: $event => ($options.onRowDblClick($event, rowData, index)),
@@ -2393,7 +2433,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2393
2433
  : createCommentVNode("", true)
2394
2434
  ], 64))
2395
2435
  }), 128))
2396
- ], 42, ["onClick", "onDblclick", "onContextmenu", "onKeydown", "tabindex", "onDragstart", "onDragover"]))
2436
+ ], 46, ["onClick", "onDblclick", "onContextmenu", "onKeydown", "tabindex", "onDragstart", "onDragover"]))
2397
2437
  : createCommentVNode("", true),
2398
2438
  ($props.templates['expansion'] && $props.expandedRows && $options.isRowExpanded(rowData))
2399
2439
  ? (openBlock(), createBlock("tr", {
@@ -2536,7 +2576,21 @@ var script$1 = {
2536
2576
  },
2537
2577
  methods: {
2538
2578
  columnProp(col, prop) {
2539
- return col.props ? ((col.type.props[prop].type === Boolean && col.props[prop] === '') ? true : col.props[prop]) : null;
2579
+ return ObjectUtils.getVNodeProp(col, prop);
2580
+ },
2581
+ getFooterColumns(row){
2582
+ let cols = [];
2583
+
2584
+ if (row.children && row.children.default) {
2585
+ row.children.default().forEach(child => {
2586
+ if (child.children && child.children instanceof Array)
2587
+ cols = [...cols, ...child.children];
2588
+ else if (child.type.name === 'Column')
2589
+ cols.push(child);
2590
+ });
2591
+
2592
+ return cols;
2593
+ }
2540
2594
  }
2541
2595
  },
2542
2596
  computed: {
@@ -2598,7 +2652,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
2598
2652
  key: i,
2599
2653
  role: "row"
2600
2654
  }, [
2601
- (openBlock(true), createBlock(Fragment, null, renderList(row.children.default(), (col, j) => {
2655
+ (openBlock(true), createBlock(Fragment, null, renderList($options.getFooterColumns(row), (col, j) => {
2602
2656
  return (openBlock(), createBlock(Fragment, {
2603
2657
  key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||j
2604
2658
  }, [
@@ -2830,6 +2884,10 @@ var script = {
2830
2884
  type: null,
2831
2885
  default: null
2832
2886
  },
2887
+ rowStyle: {
2888
+ type: null,
2889
+ default: null
2890
+ },
2833
2891
  scrollable: {
2834
2892
  type: Boolean,
2835
2893
  default: false
@@ -2861,6 +2919,14 @@ var script = {
2861
2919
  stripedRows: {
2862
2920
  type: Boolean,
2863
2921
  default: false
2922
+ },
2923
+ tableStyle: {
2924
+ type: null,
2925
+ default: null
2926
+ },
2927
+ tableClass: {
2928
+ type: String,
2929
+ default: null
2864
2930
  }
2865
2931
  },
2866
2932
  data() {
@@ -2973,7 +3039,7 @@ var script = {
2973
3039
  },
2974
3040
  methods: {
2975
3041
  columnProp(col, prop) {
2976
- return col.props ? ((col.type.props[prop].type === Boolean && col.props[prop] === '') ? true : col.props[prop]) : null;
3042
+ return ObjectUtils.getVNodeProp(col, prop);
2977
3043
  },
2978
3044
  onPage(event) {
2979
3045
  this.clearEditingMetaData();
@@ -3224,7 +3290,7 @@ var script = {
3224
3290
 
3225
3291
  if (this.selectionMode) {
3226
3292
  const rowData = e.data;
3227
- const rowIndex = e.index;
3293
+ const rowIndex = this.d_first + e.index;
3228
3294
 
3229
3295
  if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) {
3230
3296
  DomHandler.clearSelection();
@@ -4279,7 +4345,22 @@ var script = {
4279
4345
  document.head.removeChild(this.styleElement);
4280
4346
  this.styleElement = null;
4281
4347
  }
4282
- }
4348
+ },
4349
+ recursiveGetChildren(children, results) {
4350
+ if (!results) {
4351
+ results = [];
4352
+ }
4353
+ if (children && children.length) {
4354
+ children.forEach((child) => {
4355
+ if (child.children instanceof Array) {
4356
+ results.concat(this.recursiveGetChildren(child.children, results));
4357
+ } else if (child.type.name == 'Column') {
4358
+ results.push(child);
4359
+ }
4360
+ });
4361
+ }
4362
+ return results;
4363
+ },
4283
4364
  },
4284
4365
  computed: {
4285
4366
  containerClass() {
@@ -4304,19 +4385,13 @@ var script = {
4304
4385
  ];
4305
4386
  },
4306
4387
  columns() {
4307
- let cols = [];
4308
4388
  let children = this.getChildren();
4309
4389
 
4310
4390
  if (!children) {
4311
4391
  return;
4312
4392
  }
4313
4393
 
4314
- children.forEach(child => {
4315
- if (child.children && child.children instanceof Array)
4316
- cols = [...cols, ...child.children];
4317
- else if (child.type.name === 'Column')
4318
- cols.push(child);
4319
- });
4394
+ const cols = this.recursiveGetChildren(children, []);
4320
4395
 
4321
4396
  if (this.reorderableColumns && this.d_columnOrder) {
4322
4397
  let orderedColumns = [];
@@ -4444,26 +4519,21 @@ const _hoisted_2 = {
4444
4519
  class: "p-datatable-header"
4445
4520
  };
4446
4521
  const _hoisted_3 = {
4447
- ref: "table",
4448
- role: "table",
4449
- class: "p-datatable-table"
4450
- };
4451
- const _hoisted_4 = {
4452
4522
  key: 4,
4453
4523
  class: "p-datatable-footer"
4454
4524
  };
4455
- const _hoisted_5 = {
4525
+ const _hoisted_4 = {
4456
4526
  ref: "resizeHelper",
4457
4527
  class: "p-column-resizer-helper",
4458
4528
  style: {"display":"none"}
4459
4529
  };
4460
- const _hoisted_6 = {
4530
+ const _hoisted_5 = {
4461
4531
  key: 5,
4462
4532
  ref: "reorderIndicatorUp",
4463
4533
  class: "pi pi-arrow-down p-datatable-reorder-indicator-up",
4464
4534
  style: {"position":"absolute","display":"none"}
4465
4535
  };
4466
- const _hoisted_7 = {
4536
+ const _hoisted_6 = {
4467
4537
  key: 6,
4468
4538
  ref: "reorderIndicatorDown",
4469
4539
  class: "pi pi-arrow-up p-datatable-reorder-indicator-down",
@@ -4495,7 +4565,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
4495
4565
  ? (openBlock(), createBlock(_component_DTPaginator, {
4496
4566
  key: 2,
4497
4567
  rows: $data.d_rows,
4498
- first: $data.d_first,
4568
+ first: $props.lazy ? 0 : $data.d_first,
4499
4569
  totalRecords: $options.totalRecordsLength,
4500
4570
  pageLinkSize: $props.pageLinkSize,
4501
4571
  template: $props.paginatorTemplate,
@@ -4505,19 +4575,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
4505
4575
  onPage: _cache[1] || (_cache[1] = $event => ($options.onPage($event))),
4506
4576
  alwaysShow: $props.alwaysShowPaginator
4507
4577
  }, createSlots({ _: 2 }, [
4508
- (_ctx.$slots.paginatorLeft)
4578
+ (_ctx.$slots.paginatorstart)
4509
4579
  ? {
4510
- name: "left",
4580
+ name: "start",
4511
4581
  fn: withCtx(() => [
4512
- renderSlot(_ctx.$slots, "paginatorLeft")
4582
+ renderSlot(_ctx.$slots, "paginatorstart")
4513
4583
  ])
4514
4584
  }
4515
4585
  : undefined,
4516
- (_ctx.$slots.paginatorRight)
4586
+ (_ctx.$slots.paginatorend)
4517
4587
  ? {
4518
- name: "right",
4588
+ name: "end",
4519
4589
  fn: withCtx(() => [
4520
- renderSlot(_ctx.$slots, "paginatorRight")
4590
+ renderSlot(_ctx.$slots, "paginatorend")
4521
4591
  ])
4522
4592
  }
4523
4593
  : undefined
@@ -4527,7 +4597,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
4527
4597
  class: "p-datatable-wrapper",
4528
4598
  style: {maxHeight: $props.scrollHeight}
4529
4599
  }, [
4530
- createVNode("table", _hoisted_3, [
4600
+ createVNode("table", {
4601
+ ref: "table",
4602
+ role: "table",
4603
+ class: [$props.tableClass, 'p-datatable-table'],
4604
+ style: $props.tableStyle
4605
+ }, [
4531
4606
  createVNode(_component_DTTableHeader, {
4532
4607
  columnGroup: $options.headerColumnGroup,
4533
4608
  columns: $options.columns,
@@ -4572,6 +4647,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
4572
4647
  groupRowsBy: $props.groupRowsBy,
4573
4648
  expandableRowGroups: $props.expandableRowGroups,
4574
4649
  rowClass: $props.rowClass,
4650
+ rowStyle: $props.rowStyle,
4575
4651
  editMode: $props.editMode,
4576
4652
  compareSelectionBy: $props.compareSelectionBy,
4577
4653
  scrollable: $props.scrollable,
@@ -4608,7 +4684,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
4608
4684
  onRowEditCancel: _cache[26] || (_cache[26] = $event => ($options.onRowEditCancel($event))),
4609
4685
  editingMeta: $data.d_editingMeta,
4610
4686
  onEditingMetaChange: $options.onEditingMetaChange
4611
- }, 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"]))
4687
+ }, 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"]))
4612
4688
  : createCommentVNode("", true),
4613
4689
  createVNode(_component_DTTableBody, {
4614
4690
  value: $options.dataToRender,
@@ -4624,6 +4700,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
4624
4700
  groupRowsBy: $props.groupRowsBy,
4625
4701
  expandableRowGroups: $props.expandableRowGroups,
4626
4702
  rowClass: $props.rowClass,
4703
+ rowStyle: $props.rowStyle,
4627
4704
  editMode: $props.editMode,
4628
4705
  compareSelectionBy: $props.compareSelectionBy,
4629
4706
  scrollable: $props.scrollable,
@@ -4660,18 +4737,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
4660
4737
  onRowEditCancel: _cache[43] || (_cache[43] = $event => ($options.onRowEditCancel($event))),
4661
4738
  editingMeta: $data.d_editingMeta,
4662
4739
  onEditingMetaChange: $options.onEditingMetaChange
4663
- }, 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"]),
4740
+ }, 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"]),
4664
4741
  createVNode(_component_DTTableFooter, {
4665
4742
  columnGroup: $options.footerColumnGroup,
4666
4743
  columns: $options.columns
4667
4744
  }, null, 8, ["columnGroup", "columns"])
4668
- ], 512)
4745
+ ], 6)
4669
4746
  ], 4),
4670
4747
  ($options.paginatorBottom)
4671
4748
  ? (openBlock(), createBlock(_component_DTPaginator, {
4672
4749
  key: 3,
4673
4750
  rows: $data.d_rows,
4674
- first: $data.d_first,
4751
+ first: $props.lazy ? 0 : $data.d_first,
4675
4752
  totalRecords: $options.totalRecordsLength,
4676
4753
  pageLinkSize: $props.pageLinkSize,
4677
4754
  template: $props.paginatorTemplate,
@@ -4681,35 +4758,35 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
4681
4758
  onPage: _cache[44] || (_cache[44] = $event => ($options.onPage($event))),
4682
4759
  alwaysShow: $props.alwaysShowPaginator
4683
4760
  }, createSlots({ _: 2 }, [
4684
- (_ctx.$slots.paginatorLeft)
4761
+ (_ctx.$slots.paginatorstart)
4685
4762
  ? {
4686
- name: "left",
4763
+ name: "start",
4687
4764
  fn: withCtx(() => [
4688
- renderSlot(_ctx.$slots, "paginatorLeft")
4765
+ renderSlot(_ctx.$slots, "paginatorstart")
4689
4766
  ])
4690
4767
  }
4691
4768
  : undefined,
4692
- (_ctx.$slots.paginatorRight)
4769
+ (_ctx.$slots.paginatorend)
4693
4770
  ? {
4694
- name: "right",
4771
+ name: "end",
4695
4772
  fn: withCtx(() => [
4696
- renderSlot(_ctx.$slots, "paginatorRight")
4773
+ renderSlot(_ctx.$slots, "paginatorend")
4697
4774
  ])
4698
4775
  }
4699
4776
  : undefined
4700
4777
  ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
4701
4778
  : createCommentVNode("", true),
4702
4779
  (_ctx.$slots.footer)
4703
- ? (openBlock(), createBlock("div", _hoisted_4, [
4780
+ ? (openBlock(), createBlock("div", _hoisted_3, [
4704
4781
  renderSlot(_ctx.$slots, "footer")
4705
4782
  ]))
4706
4783
  : createCommentVNode("", true),
4707
- createVNode("div", _hoisted_5, null, 512),
4784
+ createVNode("div", _hoisted_4, null, 512),
4708
4785
  ($props.reorderableColumns)
4709
- ? (openBlock(), createBlock("span", _hoisted_6, null, 512))
4786
+ ? (openBlock(), createBlock("span", _hoisted_5, null, 512))
4710
4787
  : createCommentVNode("", true),
4711
4788
  ($props.reorderableColumns)
4712
- ? (openBlock(), createBlock("span", _hoisted_7, null, 512))
4789
+ ? (openBlock(), createBlock("span", _hoisted_6, null, 512))
4713
4790
  : createCommentVNode("", true)
4714
4791
  ], 2))
4715
4792
  }