primevue 3.28.0 → 3.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/README.md +3 -3
  2. package/autocomplete/AutoComplete.d.ts +153 -1
  3. package/autocomplete/AutoComplete.vue +46 -17
  4. package/autocomplete/autocomplete.cjs.js +80 -74
  5. package/autocomplete/autocomplete.cjs.min.js +1 -1
  6. package/autocomplete/autocomplete.esm.js +80 -75
  7. package/autocomplete/autocomplete.esm.min.js +1 -1
  8. package/autocomplete/autocomplete.js +81 -76
  9. package/autocomplete/autocomplete.min.js +1 -1
  10. package/basecomponent/BaseComponent.vue +19 -5
  11. package/basecomponent/basecomponent.cjs.js +19 -5
  12. package/basecomponent/basecomponent.cjs.min.js +1 -1
  13. package/basecomponent/basecomponent.esm.js +19 -5
  14. package/basecomponent/basecomponent.esm.min.js +1 -1
  15. package/basecomponent/basecomponent.js +20 -7
  16. package/basecomponent/basecomponent.min.js +1 -1
  17. package/calendar/Calendar.d.ts +269 -0
  18. package/calendar/Calendar.vue +75 -59
  19. package/calendar/calendar.cjs.js +223 -259
  20. package/calendar/calendar.cjs.min.js +1 -1
  21. package/calendar/calendar.esm.js +223 -260
  22. package/calendar/calendar.esm.min.js +1 -1
  23. package/calendar/calendar.js +224 -261
  24. package/calendar/calendar.min.js +1 -1
  25. package/carousel/Carousel.d.ts +154 -0
  26. package/carousel/Carousel.vue +27 -14
  27. package/carousel/carousel.cjs.js +64 -65
  28. package/carousel/carousel.cjs.min.js +1 -1
  29. package/carousel/carousel.esm.js +64 -66
  30. package/carousel/carousel.esm.min.js +1 -1
  31. package/carousel/carousel.js +65 -67
  32. package/carousel/carousel.min.js +1 -1
  33. package/cascadeselect/CascadeSelect.d.ts +133 -0
  34. package/cascadeselect/CascadeSelect.vue +15 -12
  35. package/cascadeselect/CascadeSelectSub.vue +7 -3
  36. package/cascadeselect/cascadeselect.cjs.js +63 -66
  37. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  38. package/cascadeselect/cascadeselect.esm.js +63 -67
  39. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  40. package/cascadeselect/cascadeselect.js +64 -68
  41. package/cascadeselect/cascadeselect.min.js +1 -1
  42. package/checkbox/Checkbox.d.ts +60 -0
  43. package/checkbox/Checkbox.vue +7 -5
  44. package/checkbox/checkbox.cjs.js +17 -15
  45. package/checkbox/checkbox.cjs.min.js +1 -1
  46. package/checkbox/checkbox.esm.js +17 -16
  47. package/checkbox/checkbox.esm.min.js +1 -1
  48. package/checkbox/checkbox.js +18 -17
  49. package/checkbox/checkbox.min.js +1 -1
  50. package/chips/Chips.d.ts +80 -0
  51. package/chips/Chips.vue +9 -5
  52. package/chips/chips.cjs.js +23 -24
  53. package/chips/chips.cjs.min.js +1 -1
  54. package/chips/chips.esm.js +23 -25
  55. package/chips/chips.esm.min.js +1 -1
  56. package/chips/chips.js +24 -26
  57. package/chips/chips.min.js +1 -1
  58. package/colorpicker/ColorPicker.d.ts +76 -0
  59. package/colorpicker/ColorPicker.vue +11 -9
  60. package/colorpicker/colorpicker.cjs.js +28 -27
  61. package/colorpicker/colorpicker.cjs.min.js +1 -1
  62. package/colorpicker/colorpicker.esm.js +28 -28
  63. package/colorpicker/colorpicker.esm.min.js +1 -1
  64. package/colorpicker/colorpicker.js +29 -29
  65. package/colorpicker/colorpicker.min.js +1 -1
  66. package/column/Column.d.ts +303 -2
  67. package/column/Column.vue +3 -0
  68. package/column/column.cjs.js +7 -0
  69. package/column/column.cjs.min.js +1 -1
  70. package/column/column.esm.js +3 -0
  71. package/column/column.esm.min.js +1 -1
  72. package/column/column.js +7 -2
  73. package/column/column.min.js +1 -1
  74. package/columngroup/ColumnGroup.d.ts +34 -0
  75. package/columngroup/ColumnGroup.vue +3 -0
  76. package/columngroup/columngroup.cjs.js +7 -0
  77. package/columngroup/columngroup.cjs.min.js +1 -1
  78. package/columngroup/columngroup.esm.js +3 -0
  79. package/columngroup/columngroup.esm.min.js +1 -1
  80. package/columngroup/columngroup.js +7 -2
  81. package/columngroup/columngroup.min.js +1 -1
  82. package/config/PrimeVue.d.ts +163 -2
  83. package/confirmdialog/ConfirmDialog.d.ts +14 -7
  84. package/contextmenu/ContextMenu.d.ts +1 -1
  85. package/core/core.js +448 -331
  86. package/core/core.min.js +9 -9
  87. package/datatable/BodyCell.vue +29 -13
  88. package/datatable/ColumnFilter.vue +49 -20
  89. package/datatable/DataTable.d.ts +188 -1
  90. package/datatable/DataTable.vue +25 -14
  91. package/datatable/FooterCell.vue +15 -1
  92. package/datatable/HeaderCell.vue +31 -6
  93. package/datatable/HeaderCheckbox.vue +35 -5
  94. package/datatable/RowCheckbox.vue +36 -5
  95. package/datatable/RowRadioButton.vue +26 -6
  96. package/datatable/TableBody.vue +41 -11
  97. package/datatable/TableFooter.vue +31 -5
  98. package/datatable/TableHeader.vue +53 -6
  99. package/datatable/datatable.cjs.js +559 -376
  100. package/datatable/datatable.cjs.min.js +1 -1
  101. package/datatable/datatable.esm.js +559 -377
  102. package/datatable/datatable.esm.min.js +1 -1
  103. package/datatable/datatable.js +560 -378
  104. package/datatable/datatable.min.js +1 -1
  105. package/dataview/DataView.d.ts +72 -0
  106. package/dataview/DataView.vue +13 -8
  107. package/dataview/dataview.cjs.js +33 -37
  108. package/dataview/dataview.cjs.min.js +1 -1
  109. package/dataview/dataview.esm.js +33 -38
  110. package/dataview/dataview.esm.min.js +1 -1
  111. package/dataview/dataview.js +33 -38
  112. package/dataview/dataview.min.js +1 -1
  113. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +65 -0
  114. package/dataviewlayoutoptions/DataViewLayoutOptions.vue +7 -5
  115. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +19 -17
  116. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
  117. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +19 -18
  118. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
  119. package/dataviewlayoutoptions/dataviewlayoutoptions.js +20 -19
  120. package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
  121. package/dialog/Dialog.d.ts +6 -4
  122. package/dialog/Dialog.vue +2 -3
  123. package/dialog/dialog.cjs.js +4 -5
  124. package/dialog/dialog.cjs.min.js +1 -1
  125. package/dialog/dialog.esm.js +4 -5
  126. package/dialog/dialog.esm.min.js +1 -1
  127. package/dialog/dialog.js +4 -5
  128. package/dialog/dialog.min.js +1 -1
  129. package/dropdown/Dropdown.d.ts +162 -1
  130. package/dropdown/Dropdown.vue +44 -25
  131. package/dropdown/dropdown.cjs.js +97 -93
  132. package/dropdown/dropdown.cjs.min.js +1 -1
  133. package/dropdown/dropdown.esm.js +97 -94
  134. package/dropdown/dropdown.esm.min.js +1 -1
  135. package/dropdown/dropdown.js +98 -95
  136. package/dropdown/dropdown.min.js +1 -1
  137. package/editor/Editor.d.ts +67 -0
  138. package/editor/Editor.vue +35 -33
  139. package/editor/editor.cjs.js +88 -73
  140. package/editor/editor.cjs.min.js +1 -1
  141. package/editor/editor.esm.js +85 -74
  142. package/editor/editor.esm.min.js +1 -1
  143. package/editor/editor.js +89 -75
  144. package/editor/editor.min.js +1 -1
  145. package/fileupload/FileUpload.d.ts +23 -23
  146. package/fileupload/FileUpload.vue +3 -3
  147. package/fileupload/fileupload.cjs.js +4 -4
  148. package/fileupload/fileupload.cjs.min.js +1 -1
  149. package/fileupload/fileupload.esm.js +4 -4
  150. package/fileupload/fileupload.esm.min.js +1 -1
  151. package/fileupload/fileupload.js +4 -4
  152. package/fileupload/fileupload.min.js +1 -1
  153. package/galleria/Galleria.d.ts +196 -0
  154. package/galleria/Galleria.vue +5 -3
  155. package/galleria/GalleriaContent.vue +10 -6
  156. package/galleria/GalleriaItem.vue +12 -9
  157. package/galleria/GalleriaThumbnails.vue +46 -9
  158. package/galleria/galleria.cjs.js +106 -104
  159. package/galleria/galleria.cjs.min.js +1 -1
  160. package/galleria/galleria.esm.js +106 -105
  161. package/galleria/galleria.esm.min.js +1 -1
  162. package/galleria/galleria.js +107 -106
  163. package/galleria/galleria.min.js +1 -1
  164. package/image/Image.d.ts +170 -0
  165. package/image/Image.vue +49 -21
  166. package/image/image.cjs.js +94 -59
  167. package/image/image.cjs.min.js +1 -1
  168. package/image/image.esm.js +94 -60
  169. package/image/image.esm.min.js +1 -1
  170. package/image/image.js +95 -61
  171. package/image/image.min.js +1 -1
  172. package/inputmask/InputMask.d.ts +25 -0
  173. package/inputmask/InputMask.vue +3 -1
  174. package/inputmask/inputmask.cjs.js +9 -3
  175. package/inputmask/inputmask.cjs.min.js +1 -1
  176. package/inputmask/inputmask.esm.js +6 -4
  177. package/inputmask/inputmask.esm.min.js +1 -1
  178. package/inputmask/inputmask.js +10 -5
  179. package/inputmask/inputmask.min.js +1 -1
  180. package/inputnumber/InputNumber.d.ts +69 -0
  181. package/inputnumber/InputNumber.vue +13 -11
  182. package/inputnumber/inputnumber.cjs.js +19 -28
  183. package/inputnumber/inputnumber.cjs.min.js +1 -1
  184. package/inputnumber/inputnumber.esm.js +19 -29
  185. package/inputnumber/inputnumber.esm.min.js +1 -1
  186. package/inputnumber/inputnumber.js +20 -30
  187. package/inputnumber/inputnumber.min.js +1 -1
  188. package/inputswitch/InputSwitch.d.ts +51 -0
  189. package/inputswitch/InputSwitch.vue +7 -4
  190. package/inputswitch/inputswitch.cjs.js +15 -11
  191. package/inputswitch/inputswitch.cjs.min.js +1 -1
  192. package/inputswitch/inputswitch.esm.js +12 -12
  193. package/inputswitch/inputswitch.esm.min.js +1 -1
  194. package/inputswitch/inputswitch.js +16 -13
  195. package/inputswitch/inputswitch.min.js +1 -1
  196. package/inputtext/InputText.d.ts +25 -0
  197. package/inputtext/InputText.vue +4 -1
  198. package/inputtext/inputtext.cjs.js +9 -3
  199. package/inputtext/inputtext.cjs.min.js +1 -1
  200. package/inputtext/inputtext.esm.js +6 -4
  201. package/inputtext/inputtext.esm.min.js +1 -1
  202. package/inputtext/inputtext.js +10 -5
  203. package/inputtext/inputtext.min.js +1 -1
  204. package/knob/Knob.d.ts +78 -0
  205. package/knob/Knob.vue +8 -4
  206. package/knob/knob.cjs.js +17 -13
  207. package/knob/knob.cjs.min.js +1 -1
  208. package/knob/knob.esm.js +14 -14
  209. package/knob/knob.esm.min.js +1 -1
  210. package/knob/knob.js +18 -15
  211. package/knob/knob.min.js +1 -1
  212. package/listbox/Listbox.d.ts +137 -1
  213. package/listbox/Listbox.vue +28 -15
  214. package/listbox/listbox.cjs.js +83 -78
  215. package/listbox/listbox.cjs.min.js +1 -1
  216. package/listbox/listbox.esm.js +83 -79
  217. package/listbox/listbox.esm.min.js +1 -1
  218. package/listbox/listbox.js +84 -80
  219. package/listbox/listbox.min.js +1 -1
  220. package/megamenu/MegaMenu.d.ts +5 -5
  221. package/menu/Menu.d.ts +4 -4
  222. package/menubar/Menubar.d.ts +1 -1
  223. package/multiselect/MultiSelect.d.ts +223 -1
  224. package/multiselect/MultiSelect.vue +72 -41
  225. package/multiselect/multiselect.cjs.js +156 -151
  226. package/multiselect/multiselect.cjs.min.js +1 -1
  227. package/multiselect/multiselect.esm.js +156 -152
  228. package/multiselect/multiselect.esm.min.js +1 -1
  229. package/multiselect/multiselect.js +157 -153
  230. package/multiselect/multiselect.min.js +1 -1
  231. package/orderlist/OrderList.d.ts +94 -0
  232. package/orderlist/OrderList.vue +38 -18
  233. package/orderlist/orderlist.cjs.js +50 -36
  234. package/orderlist/orderlist.cjs.min.js +1 -1
  235. package/orderlist/orderlist.esm.js +50 -37
  236. package/orderlist/orderlist.esm.min.js +1 -1
  237. package/orderlist/orderlist.js +51 -38
  238. package/orderlist/orderlist.min.js +1 -1
  239. package/organizationchart/OrganizationChart.d.ts +129 -0
  240. package/organizationchart/OrganizationChart.vue +14 -2
  241. package/organizationchart/OrganizationChartNode.vue +37 -16
  242. package/organizationchart/organizationchart.cjs.js +77 -61
  243. package/organizationchart/organizationchart.cjs.min.js +1 -1
  244. package/organizationchart/organizationchart.esm.js +77 -62
  245. package/organizationchart/organizationchart.esm.min.js +1 -1
  246. package/organizationchart/organizationchart.js +78 -63
  247. package/organizationchart/organizationchart.min.js +1 -1
  248. package/package.json +1 -1
  249. package/paginator/CurrentPageReport.vue +5 -1
  250. package/paginator/FirstPageLink.vue +13 -2
  251. package/paginator/JumpToPageDropdown.vue +3 -1
  252. package/paginator/JumpToPageInput.vue +3 -1
  253. package/paginator/LastPageLink.vue +13 -2
  254. package/paginator/NextPageLink.vue +13 -2
  255. package/paginator/PageLinks.vue +12 -2
  256. package/paginator/Paginator.d.ts +133 -0
  257. package/paginator/Paginator.vue +23 -12
  258. package/paginator/PrevPageLink.vue +13 -2
  259. package/paginator/RowsPerPageDropdown.vue +3 -1
  260. package/paginator/paginator.cjs.js +135 -76
  261. package/paginator/paginator.cjs.min.js +1 -1
  262. package/paginator/paginator.esm.js +135 -77
  263. package/paginator/paginator.esm.min.js +1 -1
  264. package/paginator/paginator.js +136 -78
  265. package/paginator/paginator.min.js +1 -1
  266. package/panelmenu/PanelMenu.d.ts +4 -8
  267. package/password/Password.d.ts +104 -0
  268. package/password/Password.vue +11 -9
  269. package/password/password.cjs.js +26 -28
  270. package/password/password.cjs.min.js +1 -1
  271. package/password/password.esm.js +26 -29
  272. package/password/password.esm.min.js +1 -1
  273. package/password/password.js +27 -30
  274. package/password/password.min.js +1 -1
  275. package/picklist/PickList.d.ts +160 -0
  276. package/picklist/PickList.vue +46 -34
  277. package/picklist/picklist.cjs.js +111 -85
  278. package/picklist/picklist.cjs.min.js +1 -1
  279. package/picklist/picklist.esm.js +111 -86
  280. package/picklist/picklist.esm.min.js +1 -1
  281. package/picklist/picklist.js +112 -87
  282. package/picklist/picklist.min.js +1 -1
  283. package/radiobutton/RadioButton.d.ts +55 -0
  284. package/radiobutton/RadioButton.vue +7 -5
  285. package/radiobutton/radiobutton.cjs.js +19 -16
  286. package/radiobutton/radiobutton.cjs.min.js +1 -1
  287. package/radiobutton/radiobutton.esm.js +16 -17
  288. package/radiobutton/radiobutton.esm.min.js +1 -1
  289. package/radiobutton/radiobutton.js +20 -18
  290. package/radiobutton/radiobutton.min.js +1 -1
  291. package/rating/Rating.d.ts +96 -0
  292. package/rating/Rating.vue +32 -9
  293. package/rating/rating.cjs.js +41 -34
  294. package/rating/rating.cjs.min.js +1 -1
  295. package/rating/rating.esm.js +41 -35
  296. package/rating/rating.esm.min.js +1 -1
  297. package/rating/rating.js +42 -36
  298. package/rating/rating.min.js +1 -1
  299. package/row/Row.d.ts +29 -0
  300. package/row/Row.vue +3 -0
  301. package/row/row.cjs.js +7 -0
  302. package/row/row.cjs.min.js +1 -1
  303. package/row/row.esm.js +3 -0
  304. package/row/row.esm.min.js +1 -1
  305. package/row/row.js +7 -2
  306. package/row/row.min.js +1 -1
  307. package/selectbutton/SelectButton.d.ts +68 -0
  308. package/selectbutton/SelectButton.vue +13 -2
  309. package/selectbutton/selectbutton.cjs.js +20 -10
  310. package/selectbutton/selectbutton.cjs.min.js +1 -1
  311. package/selectbutton/selectbutton.esm.js +20 -11
  312. package/selectbutton/selectbutton.esm.min.js +1 -1
  313. package/selectbutton/selectbutton.js +21 -12
  314. package/selectbutton/selectbutton.min.js +1 -1
  315. package/slider/Slider.d.ts +48 -0
  316. package/slider/Slider.vue +7 -2
  317. package/slider/slider.cjs.js +22 -16
  318. package/slider/slider.cjs.min.js +1 -1
  319. package/slider/slider.esm.js +19 -17
  320. package/slider/slider.esm.min.js +1 -1
  321. package/slider/slider.js +23 -18
  322. package/slider/slider.min.js +1 -1
  323. package/splitbutton/SplitButton.d.ts +0 -4
  324. package/splitbutton/SplitButton.vue +2 -2
  325. package/splitbutton/splitbutton.cjs.js +7 -6
  326. package/splitbutton/splitbutton.cjs.min.js +1 -1
  327. package/splitbutton/splitbutton.esm.js +7 -6
  328. package/splitbutton/splitbutton.esm.min.js +1 -1
  329. package/splitbutton/splitbutton.js +7 -6
  330. package/splitbutton/splitbutton.min.js +1 -1
  331. package/splitter/Splitter.d.ts +3 -3
  332. package/textarea/Textarea.d.ts +32 -0
  333. package/textarea/Textarea.vue +4 -1
  334. package/textarea/textarea.cjs.js +9 -3
  335. package/textarea/textarea.cjs.min.js +1 -1
  336. package/textarea/textarea.esm.js +6 -4
  337. package/textarea/textarea.esm.min.js +1 -1
  338. package/textarea/textarea.js +10 -5
  339. package/textarea/textarea.min.js +1 -1
  340. package/timeline/Timeline.d.ts +49 -0
  341. package/timeline/Timeline.vue +9 -7
  342. package/timeline/timeline.cjs.js +19 -21
  343. package/timeline/timeline.cjs.min.js +1 -1
  344. package/timeline/timeline.esm.js +16 -22
  345. package/timeline/timeline.esm.min.js +1 -1
  346. package/timeline/timeline.js +20 -23
  347. package/timeline/timeline.min.js +1 -1
  348. package/toast/Toast.d.ts +4 -0
  349. package/toast/Toast.vue +1 -1
  350. package/toast/toast.cjs.js +3 -3
  351. package/toast/toast.cjs.min.js +1 -1
  352. package/toast/toast.esm.js +3 -3
  353. package/toast/toast.esm.min.js +1 -1
  354. package/toast/toast.js +3 -3
  355. package/toast/toast.min.js +1 -1
  356. package/togglebutton/ToggleButton.d.ts +59 -0
  357. package/togglebutton/ToggleButton.vue +7 -5
  358. package/togglebutton/togglebutton.cjs.js +15 -14
  359. package/togglebutton/togglebutton.cjs.min.js +1 -1
  360. package/togglebutton/togglebutton.esm.js +15 -15
  361. package/togglebutton/togglebutton.esm.min.js +1 -1
  362. package/togglebutton/togglebutton.js +16 -16
  363. package/togglebutton/togglebutton.min.js +1 -1
  364. package/tooltip/Tooltip.d.ts +10 -0
  365. package/tooltip/tooltip.cjs.js +51 -9
  366. package/tooltip/tooltip.cjs.min.js +1 -1
  367. package/tooltip/tooltip.esm.js +52 -10
  368. package/tooltip/tooltip.esm.min.js +1 -1
  369. package/tooltip/tooltip.js +51 -9
  370. package/tooltip/tooltip.min.js +1 -1
  371. package/tree/Tree.d.ts +137 -0
  372. package/tree/Tree.vue +12 -9
  373. package/tree/TreeNode.vue +23 -10
  374. package/tree/tree.cjs.js +85 -79
  375. package/tree/tree.cjs.min.js +1 -1
  376. package/tree/tree.esm.js +85 -80
  377. package/tree/tree.esm.min.js +1 -1
  378. package/tree/tree.js +86 -81
  379. package/tree/tree.min.js +1 -1
  380. package/treeselect/TreeSelect.d.ts +103 -1
  381. package/treeselect/TreeSelect.vue +15 -12
  382. package/treeselect/treeselect.cjs.js +37 -39
  383. package/treeselect/treeselect.cjs.min.js +1 -1
  384. package/treeselect/treeselect.esm.js +37 -40
  385. package/treeselect/treeselect.esm.min.js +1 -1
  386. package/treeselect/treeselect.js +38 -41
  387. package/treeselect/treeselect.min.js +1 -1
  388. package/treetable/BodyCell.vue +38 -10
  389. package/treetable/FooterCell.vue +15 -1
  390. package/treetable/HeaderCell.vue +28 -5
  391. package/treetable/TreeTable.d.ts +162 -0
  392. package/treetable/TreeTable.vue +25 -19
  393. package/treetable/TreeTableRow.vue +5 -0
  394. package/treetable/treetable.cjs.js +205 -158
  395. package/treetable/treetable.cjs.min.js +1 -1
  396. package/treetable/treetable.esm.js +205 -159
  397. package/treetable/treetable.esm.min.js +1 -1
  398. package/treetable/treetable.js +206 -160
  399. package/treetable/treetable.min.js +1 -1
  400. package/tristatecheckbox/TriStateCheckbox.d.ts +93 -0
  401. package/tristatecheckbox/TriStateCheckbox.vue +19 -8
  402. package/tristatecheckbox/tristatecheckbox.cjs.js +31 -22
  403. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  404. package/tristatecheckbox/tristatecheckbox.esm.js +31 -23
  405. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  406. package/tristatecheckbox/tristatecheckbox.js +32 -24
  407. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  408. package/ts-helpers.d.ts +3 -1
  409. package/vetur-attributes.json +180 -0
  410. package/vetur-tags.json +94 -39
  411. package/virtualscroller/VirtualScroller.d.ts +97 -0
  412. package/virtualscroller/VirtualScroller.vue +7 -5
  413. package/virtualscroller/virtualscroller.cjs.js +22 -19
  414. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  415. package/virtualscroller/virtualscroller.esm.js +22 -20
  416. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  417. package/virtualscroller/virtualscroller.js +23 -21
  418. package/virtualscroller/virtualscroller.min.js +1 -1
  419. package/web-types.json +467 -3
  420. package/datatable/TableLoadingBody.vue +0 -25
