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
package/core/core.js CHANGED
@@ -1914,7 +1914,7 @@ this.primevue.portal = (function (utils, vue) {
1914
1914
  })(primevue.utils, Vue);
1915
1915
 
1916
1916
  this.primevue = this.primevue || {};
1917
- this.primevue.basecomponent = (function (utils) {
1917
+ this.primevue.basecomponent = (function (utils, vue) {
1918
1918
  'use strict';
1919
1919
 
1920
1920
  var script = {
@@ -1926,17 +1926,22 @@ this.primevue.basecomponent = (function (utils) {
1926
1926
  }
1927
1927
  },
1928
1928
  methods: {
1929
- getPTItem(obj = {}, key = '') {
1929
+ getOption(obj = {}, key = '') {
1930
1930
  const fKey = utils.ObjectUtils.convertToFlatCase(key);
1931
1931
 
1932
1932
  return obj[Object.keys(obj).find((k) => utils.ObjectUtils.convertToFlatCase(k) === fKey) || ''];
1933
1933
  },
1934
1934
  getPTValue(obj = {}, key = '', params = {}) {
1935
- const self = utils.ObjectUtils.getItemValue(this.getPTItem(obj, key), params);
1936
- const globalComponentPT = this.getPTItem(this.$primevue.config.pt, this.$.type.name);
1937
- const global = utils.ObjectUtils.getItemValue(this.getPTItem(globalComponentPT, key), params);
1935
+ const self = utils.ObjectUtils.getItemValue(this.getOption(obj, key), params);
1936
+ const globalPT = utils.ObjectUtils.getItemValue(this.getOption(this.defaultPT, key), params);
1937
+ const merged = vue.mergeProps(self, globalPT);
1938
1938
 
1939
- return { ...global, ...self };
1939
+ return merged;
1940
+ /*
1941
+ * @todo: The 'class' option in self can always be more powerful to style the component easily.
1942
+ *
1943
+ * return self && self['class'] ? { ...merged, ...{ class: self['class'] } } : merged;
1944
+ */
1940
1945
  },
1941
1946
  ptm(key = '', params = {}) {
1942
1947
  return this.getPTValue(this.pt, key, { props: this.$props, state: this.$data, ...params });
@@ -1944,12 +1949,20 @@ this.primevue.basecomponent = (function (utils) {
1944
1949
  ptmo(obj = {}, key = '', params = {}) {
1945
1950
  return this.getPTValue(obj, key, params);
1946
1951
  }
1952
+ },
1953
+ computed: {
1954
+ defaultPT() {
1955
+ return utils.ObjectUtils.getItemValue(this.getOption(this.$primevue.config.pt, this.$.type.name), this.defaultsParams);
1956
+ },
1957
+ defaultsParams() {
1958
+ return { instance: this.$ };
1959
+ }
1947
1960
  }
1948
1961
  };
1949
1962
 
1950
1963
  return script;
1951
1964
 
1952
- })(primevue.utils);
1965
+ })(primevue.utils, Vue);
1953
1966
 
1954
1967
  this.primevue = this.primevue || {};
1955
1968
  this.primevue.baseicon = (function (utils) {
@@ -4042,6 +4055,8 @@ this.primevue = this.primevue || {};
4042
4055
  this.primevue.tooltip = (function (utils) {
4043
4056
  'use strict';
4044
4057
 
4058
+ let timer;
4059
+
4045
4060
  function bindEvents(el) {
4046
4061
  const modifiers = el.$_ptooltipModifiers;
4047
4062
 
@@ -4089,30 +4104,45 @@ this.primevue.tooltip = (function (utils) {
4089
4104
  }
4090
4105
 
4091
4106
  function onMouseEnter(event) {
4092
- show(event.currentTarget);
4107
+ const el = event.currentTarget;
4108
+ const showDelay = el.$_ptooltipShowDelay;
4109
+
4110
+ show(el, showDelay);
4093
4111
  }
4094
4112
 
4095
4113
  function onMouseLeave(event) {
4096
- hide(event.currentTarget);
4114
+ const el = event.currentTarget;
4115
+ const hideDelay = el.$_ptooltipHideDelay;
4116
+
4117
+ hide(el, hideDelay);
4097
4118
  }
4098
4119
 
4099
4120
  function onFocus(event) {
4100
- show(event.currentTarget);
4121
+ const el = event.currentTarget;
4122
+ const showDelay = el.$_ptooltipShowDelay;
4123
+
4124
+ show(el, showDelay);
4101
4125
  }
4102
4126
 
4103
4127
  function onBlur(event) {
4104
- hide(event.currentTarget);
4128
+ const el = event.currentTarget;
4129
+ const hideDelay = el.$_ptooltipHideDelay;
4130
+
4131
+ hide(el, hideDelay);
4105
4132
  }
4106
4133
 
4107
4134
  function onClick(event) {
4108
- hide(event.currentTarget);
4135
+ const el = event.currentTarget;
4136
+ const hideDelay = el.$_ptooltipHideDelay;
4137
+
4138
+ hide(el, hideDelay);
4109
4139
  }
4110
4140
 
4111
4141
  function onKeydown(event) {
4112
- event.code === 'Escape' && hide(event.currentTarget);
4142
+ event.code === 'Escape' && hide(event.currentTarget, hideDelay);
4113
4143
  }
4114
4144
 
4115
- function show(el) {
4145
+ function tooltipActions(el) {
4116
4146
  if (el.$_ptooltipDisabled) {
4117
4147
  return;
4118
4148
  }
@@ -4134,11 +4164,29 @@ this.primevue.tooltip = (function (utils) {
4134
4164
  utils.ZIndexUtils.set('tooltip', tooltipElement, el.$_ptooltipZIndex);
4135
4165
  }
4136
4166
 
4137
- function hide(el) {
4167
+ function show(el, showDelay) {
4168
+ if (showDelay !== undefined) {
4169
+ timer = setTimeout(() => tooltipActions(el), showDelay);
4170
+ } else {
4171
+ tooltipActions(el);
4172
+ }
4173
+ }
4174
+
4175
+ function tooltipRemoval(el) {
4138
4176
  remove(el);
4139
4177
  unbindScrollListener(el);
4140
4178
  }
4141
4179
 
4180
+ function hide(el, hideDelay) {
4181
+ clearTimeout(timer);
4182
+
4183
+ if (hideDelay !== undefined) {
4184
+ setTimeout(() => tooltipRemoval(el), hideDelay);
4185
+ } else {
4186
+ tooltipRemoval(el);
4187
+ }
4188
+ }
4189
+
4142
4190
  function getTooltipElement(el) {
4143
4191
  return document.getElementById(el.$_ptooltipId);
4144
4192
  }
@@ -4363,7 +4411,8 @@ this.primevue.tooltip = (function (utils) {
4363
4411
  target.$_ptooltipEscape = false;
4364
4412
  target.$_ptooltipClass = null;
4365
4413
  target.$_ptooltipFitContent = true;
4366
- target.$_ptooltipIdAttr = '';
4414
+ target.$_ptooltipShowDelay = 0;
4415
+ target.$_ptooltipHideDelay = 0;
4367
4416
  } else if (typeof options.value === 'object' && options.value) {
4368
4417
  if (utils.ObjectUtils.isEmpty(options.value.value) || options.value.value.trim() === '') return;
4369
4418
  else {
@@ -4374,6 +4423,8 @@ this.primevue.tooltip = (function (utils) {
4374
4423
  target.$_ptooltipClass = options.value.class;
4375
4424
  target.$_ptooltipFitContent = !!options.value.fitContent === options.value.fitContent ? options.value.fitContent : true;
4376
4425
  target.$_ptooltipIdAttr = options.value.id || '';
4426
+ target.$_ptooltipShowDelay = options.value.showDelay || 0;
4427
+ target.$_ptooltipHideDelay = options.value.hideDelay || 0;
4377
4428
  }
4378
4429
  }
4379
4430
 
@@ -4405,6 +4456,8 @@ this.primevue.tooltip = (function (utils) {
4405
4456
  target.$_ptooltipEscape = false;
4406
4457
  target.$_ptooltipClass = null;
4407
4458
  target.$_ptooltipIdAttr = '';
4459
+ target.$_ptooltipShowDelay = 0;
4460
+ target.$_ptooltipHideDelay = 0;
4408
4461
 
4409
4462
  bindEvents(target);
4410
4463
  } else if (typeof options.value === 'object' && options.value) {
@@ -4419,6 +4472,8 @@ this.primevue.tooltip = (function (utils) {
4419
4472
  target.$_ptooltipClass = options.value.class;
4420
4473
  target.$_ptooltipFitContent = !!options.value.fitContent === options.value.fitContent ? options.value.fitContent : true;
4421
4474
  target.$_ptooltipIdAttr = options.value.id || '';
4475
+ target.$_ptooltipShowDelay = options.value.showDelay || 0;
4476
+ target.$_ptooltipHideDelay = options.value.hideDelay || 0;
4422
4477
 
4423
4478
  bindEvents(target);
4424
4479
  }
@@ -4550,15 +4605,17 @@ this.primevue.focustrap = (function (utils) {
4550
4605
  })(primevue.utils);
4551
4606
 
4552
4607
  this.primevue = this.primevue || {};
4553
- this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
4608
+ this.primevue.virtualscroller = (function (BaseComponent, SpinnerIcon, utils, vue) {
4554
4609
  'use strict';
4555
4610
 
4556
4611
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
4557
4612
 
4613
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
4558
4614
  var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
4559
4615
 
4560
4616
  var script = {
4561
4617
  name: 'VirtualScroller',
4618
+ extends: BaseComponent__default["default"],
4562
4619
  emits: ['update:numToleratedItems', 'scroll', 'scroll-index-change', 'lazy-load'],
4563
4620
  props: {
4564
4621
  id: {
@@ -5267,14 +5324,14 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
5267
5324
  const _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
5268
5325
 
5269
5326
  return (!$props.disabled)
5270
- ? (vue.openBlock(), vue.createElementBlock("div", {
5327
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
5271
5328
  key: 0,
5272
5329
  ref: $options.elementRef,
5273
- class: vue.normalizeClass($options.containerClass),
5330
+ class: $options.containerClass,
5274
5331
  tabindex: $props.tabindex,
5275
- style: vue.normalizeStyle($props.style),
5332
+ style: $props.style,
5276
5333
  onScroll: _cache[0] || (_cache[0] = (...args) => ($options.onScroll && $options.onScroll(...args)))
5277
- }, [
5334
+ }, _ctx.ptm('root')), [
5278
5335
  vue.renderSlot(_ctx.$slots, "content", {
5279
5336
  styleClass: $options.contentClass,
5280
5337
  items: $options.loadedItems,
@@ -5291,11 +5348,11 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
5291
5348
  horizontal: $options.isHorizontal(),
5292
5349
  both: $options.isBoth()
5293
5350
  }, () => [
5294
- vue.createElementVNode("div", {
5351
+ vue.createElementVNode("div", vue.mergeProps({
5295
5352
  ref: $options.contentRef,
5296
- class: vue.normalizeClass($options.contentClass),
5297
- style: vue.normalizeStyle($data.contentStyle)
5298
- }, [
5353
+ class: $options.contentClass,
5354
+ style: $data.contentStyle
5355
+ }, _ctx.ptm('content')), [
5299
5356
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.loadedItems, (item, index) => {
5300
5357
  return vue.renderSlot(_ctx.$slots, "item", {
5301
5358
  key: index,
@@ -5303,20 +5360,20 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
5303
5360
  options: $options.getOptions(index)
5304
5361
  })
5305
5362
  }), 128))
5306
- ], 6)
5363
+ ], 16)
5307
5364
  ]),
5308
5365
  ($props.showSpacer)
5309
- ? (vue.openBlock(), vue.createElementBlock("div", {
5366
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
5310
5367
  key: 0,
5311
5368
  class: "p-virtualscroller-spacer",
5312
- style: vue.normalizeStyle($data.spacerStyle)
5313
- }, null, 4))
5369
+ style: $data.spacerStyle
5370
+ }, _ctx.ptm('spacer')), null, 16))
5314
5371
  : vue.createCommentVNode("", true),
5315
5372
  (!$props.loaderDisabled && $props.showLoader && $data.d_loading)
5316
- ? (vue.openBlock(), vue.createElementBlock("div", {
5373
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
5317
5374
  key: 1,
5318
- class: vue.normalizeClass($options.loaderClass)
5319
- }, [
5375
+ class: $options.loaderClass
5376
+ }, _ctx.ptm('loader')), [
5320
5377
  (_ctx.$slots && _ctx.$slots.loader)
5321
5378
  ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList($data.loaderArr, (_, index) => {
5322
5379
  return vue.renderSlot(_ctx.$slots, "loader", {
@@ -5326,14 +5383,14 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
5326
5383
  }), 128))
5327
5384
  : vue.createCommentVNode("", true),
5328
5385
  vue.renderSlot(_ctx.$slots, "loadingicon", {}, () => [
5329
- vue.createVNode(_component_SpinnerIcon, {
5386
+ vue.createVNode(_component_SpinnerIcon, vue.mergeProps({
5330
5387
  spin: "",
5331
5388
  class: "p-virtualscroller-loading-icon"
5332
- })
5389
+ }, _ctx.ptm('loadingIcon')), null, 16)
5333
5390
  ])
5334
- ], 2))
5391
+ ], 16))
5335
5392
  : vue.createCommentVNode("", true)
5336
- ], 46, _hoisted_1))
5393
+ ], 16, _hoisted_1))
5337
5394
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
5338
5395
  vue.renderSlot(_ctx.$slots, "default"),
5339
5396
  vue.renderSlot(_ctx.$slots, "content", {
@@ -5378,7 +5435,7 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
5378
5435
 
5379
5436
  return script;
5380
5437
 
5381
- })(primevue.icons.spinner, primevue.utils, Vue);
5438
+ })(primevue.basecomponent, primevue.icons.spinner, primevue.utils, Vue);
5382
5439
 
5383
5440
  this.primevue = this.primevue || {};
5384
5441
  this.primevue.confirmationeventbus = (function (utils) {
@@ -5708,11 +5765,16 @@ this.primevue.button = (function (BaseComponent, SpinnerIcon, Ripple, vue) {
5708
5765
  })(primevue.basecomponent, primevue.icons.spinner, primevue.ripple, Vue);
5709
5766
 
5710
5767
  this.primevue = this.primevue || {};
5711
- this.primevue.inputtext = (function (vue) {
5768
+ this.primevue.inputtext = (function (BaseComponent, vue) {
5712
5769
  'use strict';
5713
5770
 
5771
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
5772
+
5773
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
5774
+
5714
5775
  var script = {
5715
5776
  name: 'InputText',
5777
+ extends: BaseComponent__default["default"],
5716
5778
  emits: ['update:modelValue'],
5717
5779
  props: {
5718
5780
  modelValue: null
@@ -5732,25 +5794,26 @@ this.primevue.inputtext = (function (vue) {
5732
5794
  const _hoisted_1 = ["value"];
5733
5795
 
5734
5796
  function render(_ctx, _cache, $props, $setup, $data, $options) {
5735
- return (vue.openBlock(), vue.createElementBlock("input", {
5736
- class: vue.normalizeClass(['p-inputtext p-component', { 'p-filled': $options.filled }]),
5797
+ return (vue.openBlock(), vue.createElementBlock("input", vue.mergeProps({
5798
+ class: ['p-inputtext p-component', { 'p-filled': $options.filled }],
5737
5799
  value: $props.modelValue,
5738
5800
  onInput: _cache[0] || (_cache[0] = (...args) => ($options.onInput && $options.onInput(...args)))
5739
- }, null, 42, _hoisted_1))
5801
+ }, _ctx.ptm('root')), null, 16, _hoisted_1))
5740
5802
  }
5741
5803
 
5742
5804
  script.render = render;
5743
5805
 
5744
5806
  return script;
5745
5807
 
5746
- })(Vue);
5808
+ })(primevue.basecomponent, Vue);
5747
5809
 
5748
5810
  this.primevue = this.primevue || {};
5749
- this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, InputText, utils, vue) {
5811
+ this.primevue.inputnumber = (function (BaseComponent, Button, AngleDownIcon, AngleUpIcon, InputText, utils, vue) {
5750
5812
  'use strict';
5751
5813
 
5752
5814
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
5753
5815
 
5816
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
5754
5817
  var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
5755
5818
  var AngleDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDownIcon);
5756
5819
  var AngleUpIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleUpIcon);
@@ -5758,6 +5821,7 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
5758
5821
 
5759
5822
  var script = {
5760
5823
  name: 'InputNumber',
5824
+ extends: BaseComponent__default["default"],
5761
5825
  emits: ['update:modelValue', 'input', 'focus', 'blur'],
5762
5826
  props: {
5763
5827
  modelValue: {
@@ -6817,18 +6881,11 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
6817
6881
  }
6818
6882
  };
6819
6883
 
6820
- const _hoisted_1 = {
6821
- key: 0,
6822
- class: "p-inputnumber-button-group"
6823
- };
6824
-
6825
6884
  function render(_ctx, _cache, $props, $setup, $data, $options) {
6826
6885
  const _component_INInputText = vue.resolveComponent("INInputText");
6827
6886
  const _component_INButton = vue.resolveComponent("INButton");
6828
6887
 
6829
- return (vue.openBlock(), vue.createElementBlock("span", {
6830
- class: vue.normalizeClass($options.containerClass)
6831
- }, [
6888
+ return (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: $options.containerClass }, _ctx.ptm('root')), [
6832
6889
  vue.createVNode(_component_INInputText, vue.mergeProps({
6833
6890
  ref: "input",
6834
6891
  id: $props.inputId,
@@ -6851,19 +6908,20 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
6851
6908
  onClick: $options.onInputClick,
6852
6909
  onFocus: $options.onInputFocus,
6853
6910
  onBlur: $options.onInputBlur
6854
- }, $props.inputProps), null, 16, ["id", "class", "style", "value", "aria-valuemin", "aria-valuemax", "aria-valuenow", "disabled", "readonly", "placeholder", "aria-labelledby", "aria-label", "onInput", "onKeydown", "onKeypress", "onPaste", "onClick", "onFocus", "onBlur"]),
6911
+ }, { ...$props.inputProps, ..._ctx.ptm('input') }), null, 16, ["id", "class", "style", "value", "aria-valuemin", "aria-valuemax", "aria-valuenow", "disabled", "readonly", "placeholder", "aria-labelledby", "aria-label", "onInput", "onKeydown", "onKeypress", "onPaste", "onClick", "onFocus", "onBlur"]),
6855
6912
  ($props.showButtons && $props.buttonLayout === 'stacked')
6856
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, [
6913
+ ? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
6914
+ key: 0,
6915
+ class: "p-inputnumber-button-group"
6916
+ }, _ctx.ptm('buttonGroup')), [
6857
6917
  vue.createVNode(_component_INButton, vue.mergeProps({ class: $options.upButtonClass }, vue.toHandlers($options.upButtonListeners), {
6858
6918
  disabled: $props.disabled,
6859
6919
  tabindex: -1,
6860
6920
  "aria-hidden": "true"
6861
- }, $props.incrementButtonProps), {
6921
+ }, { ...$props.incrementButtonProps, ..._ctx.ptm('incrementButton') }), {
6862
6922
  icon: vue.withCtx(() => [
6863
6923
  vue.renderSlot(_ctx.$slots, "incrementbuttonicon", {}, () => [
6864
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementButtonIcon ? 'span' : 'AngleUpIcon'), {
6865
- class: vue.normalizeClass($props.incrementButtonIcon)
6866
- }, null, 8, ["class"]))
6924
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementButtonIcon ? 'span' : 'AngleUpIcon'), vue.mergeProps({ class: $props.incrementButtonIcon }, _ctx.ptm('incrementButton')['icon']), null, 16, ["class"]))
6867
6925
  ])
6868
6926
  ]),
6869
6927
  _: 3
@@ -6872,17 +6930,15 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
6872
6930
  disabled: $props.disabled,
6873
6931
  tabindex: -1,
6874
6932
  "aria-hidden": "true"
6875
- }, $props.decrementButtonProps), {
6933
+ }, { ...$props.decrementButtonProps, ..._ctx.ptm('decrementButton') }), {
6876
6934
  icon: vue.withCtx(() => [
6877
6935
  vue.renderSlot(_ctx.$slots, "decrementbuttonicon", {}, () => [
6878
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementButtonIcon ? 'span' : 'AngleDownIcon'), {
6879
- class: vue.normalizeClass($props.decrementButtonIcon)
6880
- }, null, 8, ["class"]))
6936
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementButtonIcon ? 'span' : 'AngleDownIcon'), vue.mergeProps({ class: $props.decrementButtonIcon }, _ctx.ptm('decrementButton')['icon']), null, 16, ["class"]))
6881
6937
  ])
6882
6938
  ]),
6883
6939
  _: 3
6884
6940
  }, 16, ["class", "disabled"])
6885
- ]))
6941
+ ], 16))
6886
6942
  : vue.createCommentVNode("", true),
