primevue 3.46.0 → 3.47.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 (738) hide show
  1. package/README.md +2 -2
  2. package/api/api.cjs.js +6 -6
  3. package/api/api.cjs.min.js +1 -1
  4. package/api/api.esm.js +6 -6
  5. package/api/api.esm.min.js +1 -1
  6. package/api/api.js +6 -6
  7. package/api/api.min.js +1 -1
  8. package/autocomplete/AutoComplete.d.ts +6 -1
  9. package/autocomplete/AutoComplete.vue +24 -15
  10. package/autocomplete/BaseAutoComplete.vue +5 -1
  11. package/autocomplete/autocomplete.cjs.js +29 -18
  12. package/autocomplete/autocomplete.cjs.min.js +1 -1
  13. package/autocomplete/autocomplete.esm.js +29 -18
  14. package/autocomplete/autocomplete.esm.min.js +1 -1
  15. package/autocomplete/autocomplete.js +29 -18
  16. package/autocomplete/autocomplete.min.js +1 -1
  17. package/basecomponent/basecomponent.cjs.js +1 -3
  18. package/basecomponent/basecomponent.cjs.min.js +1 -1
  19. package/basecomponent/basecomponent.esm.js +1 -3
  20. package/basecomponent/basecomponent.esm.min.js +1 -1
  21. package/basecomponent/basecomponent.js +1 -3
  22. package/basecomponent/basecomponent.min.js +1 -1
  23. package/basecomponent/style/basecomponentstyle.cjs.js +1 -3
  24. package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
  25. package/basecomponent/style/basecomponentstyle.esm.js +1 -3
  26. package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
  27. package/basecomponent/style/basecomponentstyle.js +1 -3
  28. package/basecomponent/style/basecomponentstyle.min.js +1 -1
  29. package/basedirective/basedirective.cjs.js +11 -2
  30. package/basedirective/basedirective.cjs.min.js +1 -1
  31. package/basedirective/basedirective.esm.js +11 -2
  32. package/basedirective/basedirective.esm.min.js +1 -1
  33. package/basedirective/basedirective.js +11 -2
  34. package/basedirective/basedirective.min.js +1 -1
  35. package/baseicon/BaseIcon.vue +6 -1
  36. package/baseicon/baseicon.cjs.js +5 -0
  37. package/baseicon/baseicon.cjs.min.js +1 -1
  38. package/baseicon/baseicon.esm.js +6 -1
  39. package/baseicon/baseicon.esm.min.js +1 -1
  40. package/baseicon/baseicon.js +5 -0
  41. package/baseicon/baseicon.min.js +1 -1
  42. package/calendar/Calendar.d.ts +53 -2
  43. package/calendar/Calendar.vue +12 -0
  44. package/calendar/calendar.cjs.js +12 -0
  45. package/calendar/calendar.cjs.min.js +1 -1
  46. package/calendar/calendar.esm.js +12 -0
  47. package/calendar/calendar.esm.min.js +1 -1
  48. package/calendar/calendar.js +12 -0
  49. package/calendar/calendar.min.js +1 -1
  50. package/cascadeselect/BaseCascadeSelect.vue +5 -1
  51. package/cascadeselect/CascadeSelect.d.ts +6 -1
  52. package/cascadeselect/CascadeSelect.vue +56 -35
  53. package/cascadeselect/CascadeSelectSub.vue +9 -2
  54. package/cascadeselect/cascadeselect.cjs.js +99 -52
  55. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  56. package/cascadeselect/cascadeselect.esm.js +99 -52
  57. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  58. package/cascadeselect/cascadeselect.js +99 -52
  59. package/cascadeselect/cascadeselect.min.js +1 -1
  60. package/checkbox/BaseCheckbox.vue +0 -4
  61. package/checkbox/Checkbox.d.ts +17 -34
  62. package/checkbox/Checkbox.vue +24 -35
  63. package/checkbox/checkbox.cjs.js +21 -49
  64. package/checkbox/checkbox.cjs.min.js +1 -1
  65. package/checkbox/checkbox.esm.js +21 -49
  66. package/checkbox/checkbox.esm.min.js +1 -1
  67. package/checkbox/checkbox.js +21 -49
  68. package/checkbox/checkbox.min.js +1 -1
  69. package/checkbox/style/checkboxstyle.cjs.js +5 -11
  70. package/checkbox/style/checkboxstyle.cjs.min.js +1 -1
  71. package/checkbox/style/checkboxstyle.esm.js +5 -11
  72. package/checkbox/style/checkboxstyle.esm.min.js +1 -1
  73. package/checkbox/style/checkboxstyle.js +5 -11
  74. package/checkbox/style/checkboxstyle.min.js +1 -1
  75. package/chips/Chips.vue +2 -1
  76. package/chips/chips.cjs.js +2 -1
  77. package/chips/chips.cjs.min.js +1 -1
  78. package/chips/chips.esm.js +2 -1
  79. package/chips/chips.esm.min.js +1 -1
  80. package/chips/chips.js +2 -1
  81. package/chips/chips.min.js +1 -1
  82. package/column/Column.d.ts +11 -44
  83. package/confirmpopup/ConfirmPopup.vue +1 -1
  84. package/confirmpopup/confirmpopup.cjs.js +1 -1
  85. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  86. package/confirmpopup/confirmpopup.esm.js +1 -1
  87. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  88. package/confirmpopup/confirmpopup.js +1 -1
  89. package/confirmpopup/confirmpopup.min.js +1 -1
  90. package/contextmenu/ContextMenu.vue +8 -8
  91. package/contextmenu/contextmenu.cjs.js +7 -6
  92. package/contextmenu/contextmenu.cjs.min.js +1 -1
  93. package/contextmenu/contextmenu.esm.js +7 -6
  94. package/contextmenu/contextmenu.esm.min.js +1 -1
  95. package/contextmenu/contextmenu.js +7 -6
  96. package/contextmenu/contextmenu.min.js +1 -1
  97. package/core/core.js +918 -628
  98. package/core/core.min.js +63 -55
  99. package/datatable/BaseDataTable.vue +4 -0
  100. package/datatable/BodyCell.vue +11 -1
  101. package/datatable/BodyRow.vue +5 -2
  102. package/datatable/ColumnFilter.vue +5 -2
  103. package/datatable/DataTable.d.ts +5 -0
  104. package/datatable/DataTable.vue +2 -2
  105. package/datatable/HeaderCell.vue +2 -1
  106. package/datatable/HeaderCheckbox.vue +14 -42
  107. package/datatable/RowCheckbox.vue +10 -52
  108. package/datatable/RowRadioButton.vue +11 -32
  109. package/datatable/TableHeader.vue +3 -1
  110. package/datatable/datatable.cjs.js +110 -193
  111. package/datatable/datatable.cjs.min.js +1 -1
  112. package/datatable/datatable.esm.js +109 -194
  113. package/datatable/datatable.esm.min.js +1 -1
  114. package/datatable/datatable.js +110 -195
  115. package/datatable/datatable.min.js +1 -1
  116. package/datatable/style/datatablestyle.cjs.js +23 -72
  117. package/datatable/style/datatablestyle.cjs.min.js +1 -1
  118. package/datatable/style/datatablestyle.esm.js +23 -72
  119. package/datatable/style/datatablestyle.esm.min.js +1 -1
  120. package/datatable/style/datatablestyle.js +23 -72
  121. package/datatable/style/datatablestyle.min.js +1 -1
  122. package/dialog/style/dialogstyle.cjs.js +1 -1
  123. package/dialog/style/dialogstyle.cjs.min.js +1 -1
  124. package/dialog/style/dialogstyle.esm.js +1 -1
  125. package/dialog/style/dialogstyle.esm.min.js +1 -1
  126. package/dialog/style/dialogstyle.js +1 -1
  127. package/dialog/style/dialogstyle.min.js +1 -1
  128. package/dropdown/BaseDropdown.vue +17 -1
  129. package/dropdown/Dropdown.d.ts +37 -1
  130. package/dropdown/Dropdown.vue +68 -40
  131. package/dropdown/dropdown.cjs.js +95 -45
  132. package/dropdown/dropdown.cjs.min.js +1 -1
  133. package/dropdown/dropdown.esm.js +93 -45
  134. package/dropdown/dropdown.esm.min.js +1 -1
  135. package/dropdown/dropdown.js +95 -47
  136. package/dropdown/dropdown.min.js +1 -1
  137. package/dropdown/style/dropdownstyle.cjs.js +7 -2
  138. package/dropdown/style/dropdownstyle.cjs.min.js +1 -1
  139. package/dropdown/style/dropdownstyle.esm.js +7 -2
  140. package/dropdown/style/dropdownstyle.esm.min.js +1 -1
  141. package/dropdown/style/dropdownstyle.js +7 -2
  142. package/dropdown/style/dropdownstyle.min.js +1 -1
  143. package/focustrap/focustrap.cjs.js +15 -2
  144. package/focustrap/focustrap.cjs.min.js +1 -1
  145. package/focustrap/focustrap.esm.js +15 -2
  146. package/focustrap/focustrap.esm.min.js +1 -1
  147. package/focustrap/focustrap.js +15 -2
  148. package/focustrap/focustrap.min.js +1 -1
  149. package/icons/arrowdown/index.cjs.js +3 -9
  150. package/icons/arrowdown/index.cjs.min.js +1 -1
  151. package/icons/arrowdown/index.esm.js +3 -9
  152. package/icons/arrowdown/index.esm.min.js +1 -1
  153. package/icons/arrowdown/index.js +5 -10
  154. package/icons/arrowdown/index.min.js +1 -1
  155. package/icons/arrowdown/index.vue +1 -7
  156. package/icons/arrowup/index.cjs.js +3 -9
  157. package/icons/arrowup/index.cjs.min.js +1 -1
  158. package/icons/arrowup/index.esm.js +3 -9
  159. package/icons/arrowup/index.esm.min.js +1 -1
  160. package/icons/arrowup/index.js +5 -10
  161. package/icons/arrowup/index.min.js +1 -1
  162. package/icons/arrowup/index.vue +1 -7
  163. package/icons/ban/index.cjs.js +3 -9
  164. package/icons/ban/index.cjs.min.js +1 -1
  165. package/icons/ban/index.esm.js +3 -9
  166. package/icons/ban/index.esm.min.js +1 -1
  167. package/icons/ban/index.js +5 -10
  168. package/icons/ban/index.min.js +1 -1
  169. package/icons/ban/index.vue +1 -7
  170. package/icons/blank/index.cjs.js +34 -0
  171. package/icons/blank/index.cjs.min.js +1 -0
  172. package/icons/blank/index.d.ts +12 -0
  173. package/icons/blank/index.esm.js +28 -0
  174. package/icons/blank/index.esm.min.js +1 -0
  175. package/icons/blank/index.js +36 -0
  176. package/icons/blank/index.min.js +1 -0
  177. package/icons/blank/index.vue +13 -0
  178. package/icons/blank/package.json +9 -0
  179. package/icons/exclamationtriangle/index.cjs.js +3 -9
  180. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  181. package/icons/exclamationtriangle/index.esm.js +3 -9
  182. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  183. package/icons/exclamationtriangle/index.js +5 -10
  184. package/icons/exclamationtriangle/index.min.js +1 -1
  185. package/icons/exclamationtriangle/index.vue +1 -7
  186. package/icons/eyeslash/index.cjs.js +3 -9
  187. package/icons/eyeslash/index.cjs.min.js +1 -1
  188. package/icons/eyeslash/index.esm.js +3 -9
  189. package/icons/eyeslash/index.esm.min.js +1 -1
  190. package/icons/eyeslash/index.js +5 -10
  191. package/icons/eyeslash/index.min.js +1 -1
  192. package/icons/eyeslash/index.vue +1 -7
  193. package/icons/filter/index.cjs.js +3 -9
  194. package/icons/filter/index.cjs.min.js +1 -1
  195. package/icons/filter/index.esm.js +3 -9
  196. package/icons/filter/index.esm.min.js +1 -1
  197. package/icons/filter/index.js +5 -10
  198. package/icons/filter/index.min.js +1 -1
  199. package/icons/filter/index.vue +1 -7
  200. package/icons/filterslash/index.cjs.js +3 -9
  201. package/icons/filterslash/index.cjs.min.js +1 -1
  202. package/icons/filterslash/index.esm.js +3 -9
  203. package/icons/filterslash/index.esm.min.js +1 -1
  204. package/icons/filterslash/index.js +5 -10
  205. package/icons/filterslash/index.min.js +1 -1
  206. package/icons/filterslash/index.vue +1 -7
  207. package/icons/infocircle/index.cjs.js +3 -9
  208. package/icons/infocircle/index.cjs.min.js +1 -1
  209. package/icons/infocircle/index.esm.js +3 -9
  210. package/icons/infocircle/index.esm.min.js +1 -1
  211. package/icons/infocircle/index.js +5 -10
  212. package/icons/infocircle/index.min.js +1 -1
  213. package/icons/infocircle/index.vue +1 -7
  214. package/icons/pencil/index.cjs.js +3 -9
  215. package/icons/pencil/index.cjs.min.js +1 -1
  216. package/icons/pencil/index.esm.js +3 -9
  217. package/icons/pencil/index.esm.min.js +1 -1
  218. package/icons/pencil/index.js +5 -10
  219. package/icons/pencil/index.min.js +1 -1
  220. package/icons/pencil/index.vue +1 -7
  221. package/icons/plus/index.cjs.js +3 -9
  222. package/icons/plus/index.cjs.min.js +1 -1
  223. package/icons/plus/index.esm.js +3 -9
  224. package/icons/plus/index.esm.min.js +1 -1
  225. package/icons/plus/index.js +5 -10
  226. package/icons/plus/index.min.js +1 -1
  227. package/icons/plus/index.vue +1 -7
  228. package/icons/refresh/index.cjs.js +3 -9
  229. package/icons/refresh/index.cjs.min.js +1 -1
  230. package/icons/refresh/index.esm.js +3 -9
  231. package/icons/refresh/index.esm.min.js +1 -1
  232. package/icons/refresh/index.js +5 -10
  233. package/icons/refresh/index.min.js +1 -1
  234. package/icons/refresh/index.vue +1 -7
  235. package/icons/search/index.cjs.js +3 -9
  236. package/icons/search/index.cjs.min.js +1 -1
  237. package/icons/search/index.esm.js +3 -9
  238. package/icons/search/index.esm.min.js +1 -1
  239. package/icons/search/index.js +5 -10
  240. package/icons/search/index.min.js +1 -1
  241. package/icons/search/index.vue +1 -7
  242. package/icons/searchminus/index.cjs.js +3 -9
  243. package/icons/searchminus/index.cjs.min.js +1 -1
  244. package/icons/searchminus/index.esm.js +3 -9
  245. package/icons/searchminus/index.esm.min.js +1 -1
  246. package/icons/searchminus/index.js +5 -10
  247. package/icons/searchminus/index.min.js +1 -1
  248. package/icons/searchminus/index.vue +1 -7
  249. package/icons/searchplus/index.cjs.js +3 -9
  250. package/icons/searchplus/index.cjs.min.js +1 -1
  251. package/icons/searchplus/index.esm.js +3 -9
  252. package/icons/searchplus/index.esm.min.js +1 -1
  253. package/icons/searchplus/index.js +5 -10
  254. package/icons/searchplus/index.min.js +1 -1
  255. package/icons/searchplus/index.vue +1 -7
  256. package/icons/sortalt/index.cjs.js +3 -9
  257. package/icons/sortalt/index.cjs.min.js +1 -1
  258. package/icons/sortalt/index.esm.js +3 -9
  259. package/icons/sortalt/index.esm.min.js +1 -1
  260. package/icons/sortalt/index.js +5 -10
  261. package/icons/sortalt/index.min.js +1 -1
  262. package/icons/sortalt/index.vue +1 -7
  263. package/icons/sortamountdown/index.cjs.js +3 -9
  264. package/icons/sortamountdown/index.cjs.min.js +1 -1
  265. package/icons/sortamountdown/index.esm.js +3 -9
  266. package/icons/sortamountdown/index.esm.min.js +1 -1
  267. package/icons/sortamountdown/index.js +5 -10
  268. package/icons/sortamountdown/index.min.js +1 -1
  269. package/icons/sortamountdown/index.vue +1 -7
  270. package/icons/sortamountupalt/index.cjs.js +3 -9
  271. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  272. package/icons/sortamountupalt/index.esm.js +3 -9
  273. package/icons/sortamountupalt/index.esm.min.js +1 -1
  274. package/icons/sortamountupalt/index.js +5 -10
  275. package/icons/sortamountupalt/index.min.js +1 -1
  276. package/icons/sortamountupalt/index.vue +1 -7
  277. package/icons/spinner/index.cjs.js +3 -9
  278. package/icons/spinner/index.cjs.min.js +1 -1
  279. package/icons/spinner/index.esm.js +3 -9
  280. package/icons/spinner/index.esm.min.js +1 -1
  281. package/icons/spinner/index.js +5 -10
  282. package/icons/spinner/index.min.js +1 -1
  283. package/icons/spinner/index.vue +1 -7
  284. package/icons/star/index.cjs.js +3 -9
  285. package/icons/star/index.cjs.min.js +1 -1
  286. package/icons/star/index.esm.js +3 -9
  287. package/icons/star/index.esm.min.js +1 -1
  288. package/icons/star/index.js +5 -10
  289. package/icons/star/index.min.js +1 -1
  290. package/icons/star/index.vue +1 -7
  291. package/icons/starfill/index.cjs.js +3 -9
  292. package/icons/starfill/index.cjs.min.js +1 -1
  293. package/icons/starfill/index.esm.js +3 -9
  294. package/icons/starfill/index.esm.min.js +1 -1
  295. package/icons/starfill/index.js +5 -10
  296. package/icons/starfill/index.min.js +1 -1
  297. package/icons/starfill/index.vue +1 -7
  298. package/icons/thlarge/index.cjs.js +3 -9
  299. package/icons/thlarge/index.cjs.min.js +1 -1
  300. package/icons/thlarge/index.esm.js +3 -9
  301. package/icons/thlarge/index.esm.min.js +1 -1
  302. package/icons/thlarge/index.js +5 -10
  303. package/icons/thlarge/index.min.js +1 -1
  304. package/icons/thlarge/index.vue +1 -7
  305. package/icons/timescircle/index.cjs.js +3 -9
  306. package/icons/timescircle/index.cjs.min.js +1 -1
  307. package/icons/timescircle/index.esm.js +3 -9
  308. package/icons/timescircle/index.esm.min.js +1 -1
  309. package/icons/timescircle/index.js +5 -10
  310. package/icons/timescircle/index.min.js +1 -1
  311. package/icons/timescircle/index.vue +1 -7
  312. package/icons/trash/index.cjs.js +3 -9
  313. package/icons/trash/index.cjs.min.js +1 -1
  314. package/icons/trash/index.esm.js +3 -9
  315. package/icons/trash/index.esm.min.js +1 -1
  316. package/icons/trash/index.js +5 -10
  317. package/icons/trash/index.min.js +1 -1
  318. package/icons/trash/index.vue +1 -7
  319. package/icons/undo/index.cjs.js +3 -9
  320. package/icons/undo/index.cjs.min.js +1 -1
  321. package/icons/undo/index.esm.js +3 -9
  322. package/icons/undo/index.esm.min.js +1 -1
  323. package/icons/undo/index.js +5 -10
  324. package/icons/undo/index.min.js +1 -1
  325. package/icons/undo/index.vue +1 -7
  326. package/icons/upload/index.cjs.js +3 -9
  327. package/icons/upload/index.cjs.min.js +1 -1
  328. package/icons/upload/index.esm.js +3 -9
  329. package/icons/upload/index.esm.min.js +1 -1
  330. package/icons/upload/index.js +5 -10
  331. package/icons/upload/index.min.js +1 -1
  332. package/icons/upload/index.vue +1 -7
  333. package/icons/windowmaximize/index.cjs.js +3 -9
  334. package/icons/windowmaximize/index.cjs.min.js +1 -1
  335. package/icons/windowmaximize/index.esm.js +3 -9
  336. package/icons/windowmaximize/index.esm.min.js +1 -1
  337. package/icons/windowmaximize/index.js +5 -10
  338. package/icons/windowmaximize/index.min.js +1 -1
  339. package/icons/windowmaximize/index.vue +1 -7
  340. package/icons/windowminimize/index.cjs.js +3 -9
  341. package/icons/windowminimize/index.cjs.min.js +1 -1
  342. package/icons/windowminimize/index.esm.js +3 -9
  343. package/icons/windowminimize/index.esm.min.js +1 -1
  344. package/icons/windowminimize/index.js +5 -10
  345. package/icons/windowminimize/index.min.js +1 -1
  346. package/icons/windowminimize/index.vue +1 -7
  347. package/inputnumber/InputNumber.vue +18 -9
  348. package/inputnumber/inputnumber.cjs.js +14 -6
  349. package/inputnumber/inputnumber.cjs.min.js +1 -1
  350. package/inputnumber/inputnumber.esm.js +15 -7
  351. package/inputnumber/inputnumber.esm.min.js +1 -1
  352. package/inputnumber/inputnumber.js +14 -6
  353. package/inputnumber/inputnumber.min.js +1 -1
  354. package/inputswitch/BaseInputSwitch.vue +8 -4
  355. package/inputswitch/InputSwitch.d.ts +41 -20
  356. package/inputswitch/InputSwitch.vue +31 -33
  357. package/inputswitch/inputswitch.cjs.js +38 -42
  358. package/inputswitch/inputswitch.cjs.min.js +1 -1
  359. package/inputswitch/inputswitch.esm.js +38 -42
  360. package/inputswitch/inputswitch.esm.min.js +1 -1
  361. package/inputswitch/inputswitch.js +38 -42
  362. package/inputswitch/inputswitch.min.js +1 -1
  363. package/inputswitch/style/inputswitchstyle.cjs.js +4 -4
  364. package/inputswitch/style/inputswitchstyle.cjs.min.js +1 -1
  365. package/inputswitch/style/inputswitchstyle.esm.js +4 -4
  366. package/inputswitch/style/inputswitchstyle.esm.min.js +1 -1
  367. package/inputswitch/style/inputswitchstyle.js +4 -4
  368. package/inputswitch/style/inputswitchstyle.min.js +1 -1
  369. package/listbox/BaseListbox.vue +4 -0
  370. package/listbox/Listbox.d.ts +6 -1
  371. package/listbox/Listbox.vue +47 -26
  372. package/listbox/listbox.cjs.js +88 -50
  373. package/listbox/listbox.cjs.min.js +1 -1
  374. package/listbox/listbox.esm.js +88 -50
  375. package/listbox/listbox.esm.min.js +1 -1
  376. package/listbox/listbox.js +88 -50
  377. package/listbox/listbox.min.js +1 -1
  378. package/listbox/style/listboxstyle.cjs.js +2 -3
  379. package/listbox/style/listboxstyle.cjs.min.js +1 -1
  380. package/listbox/style/listboxstyle.esm.js +2 -3
  381. package/listbox/style/listboxstyle.esm.min.js +1 -1
  382. package/listbox/style/listboxstyle.js +2 -3
  383. package/listbox/style/listboxstyle.min.js +1 -1
  384. package/megamenu/MegaMenu.vue +1 -1
  385. package/megamenu/megamenu.cjs.js +2 -1
  386. package/megamenu/megamenu.cjs.min.js +1 -1
  387. package/megamenu/megamenu.esm.js +2 -1
  388. package/megamenu/megamenu.esm.min.js +1 -1
  389. package/megamenu/megamenu.js +2 -1
  390. package/megamenu/megamenu.min.js +1 -1
  391. package/menubar/Menubar.vue +1 -1
  392. package/menubar/menubar.cjs.js +2 -1
  393. package/menubar/menubar.cjs.min.js +1 -1
  394. package/menubar/menubar.esm.js +2 -1
  395. package/menubar/menubar.esm.min.js +1 -1
  396. package/menubar/menubar.js +2 -1
  397. package/menubar/menubar.min.js +1 -1
  398. package/message/Message.d.ts +4 -0
  399. package/message/Message.vue +2 -1
  400. package/message/message.cjs.js +2 -1
  401. package/message/message.cjs.min.js +1 -1
  402. package/message/message.esm.js +2 -1
  403. package/message/message.esm.min.js +1 -1
  404. package/message/message.js +2 -1
  405. package/message/message.min.js +1 -1
  406. package/metergroup/BaseMeterGroup.vue +41 -0
  407. package/metergroup/MeterGroup.d.ts +302 -0
  408. package/metergroup/MeterGroup.vue +73 -0
  409. package/metergroup/MeterGroupLabel.vue +36 -0
  410. package/metergroup/metergroup.cjs.js +218 -0
  411. package/metergroup/metergroup.cjs.min.js +1 -0
  412. package/metergroup/metergroup.esm.js +211 -0
  413. package/metergroup/metergroup.esm.min.js +1 -0
  414. package/metergroup/metergroup.js +218 -0
  415. package/metergroup/metergroup.min.js +1 -0
  416. package/metergroup/package.json +9 -0
  417. package/metergroup/style/MeterGroupStyle.d.ts +3 -0
  418. package/metergroup/style/metergroupstyle.cjs.js +40 -0
  419. package/metergroup/style/metergroupstyle.cjs.min.js +1 -0
  420. package/metergroup/style/metergroupstyle.esm.js +34 -0
  421. package/metergroup/style/metergroupstyle.esm.min.js +1 -0
  422. package/metergroup/style/metergroupstyle.js +43 -0
  423. package/metergroup/style/metergroupstyle.min.js +1 -0
  424. package/metergroup/style/package.json +6 -0
  425. package/multiselect/BaseMultiSelect.vue +9 -1
  426. package/multiselect/MultiSelect.d.ts +13 -19
  427. package/multiselect/MultiSelect.vue +108 -76
  428. package/multiselect/multiselect.cjs.js +173 -133
  429. package/multiselect/multiselect.cjs.min.js +1 -1
  430. package/multiselect/multiselect.esm.js +173 -134
  431. package/multiselect/multiselect.esm.min.js +1 -1
  432. package/multiselect/multiselect.js +174 -135
  433. package/multiselect/multiselect.min.js +1 -1
  434. package/multiselect/style/multiselectstyle.cjs.js +7 -30
  435. package/multiselect/style/multiselectstyle.cjs.min.js +1 -1
  436. package/multiselect/style/multiselectstyle.esm.js +7 -30
  437. package/multiselect/style/multiselectstyle.esm.min.js +1 -1
  438. package/multiselect/style/multiselectstyle.js +7 -30
  439. package/multiselect/style/multiselectstyle.min.js +1 -1
  440. package/orderlist/BaseOrderList.vue +8 -0
  441. package/orderlist/OrderList.d.ts +10 -0
  442. package/orderlist/OrderList.vue +72 -52
  443. package/orderlist/orderlist.cjs.js +79 -56
  444. package/orderlist/orderlist.cjs.min.js +1 -1
  445. package/orderlist/orderlist.esm.js +79 -56
  446. package/orderlist/orderlist.esm.min.js +1 -1
  447. package/orderlist/orderlist.js +79 -56
  448. package/orderlist/orderlist.min.js +1 -1
  449. package/orderlist/style/orderliststyle.cjs.js +1 -1
  450. package/orderlist/style/orderliststyle.cjs.min.js +1 -1
  451. package/orderlist/style/orderliststyle.esm.js +1 -1
  452. package/orderlist/style/orderliststyle.esm.min.js +1 -1
  453. package/orderlist/style/orderliststyle.js +1 -1
  454. package/orderlist/style/orderliststyle.min.js +1 -1
  455. package/overlaypanel/OverlayPanel.d.ts +4 -0
  456. package/overlaypanel/OverlayPanel.vue +1 -1
  457. package/overlaypanel/overlaypanel.cjs.js +1 -1
  458. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  459. package/overlaypanel/overlaypanel.esm.js +1 -1
  460. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  461. package/overlaypanel/overlaypanel.js +1 -1
  462. package/overlaypanel/overlaypanel.min.js +1 -1
  463. package/package.json +1 -1
  464. package/panelmenu/PanelMenuList.vue +1 -1
  465. package/panelmenu/panelmenu.cjs.js +2 -1
  466. package/panelmenu/panelmenu.cjs.min.js +1 -1
  467. package/panelmenu/panelmenu.esm.js +2 -1
  468. package/panelmenu/panelmenu.esm.min.js +1 -1
  469. package/panelmenu/panelmenu.js +2 -1
  470. package/panelmenu/panelmenu.min.js +1 -1
  471. package/picklist/BasePickList.vue +8 -0
  472. package/picklist/PickList.d.ts +10 -0
  473. package/picklist/PickList.vue +72 -37
  474. package/picklist/picklist.cjs.js +81 -46
  475. package/picklist/picklist.cjs.min.js +1 -1
  476. package/picklist/picklist.esm.js +81 -46
  477. package/picklist/picklist.esm.min.js +1 -1
  478. package/picklist/picklist.js +81 -46
  479. package/picklist/picklist.min.js +1 -1
  480. package/progressbar/ProgressBar.vue +1 -1
  481. package/progressbar/progressbar.cjs.js +3 -1
  482. package/progressbar/progressbar.cjs.min.js +1 -1
  483. package/progressbar/progressbar.esm.js +3 -1
  484. package/progressbar/progressbar.esm.min.js +1 -1
  485. package/progressbar/progressbar.js +3 -1
  486. package/progressbar/progressbar.min.js +1 -1
  487. package/radiobutton/BaseRadioButton.vue +9 -4
  488. package/radiobutton/RadioButton.d.ts +48 -22
  489. package/radiobutton/RadioButton.vue +36 -23
  490. package/radiobutton/radiobutton.cjs.js +42 -50
  491. package/radiobutton/radiobutton.cjs.min.js +1 -1
  492. package/radiobutton/radiobutton.esm.js +42 -50
  493. package/radiobutton/radiobutton.esm.min.js +1 -1
  494. package/radiobutton/radiobutton.js +42 -50
  495. package/radiobutton/radiobutton.min.js +1 -1
  496. package/radiobutton/style/radiobuttonstyle.cjs.js +5 -11
  497. package/radiobutton/style/radiobuttonstyle.cjs.min.js +1 -1
  498. package/radiobutton/style/radiobuttonstyle.esm.js +5 -11
  499. package/radiobutton/style/radiobuttonstyle.esm.min.js +1 -1
  500. package/radiobutton/style/radiobuttonstyle.js +5 -11
  501. package/radiobutton/style/radiobuttonstyle.min.js +1 -1
  502. package/resources/themes/arya-blue/theme.css +432 -351
  503. package/resources/themes/arya-green/theme.css +432 -351
  504. package/resources/themes/arya-orange/theme.css +432 -351
  505. package/resources/themes/arya-purple/theme.css +432 -351
  506. package/resources/themes/aura-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  507. package/resources/themes/aura-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  508. package/resources/themes/aura-dark-amber/theme.css +7012 -0
  509. package/resources/themes/aura-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  510. package/resources/themes/aura-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  511. package/resources/themes/aura-dark-blue/theme.css +7012 -0
  512. package/resources/themes/aura-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  513. package/resources/themes/aura-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  514. package/resources/themes/aura-dark-cyan/theme.css +7012 -0
  515. package/resources/themes/aura-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  516. package/resources/themes/aura-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  517. package/resources/themes/aura-dark-green/theme.css +7012 -0
  518. package/resources/themes/aura-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  519. package/resources/themes/aura-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  520. package/resources/themes/aura-dark-indigo/theme.css +7012 -0
  521. package/resources/themes/aura-dark-lime/fonts/Inter-italic.var.woff2 +0 -0
  522. package/resources/themes/aura-dark-lime/fonts/Inter-roman.var.woff2 +0 -0
  523. package/resources/themes/aura-dark-lime/theme.css +7012 -0
  524. package/resources/themes/aura-dark-noir/fonts/Inter-italic.var.woff2 +0 -0
  525. package/resources/themes/aura-dark-noir/fonts/Inter-roman.var.woff2 +0 -0
  526. package/resources/themes/aura-dark-noir/theme.css +7012 -0
  527. package/resources/themes/aura-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  528. package/resources/themes/aura-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  529. package/resources/themes/aura-dark-pink/theme.css +7012 -0
  530. package/resources/themes/aura-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  531. package/resources/themes/aura-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  532. package/resources/themes/aura-dark-purple/theme.css +7012 -0
  533. package/resources/themes/aura-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  534. package/resources/themes/aura-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  535. package/resources/themes/aura-dark-teal/theme.css +7012 -0
  536. package/resources/themes/aura-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  537. package/resources/themes/aura-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  538. package/resources/themes/aura-light-amber/theme.css +7014 -0
  539. package/resources/themes/aura-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  540. package/resources/themes/aura-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  541. package/resources/themes/aura-light-blue/theme.css +7014 -0
  542. package/resources/themes/aura-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  543. package/resources/themes/aura-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  544. package/resources/themes/aura-light-cyan/theme.css +7014 -0
  545. package/resources/themes/aura-light-green/fonts/Inter-italic.var.woff2 +0 -0
  546. package/resources/themes/aura-light-green/fonts/Inter-roman.var.woff2 +0 -0
  547. package/resources/themes/aura-light-green/theme.css +7014 -0
  548. package/resources/themes/aura-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  549. package/resources/themes/aura-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  550. package/resources/themes/aura-light-indigo/theme.css +7014 -0
  551. package/resources/themes/aura-light-lime/fonts/Inter-italic.var.woff2 +0 -0
  552. package/resources/themes/aura-light-lime/fonts/Inter-roman.var.woff2 +0 -0
  553. package/resources/themes/aura-light-lime/theme.css +7014 -0
  554. package/resources/themes/aura-light-noir/fonts/Inter-italic.var.woff2 +0 -0
  555. package/resources/themes/aura-light-noir/fonts/Inter-roman.var.woff2 +0 -0
  556. package/resources/themes/aura-light-noir/theme.css +7022 -0
  557. package/resources/themes/aura-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  558. package/resources/themes/aura-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  559. package/resources/themes/aura-light-pink/theme.css +7014 -0
  560. package/resources/themes/aura-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  561. package/resources/themes/aura-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  562. package/resources/themes/aura-light-purple/theme.css +7014 -0
  563. package/resources/themes/aura-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  564. package/resources/themes/aura-light-teal/fonts/Inter-roman.var.woff2 +0 -0
  565. package/resources/themes/aura-light-teal/theme.css +7014 -0
  566. package/resources/themes/bootstrap4-dark-blue/theme.css +533 -403
  567. package/resources/themes/bootstrap4-dark-purple/theme.css +533 -403
  568. package/resources/themes/bootstrap4-light-blue/theme.css +533 -403
  569. package/resources/themes/bootstrap4-light-purple/theme.css +533 -403
  570. package/resources/themes/fluent-light/theme.css +431 -350
  571. package/resources/themes/lara-dark-amber/theme.css +534 -404
  572. package/resources/themes/lara-dark-blue/theme.css +534 -404
  573. package/resources/themes/lara-dark-cyan/theme.css +534 -404
  574. package/resources/themes/lara-dark-green/theme.css +534 -404
  575. package/resources/themes/lara-dark-indigo/theme.css +534 -404
  576. package/resources/themes/lara-dark-pink/theme.css +534 -404
  577. package/resources/themes/lara-dark-purple/theme.css +534 -404
  578. package/resources/themes/lara-dark-teal/theme.css +534 -404
  579. package/resources/themes/lara-light-amber/theme.css +535 -405
  580. package/resources/themes/lara-light-blue/theme.css +535 -405
  581. package/resources/themes/lara-light-cyan/theme.css +535 -405
  582. package/resources/themes/lara-light-green/theme.css +535 -405
  583. package/resources/themes/lara-light-indigo/theme.css +535 -405
  584. package/resources/themes/lara-light-pink/theme.css +535 -405
  585. package/resources/themes/lara-light-purple/theme.css +535 -405
  586. package/resources/themes/lara-light-teal/theme.css +535 -405
  587. package/resources/themes/luna-amber/theme.css +432 -351
  588. package/resources/themes/luna-blue/theme.css +432 -351
  589. package/resources/themes/luna-green/theme.css +432 -351
  590. package/resources/themes/luna-pink/theme.css +432 -351
  591. package/resources/themes/md-dark-deeppurple/theme.css +696 -431
  592. package/resources/themes/md-dark-indigo/theme.css +696 -431
  593. package/resources/themes/md-light-deeppurple/theme.css +700 -435
  594. package/resources/themes/md-light-indigo/theme.css +700 -435
  595. package/resources/themes/mdc-dark-deeppurple/theme.css +696 -431
  596. package/resources/themes/mdc-dark-indigo/theme.css +696 -431
  597. package/resources/themes/mdc-light-deeppurple/theme.css +700 -435
  598. package/resources/themes/mdc-light-indigo/theme.css +700 -435
  599. package/resources/themes/mira/theme.css +486 -405
  600. package/resources/themes/nano/theme.css +432 -351
  601. package/resources/themes/nova/theme.css +432 -351
  602. package/resources/themes/nova-accent/theme.css +432 -351
  603. package/resources/themes/nova-alt/theme.css +432 -351
  604. package/resources/themes/nova-vue/theme.css +432 -351
  605. package/resources/themes/rhea/theme.css +432 -351
  606. package/resources/themes/saga-blue/theme.css +432 -351
  607. package/resources/themes/saga-green/theme.css +432 -351
  608. package/resources/themes/saga-orange/theme.css +432 -351
  609. package/resources/themes/saga-purple/theme.css +432 -351
  610. package/resources/themes/soho-dark/theme.css +534 -404
  611. package/resources/themes/soho-light/theme.css +534 -404
  612. package/resources/themes/tailwind-light/theme.css +432 -351
  613. package/resources/themes/vela-blue/theme.css +432 -351
  614. package/resources/themes/vela-green/theme.css +432 -351
  615. package/resources/themes/vela-orange/theme.css +432 -351
  616. package/resources/themes/vela-purple/theme.css +432 -351
  617. package/resources/themes/viva-dark/theme.css +535 -405
  618. package/resources/themes/viva-light/theme.css +535 -405
  619. package/slider/Slider.vue +0 -1
  620. package/slider/slider.cjs.js +0 -1
  621. package/slider/slider.cjs.min.js +1 -1
  622. package/slider/slider.esm.js +0 -1
  623. package/slider/slider.esm.min.js +1 -1
  624. package/slider/slider.js +0 -1
  625. package/slider/slider.min.js +1 -1
  626. package/speeddial/SpeedDial.vue +2 -2
  627. package/speeddial/speeddial.cjs.js +2 -2
  628. package/speeddial/speeddial.cjs.min.js +1 -1
  629. package/speeddial/speeddial.esm.js +2 -2
  630. package/speeddial/speeddial.esm.min.js +1 -1
  631. package/speeddial/speeddial.js +2 -2
  632. package/speeddial/speeddial.min.js +1 -1
  633. package/splitbutton/style/splitbuttonstyle.cjs.js +8 -5
  634. package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -1
  635. package/splitbutton/style/splitbuttonstyle.esm.js +8 -5
  636. package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -1
  637. package/splitbutton/style/splitbuttonstyle.js +8 -5
  638. package/splitbutton/style/splitbuttonstyle.min.js +1 -1
  639. package/tabview/TabView.vue +2 -3
  640. package/tabview/tabview.cjs.js +3 -3
  641. package/tabview/tabview.cjs.min.js +1 -1
  642. package/tabview/tabview.esm.js +3 -3
  643. package/tabview/tabview.esm.min.js +1 -1
  644. package/tabview/tabview.js +3 -3
  645. package/tabview/tabview.min.js +1 -1
  646. package/tag/Tag.vue +1 -1
  647. package/tag/tag.cjs.js +4 -2
  648. package/tag/tag.cjs.min.js +1 -1
  649. package/tag/tag.esm.js +4 -2
  650. package/tag/tag.esm.min.js +1 -1
  651. package/tag/tag.js +4 -2
  652. package/tag/tag.min.js +1 -1
  653. package/textarea/Textarea.d.ts +2 -2
  654. package/tieredmenu/TieredMenu.vue +1 -1
  655. package/tieredmenu/tieredmenu.cjs.js +2 -1
  656. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  657. package/tieredmenu/tieredmenu.esm.js +2 -1
  658. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  659. package/tieredmenu/tieredmenu.js +2 -1
  660. package/tieredmenu/tieredmenu.min.js +1 -1
  661. package/togglebutton/BaseToggleButton.vue +4 -4
  662. package/togglebutton/ToggleButton.d.ts +17 -24
  663. package/togglebutton/ToggleButton.vue +41 -67
  664. package/togglebutton/style/togglebuttonstyle.cjs.js +15 -8
  665. package/togglebutton/style/togglebuttonstyle.cjs.min.js +1 -1
  666. package/togglebutton/style/togglebuttonstyle.esm.js +15 -8
  667. package/togglebutton/style/togglebuttonstyle.esm.min.js +1 -1
  668. package/togglebutton/style/togglebuttonstyle.js +15 -8
  669. package/togglebutton/style/togglebuttonstyle.min.js +1 -1
  670. package/togglebutton/togglebutton.cjs.js +45 -80
  671. package/togglebutton/togglebutton.cjs.min.js +1 -1
  672. package/togglebutton/togglebutton.esm.js +46 -81
  673. package/togglebutton/togglebutton.esm.min.js +1 -1
  674. package/togglebutton/togglebutton.js +46 -82
  675. package/togglebutton/togglebutton.min.js +1 -1
  676. package/tree/BaseTree.vue +4 -0
  677. package/tree/Tree.d.ts +6 -9
  678. package/tree/Tree.vue +1 -1
  679. package/tree/TreeNode.vue +14 -11
  680. package/tree/style/treestyle.cjs.js +3 -6
  681. package/tree/style/treestyle.cjs.min.js +1 -1
  682. package/tree/style/treestyle.esm.js +3 -6
  683. package/tree/style/treestyle.esm.min.js +1 -1
  684. package/tree/style/treestyle.js +3 -6
  685. package/tree/style/treestyle.min.js +1 -1
  686. package/tree/tree.cjs.js +34 -21
  687. package/tree/tree.cjs.min.js +1 -1
  688. package/tree/tree.esm.js +34 -22
  689. package/tree/tree.esm.min.js +1 -1
  690. package/tree/tree.js +35 -23
  691. package/tree/tree.min.js +1 -1
  692. package/treetable/BodyCell.vue +26 -24
  693. package/treetable/TreeTable.vue +3 -1
  694. package/treetable/TreeTableRow.vue +2 -0
  695. package/treetable/style/treetablestyle.cjs.js +4 -13
  696. package/treetable/style/treetablestyle.cjs.min.js +1 -1
  697. package/treetable/style/treetablestyle.esm.js +4 -13
  698. package/treetable/style/treetablestyle.esm.min.js +1 -1
  699. package/treetable/style/treetablestyle.js +4 -13
  700. package/treetable/style/treetablestyle.min.js +1 -1
  701. package/treetable/treetable.cjs.js +39 -44
  702. package/treetable/treetable.cjs.min.js +1 -1
  703. package/treetable/treetable.esm.js +39 -45
  704. package/treetable/treetable.esm.min.js +1 -1
  705. package/treetable/treetable.js +40 -46
  706. package/treetable/treetable.min.js +1 -1
  707. package/tristatecheckbox/BaseTriStateCheckbox.vue +17 -9
  708. package/tristatecheckbox/TriStateCheckbox.d.ts +34 -23
  709. package/tristatecheckbox/TriStateCheckbox.vue +49 -61
  710. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.js +7 -13
  711. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.min.js +1 -1
  712. package/tristatecheckbox/style/tristatecheckboxstyle.esm.js +7 -13
  713. package/tristatecheckbox/style/tristatecheckboxstyle.esm.min.js +1 -1
  714. package/tristatecheckbox/style/tristatecheckboxstyle.js +7 -13
  715. package/tristatecheckbox/style/tristatecheckboxstyle.min.js +1 -1
  716. package/tristatecheckbox/tristatecheckbox.cjs.js +69 -87
  717. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  718. package/tristatecheckbox/tristatecheckbox.esm.js +70 -88
  719. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  720. package/tristatecheckbox/tristatecheckbox.js +69 -87
  721. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  722. package/utils/utils.cjs.js +14 -6
  723. package/utils/utils.cjs.min.js +1 -1
  724. package/utils/utils.esm.js +14 -6
  725. package/utils/utils.esm.min.js +1 -1
  726. package/utils/utils.js +14 -6
  727. package/utils/utils.min.js +1 -1
  728. package/vetur-attributes.json +24 -0
  729. package/vetur-tags.json +6 -0
  730. package/virtualscroller/BaseVirtualScroller.vue +1 -1
  731. package/virtualscroller/VirtualScroller.vue +58 -50
  732. package/virtualscroller/virtualscroller.cjs.js +90 -77
  733. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  734. package/virtualscroller/virtualscroller.esm.js +90 -77
  735. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  736. package/virtualscroller/virtualscroller.js +90 -77
  737. package/virtualscroller/virtualscroller.min.js +1 -1
  738. package/web-types.json +71 -6