@@ -1,3 +1,4 @@
1
+ import BaseComponent from 'primevue/basecomponent';
1
2
  import Button from 'primevue/button';
2
3
  import CalendarIcon from 'primevue/icons/calendar';
3
4
  import ChevronDownIcon from 'primevue/icons/chevrondown';
@@ -8,10 +9,11 @@ import OverlayEventBus from 'primevue/overlayeventbus';
8
9
  import Portal from 'primevue/portal';
9
10
  import Ripple from 'primevue/ripple';
10
11
  import { DomHandler, ZIndexUtils, ConnectedOverlayScrollHandler, UniqueComponentId } from 'primevue/utils';
11
- import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, mergeProps, createCommentVNode, createBlock, withCtx, renderSlot, resolveDynamicComponent, createVNode, Transition, Fragment, createElementVNode, renderList, withDirectives, vShow, toDisplayString, createTextVNode, withKeys } from 'vue';
12
+ import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, createCommentVNode, createBlock, withCtx, renderSlot, resolveDynamicComponent, createVNode, Transition, Fragment, createElementVNode, renderList, withDirectives, vShow, toDisplayString, createTextVNode, normalizeProps, guardReactiveProps, withKeys } from 'vue';
12
13
 
13
14
  var script = {
14
15
  name: 'Calendar',
16
+ extends: BaseComponent,
15
17
  emits: ['show', 'hide', 'input', 'month-change', 'year-change', 'date-select', 'update:modelValue', 'today-click', 'clear-click', 'focus', 'blur', 'keydown'],
16
18
  props: {
17
19
  modelValue: null,
@@ -2257,7 +2259,7 @@ var script = {
2257
2259
  this.$emit('input', event);
2258
2260
  },
2259
2261
  onInputClick() {
2260
- if (this.isEnabled() && !this.overlayVisible) {
2262
+ if (this.showOnFocus && this.isEnabled() && !this.overlayVisible) {
2261
2263
  this.overlayVisible = true;
2262
2264
  }
2263
2265
  },
@@ -2652,113 +2654,34 @@ var script = {
2652
2654
  const _hoisted_1 = ["id"];
2653
2655
  const _hoisted_2 = ["id", "placeholder", "aria-expanded", "aria-controls", "aria-labelledby", "aria-label", "disabled", "readonly"];
2654
2656
  const _hoisted_3 = ["id", "role", "aria-modal", "aria-label"];
2655
- const _hoisted_4 = { class: "p-datepicker-group-container" };
2656
- const _hoisted_5 = { class: "p-datepicker-header" };
2657
+ const _hoisted_4 = ["disabled", "aria-label"];
2658
+ const _hoisted_5 = ["disabled", "aria-label"];
2657
2659
  const _hoisted_6 = ["disabled", "aria-label"];
2658
- const _hoisted_7 = { class: "p-datepicker-title" };
2659
- const _hoisted_8 = ["disabled", "aria-label"];
2660
- const _hoisted_9 = ["disabled", "aria-label"];
2661
- const _hoisted_10 = {
2662
- key: 2,
2663
- class: "p-datepicker-decade"
2664
- };
2665
- const _hoisted_11 = ["disabled", "aria-label"];
2666
- const _hoisted_12 = {
2667
- key: 0,
2668
- class: "p-datepicker-calendar-container"
2669
- };
2670
- const _hoisted_13 = {
2671
- class: "p-datepicker-calendar",
2672
- role: "grid"
2673
- };
2674
- const _hoisted_14 = {
2675
- key: 0,
2676
- scope: "col",
2677
- class: "p-datepicker-weekheader p-disabled"
2678
- };
2679
- const _hoisted_15 = ["abbr"];
2680
- const _hoisted_16 = {
2681
- key: 0,
2682
- class: "p-datepicker-weeknumber"
2683
- };
2684
- const _hoisted_17 = { class: "p-disabled" };
2685
- const _hoisted_18 = {
2686
- key: 0,
2687
- style: {"visibility":"hidden"}
2688
- };
2689
- const _hoisted_19 = ["aria-label"];
2690
- const _hoisted_20 = ["onClick", "onKeydown", "aria-selected"];
2691
- const _hoisted_21 = {
2692
- key: 0,
2693
- class: "p-hidden-accessible",
2694
- "aria-live": "polite"
2695
- };
2696
- const _hoisted_22 = {
2697
- key: 0,
2698
- class: "p-monthpicker"
2699
- };
2700
- const _hoisted_23 = ["onClick", "onKeydown"];
2701
- const _hoisted_24 = {
2702
- key: 0,
2703
- class: "p-hidden-accessible",
2704
- "aria-live": "polite"
2705
- };
2706
- const _hoisted_25 = {
2707
- key: 1,
2708
- class: "p-yearpicker"
2709
- };
2710
- const _hoisted_26 = ["onClick", "onKeydown"];
2711
- const _hoisted_27 = {
2712
- key: 0,
2713
- class: "p-hidden-accessible",
2714
- "aria-live": "polite"
2715
- };
2716
- const _hoisted_28 = {
2717
- key: 1,
2718
- class: "p-timepicker"
2719
- };
2720
- const _hoisted_29 = { class: "p-hour-picker" };
2721
- const _hoisted_30 = ["aria-label"];
2722
- const _hoisted_31 = ["aria-label"];
2723
- const _hoisted_32 = { class: "p-separator" };
2724
- const _hoisted_33 = { class: "p-minute-picker" };
2725
- const _hoisted_34 = ["aria-label", "disabled"];
2726
- const _hoisted_35 = ["aria-label", "disabled"];
2727
- const _hoisted_36 = {
2728
- key: 0,
2729
- class: "p-separator"
2730
- };
2731
- const _hoisted_37 = {
2732
- key: 1,
2733
- class: "p-second-picker"
2734
- };
2735
- const _hoisted_38 = ["aria-label", "disabled"];
2736
- const _hoisted_39 = ["aria-label", "disabled"];
2737
- const _hoisted_40 = {
2738
- key: 2,
2739
- class: "p-separator"
2740
- };
2741
- const _hoisted_41 = {
2742
- key: 3,
2743
- class: "p-ampm-picker"
2744
- };
2745
- const _hoisted_42 = ["aria-label", "disabled"];
2746
- const _hoisted_43 = ["aria-label", "disabled"];
2747
- const _hoisted_44 = {
2748
- key: 2,
2749
- class: "p-datepicker-buttonbar"
2750
- };
2660
+ const _hoisted_7 = ["disabled", "aria-label"];
2661
+ const _hoisted_8 = ["abbr"];
2662
+ const _hoisted_9 = ["aria-label"];
2663
+ const _hoisted_10 = ["onClick", "onKeydown", "aria-selected"];
2664
+ const _hoisted_11 = ["onClick", "onKeydown"];
2665
+ const _hoisted_12 = ["onClick", "onKeydown"];
2666
+ const _hoisted_13 = ["aria-label"];
2667
+ const _hoisted_14 = ["aria-label"];
2668
+ const _hoisted_15 = ["aria-label", "disabled"];
2669
+ const _hoisted_16 = ["aria-label", "disabled"];
2670
+ const _hoisted_17 = ["aria-label", "disabled"];
2671
+ const _hoisted_18 = ["aria-label", "disabled"];
2672
+ const _hoisted_19 = ["aria-label", "disabled"];
2673
+ const _hoisted_20 = ["aria-label", "disabled"];
2751
2674
 
2752
2675
  function render(_ctx, _cache, $props, $setup, $data, $options) {
2753
2676
  const _component_CalendarButton = resolveComponent("CalendarButton");
2754
2677
  const _component_Portal = resolveComponent("Portal");
2755
2678
  const _directive_ripple = resolveDirective("ripple");
2756
2679
 
2757
- return (openBlock(), createElementBlock("span", {
2680
+ return (openBlock(), createElementBlock("span", mergeProps({
2758
2681
  ref: "container",
2759
2682
  id: $props.id,
2760
- class: normalizeClass($options.containerClass)
2761
- }, [
2683
+ class: $options.containerClass
2684
+ }, _ctx.ptm('root')), [
2762
2685
  (!$props.inline)
2763
2686
  ? (openBlock(), createElementBlock("input", mergeProps({
2764
2687
  key: 0,
@@ -2785,7 +2708,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2785
2708
  onFocus: _cache[2] || (_cache[2] = (...args) => ($options.onFocus && $options.onFocus(...args))),
2786
2709
  onBlur: _cache[3] || (_cache[3] = (...args) => ($options.onBlur && $options.onBlur(...args))),
2787
2710
  onKeydown: _cache[4] || (_cache[4] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args)))
2788
- }, $props.inputProps), null, 16, _hoisted_2))
2711
+ }, { ...$props.inputProps, ..._ctx.ptm('input') }), null, 16, _hoisted_2))
2789
2712
  : createCommentVNode("", true),
2790
2713
  ($props.showIcon)
2791
2714
  ? (openBlock(), createBlock(_component_CalendarButton, {
@@ -2797,17 +2720,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2797
2720
  "aria-label": _ctx.$primevue.config.locale.chooseDate,
2798
2721
  "aria-haspopup": "dialog",
2799
2722
  "aria-expanded": $data.overlayVisible,
2800
- "aria-controls": $options.panelId
2723
+ "aria-controls": $options.panelId,
2724
+ pt: _ctx.ptm('dropdownButton')
2801
2725
  }, {
2802
2726
  icon: withCtx(() => [
2803
2727
  renderSlot(_ctx.$slots, "dropdownicon", {}, () => [
2804
- (openBlock(), createBlock(resolveDynamicComponent($props.icon ? 'span' : 'CalendarIcon'), {
2805
- class: normalizeClass($props.icon)
2806
- }, null, 8, ["class"]))
2728
+ (openBlock(), createBlock(resolveDynamicComponent($props.icon ? 'span' : 'CalendarIcon'), mergeProps({ class: $props.icon }, _ctx.ptm('dropdownButton')['icon']), null, 16, ["class"]))
2807
2729
  ])
2808
2730
  ]),
2809
2731
  _: 3
2810
- }, 8, ["disabled", "onClick", "aria-label", "aria-expanded", "aria-controls"]))
2732
+ }, 8, ["disabled", "onClick", "aria-label", "aria-expanded", "aria-controls", "pt"]))
2811
2733
  : createCommentVNode("", true),
2812
2734
  createVNode(_component_Portal, {
2813
2735
  appendTo: $props.appendTo,
@@ -2835,37 +2757,37 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2835
2757
  onClick: _cache[65] || (_cache[65] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),
2836
2758
  onKeydown: _cache[66] || (_cache[66] = (...args) => ($options.onOverlayKeyDown && $options.onOverlayKeyDown(...args))),
2837
2759
  onMouseup: _cache[67] || (_cache[67] = (...args) => ($options.onOverlayMouseUp && $options.onOverlayMouseUp(...args)))
2838
- }, $props.panelProps), [
2760
+ }, { ...$props.panelProps, ..._ctx.ptm('panel') }), [
2839
2761
  (!$props.timeOnly)
2840
2762
  ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
2841
- createElementVNode("div", _hoisted_4, [
2763
+ createElementVNode("div", mergeProps({ class: "p-datepicker-group-container" }, _ctx.ptm('groupContainer')), [
2842
2764
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.months, (month, groupIndex) => {
2843
- return (openBlock(), createElementBlock("div", {
2765
+ return (openBlock(), createElementBlock("div", mergeProps({
2844
2766
  key: month.month + month.year,
2845
2767
  class: "p-datepicker-group"
2846
- }, [
2847
- createElementVNode("div", _hoisted_5, [
2768
+ }, _ctx.ptm('group')), [
2769
+ createElementVNode("div", mergeProps({ class: "p-datepicker-header" }, _ctx.ptm('header')), [
2848
2770
  renderSlot(_ctx.$slots, "header"),
2849
- withDirectives((openBlock(), createElementBlock("button", {
2771
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
2850
2772
  class: "p-datepicker-prev p-link",
2851
2773
  onClick: _cache[5] || (_cache[5] = (...args) => ($options.onPrevButtonClick && $options.onPrevButtonClick(...args))),
2852
2774
  type: "button",
2853
2775
  onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
2854
2776
  disabled: $props.disabled,
2855
2777
  "aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.prevDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.prevYear : _ctx.$primevue.config.locale.prevMonth
2856
- }, [
2778
+ }, _ctx.ptm('previousButton')), [
2857
2779
  renderSlot(_ctx.$slots, "previousicon", {}, () => [
2858
- (openBlock(), createBlock(resolveDynamicComponent($props.previousIcon ? 'span' : 'ChevronLeftIcon'), {
2859
- class: normalizeClass(['p-datepicker-prev-icon', $props.previousIcon])
2860
- }, null, 8, ["class"]))
2780
+ (openBlock(), createBlock(resolveDynamicComponent($props.previousIcon ? 'span' : 'ChevronLeftIcon'), mergeProps({
2781
+ class: ['p-datepicker-prev-icon', $props.previousIcon]
2782
+ }, _ctx.ptm('previousIcon')), null, 16, ["class"]))
2861
2783
  ])
2862
- ], 40, _hoisted_6)), [
2784
+ ], 16, _hoisted_4)), [
2863
2785
  [vShow, $props.showOtherMonths ? groupIndex === 0 : false],
2864
2786
  [_directive_ripple]
2865
2787
  ]),
2866
- createElementVNode("div", _hoisted_7, [
2788
+ createElementVNode("div", mergeProps({ class: "p-datepicker-title" }, _ctx.ptm('title')), [
2867
2789
  ($data.currentView === 'date')
2868
- ? (openBlock(), createElementBlock("button", {
2790
+ ? (openBlock(), createElementBlock("button", mergeProps({
2869
2791
  key: 0,
2870
2792
  type: "button",
2871
2793
  onClick: _cache[7] || (_cache[7] = (...args) => ($options.switchToMonthView && $options.switchToMonthView(...args))),
@@ -2873,10 +2795,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2873
2795
  class: "p-datepicker-month p-link",
2874
2796
  disabled: $options.switchViewButtonDisabled,
2875
2797
  "aria-label": _ctx.$primevue.config.locale.chooseMonth
2876
- }, toDisplayString($options.getMonthName(month.month)), 41, _hoisted_8))
2798
+ }, _ctx.ptm('monthTitle')), toDisplayString($options.getMonthName(month.month)), 17, _hoisted_5))
2877
2799
  : createCommentVNode("", true),
2878
2800
  ($data.currentView !== 'year')
2879
- ? (openBlock(), createElementBlock("button", {
2801
+ ? (openBlock(), createElementBlock("button", mergeProps({
2880
2802
  key: 1,
2881
2803
  type: "button",
2882
2804
  onClick: _cache[9] || (_cache[9] = (...args) => ($options.switchToYearView && $options.switchToYearView(...args))),
@@ -2884,147 +2806,187 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2884
2806
  class: "p-datepicker-year p-link",
2885
2807
  disabled: $options.switchViewButtonDisabled,
2886
2808
  "aria-label": _ctx.$primevue.config.locale.chooseYear
2887
- }, toDisplayString($options.getYear(month)), 41, _hoisted_9))
2809
+ }, _ctx.ptm('yearTitle')), toDisplayString($options.getYear(month)), 17, _hoisted_6))
2888
2810
  : createCommentVNode("", true),
2889
2811
  ($data.currentView === 'year')
2890
- ? (openBlock(), createElementBlock("span", _hoisted_10, [
2812
+ ? (openBlock(), createElementBlock("span", mergeProps({
2813
+ key: 2,
2814
+ class: "p-datepicker-decade"
2815
+ }, _ctx.ptm('decadeTitle')), [
2891
2816
  renderSlot(_ctx.$slots, "decade", { years: $options.yearPickerValues }, () => [
2892
2817
  createTextVNode(toDisplayString($options.yearPickerValues[0].value) + " - " + toDisplayString($options.yearPickerValues[$options.yearPickerValues.length - 1].value), 1)
2893
2818
  ])
2894
- ]))
2819
+ ], 16))
2895
2820
  : createCommentVNode("", true)
2896
- ]),
2897
- withDirectives((openBlock(), createElementBlock("button", {
2821
+ ], 16),
2822
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
2898
2823
  class: "p-datepicker-next p-link",
2899
2824
  onClick: _cache[11] || (_cache[11] = (...args) => ($options.onNextButtonClick && $options.onNextButtonClick(...args))),
2900
2825
  type: "button",
2901
2826
  onKeydown: _cache[12] || (_cache[12] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
2902
2827
  disabled: $props.disabled,
2903
2828
  "aria-label": $data.currentView === 'year' ? _ctx.$primevue.config.locale.nextDecade : $data.currentView === 'month' ? _ctx.$primevue.config.locale.nextYear : _ctx.$primevue.config.locale.nextMonth
2904
- }, [
2829
+ }, _ctx.ptm('nextButton')), [
2905
2830
  renderSlot(_ctx.$slots, "nexticon", {}, () => [
2906
- (openBlock(), createBlock(resolveDynamicComponent($props.nextIcon ? 'span' : 'ChevronRightIcon'), {
2907
- class: normalizeClass(['p-datepicker-next-icon', $props.nextIcon])
2908
- }, null, 8, ["class"]))
2831
+ (openBlock(), createBlock(resolveDynamicComponent($props.nextIcon ? 'span' : 'ChevronRightIcon'), mergeProps({
2832
+ class: ['p-datepicker-next-icon', $props.nextIcon]
2833
+ }, _ctx.ptm('nextIcon')), null, 16, ["class"]))
2909
2834
  ])
2910
- ], 40, _hoisted_11)), [
2835
+ ], 16, _hoisted_7)), [
2911
2836
  [vShow, $props.showOtherMonths ? ($props.numberOfMonths === 1 ? true : groupIndex === $props.numberOfMonths - 1) : false],
2912
2837
  [_directive_ripple]
2913
2838
  ])
2914
- ]),
2839
+ ], 16),
2915
2840
  ($data.currentView === 'date')
2916
- ? (openBlock(), createElementBlock("div", _hoisted_12, [
2917
- createElementVNode("table", _hoisted_13, [
2918
- createElementVNode("thead", null, [
2919
- createElementVNode("tr", null, [
2841
+ ? (openBlock(), createElementBlock("div", mergeProps({
2842
+ key: 0,
2843
+ class: "p-datepicker-calendar-container"
2844
+ }, _ctx.ptm('container')), [
2845
+ createElementVNode("table", mergeProps({
2846
+ class: "p-datepicker-calendar",
2847
+ role: "grid"
2848
+ }, _ctx.ptm('table')), [
2849
+ createElementVNode("thead", normalizeProps(guardReactiveProps(_ctx.ptm('tableHeader'))), [
2850
+ createElementVNode("tr", normalizeProps(guardReactiveProps(_ctx.ptm('tableHeaderRow'))), [
2920
2851
  ($props.showWeek)
2921
- ? (openBlock(), createElementBlock("th", _hoisted_14, [
2922
- createElementVNode("span", null, toDisplayString($options.weekHeaderLabel), 1)
2923
- ]))
2852
+ ? (openBlock(), createElementBlock("th", mergeProps({
2853
+ key: 0,
2854
+ scope: "col",
2855
+ class: "p-datepicker-weekheader p-disabled"
2856
+ }, _ctx.ptm('tableHeaderCell')), [
2857
+ createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('weekLabel'))), toDisplayString($options.weekHeaderLabel), 17)
2858
+ ], 16))
2924
2859
  : createCommentVNode("", true),
2925
2860
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.weekDays, (weekDay) => {
2926
- return (openBlock(), createElementBlock("th", {
2861
+ return (openBlock(), createElementBlock("th", mergeProps({
2927
2862
  key: weekDay,
2928
2863
  scope: "col",
2929
2864
  abbr: weekDay
2930
- }, [
2931
- createElementVNode("span", null, toDisplayString(weekDay), 1)
2932
- ], 8, _hoisted_15))
2865
+ }, _ctx.ptm('tableHeaderCell')), [
2866
+ createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('weekDay'))), toDisplayString(weekDay), 17)
2867
+ ], 16, _hoisted_8))
2933
2868
  }), 128))
2934
- ])
2935
- ]),
2936
- createElementVNode("tbody", null, [
2869
+ ], 16)
2870
+ ], 16),
2871
+ createElementVNode("tbody", normalizeProps(guardReactiveProps(_ctx.ptm('tableBody'))), [
2937
2872
  (openBlock(true), createElementBlock(Fragment, null, renderList(month.dates, (week, i) => {
2938
- return (openBlock(), createElementBlock("tr", {
2873
+ return (openBlock(), createElementBlock("tr", mergeProps({
2939
2874
  key: week[0].day + '' + week[0].month
2940
- }, [
2875
+ }, _ctx.ptm('tableBodyRow')), [
2941
2876
  ($props.showWeek)
2942
- ? (openBlock(), createElementBlock("td", _hoisted_16, [
2943
- createElementVNode("span", _hoisted_17, [
2877
+ ? (openBlock(), createElementBlock("td", mergeProps({
2878
+ key: 0,
2879
+ class: "p-datepicker-weeknumber"
2880
+ }, _ctx.ptm('weekNumber')), [
2881
+ createElementVNode("span", mergeProps({ class: "p-disabled" }, _ctx.ptm('weekLabelContainer')), [
2944
2882
  (month.weekNumbers[i] < 10)
2945
- ? (openBlock(), createElementBlock("span", _hoisted_18, "0"))
2883
+ ? (openBlock(), createElementBlock("span", mergeProps({
2884
+ key: 0,
2885
+ style: {"visibility":"hidden"}
2886
+ }, _ctx.ptm('weekLabel')), "0", 16))
2946
2887
  : createCommentVNode("", true),
2947
2888
  createTextVNode(" " + toDisplayString(month.weekNumbers[i]), 1)
2948
- ])
2949
- ]))
2889
+ ], 16)
2890
+ ], 16))
2950
2891
  : createCommentVNode("", true),
2951
2892
  (openBlock(true), createElementBlock(Fragment, null, renderList(week, (date) => {
2952
- return (openBlock(), createElementBlock("td", {
2893
+ return (openBlock(), createElementBlock("td", mergeProps({
2953
2894
  key: date.day + '' + date.month,
2954
2895
  "aria-label": date.day,
2955
- class: normalizeClass({ 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today })
2956
- }, [
2957
- withDirectives((openBlock(), createElementBlock("span", {
2958
- class: normalizeClass({ 'p-highlight': $options.isSelected(date), 'p-disabled': !date.selectable }),
2896
+ class: { 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }
2897
+ }, _ctx.ptm('day')), [
2898
+ withDirectives((openBlock(), createElementBlock("span", mergeProps({
2899
+ class: { 'p-highlight': $options.isSelected(date), 'p-disabled': !date.selectable },
2959
2900
  onClick: $event => ($options.onDateSelect($event, date)),
2960
2901
  draggable: "false",
2961
2902
  onKeydown: $event => ($options.onDateCellKeydown($event, date, groupIndex)),
2962
2903
  "aria-selected": $options.isSelected(date)
2963
- }, [
2904
+ }, _ctx.ptm('dayLabel')), [
2964
2905
  renderSlot(_ctx.$slots, "date", { date: date }, () => [
2965
2906
  createTextVNode(toDisplayString(date.day), 1)
2966
2907
  ])
2967
- ], 42, _hoisted_20)), [
2908
+ ], 16, _hoisted_10)), [
2968
2909
  [_directive_ripple]
2969
2910
  ]),
2970
2911
  ($options.isSelected(date))
2971
- ? (openBlock(), createElementBlock("div", _hoisted_21, toDisplayString(date.day), 1))
2912
+ ? (openBlock(), createElementBlock("div", mergeProps({
2913
+ key: 0,
2914
+ class: "p-hidden-accessible",
2915
+ "aria-live": "polite"
2916
+ }, _ctx.ptm('ariaSelectedDay')), toDisplayString(date.day), 17))
2972
2917
  : createCommentVNode("", true)
2973
- ], 10, _hoisted_19))
2918
+ ], 16, _hoisted_9))
2974
2919
  }), 128))
2975
- ]))
2920
+ ], 16))
2976
2921
  }), 128))
2977
- ])
2978
- ])
2979
- ]))
2922
+ ], 16)
2923
+ ], 16)
2924
+ ], 16))
2980
2925
  : createCommentVNode("", true)
2981
- ]))
2926
+ ], 16))
2982
2927
  }), 128))
