primevue 3.28.0 → 3.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/README.md +3 -3
  2. package/autocomplete/AutoComplete.d.ts +153 -1
  3. package/autocomplete/AutoComplete.vue +46 -17
  4. package/autocomplete/autocomplete.cjs.js +80 -74
  5. package/autocomplete/autocomplete.cjs.min.js +1 -1
  6. package/autocomplete/autocomplete.esm.js +80 -75
  7. package/autocomplete/autocomplete.esm.min.js +1 -1
  8. package/autocomplete/autocomplete.js +81 -76
  9. package/autocomplete/autocomplete.min.js +1 -1
  10. package/basecomponent/BaseComponent.vue +19 -5
  11. package/basecomponent/basecomponent.cjs.js +19 -5
  12. package/basecomponent/basecomponent.cjs.min.js +1 -1
  13. package/basecomponent/basecomponent.esm.js +19 -5
  14. package/basecomponent/basecomponent.esm.min.js +1 -1
  15. package/basecomponent/basecomponent.js +20 -7
  16. package/basecomponent/basecomponent.min.js +1 -1
  17. package/calendar/Calendar.d.ts +269 -0
  18. package/calendar/Calendar.vue +75 -59
  19. package/calendar/calendar.cjs.js +223 -259
  20. package/calendar/calendar.cjs.min.js +1 -1
  21. package/calendar/calendar.esm.js +223 -260
  22. package/calendar/calendar.esm.min.js +1 -1
  23. package/calendar/calendar.js +224 -261
  24. package/calendar/calendar.min.js +1 -1
  25. package/carousel/Carousel.d.ts +154 -0
  26. package/carousel/Carousel.vue +27 -14
  27. package/carousel/carousel.cjs.js +64 -65
  28. package/carousel/carousel.cjs.min.js +1 -1
  29. package/carousel/carousel.esm.js +64 -66
  30. package/carousel/carousel.esm.min.js +1 -1
  31. package/carousel/carousel.js +65 -67
  32. package/carousel/carousel.min.js +1 -1
  33. package/cascadeselect/CascadeSelect.d.ts +133 -0
  34. package/cascadeselect/CascadeSelect.vue +15 -12
  35. package/cascadeselect/CascadeSelectSub.vue +7 -3
  36. package/cascadeselect/cascadeselect.cjs.js +63 -66
  37. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  38. package/cascadeselect/cascadeselect.esm.js +63 -67
  39. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  40. package/cascadeselect/cascadeselect.js +64 -68
  41. package/cascadeselect/cascadeselect.min.js +1 -1
  42. package/checkbox/Checkbox.d.ts +60 -0
  43. package/checkbox/Checkbox.vue +7 -5
  44. package/checkbox/checkbox.cjs.js +17 -15
  45. package/checkbox/checkbox.cjs.min.js +1 -1
  46. package/checkbox/checkbox.esm.js +17 -16
  47. package/checkbox/checkbox.esm.min.js +1 -1
  48. package/checkbox/checkbox.js +18 -17
  49. package/checkbox/checkbox.min.js +1 -1
  50. package/chips/Chips.d.ts +80 -0
  51. package/chips/Chips.vue +9 -5
  52. package/chips/chips.cjs.js +23 -24
  53. package/chips/chips.cjs.min.js +1 -1
  54. package/chips/chips.esm.js +23 -25
  55. package/chips/chips.esm.min.js +1 -1
  56. package/chips/chips.js +24 -26
  57. package/chips/chips.min.js +1 -1
  58. package/colorpicker/ColorPicker.d.ts +76 -0
  59. package/colorpicker/ColorPicker.vue +11 -9
  60. package/colorpicker/colorpicker.cjs.js +28 -27
  61. package/colorpicker/colorpicker.cjs.min.js +1 -1
  62. package/colorpicker/colorpicker.esm.js +28 -28
  63. package/colorpicker/colorpicker.esm.min.js +1 -1
  64. package/colorpicker/colorpicker.js +29 -29
  65. package/colorpicker/colorpicker.min.js +1 -1
  66. package/column/Column.d.ts +303 -2
  67. package/column/Column.vue +3 -0
  68. package/column/column.cjs.js +7 -0
  69. package/column/column.cjs.min.js +1 -1
  70. package/column/column.esm.js +3 -0
  71. package/column/column.esm.min.js +1 -1
  72. package/column/column.js +7 -2
  73. package/column/column.min.js +1 -1
  74. package/columngroup/ColumnGroup.d.ts +34 -0
  75. package/columngroup/ColumnGroup.vue +3 -0
  76. package/columngroup/columngroup.cjs.js +7 -0
  77. package/columngroup/columngroup.cjs.min.js +1 -1
  78. package/columngroup/columngroup.esm.js +3 -0
  79. package/columngroup/columngroup.esm.min.js +1 -1
  80. package/columngroup/columngroup.js +7 -2
  81. package/columngroup/columngroup.min.js +1 -1
  82. package/config/PrimeVue.d.ts +163 -2
  83. package/confirmdialog/ConfirmDialog.d.ts +14 -7
  84. package/contextmenu/ContextMenu.d.ts +1 -1
  85. package/core/core.js +448 -331
  86. package/core/core.min.js +9 -9
  87. package/datatable/BodyCell.vue +29 -13
  88. package/datatable/ColumnFilter.vue +49 -20
  89. package/datatable/DataTable.d.ts +188 -1
  90. package/datatable/DataTable.vue +25 -14
  91. package/datatable/FooterCell.vue +15 -1
  92. package/datatable/HeaderCell.vue +31 -6
  93. package/datatable/HeaderCheckbox.vue +35 -5
  94. package/datatable/RowCheckbox.vue +36 -5
  95. package/datatable/RowRadioButton.vue +26 -6
  96. package/datatable/TableBody.vue +41 -11
  97. package/datatable/TableFooter.vue +31 -5
  98. package/datatable/TableHeader.vue +53 -6
  99. package/datatable/datatable.cjs.js +559 -376
  100. package/datatable/datatable.cjs.min.js +1 -1
  101. package/datatable/datatable.esm.js +559 -377
  102. package/datatable/datatable.esm.min.js +1 -1
  103. package/datatable/datatable.js +560 -378
  104. package/datatable/datatable.min.js +1 -1
  105. package/dataview/DataView.d.ts +72 -0
  106. package/dataview/DataView.vue +13 -8
  107. package/dataview/dataview.cjs.js +33 -37
  108. package/dataview/dataview.cjs.min.js +1 -1
  109. package/dataview/dataview.esm.js +33 -38
  110. package/dataview/dataview.esm.min.js +1 -1
  111. package/dataview/dataview.js +33 -38
  112. package/dataview/dataview.min.js +1 -1
  113. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +65 -0
  114. package/dataviewlayoutoptions/DataViewLayoutOptions.vue +7 -5
  115. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +19 -17
  116. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
  117. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +19 -18
  118. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
  119. package/dataviewlayoutoptions/dataviewlayoutoptions.js +20 -19
  120. package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
  121. package/dialog/Dialog.d.ts +6 -4
  122. package/dialog/Dialog.vue +2 -3
  123. package/dialog/dialog.cjs.js +4 -5
  124. package/dialog/dialog.cjs.min.js +1 -1
  125. package/dialog/dialog.esm.js +4 -5
  126. package/dialog/dialog.esm.min.js +1 -1
  127. package/dialog/dialog.js +4 -5
  128. package/dialog/dialog.min.js +1 -1
  129. package/dropdown/Dropdown.d.ts +162 -1
  130. package/dropdown/Dropdown.vue +44 -25
  131. package/dropdown/dropdown.cjs.js +97 -93
  132. package/dropdown/dropdown.cjs.min.js +1 -1
  133. package/dropdown/dropdown.esm.js +97 -94
  134. package/dropdown/dropdown.esm.min.js +1 -1
  135. package/dropdown/dropdown.js +98 -95
  136. package/dropdown/dropdown.min.js +1 -1
  137. package/editor/Editor.d.ts +67 -0
  138. package/editor/Editor.vue +35 -33
  139. package/editor/editor.cjs.js +88 -73
  140. package/editor/editor.cjs.min.js +1 -1
  141. package/editor/editor.esm.js +85 -74
  142. package/editor/editor.esm.min.js +1 -1
  143. package/editor/editor.js +89 -75
  144. package/editor/editor.min.js +1 -1
  145. package/fileupload/FileUpload.d.ts +23 -23
  146. package/fileupload/FileUpload.vue +3 -3
  147. package/fileupload/fileupload.cjs.js +4 -4
  148. package/fileupload/fileupload.cjs.min.js +1 -1
  149. package/fileupload/fileupload.esm.js +4 -4
  150. package/fileupload/fileupload.esm.min.js +1 -1
  151. package/fileupload/fileupload.js +4 -4
  152. package/fileupload/fileupload.min.js +1 -1
  153. package/galleria/Galleria.d.ts +196 -0
  154. package/galleria/Galleria.vue +5 -3
  155. package/galleria/GalleriaContent.vue +10 -6
  156. package/galleria/GalleriaItem.vue +12 -9
  157. package/galleria/GalleriaThumbnails.vue +46 -9
  158. package/galleria/galleria.cjs.js +106 -104
  159. package/galleria/galleria.cjs.min.js +1 -1
  160. package/galleria/galleria.esm.js +106 -105
  161. package/galleria/galleria.esm.min.js +1 -1
  162. package/galleria/galleria.js +107 -106
  163. package/galleria/galleria.min.js +1 -1
  164. package/image/Image.d.ts +170 -0
  165. package/image/Image.vue +49 -21
  166. package/image/image.cjs.js +94 -59
  167. package/image/image.cjs.min.js +1 -1
  168. package/image/image.esm.js +94 -60
  169. package/image/image.esm.min.js +1 -1
  170. package/image/image.js +95 -61
  171. package/image/image.min.js +1 -1
  172. package/inputmask/InputMask.d.ts +25 -0
  173. package/inputmask/InputMask.vue +3 -1
  174. package/inputmask/inputmask.cjs.js +9 -3
  175. package/inputmask/inputmask.cjs.min.js +1 -1
  176. package/inputmask/inputmask.esm.js +6 -4
  177. package/inputmask/inputmask.esm.min.js +1 -1
  178. package/inputmask/inputmask.js +10 -5
  179. package/inputmask/inputmask.min.js +1 -1
  180. package/inputnumber/InputNumber.d.ts +69 -0
  181. package/inputnumber/InputNumber.vue +13 -11
  182. package/inputnumber/inputnumber.cjs.js +19 -28
  183. package/inputnumber/inputnumber.cjs.min.js +1 -1
  184. package/inputnumber/inputnumber.esm.js +19 -29
  185. package/inputnumber/inputnumber.esm.min.js +1 -1
  186. package/inputnumber/inputnumber.js +20 -30
  187. package/inputnumber/inputnumber.min.js +1 -1
  188. package/inputswitch/InputSwitch.d.ts +51 -0
  189. package/inputswitch/InputSwitch.vue +7 -4
  190. package/inputswitch/inputswitch.cjs.js +15 -11
  191. package/inputswitch/inputswitch.cjs.min.js +1 -1
  192. package/inputswitch/inputswitch.esm.js +12 -12
  193. package/inputswitch/inputswitch.esm.min.js +1 -1
  194. package/inputswitch/inputswitch.js +16 -13
  195. package/inputswitch/inputswitch.min.js +1 -1
  196. package/inputtext/InputText.d.ts +25 -0
  197. package/inputtext/InputText.vue +4 -1
  198. package/inputtext/inputtext.cjs.js +9 -3
  199. package/inputtext/inputtext.cjs.min.js +1 -1
  200. package/inputtext/inputtext.esm.js +6 -4
  201. package/inputtext/inputtext.esm.min.js +1 -1
  202. package/inputtext/inputtext.js +10 -5
  203. package/inputtext/inputtext.min.js +1 -1
  204. package/knob/Knob.d.ts +78 -0
  205. package/knob/Knob.vue +8 -4
  206. package/knob/knob.cjs.js +17 -13
  207. package/knob/knob.cjs.min.js +1 -1
  208. package/knob/knob.esm.js +14 -14
  209. package/knob/knob.esm.min.js +1 -1
  210. package/knob/knob.js +18 -15
  211. package/knob/knob.min.js +1 -1
  212. package/listbox/Listbox.d.ts +137 -1
  213. package/listbox/Listbox.vue +28 -15
  214. package/listbox/listbox.cjs.js +83 -78
  215. package/listbox/listbox.cjs.min.js +1 -1
  216. package/listbox/listbox.esm.js +83 -79
  217. package/listbox/listbox.esm.min.js +1 -1
  218. package/listbox/listbox.js +84 -80
  219. package/listbox/listbox.min.js +1 -1
  220. package/megamenu/MegaMenu.d.ts +5 -5
  221. package/menu/Menu.d.ts +4 -4
  222. package/menubar/Menubar.d.ts +1 -1
  223. package/multiselect/MultiSelect.d.ts +223 -1
  224. package/multiselect/MultiSelect.vue +72 -41
  225. package/multiselect/multiselect.cjs.js +156 -151
  226. package/multiselect/multiselect.cjs.min.js +1 -1
  227. package/multiselect/multiselect.esm.js +156 -152
  228. package/multiselect/multiselect.esm.min.js +1 -1
  229. package/multiselect/multiselect.js +157 -153
  230. package/multiselect/multiselect.min.js +1 -1
  231. package/orderlist/OrderList.d.ts +94 -0
  232. package/orderlist/OrderList.vue +38 -18
  233. package/orderlist/orderlist.cjs.js +50 -36
  234. package/orderlist/orderlist.cjs.min.js +1 -1
  235. package/orderlist/orderlist.esm.js +50 -37
  236. package/orderlist/orderlist.esm.min.js +1 -1
  237. package/orderlist/orderlist.js +51 -38
  238. package/orderlist/orderlist.min.js +1 -1
  239. package/organizationchart/OrganizationChart.d.ts +129 -0
  240. package/organizationchart/OrganizationChart.vue +14 -2
  241. package/organizationchart/OrganizationChartNode.vue +37 -16
  242. package/organizationchart/organizationchart.cjs.js +77 -61
  243. package/organizationchart/organizationchart.cjs.min.js +1 -1
  244. package/organizationchart/organizationchart.esm.js +77 -62
  245. package/organizationchart/organizationchart.esm.min.js +1 -1
  246. package/organizationchart/organizationchart.js +78 -63
  247. package/organizationchart/organizationchart.min.js +1 -1
  248. package/package.json +1 -1
  249. package/paginator/CurrentPageReport.vue +5 -1
  250. package/paginator/FirstPageLink.vue +13 -2
  251. package/paginator/JumpToPageDropdown.vue +3 -1
  252. package/paginator/JumpToPageInput.vue +3 -1
  253. package/paginator/LastPageLink.vue +13 -2
  254. package/paginator/NextPageLink.vue +13 -2
  255. package/paginator/PageLinks.vue +12 -2
  256. package/paginator/Paginator.d.ts +133 -0
  257. package/paginator/Paginator.vue +23 -12
  258. package/paginator/PrevPageLink.vue +13 -2
  259. package/paginator/RowsPerPageDropdown.vue +3 -1
  260. package/paginator/paginator.cjs.js +135 -76
  261. package/paginator/paginator.cjs.min.js +1 -1
  262. package/paginator/paginator.esm.js +135 -77
  263. package/paginator/paginator.esm.min.js +1 -1
  264. package/paginator/paginator.js +136 -78
  265. package/paginator/paginator.min.js +1 -1
  266. package/panelmenu/PanelMenu.d.ts +4 -8
  267. package/password/Password.d.ts +104 -0
  268. package/password/Password.vue +11 -9
  269. package/password/password.cjs.js +26 -28
  270. package/password/password.cjs.min.js +1 -1
  271. package/password/password.esm.js +26 -29
  272. package/password/password.esm.min.js +1 -1
  273. package/password/password.js +27 -30
  274. package/password/password.min.js +1 -1
  275. package/picklist/PickList.d.ts +160 -0
  276. package/picklist/PickList.vue +46 -34
  277. package/picklist/picklist.cjs.js +111 -85
  278. package/picklist/picklist.cjs.min.js +1 -1
  279. package/picklist/picklist.esm.js +111 -86
  280. package/picklist/picklist.esm.min.js +1 -1
  281. package/picklist/picklist.js +112 -87
  282. package/picklist/picklist.min.js +1 -1
  283. package/radiobutton/RadioButton.d.ts +55 -0
  284. package/radiobutton/RadioButton.vue +7 -5
  285. package/radiobutton/radiobutton.cjs.js +19 -16
  286. package/radiobutton/radiobutton.cjs.min.js +1 -1
  287. package/radiobutton/radiobutton.esm.js +16 -17
  288. package/radiobutton/radiobutton.esm.min.js +1 -1
  289. package/radiobutton/radiobutton.js +20 -18
  290. package/radiobutton/radiobutton.min.js +1 -1
  291. package/rating/Rating.d.ts +96 -0
  292. package/rating/Rating.vue +32 -9
  293. package/rating/rating.cjs.js +41 -34
  294. package/rating/rating.cjs.min.js +1 -1
  295. package/rating/rating.esm.js +41 -35
  296. package/rating/rating.esm.min.js +1 -1
  297. package/rating/rating.js +42 -36
  298. package/rating/rating.min.js +1 -1
  299. package/row/Row.d.ts +29 -0
  300. package/row/Row.vue +3 -0
  301. package/row/row.cjs.js +7 -0
  302. package/row/row.cjs.min.js +1 -1
  303. package/row/row.esm.js +3 -0
  304. package/row/row.esm.min.js +1 -1
  305. package/row/row.js +7 -2
  306. package/row/row.min.js +1 -1
  307. package/selectbutton/SelectButton.d.ts +68 -0
  308. package/selectbutton/SelectButton.vue +13 -2
  309. package/selectbutton/selectbutton.cjs.js +20 -10
  310. package/selectbutton/selectbutton.cjs.min.js +1 -1
  311. package/selectbutton/selectbutton.esm.js +20 -11
  312. package/selectbutton/selectbutton.esm.min.js +1 -1
  313. package/selectbutton/selectbutton.js +21 -12
  314. package/selectbutton/selectbutton.min.js +1 -1
  315. package/slider/Slider.d.ts +48 -0
  316. package/slider/Slider.vue +7 -2
  317. package/slider/slider.cjs.js +22 -16
  318. package/slider/slider.cjs.min.js +1 -1
  319. package/slider/slider.esm.js +19 -17
  320. package/slider/slider.esm.min.js +1 -1
  321. package/slider/slider.js +23 -18
  322. package/slider/slider.min.js +1 -1
  323. package/splitbutton/SplitButton.d.ts +0 -4
  324. package/splitbutton/SplitButton.vue +2 -2
  325. package/splitbutton/splitbutton.cjs.js +7 -6
  326. package/splitbutton/splitbutton.cjs.min.js +1 -1
  327. package/splitbutton/splitbutton.esm.js +7 -6
  328. package/splitbutton/splitbutton.esm.min.js +1 -1
  329. package/splitbutton/splitbutton.js +7 -6
  330. package/splitbutton/splitbutton.min.js +1 -1
  331. package/splitter/Splitter.d.ts +3 -3
  332. package/textarea/Textarea.d.ts +32 -0
  333. package/textarea/Textarea.vue +4 -1
  334. package/textarea/textarea.cjs.js +9 -3
  335. package/textarea/textarea.cjs.min.js +1 -1
  336. package/textarea/textarea.esm.js +6 -4
  337. package/textarea/textarea.esm.min.js +1 -1
  338. package/textarea/textarea.js +10 -5
  339. package/textarea/textarea.min.js +1 -1
  340. package/timeline/Timeline.d.ts +49 -0
  341. package/timeline/Timeline.vue +9 -7
  342. package/timeline/timeline.cjs.js +19 -21
  343. package/timeline/timeline.cjs.min.js +1 -1
  344. package/timeline/timeline.esm.js +16 -22
  345. package/timeline/timeline.esm.min.js +1 -1
  346. package/timeline/timeline.js +20 -23
  347. package/timeline/timeline.min.js +1 -1
  348. package/toast/Toast.d.ts +4 -0
  349. package/toast/Toast.vue +1 -1
  350. package/toast/toast.cjs.js +3 -3
  351. package/toast/toast.cjs.min.js +1 -1
  352. package/toast/toast.esm.js +3 -3
  353. package/toast/toast.esm.min.js +1 -1
  354. package/toast/toast.js +3 -3
  355. package/toast/toast.min.js +1 -1
  356. package/togglebutton/ToggleButton.d.ts +59 -0
  357. package/togglebutton/ToggleButton.vue +7 -5
  358. package/togglebutton/togglebutton.cjs.js +15 -14
  359. package/togglebutton/togglebutton.cjs.min.js +1 -1
  360. package/togglebutton/togglebutton.esm.js +15 -15
  361. package/togglebutton/togglebutton.esm.min.js +1 -1
  362. package/togglebutton/togglebutton.js +16 -16
  363. package/togglebutton/togglebutton.min.js +1 -1
  364. package/tooltip/Tooltip.d.ts +10 -0
  365. package/tooltip/tooltip.cjs.js +51 -9
  366. package/tooltip/tooltip.cjs.min.js +1 -1
  367. package/tooltip/tooltip.esm.js +52 -10
  368. package/tooltip/tooltip.esm.min.js +1 -1
  369. package/tooltip/tooltip.js +51 -9
  370. package/tooltip/tooltip.min.js +1 -1
  371. package/tree/Tree.d.ts +137 -0
  372. package/tree/Tree.vue +12 -9
  373. package/tree/TreeNode.vue +23 -10
  374. package/tree/tree.cjs.js +85 -79
  375. package/tree/tree.cjs.min.js +1 -1
  376. package/tree/tree.esm.js +85 -80
  377. package/tree/tree.esm.min.js +1 -1
  378. package/tree/tree.js +86 -81
  379. package/tree/tree.min.js +1 -1
  380. package/treeselect/TreeSelect.d.ts +103 -1
  381. package/treeselect/TreeSelect.vue +15 -12
  382. package/treeselect/treeselect.cjs.js +37 -39
  383. package/treeselect/treeselect.cjs.min.js +1 -1
  384. package/treeselect/treeselect.esm.js +37 -40
  385. package/treeselect/treeselect.esm.min.js +1 -1
  386. package/treeselect/treeselect.js +38 -41
  387. package/treeselect/treeselect.min.js +1 -1
  388. package/treetable/BodyCell.vue +38 -10
  389. package/treetable/FooterCell.vue +15 -1
  390. package/treetable/HeaderCell.vue +28 -5
  391. package/treetable/TreeTable.d.ts +162 -0
  392. package/treetable/TreeTable.vue +25 -19
  393. package/treetable/TreeTableRow.vue +5 -0
  394. package/treetable/treetable.cjs.js +205 -158
  395. package/treetable/treetable.cjs.min.js +1 -1
  396. package/treetable/treetable.esm.js +205 -159
  397. package/treetable/treetable.esm.min.js +1 -1
  398. package/treetable/treetable.js +206 -160
  399. package/treetable/treetable.min.js +1 -1
  400. package/tristatecheckbox/TriStateCheckbox.d.ts +93 -0
  401. package/tristatecheckbox/TriStateCheckbox.vue +19 -8
  402. package/tristatecheckbox/tristatecheckbox.cjs.js +31 -22
  403. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  404. package/tristatecheckbox/tristatecheckbox.esm.js +31 -23
  405. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  406. package/tristatecheckbox/tristatecheckbox.js +32 -24
  407. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  408. package/ts-helpers.d.ts +3 -1
  409. package/vetur-attributes.json +180 -0
  410. package/vetur-tags.json +94 -39
  411. package/virtualscroller/VirtualScroller.d.ts +97 -0
  412. package/virtualscroller/VirtualScroller.vue +7 -5
  413. package/virtualscroller/virtualscroller.cjs.js +22 -19
  414. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  415. package/virtualscroller/virtualscroller.esm.js +22 -20
  416. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  417. package/virtualscroller/virtualscroller.js +23 -21
  418. package/virtualscroller/virtualscroller.min.js +1 -1
  419. package/web-types.json +467 -3
  420. package/datatable/TableLoadingBody.vue +0 -25