@@ -9,13 +9,15 @@ import BaseComponent from 'primevue/basecomponent';
9
9
  import DataTableStyle from 'primevue/datatable/style';
10
10
  import ChevronDownIcon from 'primevue/icons/chevrondown';
11
11
  import ChevronRightIcon from 'primevue/icons/chevronright';
12
- import { mergeProps, resolveComponent, openBlock, createElementBlock, createElementVNode, createBlock, resolveDynamicComponent, normalizeClass, createCommentVNode, withKeys, withModifiers, resolveDirective, toDisplayString, Fragment, withDirectives, createTextVNode, renderList, normalizeProps, guardReactiveProps, createVNode, withCtx, Transition, renderSlot, createSlots } from 'vue';
12
+ import { mergeProps, resolveComponent, openBlock, createBlock, withCtx, resolveDynamicComponent, normalizeClass, createCommentVNode, resolveDirective, createElementBlock, toDisplayString, Fragment, withDirectives, createTextVNode, createElementVNode, withModifiers, renderList, normalizeProps, guardReactiveProps, createVNode, Transition, withKeys, renderSlot, createSlots } from 'vue';
13
13
  import BarsIcon from 'primevue/icons/bars';
14
14
  import CheckIcon from 'primevue/icons/check';
15
15
  import PencilIcon from 'primevue/icons/pencil';