2983
- ]),
2928
+ ], 16),
2984
2929
  ($data.currentView === 'month')
2985
- ? (openBlock(), createElementBlock("div", _hoisted_22, [
2930
+ ? (openBlock(), createElementBlock("div", mergeProps({
2931
+ key: 0,
2932
+ class: "p-monthpicker"
2933
+ }, _ctx.ptm('monthPicker')), [
2986
2934
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.monthPickerValues, (m, i) => {
2987
- return withDirectives((openBlock(), createElementBlock("span", {
2935
+ return withDirectives((openBlock(), createElementBlock("span", mergeProps({
2988
2936
  key: m,
2989
2937
  onClick: $event => ($options.onMonthSelect($event, { month: m, index: i })),
2990
2938
  onKeydown: $event => ($options.onMonthCellKeydown($event, { month: m, index: i })),
2991
- class: normalizeClass(["p-monthpicker-month", { 'p-highlight': $options.isMonthSelected(i), 'p-disabled': !m.selectable }])
2992
- }, [
2939
+ class: ["p-monthpicker-month", { 'p-highlight': $options.isMonthSelected(i), 'p-disabled': !m.selectable }]
2940
+ }, _ctx.ptm('month')), [
2993
2941
  createTextVNode(toDisplayString(m.value) + " ", 1),
2994
2942
  ($options.isMonthSelected(i))
2995
- ? (openBlock(), createElementBlock("div", _hoisted_24, toDisplayString(m.value), 1))
2943
+ ? (openBlock(), createElementBlock("div", mergeProps({
2944
+ key: 0,
2945
+ class: "p-hidden-accessible",
2946
+ "aria-live": "polite"
2947
+ }, _ctx.ptm('ariaMonth')), toDisplayString(m.value), 17))
2996
2948
  : createCommentVNode("", true)
2997
- ], 42, _hoisted_23)), [
2949
+ ], 16, _hoisted_11)), [
2998
2950
  [_directive_ripple]
2999
2951
  ])
3000
2952
  }), 128))
3001
- ]))
2953
+ ], 16))
3002
2954
  : createCommentVNode("", true),