6887
6943
  ($props.showButtons && $props.buttonLayout !== 'stacked')
6888
6944
  ? (vue.openBlock(), vue.createBlock(_component_INButton, vue.mergeProps({
@@ -6892,12 +6948,10 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
6892
6948
  disabled: $props.disabled,
6893
6949
  tabindex: -1,
6894
6950
  "aria-hidden": "true"
6895
- }, $props.incrementButtonProps), {
6951
+ }, { ...$props.incrementButtonProps, ..._ctx.ptm('incrementButton') }), {
6896
6952
  icon: vue.withCtx(() => [
6897
6953
  vue.renderSlot(_ctx.$slots, "incrementbuttonicon", {}, () => [
6898
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementButtonIcon ? 'span' : 'AngleUpIcon'), {
6899
- class: vue.normalizeClass($props.incrementButtonIcon)
6900
- }, null, 8, ["class"]))
6954
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementButtonIcon ? 'span' : 'AngleUpIcon'), vue.mergeProps({ class: $props.incrementButtonIcon }, _ctx.ptm('incrementButton')['icon']), null, 16, ["class"]))
6901
6955
  ])
6902
6956
  ]),
6903
6957
  _: 3
@@ -6911,18 +6965,16 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
6911
6965
  disabled: $props.disabled,