16
16
  import TimesIcon from 'primevue/icons/times';
17
17
  import OverlayEventBus from 'primevue/overlayeventbus';
18
18
  import Ripple from 'primevue/ripple';
19
+ import Checkbox from 'primevue/checkbox';
20
+ import RadioButton from 'primevue/radiobutton';
19
21
  import Button from 'primevue/button';
20
22
  import Dropdown from 'primevue/dropdown';
21
23
  import FocusTrap from 'primevue/focustrap';
@@ -276,6 +278,10 @@ var script$c = {
276
278
  type: Boolean,
277
279
  "default": false
278
280
  },
281
+ highlightOnSelect: {
282
+ type: Boolean,
283
+ "default": false
284
+ },
279
285
  size: {
280
286
  type: String,
281
287
  "default": null
@@ -323,11 +329,6 @@ var script$b = {
323
329
  "default": null
324
330
  }
325
331
  },
326
- data: function data() {
327
- return {
328
- focused: false
329
- };
330
- },
331
332
  methods: {
332
333
  getColumnPT: function getColumnPT(key) {
333
334
  var columnMetaData = {
@@ -340,7 +341,6 @@ var script$b = {
340
341
  context: {
341
342
  index: this.index,
342
343
  checked: this.checked,
343
- focused: this.focused,
344
344
  disabled: this.$attrs.disabled
345
345
  }
346
346
  };
@@ -351,30 +351,12 @@ var script$b = {
351
351
  getColumnProp: function getColumnProp() {
352
352
  return this.column.props && this.column.props.pt ? this.column.props.pt : undefined; //@todo:
353
353
  },
354
- onClick: function onClick(event) {
354
+ onChange: function onChange(event) {
355
355
  if (!this.$attrs.disabled) {
356
356
  this.$emit('change', {
357
357
  originalEvent: event,
358
358
  data: this.value
359
359
  });
360
- DomHandler.focus(this.$refs.input);
361
- }
362
- event.preventDefault();
363
- event.stopPropagation();
364
- },
365
- onFocus: function onFocus() {
366
- this.focused = true;
367
- },
368
- onBlur: function onBlur() {
369
- this.focused = false;
370
- },
371
- onKeydown: function onKeydown(event) {
372
- switch (event.code) {
373
- case 'Space':
374
- {
375
- this.onClick(event);
376
- break;
377
- }
378
360
  }
379
361
  }
380
362
  },
@@ -384,49 +366,35 @@ var script$b = {
384
366
  }
385
367
  },
386
368
  components: {
387
- CheckIcon: CheckIcon
369
+ CheckIcon: CheckIcon,
370
+ Checkbox: Checkbox
388
371
  }
389
372
  };
390
373
 
391
- var _hoisted_1$7 = ["checked", "disabled", "tabindex", "aria-label"];
392
374
  function render$b(_ctx, _cache, $props, $setup, $data, $options) {
393
375
  var _component_CheckIcon = resolveComponent("CheckIcon");
394
- return openBlock(), createElementBlock("div", mergeProps({
395
- "class": _ctx.cx('checkboxWrapper'),
396
- onClick: _cache[3] || (_cache[3] = function () {
397
- return $options.onClick && $options.onClick.apply($options, arguments);
398
- })
399
- }, $options.getColumnPT('checkboxWrapper')), [createElementVNode("div", mergeProps({
400
- "class": "p-hidden-accessible"
401
- }, $options.getColumnPT('hiddenInputWrapper'), {
402
- "data-p-hidden-accessible": true
403
- }), [createElementVNode("input", mergeProps({
404
- ref: "input",
405
- type: "checkbox",
406
- checked: $props.checked,
376
+ var _component_Checkbox = resolveComponent("Checkbox");
377
+ return openBlock(), createBlock(_component_Checkbox, {
378
+ modelValue: $props.checked,
379
+ binary: true,
407
380
  disabled: _ctx.$attrs.disabled,
408
- tabindex: _ctx.$attrs.disabled ? null : '0',
409
381
  "aria-label": $options.checkboxAriaLabel,
410
- onFocus: _cache[0] || (_cache[0] = function ($event) {
411
- return $options.onFocus($event);
412
- }),
413
- onBlur: _cache[1] || (_cache[1] = function ($event) {
414
- return $options.onBlur($event);
382
+ onChange: $options.onChange,
383
+ unstyled: _ctx.unstyled,
384
+ pt: $options.getColumnPT('rowCheckbox')
385
+ }, {
386
+ icon: withCtx(function (slotProps) {
387
+ return [$props.rowCheckboxIconTemplate ? (openBlock(), createBlock(resolveDynamicComponent($props.rowCheckboxIconTemplate), {
388
+ key: 0,
389
+ checked: slotProps.checked,
390
+ "class": normalizeClass(slotProps["class"])
391
+ }, null, 8, ["checked", "class"])) : !$props.rowCheckboxIconTemplate && slotProps.checked ? (openBlock(), createBlock(_component_CheckIcon, mergeProps({
392
+ key: 1,
393
+ "class": slotProps["class"]
394
+ }, $options.getColumnPT('rowCheckbox.icon')), null, 16, ["class"])) : createCommentVNode("", true)];
415
395
  }),
416
- onKeydown: _cache[2] || (_cache[2] = function () {
417
- return $options.onKeydown && $options.onKeydown.apply($options, arguments);
418
- })
419
- }, $options.getColumnPT('hiddenInput')), null, 16, _hoisted_1$7)], 16), createElementVNode("div", mergeProps({
420
- ref: "box",
421
- "class": _ctx.cx('checkbox')
422
- }, $options.getColumnPT('checkbox')), [$props.rowCheckboxIconTemplate ? (openBlock(), createBlock(resolveDynamicComponent($props.rowCheckboxIconTemplate), {
423
- key: 0,
424
- checked: $props.checked,
425
- "class": normalizeClass(_ctx.cx('checkboxIcon'))
426
- }, null, 8, ["checked", "class"])) : !$props.rowCheckboxIconTemplate && !!$props.checked ? (openBlock(), createBlock(_component_CheckIcon, mergeProps({
427
- key: 1,
428
- "class": _ctx.cx('checkboxIcon')
429
- }, $options.getColumnPT('checkboxIcon')), null, 16, ["class"])) : createCommentVNode("", true)], 16)], 16);
396
+ _: 1
397
+ }, 8, ["modelValue", "disabled", "aria-label", "onChange", "unstyled", "pt"]);
430
398
  }
431
399
 
432
400
  script$b.render = render$b;
@@ -435,7 +403,6 @@ var script$a = {
435
403
  name: 'RowRadioButton',
436
404
  hostName: 'DataTable',
437
405
  "extends": BaseComponent,
438
- inheritAttrs: false,
439
406
  emits: ['change'],
440
407
  props: {
441
408
  value: null,
@@ -447,11 +414,6 @@ var script$a = {
447
414
  "default": null
448
415
  }
449
416
  },
450
- data: function data() {
451
- return {
452
- focused: false
453
- };
454
- },
455
417
  methods: {
456
418
  getColumnPT: function getColumnPT(key) {
457
419
  var columnMetaData = {
@@ -464,7 +426,6 @@ var script$a = {
464
426
  context: {
465
427
  index: this.index,
466
428
  checked: this.checked,
467
- focused: this.focused,
468
429
  disabled: this.$attrs.disabled
469
430
  }
470
431
  };
@@ -475,59 +436,31 @@ var script$a = {
475
436
  getColumnProp: function getColumnProp() {
476
437
  return this.column.props && this.column.props.pt ? this.column.props.pt : undefined; //@todo:
477
438
  },
478
- onClick: function onClick(event) {
479
- if (!this.disabled) {
480
- if (!this.checked) {
481
- this.$emit('change', {
482
- originalEvent: event,
483
- data: this.value
484
- });
485
- DomHandler.focus(this.$refs.input);
486
- }
439
+ onChange: function onChange(event) {
440
+ if (!this.$attrs.disabled) {
441
+ this.$emit('change', {
442
+ originalEvent: event,
443
+ data: this.value
444
+ });
487
445
  }
488
- },
489
- onFocus: function onFocus() {
490
- this.focused = true;
491
- },
492
- onBlur: function onBlur() {
493
- this.focused = false;
494
446
  }
447
+ },
448
+ components: {
449
+ RadioButton: RadioButton
495
450
  }
496
451
  };
497
452
 
498
- var _hoisted_1$6 = ["checked", "disabled", "name"];
499
453
  function render$a(_ctx, _cache, $props, $setup, $data, $options) {
500
- return openBlock(), createElementBlock("div", mergeProps({
501
- "class": _ctx.cx('radiobuttonWrapper'),
502
- onClick: _cache[3] || (_cache[3] = function () {
503
- return $options.onClick && $options.onClick.apply($options, arguments);
504
- })
505
- }, $options.getColumnPT('radiobuttonWrapper')), [createElementVNode("div", mergeProps({
506
- "class": "p-hidden-accessible"
507
- }, $options.getColumnPT('hiddenInputWrapper'), {
508
- "data-p-hidden-accessible": true
509
- }), [createElementVNode("input", mergeProps({
510
- ref: "input",
511
- type: "radio",
512
- checked: $props.checked,
454
+ var _component_RadioButton = resolveComponent("RadioButton");
455
+ return openBlock(), createBlock(_component_RadioButton, {
456
+ modelValue: $props.checked,
457
+ binary: true,
513
458
  disabled: _ctx.$attrs.disabled,
514
459
  name: $props.name,
515
- tabindex: "0",
516
- onFocus: _cache[0] || (_cache[0] = function ($event) {
517
- return $options.onFocus($event);
518
- }),
519
- onBlur: _cache[1] || (_cache[1] = function ($event) {
520
- return $options.onBlur($event);
521
- }),
522
- onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers(function () {
523
- return $options.onClick && $options.onClick.apply($options, arguments);
524
- }, ["prevent"]), ["space"]))
525
- }, $options.getColumnPT('hiddenInput')), null, 16, _hoisted_1$6)], 16), createElementVNode("div", mergeProps({
526
- ref: "box",
527
- "class": _ctx.cx('radiobutton')
528
- }, $options.getColumnPT('radiobutton')), [createElementVNode("div", mergeProps({
529
- "class": _ctx.cx('radiobuttonIcon')
530
- }, $options.getColumnPT('radiobuttonIcon')), null, 16)], 16)], 16);
460
+ onChange: $options.onChange,
461
+ unstyled: _ctx.unstyled,
462
+ pt: $options.getColumnPT('rowRadiobutton')
463
+ }, null, 8, ["modelValue", "disabled", "name", "onChange", "unstyled", "pt"]);
531
464
  }
532
465
 
533
466
  script$a.render = render$a;
@@ -1004,7 +937,7 @@ function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var t
1004
937
  function _defineProperty$a(obj, key, value) { key = _toPropertyKey$a(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1005
938
  function _toPropertyKey$a(t) { var i = _toPrimitive$a(t, "string"); return "symbol" == _typeof$a(i) ? i : String(i); }
1006
939
  function _toPrimitive$a(t, r) { if ("object" != _typeof$a(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$a(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1007
- var _hoisted_1$5 = ["colspan", "rowspan", "data-p-selection-column", "data-p-editable-column", "data-p-cell-editing", "data-p-frozen-column"];
940
+ var _hoisted_1$4 = ["colspan", "rowspan", "data-p-selection-column", "data-p-editable-column", "data-p-cell-editing", "data-p-frozen-column"];
1008
941
  var _hoisted_2$2 = ["aria-expanded", "aria-controls", "aria-label"];
1009
942
  var _hoisted_3$2 = ["aria-label"];
1010
943
  var _hoisted_4$1 = ["aria-label"];
@@ -1056,8 +989,9 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
1056
989
  field: $options.field,
1057
990
  index: $props.rowIndex,
1058
991
  frozenRow: $props.frozenRow,
1059
- editorInitCallback: $options.editorInitCallback
1060
- }, null, 8, ["data", "column", "field", "index", "frozenRow", "editorInitCallback"])) : $props.column.children && $props.column.children.editor && $data.d_editing ? (openBlock(), createBlock(resolveDynamicComponent($props.column.children.editor), {
992
+ editorInitCallback: $options.editorInitCallback,
993
+ rowTogglerCallback: $options.toggleRow
994
+ }, null, 8, ["data", "column", "field", "index", "frozenRow", "editorInitCallback", "rowTogglerCallback"])) : $props.column.children && $props.column.children.editor && $data.d_editing ? (openBlock(), createBlock(resolveDynamicComponent($props.column.children.editor), {
1061
995
  key: 2,
1062
996
  data: $options.editingRowData,
1063
997
  column: $props.column,
@@ -1181,7 +1115,7 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
1181
1115
  "class": _ctx.cx('rowEditorCancelIcon')
1182
1116
  }, $options.getColumnPT('rowEditorCancelIcon')), null, 16, ["class"]))], 16, _hoisted_5$1)), [[_directive_ripple]]) : createCommentVNode("", true)], 64)) : (openBlock(), createElementBlock(Fragment, {
1183
1117
  key: 8
1184
- }, [createTextVNode(toDisplayString($options.resolveFieldData()), 1)], 64))], 16, _hoisted_1$5));
1118
+ }, [createTextVNode(toDisplayString($options.resolveFieldData()), 1)], 64))], 16, _hoisted_1$4));
1185
1119
  }