3003
2955
  ($data.currentView === 'year')
3004
- ? (openBlock(), createElementBlock("div", _hoisted_25, [
2956
+ ? (openBlock(), createElementBlock("div", mergeProps({
2957
+ key: 1,
2958
+ class: "p-yearpicker"
2959
+ }, _ctx.ptm('yearPicker')), [
3005
2960
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.yearPickerValues, (y) => {
3006
- return withDirectives((openBlock(), createElementBlock("span", {
2961
+ return withDirectives((openBlock(), createElementBlock("span", mergeProps({
3007
2962
  key: y.value,
3008
2963
  onClick: $event => ($options.onYearSelect($event, y)),
3009
2964
  onKeydown: $event => ($options.onYearCellKeydown($event, y)),
3010
- class: normalizeClass(["p-yearpicker-year", { 'p-highlight': $options.isYearSelected(y.value), 'p-disabled': !y.selectable }])
3011
- }, [
2965
+ class: ["p-yearpicker-year", { 'p-highlight': $options.isYearSelected(y.value), 'p-disabled': !y.selectable }]
2966
+ }, _ctx.ptm('year')), [
3012
2967
  createTextVNode(toDisplayString(y.value) + " ", 1),
3013
2968
  ($options.isYearSelected(y.value))
3014
- ? (openBlock(), createElementBlock("div", _hoisted_27, toDisplayString(y.value), 1))
2969
+ ? (openBlock(), createElementBlock("div", mergeProps({
2970
+ key: 0,
2971
+ class: "p-hidden-accessible",
2972
+ "aria-live": "polite"
2973
+ }, _ctx.ptm('ariaYear')), toDisplayString(y.value), 17))
3015
2974
  : createCommentVNode("", true)
3016
- ], 42, _hoisted_26)), [
2975
+ ], 16, _hoisted_12)), [
3017
2976
  [_directive_ripple]
3018
2977
  ])
3019
2978
  }), 128))
3020
- ]))
2979
+ ], 16))
3021
2980
  : createCommentVNode("", true)