@@ -1,9 +1,10 @@
1
1
  this.primevue = this.primevue || {};
2
- this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, SortAltIcon, SortAmountDownIcon, SortAmountUpAltIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, Ripple) {
2
+ this.primevue.treetable = (function (api, BaseComponent, SpinnerIcon, Paginator, utils, vue, SortAltIcon, SortAmountDownIcon, SortAmountUpAltIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, Ripple) {
3
3
  'use strict';
4
4
 
5
5
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
6
 
7
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
7
8
  var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
8
9
  var Paginator__default = /*#__PURE__*/_interopDefaultLegacy(Paginator);
9
10
  var SortAltIcon__default = /*#__PURE__*/_interopDefaultLegacy(SortAltIcon);
@@ -17,6 +18,7 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
17
18
 
18
19
  var script$4 = {
19
20
  name: 'FooterCell',
21
+ extends: BaseComponent__default["default"],
20
22
  props: {
21
23
  column: {
22
24
  type: Object,
@@ -42,6 +44,18 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
42
44
  columnProp(prop) {
43
45
  return utils.ObjectUtils.getVNodeProp(this.column, prop);
44
46
  },
47
+ getColumnPTOptions(key) {
48
+ return this.ptmo(this.getColumnProp(), key, {
49
+ props: this.column.props,
50
+ parent: {
51
+ props: this.$props,
52
+ state: this.$data
53
+ }
54
+ });
55
+ },
56
+ getColumnProp() {
57
+ return this.column.props && this.column.props.pt ? this.column.props.pt : undefined;
58
+ },
45
59
  updateStickyPosition() {
46
60
  if (this.columnProp('frozen')) {
47
61
  let align = this.columnProp('alignFrozen');
@@ -88,10 +102,11 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
88
102
  };
89
103
 
90
104
  function render$4(_ctx, _cache, $props, $setup, $data, $options) {
91
- return (vue.openBlock(), vue.createElementBlock("td", {
92
- style: vue.normalizeStyle($options.containerStyle),
93
- class: vue.normalizeClass($options.containerClass)
94
- }, [
105
+ return (vue.openBlock(), vue.createElementBlock("td", vue.mergeProps({
106
+ style: $options.containerStyle,
107
+ class: $options.containerClass,
108
+ role: "cell"
109
+ }, { ...$options.getColumnPTOptions('root'), ...$options.getColumnPTOptions('footerCell') }), [
95
110
  ($props.column.children && $props.column.children.footer)
96
111
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children.footer), {
97
112
  key: 0,
@@ -99,13 +114,14 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
99
114
  }, null, 8, ["column"]))
100
115
  : vue.createCommentVNode("", true),
101
116
  vue.createTextVNode(" " + vue.toDisplayString($options.columnProp('footer')), 1)
102
- ], 6))
117
+ ], 16))
103
118
  }
104
119
 
105
120
  script$4.render = render$4;
106
121
 
107
122
  var script$3 = {
108
123
  name: 'HeaderCell',
124
+ extends: BaseComponent__default["default"],
109
125
  emits: ['column-click', 'column-resizestart'],
110
126
  props: {
111
127
  column: {
@@ -152,6 +168,18 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
152
168
  columnProp(prop) {
153
169
  return utils.ObjectUtils.getVNodeProp(this.column, prop);
154
170
  },
171
+ getColumnPTOptions(key) {
172
+ return this.ptmo(this.getColumnProp(), key, {
173
+ props: this.column.props,
174
+ parent: {
175
+ props: this.$props,
176
+ state: this.$data
177
+ }
178
+ });
179
+ },
180
+ getColumnProp() {
181
+ return this.column.props && this.column.props.pt ? this.column.props.pt : undefined; //@todo:
182
+ },
155
183
  updateStickyPosition() {
156
184
  if (this.columnProp('frozen')) {
157
185
  let align = this.columnProp('alignFrozen');
@@ -288,33 +316,24 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
288
316
  }
289
317
  };
290
318
 
291
- const _hoisted_1$3 = ["tabindex", "aria-sort"];
292
- const _hoisted_2$2 = {
293
- key: 2,
294
- class: "p-column-title"
295
- };
296
- const _hoisted_3$1 = { key: 3 };
297
- const _hoisted_4$1 = {
298
- key: 4,
299
- class: "p-sortable-column-badge"
300
- };
319
+ const _hoisted_1$2 = ["tabindex", "aria-sort"];
301
320
 
302
321
  function render$3(_ctx, _cache, $props, $setup, $data, $options) {
303
- return (vue.openBlock(), vue.createElementBlock("th", {
304
- style: vue.normalizeStyle([$options.containerStyle]),
305
- class: vue.normalizeClass($options.containerClass),
322
+ return (vue.openBlock(), vue.createElementBlock("th", vue.mergeProps({
323
+ style: [$options.containerStyle],
324
+ class: $options.containerClass,
306
325
  onClick: _cache[1] || (_cache[1] = (...args) => ($options.onClick && $options.onClick(...args))),
307
326
  onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
308
327
  tabindex: $options.columnProp('sortable') ? '0' : null,
309
328
  "aria-sort": $options.ariaSort,
310
329
  role: "columnheader"
311
- }, [
330
+ }, { ...$options.getColumnPTOptions('root'), ...$options.getColumnPTOptions('headerCell') }), [
312
331
  ($props.resizableColumns && !$options.columnProp('frozen'))
313
- ? (vue.openBlock(), vue.createElementBlock("span", {
332
+ ? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
314
333
  key: 0,
315
334
  class: "p-column-resizer",
316
335
  onMousedown: _cache[0] || (_cache[0] = (...args) => ($options.onResizeStart && $options.onResizeStart(...args)))
317
- }, null, 32))
336
+ }, $options.getColumnPTOptions('columnResizer')), null, 16))
318
337
  : vue.createCommentVNode("", true),
319
338
  ($props.column.children && $props.column.children.header)
320
339
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children.header), {
@@ -323,27 +342,34 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
323
342
  }, null, 8, ["column"]))
324
343
  : vue.createCommentVNode("", true),
325
344
  ($options.columnProp('header'))
326
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, vue.toDisplayString($options.columnProp('header')), 1))
345
+ ? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
346
+ key: 2,
347
+ class: "p-column-title"
348
+ }, $options.getColumnPTOptions('headerTitle')), vue.toDisplayString($options.columnProp('header')), 17))
327
349
  : vue.createCommentVNode("", true),
328
350
  ($options.columnProp('sortable'))
329
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$1, [
351
+ ? (vue.openBlock(), vue.createElementBlock("span", vue.normalizeProps(vue.mergeProps({ key: 3 }, $options.getColumnPTOptions('sort'))), [
330
352
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(($props.column.children && $props.column.children.sorticon) || $options.sortableColumnIcon), {
331
353
  sorted: $options.sortState.sorted,
332
354
  sortOrder: $options.sortState.sortOrder,
333
355
  class: "p-sortable-column-icon"
334
356
  }, null, 8, ["sorted", "sortOrder"]))
335
- ]))
357
+ ], 16))
336
358
  : vue.createCommentVNode("", true),