6912
6966
  tabindex: -1,
6913
6967
  "aria-hidden": "true"
6914
- }, $props.decrementButtonProps), {
6968
+ }, { ...$props.decrementButtonProps, ..._ctx.ptm('decrementButton') }), {
6915
6969
  icon: vue.withCtx(() => [
6916
6970
  vue.renderSlot(_ctx.$slots, "decrementbuttonicon", {}, () => [
6917
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementButtonIcon ? 'span' : 'AngleDownIcon'), {
6918
- class: vue.normalizeClass($props.decrementButtonIcon)
6919
- }, null, 8, ["class"]))
6971
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementButtonIcon ? 'span' : 'AngleDownIcon'), vue.mergeProps({ class: $props.decrementButtonIcon }, _ctx.ptm('decrementButton')['icon']), null, 16, ["class"]))
6920
6972
  ])
6921
6973
  ]),
6922
6974
  _: 3
6923
6975
  }, 16, ["class", "disabled"]))
6924
6976
  : vue.createCommentVNode("", true)
6925
- ], 2))
6977
+ ], 16))
6926
6978
  }
6927
6979
 
6928
6980
  function styleInject(css, ref) {
@@ -6959,7 +7011,7 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
6959
7011
 
6960
7012
  return script;
6961
7013
 
6962
- })(primevue.button, primevue.icons.angledown, primevue.icons.angleup, primevue.inputtext, primevue.utils, Vue);
7014
+ })(primevue.basecomponent, primevue.button, primevue.icons.angledown, primevue.icons.angleup, primevue.inputtext, primevue.utils, Vue);
6963
7015
 
6964
7016
  this.primevue = this.primevue || {};
6965
7017
  this.primevue.message = (function (BaseComponent, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, Ripple, vue) {
@@ -7279,11 +7331,12 @@ this.primevue.progressbar = (function (BaseComponent, vue) {
7279
7331
  })(primevue.basecomponent, Vue);
7280
7332
 
7281
7333
  this.primevue = this.primevue || {};
7282
- this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIcon, TimesIcon, OverlayEventBus, Portal, Ripple, utils, VirtualScroller, vue) {
7334
+ this.primevue.dropdown = (function (api, BaseComponent, ChevronDownIcon, FilterIcon, SpinnerIcon, TimesIcon, OverlayEventBus, Portal, Ripple, utils, VirtualScroller, vue) {
7283
7335
  'use strict';
7284
7336
 
7285
7337
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7286
7338
 
7339
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
7287
7340
  var ChevronDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(ChevronDownIcon);
7288
7341
  var FilterIcon__default = /*#__PURE__*/_interopDefaultLegacy(FilterIcon);
7289
7342
  var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
@@ -7295,6 +7348,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
7295
7348
 
7296
7349
  var script = {
7297
7350
  name: 'Dropdown',
7351
+ extends: BaseComponent__default["default"],
7298
7352
  emits: ['update:modelValue', 'change', 'focus', 'blur', 'before-show', 'before-hide', 'show', 'hide', 'filter'],
7299
7353
  props: {
7300
7354
  modelValue: null,
@@ -7515,6 +7569,15 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
7515
7569
  getOptionRenderKey(option, index) {
7516
7570
  return (this.dataKey ? utils.ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option)) + '_' + index;
7517
7571
  },
7572
+ getPTOptions(option, itemOptions, index, key) {
7573
+ return this.ptm(key, {
7574
+ context: {
7575
+ selected: this.isSelected(option),
7576
+ focused: this.focusedOptionIndex === this.getOptionIndex(index, itemOptions),
7577
+ disabled: this.isOptionDisabled(option)
7578
+ }
7579
+ });
7580
+ },
7518
7581
  isOptionDisabled(option) {
7519
7582
  return this.optionDisabled ? utils.ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
7520
7583
  },
@@ -8199,42 +8262,10 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8199
8262
  const _hoisted_1 = ["id"];
8200
8263
  const _hoisted_2 = ["id", "value", "placeholder", "tabindex", "disabled", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant"];
8201
8264
  const _hoisted_3 = ["id", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-disabled"];
8202
- const _hoisted_4 = { class: "p-dropdown-trigger" };
8203
- const _hoisted_5 = {
8204
- key: 0,
8205
- class: "p-dropdown-header"
8206
- };
8207
- const _hoisted_6 = { class: "p-dropdown-filter-container" };
8208
- const _hoisted_7 = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
8209
- const _hoisted_8 = {
8210
- role: "status",
8211
- "aria-live": "polite",
8212
- class: "p-hidden-accessible"
8213
- };
8214
- const _hoisted_9 = ["id"];
8215
- const _hoisted_10 = ["id"];
8216
- const _hoisted_11 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove"];
8217
- const _hoisted_12 = {
8218
- key: 0,
8219
- class: "p-dropdown-empty-message",
8220
- role: "option"
8221
- };
8222
- const _hoisted_13 = {
8223
- key: 1,
8224
- class: "p-dropdown-empty-message",
8225
- role: "option"
8226
- };
8227
- const _hoisted_14 = {
8228
- key: 1,
8229
- role: "status",
8230
- "aria-live": "polite",
8231
- class: "p-hidden-accessible"
8232
- };
8233
- const _hoisted_15 = {
8234
- role: "status",
8235
- "aria-live": "polite",
8236
- class: "p-hidden-accessible"
8237
- };
8265
+ const _hoisted_4 = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
8266
+ const _hoisted_5 = ["id"];
8267
+ const _hoisted_6 = ["id"];
8268
+ const _hoisted_7 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove"];
8238
8269
 
8239
8270
  function render(_ctx, _cache, $props, $setup, $data, $options) {
8240
8271
  const _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
@@ -8242,12 +8273,12 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8242
8273
  const _component_Portal = vue.resolveComponent("Portal");
8243
8274
  const _directive_ripple = vue.resolveDirective("ripple");
8244
8275
 
8245
- return (vue.openBlock(), vue.createElementBlock("div", {
8276
+ return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
8246
8277
  ref: "container",
8247
8278
  id: $data.id,
8248
- class: vue.normalizeClass($options.containerClass),
8279
+ class: $options.containerClass,
8249
8280
  onClick: _cache[15] || (_cache[15] = (...args) => ($options.onContainerClick && $options.onContainerClick(...args)))
8250
- }, [
8281
+ }, _ctx.ptm('root')), [
8251
8282
  ($props.editable)
8252
8283
  ? (vue.openBlock(), vue.createElementBlock("input", vue.mergeProps({
8253
8284
  key: 0,
@@ -8272,7 +8303,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8272
8303
  onBlur: _cache[1] || (_cache[1] = (...args) => ($options.onBlur && $options.onBlur(...args))),
8273
8304
  onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
8274
8305
  onInput: _cache[3] || (_cache[3] = (...args) => ($options.onEditableInput && $options.onEditableInput(...args)))
8275
- }, $props.inputProps), null, 16, _hoisted_2))
8306
+ }, { ...$props.inputProps, ..._ctx.ptm('input') }), null, 16, _hoisted_2))
8276
8307
  : (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
8277
8308
  key: 1,
8278
8309
  ref: "focusInput",
@@ -8291,7 +8322,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8291
8322
  onFocus: _cache[4] || (_cache[4] = (...args) => ($options.onFocus && $options.onFocus(...args))),
8292
8323
  onBlur: _cache[5] || (_cache[5] = (...args) => ($options.onBlur && $options.onBlur(...args))),
8293
8324
  onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args)))
8294
- }, $props.inputProps), [
8325
+ }, { ...$props.inputProps, ..._ctx.ptm('input') }), [
8295
8326
  vue.renderSlot(_ctx.$slots, "value", {
8296
8327
  value: $props.modelValue,
8297
8328
  placeholder: $props.placeholder
@@ -8307,38 +8338,38 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8307
8338
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.clearIcon ? 'i' : 'TimesIcon'), vue.mergeProps({
8308
8339
  class: ['p-dropdown-clear-icon', $props.clearIcon],
8309
8340
  onClick: $options.onClearClick
8310
- }, $props.clearIconProps), null, 16, ["class", "onClick"]))
8341
+ }, { ...$props.clearIconProps, ..._ctx.ptm('clearIcon') }), null, 16, ["class", "onClick"]))
8311
8342
  ])
8312
8343
  : vue.createCommentVNode("", true),
8313
- vue.createElementVNode("div", _hoisted_4, [
8344
+ vue.createElementVNode("div", vue.mergeProps({ class: "p-dropdown-trigger" }, _ctx.ptm('trigger')), [
8314
8345
  ($props.loading)
8315
8346
  ? vue.renderSlot(_ctx.$slots, "loadingicon", {
8316
8347
  key: 0,
8317
8348
  class: "p-dropdown-trigger-icon"
8318
8349
  }, () => [
8319
8350
  ($props.loadingIcon)
8320
- ? (vue.openBlock(), vue.createElementBlock("span", {
8351
+ ? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
8321
8352
  key: 0,
8322
- class: vue.normalizeClass(['p-dropdown-trigger-icon pi-spin', $props.loadingIcon]),
8353
+ class: ['p-dropdown-trigger-icon pi-spin', $props.loadingIcon],
8323
8354
  "aria-hidden": "true"
8324
- }, null, 2))
8325
- : (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, {
8355
+ }, _ctx.ptm('loadingIcon')), null, 16))
8356
+ : (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, vue.mergeProps({
8326
8357
  key: 1,
8327
8358
  class: "p-dropdown-trigger-icon",
8328
8359
  spin: "",
8329
8360
  "aria-hidden": "true"
8330
- }))
8361
+ }, _ctx.ptm('loadingIcon')), null, 16))
8331
8362
  ])
8332
8363
  : vue.renderSlot(_ctx.$slots, "dropdownicon", {
8333
8364
  key: 1,
8334
8365
  class: "p-dropdown-trigger-icon"
8335
8366
  }, () => [
8336
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.dropdownIcon ? 'span' : 'ChevronDownIcon'), {
8337
- class: vue.normalizeClass(['p-dropdown-trigger-icon', $props.dropdownIcon]),
8367
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.dropdownIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
8368
+ class: ['p-dropdown-trigger-icon', $props.dropdownIcon],
8338
8369
  "aria-hidden": "true"
8339
- }, null, 8, ["class"]))
8370
+ }, _ctx.ptm('dropdownIcon')), null, 16, ["class"]))
8340
8371
  ])