1186
1120
 
1187
1121
  script$9.render = render$9;
@@ -1345,11 +1279,14 @@ var script$8 = {
1345
1279
  };
1346
1280
  },
1347
1281
  watch: {
1348
- expandedRows: function expandedRows(newValue) {
1349
- var _this = this;
1350
- this.d_rowExpanded = this.dataKey ? (newValue === null || newValue === void 0 ? void 0 : newValue[ObjectUtils.resolveFieldData(this.rowData, this.dataKey)]) !== undefined : newValue === null || newValue === void 0 ? void 0 : newValue.some(function (d) {
1351
- return _this.equals(_this.rowData, d);
1352
- });
1282
+ expandedRows: {
1283
+ immediate: true,
1284
+ handler: function handler(newValue) {
1285
+ var _this = this;
1286
+ this.d_rowExpanded = this.dataKey ? (newValue === null || newValue === void 0 ? void 0 : newValue[ObjectUtils.resolveFieldData(this.rowData, this.dataKey)]) !== undefined : newValue === null || newValue === void 0 ? void 0 : newValue.some(function (d) {
1287
+ return _this.equals(_this.rowData, d);
1288
+ });
1289
+ }
1353
1290
  }
1354
1291
  },
1355
1292
  methods: {
@@ -1659,7 +1596,7 @@ function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t
1659
1596
  function _defineProperty$8(obj, key, value) { key = _toPropertyKey$8(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1660
1597
  function _toPropertyKey$8(t) { var i = _toPrimitive$8(t, "string"); return "symbol" == _typeof$8(i) ? i : String(i); }
1661
1598
  function _toPrimitive$8(t, r) { if ("object" != _typeof$8(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$8(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1662
- var _hoisted_1$4 = ["colspan"];
1599
+ var _hoisted_1$3 = ["colspan"];
1663
1600
  var _hoisted_2$1 = ["tabindex", "aria-selected", "data-p-index", "data-p-selectable-row", "data-p-highlight", "data-p-highlight-contextmenu"];
1664
1601
  var _hoisted_3$1 = ["id"];
1665
1602
  var _hoisted_4 = ["colspan"];
@@ -1705,7 +1642,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
1705
1642
  }, _ctx.ptm('rowGroupTogglerIcon')), null, 16, ["class"])) : createCommentVNode("", true)], 64))], 16)) : createCommentVNode("", true), (openBlock(), createBlock(resolveDynamicComponent($props.templates['groupheader']), {
1706
1643
  data: $props.rowData,
1707
1644
  index: $options.rowIndex
1708
- }, null, 8, ["data", "index"]))], 16, _hoisted_1$4)], 16)) : createCommentVNode("", true), ($props.expandableRowGroups ? $options.isRowGroupExpanded : true) ? (openBlock(), createElementBlock("tr", mergeProps({
1645
+ }, null, 8, ["data", "index"]))], 16, _hoisted_1$3)], 16)) : createCommentVNode("", true), ($props.expandableRowGroups ? $options.isRowGroupExpanded : true) ? (openBlock(), createElementBlock("tr", mergeProps({
1709
1646
  key: 1,
1710
1647
  "class": $options.rowClasses,
1711
1648
  style: $options.rowStyles,
@@ -2233,7 +2170,7 @@ function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t
2233
2170
  function _defineProperty$7(obj, key, value) { key = _toPropertyKey$7(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2234
2171
  function _toPropertyKey$7(t) { var i = _toPrimitive$7(t, "string"); return "symbol" == _typeof$7(i) ? i : String(i); }
2235
2172
  function _toPrimitive$7(t, r) { if ("object" != _typeof$7(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$7(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
2236
- var _hoisted_1$3 = ["colspan", "rowspan", "data-p-frozen-column"];
2173
+ var _hoisted_1$2 = ["colspan", "rowspan", "data-p-frozen-column"];
2237
2174
  function render$6(_ctx, _cache, $props, $setup, $data, $options) {
2238
2175
  return openBlock(), createElementBlock("td", mergeProps({
2239
2176
  style: $options.containerStyle,
@@ -2246,7 +2183,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
2246
2183
  }), [$props.column.children && $props.column.children.footer ? (openBlock(), createBlock(resolveDynamicComponent($props.column.children.footer), {
2247
2184
  key: 0,
2248
2185
  column: $props.column
2249
- }, null, 8, ["column"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString($options.columnProp('footer')), 1)], 16, _hoisted_1$3);
2186
+ }, null, 8, ["column"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString($options.columnProp('footer')), 1)], 16, _hoisted_1$2);
2250
2187
  }
2251
2188
 
2252
2189
  script$6.render = render$6;
@@ -2794,6 +2731,10 @@ var script$4 = {
2794
2731
  };
2795
2732
  OverlayEventBus.on('overlay-click', this.overlayEventListener);
2796
2733
  },
2734
+ onOverlayAfterEnter: function onOverlayAfterEnter() {
2735
+ var _this$overlay;
2736
+ (_this$overlay = this.overlay) === null || _this$overlay === void 0 || (_this$overlay = _this$overlay.$focustrap) === null || _this$overlay === void 0 || _this$overlay.autoFocus();
2737
+ },
2797
2738
  onOverlayLeave: function onOverlayLeave() {
2798
2739
  this.onOverlayHide();
2799
2740
  },
@@ -2973,7 +2914,7 @@ function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t
2973
2914
  function _defineProperty$4(obj, key, value) { key = _toPropertyKey$4(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2974
2915
  function _toPropertyKey$4(t) { var i = _toPrimitive$4(t, "string"); return "symbol" == _typeof$4(i) ? i : String(i); }
2975
2916
  function _toPrimitive$4(t, r) { if ("object" != _typeof$4(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$4(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
2976
- var _hoisted_1$2 = ["aria-label", "aria-expanded", "aria-controls"];
2917
+ var _hoisted_1$1 = ["aria-label", "aria-expanded", "aria-controls"];
2977
2918
  var _hoisted_2 = ["id", "aria-modal"];
2978
2919
  var _hoisted_3 = ["onClick", "onKeydown", "tabindex"];
2979
2920
  function render$4(_ctx, _cache, $props, $setup, $data, $options) {
@@ -3005,7 +2946,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
3005
2946
  onKeydown: _cache[1] || (_cache[1] = function ($event) {
3006
2947
  return $options.onToggleButtonKeyDown($event);
3007
2948
  })
3008
- }, $options.getColumnPT('filterMenuButton', $options.ptmFilterMenuParams)), [(openBlock(), createBlock(resolveDynamicComponent($props.filterIconTemplate || 'FilterIcon'), normalizeProps(guardReactiveProps($options.getColumnPT('filterMenuIcon'))), null, 16))], 16, _hoisted_1$2)) : createCommentVNode("", true), $props.showClearButton && $props.display === 'row' ? (openBlock(), createElementBlock("button", mergeProps({
2949
+ }, $options.getColumnPT('filterMenuButton', $options.ptmFilterMenuParams)), [(openBlock(), createBlock(resolveDynamicComponent($props.filterIconTemplate || 'FilterIcon'), normalizeProps(guardReactiveProps($options.getColumnPT('filterMenuIcon'))), null, 16))], 16, _hoisted_1$1)) : createCommentVNode("", true), $props.showClearButton && $props.display === 'row' ? (openBlock(), createElementBlock("button", mergeProps({
3009
2950
  key: 2,
3010
2951
  "class": _ctx.cx('headerFilterClearButton'),
3011
2952
  type: "button",
@@ -3017,6 +2958,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
3017
2958
  return [createVNode(Transition, mergeProps({
3018
2959
  name: "p-connected-overlay",
3019
2960
  onEnter: $options.onOverlayEnter,
2961
+ onAfterEnter: $options.onOverlayAfterEnter,
3020
2962
  onLeave: $options.onOverlayLeave,
3021
2963
  onAfterLeave: $options.onOverlayAfterLeave
3022
2964
  }, $options.getColumnPT('transition')), {
@@ -3203,12 +3145,10 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
3203
3145
  field: $props.field,
3204
3146
  filterModel: $props.filters[$props.field],
3205
3147
  filterCallback: $options.filterCallback
3206
- }, null, 8, ["field", "filterModel", "filterCallback"]))], 16, _hoisted_2)), [[_directive_focustrap, {
3207
- autoFocus: true
3208
- }]]) : createCommentVNode("", true)];
3148
+ }, null, 8, ["field", "filterModel", "filterCallback"]))], 16, _hoisted_2)), [[_directive_focustrap]]) : createCommentVNode("", true)];
3209
3149
  }),