337
359
  ($options.isMultiSorted())
338
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$1, vue.toDisplayString($options.getMultiSortMetaIndex() + 1), 1))
360
+ ? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
361
+ key: 4,
362
+ class: "p-sortable-column-badge"
363
+ }, $options.getColumnPTOptions('sortBadge')), vue.toDisplayString($options.getMultiSortMetaIndex() + 1), 17))
339
364
  : vue.createCommentVNode("", true)
340
- ], 46, _hoisted_1$3))
365
+ ], 16, _hoisted_1$2))
341
366
  }
342
367
 
343
368
  script$3.render = render$3;
344
369
 
345
370
  var script$2 = {
346
371
  name: 'BodyCell',
372
+ extends: BaseComponent__default["default"],
347
373
  emits: ['node-toggle', 'checkbox-toggle'],
348
374
  props: {
349
375
  node: {
@@ -410,6 +436,32 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
410
436
  columnProp(prop) {
411
437
  return utils.ObjectUtils.getVNodeProp(this.column, prop);
412
438
  },
439
+ getColumnPTOptions(key) {
440
+ return this.ptmo(this.getColumnProp(), key, {
441
+ props: this.column.props,
442
+ parent: {
443
+ props: this.$props,
444
+ state: this.$data
445
+ }
446
+ });
447
+ },
448
+ getColumnCheckboxPTOptions(key) {
449
+ return this.ptmo(this.getColumnProp(), key, {
450
+ props: this.column.props,
451
+ parent: {
452
+ props: this.$props,
453
+ state: this.$data
454
+ },
455
+ context: {
456
+ checked: this.checked,
457
+ focused: this.checkboxFocused,
458
+ partialChecked: this.partialChecked
459
+ }
460
+ });
461
+ },
462
+ getColumnProp() {
463
+ return this.column.props && this.column.props.pt ? this.column.props.pt : undefined; //@todo
464
+ },
413
465
  updateStickyPosition() {
414
466
  if (this.columnProp('frozen')) {
415
467
  let align = this.columnProp('alignFrozen');
@@ -488,26 +540,23 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
488
540
  }
489
541
  };
490
542
 
491
- const _hoisted_1$2 = { class: "p-hidden-accessible" };
492
- const _hoisted_2$1 = { key: 3 };
493
-
494
543
  function render$2(_ctx, _cache, $props, $setup, $data, $options) {
495
544
  const _directive_ripple = vue.resolveDirective("ripple");
496
545
 
497
- return (vue.openBlock(), vue.createElementBlock("td", {
498
- style: vue.normalizeStyle($options.containerStyle),
499
- class: vue.normalizeClass($options.containerClass),
546
+ return (vue.openBlock(), vue.createElementBlock("td", vue.mergeProps({
547
+ style: $options.containerStyle,
548
+ class: $options.containerClass,
500
549
  role: "cell"
501
- }, [
550
+ }, { ...$options.getColumnPTOptions('root'), ...$options.getColumnPTOptions('bodyCell') }), [
502
551
  ($options.columnProp('expander'))
503
- ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
552
+ ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
504
553
  key: 0,
505
554
  type: "button",
506
555
  class: "p-treetable-toggler p-link",
507
556
  onClick: _cache[0] || (_cache[0] = (...args) => ($options.toggle && $options.toggle(...args))),
508
- style: vue.normalizeStyle($options.togglerStyle),
557
+ style: $options.togglerStyle,
509
558
  tabindex: "-1"
510
- }, [
559
+ }, $options.getColumnPTOptions('rowToggler')), [
511
560
  ($props.templates['togglericon'])
512
561
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['togglericon']), {
513
562
  key: 0,
@@ -516,36 +565,36 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
516
565
  class: "p-tree-toggler-icon"
517
566
  }, null, 8, ["node", "expanded"]))
518
567
  : ($props.expanded)
519
- ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.expandedIcon ? 'span' : 'ChevronDownIcon'), {
568
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.expandedIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
520
569
  key: 1,
521
570
  class: "p-tree-toggler-icon"
522
- }))
523
- : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.collapsedIcon ? 'span' : 'ChevronRightIcon'), {
571
+ }, $options.getColumnPTOptions('rowTogglerIcon')), null, 16))
572
+ : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.collapsedIcon ? 'span' : 'ChevronRightIcon'), vue.mergeProps({
524
573
  key: 2,
525
574
  class: "p-tree-toggler-icon"
526
- }))
527
- ], 4)), [
575
+ }, $options.getColumnPTOptions('rowTogglerIcon')), null, 16))
576
+ ], 16)), [
528
577
  [_directive_ripple]
529
578
  ])