8341
- ]),
8372
+ ], 16),
8342
8373
  vue.createVNode(_component_Portal, { appendTo: $props.appendTo }, {
8343
8374
  default: vue.withCtx(() => [
8344
8375
  vue.createVNode(vue.Transition, {
@@ -8357,27 +8388,30 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8357
8388
  class: $options.panelStyleClass,
8358
8389
  onClick: _cache[13] || (_cache[13] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),
8359
8390
  onKeydown: _cache[14] || (_cache[14] = (...args) => ($options.onOverlayKeyDown && $options.onOverlayKeyDown(...args)))
8360
- }, $props.panelProps), [
8361
- vue.createElementVNode("span", {
8391
+ }, { ...$props.panelProps, ..._ctx.ptm('panel') }), [
8392
+ vue.createElementVNode("span", vue.mergeProps({
8362
8393
  ref: "firstHiddenFocusableElementOnOverlay",
8363
8394
  role: "presentation",
8364
8395
  "aria-hidden": "true",
8365
8396
  class: "p-hidden-accessible p-hidden-focusable",
8366
8397
  tabindex: 0,
8367
8398
  onFocus: _cache[7] || (_cache[7] = (...args) => ($options.onFirstHiddenFocus && $options.onFirstHiddenFocus(...args)))
8368
- }, null, 544),
8399
+ }, _ctx.ptm('hiddenFirstFocusableEl')), null, 16),
8369
8400
  vue.renderSlot(_ctx.$slots, "header", {
8370
8401
  value: $props.modelValue,
8371
8402
  options: $options.visibleOptions
8372
8403
  }),
8373
8404
  ($props.filter)
8374
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
8375
- vue.createElementVNode("div", _hoisted_6, [
8405
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
8406
+ key: 0,
8407
+ class: "p-dropdown-header"
8408
+ }, _ctx.ptm('header')), [
8409
+ vue.createElementVNode("div", vue.mergeProps({ class: "p-dropdown-filter-container" }, _ctx.ptm('filterContainer')), [
8376
8410
  vue.createElementVNode("input", vue.mergeProps({
8377
8411
  ref: "filterInput",
8378
8412
  type: "text",
8379
8413
  value: $data.filterValue,
8380
- onVnodeUpdated: _cache[8] || (_cache[8] = (...args) => ($options.onFilterUpdated && $options.onFilterUpdated(...args))),
8414
+ onVnodeMounted: _cache[8] || (_cache[8] = (...args) => ($options.onFilterUpdated && $options.onFilterUpdated(...args))),
8381
8415
  class: "p-dropdown-filter p-inputtext p-component",
8382
8416
  placeholder: $props.filterPlaceholder,
8383
8417
  role: "searchbox",
@@ -8387,58 +8421,62 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8387
8421
  onKeydown: _cache[9] || (_cache[9] = (...args) => ($options.onFilterKeyDown && $options.onFilterKeyDown(...args))),
8388
8422
  onBlur: _cache[10] || (_cache[10] = (...args) => ($options.onFilterBlur && $options.onFilterBlur(...args))),
8389
8423
  onInput: _cache[11] || (_cache[11] = (...args) => ($options.onFilterChange && $options.onFilterChange(...args)))
8390
- }, $props.filterInputProps), null, 16, _hoisted_7),
8424
+ }, { ...$props.filterInputProps, ..._ctx.ptm('filterInput') }), null, 16, _hoisted_4),
8391
8425
  vue.renderSlot(_ctx.$slots, "filtericon", {}, () => [
8392
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.filterIcon ? 'span' : 'FilterIcon'), {
8393
- class: vue.normalizeClass(['p-dropdown-filter-icon', $props.filterIcon])
8394
- }, null, 8, ["class"]))
8426
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.filterIcon ? 'span' : 'FilterIcon'), vue.mergeProps({
8427
+ class: ['p-dropdown-filter-icon', $props.filterIcon]
8428
+ }, _ctx.ptm('filterIcon')), null, 16, ["class"]))
8395
8429
  ])
8396
- ]),
8397
- vue.createElementVNode("span", _hoisted_8, vue.toDisplayString($options.filterResultMessageText), 1)
8398
- ]))
8430
+ ], 16),
8431
+ vue.createElementVNode("span", vue.mergeProps({
8432
+ role: "status",
8433
+ "aria-live": "polite",
8434
+ class: "p-hidden-accessible"
8435
+ }, _ctx.ptm('hiddenFilterResult')), vue.toDisplayString($options.filterResultMessageText), 17)
8436
+ ], 16))
8399
8437
  : vue.createCommentVNode("", true),
8400
- vue.createElementVNode("div", {
8438
+ vue.createElementVNode("div", vue.mergeProps({
8401
8439
  class: "p-dropdown-items-wrapper",
8402
- style: vue.normalizeStyle({ 'max-height': $options.virtualScrollerDisabled ? $props.scrollHeight : '' })
8403
- }, [
8404
- vue.createVNode(_component_VirtualScroller, vue.mergeProps({ ref: $options.virtualScrollerRef }, $props.virtualScrollerOptions, {
8440
+ style: { 'max-height': $options.virtualScrollerDisabled ? $props.scrollHeight : '' }
8441
+ }, _ctx.ptm('wrapper')), [
8442
+ vue.createVNode(_component_VirtualScroller, vue.mergeProps({ ref: $options.virtualScrollerRef }, { ...$props.virtualScrollerOptions, ..._ctx.ptm('virtualScroller') }, {
8405
8443
  items: $options.visibleOptions,
8406
8444
  style: { height: $props.scrollHeight },
8407
8445
  tabindex: -1,
8408
8446
  disabled: $options.virtualScrollerDisabled
8409
8447
  }), vue.createSlots({
8410
8448
  content: vue.withCtx(({ styleClass, contentRef, items, getItemOptions, contentStyle, itemSize }) => [
8411
- vue.createElementVNode("ul", {
8449
+ vue.createElementVNode("ul", vue.mergeProps({
8412
8450
  ref: (el) => $options.listRef(el, contentRef),
8413
8451
  id: $data.id + '_list',
8414
- class: vue.normalizeClass(['p-dropdown-items', styleClass]),
8415
- style: vue.normalizeStyle(contentStyle),
8452
+ class: ['p-dropdown-items', styleClass],
8453
+ style: contentStyle,
8416
8454
  role: "listbox"
8417
- }, [
8455
+ }, _ctx.ptm('list')), [
8418
8456
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items, (option, i) => {
8419
8457
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
8420
8458
  key: $options.getOptionRenderKey(option, $options.getOptionIndex(i, getItemOptions))
8421
8459
  }, [
8422
8460
  ($options.isOptionGroup(option))
8423
- ? (vue.openBlock(), vue.createElementBlock("li", {
8461
+ ? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
8424
8462
  key: 0,
8425
8463
  id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
8426
- style: vue.normalizeStyle({ height: itemSize ? itemSize + 'px' : undefined }),
8464
+ style: { height: itemSize ? itemSize + 'px' : undefined },
8427
8465
  class: "p-dropdown-item-group",
8428
8466
  role: "option"
8429
- }, [
8467
+ }, _ctx.ptm('itemGroup')), [
8430
8468
  vue.renderSlot(_ctx.$slots, "optiongroup", {
8431
8469
  option: option.optionGroup,
8432
8470
  index: $options.getOptionIndex(i, getItemOptions)
8433
8471
  }, () => [
8434
8472
  vue.createTextVNode(vue.toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 1)
8435
8473
  ])
8436
- ], 12, _hoisted_10))
8437
- : vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", {
8474
+ ], 16, _hoisted_6))
8475
+ : vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
8438
8476
  key: 1,
8439
8477
  id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
8440
- style: vue.normalizeStyle({ height: itemSize ? itemSize + 'px' : undefined }),
8441
- class: vue.normalizeClass(['p-dropdown-item', { 'p-highlight': $options.isSelected(option), 'p-focus': $data.focusedOptionIndex === $options.getOptionIndex(i, getItemOptions), 'p-disabled': $options.isOptionDisabled(option) }]),
8478
+ style: { height: itemSize ? itemSize + 'px' : undefined },
8479
+ class: ['p-dropdown-item', { 'p-highlight': $options.isSelected(option), 'p-focus': $data.focusedOptionIndex === $options.getOptionIndex(i, getItemOptions), 'p-disabled': $options.isOptionDisabled(option) }],
8442
8480
  role: "option",
8443
8481
  "aria-label": $options.getOptionLabel(option),
8444
8482
  "aria-selected": $options.isSelected(option),
@@ -8447,32 +8485,40 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8447
8485
  "aria-posinset": $options.getAriaPosInset($options.getOptionIndex(i, getItemOptions)),
8448
8486
  onClick: $event => ($options.onOptionSelect($event, option)),
8449
8487
  onMousemove: $event => ($options.onOptionMouseMove($event, $options.getOptionIndex(i, getItemOptions)))
8450
- }, [
8488
+ }, $options.getPTOptions(option, getItemOptions, i, 'item')), [
8451
8489
  vue.renderSlot(_ctx.$slots, "option", {
8452
8490
  option: option,
8453
8491
  index: $options.getOptionIndex(i, getItemOptions)
8454
8492
  }, () => [
8455
8493
  vue.createTextVNode(vue.toDisplayString($options.getOptionLabel(option)), 1)
8456
8494
  ])
8457
- ], 46, _hoisted_11)), [
8495
+ ], 16, _hoisted_7)), [
8458
8496
  [_directive_ripple]
8459
8497
  ])
8460
8498
  ], 64))
8461
8499
  }), 128)),
8462
8500
  ($data.filterValue && (!items || (items && items.length === 0)))
8463
- ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_12, [
8501
+ ? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
8502
+ key: 0,
8503
+ class: "p-dropdown-empty-message",
8504
+ role: "option"
8505
+ }, _ctx.ptm('emptyMessage')), [
8464
8506
  vue.renderSlot(_ctx.$slots, "emptyfilter", {}, () => [
8465
8507
  vue.createTextVNode(vue.toDisplayString($options.emptyFilterMessageText), 1)
8466
8508
  ])
8467
- ]))
8509
+ ], 16))
8468
8510
  : (!$props.options || ($props.options && $props.options.length === 0))
8469
- ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_13, [
8511
+ ? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
8512
+ key: 1,
8513
+ class: "p-dropdown-empty-message",
8514
+ role: "option"
8515
+ }, _ctx.ptm('emptyMessage')), [
8470
8516
  vue.renderSlot(_ctx.$slots, "empty", {}, () => [
8471
8517
  vue.createTextVNode(vue.toDisplayString($options.emptyMessageText), 1)
8472
8518
  ])
8473
- ]))
8519
+ ], 16))
8474
8520
  : vue.createCommentVNode("", true)
8475
- ], 14, _hoisted_9)
8521
+ ], 16, _hoisted_5)
8476
8522
  ]),
8477
8523
  _: 2
8478
8524
  }, [
@@ -8486,23 +8532,32 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8486
8532
  }
8487
8533
  : undefined
8488
8534
  ]), 1040, ["items", "style", "disabled"])
8489
- ], 4),
8535
+ ], 16),
8490
8536
  vue.renderSlot(_ctx.$slots, "footer", {
8491
8537
  value: $props.modelValue,
8492
8538
  options: $options.visibleOptions
8493
8539
  }),
8494
8540
  (!$props.options || ($props.options && $props.options.length === 0))
8495
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_14, vue.toDisplayString($options.emptyMessageText), 1))
8541
+ ? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
8542
+ key: 1,
8543
+ role: "status",
8544
+ "aria-live": "polite",
8545
+ class: "p-hidden-accessible"
8546
+ }, _ctx.ptm('emptyMessage')), vue.toDisplayString($options.emptyMessageText), 17))
8496
8547
  : vue.createCommentVNode("", true),