3210
3150
  _: 1
3211
- }, 16, ["onEnter", "onLeave", "onAfterLeave"])];
3151
+ }, 16, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])];
3212
3152
  }),
3213
3153
  _: 1
3214
3154
  })], 16);
@@ -3230,11 +3170,6 @@ var script$3 = {
3230
3170
  "default": null
3231
3171
  }
3232
3172
  },
3233
- data: function data() {
3234
- return {
3235
- focused: false
3236
- };
3237
- },
3238
3173
  methods: {
3239
3174
  getColumnPT: function getColumnPT(key) {
3240
3175
  var columnMetaData = {
@@ -3246,7 +3181,6 @@ var script$3 = {
3246
3181
  },
3247
3182
  context: {
3248
3183
  checked: this.checked,
3249
- focused: this.focused,
3250
3184
  disabled: this.disabled
3251
3185
  }
3252
3186
  };
@@ -3257,20 +3191,11 @@ var script$3 = {
3257
3191
  getColumnProp: function getColumnProp() {
3258
3192
  return this.column.props && this.column.props.pt ? this.column.props.pt : undefined; //@todo:
3259
3193
  },
3260
- onClick: function onClick(event) {
3261
- if (!this.disabled) {
3262
- this.$emit('change', {
3263
- originalEvent: event,
3264
- checked: !this.checked
3265
- });
3266
- DomHandler.focus(this.$refs.input);
3267
- }
3268
- },
3269
- onFocus: function onFocus() {
3270
- this.focused = true;
3271
- },
3272
- onBlur: function onBlur() {
3273
- this.focused = false;
3194
+ onChange: function onChange(event) {
3195
+ this.$emit('change', {
3196
+ originalEvent: event,
3197
+ checked: !this.checked
3198
+ });
3274
3199
  }
3275
3200
  },
3276
3201
  computed: {
@@ -3279,49 +3204,34 @@ var script$3 = {
3279
3204
  }
3280
3205
  },
3281
3206
  components: {
3282
- CheckIcon: CheckIcon
3207
+ CheckIcon: CheckIcon,
3208
+ Checkbox: Checkbox
3283
3209
  }
3284
3210
  };
3285
3211
 
3286
- var _hoisted_1$1 = ["checked", "disabled", "tabindex", "aria-label"];
3287
3212
  function render$3(_ctx, _cache, $props, $setup, $data, $options) {
3288
3213
  var _component_CheckIcon = resolveComponent("CheckIcon");
3289
- return openBlock(), createElementBlock("div", mergeProps({
3290
- "class": _ctx.cx('headerCheckboxWrapper'),
3291
- onClick: _cache[2] || (_cache[2] = function () {
3292
- return $options.onClick && $options.onClick.apply($options, arguments);
3293
- }),
3294
- onKeydown: _cache[3] || (_cache[3] = withKeys(withModifiers(function () {
3295
- return $options.onClick && $options.onClick.apply($options, arguments);
3296
- }, ["prevent"]), ["space"]))
3297
- }, $options.getColumnPT('headerCheckboxWrapper')), [createElementVNode("div", mergeProps({
3298
- "class": "p-hidden-accessible"
3299
- }, $options.getColumnPT('hiddenHeaderInputWrapper'), {
3300
- "data-p-hidden-accessible": true
3301
- }), [createElementVNode("input", mergeProps({
3302
- ref: "input",
3303
- type: "checkbox",
3304
- checked: $props.checked,
3214
+ var _component_Checkbox = resolveComponent("Checkbox");
3215
+ return openBlock(), createBlock(_component_Checkbox, {
3216
+ modelValue: $props.checked,
3217
+ binary: true,
3305
3218
  disabled: $props.disabled,
3306
- tabindex: $props.disabled ? null : '0',
3307
3219
  "aria-label": $options.headerCheckboxAriaLabel,
3308
- onFocus: _cache[0] || (_cache[0] = function ($event) {
3309
- return $options.onFocus($event);
3220
+ onChange: $options.onChange,
3221
+ pt: $options.getColumnPT('headerCheckbox')
3222
+ }, {
3223
+ icon: withCtx(function (slotProps) {
3224
+ return [$props.headerCheckboxIconTemplate ? (openBlock(), createBlock(resolveDynamicComponent($props.headerCheckboxIconTemplate), {
3225
+ key: 0,
3226
+ checked: slotProps.checked,
3227
+ "class": normalizeClass(slotProps["class"])
3228
+ }, null, 8, ["checked", "class"])) : !$props.headerCheckboxIconTemplate && slotProps.checked ? (openBlock(), createBlock(_component_CheckIcon, mergeProps({
3229
+ key: 1,
3230
+ "class": slotProps["class"]
3231
+ }, $options.getColumnPT('headerCheckbox.icon')), null, 16, ["class"])) : createCommentVNode("", true)];
3310
3232
  }),
3311
- onBlur: _cache[1] || (_cache[1] = function ($event) {
3312
- return $options.onBlur($event);
3313
- })
3314
- }, $options.getColumnPT('hiddenHeaderInput')), null, 16, _hoisted_1$1)], 16), createElementVNode("div", mergeProps({
3315
- ref: "box",
3316
- "class": _ctx.cx('headerCheckbox')
3317
- }, $options.getColumnPT('headerCheckbox')), [$props.headerCheckboxIconTemplate ? (openBlock(), createBlock(resolveDynamicComponent($props.headerCheckboxIconTemplate), {
3318
- key: 0,
3319
- checked: $props.checked,
3320
- "class": normalizeClass(_ctx.cx('headerCheckboxIcon'))
3321
- }, null, 8, ["checked", "class"])) : !$props.headerCheckboxIconTemplate && !!$props.checked ? (openBlock(), createBlock(_component_CheckIcon, mergeProps({
3322
- key: 1,
3323
- "class": _ctx.cx('headerCheckboxIcon')
3324
- }, $options.getColumnPT('headerCheckboxIcon')), null, 16, ["class"])) : createCommentVNode("", true)], 16)], 16);
3233
+ _: 1
3234
+ }, 8, ["modelValue", "disabled", "aria-label", "onChange", "pt"]);
3325
3235
  }
3326
3236
 
3327
3237
  script$3.render = render$3;
@@ -3431,7 +3341,7 @@ var script$2 = {
3431
3341
  },
3432
3342
  context: {
3433
3343
  index: this.index,
3434
- sortable: this.column.props.sortable === '' || this.column.props.sortable,
3344
+ sortable: this.columnProp('sortable') === '' || this.columnProp('sortable'),
3435
3345
  sorted: this.isColumnSorted(),
3436
3346
  resizable: this.resizableColumns,
3437
3347
  size: (_this$$parentInstance = this.$parentInstance) === null || _this$$parentInstance === void 0 || (_this$$parentInstance = _this$$parentInstance.$parentInstance) === null || _this$$parentInstance === void 0 ? void 0 : _this$$parentInstance.size,
@@ -3673,8 +3583,9 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
3673
3583
  disabled: $props.empty,
3674
3584
  headerCheckboxIconTemplate: $props.column.children && $props.column.children.headercheckboxicon,
3675
3585
  column: $props.column,
3586
+ unstyled: _ctx.unstyled,
3676
3587
  pt: _ctx.pt
3677
- }, null, 8, ["checked", "onChange", "disabled", "headerCheckboxIconTemplate", "column", "pt"])) : createCommentVNode("", true), $props.filterDisplay === 'menu' && $props.column.children && $props.column.children.filter ? (openBlock(), createBlock(_component_DTColumnFilter, {
3588
+ }, null, 8, ["checked", "onChange", "disabled", "headerCheckboxIconTemplate", "column", "unstyled", "pt"])) : createCommentVNode("", true), $props.filterDisplay === 'menu' && $props.column.children && $props.column.children.filter ? (openBlock(), createBlock(_component_DTColumnFilter, {
3678
3589
  key: 5,
3679
3590
  field: $options.columnProp('filterField') || $options.columnProp('field'),
3680
3591
  type: $options.columnProp('dataType'),
@@ -4008,8 +3919,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4008
3919
  onApplyClick: _cache[14] || (_cache[14] = function ($event) {
4009
3920
  return _ctx.$emit('apply-click', $event);
4010
3921
  }),
3922
+ unstyled: _ctx.unstyled,
4011
3923
  pt: _ctx.pt
4012
- }, null, 8, ["column", "index", "groupRowsBy", "groupRowSortField", "reorderableColumns", "resizableColumns", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore", "filterInputProps", "pt"])) : createCommentVNode("", true)], 64);
3924
+ }, null, 8, ["column", "index", "groupRowsBy", "groupRowSortField", "reorderableColumns", "resizableColumns", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore", "filterInputProps", "unstyled", "pt"])) : createCommentVNode("", true)], 64);
4013
3925
  }), 128))], 16), $props.filterDisplay === 'row' ? (openBlock(), createElementBlock("tr", mergeProps({
4014
3926
  key: 0,
4015
3927
  role: "row"
@@ -4028,8 +3940,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4028
3940
  return _ctx.$emit('checkbox-change', $event);
4029
3941
  }),
4030
3942
  column: col,
3943
+ unstyled: _ctx.unstyled,
4031
3944
  pt: _ctx.pt
4032
- }, null, 8, ["checked", "disabled", "column", "pt"])) : createCommentVNode("", true), col.children && col.children.filter ? (openBlock(), createBlock(_component_DTColumnFilter, {
3945
+ }, null, 8, ["checked", "disabled", "column", "unstyled", "pt"])) : createCommentVNode("", true), col.children && col.children.filter ? (openBlock(), createBlock(_component_DTColumnFilter, {
4033
3946
  key: 1,
4034
3947
  field: $options.columnProp(col, 'filterField') || $options.columnProp(col, 'field'),
4035
3948
  type: $options.columnProp(col, 'dataType'),
@@ -4134,8 +4047,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4134
4047
  onApplyClick: _cache[32] || (_cache[32] = function ($event) {
4135
4048
  return _ctx.$emit('apply-click', $event);
4136
4049
  }),
4050
+ unstyled: _ctx.unstyled,
4137
4051
  pt: _ctx.pt
4138
- }, null, 8, ["column", "groupRowsBy", "groupRowSortField", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore", "pt"])) : createCommentVNode("", true)], 64);
4052
+ }, null, 8, ["column", "groupRowsBy", "groupRowSortField", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore", "unstyled", "pt"])) : createCommentVNode("", true)], 64);
4139
4053
  }), 128))], 16);