530
579
  : vue.createCommentVNode("", true),
531
580
  ($options.checkboxSelectionMode && $options.columnProp('expander'))
532
- ? (vue.openBlock(), vue.createElementBlock("div", {
581
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
533
582
  key: 1,
534
- class: vue.normalizeClass(['p-checkbox p-treetable-checkbox p-component', { 'p-checkbox-focused': $data.checkboxFocused }]),
583
+ class: ['p-checkbox p-treetable-checkbox p-component', { 'p-checkbox-focused': $data.checkboxFocused }],
535
584
  onClick: _cache[3] || (_cache[3] = (...args) => ($options.toggleCheckbox && $options.toggleCheckbox(...args)))
536
- }, [
537
- vue.createElementVNode("div", _hoisted_1$2, [
538
- vue.createElementVNode("input", {
585
+ }, $options.getColumnPTOptions('checkboxWrapper')), [
586
+ vue.createElementVNode("div", vue.mergeProps({ class: "p-hidden-accessible" }, $options.getColumnPTOptions('hiddenInputWrapper')), [
587
+ vue.createElementVNode("input", vue.mergeProps({
539
588
  type: "checkbox",
540
589
  onFocus: _cache[1] || (_cache[1] = (...args) => ($options.onCheckboxFocus && $options.onCheckboxFocus(...args))),
541
590
  onBlur: _cache[2] || (_cache[2] = (...args) => ($options.onCheckboxBlur && $options.onCheckboxBlur(...args))),
542
591
  tabindex: "-1"
543
- }, null, 32)
544
- ]),
545
- vue.createElementVNode("div", {
592
+ }, $options.getColumnPTOptions('hiddenInput')), null, 16)
593
+ ], 16),
594
+ vue.createElementVNode("div", vue.mergeProps({
546
595
  ref: "checkboxEl",
547
- class: vue.normalizeClass($options.checkboxClass)
548
- }, [
596
+ class: $options.checkboxClass
597
+ }, $options.getColumnCheckboxPTOptions('checkbox')), [
549
598
  ($props.templates['checkboxicon'])
550
599
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['checkboxicon']), {
551
600
  key: 0,
@@ -553,12 +602,12 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
553
602
  partialChecked: $props.partialChecked,
554
603
  class: "p-checkbox-icon"
555
604
  }, null, 8, ["checked", "partialChecked"]))
556
- : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.checked ? 'CheckIcon' : $props.partialChecked ? 'MinusIcon' : null), {
605
+ : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.checked ? 'CheckIcon' : $props.partialChecked ? 'MinusIcon' : null), vue.mergeProps({
557
606
  key: 1,
558
607
  class: "p-checkbox-icon"
559
- }))
560
- ], 2)
561
- ], 2))
608
+ }, $options.getColumnCheckboxPTOptions('checkboxIcon')), null, 16))
609
+ ], 16)
610
+ ], 16))
562
611
  : vue.createCommentVNode("", true),