8497
- vue.createElementVNode("span", _hoisted_15, vue.toDisplayString($options.selectedMessageText), 1),
8498
- vue.createElementVNode("span", {
8548
+ vue.createElementVNode("span", vue.mergeProps({
8549
+ role: "status",
8550
+ "aria-live": "polite",
8551
+ class: "p-hidden-accessible"
8552
+ }, _ctx.ptm('hiddenSelectedMessage')), vue.toDisplayString($options.selectedMessageText), 17),
8553
+ vue.createElementVNode("span", vue.mergeProps({
8499
8554
  ref: "lastHiddenFocusableElementOnOverlay",
8500
8555
  role: "presentation",
8501
8556
  "aria-hidden": "true",
8502
8557
  class: "p-hidden-accessible p-hidden-focusable",
8503
8558
  tabindex: 0,
8504
8559
  onFocus: _cache[12] || (_cache[12] = (...args) => ($options.onLastHiddenFocus && $options.onLastHiddenFocus(...args)))
8505
- }, null, 544)
8560
+ }, _ctx.ptm('hiddenLastFocusableEl')), null, 16)
8506
8561
  ], 16))
8507
8562
  : vue.createCommentVNode("", true)
8508
8563
  ]),
@@ -8511,7 +8566,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8511
8566
  ]),
8512
8567
  _: 3
8513
8568
  }, 8, ["appendTo"])
8514
- ], 10, _hoisted_1))
8569
+ ], 16, _hoisted_1))
8515
8570
  }
8516
8571
 
8517
8572
  function styleInject(css, ref) {
@@ -8548,7 +8603,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
8548
8603
 
8549
8604
  return script;
8550
8605
 
8551
- })(primevue.api, primevue.icons.chevrondown, primevue.icons.filter, primevue.icons.spinner, primevue.icons.times, primevue.overlayeventbus, primevue.portal, primevue.ripple, primevue.utils, primevue.virtualscroller, Vue);
8606
+ })(primevue.api, primevue.basecomponent, primevue.icons.chevrondown, primevue.icons.filter, primevue.icons.spinner, primevue.icons.times, primevue.overlayeventbus, primevue.portal, primevue.ripple, primevue.utils, primevue.virtualscroller, Vue);
8552
8607
 
8553
8608
  this.primevue = this.primevue || {};
8554
8609
  this.primevue.dialog = (function (BaseComponent, FocusTrap, TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon, Portal, Ripple, utils, vue) {
@@ -9034,7 +9089,7 @@ this.primevue.dialog = (function (BaseComponent, FocusTrap, TimesIcon, WindowMax
9034
9089
  const _hoisted_1 = ["aria-labelledby", "aria-modal"];
9035
9090
  const _hoisted_2 = ["id"];
9036
9091
  const _hoisted_3 = ["autofocus", "tabindex"];
9037
- const _hoisted_4 = ["autofocus", "aria-label", "pt"];
9092
+ const _hoisted_4 = ["autofocus", "aria-label"];
9038
9093
 
9039
9094
  function render(_ctx, _cache, $props, $setup, $data, $options) {
9040
9095
  const _component_Portal = vue.resolveComponent("Portal");
@@ -9111,13 +9166,12 @@ this.primevue.dialog = (function (BaseComponent, FocusTrap, TimesIcon, WindowMax
9111
9166
  class: "p-dialog-header-icon p-dialog-header-close p-link",
9112
9167
  onClick: _cache[1] || (_cache[1] = (...args) => ($options.close && $options.close(...args))),
9113
9168
  "aria-label": $options.closeAriaLabel,
9114
- type: "button",
9115
- pt: _ctx.ptm('closeButton')
9116
- }, $props.closeButtonProps), [
9169
+ type: "button"
9170
+ }, { ...$props.closeButtonProps, ..._ctx.ptm('closeButton') }), [
9117
9171
  vue.renderSlot(_ctx.$slots, "closeicon", {}, () => [
9118
9172
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), vue.mergeProps({
9119
9173
  class: ['p-dialog-header-close-icon', $props.closeIcon]
9120
- }, _ctx.ptm('closeButton')['icon']), null, 16, ["class"]))
9174
+ }, _ctx.ptm('closeButtonIcon')), null, 16, ["class"]))
9121
9175
  ])
9122
9176
  ], 16, _hoisted_4)), [
9123
9177
  [_directive_ripple]
@@ -9195,11 +9249,12 @@ this.primevue.dialog = (function (BaseComponent, FocusTrap, TimesIcon, WindowMax
9195
9249
  })(primevue.basecomponent, primevue.focustrap, primevue.icons.times, primevue.icons.windowmaximize, primevue.icons.windowminimize, primevue.portal, primevue.ripple, primevue.utils, Vue);
9196
9250
 
9197
9251
  this.primevue = this.primevue || {};
9198
- this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dropdown, InputNumber, AngleDoubleRightIcon, AngleRightIcon, AngleLeftIcon) {
9252
+ this.primevue.paginator = (function (BaseComponent, utils, vue, AngleDoubleLeftIcon, Ripple, Dropdown, InputNumber, AngleDoubleRightIcon, AngleRightIcon, AngleLeftIcon) {
9199
9253
  'use strict';
9200
9254
 
9201
9255
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9202
9256
 
9257
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
9203
9258
  var AngleDoubleLeftIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDoubleLeftIcon);
9204
9259
  var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
9205
9260
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
@@ -9210,6 +9265,7 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9210
9265
 
9211
9266
  var script$9 = {
9212
9267
  name: 'CurrentPageReport',
9268
+ extends: BaseComponent__default["default"],
9213
9269
  props: {
9214
9270
  pageCount: {
9215
9271
  type: Number,
@@ -9255,22 +9311,30 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9255
9311
  }
9256
9312
  };
9257
9313
 
9258
- const _hoisted_1$2 = { class: "p-paginator-current" };
9259
-
9260
9314
  function render$9(_ctx, _cache, $props, $setup, $data, $options) {
9261
- return (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$2, vue.toDisplayString($options.text), 1))
9315
+ return (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: "p-paginator-current" }, _ctx.ptm('current')), vue.toDisplayString($options.text), 17))
9262
9316
  }
9263
9317
 
9264
9318
  script$9.render = render$9;
9265
9319
 
9266
9320
  var script$8 = {
9267
9321
  name: 'FirstPageLink',
9322
+ extends: BaseComponent__default["default"],
9268
9323
  props: {
9269
9324
  template: {
9270
9325
  type: Function,
9271
9326
  default: null
9272
9327
  }
9273
9328
  },
9329
+ methods: {
9330
+ getPTOptions(key) {
9331
+ return this.ptm(key, {
9332
+ context: {
9333
+ disabled: this.$attrs.disabled
9334
+ }
9335
+ });
9336
+ }
9337
+ },
9274
9338
  computed: {
9275
9339
  containerClass() {
9276
9340
  return [
@@ -9292,12 +9356,12 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9292
9356
  function render$8(_ctx, _cache, $props, $setup, $data, $options) {
9293
9357
  const _directive_ripple = vue.resolveDirective("ripple");
9294
9358
 
9295
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
9296
- class: vue.normalizeClass($options.containerClass),
9359
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
9360
+ class: $options.containerClass,
9297
9361
  type: "button"
9298
- }, [
9299
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleLeftIcon'), { class: "p-paginator-icon" }))
9300
- ], 2)), [
9362
+ }, $options.getPTOptions('firstPageButton')), [
9363
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleLeftIcon'), vue.mergeProps({ class: "p-paginator-icon" }, $options.getPTOptions('firstPageIcon')), null, 16))
9364
+ ], 16)), [
9301
9365
  [_directive_ripple]
9302
9366
  ])
9303
9367
  }
@@ -9306,6 +9370,7 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9306
9370
 
9307
9371
  var script$7 = {
9308
9372
  name: 'JumpToPageDropdown',
9373
+ extends: BaseComponent__default["default"],
9309
9374
  emits: ['page-change'],
9310
9375
  props: {
9311
9376
  page: Number,
@@ -9343,14 +9408,16 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9343
9408
  optionValue: "value",
9344
9409
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ($options.onChange($event))),
9345
9410
  class: "p-paginator-page-options",
9346
- disabled: $props.disabled
9347
- }, null, 8, ["modelValue", "options", "disabled"]))
9411
+ disabled: $props.disabled,
9412
+ pt: _ctx.ptm('JTPDropdown')
9413
+ }, null, 8, ["modelValue", "options", "disabled", "pt"]))
9348
9414
  }
9349
9415
 
9350
9416
  script$7.render = render$7;
9351
9417
 
9352
9418
  var script$6 = {
9353
9419
  name: 'JumpToPageInput',
9420
+ extends: BaseComponent__default["default"],
9354
9421
  inheritAttrs: false,
9355
9422
  emits: ['page-change'],
9356
9423
  props: {
@@ -9395,20 +9462,31 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9395
9462
  class: "p-paginator-page-input",
9396
9463
  "aria-label": $options.inputArialabel,
9397
9464
  disabled: $props.disabled,
9398
- "onUpdate:modelValue": $options.onChange
9399
- }, null, 8, ["modelValue", "aria-label", "disabled", "onUpdate:modelValue"]))
9465
+ "onUpdate:modelValue": $options.onChange,
9466
+ pt: _ctx.ptm('JTPInput')
9467
+ }, null, 8, ["modelValue", "aria-label", "disabled", "onUpdate:modelValue", "pt"]))
9400
9468
  }
9401
9469
 
9402
9470
  script$6.render = render$6;
9403
9471
 
9404
9472
  var script$5 = {
9405
9473
  name: 'LastPageLink',
9474
+ extends: BaseComponent__default["default"],
9406
9475
  props: {
9407
9476
  template: {
9408
9477
  type: Function,
9409
9478
  default: null
9410
9479
  }
9411
9480
  },
9481
+ methods: {
9482
+ getPTOptions(key) {
9483
+ return this.ptm(key, {
9484
+ context: {
9485
+ disabled: this.$attrs.disabled
9486
+ }
9487
+ });
9488
+ }
9489
+ },
9412
9490
  computed: {
9413
9491
  containerClass() {
9414
9492
  return [
@@ -9430,12 +9508,12 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9430
9508
  function render$5(_ctx, _cache, $props, $setup, $data, $options) {
9431
9509
  const _directive_ripple = vue.resolveDirective("ripple");
9432
9510
 
9433
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
9434
- class: vue.normalizeClass($options.containerClass),
9511
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
9512
+ class: $options.containerClass,
9435
9513
  type: "button"
9436
- }, [
9437
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleRightIcon'), { class: "p-paginator-icon" }))
9438
- ], 2)), [
9514
+ }, $options.getPTOptions('lastPageButton')), [
9515
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleRightIcon'), vue.mergeProps({ class: "p-paginator-icon" }, $options.getPTOptions('lastPageIcon')), null, 16))
9516
+ ], 16)), [
9439
9517
  [_directive_ripple]
9440
9518
  ])
9441
9519
  }
@@ -9444,12 +9522,22 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9444
9522
 