3022
2981
  ], 64))
3023
2982
  : createCommentVNode("", true),
3024
2983
  (($props.showTime || $props.timeOnly) && $data.currentView === 'date')
3025
- ? (openBlock(), createElementBlock("div", _hoisted_28, [
3026
- createElementVNode("div", _hoisted_29, [
3027
- withDirectives((openBlock(), createElementBlock("button", {
2984
+ ? (openBlock(), createElementBlock("div", mergeProps({
2985
+ key: 1,
2986
+ class: "p-timepicker"
2987
+ }, _ctx.ptm('timePicker')), [
2988
+ createElementVNode("div", mergeProps({ class: "p-hour-picker" }, _ctx.ptm('hourPicker')), [
2989
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
3028
2990
  class: "p-link",
3029
2991
  "aria-label": _ctx.$primevue.config.locale.nextHour,
3030
2992
  onMousedown: _cache[13] || (_cache[13] = $event => ($options.onTimePickerElementMouseDown($event, 0, 1))),
@@ -3040,17 +3002,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
3040
3002
  _cache[20] || (_cache[20] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
3041
3003
  ],
3042
3004
  type: "button"
3043
- }, [
3005
+ }, _ctx.ptm('incrementButton')), [
3044
3006
  renderSlot(_ctx.$slots, "incrementicon", {}, () => [
3045
- (openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
3046
- class: normalizeClass($props.incrementIcon)
3047
- }, null, 8, ["class"]))
3007
+ (openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
3048
3008
  ])
3049
- ], 40, _hoisted_30)), [
3009
+ ], 16, _hoisted_13)), [
3050
3010
  [_directive_ripple]
3051
3011
  ]),
3052
- createElementVNode("span", null, toDisplayString($options.formattedCurrentHour), 1),
3053
- withDirectives((openBlock(), createElementBlock("button", {
3012
+ createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('hour'))), toDisplayString($options.formattedCurrentHour), 17),
3013
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
3054
3014
  class: "p-link",
3055
3015
  "aria-label": _ctx.$primevue.config.locale.prevHour,
3056
3016
  onMousedown: _cache[21] || (_cache[21] = $event => ($options.onTimePickerElementMouseDown($event, 0, -1))),
@@ -3066,21 +3026,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
3066
3026
  _cache[28] || (_cache[28] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
3067
3027
  ],
3068
3028
  type: "button"
3069
- }, [
3029
+ }, _ctx.ptm('decrementButton')), [
3070
3030
  renderSlot(_ctx.$slots, "decrementicon", {}, () => [
3071
- (openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
3072
- class: normalizeClass($props.decrementIcon)
3073
- }, null, 8, ["class"]))
3031
+ (openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
3074
3032
  ])
3075
- ], 40, _hoisted_31)), [
3033
+ ], 16, _hoisted_14)), [
3076
3034
  [_directive_ripple]
3077
3035
  ])