4140
4054
  }), 128))], 16);
4141
4055
  }
@@ -4629,8 +4543,9 @@ var script = {
4629
4543
  }
4630
4544
  this.rowTouched = false;
4631
4545
  if (focusedItem) {
4632
- if (e.originalEvent.target.getAttribute('data-pc-section') === 'rowtogglericon' || e.originalEvent.target.parentElement.getAttribute('data-pc-section') === 'rowtogglericon') return;
4633
- var targetRow = e.originalEvent.target.closest('tr[data-p-selectable-row="true"]');
4546
+ var _event$target, _event$target2, _event$target3;
4547
+ if (((_event$target = event.target) === null || _event$target === void 0 ? void 0 : _event$target.getAttribute('data-pc-section')) === 'rowtogglericon' || ((_event$target2 = event.target) === null || _event$target2 === void 0 || (_event$target2 = _event$target2.parentElement) === null || _event$target2 === void 0 ? void 0 : _event$target2.getAttribute('data-pc-section')) === 'rowtogglericon') return;
4548
+ var targetRow = (_event$target3 = event.target) === null || _event$target3 === void 0 ? void 0 : _event$target3.closest('tr[data-p-selectable-row="true"]');
4634
4549
  focusedItem.tabIndex = '-1';
4635
4550
  targetRow.tabIndex = '0';
4636
4551
  }