9445
9523
  var script$4 = {
9446
9524
  name: 'NextPageLink',
9525
+ extends: BaseComponent__default["default"],
9447
9526
  props: {
9448
9527
  template: {
9449
9528
  type: Function,
9450
9529
  default: null
9451
9530
  }
9452
9531
  },
9532
+ methods: {
9533
+ getPTOptions(key) {
9534
+ return this.ptm(key, {
9535
+ context: {
9536
+ disabled: this.$attrs.disabled
9537
+ }
9538
+ });
9539
+ }
9540
+ },
9453
9541
  computed: {
9454
9542
  containerClass() {
9455
9543
  return [
@@ -9471,12 +9559,12 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9471
9559
  function render$4(_ctx, _cache, $props, $setup, $data, $options) {
9472
9560
  const _directive_ripple = vue.resolveDirective("ripple");
9473
9561
 
9474
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
9475
- class: vue.normalizeClass($options.containerClass),
9562
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
9563
+ class: $options.containerClass,
9476
9564
  type: "button"
9477
- }, [
9478
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleRightIcon'), { class: "p-paginator-icon" }))
9479
- ], 2)), [
9565
+ }, $options.getPTOptions('nextPageButton')), [
9566
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleRightIcon'), vue.mergeProps({ class: "p-paginator-icon" }, $options.getPTOptions('nextPageIcon')), null, 16))
9567
+ ], 16)), [
9480
9568
  [_directive_ripple]
9481
9569
  ])
9482
9570
  }
@@ -9485,6 +9573,7 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9485
9573
 
9486
9574
  var script$3 = {
9487
9575
  name: 'PageLinks',
9576
+ extends: BaseComponent__default["default"],
9488
9577
  inheritAttrs: false,
9489
9578
  emits: ['click'],
9490
9579
  props: {
@@ -9492,6 +9581,13 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9492
9581
  page: Number
9493
9582
  },
9494
9583
  methods: {
9584
+ getPTOptions(pageLink, key) {
9585
+ return this.ptm(key, {
9586
+ context: {
9587
+ active: pageLink === this.page
9588
+ }
9589
+ });
9590
+ },
9495
9591
  onPageLinkClick(event, pageLink) {
9496
9592
  this.$emit('click', {
9497
9593
  originalEvent: event,
@@ -9502,46 +9598,54 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9502
9598
  return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
9503
9599
  }
9504
9600
  },
9505
- computed: {},
9506
9601
  directives: {
9507
9602
  ripple: Ripple__default["default"]
9508
9603
  }
9509
9604
  };
9510
9605
 
9511
- const _hoisted_1$1 = { class: "p-paginator-pages" };
9512
- const _hoisted_2$1 = ["aria-label", "aria-current", "onClick"];
9606
+ const _hoisted_1 = ["aria-label", "aria-current", "onClick"];
9513
9607
 
9514
9608
  function render$3(_ctx, _cache, $props, $setup, $data, $options) {
9515
9609
  const _directive_ripple = vue.resolveDirective("ripple");
9516
9610
 
9517
- return (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$1, [
9611
+ return (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: "p-paginator-pages" }, _ctx.ptm('pages')), [
9518
9612
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.value, (pageLink) => {
9519
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
9613
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
9520
9614
  key: pageLink,
9521
- class: vue.normalizeClass(['p-paginator-page p-paginator-element p-link', { 'p-highlight': pageLink - 1 === $props.page }]),
9615
+ class: ['p-paginator-page p-paginator-element p-link', { 'p-highlight': pageLink - 1 === $props.page }],
9522
9616
  type: "button",
9523
9617
  "aria-label": $options.ariaPageLabel(pageLink),
9524
9618
  "aria-current": pageLink - 1 === $props.page ? 'page' : undefined,
9525
9619
  onClick: $event => ($options.onPageLinkClick($event, pageLink))
9526
- }, [
9620
+ }, $options.getPTOptions(pageLink - 1, 'pageButton')), [
9527
9621
  vue.createTextVNode(vue.toDisplayString(pageLink), 1)
9528
- ], 10, _hoisted_2$1)), [
9622
+ ], 16, _hoisted_1)), [
9529
9623
  [_directive_ripple]
9530
9624
  ])
9531
9625
  }), 128))
9532
- ]))
9626
+ ], 16))
9533
9627
  }
9534
9628
 
9535
9629
  script$3.render = render$3;
9536
9630
 
9537
9631
  var script$2 = {
9538
9632
  name: 'PrevPageLink',
9633
+ extends: BaseComponent__default["default"],
9539
9634
  props: {
9540
9635
  template: {
9541
9636
  type: Function,
9542
9637
  default: null
9543
9638
  }
9544
9639
  },
9640
+ methods: {
9641
+ getPTOptions(key) {
9642
+ return this.ptm(key, {
9643
+ context: {
9644
+ disabled: this.$attrs.disabled
9645
+ }
9646
+ });
9647
+ }
9648
+ },
9545
9649
  computed: {
9546
9650
  containerClass() {
9547
9651
  return [
@@ -9563,12 +9667,12 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9563
9667
  function render$2(_ctx, _cache, $props, $setup, $data, $options) {
9564
9668
  const _directive_ripple = vue.resolveDirective("ripple");
9565
9669
 
9566
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
9567
- class: vue.normalizeClass($options.containerClass),
9670
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
9671
+ class: $options.containerClass,
9568
9672
  type: "button"
9569
- }, [
9570
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleLeftIcon'), { class: "p-paginator-icon" }))
9571
- ], 2)), [
9673
+ }, $options.getPTOptions('prevPageButton')), [
9674
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleLeftIcon'), vue.mergeProps({ class: "p-paginator-icon" }, $options.getPTOptions('prevPageIcon')), null, 16))
9675
+ ], 16)), [
9572
9676
  [_directive_ripple]
9573
9677
  ])
9574
9678
  }
@@ -9577,6 +9681,7 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9577
9681
 
9578
9682
  var script$1 = {
9579
9683
  name: 'RowsPerPageDropdown',
9684
+ extends: BaseComponent__default["default"],
9580
9685
  emits: ['rows-change'],
9581
9686
  props: {
9582
9687
  options: Array,
@@ -9616,14 +9721,16 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9616
9721
  optionValue: "value",
9617
9722
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ($options.onChange($event))),
9618
9723
  class: "p-paginator-rpp-options",
9619
- disabled: $props.disabled
9620
- }, null, 8, ["modelValue", "options", "disabled"]))
9724
+ disabled: $props.disabled,
9725
+ pt: _ctx.ptm('RPPDropdown')
9726
+ }, null, 8, ["modelValue", "options", "disabled", "pt"]))
9621
9727
  }
9622
9728
 
9623
9729
  script$1.render = render$1;
9624
9730
 
9625
9731
  var script = {
9626
9732
  name: 'Paginator',
9733
+ extends: BaseComponent__default["default"],
9627
9734
  emits: ['update:first', 'update:rows', 'page'],
9628
9735
  props: {
9629
9736
  totalRecords: {
@@ -9896,16 +10003,6 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9896
10003
  }
9897
10004
  };
9898
10005
 
9899
- const _hoisted_1 = { key: 0 };
9900
- const _hoisted_2 = {
9901
- key: 0,
9902
- class: "p-paginator-left-content"
9903
- };
9904
- const _hoisted_3 = {
9905
- key: 1,
9906
- class: "p-paginator-right-content"
9907
- };
9908
-
9909
10006
  function render(_ctx, _cache, $props, $setup, $data, $options) {
9910
10007
  const _component_FirstPageLink = vue.resolveComponent("FirstPageLink");
9911
10008
  const _component_PrevPageLink = vue.resolveComponent("PrevPageLink");
@@ -9918,18 +10015,21 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9918
10015
  const _component_JumpToPageInput = vue.resolveComponent("JumpToPageInput");
9919
10016
 
9920
10017
  return ($props.alwaysShow ? true : $options.pageLinks && $options.pageLinks.length > 1)
9921
- ? (vue.openBlock(), vue.createElementBlock("nav", _hoisted_1, [
10018
+ ? (vue.openBlock(), vue.createElementBlock("nav", vue.normalizeProps(vue.mergeProps({ key: 0 }, _ctx.ptm('root'))), [
9922
10019
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.templateItems, (value, key) => {
9923
- return (vue.openBlock(), vue.createElementBlock("div", {
10020
+ return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
9924
10021
  key: key,
9925
10022
  ref_for: true,
9926
10023
  ref: "paginator",
9927
- class: vue.normalizeClass(["p-paginator p-component", $options.getPaginatorClasses(key)])
9928
- }, [
10024
+ class: ["p-paginator p-component", $options.getPaginatorClasses(key)]
10025
+ }, _ctx.ptm('paginator')), [
9929
10026
  (_ctx.$slots.start)
9930
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
10027
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
10028
+ key: 0,
10029
+ class: "p-paginator-left-content"
10030
+ }, _ctx.ptm('left')), [
9931
10031
  vue.renderSlot(_ctx.$slots, "start", { state: $options.currentState })
9932
- ]))
10032
+ ], 16))
9933
10033
  : vue.createCommentVNode("", true),
9934
10034
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(value, (item) => {
9935
10035
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: item }, [
@@ -9939,40 +10039,45 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9939
10039
  "aria-label": $options.getAriaLabel('firstPageLabel'),
9940
10040
  template: _ctx.$slots.firstpagelinkicon,
9941
10041
  onClick: _cache[0] || (_cache[0] = $event => ($options.changePageToFirst($event))),
9942
- disabled: $options.isFirstPage || $options.empty
9943
- }, null, 8, ["aria-label", "template", "disabled"]))
10042
+ disabled: $options.isFirstPage || $options.empty,
10043
+ pt: _ctx.pt
10044
+ }, null, 8, ["aria-label", "template", "disabled", "pt"]))
9944
10045
  : (item === 'PrevPageLink')
9945
10046
  ? (vue.openBlock(), vue.createBlock(_component_PrevPageLink, {
9946
10047
  key: 1,
9947
10048
  "aria-label": $options.getAriaLabel('prevPageLabel'),
9948
10049
  template: _ctx.$slots.prevpagelinkicon,
9949
10050
  onClick: _cache[1] || (_cache[1] = $event => ($options.changePageToPrev($event))),
9950
- disabled: $options.isFirstPage || $options.empty
9951
- }, null, 8, ["aria-label", "template", "disabled"]))
10051
+ disabled: $options.isFirstPage || $options.empty,
10052
+ pt: _ctx.pt
10053
+ }, null, 8, ["aria-label", "template", "disabled", "pt"]))
9952
10054
  : (item === 'NextPageLink')
9953
10055
  ? (vue.openBlock(), vue.createBlock(_component_NextPageLink, {
9954
10056
  key: 2,
9955
10057
  "aria-label": $options.getAriaLabel('nextPageLabel'),
9956
10058
  template: _ctx.$slots.nextpagelinkicon,
9957
10059
  onClick: _cache[2] || (_cache[2] = $event => ($options.changePageToNext($event))),
9958
- disabled: $options.isLastPage || $options.empty
9959
- }, null, 8, ["aria-label", "template", "disabled"]))
10060
+ disabled: $options.isLastPage || $options.empty,
10061
+ pt: _ctx.pt
10062
+ }, null, 8, ["aria-label", "template", "disabled", "pt"]))
9960
10063
  : (item === 'LastPageLink')