3078
- ]),
3079
- createElementVNode("div", _hoisted_32, [
3080
- createElementVNode("span", null, toDisplayString($props.timeSeparator), 1)
3081
- ]),
3082
- createElementVNode("div", _hoisted_33, [
3083
- withDirectives((openBlock(), createElementBlock("button", {
3036
+ ], 16),
3037
+ createElementVNode("div", mergeProps({ class: "p-separator" }, _ctx.ptm('separatorContainer')), [
3038
+ createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('separator'))), toDisplayString($props.timeSeparator), 17)
3039
+ ], 16),
3040
+ createElementVNode("div", mergeProps({ class: "p-minute-picker" }, _ctx.ptm('minutePicker')), [
3041
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
3084
3042
  class: "p-link",
3085
3043
  "aria-label": _ctx.$primevue.config.locale.nextMinute,
3086
3044
  onMousedown: _cache[29] || (_cache[29] = $event => ($options.onTimePickerElementMouseDown($event, 1, 1))),
@@ -3097,17 +3055,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
3097
3055
  _cache[36] || (_cache[36] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
3098
3056
  ],
3099
3057
  type: "button"
3100
- }, [
3058
+ }, _ctx.ptm('incrementButton')), [
3101
3059
  renderSlot(_ctx.$slots, "incrementicon", {}, () => [
3102
- (openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
3103
- class: normalizeClass($props.incrementIcon)
3104
- }, null, 8, ["class"]))
3060
+ (openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
3105
3061
  ])
3106
- ], 40, _hoisted_34)), [
3062
+ ], 16, _hoisted_15)), [
3107
3063
  [_directive_ripple]
3108
3064
  ]),