563
612
  ($props.column.children && $props.column.children.body)
564
613
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children.body), {
@@ -566,14 +615,15 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
566
615
  node: $props.node,
567
616
  column: $props.column
568
617
  }, null, 8, ["node", "column"]))
569
- : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$1, vue.toDisplayString($options.resolveFieldData($props.node.data, $options.columnProp('field'))), 1))
570
- ], 6))
618
+ : (vue.openBlock(), vue.createElementBlock("span", vue.normalizeProps(vue.mergeProps({ key: 3 }, $options.getColumnPTOptions('cellContent'))), vue.toDisplayString($options.resolveFieldData($props.node.data, $options.columnProp('field'))), 17))
619
+ ], 16))
571
620
  }
572
621
 
573
622
  script$2.render = render$2;
574
623
 
575
624
  var script$1 = {
576
625
  name: 'TreeTableRow',
626
+ extends: BaseComponent__default["default"],
577
627
  emits: ['node-click', 'node-toggle', 'checkbox-change', 'nodeClick', 'nodeToggle', 'checkboxChange'],
578
628
  props: {
579
629
  node: {
@@ -934,10 +984,10 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
934
984
  const _component_TreeTableRow = vue.resolveComponent("TreeTableRow", true);
935
985
 
936
986
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
937
- vue.createElementVNode("tr", {
987
+ vue.createElementVNode("tr", vue.mergeProps({
938
988
  ref: "node",
939
- class: vue.normalizeClass($options.containerClass),
940
- style: vue.normalizeStyle($props.node.style),
989
+ class: $options.containerClass,
990
+ style: $props.node.style,
941
991
  tabindex: $props.tabindex,
942
992
  role: "row",
943
993
  "aria-expanded": $options.expanded,
@@ -949,7 +999,7 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
949
999
  onClick: _cache[1] || (_cache[1] = (...args) => ($options.onClick && $options.onClick(...args))),
950
1000
  onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
951
1001
  onTouchend: _cache[3] || (_cache[3] = (...args) => ($options.onTouchEnd && $options.onTouchEnd(...args)))
952
- }, [
1002
+ }, _ctx.ptm('row')), [
953
1003
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.columns, (col, i) => {
954
1004
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
955
1005
  key: $options.columnProp(col, 'columnKey') || $options.columnProp(col, 'field') || i
@@ -968,12 +1018,13 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
968
1018
  partialChecked: $options.partialChecked,
969
1019
  templates: $props.templates,
970
1020
  onNodeToggle: _cache[0] || (_cache[0] = $event => (_ctx.$emit('node-toggle', $event))),
971
- onCheckboxToggle: $options.toggleCheckbox
972
- }, null, 8, ["column", "node", "level", "leaf", "indentation", "expanded", "selectionMode", "checked", "partialChecked", "templates", "onCheckboxToggle"]))
1021
+ onCheckboxToggle: $options.toggleCheckbox,
1022
+ pt: _ctx.pt
1023
+ }, null, 8, ["column", "node", "level", "leaf", "indentation", "expanded", "selectionMode", "checked", "partialChecked", "templates", "onCheckboxToggle", "pt"]))
973
1024
  : vue.createCommentVNode("", true)
974
1025
  ], 64))