9961
10064
  ? (vue.openBlock(), vue.createBlock(_component_LastPageLink, {
9962
10065
  key: 3,
9963
10066
  "aria-label": $options.getAriaLabel('lastPageLabel'),
9964
10067
  template: _ctx.$slots.lastpagelinkicon,
9965
10068
  onClick: _cache[3] || (_cache[3] = $event => ($options.changePageToLast($event))),
9966
- disabled: $options.isLastPage || $options.empty
9967
- }, null, 8, ["aria-label", "template", "disabled"]))
10069
+ disabled: $options.isLastPage || $options.empty,
10070
+ pt: _ctx.pt
10071
+ }, null, 8, ["aria-label", "template", "disabled", "pt"]))
9968
10072
  : (item === 'PageLinks')
9969
10073
  ? (vue.openBlock(), vue.createBlock(_component_PageLinks, {
9970
10074
  key: 4,
9971
10075
  "aria-label": $options.getAriaLabel('pageLabel'),
9972
10076
  value: $options.pageLinks,
9973
10077
  page: $options.page,
9974
- onClick: _cache[4] || (_cache[4] = $event => ($options.changePageLink($event)))
9975
- }, null, 8, ["aria-label", "value", "page"]))
10078
+ onClick: _cache[4] || (_cache[4] = $event => ($options.changePageLink($event))),
10079
+ pt: _ctx.pt
10080
+ }, null, 8, ["aria-label", "value", "page", "pt"]))
9976
10081
  : (item === 'CurrentPageReport')
9977
10082
  ? (vue.openBlock(), vue.createBlock(_component_CurrentPageReport, {
9978
10083
  key: 5,
@@ -9983,8 +10088,9 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9983
10088
  pageCount: $options.pageCount,
9984
10089
  first: $data.d_first,
9985
10090
  rows: $data.d_rows,
9986
- totalRecords: $props.totalRecords
9987
- }, null, 8, ["template", "currentPage", "page", "pageCount", "first", "rows", "totalRecords"]))
10091
+ totalRecords: $props.totalRecords,
10092
+ pt: _ctx.pt
10093
+ }, null, 8, ["template", "currentPage", "page", "pageCount", "first", "rows", "totalRecords", "pt"]))
9988
10094
  : (item === 'RowsPerPageDropdown' && $props.rowsPerPageOptions)
9989
10095
  ? (vue.openBlock(), vue.createBlock(_component_RowsPerPageDropdown, {
9990
10096
  key: 6,
@@ -9992,8 +10098,9 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
9992
10098
  rows: $data.d_rows,
9993
10099
  options: $props.rowsPerPageOptions,
9994
10100
  onRowsChange: _cache[5] || (_cache[5] = $event => ($options.onRowChange($event))),
9995
- disabled: $options.empty
9996
- }, null, 8, ["aria-label", "rows", "options", "disabled"]))
10101
+ disabled: $options.empty,
10102
+ pt: _ctx.pt
10103
+ }, null, 8, ["aria-label", "rows", "options", "disabled", "pt"]))
9997
10104
  : (item === 'JumpToPageDropdown')
9998
10105
  ? (vue.openBlock(), vue.createBlock(_component_JumpToPageDropdown, {
9999
10106
  key: 7,
@@ -10001,26 +10108,31 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
10001
10108
  page: $options.page,
10002
10109
  pageCount: $options.pageCount,
10003
10110
  onPageChange: _cache[6] || (_cache[6] = $event => ($options.changePage($event))),
10004
- disabled: $options.empty
10005
- }, null, 8, ["aria-label", "page", "pageCount", "disabled"]))
10111
+ disabled: $options.empty,
10112
+ pt: _ctx.pt
10113
+ }, null, 8, ["aria-label", "page", "pageCount", "disabled", "pt"]))
10006
10114
  : (item === 'JumpToPageInput')
10007
10115
  ? (vue.openBlock(), vue.createBlock(_component_JumpToPageInput, {
10008
10116
  key: 8,
10009
10117
  page: $options.currentPage,
10010
10118
  onPageChange: _cache[7] || (_cache[7] = $event => ($options.changePage($event))),
10011
- disabled: $options.empty
10012
- }, null, 8, ["page", "disabled"]))
10119
+ disabled: $options.empty,
10120
+ pt: _ctx.pt
10121
+ }, null, 8, ["page", "disabled", "pt"]))
10013
10122
  : vue.createCommentVNode("", true)
10014
10123
  ], 64))
10015
10124
  }), 128)),
10016
10125
  (_ctx.$slots.end)
10017
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
10126
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
10127
+ key: 1,
10128
+ class: "p-paginator-right-content"
10129
+ }, _ctx.ptm('end')), [
10018
10130
  vue.renderSlot(_ctx.$slots, "end", { state: $options.currentState })
10019
- ]))
10131
+ ], 16))
10020
10132
  : vue.createCommentVNode("", true)
10021
- ], 2))
10133
+ ], 16))
10022
10134
  }), 128))
10023
- ]))
10135
+ ], 16))
10024
10136
  : vue.createCommentVNode("", true)
10025
10137
  }
10026
10138
 
@@ -10058,14 +10170,15 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
10058
10170
 
10059
10171
  return script;
10060
10172
 
10061
- })(primevue.utils, Vue, primevue.icons.angledoubleleft, primevue.ripple, primevue.dropdown, primevue.inputnumber, primevue.icons.angledoubleright, primevue.icons.angleright, primevue.icons.angleleft);
10173
+ })(primevue.basecomponent, primevue.utils, Vue, primevue.icons.angledoubleleft, primevue.ripple, primevue.dropdown, primevue.inputnumber, primevue.icons.angledoubleright, primevue.icons.angleright, primevue.icons.angleleft);
10062
10174
 
10063
10175
  this.primevue = this.primevue || {};
10064
- this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, Ripple, vue) {
10176
+ this.primevue.tree = (function (BaseComponent, SearchIcon, SpinnerIcon, utils, CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, Ripple, vue) {
10065
10177
  'use strict';
10066
10178
 
10067
10179
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10068
10180
 
10181
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
10069
10182
  var SearchIcon__default = /*#__PURE__*/_interopDefaultLegacy(SearchIcon);
10070
10183
  var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
10071
10184
  var CheckIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckIcon);
@@ -10076,6 +10189,7 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10076
10189
 
10077
10190
  var script$1 = {
10078
10191
  name: 'TreeNode',
10192
+ extends: BaseComponent__default["default"],
10079
10193
  emits: ['node-toggle', 'node-click', 'checkbox-change'],
10080
10194
  props: {
10081
10195
  node: {
@@ -10127,6 +10241,15 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10127
10241
  onChildNodeToggle(node) {
10128
10242
  this.$emit('node-toggle', node);
10129
10243
  },
10244
+ getPTOptions(key) {
10245
+ return this.ptm(key, {
10246
+ context: {
10247
+ expanded: this.expanded,
10248
+ selected: this.selected,
10249
+ checked: this.checked
10250
+ }
10251
+ });
10252
+ },
10130
10253
  onClick(event) {
10131
10254
  if (this.toggleClicked || utils.DomHandler.hasClass(event.target, 'p-tree-toggler') || utils.DomHandler.hasClass(event.target.parentElement, 'p-tree-toggler')) {
10132
10255
  this.toggleClicked = false;
@@ -10464,25 +10587,14 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10464
10587
  };
10465
10588
 
10466
10589
  const _hoisted_1$1 = ["aria-label", "aria-selected", "aria-expanded", "aria-setsize", "aria-posinset", "aria-level", "aria-checked", "tabindex"];
10467
- const _hoisted_2$1 = {
10468
- key: 0,
10469
- class: "p-checkbox p-component",
10470
- "aria-hidden": "true"
10471
- };
10472
- const _hoisted_3$1 = { class: "p-treenode-label" };
10473
- const _hoisted_4$1 = {
10474
- key: 0,
10475
- class: "p-treenode-children",
10476
- role: "group"
10477
- };
10478
10590
 
10479
10591
  function render$1(_ctx, _cache, $props, $setup, $data, $options) {
10480
10592
  const _component_TreeNode = vue.resolveComponent("TreeNode", true);
10481
10593
  const _directive_ripple = vue.resolveDirective("ripple");
10482
10594
 
10483
- return (vue.openBlock(), vue.createElementBlock("li", {
10595
+ return (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
10484
10596
  ref: "currentNode",
10485
- class: vue.normalizeClass($options.containerClass),
10597
+ class: $options.containerClass,
10486
10598
  role: "treeitem",
10487
10599
  "aria-label": $options.label($props.node),
10488
10600
  "aria-selected": $options.ariaSelected,
@@ -10493,20 +10605,20 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10493
10605
  "aria-checked": $options.ariaChecked,
10494
10606
  tabindex: $props.index === 0 ? 0 : -1,
10495
10607
  onKeydown: _cache[3] || (_cache[3] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args)))
10496
- }, [
10497
- vue.createElementVNode("div", {
10498
- class: vue.normalizeClass($options.contentClass),
10608
+ }, $options.getPTOptions('node')), [
10609
+ vue.createElementVNode("div", vue.mergeProps({
10610
+ class: $options.contentClass,
10499
10611
  onClick: _cache[1] || (_cache[1] = (...args) => ($options.onClick && $options.onClick(...args))),
10500
10612
  onTouchend: _cache[2] || (_cache[2] = (...args) => ($options.onTouchEnd && $options.onTouchEnd(...args))),
10501
- style: vue.normalizeStyle($props.node.style)
10502
- }, [
10503
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
10613
+ style: $props.node.style
10614
+ }, $options.getPTOptions('content')), [
10615
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
10504
10616
  type: "button",
10505
10617
  class: "p-tree-toggler p-link",
10506
10618
  onClick: _cache[0] || (_cache[0] = (...args) => ($options.toggle && $options.toggle(...args))),
10507
10619
  tabindex: "-1",
10508
10620
  "aria-hidden": "true"
10509
- }, [
10621
+ }, $options.getPTOptions('toggler')), [
10510
10622
  ($props.templates['togglericon'])
10511
10623
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['togglericon']), {
10512
10624
  key: 0,
@@ -10515,23 +10627,27 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10515
10627
  class: "p-tree-toggler-icon"
10516
10628
  }, null, 8, ["node", "expanded"]))
10517
10629
  : ($options.expanded)
10518
- ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.expandedIcon ? 'span' : 'ChevronDownIcon'), {
10630
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.expandedIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
10519
10631
  key: 1,
10520
10632
  class: "p-tree-toggler-icon"
10521
- }))
10522
- : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.collapsedIcon ? 'span' : 'ChevronRightIcon'), {
10633
+ }, $options.getPTOptions('togglerIcon')), null, 16))
10634
+ : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.collapsedIcon ? 'span' : 'ChevronRightIcon'), vue.mergeProps({
10523
10635
  key: 2,
10524
10636
  class: "p-tree-toggler-icon"
10525
- }))
10526
- ])), [
10637
+ }, $options.getPTOptions('togglerIcon')), null, 16))
10638
+ ], 16)), [
10527
10639
  [_directive_ripple]
10528
10640
  ]),