3109
- createElementVNode("span", null, toDisplayString($options.formattedCurrentMinute), 1),
3110
- withDirectives((openBlock(), createElementBlock("button", {
3065
+ createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('minute'))), toDisplayString($options.formattedCurrentMinute), 17),
3066
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
3111
3067
  class: "p-link",
3112
3068
  "aria-label": _ctx.$primevue.config.locale.prevMinute,
3113
3069
  onMousedown: _cache[37] || (_cache[37] = $event => ($options.onTimePickerElementMouseDown($event, 1, -1))),
@@ -3124,24 +3080,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
3124
3080
  _cache[44] || (_cache[44] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
3125
3081
  ],
3126
3082
  type: "button"
3127
- }, [
3083
+ }, _ctx.ptm('decrementButton')), [
3128
3084
  renderSlot(_ctx.$slots, "decrementicon", {}, () => [
3129
- (openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
3130
- class: normalizeClass($props.decrementIcon)
3131
- }, null, 8, ["class"]))
3085
+ (openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
3132
3086
  ])
3133
- ], 40, _hoisted_35)), [
3087
+ ], 16, _hoisted_16)), [
3134
3088
  [_directive_ripple]
3135
3089
  ])
3136
- ]),
3090
+ ], 16),
3137
3091
  ($props.showSeconds)
3138
- ? (openBlock(), createElementBlock("div", _hoisted_36, [
3139
- createElementVNode("span", null, toDisplayString($props.timeSeparator), 1)
3140
- ]))
3092
+ ? (openBlock(), createElementBlock("div", mergeProps({
3093
+ key: 0,
3094
+ class: "p-separator"
3095
+ }, _ctx.ptm('separatorContainer')), [
3096
+ createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('separator'))), toDisplayString($props.timeSeparator), 17)
3097
+ ], 16))
3141
3098
  : createCommentVNode("", true),
3142
3099
  ($props.showSeconds)