975
1026
  }), 128))
976
- ], 46, _hoisted_1$1),
1027
+ ], 16, _hoisted_1$1),
977
1028
  ($options.expanded && $props.node.children && $props.node.children.length)
978
1029
  ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList($props.node.children, (childNode) => {
979
1030
  return (vue.openBlock(), vue.createBlock(_component_TreeTableRow, {
@@ -991,8 +1042,9 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
991
1042
  templates: $props.templates,
992
1043
  onNodeToggle: _cache[4] || (_cache[4] = $event => (_ctx.$emit('node-toggle', $event))),
993
1044
  onNodeClick: _cache[5] || (_cache[5] = $event => (_ctx.$emit('node-click', $event))),
994
- onCheckboxChange: $options.onCheckboxChange
995
- }, null, 8, ["columns", "node", "parentNode", "level", "expandedKeys", "selectionMode", "selectionKeys", "indentation", "ariaPosInset", "ariaSetSize", "templates", "onCheckboxChange"]))
1045
+ onCheckboxChange: $options.onCheckboxChange,
1046
+ pt: _ctx.pt
1047
+ }, null, 8, ["columns", "node", "parentNode", "level", "expandedKeys", "selectionMode", "selectionKeys", "indentation", "ariaPosInset", "ariaSetSize", "templates", "onCheckboxChange", "pt"]))
996
1048
  }), 128))
997
1049
  : vue.createCommentVNode("", true)
998
1050
  ], 64))
@@ -1002,6 +1054,7 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
1002
1054
 
1003
1055
  var script = {
1004
1056
  name: 'TreeTable',
1057
+ extends: BaseComponent__default["default"],
1005
1058
  emits: [
1006
1059
  'node-expand',
1007
1060
  'node-collapse',
@@ -1857,45 +1910,7 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
1857
1910
  }
1858
1911
  };
1859
1912
 