10529
10641
  ($options.checkboxMode)
10530
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
10531
- vue.createElementVNode("div", {
10532
- class: vue.normalizeClass($options.checkboxClass),
10642
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
10643
+ key: 0,
10644
+ class: "p-checkbox p-component",
10645
+ "aria-hidden": "true"
10646
+ }, $options.getPTOptions('checkboxContainer')), [
10647
+ vue.createElementVNode("div", vue.mergeProps({
10648
+ class: $options.checkboxClass,
10533
10649
  role: "checkbox"
10534
- }, [
10650
+ }, $options.getPTOptions('checkbox')), [
10535
10651
  ($props.templates['checkboxicon'])
10536
10652
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['checkboxicon']), {
10537
10653
  key: 0,
@@ -10539,17 +10655,15 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10539
10655
  partialChecked: $options.partialChecked,
10540
10656
  class: "p-checkbox-icon"
10541
10657
  }, null, 8, ["checked", "partialChecked"]))
10542
- : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($options.checked ? 'CheckIcon' : $options.partialChecked ? 'MinusIcon' : null), {
10658
+ : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($options.checked ? 'CheckIcon' : $options.partialChecked ? 'MinusIcon' : null), vue.mergeProps({
10543
10659
  key: 1,
10544
10660
  class: "p-checkbox-icon"
10545
- }))
10546
- ], 2)
10547
- ]))
10661
+ }, $options.getPTOptions('checkboxIcon')), null, 16))
10662
+ ], 16)
10663
+ ], 16))
10548
10664
  : vue.createCommentVNode("", true),
10549
- vue.createElementVNode("span", {
10550
- class: vue.normalizeClass($options.icon)
10551
- }, null, 2),
10552
- vue.createElementVNode("span", _hoisted_3$1, [
10665
+ vue.createElementVNode("span", vue.mergeProps({ class: $options.icon }, $options.getPTOptions('nodeIcon')), null, 16),
10666
+ vue.createElementVNode("span", vue.mergeProps({ class: "p-treenode-label" }, $options.getPTOptions('label')), [
10553
10667
  ($props.templates[$props.node.type] || $props.templates['default'])
10554
10668
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates[$props.node.type] || $props.templates['default']), {
10555
10669
  key: 0,
@@ -10558,10 +10672,14 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10558
10672
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
10559
10673
  vue.createTextVNode(vue.toDisplayString($options.label($props.node)), 1)
10560
10674
  ], 64))
10561
- ])
10562
- ], 38),
10675
+ ], 16)
10676
+ ], 16),
10563
10677
  ($options.hasChildren && $options.expanded)
10564
- ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_4$1, [
10678
+ ? (vue.openBlock(), vue.createElementBlock("ul", vue.mergeProps({
10679
+ key: 0,
10680
+ class: "p-treenode-children",
10681
+ role: "group"
10682
+ }, _ctx.ptm('subgroup')), [
10565
10683
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.node.children, (childNode) => {
10566
10684
  return (vue.openBlock(), vue.createBlock(_component_TreeNode, {
10567
10685
  key: childNode.key,
@@ -10573,18 +10691,20 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10573
10691
  onNodeClick: $options.onChildNodeClick,
10574
10692
  selectionMode: $props.selectionMode,
10575
10693
  selectionKeys: $props.selectionKeys,
10576
- onCheckboxChange: $options.propagateUp
10577
- }, null, 8, ["node", "templates", "level", "expandedKeys", "onNodeToggle", "onNodeClick", "selectionMode", "selectionKeys", "onCheckboxChange"]))
10694
+ onCheckboxChange: $options.propagateUp,
10695
+ pt: _ctx.pt
10696
+ }, null, 8, ["node", "templates", "level", "expandedKeys", "onNodeToggle", "onNodeClick", "selectionMode", "selectionKeys", "onCheckboxChange", "pt"]))
10578
10697
  }), 128))
10579
- ]))
10698
+ ], 16))
10580
10699
  : vue.createCommentVNode("", true)
10581
- ], 42, _hoisted_1$1))
10700
+ ], 16, _hoisted_1$1))
10582
10701
  }
10583
10702
 
10584
10703
  script$1.render = render$1;
10585
10704
 
10586
10705
  var script = {
10587
10706
  name: 'Tree',
10707
+ extends: BaseComponent__default["default"],
10588
10708
  emits: ['node-expand', 'node-collapse', 'update:expandedKeys', 'update:selectionKeys', 'node-select', 'node-unselect'],
10589
10709
  props: {
10590
10710
  value: {
@@ -10856,68 +10976,64 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10856
10976
  }
10857
10977
  };
10858
10978
 
10859
- const _hoisted_1 = {
10860
- key: 0,
10861
- class: "p-tree-loading-overlay p-component-overlay"
10862
- };
10863
- const _hoisted_2 = {
10864
- key: 1,
10865
- class: "p-tree-filter-container"
10866
- };
10867
- const _hoisted_3 = ["placeholder"];
10868
- const _hoisted_4 = ["aria-labelledby", "aria-label"];
10979
+ const _hoisted_1 = ["placeholder"];
10980
+ const _hoisted_2 = ["aria-labelledby", "aria-label"];
10869
10981
 
10870
10982
  function render(_ctx, _cache, $props, $setup, $data, $options) {
10871
10983
  const _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
10872
10984
  const _component_SearchIcon = vue.resolveComponent("SearchIcon");
10873
10985
  const _component_TreeNode = vue.resolveComponent("TreeNode");
10874
10986
 
10875
- return (vue.openBlock(), vue.createElementBlock("div", {
10876
- class: vue.normalizeClass($options.containerClass)
10877
- }, [
10987
+ return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: $options.containerClass }, _ctx.ptm('root')), [
10878
10988
  ($props.loading)
10879
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
10989
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
10990
+ key: 0,
10991
+ class: "p-tree-loading-overlay p-component-overlay"
10992
+ }, _ctx.ptm('loadingOverlay')), [
10880
10993
  vue.renderSlot(_ctx.$slots, "loadingicon", {}, () => [
10881
10994
  ($props.loadingIcon)
10882
- ? (vue.openBlock(), vue.createElementBlock("i", {
10995
+ ? (vue.openBlock(), vue.createElementBlock("i", vue.mergeProps({
10883
10996
  key: 0,
10884
- class: vue.normalizeClass(['p-tree-loading-icon pi-spin', $props.loadingIcon])
10885
- }, null, 2))
10886
- : (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, {
10997
+ class: ['p-tree-loading-icon pi-spin', $props.loadingIcon]
10998
+ }, _ctx.ptm('loadingIcon')), null, 16))
10999
+ : (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, vue.mergeProps({
10887
11000
  key: 1,
10888
11001
  spin: "",
10889
11002
  class: "p-tree-loading-icon"
10890
- }))
11003
+ }, _ctx.ptm('loadingIcon')), null, 16))
10891
11004
  ])
10892
- ]))
11005
+ ], 16))
10893
11006
  : vue.createCommentVNode("", true),
10894
11007
  ($props.filter)
10895
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
10896
- vue.withDirectives(vue.createElementVNode("input", {
11008
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
11009
+ key: 1,
11010
+ class: "p-tree-filter-container"
11011
+ }, _ctx.ptm('filterContainer')), [
11012
+ vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
10897
11013
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($data.filterValue) = $event)),
10898
11014
  type: "text",
10899
11015
  autocomplete: "off",
10900
11016
  class: "p-tree-filter p-inputtext p-component",
10901
11017
  placeholder: $props.filterPlaceholder,
10902
11018
  onKeydown: _cache[1] || (_cache[1] = (...args) => ($options.onFilterKeydown && $options.onFilterKeydown(...args)))
10903
- }, null, 40, _hoisted_3), [
11019
+ }, _ctx.ptm('input')), null, 16, _hoisted_1), [
10904
11020
  [vue.vModelText, $data.filterValue]
10905
11021
  ]),
10906
11022
  vue.renderSlot(_ctx.$slots, "searchicon", {}, () => [
10907
- vue.createVNode(_component_SearchIcon, { class: "p-tree-filter-icon" })
11023
+ vue.createVNode(_component_SearchIcon, vue.mergeProps({ class: "p-tree-filter-icon" }, _ctx.ptm('searchIcon')), null, 16)
10908
11024
  ])
10909
- ]))
11025
+ ], 16))
10910
11026
  : vue.createCommentVNode("", true),
10911
- vue.createElementVNode("div", {
11027
+ vue.createElementVNode("div", vue.mergeProps({
10912
11028
  class: "p-tree-wrapper",
10913
- style: vue.normalizeStyle({ maxHeight: $props.scrollHeight })
10914
- }, [
10915
- vue.createElementVNode("ul", {
11029
+ style: { maxHeight: $props.scrollHeight }
11030
+ }, _ctx.ptm('wrapper')), [
11031
+ vue.createElementVNode("ul", vue.mergeProps({
10916
11032
  class: "p-tree-container",
10917
11033
  role: "tree",
10918
11034
  "aria-labelledby": _ctx.ariaLabelledby,
10919
11035
  "aria-label": _ctx.ariaLabel
10920
- }, [
11036
+ }, _ctx.ptm('container')), [
10921
11037
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.valueToRender, (node, index) => {
10922
11038
  return (vue.openBlock(), vue.createBlock(_component_TreeNode, {
10923
11039
  key: node.key,
@@ -10930,12 +11046,13 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10930
11046
  onNodeClick: $options.onNodeClick,
10931
11047
  selectionMode: $props.selectionMode,
10932
11048
  selectionKeys: $props.selectionKeys,
10933
- onCheckboxChange: $options.onCheckboxChange
10934
- }, null, 8, ["node", "templates", "level", "index", "expandedKeys", "onNodeToggle", "onNodeClick", "selectionMode", "selectionKeys", "onCheckboxChange"]))
11049
+ onCheckboxChange: $options.onCheckboxChange,
11050
+ pt: _ctx.pt
11051
+ }, null, 8, ["node", "templates", "level", "index", "expandedKeys", "onNodeToggle", "onNodeClick", "selectionMode", "selectionKeys", "onCheckboxChange", "pt"]))
10935
11052
  }), 128))
10936
- ], 8, _hoisted_4)
10937
- ], 4)
10938
- ], 2))
11053
+ ], 16, _hoisted_2)
11054
+ ], 16)
11055
+ ], 16))
10939
11056
  }
10940
11057
 
10941
11058
  function styleInject(css, ref) {
@@ -10972,7 +11089,7 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
10972
11089
 
10973
11090
  return script;
10974
11091
 
10975
- })(primevue.icons.search, primevue.icons.spinner, primevue.utils, primevue.icons.check, primevue.icons.chevrondown, primevue.icons.chevronright, primevue.icons.minus, primevue.ripple, Vue);
11092
+ })(primevue.basecomponent, primevue.icons.search, primevue.icons.spinner, primevue.utils, primevue.icons.check, primevue.icons.chevrondown, primevue.icons.chevronright, primevue.icons.minus, primevue.ripple, Vue);
10976
11093
 
10977
11094
  this.primevue = this.primevue || {};
10978
11095
  this.primevue.menu = (function (BaseComponent, OverlayEventBus, Portal, utils, Ripple, vue) {