3143
- ? (openBlock(), createElementBlock("div", _hoisted_37, [
3144
- withDirectives((openBlock(), createElementBlock("button", {
3100
+ ? (openBlock(), createElementBlock("div", mergeProps({
3101
+ key: 1,
3102
+ class: "p-second-picker"
3103
+ }, _ctx.ptm('secondPicker')), [
3104
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
3145
3105
  class: "p-link",
3146
3106
  "aria-label": _ctx.$primevue.config.locale.nextSecond,
3147
3107
  onMousedown: _cache[45] || (_cache[45] = $event => ($options.onTimePickerElementMouseDown($event, 2, 1))),
@@ -3158,17 +3118,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
3158
3118
  _cache[52] || (_cache[52] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
3159
3119
  ],
3160
3120
  type: "button"
3161
- }, [
3121
+ }, _ctx.ptm('incrementButton')), [
3162
3122
  renderSlot(_ctx.$slots, "incrementicon", {}, () => [
3163
- (openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
3164
- class: normalizeClass($props.incrementIcon)
3165
- }, null, 8, ["class"]))
3123
+ (openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
3166
3124
  ])
3167
- ], 40, _hoisted_38)), [
3125
+ ], 16, _hoisted_17)), [
3168
3126
  [_directive_ripple]
3169
3127
  ]),
3170
- createElementVNode("span", null, toDisplayString($options.formattedCurrentSecond), 1),
3171
- withDirectives((openBlock(), createElementBlock("button", {
3128
+ createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('second'))), toDisplayString($options.formattedCurrentSecond), 17),
3129
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
3172
3130
  class: "p-link",
3173
3131
  "aria-label": _ctx.$primevue.config.locale.prevSecond,
3174
3132
  onMousedown: _cache[53] || (_cache[53] = $event => ($options.onTimePickerElementMouseDown($event, 2, -1))),
@@ -3185,76 +3143,81 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
3185
3143
  _cache[60] || (_cache[60] = withKeys($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
3186
3144
  ],
3187
3145
  type: "button"
3188
- }, [
3146
+ }, _ctx.ptm('decrementButton')), [
3189
3147
  renderSlot(_ctx.$slots, "decrementicon", {}, () => [
3190
- (openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
3191
- class: normalizeClass($props.decrementIcon)
3192
- }, null, 8, ["class"]))
3148
+ (openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
3193
3149
  ])
3194
- ], 40, _hoisted_39)), [
3150
+ ], 16, _hoisted_18)), [
3195
3151
  [_directive_ripple]
3196
3152
  ])
3197
- ]))
3153
+ ], 16))
3198
3154
  : createCommentVNode("", true),
3199
3155
  ($props.hourFormat == '12')
3200
- ? (openBlock(), createElementBlock("div", _hoisted_40, [
3201
- createElementVNode("span", null, toDisplayString($props.timeSeparator), 1)
3202
- ]))
3156
+ ? (openBlock(), createElementBlock("div", mergeProps({
3157
+ key: 2,
3158
+ class: "p-separator"
3159
+ }, _ctx.ptm('separatorContainer')), [
3160
+ createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('separator'))), toDisplayString($props.timeSeparator), 17)
3161
+ ], 16))
3203
3162
  : createCommentVNode("", true),
3204
3163
  ($props.hourFormat == '12')
3205
- ? (openBlock(), createElementBlock("div", _hoisted_41, [
3206
- withDirectives((openBlock(), createElementBlock("button", {
3164
+ ? (openBlock(), createElementBlock("div", mergeProps({
3165
+ key: 3,
3166
+ class: "p-ampm-picker"
3167
+ }, _ctx.ptm('ampmPicker')), [
3168
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
3207
3169
  class: "p-link",
3208
3170
  "aria-label": _ctx.$primevue.config.locale.am,
3209
3171
  onClick: _cache[61] || (_cache[61] = $event => ($options.toggleAMPM($event))),
3210
3172
  type: "button",
3211
3173
  disabled: $props.disabled
3212
- }, [
3174
+ }, _ctx.ptm('incrementButton')), [
3213
3175
  renderSlot(_ctx.$slots, "incrementicon", {}, () => [
3214
- (openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), {
3215
- class: normalizeClass($props.incrementIcon)
3216
- }, null, 8, ["class"]))
3176
+ (openBlock(), createBlock(resolveDynamicComponent($props.incrementIcon ? 'span' : 'ChevronUpIcon'), mergeProps({ class: $props.incrementIcon }, _ctx.ptm('incrementIcon')), null, 16, ["class"]))
3217
3177
  ])
3218
- ], 8, _hoisted_42)), [
3178
+ ], 16, _hoisted_19)), [
3219
3179
  [_directive_ripple]
3220
3180
  ]),
3221
- createElementVNode("span", null, toDisplayString($data.pm ? _ctx.$primevue.config.locale.pm : _ctx.$primevue.config.locale.am), 1),
3222
- withDirectives((openBlock(), createElementBlock("button", {
3181
+ createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm('ampm'))), toDisplayString($data.pm ? _ctx.$primevue.config.locale.pm : _ctx.$primevue.config.locale.am), 17),
3182
+ withDirectives((openBlock(), createElementBlock("button", mergeProps({
3223
3183
  class: "p-link",
3224
3184
  "aria-label": _ctx.$primevue.config.locale.pm,
3225
3185
  onClick: _cache[62] || (_cache[62] = $event => ($options.toggleAMPM($event))),
3226
3186
  type: "button",
3227
3187
  disabled: $props.disabled
3228
- }, [
3188
+ }, _ctx.ptm('decrementButton')), [
3229
3189
  renderSlot(_ctx.$slots, "decrementicon", {}, () => [
3230
- (openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), {
3231
- class: normalizeClass($props.decrementIcon)
3232
- }, null, 8, ["class"]))
3190
+ (openBlock(), createBlock(resolveDynamicComponent($props.decrementIcon ? 'span' : 'ChevronDownIcon'), mergeProps({ class: $props.decrementIcon }, _ctx.ptm('decrementIcon')), null, 16, ["class"]))
3233
3191
  ])
3234
- ], 8, _hoisted_43)), [
3192
+ ], 16, _hoisted_20)), [
3235
3193
  [_directive_ripple]
3236
3194
  ])
3237
- ]))
3195
+ ], 16))
3238
3196
  : createCommentVNode("", true)
3239
- ]))
3197
+ ], 16))
3240
3198
  : createCommentVNode("", true),
3241
3199
  ($props.showButtonBar)
3242
- ? (openBlock(), createElementBlock("div", _hoisted_44, [
3200
+ ? (openBlock(), createElementBlock("div", mergeProps({
3201
+ key: 2,
3202
+ class: "p-datepicker-buttonbar"
3203
+ }, _ctx.ptm('buttonbar')), [
3243
3204
  createVNode(_component_CalendarButton, {
3244
3205
  type: "button",
3245
3206
  label: $options.todayLabel,
3246
3207
  onClick: _cache[63] || (_cache[63] = $event => ($options.onTodayButtonClick($event))),
3247
3208
  class: "p-button-text",
3248
- onKeydown: $options.onContainerButtonKeydown
3249
- }, null, 8, ["label", "onKeydown"]),
3209
+ onKeydown: $options.onContainerButtonKeydown,
3210
+ pt: _ctx.ptm('todayButton')
3211
+ }, null, 8, ["label", "onKeydown", "pt"]),
3250
3212
  createVNode(_component_CalendarButton, {
3251
3213
  type: "button",
3252
3214
  label: $options.clearLabel,
3253
3215
  onClick: _cache[64] || (_cache[64] = $event => ($options.onClearButtonClick($event))),
3254
3216
  class: "p-button-text",
3255
- onKeydown: $options.onContainerButtonKeydown
3256
- }, null, 8, ["label", "onKeydown"])
3257
- ]))
3217
+ onKeydown: $options.onContainerButtonKeydown,
3218
+ pt: _ctx.ptm('clearButton')
3219
+ }, null, 8, ["label", "onKeydown", "pt"])
3220
+ ], 16))
3258
3221
  : createCommentVNode("", true),
3259
3222
  renderSlot(_ctx.$slots, "footer")
3260
3223
  ], 16, _hoisted_3))
@@ -3265,7 +3228,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
3265
3228
  ]),
3266
3229
  _: 3
3267
3230
  }, 8, ["appendTo", "disabled"])
3268
- ], 10, _hoisted_1))
3231
+ ], 16, _hoisted_1))
3269
3232
  }
3270
3233
 
3271
3234
  function styleInject(css, ref) {