1860
- const _hoisted_1 = {
1861
- key: 0,
1862
- class: "p-treetable-loading"
1863
- };
1864
- const _hoisted_2 = { class: "p-treetable-loading-overlay p-component-overlay" };
1865
- const _hoisted_3 = {
1866
- key: 1,
1867
- class: "p-treetable-header"
1868
- };
1869
- const _hoisted_4 = {
1870
- class: "p-treetable-thead",
1871
- role: "rowgroup"
1872
- };
1873
- const _hoisted_5 = { role: "row" };
1874
- const _hoisted_6 = { key: 0 };
1875
- const _hoisted_7 = {
1876
- class: "p-treetable-tbody",
1877
- role: "rowgroup"
1878
- };
1879
- const _hoisted_8 = {
1880
- key: 1,
1881
- class: "p-treetable-emptymessage"
1882
- };
1883
- const _hoisted_9 = ["colspan"];
1884
- const _hoisted_10 = {
1885
- key: 0,
1886
- class: "p-treetable-tfoot",
1887
- role: "rowgroup"
1888
- };
1889
- const _hoisted_11 = { role: "row" };
1890
- const _hoisted_12 = {
1891
- key: 4,
1892
- class: "p-treetable-footer"
1893
- };
1894
- const _hoisted_13 = {
1895
- ref: "resizeHelper",
1896
- class: "p-column-resizer-helper p-highlight",
1897
- style: {"display":"none"}
1898
- };
1913
+ const _hoisted_1 = ["colspan"];
1899
1914
 
1900
1915
  function render(_ctx, _cache, $props, $setup, $data, $options) {
1901
1916
  const _component_TTPaginator = vue.resolveComponent("TTPaginator");
@@ -1903,27 +1918,33 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
1903
1918
  const _component_TTRow = vue.resolveComponent("TTRow");
1904
1919
  const _component_TTFooterCell = vue.resolveComponent("TTFooterCell");
1905
1920
 
1906
- return (vue.openBlock(), vue.createElementBlock("div", {
1907
- class: vue.normalizeClass($options.containerClass),
1921
+ return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
1922
+ class: $options.containerClass,
1908
1923
  "data-scrollselectors": ".p-treetable-scrollable-body",
1909
1924
  role: "table"
1910
- }, [
1925
+ }, _ctx.ptm('root')), [
1911
1926
  ($props.loading)
1912
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
1913
- vue.createElementVNode("div", _hoisted_2, [
1927
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
1928
+ key: 0,
1929
+ class: "p-treetable-loading"
1930
+ }, _ctx.ptm('loadingWrapper')), [
1931
+ vue.createElementVNode("div", vue.mergeProps({ class: "p-treetable-loading-overlay p-component-overlay" }, _ctx.ptm('loadingOverlay')), [
1914
1932
  vue.renderSlot(_ctx.$slots, "loadingicon", {}, () => [
1915
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.loadingIcon ? 'span' : 'SpinnerIcon'), {
1933
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.loadingIcon ? 'span' : 'SpinnerIcon'), vue.mergeProps({
1916
1934
  spin: "",
1917
- class: vue.normalizeClass(['p-treetable-loading-icon', $props.loadingIcon])
1918
- }, null, 8, ["class"]))
1935
+ class: ['p-treetable-loading-icon', $props.loadingIcon]
1936
+ }, _ctx.ptm('loadingIcon')), null, 16, ["class"]))
1919
1937
  ])
1920
- ])
1921
- ]))
1938
+ ], 16)
1939
+ ], 16))
1922
1940
  : vue.createCommentVNode("", true),
1923
1941
  (_ctx.$slots.header)
1924
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
1942
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
1943
+ key: 1,
1944
+ class: "p-treetable-header"
1945
+ }, _ctx.ptm('header')), [
1925
1946
  vue.renderSlot(_ctx.$slots, "header")
1926
- ]))
1947
+ ], 16))
1927
1948
  : vue.createCommentVNode("", true),
1928
1949
  ($options.paginatorTop)
1929
1950
  ? (vue.openBlock(), vue.createBlock(_component_TTPaginator, {
@@ -1937,7 +1958,8 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
1937
1958
  currentPageReportTemplate: $props.currentPageReportTemplate,
1938
1959
  class: "p-paginator-top",
1939
1960
  onPage: _cache[0] || (_cache[0] = $event => ($options.onPage($event))),
1940
- alwaysShow: $props.alwaysShowPaginator
1961
+ alwaysShow: $props.alwaysShowPaginator,
1962
+ pt: _ctx.ptm('paginator')
1941
1963
  }, vue.createSlots({ _: 2 }, [
1942
1964
  (_ctx.$slots.paginatorstart)
1943
1965
  ? {
@@ -1993,18 +2015,21 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
1993
2015
  key: "5"
1994
2016
  }
1995
2017
  : undefined
1996
- ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
2018
+ ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow", "pt"]))
1997
2019
  : vue.createCommentVNode("", true),
1998
- vue.createElementVNode("div", {
2020
+ vue.createElementVNode("div", vue.mergeProps({
1999
2021
  class: "p-treetable-wrapper",
2000
- style: vue.normalizeStyle({ maxHeight: $props.scrollHeight })
2001
- }, [
2022
+ style: { maxHeight: $props.scrollHeight }
2023
+ }, _ctx.ptm('wrapper')), [
2002
2024
  vue.createElementVNode("table", vue.mergeProps({
2003
2025
  ref: "table",
2004
2026
  role: "table"
2005
- }, $props.tableProps), [
2006
- vue.createElementVNode("thead", _hoisted_4, [
2007
- vue.createElementVNode("tr", _hoisted_5, [
2027
+ }, { ...$props.tableProps, ..._ctx.ptm('table') }), [
2028
+ vue.createElementVNode("thead", vue.mergeProps({
2029
+ class: "p-treetable-thead",
2030
+ role: "rowgroup"
2031
+ }, _ctx.ptm('thead')), [
2032
+ vue.createElementVNode("tr", vue.mergeProps({ role: "row" }, _ctx.ptm('headerRow')), [
2008
2033
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.columns, (col, i) => {
2009
2034
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
2010
2035
  key: $options.columnProp(col, 'columnKey') || $options.columnProp(col, 'field') || i
@@ -2019,38 +2044,42 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
2019
2044
  multiSortMeta: $data.d_multiSortMeta,
2020
2045
  sortMode: $props.sortMode,
2021
2046
  onColumnClick: $options.onColumnHeaderClick,
2022
- onColumnResizestart: $options.onColumnResizeStart
2023
- }, null, 8, ["column", "resizableColumns", "sortField", "sortOrder", "multiSortMeta", "sortMode", "onColumnClick", "onColumnResizestart"]))
2047
+ onColumnResizestart: $options.onColumnResizeStart,
2048
+ pt: _ctx.pt
2049
+ }, null, 8, ["column", "resizableColumns", "sortField", "sortOrder", "multiSortMeta", "sortMode", "onColumnClick", "onColumnResizestart", "pt"]))
2024
2050
  : vue.createCommentVNode("", true)
2025
2051
  ], 64))
2026
2052
  }), 128))
2027
- ]),
2053
+ ], 16),
2028
2054
  ($options.hasColumnFilter())
2029
- ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_6, [
2055
+ ? (vue.openBlock(), vue.createElementBlock("tr", vue.normalizeProps(vue.mergeProps({ key: 0 }, _ctx.ptm('headerRow'))), [
2030
2056
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.columns, (col, i) => {
2031
2057
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
2032
2058
  key: $options.columnProp(col, 'columnKey') || $options.columnProp(col, 'field') || i
2033
2059
  }, [
2034
2060
  (!$options.columnProp(col, 'hidden'))
2035
- ? (vue.openBlock(), vue.createElementBlock("th", {
2061
+ ? (vue.openBlock(), vue.createElementBlock("th", vue.mergeProps({
2036
2062
  key: 0,
2037
- class: vue.normalizeClass($options.getFilterColumnHeaderClass(col)),
2038
- style: vue.normalizeStyle([$options.columnProp(col, 'style'), $options.columnProp(col, 'filterHeaderStyle')])
2039
- }, [
2063
+ class: $options.getFilterColumnHeaderClass(col),
2064
+ style: [$options.columnProp(col, 'style'), $options.columnProp(col, 'filterHeaderStyle')]
2065
+ }, _ctx.ptm('headerCell')), [
2040
2066
  (col.children && col.children.filter)
2041
2067
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(col.children.filter), {
2042
2068
  key: 0,
2043
2069
  column: col
2044
2070
  }, null, 8, ["column"]))
2045
2071
  : vue.createCommentVNode("", true)
2046
- ], 6))
2072
+ ], 16))
2047
2073
  : vue.createCommentVNode("", true)
2048
2074
  ], 64))
2049
2075
  }), 128))
2050
- ]))
2076
+ ], 16))
2051
2077
  : vue.createCommentVNode("", true)
2052
- ]),
2053
- vue.createElementVNode("tbody", _hoisted_7, [
2078
+ ], 16),
2079
+ vue.createElementVNode("tbody", vue.mergeProps({
2080
+ class: "p-treetable-tbody",
2081
+ role: "rowgroup"
2082
+ }, _ctx.ptm('tbody')), [
2054
2083
  (!$options.empty)
2055
2084
  ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList($options.dataToRender, (node, index) => {
2056
2085
  return (vue.openBlock(), vue.createBlock(_component_TTRow, {
@@ -2068,20 +2097,28 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
2068
2097
  templates: _ctx.$slots,
2069
2098
  onNodeToggle: $options.onNodeToggle,
2070
2099
  onNodeClick: $options.onNodeClick,
2071
- onCheckboxChange: $options.onCheckboxChange
2072
- }, null, 8, ["columns", "node", "expandedKeys", "indentation", "selectionMode", "selectionKeys", "ariaSetSize", "ariaPosInset", "tabindex", "templates", "onNodeToggle", "onNodeClick", "onCheckboxChange"]))
2100
+ onCheckboxChange: $options.onCheckboxChange,
2101
+ pt: _ctx.pt
2102
+ }, null, 8, ["columns", "node", "expandedKeys", "indentation", "selectionMode", "selectionKeys", "ariaSetSize", "ariaPosInset", "tabindex", "templates", "onNodeToggle", "onNodeClick", "onCheckboxChange", "pt"]))
2073
2103
  }), 128))
2074
- : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_8, [
2075
- vue.createElementVNode("td", {
2104
+ : (vue.openBlock(), vue.createElementBlock("tr", vue.mergeProps({
2105
+ key: 1,
2106
+ class: "p-treetable-emptymessage"
2107
+ }, _ctx.ptm('emptyMessage')), [
2108
+ vue.createElementVNode("td", vue.mergeProps({
2076
2109
  colspan: $options.columns.length
2077
- }, [
2110
+ }, _ctx.ptm('bodyCell')), [
2078
2111
  vue.renderSlot(_ctx.$slots, "empty")
2079
- ], 8, _hoisted_9)
2080
- ]))
2081
- ]),
2112
+ ], 16, _hoisted_1)
2113
+ ], 16))
2114
+ ], 16),
2082
2115
  ($options.hasFooter)
2083
- ? (vue.openBlock(), vue.createElementBlock("tfoot", _hoisted_10, [
2084
- vue.createElementVNode("tr", _hoisted_11, [
2116
+ ? (vue.openBlock(), vue.createElementBlock("tfoot", vue.mergeProps({
2117
+ key: 0,
2118
+ class: "p-treetable-tfoot",
2119
+ role: "rowgroup"
2120
+ }, _ctx.ptm('tfoot')), [
2121
+ vue.createElementVNode("tr", vue.mergeProps({ role: "row" }, _ctx.ptm('footerRow')), [
2085
2122
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.columns, (col, i) => {
2086
2123
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
2087
2124
  key: $options.columnProp(col, 'columnKey') || $options.columnProp(col, 'field') || i
@@ -2089,16 +2126,17 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
2089
2126
  (!$options.columnProp(col, 'hidden'))
2090
2127
  ? (vue.openBlock(), vue.createBlock(_component_TTFooterCell, {
2091
2128
  key: 0,
2092
- column: col
2093
- }, null, 8, ["column"]))
2129
+ column: col,
2130
+ pt: _ctx.pt
2131
+ }, null, 8, ["column", "pt"]))
2094
2132
  : vue.createCommentVNode("", true)
2095
2133
  ], 64))
2096
2134
  }), 128))
2097
- ])
2098
- ]))
2135
+ ], 16)
2136
+ ], 16))
2099
2137
  : vue.createCommentVNode("", true)
2100
2138
  ], 16)
2101
- ], 4),
2139
+ ], 16),
2102
2140
  ($options.paginatorBottom)
2103
2141
  ? (vue.openBlock(), vue.createBlock(_component_TTPaginator, {
2104
2142
  key: 3,
@@ -2111,7 +2149,8 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
2111
2149
  currentPageReportTemplate: $props.currentPageReportTemplate,
2112
2150
  class: "p-paginator-bottom",
2113
2151
  onPage: _cache[1] || (_cache[1] = $event => ($options.onPage($event))),
2114
- alwaysShow: $props.alwaysShowPaginator
2152
+ alwaysShow: $props.alwaysShowPaginator,
2153
+ pt: _ctx.pt
2115
2154
  }, vue.createSlots({ _: 2 }, [
2116
2155
  (_ctx.$slots.paginatorstart)
2117
2156
  ? {
@@ -2167,15 +2206,22 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
2167
2206
  key: "5"
2168
2207
  }
2169
2208
  : undefined
2170
- ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
2209
+ ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow", "pt"]))
2171
2210
  : vue.createCommentVNode("", true),
2172
2211
  (_ctx.$slots.footer)
2173
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
2212
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
2213
+ key: 4,
2214
+ class: "p-treetable-footer"
2215
+ }, _ctx.ptm('footer')), [
2174
2216
  vue.renderSlot(_ctx.$slots, "footer")
2175
- ]))
2217
+ ], 16))
2176
2218
  : vue.createCommentVNode("", true),
2177
- vue.createElementVNode("div", _hoisted_13, null, 512)
2178
- ], 2))
2219
+ vue.createElementVNode("div", vue.mergeProps({
2220
+ ref: "resizeHelper",
2221
+ class: "p-column-resizer-helper p-highlight",
2222
+ style: {"display":"none"}
2223
+ }, _ctx.ptm('resizeHelper')), null, 16)
2224
+ ], 16))
2179
2225
  }
2180
2226
 
2181
2227
  function styleInject(css, ref) {
@@ -2212,4 +2258,4 @@ this.primevue.treetable = (function (api, SpinnerIcon, Paginator, utils, vue, So
2212
2258
 
2213
2259
  return script;
2214
2260
 
2215
- })(primevue.api, primevue.icons.spinner, primevue.paginator, primevue.utils, Vue, primevue.icons.sortalt, primevue.icons.sortamountdown, primevue.icons.sortamountupalt, primevue.icons.check, primevue.icons.chevrondown, primevue.icons.chevronright, primevue.icons.minus, primevue.ripple);
2261
+ })(primevue.api, primevue.basecomponent, primevue.icons.spinner, primevue.paginator, primevue.utils, Vue, primevue.icons.sortalt, primevue.icons.sortamountdown, primevue.icons.sortamountupalt, primevue.icons.check, primevue.icons.chevrondown, primevue.icons.chevronright, primevue.icons.minus, primevue.ripple);